co-mono/packages/coding-agent/src
Mario Zechner 7323af1f69 fixes #161: stop theme watcher and exit cleanly in print mode
The theme file watcher was keeping the Node.js process alive indefinitely
even in print mode where hot-reload is unnecessary. This simple fix calls
stopThemeWatcher() and process.exit(0) after print mode completes.

- Added stopThemeWatcher() call after runPrintMode() completes
- Added process.exit(0) to ensure clean process termination
- Imported stopThemeWatcher from theme module

This is a minimal fix that addresses the symptom (process hanging) without
changing the theme initialization logic.
2025-12-10 21:16:47 +01:00
..
cli Add hooks system with pi.send() for external message injection 2025-12-10 00:50:30 +01:00
core Add Mistral as AI provider 2025-12-10 20:36:19 +01:00
modes fixes #161: disable theme watcher in print mode 2025-12-10 21:16:47 +01:00
utils Move config.ts from utils/ to src/ 2025-12-09 01:28:06 +01:00
cli.ts Remove old implementation files (main.ts, cli.ts, tui-renderer.ts), rename new files 2025-12-09 01:21:28 +01:00
config.ts Add hooks system with pi.send() for external message injection 2025-12-10 00:50:30 +01:00
index.ts Add hooks system with pi.send() for external message injection 2025-12-10 00:50:30 +01:00
main.ts fixes #161: stop theme watcher and exit cleanly in print mode 2025-12-10 21:16:47 +01:00