Plan reliability sprint work
8 months ago
29 files changed
- Cowork_Agent_PRD.md+31−12
- README.md+8−0
- apps/desktop/src/app/store.ts+30−5
- apps/desktop/src/app/types.ts+12−2
- apps/desktop/src/lib/wsProtocol.ts+8−2
- apps/desktop/src/ui/ChatView.tsx+3−0
- apps/desktop/src/ui/PromptModal.tsx+3−1
- apps/desktop/test/protocol-v2-events.test.ts+155−0
- docs/websocket-protocol.md+86−33
- src/cli/repl.ts+63−13
- src/client/agentSocket.ts+3−1
- src/server/protocol.ts+11−7
- src/server/session.ts+107−60
- src/server/startServer.ts+12−12
- src/tools/glob.ts+13−2
- src/tools/grep.ts+10−2
- src/tools/read.ts+6−1
- src/tools/spawnAgent.ts+9−1
- src/tui/index.tsx+40−7
- src/types.ts+31−0
- src/utils/approval.ts+44−5
- src/utils/permissions.ts+44−2
- test/approval.test.ts+32−16
- test/permissions.test.ts+43−1
- test/protocol.test.ts+19−4
- test/repl.test.ts+9−77
- test/server.test.ts+15−1
- test/session.test.ts+20−0
- test/tools.test.ts+37−0