| 43 | } |
| 44 | |
| 45 | interface MessageState { |
| 46 | position: number; |
| 47 | insideArtifact: boolean; |
| 48 | insideAction: boolean; |
| 49 | currentArtifact?: BoltArtifactData; |
| 50 | currentAction: BoltActionData; |
| 51 | actionId: number; |
| 52 | } |
| 53 | |
| 54 | export class StreamingMessageParser { |
| 55 | #messages = new Map<string, MessageState>(); |
nothing calls this directly
no outgoing calls
no test coverage detected