MCPcopy
hub / github.com/coder/mux / createInitialChatTransientState

Function createInitialChatTransientState

src/browser/stores/WorkspaceStore.ts:383–399  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

381}
382
383function 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
401const SUBSCRIPTION_RETRY_BASE_MS = 250;
402const SUBSCRIPTION_RETRY_MAX_MS = 5000;

Callers 2

addWorkspaceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected