Fix anthropic connect enter flow
8 months ago
26 files changed
- apps/TUI/AGENTS.md+39−0
- apps/TUI/context/modelStream.ts+122−0
- apps/TUI/context/sync.tsx+185−0
- apps/TUI/routes/session/question.tsx+2−4
- apps/TUI/ui/dialog-prompt.tsx+16−5
- apps/TUI/ui/dialog-select.tsx+50−20
- apps/desktop/src/app/modelStream.ts+122−0
- apps/desktop/src/app/store.ts+400−1
- apps/desktop/src/app/types.ts+2−1
- apps/desktop/src/ui/ChatView.tsx+33−0
- apps/desktop/test/protocol-v2-events.test.ts+115−0
- docs/websocket-protocol.md+78−3
- src/agent.ts+14−1
- src/cli/repl.ts+151−1
- src/server/modelStream.ts+500−0
- src/server/protocol.ts+16−0
- src/server/session.ts+26−2
- src/server/startServer.ts+6−0
- test/agent.test.ts+46−0
- test/protocol.test.ts+5−0
- test/server.test.ts+108−1
- test/session.test.ts+128−0
- test/tui.dialog-prompt.test.tsx+21−0
- test/tui.dialog-select.test.tsx+32−0
- test/tui.input-submit-guidance.test.ts+28−0
- test/tui.model-stream.test.ts+89−0