No description
Add parsing of structured JSON events from Claude Code hooks in PTY output. State events track session lifecycle (ready/thinking/permission/ question/complete/interrupted). Stats events provide session metrics (prompts, completions, tools, thinking time, etc). Events are detected by parsing each line of PTY output, extracting valid JSON objects with a type field, and forwarding state/stats events to the server via WebSocket while preserving all output passthrough. |
||
|---|---|---|
| docs | ||
| public | ||
| src | ||
| .gitignore | ||
| biome.json | ||
| bun.lock | ||
| CLAUDE.md | ||
| justfile | ||
| package.json | ||
| TODO.txt | ||
| tsconfig.json | ||