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
Add /start, /stop, /restart session control commands across all channels
- /start: creates a new session or reports one is already active
- /stop: archives the current session (timestamped JSONL) and frees the slot
- /restart: replaces the process via os.execv for a full system reboot
- Commands intercepted in Orchestrator before reaching the agent (no LLM call)
- Command logic extracted to orchestrator/commands.py with COMMANDS set for future extensibility
- SessionStore.archive() added to rename active session file with timestamp suffix
- All channels (Telegram, Discord, Slack, Twitch) detect /start /stop /restart and set _command metadata
- Telegram /new kept as alias for /stop; Twitch uses / prefix instead of !
- 31 tests added covering archive, all command flows, routing, and edge cases
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments