MCPcopy Index your code
hub / github.com/Dimillian/CodexMonitor / turnStartedAtMs

Function turnStartedAtMs

src/features/threads/utils/threadRpc.ts:240–251  ·  view source on GitHub ↗
(turn: Record<string, unknown>)

Source from the content-addressed store, hash-verified

238}
239
240function turnStartedAtMs(turn: Record<string, unknown>): number | null {
241 return (
242 normalizeTimestampMs(
243 turn.startedAt ??
244 turn.started_at ??
245 turn.startTime ??
246 turn.start_time ??
247 turn.createdAt ??
248 turn.created_at,
249 ) ?? null
250 );
251}
252
253type TurnStatusKind = "active" | "terminal" | "unknown";
254

Callers 2

getResumedTurnStateFunction · 0.85

Calls 1

normalizeTimestampMsFunction · 0.85

Tested by

no test coverage detected