mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 17:01:02 +00:00
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. |
||
|---|---|---|
| .. | ||
| interactive | ||
| rpc | ||
| index.ts | ||
| print-mode.ts | ||