You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Nested agent prompt could take over the TUI terminal
2
+
3
+
While using Kit as the agent harness, a subagent launched by another subagent ran a command that opened an interactive passphrase prompt through `/dev/tty`. Although ACP and tool processes use piped standard streams, they still inherited the TUI's controlling terminal. The prompt drew over Kit's interface and could leave the headless agent blocked waiting for user input.
4
+
5
+
## Resolution
6
+
7
+
The TUI now starts its headless `kit serve` backend in a new Unix session. The backend and all nested agents and tools therefore cannot open the TUI's controlling terminal. Interactive commands fail normally through their captured tool output instead of taking over the interface.
0 commit comments