- 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 |
||
|---|---|---|
| .. | ||
| personas | ||
| .gitignore | ||
| bot.py | ||
| claude_subprocess.py | ||
| session_manager.py | ||