native macOS codings agent orchestrator prowl.onev.cat

Delay auto-close by 800ms so users can see final output master

Immediate close on exit 0 was too abrupt — the tab/split vanished before the user could read the command's final output. Schedule the close on a Task that sleeps 800ms first, then verifies the surface still exists before issuing close. The id is still removed from the auto-close set synchronously so a second command in that window cannot trigger the close again.


+14 -2
1 changed file