homelab/telegram
Mikkel Georgsen 6a115a4947 refactor(02-01): persistent subprocess with stream-json I/O
- Replace fresh-process-per-turn with persistent subprocess model
- Accept NDJSON messages on stdin via --input-format stream-json
- Emit stream-json events on stdout including tool_use events
- Add on_tool_use callback for progress notifications
- Persistent stdout/stderr readers run for process lifetime
- Result events mark not busy but don't exit reader loop
- stdin.write + drain pattern prevents pipe buffer deadlock
- Auto-start process if not running when send_message called
- Crash recovery restarts persistent process with --continue
2026-02-04 19:15:46 +00:00
..
personas feat(01-01): restructure personas with pipeline workflow 2026-02-04 18:13:21 +00:00
.gitignore Add Telegram bot and shared storage documentation 2026-01-16 14:21:51 +00:00
bot.py feat(01-03): add timing profiler for response latency debugging 2026-02-04 18:30:05 +00:00
claude_subprocess.py refactor(02-01): persistent subprocess with stream-json I/O 2026-02-04 19:15:46 +00:00
session_manager.py feat(01-03): add /archive command to compress and remove sessions 2026-02-04 18:01:14 +00:00