Align websocket trace handling
8 months ago
15 files changed
- apps/TUI/context/modelStream.ts+5−282
- apps/TUI/context/sync.tsx+128−9
- apps/TUI/routes/session/question.tsx+90−6
- apps/desktop/src/app/modelStream.ts+5−282
- apps/desktop/src/app/store.ts+156−16
- apps/desktop/src/ui/PromptModal.tsx+86−4
- apps/desktop/test/model-stream-mapper.test.ts+39−2
- apps/desktop/test/prompt-modal-ask.test.ts+36−0
- apps/desktop/test/protocol-v2-events.test.ts+76−2
- src/client/index.ts+1−1
- src/client/modelStream.ts+430−0
- test/model-stream.provider-loop.test.ts+104−0
- test/tui.log-filter.test.ts+15−0
- test/tui.model-stream.test.ts+38−2
- test/tui.question-prompt.test.ts+36−0