()
| 381 | } |
| 382 | |
| 383 | function createInitialChatTransientState(): WorkspaceChatTransientState { |
| 384 | return { |
| 385 | caughtUp: false, |
| 386 | isHydratingTranscript: false, |
| 387 | historicalMessages: [], |
| 388 | pendingStreamEvents: [], |
| 389 | replayingHistory: false, |
| 390 | queuedMessage: null, |
| 391 | liveBashOutput: new Map(), |
| 392 | liveAdvisorOutput: new Map(), |
| 393 | liveAdvisorReasoning: new Map(), |
| 394 | liveAdvisorPhase: new Map(), |
| 395 | liveTaskIds: new Map(), |
| 396 | liveWorkflowRuns: new Map(), |
| 397 | autoRetryStatus: null, |
| 398 | }; |
| 399 | } |
| 400 | |
| 401 | const SUBSCRIPTION_RETRY_BASE_MS = 250; |
| 402 | const SUBSCRIPTION_RETRY_MAX_MS = 5000; |
no outgoing calls
no test coverage detected