Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaperDebugger/paperdebugger
/ streaming-state-machine.ts
File
streaming-state-machine.ts
webapp/_webapp/src/stores/streaming/streaming-state-machine.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Streaming State Machine
3
*
4
* This module consolidates all streaming event handling into a single cohesive state machine,
Callers
nothing calls this directly
Calls
13
logWarn
Function · 0.90
isValidMessageRole
Function · 0.90
logError
Function · 0.90
getMessageTypeHandler
Function · 0.90
createStreamingError
Function · 0.90
getRecoveryStrategy
Function · 0.90
create
Function · 0.85
flushStreamingMessageToConversation
Function · 0.85
createAssistantMessage
Function · 0.85
handle
Method · 0.80
onPartBegin
Method · 0.65
onPartEnd
Method · 0.65
Tested by
no test coverage detected