MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / reportWithRun

Function reportWithRun

packages/worker-utils/src/cloud-agent-queue-report.test.ts:12–20  ·  view source on GitHub ↗
(run: Record<string, unknown>)

Source from the content-addressed store, hash-verified

10const session = { cloudAgentSessionId: 'agent_reporting_session' };
11
12function reportWithRun(run: Record<string, unknown>) {
13 return {
14 version: 1,
15 type: 'run.state',
16 occurredAt,
17 session,
18 run: { messageId: 'msg_reporting_run', queuedAt: '2026-05-26T08:01:00.000Z', ...run },
19 };
20}
21
22describe('CloudAgentQueueReportSchema', () => {
23 it('accepts observed milestone and reduced diagnostic fields on failed runs', () => {

Calls

no outgoing calls

Tested by

no test coverage detected