co-mono/packages/coding-agent/src/modes
Ben Vargas 8f5466f42a
feat(coding-agent): add /quit and /exit slash commands to exit (#426)
Add new slash commands for gracefully exiting the interactive mode:
- /quit - exit the application
- /exit - alias for /quit (common CLI convention)

Both commands await shutdown() which emits session_shutdown events
to hooks and custom tools before exiting. Unlike Ctrl+C (twice) which
uses void (fire-and-forget), these commands properly wait for hooks
and tools to complete their shutdown handlers.
2026-01-03 22:38:55 +01:00
..
interactive feat(coding-agent): add /quit and /exit slash commands to exit (#426) 2026-01-03 22:38:55 +01:00
rpc Fix slash commands and hook commands during streaming 2026-01-03 15:36:54 +01:00
index.ts Rewrite RPC mode with typed protocol and client 2025-12-09 14:13:28 +01:00
print-mode.ts feat(coding-agent): expose deliverAs option in hook sendMessage() API 2026-01-03 00:13:26 +01:00