MCPcopy
hub / github.com/Doorman11991/smallcode / loadTrace

Function loadTrace

src/compiled/cognition/traces.ts:273–275  ·  view source on GitHub ↗
(trace_id: string)

Source from the content-addressed store, hash-verified

271
272/** Load all spans for a trace, sorted by start time. */
273export async function loadTrace(trace_id: string): Promise<CognitionSpan[]> {
274 return __backend.loadTrace(trace_id);
275}
276
277/** For tests: reset the in-memory backend. */
278export function __resetTraces(): void {

Callers

nothing calls this directly

Calls 1

loadTraceMethod · 0.65

Tested by

no test coverage detected