MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / record

Function record

graph-ui/src/system/system-model.test.ts:60–60  ·  view source on GitHub ↗
(id: number, message: string, source = 'console')

Source from the content-addressed store, hash-verified

58 const clock = 'THREE.THREE.Clock: This module has been deprecated. Please use THREE.Timer instead.';
59 const line = (session: string, seq: number, message: string, detail?: string) => JSON.stringify({ received: '2026-10-03T16:05:22Z', page: '/?project=cbm', session, seq, ts: '2026-10-03T16:05:20.914Z', level: 'warn', source: 'console', message, ...(detail ? { detail } : {}), project: 'cbm' });
60 const record = (id: number, message: string, source = 'console') => ({ id, ts: `2026-10-03T16:05:${String(id).padStart(2, '0')}Z`, level: 'warn', source, message, project: 'cbm' });
61 const rows = collapseRepeats([
62 // Before the fix every occurrence was its own record; after it, one record and its counts.
63 record(1, line('old', 3, clock)), record(2, line('old', 5, clock)), record(3, 'level=warn msg=watcher.slow path=src'),

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected