MCPcopy Create free account
hub / github.com/pingdotgg/t3code / makeDefaultOrchestrationThreadShell

Function makeDefaultOrchestrationThreadShell

apps/server/src/server.test.ts:178–202  ·  view source on GitHub ↗
(
  overrides: Partial<OrchestrationThreadShell> = {},
)

Source from the content-addressed store, hash-verified

176};
177
178const makeDefaultOrchestrationThreadShell = (
179 overrides: Partial<OrchestrationThreadShell> = {},
180): OrchestrationThreadShell => {
181 const now = "2026-01-01T00:00:00.000Z";
182 return {
183 id: defaultThreadId,
184 projectId: defaultProjectId,
185 title: "Default Thread",
186 modelSelection: defaultModelSelection,
187 runtimeMode: "full-access",
188 interactionMode: "default",
189 branch: null,
190 worktreePath: null,
191 latestTurn: null,
192 createdAt: now,
193 updatedAt: now,
194 archivedAt: null,
195 session: null,
196 latestUserMessageAt: null,
197 hasPendingApprovals: false,
198 hasPendingUserInput: false,
199 hasActionableProposedPlan: false,
200 ...overrides,
201 };
202};
203
204const browserOtlpTracingLayer = Layer.mergeAll(
205 FetchHttpClient.layer,

Callers 1

server.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected