@remnic/core 9.23.4 → 9.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +12 -10
- package/dist/access-admin-ops-surface.js +42 -41
- package/dist/access-boundary.d.ts +12 -10
- package/dist/access-boundary.js +42 -41
- package/dist/access-cli.js +112 -111
- package/dist/access-cli.js.map +1 -1
- package/dist/access-health-types.d.ts +54 -0
- package/dist/access-health-types.js +1 -0
- package/dist/access-http.d.ts +12 -10
- package/dist/access-http.js +51 -50
- package/dist/access-identity-continuity-surface.d.ts +9 -8
- package/dist/access-identity-continuity-surface.js +42 -41
- package/dist/access-lcm-surface.d.ts +12 -10
- package/dist/access-lcm-surface.js +42 -41
- package/dist/access-mcp.d.ts +12 -10
- package/dist/access-mcp.js +47 -46
- package/dist/access-memory-search-fanout.d.ts +3 -2
- package/dist/{access-namespace-preflight-CmErR03h.d.ts → access-namespace-preflight-wRSZEO5V.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +4 -3
- package/dist/access-namespace-preflight.js +42 -41
- package/dist/access-observe-write-surface.d.ts +13 -11
- package/dist/access-observe-write-surface.js +42 -41
- package/dist/access-operations-batch.js +44 -43
- package/dist/access-operations.d.ts +16 -14
- package/dist/access-operations.js +46 -45
- package/dist/access-recall-concurrency.d.ts +12 -10
- package/dist/access-recall-concurrency.js +42 -41
- package/dist/access-recall-response.d.ts +12 -10
- package/dist/access-recall-response.js +42 -41
- package/dist/access-recall-surface.d.ts +12 -10
- package/dist/access-recall-surface.js +42 -41
- package/dist/access-schema.d.ts +86 -86
- package/dist/access-schema.js +8 -8
- package/dist/{access-service-Pl-h7x4p.d.ts → access-service-BlNKWBC9.d.ts} +10 -40
- package/dist/access-service.d.ts +13 -11
- package/dist/access-service.js +42 -41
- package/dist/access-surface-catalog.d.ts +12 -10
- package/dist/access-wearables-meetings-surface.d.ts +4 -3
- package/dist/action-confidence.d.ts +2 -1
- package/dist/active-memory-bridge.d.ts +2 -1
- package/dist/active-recall.d.ts +2 -1
- package/dist/active-recall.js +2 -1
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/behavior-learner.d.ts +2 -1
- package/dist/behavior-signals.d.ts +2 -1
- package/dist/bootstrap.d.ts +9 -8
- package/dist/briefing.d.ts +3 -2
- package/dist/briefing.js +9 -9
- package/dist/buffer-surprise-report.d.ts +2 -1
- package/dist/buffer.d.ts +6 -2
- package/dist/buffer.js +1 -1
- package/dist/bulk-import/index.d.ts +4 -3
- package/dist/calibration.d.ts +2 -1
- package/dist/capabilities.d.ts +2 -1
- package/dist/{capsule-crypto-YO5QJ6L3.js → capsule-crypto-7FJQINUR.js} +2 -2
- package/dist/{catalog-BFTVo2Ez.d.ts → catalog-BLLxZ5L5.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +2 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +2 -1
- package/dist/causal-consolidation.js +12 -12
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +2 -1
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-LEPOP46W.js → chunk-227UFSEQ.js} +4 -4
- package/dist/{chunk-EHOTE26K.js → chunk-2NAFR36N.js} +2 -2
- package/dist/{chunk-BXLOS5AJ.js → chunk-2NLLXCJG.js} +2 -2
- package/dist/{chunk-WMLHJ5UW.js → chunk-2WSX7U2N.js} +2 -2
- package/dist/{chunk-TMX4MBSK.js → chunk-3FLPLDIL.js} +2 -2
- package/dist/chunk-443XCR34.js +213 -0
- package/dist/chunk-443XCR34.js.map +1 -0
- package/dist/{chunk-FPJWQZ35.js → chunk-4KAIGQVU.js} +2 -2
- package/dist/{chunk-354T54RR.js → chunk-4TFIRMTE.js} +28 -1
- package/dist/chunk-4TFIRMTE.js.map +1 -0
- package/dist/{chunk-GCQIMJFH.js → chunk-7CP7SO32.js} +12 -12
- package/dist/{chunk-AJ7QCSIS.js → chunk-7CPOZH6Y.js} +2 -2
- package/dist/{chunk-CNUZ2PN2.js → chunk-7IECFM4E.js} +15 -11
- package/dist/chunk-7IECFM4E.js.map +1 -0
- package/dist/{chunk-RSLXMGFP.js → chunk-A5N6ISRK.js} +2 -2
- package/dist/{chunk-XKGPIWGI.js → chunk-AVPXXV6J.js} +4 -4
- package/dist/{chunk-KYP5FSPG.js → chunk-BHKDCWGH.js} +7 -7
- package/dist/{chunk-5CPI2QWG.js → chunk-CSXHRAJJ.js} +3 -3
- package/dist/{chunk-5XMJ2P62.js → chunk-DFTCJVXI.js} +6 -6
- package/dist/{chunk-RPOSRICW.js → chunk-ECG64R7B.js} +2 -2
- package/dist/{chunk-3UD5ZAUA.js → chunk-EFYACT2X.js} +2 -2
- package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
- package/dist/{chunk-UGH6VPPO.js → chunk-FHH6R3QI.js} +2 -2
- package/dist/{chunk-6MFMTNY4.js → chunk-GCKIDUHE.js} +44 -37
- package/dist/chunk-GCKIDUHE.js.map +1 -0
- package/dist/{chunk-Z54EM5YZ.js → chunk-GF22HWS2.js} +4 -4
- package/dist/{chunk-ZYU7ZFLT.js → chunk-GJJBPI6I.js} +5 -1
- package/dist/chunk-GJJBPI6I.js.map +1 -0
- package/dist/{chunk-W6ROK2KU.js → chunk-HNZKVLAN.js} +2 -2
- package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
- package/dist/{chunk-UZGJFIIG.js → chunk-JYIFGGEM.js} +2 -2
- package/dist/{chunk-VDX2J7OX.js → chunk-KQAFEZQX.js} +2 -2
- package/dist/{chunk-3SHB4YAW.js → chunk-L2DPF4DF.js} +4 -4
- package/dist/{chunk-W3BKLKG6.js → chunk-L7DTBRTI.js} +2 -2
- package/dist/{chunk-AYAROCWD.js → chunk-LLISELSY.js} +2 -2
- package/dist/{chunk-MMTG3SCJ.js → chunk-M5EPMNS4.js} +2 -2
- package/dist/{chunk-NSRTLSBX.js → chunk-M6ZJR6HU.js} +92 -92
- package/dist/{chunk-PO5LSKQO.js → chunk-MU7ZHSZE.js} +2 -2
- package/dist/{chunk-K3C6CJOF.js → chunk-MX4TUDMB.js} +2 -2
- package/dist/{chunk-UZ7HGRHK.js → chunk-NHPROHJD.js} +2 -2
- package/dist/{chunk-POHSSW2T.js → chunk-NM7SKDZM.js} +2 -2
- package/dist/{chunk-XJTYLU6J.js → chunk-NQ7E27HN.js} +2 -2
- package/dist/{chunk-CAGPP5NB.js → chunk-NRV4Y3PM.js} +1 -1
- package/dist/{chunk-QJAQNXWI.js → chunk-ONHRRJZM.js} +6 -6
- package/dist/{chunk-M2PG7OTI.js → chunk-P25IPRXP.js} +7 -7
- package/dist/{chunk-ZLDMAGCB.js → chunk-RENY3AIW.js} +59 -59
- package/dist/chunk-RENY3AIW.js.map +1 -0
- package/dist/{chunk-JVOA5VDZ.js → chunk-SGMORUEU.js} +3 -3
- package/dist/{chunk-HVYOZAQ7.js → chunk-TBJV4BZE.js} +10 -10
- package/dist/{chunk-SPWOLGXT.js → chunk-TGHUJC64.js} +3 -3
- package/dist/{chunk-SCOT5DTA.js → chunk-V25OWXAC.js} +1 -1
- package/dist/chunk-V25OWXAC.js.map +1 -0
- package/dist/{chunk-EXH5AK46.js → chunk-V4MAO2Y4.js} +15 -15
- package/dist/{chunk-XPLTZEJU.js → chunk-WMR5WPZU.js} +2 -2
- package/dist/{chunk-AT7XL2JJ.js → chunk-WNSQOXWS.js} +6 -6
- package/dist/{chunk-KNB7IBBU.js → chunk-WO7KBATL.js} +4 -4
- package/dist/{chunk-3NAHZQU3.js → chunk-X3SQYAPP.js} +2 -2
- package/dist/{chunk-DQEMWVMT.js → chunk-X7Y7WX73.js} +1 -1
- package/dist/{chunk-JRQBPN63.js → chunk-XBRPEGXF.js} +12 -12
- package/dist/{chunk-H2M4YA6K.js → chunk-XHYCPA5C.js} +2 -2
- package/dist/{chunk-4E3DWNTJ.js → chunk-Z3B4V4YI.js} +5 -5
- package/dist/{chunk-D5ILARSD.js → chunk-ZLNOX7B2.js} +2 -2
- package/dist/{cli-DuMB83Mw.d.ts → cli-Zc6UclD1.d.ts} +5 -5
- package/dist/cli.d.ts +14 -12
- package/dist/cli.js +78 -77
- package/dist/compounding/engine.d.ts +3 -2
- package/dist/compounding/engine.js +9 -9
- package/dist/compounding/preference-consolidator.d.ts +2 -1
- package/dist/compression-optimizer.d.ts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/config.js +2 -1
- package/dist/connectors/codex-materialize-runner.d.ts +2 -1
- package/dist/connectors/codex-materialize-runner.js +9 -9
- package/dist/connectors/codex-materialize.d.ts +2 -1
- package/dist/connectors/index.d.ts +2 -1
- package/dist/connectors/index.js +12 -12
- package/dist/consolidation-provenance-check.d.ts +3 -2
- package/dist/consolidation-undo.d.ts +3 -2
- package/dist/contradiction/index.d.ts +3 -2
- package/dist/conversation-index/backend.d.ts +2 -1
- package/dist/conversation-index/backend.js +2 -2
- package/dist/conversation-index/chunker.d.ts +2 -1
- package/dist/conversation-index/faiss-adapter.d.ts +2 -1
- package/dist/conversation-index/indexer.d.ts +2 -1
- package/dist/conversation-index/search.d.ts +2 -1
- package/dist/corpus-watermark.d.ts +2 -1
- package/dist/corpus-watermark.js +21 -21
- package/dist/dashboard-runtime.js +2 -2
- package/dist/day-summary.d.ts +2 -1
- package/dist/delinearize.d.ts +2 -1
- package/dist/direct-answer-wiring.d.ts +2 -1
- package/dist/direct-answer.d.ts +2 -1
- package/dist/embedding-fallback.d.ts +2 -1
- package/dist/enrichment/index.d.ts +2 -1
- package/dist/entity-retrieval.d.ts +3 -2
- package/dist/entity-retrieval.js +9 -9
- package/dist/entity-schema.d.ts +2 -1
- package/dist/explicit-capture.d.ts +9 -8
- package/dist/extraction-error-classification.d.ts +2 -1
- package/dist/extraction-faithfulness.d.ts +2 -1
- package/dist/extraction-judge-telemetry.d.ts +2 -1
- package/dist/extraction-judge-training.d.ts +2 -1
- package/dist/extraction-judge.d.ts +2 -1
- package/dist/extraction-liveness.d.ts +5 -0
- package/dist/extraction-liveness.js +26 -0
- package/dist/extraction-liveness.js.map +1 -0
- package/dist/extraction.d.ts +2 -1
- package/dist/fallback-llm.d.ts +2 -1
- package/dist/graph-dashboard-diff.d.ts +2 -1
- package/dist/graph-dashboard-key.d.ts +2 -1
- package/dist/graph-dashboard-parser.d.ts +2 -1
- package/dist/{graph-edge-decay-GF3ZSGSP.js → graph-edge-decay-Z6ENALU2.js} +4 -4
- package/dist/graph-edge-decay-Z6ENALU2.js.map +1 -0
- package/dist/graph-edge-reinforcement.d.ts +2 -1
- package/dist/graph-snapshot.d.ts +2 -1
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.d.ts +2 -1
- package/dist/graph.js +2 -2
- package/dist/importance.d.ts +2 -1
- package/dist/importers/index.d.ts +2 -1
- package/dist/in-flight-reads.d.ts +2 -1
- package/dist/index.d.ts +425 -423
- package/dist/index.js +194 -193
- package/dist/intent.d.ts +2 -1
- package/dist/lcm/engine.d.ts +2 -1
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.d.ts +2 -1
- package/dist/lcm/index.js +7 -7
- package/dist/lcm/tools.d.ts +2 -1
- package/dist/lifecycle.d.ts +2 -1
- package/dist/live-connectors-runner.d.ts +2 -1
- package/dist/local-llm.d.ts +2 -1
- package/dist/local-model-endpoint.d.ts +2 -1
- package/dist/maintenance/memory-governance.d.ts +2 -1
- package/dist/maintenance/memory-governance.js +9 -9
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +9 -9
- package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-projection.js +10 -10
- package/dist/{maintenance-DGvDB1xF.d.ts → maintenance-DD22oIx9.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +12 -10
- package/dist/memory-action-policy.d.ts +2 -1
- package/dist/memory-cache.d.ts +2 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
- package/dist/memory-projection-store.d.ts +2 -1
- package/dist/memory-provenance.d.ts +2 -1
- package/dist/memory-worth-outcomes.d.ts +3 -2
- package/dist/models-json.d.ts +2 -1
- package/dist/namespaces/migrate.d.ts +4 -3
- package/dist/namespaces/migrate.js +19 -19
- package/dist/namespaces/principal.d.ts +2 -1
- package/dist/namespaces/search.d.ts +2 -1
- package/dist/namespaces/search.js +9 -9
- package/dist/namespaces/storage.d.ts +4 -3
- package/dist/namespaces/storage.js +9 -9
- package/dist/native-knowledge.d.ts +2 -1
- package/dist/offline-sync-impression-drain.d.ts +2 -1
- package/dist/offline-sync-impression-drain.js +4 -4
- package/dist/operator-doctor-corpus.d.ts +2 -15
- package/dist/operator-doctor-corpus.js +22 -22
- package/dist/operator-doctor-types.d.ts +22 -0
- package/dist/operator-doctor-types.js +1 -0
- package/dist/operator-doctor-types.js.map +1 -0
- package/dist/operator-toolkit.d.ts +10 -13
- package/dist/operator-toolkit.js +34 -30
- package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
- package/dist/orchestration/maintenance.d.ts +5 -4
- package/dist/orchestration/maintenance.js +15 -15
- package/dist/{orchestrator-RXHefhAy.d.ts → orchestrator-BTGgoKli.d.ts} +7 -7
- package/dist/orchestrator.d.ts +9 -8
- package/dist/orchestrator.js +113 -112
- package/dist/patterns-cli.d.ts +2 -1
- package/dist/{pipeline-id_-sqYm.d.ts → pipeline-Bq5zU6Bp.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +2 -1
- package/dist/proactive-contention.d.ts +2 -1
- package/dist/provenance.d.ts +2 -1
- package/dist/{qmd-R6XaQOZK.d.ts → qmd-3ILJkC70.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +3 -2
- package/dist/qmd-recall-cache.d.ts +2 -1
- package/dist/qmd.d.ts +3 -2
- package/dist/qmd.js +4 -4
- package/dist/recall-concurrency-config.d.ts +2 -1
- package/dist/recall-disclosure-escalation.d.ts +2 -1
- package/dist/recall-explain-renderer.d.ts +2 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +2 -1
- package/dist/recall-planner-llm.d.ts +2 -1
- package/dist/recall-state.d.ts +2 -1
- package/dist/recall-tag-filter.d.ts +2 -1
- package/dist/recall-timings.d.ts +2 -1
- package/dist/recall-xray-cli.d.ts +2 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +2 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +2 -1
- package/dist/recall-xray.js +2 -2
- package/dist/replay/normalizers/chatgpt.d.ts +2 -1
- package/dist/replay/normalizers/claude.d.ts +2 -1
- package/dist/replay/normalizers/openclaw.d.ts +2 -1
- package/dist/replay/normalizers/shared.d.ts +2 -1
- package/dist/replay/runner.d.ts +2 -1
- package/dist/replay/types.d.ts +2 -1
- package/dist/resolve-auth-token.d.ts +2 -1
- package/dist/resume-bundles.js +4 -3
- package/dist/retrieval-agents.d.ts +3 -2
- package/dist/retrieval-tiers.d.ts +2 -1
- package/dist/routing/engine.d.ts +2 -1
- package/dist/routing/store.d.ts +2 -1
- package/dist/salvage-envelope.d.ts +2 -1
- package/dist/schemas.d.ts +76 -76
- package/dist/{scope-profiles-EhyuAKkd.d.ts → scope-profiles-D0-ff4xT.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +2 -1
- package/dist/search/factory.d.ts +2 -1
- package/dist/search/factory.js +8 -8
- package/dist/search/index.d.ts +2 -1
- package/dist/search/index.js +14 -14
- package/dist/search/lancedb-backend.d.ts +2 -1
- package/dist/search/meilisearch-backend.d.ts +2 -1
- package/dist/search/noop-backend.d.ts +2 -1
- package/dist/search/orama-backend.d.ts +2 -1
- package/dist/search/port.d.ts +2 -1
- package/dist/search/remote-backend.d.ts +2 -1
- package/dist/{semantic-consolidation-B2xo26UQ.d.ts → semantic-consolidation-4Tfh7c1g.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +3 -2
- package/dist/semantic-consolidation.js +10 -10
- package/dist/semantic-rule-promotion.js +9 -9
- package/dist/semantic-rule-verifier.d.ts +2 -1
- package/dist/semantic-rule-verifier.js +9 -9
- package/dist/{service-BrWqlsZ4.d.ts → service-Z8uzoAST.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +2 -1
- package/dist/session-observer-state.d.ts +2 -1
- package/dist/shared-context/manager.d.ts +10 -9
- package/dist/signal.d.ts +2 -1
- package/dist/{storage-DgNVexXm.d.ts → storage-BZVMn8yJ.d.ts} +1 -1
- package/dist/storage.d.ts +3 -2
- package/dist/storage.js +8 -8
- package/dist/summarizer.d.ts +2 -1
- package/dist/summary-snapshot.d.ts +2 -1
- package/dist/temporal-supersession.d.ts +3 -2
- package/dist/temporal-timeline-recall.d.ts +2 -1
- package/dist/temporal-validity.d.ts +2 -1
- package/dist/threading.d.ts +2 -1
- package/dist/tier-migration.d.ts +3 -2
- package/dist/tier-routing.d.ts +2 -1
- package/dist/tokens.js +2 -2
- package/dist/topics.d.ts +2 -1
- package/dist/transcript.d.ts +2 -1
- package/dist/transfer/backup.js +4 -4
- package/dist/transfer/capsule-export.js +4 -4
- package/dist/transfer/capsule-import.js +3 -3
- package/dist/transfer/types.d.ts +66 -66
- package/dist/trust-score-stage.d.ts +2 -1
- package/dist/trust-score.d.ts +2 -1
- package/dist/{types-Bbs0qz6b.d.ts → types-DHBxIF0s.d.ts} +181 -5
- package/dist/types.d.ts +2 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +2 -1
- package/dist/verified-recall.js +9 -9
- package/dist/write-envelope.d.ts +2 -1
- package/package.json +2 -2
- package/src/access-health-types.ts +51 -0
- package/src/access-http.test.ts +18 -0
- package/src/access-service-health.test.ts +212 -0
- package/src/access-service.ts +11 -39
- package/src/buffer.ts +30 -0
- package/src/cli.ts +2 -4
- package/src/config.ts +4 -4
- package/src/extraction-liveness.test.ts +461 -0
- package/src/extraction-liveness.ts +462 -0
- package/src/operator-doctor-types.ts +20 -0
- package/src/operator-toolkit.ts +9 -10
- package/src/types.ts +4 -4
- package/dist/chunk-354T54RR.js.map +0 -1
- package/dist/chunk-6MFMTNY4.js.map +0 -1
- package/dist/chunk-CNUZ2PN2.js.map +0 -1
- package/dist/chunk-SCOT5DTA.js.map +0 -1
- package/dist/chunk-ZLDMAGCB.js.map +0 -1
- package/dist/chunk-ZYU7ZFLT.js.map +0 -1
- /package/dist/{capsule-crypto-YO5QJ6L3.js.map → access-health-types.js.map} +0 -0
- /package/dist/{graph-edge-decay-GF3ZSGSP.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-LEPOP46W.js.map → chunk-227UFSEQ.js.map} +0 -0
- /package/dist/{chunk-EHOTE26K.js.map → chunk-2NAFR36N.js.map} +0 -0
- /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-WMLHJ5UW.js.map → chunk-2WSX7U2N.js.map} +0 -0
- /package/dist/{chunk-TMX4MBSK.js.map → chunk-3FLPLDIL.js.map} +0 -0
- /package/dist/{chunk-FPJWQZ35.js.map → chunk-4KAIGQVU.js.map} +0 -0
- /package/dist/{chunk-GCQIMJFH.js.map → chunk-7CP7SO32.js.map} +0 -0
- /package/dist/{chunk-AJ7QCSIS.js.map → chunk-7CPOZH6Y.js.map} +0 -0
- /package/dist/{chunk-RSLXMGFP.js.map → chunk-A5N6ISRK.js.map} +0 -0
- /package/dist/{chunk-XKGPIWGI.js.map → chunk-AVPXXV6J.js.map} +0 -0
- /package/dist/{chunk-KYP5FSPG.js.map → chunk-BHKDCWGH.js.map} +0 -0
- /package/dist/{chunk-5CPI2QWG.js.map → chunk-CSXHRAJJ.js.map} +0 -0
- /package/dist/{chunk-5XMJ2P62.js.map → chunk-DFTCJVXI.js.map} +0 -0
- /package/dist/{chunk-RPOSRICW.js.map → chunk-ECG64R7B.js.map} +0 -0
- /package/dist/{chunk-3UD5ZAUA.js.map → chunk-EFYACT2X.js.map} +0 -0
- /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
- /package/dist/{chunk-UGH6VPPO.js.map → chunk-FHH6R3QI.js.map} +0 -0
- /package/dist/{chunk-Z54EM5YZ.js.map → chunk-GF22HWS2.js.map} +0 -0
- /package/dist/{chunk-W6ROK2KU.js.map → chunk-HNZKVLAN.js.map} +0 -0
- /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-UZGJFIIG.js.map → chunk-JYIFGGEM.js.map} +0 -0
- /package/dist/{chunk-VDX2J7OX.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-3SHB4YAW.js.map → chunk-L2DPF4DF.js.map} +0 -0
- /package/dist/{chunk-W3BKLKG6.js.map → chunk-L7DTBRTI.js.map} +0 -0
- /package/dist/{chunk-AYAROCWD.js.map → chunk-LLISELSY.js.map} +0 -0
- /package/dist/{chunk-MMTG3SCJ.js.map → chunk-M5EPMNS4.js.map} +0 -0
- /package/dist/{chunk-NSRTLSBX.js.map → chunk-M6ZJR6HU.js.map} +0 -0
- /package/dist/{chunk-PO5LSKQO.js.map → chunk-MU7ZHSZE.js.map} +0 -0
- /package/dist/{chunk-K3C6CJOF.js.map → chunk-MX4TUDMB.js.map} +0 -0
- /package/dist/{chunk-UZ7HGRHK.js.map → chunk-NHPROHJD.js.map} +0 -0
- /package/dist/{chunk-POHSSW2T.js.map → chunk-NM7SKDZM.js.map} +0 -0
- /package/dist/{chunk-XJTYLU6J.js.map → chunk-NQ7E27HN.js.map} +0 -0
- /package/dist/{chunk-CAGPP5NB.js.map → chunk-NRV4Y3PM.js.map} +0 -0
- /package/dist/{chunk-QJAQNXWI.js.map → chunk-ONHRRJZM.js.map} +0 -0
- /package/dist/{chunk-M2PG7OTI.js.map → chunk-P25IPRXP.js.map} +0 -0
- /package/dist/{chunk-JVOA5VDZ.js.map → chunk-SGMORUEU.js.map} +0 -0
- /package/dist/{chunk-HVYOZAQ7.js.map → chunk-TBJV4BZE.js.map} +0 -0
- /package/dist/{chunk-SPWOLGXT.js.map → chunk-TGHUJC64.js.map} +0 -0
- /package/dist/{chunk-EXH5AK46.js.map → chunk-V4MAO2Y4.js.map} +0 -0
- /package/dist/{chunk-XPLTZEJU.js.map → chunk-WMR5WPZU.js.map} +0 -0
- /package/dist/{chunk-AT7XL2JJ.js.map → chunk-WNSQOXWS.js.map} +0 -0
- /package/dist/{chunk-KNB7IBBU.js.map → chunk-WO7KBATL.js.map} +0 -0
- /package/dist/{chunk-3NAHZQU3.js.map → chunk-X3SQYAPP.js.map} +0 -0
- /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-JRQBPN63.js.map → chunk-XBRPEGXF.js.map} +0 -0
- /package/dist/{chunk-H2M4YA6K.js.map → chunk-XHYCPA5C.js.map} +0 -0
- /package/dist/{chunk-4E3DWNTJ.js.map → chunk-Z3B4V4YI.js.map} +0 -0
- /package/dist/{chunk-D5ILARSD.js.map → chunk-ZLNOX7B2.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { PluginEntryResolverOptions, resolvePluginEntry } from './plugin-entry-r
|
|
|
2
2
|
export { isOpenaiApiKeyDisabled, parseConfig, resolveEnvVars } from './config.js';
|
|
3
3
|
export { resolveRemnicConfigRecord } from './config-record.js';
|
|
4
4
|
export { MigrationOptions, MigrationResult, RollbackResult, migrateFromEngram, rollbackFromEngramMigration } from './migrate/from-engram.js';
|
|
5
|
-
export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-
|
|
5
|
+
export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-BTGgoKli.js';
|
|
6
6
|
export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
|
|
7
7
|
export { ModelCapabilities, ModelRegistry } from './model-registry.js';
|
|
8
8
|
export { ACTIVE_STATUSES, ContradictionFilter, ContradictionJudgeBatchResult, ContradictionJudgeInput, ContradictionJudgeResult, ContradictionListResult, ContradictionVerdict, ResolutionResult, ResolutionVerb, ScanDependencies, ScanResult, computePairId, executeResolution, isCoolingDown, isValidResolutionVerb, judgeContradictionPairs, listPairs, readPair, resolvePair, runContradictionScan, writePair, writePairs } from './contradiction/index.js';
|
|
@@ -12,8 +12,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
|
|
|
12
12
|
export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
|
|
13
13
|
export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
|
|
14
14
|
export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
|
|
15
|
-
import { S as StorageManager, a as MeetingRecordStore } from './storage-
|
|
16
|
-
export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-
|
|
15
|
+
import { S as StorageManager, a as MeetingRecordStore } from './storage-BZVMn8yJ.js';
|
|
16
|
+
export { C as ContentHashIndex, c as FUSION_KIND, d as MEETINGS_DIR_NAME, e as MEETING_FORMAT_VERSION, f as MEETING_KIND, g as MeetingRecordBase, h as MeetingRecordFileIo, b as MeetingRecordSummary, i as MeetingSaveResult, M as MemoryWriteResult, j as composeFusionDayMeta, k as composeMeetingRecord, l as hashFusionBody, m as meetingIdDate, p as parseEntityFile, n as parseFusionDay, o as parseMeetingRecordSummary, s as serializeEntityFile, q as serializeFusionDay, r as serializeMeetingRecord } from './storage-BZVMn8yJ.js';
|
|
17
17
|
import { SealedMemoryEnvelope } from './write-envelope.js';
|
|
18
18
|
export { AccessWriteFingerprintParts, ComposeEnvelopeOptions, FINGERPRINT_EXEMPT_FIELDS, FINGERPRINT_SCOPE_FIELDS, FingerprintScope, MemoryWriteInput, ObserveFingerprintParts, STRUCTURED_ATTRIBUTE_LIMITS, TAG_LIMITS, WRITE_FINGERPRINT_FIELDS, WriteContext, buildAccessWriteRequestFingerprint, buildObserveRequestFingerprint, buildWriteIdempotencyPayload, composeMemoryEnvelope, isSealedMemoryEnvelope, sealedWriteToLegacyArgs } from './write-envelope.js';
|
|
19
19
|
export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
|
|
@@ -22,13 +22,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
|
|
|
22
22
|
export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
|
|
23
23
|
export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
|
|
24
24
|
export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
|
|
25
|
-
import {
|
|
26
|
-
export {
|
|
25
|
+
import { b5 as CodingContext, bb as CodingModeConfig, b2 as FusionConversationInput, bc as FusedSpeaker, bd as FusedSegment, be as FusedDisagreement, bf as FusionOptions, aR as WearableConversation, bg as FusionDayResult, P as PluginConfig, bh as CodingKnowledgeConfig, t as MemoryCategory, bi as WearableCleanupSettings, bj as WearableFusionConfig, aS as WearableSourceSettings, aW as WearablesConfig, aV as WearableSourceConnector, a_ as WearableCorrectionRule, bk as WearableDayTranscriptMeta, aZ as WearableDayTranscript, ay as ActivitySnapshot, bl as ActivityDayMeta, bm as ActivityDayDigest, aB as ActivitySourceClient, bn as ActivitySourceCheck, bo as ActivitySnapshotPage, az as ActivityConfig, x as ExtractionResult, u as MemoryStatus, aj as ImportanceScore, bp as MeetingsDetectionConfig, b1 as MeetingsDetectionInput, b4 as DetectedMeeting, b0 as MeetingsConfig, aF as MeetingRecord, bq as MeetingAudioWindow, br as MeetingAppSpan } from './types-DHBxIF0s.js';
|
|
26
|
+
export { bs as ActivityExtractionMode, aA as ActivitySourceConfig, a8 as AgentAccessAuthToken, g as BriefingActiveThread, bt as BriefingConfig, e as BriefingFocus, d as BriefingFollowup, bu as BriefingOpenCommitment, i as BriefingRecentEntity, h as BriefingResult, B as BriefingSections, bv as BriefingWindow, a2 as BufferSurpriseEvent, bw as BulkImportError, a4 as BulkImportOptions, a6 as BulkImportResult, a5 as BulkImportSource, bx as BulkImportSourceAdapter, f as CalendarEvent, C as CalendarSource, by as CodexCompatConfig, ba as ConsolidationObservation, bz as DEFAULT_RECALL_DISCLOSURE, bA as DisagreementKind, E as EntityFile, ai as EntityStructuredSection, bB as ExtractedFact, bC as FusedContribution, bD as FusedConversationProvenance, aE as FusedDayFile, aD as FusedDayMeta, aH as FusedMeeting, bE as FusedSegmentProvenance, aC as FusedWearableConversation, bF as FusionSegmentInput, G as GatewayConfig, bG as ImportSourceRole, a3 as ImportTurn, bH as ImportTurnValidationIssue, b3 as MeetingActivitySnapshot, a$ as MeetingBuildInput, aG as MeetingDetectionSource, bI as MeetingScreenContextEvent, bJ as MeetingSummaryMode, al as MemoryActionEligibilityContext, bK as MemoryActionEligibilitySource, ac as MemoryActionType, M as MemoryFile, l as MemoryFrontmatter, bL as MemoryObservation, bM as MemoryScope, bN as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, a7 as SecretRef, bO as SegmentPickReason, bP as WearableAuthCheck, bQ as WearableFetchOptions, bR as WearableFetchPage, aU as WearableMemoryMode, aT as WearableNativeMemory, bS as WearableNativeMemoryPage, aY as WearableSourceStatus, aX as WearableSyncSummary, bT as WearableTranscriptSegment, bU as isImportRole, bV as isRecallDisclosure, bW as parseIsoTimestamp, bX as validateImportTurn } from './types-DHBxIF0s.js';
|
|
27
27
|
import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
|
|
28
28
|
export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
29
29
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
30
|
-
import {
|
|
31
|
-
export { P as ProcedureStatsConfigSnapshot,
|
|
30
|
+
import { z as EngramAccessService } from './access-service-BlNKWBC9.js';
|
|
31
|
+
export { P as ProcedureStatsConfigSnapshot, B as ProcedureStatsRecent, F as ProcedureStatsReport, G as ProcedureStatusCounts, H as computeProcedureStats, I as formatProcedureStatsText } from './access-service-BlNKWBC9.js';
|
|
32
32
|
export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
|
|
33
33
|
export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
|
|
34
34
|
export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
|
|
@@ -36,13 +36,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
|
|
|
36
36
|
export { USER_BOUNDARY_SCOPES, USER_CONTEXT_SCOPES, USER_MODEL_CORE_QUESTION, USER_MODEL_DIMENSIONS, UserBoundaryScope, UserContextScope, UserModelCoverage, UserModelDimension, UserModelFacet, facetHasBoundary, isUserBoundaryScope, isUserContextScope, isUserModelDimension, normalizeUserContextScope, normalizeUserModelDimension, summarizeUserModelCoverage } from './user-model.js';
|
|
37
37
|
export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
|
|
38
38
|
export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
|
|
39
|
-
export { Q as QmdClient } from './qmd-
|
|
39
|
+
export { Q as QmdClient } from './qmd-3ILJkC70.js';
|
|
40
40
|
export { LanceDbBackend } from './search/lancedb-backend.js';
|
|
41
41
|
export { OramaBackend } from './search/orama-backend.js';
|
|
42
42
|
export { MeilisearchBackend } from './search/meilisearch-backend.js';
|
|
43
43
|
export { buildEntityRecallSection } from './entity-retrieval.js';
|
|
44
44
|
export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
|
|
45
|
-
export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-
|
|
45
|
+
export { N as NamespaceCatalog, c as NamespaceCatalogFilter, d as NamespaceCatalogRebuildResult, e as NamespaceCatalogSkippedRoot, f as NamespaceDiscoverySource, b as NamespaceKind, a as NamespaceRecord, g as NamespaceTouchMetadata } from './catalog-BLLxZ5L5.js';
|
|
46
46
|
export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
|
|
47
47
|
export { storagePathHash } from './storage-paths.js';
|
|
48
48
|
export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
|
|
@@ -70,8 +70,8 @@ export { initLogger, log } from './logger.js';
|
|
|
70
70
|
export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
|
|
71
71
|
export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
|
|
72
72
|
export { OFFLINE_SYNC_APPLY_MAX_BODY_BYTES, OFFLINE_SYNC_CHANGESET_FORMAT, OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES, OFFLINE_SYNC_FILE_CONTENT_TRANSFER_CHUNK_BYTES, OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES, OFFLINE_SYNC_SNAPSHOT_FORMAT, OFFLINE_SYNC_STATE_VERSION, OfflineSyncApplyChangesetResult, OfflineSyncApplyFileContentChunkResult, OfflineSyncApplySnapshotResult, OfflineSyncChange, OfflineSyncChangeset, OfflineSyncConflict, OfflineSyncFileContentChunk, OfflineSyncFileDigest, OfflineSyncFileRecord, OfflineSyncFileState, OfflineSyncFileTarget, OfflineSyncFileWriteTarget, OfflineSyncSnapshot, OfflineSyncState, applyOfflineSyncChangeset, applyOfflineSyncFileContentChunk, applyOfflineSyncSnapshot, buildOfflineSyncChangeset, buildOfflineSyncChangesetFromSnapshot, buildOfflineSyncSnapshot, buildOfflineSyncSnapshotForPaths, buildOfflineSyncSnapshotFromBase, compileOfflineSyncExcludeGlobs, defaultOfflineSyncStatePath, fileStatesFromSnapshot, globToRegExp, iterateOfflineSyncSnapshotFileRecords, normalizeOfflineSyncChangeset, normalizeOfflineSyncSnapshot, offlineSyncStateFromSnapshot, readOfflineSyncFileContentChunk, readOfflineSyncState, shouldPreferIncomingOfflineRuntimeFile, summarizeOfflineSyncChangeset, summarizeOfflineSyncPendingChanges, summarizeOfflineSyncPendingFiles, writeOfflineSyncState } from './offline-sync.js';
|
|
73
|
-
import { D as DiscoveredExtension } from './semantic-consolidation-
|
|
74
|
-
export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-
|
|
73
|
+
import { D as DiscoveredExtension } from './semantic-consolidation-4Tfh7c1g.js';
|
|
74
|
+
export { E as ExtensionSchema, R as REMNIC_EXTENSIONS_TOTAL_TOKEN_LIMIT, b as buildExtensionsBlockForConsolidation, d as discoverMemoryExtensions, r as resolveExtensionsRoot } from './semantic-consolidation-4Tfh7c1g.js';
|
|
75
75
|
export { ConnectorCapability, ConnectorInstance, ConnectorManifest, ConnectorRegistry, DoctorCheck, DoctorResult, InstallOptions, InstallResult, MARKETPLACE_MANIFEST_FILENAME, MARKETPLACE_SCHEMA_VERSION, MarketplaceConfig, MarketplaceEntry, MarketplaceInstallResult, MarketplaceInstallType, MarketplaceLogger, MarketplaceManifest, MarketplaceValidation, RemoveResult, checkMarketplaceManifest, coerceInstallExtension, doctorConnector, generateMarketplaceManifest, getConnectorToken, installConnector, installFromMarketplace, listConnectors, loadRegistry, removeConnector, saveRegistry, validateMarketplaceManifest, writeMarketplaceManifest } from './connectors/index.js';
|
|
76
76
|
import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
|
|
77
77
|
export { c as CONNECTOR_ID_PATTERN, C as ConnectorConfig, b as ConnectorCursor, a as ConnectorDocument, d as ConnectorDocumentSource, e as SyncIncrementalArgs, i as isValidConnectorId, p as persistableConnectorConfig, r as redactConnectorConfigSecrets } from './framework-CNDn2164.js';
|
|
@@ -86,12 +86,12 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
|
|
|
86
86
|
export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
|
|
87
87
|
export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
|
|
88
88
|
export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
|
|
89
|
-
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-
|
|
90
|
-
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-
|
|
91
|
-
import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-
|
|
92
|
-
export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-
|
|
93
|
-
import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-
|
|
94
|
-
export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-
|
|
89
|
+
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-Bq5zU6Bp.js';
|
|
90
|
+
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-Zc6UclD1.js';
|
|
91
|
+
import { S as SpeakerRegistry, W as WearablesService, d as MeetingMemoryWriter, e as MeetingMemoryGenerator, f as MeetingEpisodeGenResult, g as MeetingsBuilder, h as MeetingsDaySource, i as MeetingDayData } from './service-Z8uzoAST.js';
|
|
92
|
+
export { D as DEFAULT_SELF_NAME, j as MeetingBuildOutcome, k as MeetingFusionOptions, l as MeetingMemoryOutcome, m as MeetingsBuilderHooks, a as MeetingsDayBuildSummary, n as MeetingsDayFactGenResult, b as MeetingsGetResult, o as MeetingsListDay, c as MeetingsListResult, M as MeetingsService, p as MeetingsServiceDeps, R as ResolvedSpeaker, q as SpeakerOverride, r as WEARABLE_SOURCE_PREFIX, s as WearableDayTranscriptView, t as WearableMemoryGenDeps, u as WearableMemoryGenResult, v as WearableMemorySearchResult, w as WearableMemoryWriter, x as WearableSearchBackend, y as WearableStorageIo, z as WearableSyncDeps, A as WearableSyncOptions, B as WearableTranscriptSearchResult, C as WearablesServiceDeps, E as buildExtractionTurns, F as buildMeetingRecordsForDay, G as dateInTimezone, H as defaultTimezone, I as distinctSpeakerLabels, J as emptySpeakerRegistry, K as fuseMeeting, L as generateWearableMemories, N as importNativeMemories, O as loadSpeakerRegistry, P as locateTranscriptPath, Q as memoryStatusForMode, T as resolveSpeaker, U as resolveSyncDates, V as saveSpeakerRegistry, X as speakerRegistryKey, Y as speakersFilePath, Z as syncWearableSource, _ as wearableDayTag, $ as wearableSourceLabel, a0 as writeDailyDigestMemory } from './service-Z8uzoAST.js';
|
|
93
|
+
import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-DD22oIx9.js';
|
|
94
|
+
export { b as ActivitySourceRunItem, c as ActivitySyncRunOptions, d as activityDatabasePath, e as applyActivitySchema, f as ensureActivityStateDir, o as openActivityDatabase, r as resolveActivitySyncDates, g as runActivitySyncOnce } from './maintenance-DD22oIx9.js';
|
|
95
95
|
import { SearchExecutionOptions } from './search/port.js';
|
|
96
96
|
export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
|
|
97
97
|
export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
|
|
@@ -113,6 +113,7 @@ export { EngramAccessInputError } from './access-errors.js';
|
|
|
113
113
|
export { expandTildePath } from './utils/path.js';
|
|
114
114
|
export { normalizeAttributePairs } from './structured-attributes.js';
|
|
115
115
|
import './bounded-jsonl-state.js';
|
|
116
|
+
import './operator-doctor-types.js';
|
|
116
117
|
import './recall-state.js';
|
|
117
118
|
import './utils/serialize-mutations.js';
|
|
118
119
|
import './extraction-faithfulness.js';
|
|
@@ -150,7 +151,7 @@ import './faiss-adapter-BHecI1fF.js';
|
|
|
150
151
|
import './runtime/child-process.js';
|
|
151
152
|
import './namespaces/storage.js';
|
|
152
153
|
import './threading.js';
|
|
153
|
-
import './scope-profiles-
|
|
154
|
+
import './scope-profiles-D0-ff4xT.js';
|
|
154
155
|
import './graph.js';
|
|
155
156
|
import './relevance.js';
|
|
156
157
|
import './negative.js';
|
|
@@ -167,9 +168,10 @@ import './policy-runtime.js';
|
|
|
167
168
|
import './profiling.js';
|
|
168
169
|
import './schemas.js';
|
|
169
170
|
import './extraction-error-classification.js';
|
|
170
|
-
import './access-namespace-preflight-
|
|
171
|
+
import './access-namespace-preflight-wRSZEO5V.js';
|
|
171
172
|
import './recall-explain-renderer.js';
|
|
172
173
|
import './access-citation.js';
|
|
174
|
+
import './access-health-types.js';
|
|
173
175
|
import './corpus-watermark.js';
|
|
174
176
|
import 'node:async_hooks';
|
|
175
177
|
import './explicit-capture.js';
|
|
@@ -869,15 +871,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
|
|
|
869
871
|
locator: z.ZodOptional<z.ZodString>;
|
|
870
872
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
871
873
|
}, "strict", z.ZodTypeAny, {
|
|
872
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
873
874
|
id: string;
|
|
874
875
|
label: string;
|
|
876
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
875
877
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
876
878
|
locator?: string | undefined;
|
|
877
879
|
}, {
|
|
878
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
879
880
|
id: string;
|
|
880
881
|
label: string;
|
|
882
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
881
883
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
882
884
|
locator?: string | undefined;
|
|
883
885
|
}>;
|
|
@@ -894,15 +896,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
894
896
|
locator: z.ZodOptional<z.ZodString>;
|
|
895
897
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
896
898
|
}, "strict", z.ZodTypeAny, {
|
|
897
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
898
899
|
id: string;
|
|
899
900
|
label: string;
|
|
901
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
900
902
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
901
903
|
locator?: string | undefined;
|
|
902
904
|
}, {
|
|
903
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
904
905
|
id: string;
|
|
905
906
|
label: string;
|
|
907
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
906
908
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
907
909
|
locator?: string | undefined;
|
|
908
910
|
}>, "many">>;
|
|
@@ -910,9 +912,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
910
912
|
kind: "mission_started";
|
|
911
913
|
title: string;
|
|
912
914
|
evidence: {
|
|
913
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
914
915
|
id: string;
|
|
915
916
|
label: string;
|
|
917
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
916
918
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
917
919
|
locator?: string | undefined;
|
|
918
920
|
}[];
|
|
@@ -924,9 +926,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
924
926
|
objective: string;
|
|
925
927
|
runMode: "replay" | "fixture" | "live";
|
|
926
928
|
evidence?: {
|
|
927
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
928
929
|
id: string;
|
|
929
930
|
label: string;
|
|
931
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
930
932
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
931
933
|
locator?: string | undefined;
|
|
932
934
|
}[] | undefined;
|
|
@@ -942,15 +944,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
942
944
|
locator: z.ZodOptional<z.ZodString>;
|
|
943
945
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
944
946
|
}, "strict", z.ZodTypeAny, {
|
|
945
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
946
947
|
id: string;
|
|
947
948
|
label: string;
|
|
949
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
948
950
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
949
951
|
locator?: string | undefined;
|
|
950
952
|
}, {
|
|
951
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
952
953
|
id: string;
|
|
953
954
|
label: string;
|
|
955
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
954
956
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
955
957
|
locator?: string | undefined;
|
|
956
958
|
}>, "many">>;
|
|
@@ -958,32 +960,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
958
960
|
sessionId: z.ZodString;
|
|
959
961
|
kind: z.ZodLiteral<"agent_status">;
|
|
960
962
|
}, "strict", z.ZodTypeAny, {
|
|
963
|
+
label: string;
|
|
964
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
961
965
|
kind: "agent_status";
|
|
962
966
|
role: string;
|
|
963
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
964
|
-
label: string;
|
|
965
967
|
agentId: string;
|
|
966
968
|
sessionId: string;
|
|
967
969
|
evidence: {
|
|
968
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
969
970
|
id: string;
|
|
970
971
|
label: string;
|
|
972
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
971
973
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
972
974
|
locator?: string | undefined;
|
|
973
975
|
}[];
|
|
974
976
|
detail?: string | undefined;
|
|
975
977
|
}, {
|
|
978
|
+
label: string;
|
|
979
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
976
980
|
kind: "agent_status";
|
|
977
981
|
role: string;
|
|
978
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
979
|
-
label: string;
|
|
980
982
|
agentId: string;
|
|
981
983
|
sessionId: string;
|
|
982
984
|
detail?: string | undefined;
|
|
983
985
|
evidence?: {
|
|
984
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
985
986
|
id: string;
|
|
986
987
|
label: string;
|
|
988
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
987
989
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
988
990
|
locator?: string | undefined;
|
|
989
991
|
}[] | undefined;
|
|
@@ -997,15 +999,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
997
999
|
locator: z.ZodOptional<z.ZodString>;
|
|
998
1000
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
999
1001
|
}, "strict", z.ZodTypeAny, {
|
|
1000
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1001
1002
|
id: string;
|
|
1002
1003
|
label: string;
|
|
1004
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1003
1005
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1004
1006
|
locator?: string | undefined;
|
|
1005
1007
|
}, {
|
|
1006
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1007
1008
|
id: string;
|
|
1008
1009
|
label: string;
|
|
1010
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1009
1011
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1010
1012
|
locator?: string | undefined;
|
|
1011
1013
|
}>, "many">>;
|
|
@@ -1013,28 +1015,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1013
1015
|
sessionId: z.ZodString;
|
|
1014
1016
|
kind: z.ZodLiteral<"agent_output">;
|
|
1015
1017
|
}, "strict", z.ZodTypeAny, {
|
|
1016
|
-
kind: "agent_output";
|
|
1017
1018
|
summary: string;
|
|
1019
|
+
kind: "agent_output";
|
|
1018
1020
|
agentId: string;
|
|
1019
1021
|
sessionId: string;
|
|
1020
1022
|
evidence: {
|
|
1021
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1022
1023
|
id: string;
|
|
1023
1024
|
label: string;
|
|
1025
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1024
1026
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1025
1027
|
locator?: string | undefined;
|
|
1026
1028
|
}[];
|
|
1027
1029
|
outputId: string;
|
|
1028
1030
|
}, {
|
|
1029
|
-
kind: "agent_output";
|
|
1030
1031
|
summary: string;
|
|
1032
|
+
kind: "agent_output";
|
|
1031
1033
|
agentId: string;
|
|
1032
1034
|
sessionId: string;
|
|
1033
1035
|
outputId: string;
|
|
1034
1036
|
evidence?: {
|
|
1035
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1036
1037
|
id: string;
|
|
1037
1038
|
label: string;
|
|
1039
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1038
1040
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1039
1041
|
locator?: string | undefined;
|
|
1040
1042
|
}[] | undefined;
|
|
@@ -1050,15 +1052,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1050
1052
|
locator: z.ZodOptional<z.ZodString>;
|
|
1051
1053
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1052
1054
|
}, "strict", z.ZodTypeAny, {
|
|
1053
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1054
1055
|
id: string;
|
|
1055
1056
|
label: string;
|
|
1057
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1056
1058
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1057
1059
|
locator?: string | undefined;
|
|
1058
1060
|
}, {
|
|
1059
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1060
1061
|
id: string;
|
|
1061
1062
|
label: string;
|
|
1063
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1062
1064
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1063
1065
|
locator?: string | undefined;
|
|
1064
1066
|
}>, "many">>;
|
|
@@ -1071,9 +1073,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1071
1073
|
statement: string;
|
|
1072
1074
|
sessionId: string;
|
|
1073
1075
|
evidence: {
|
|
1074
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1075
1076
|
id: string;
|
|
1076
1077
|
label: string;
|
|
1078
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1077
1079
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1078
1080
|
locator?: string | undefined;
|
|
1079
1081
|
}[];
|
|
@@ -1089,9 +1091,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1089
1091
|
decisionId: string;
|
|
1090
1092
|
confidence?: number | undefined;
|
|
1091
1093
|
evidence?: {
|
|
1092
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1093
1094
|
id: string;
|
|
1094
1095
|
label: string;
|
|
1096
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1095
1097
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1096
1098
|
locator?: string | undefined;
|
|
1097
1099
|
}[] | undefined;
|
|
@@ -1108,25 +1110,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1108
1110
|
locator: z.ZodOptional<z.ZodString>;
|
|
1109
1111
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1110
1112
|
}, "strict", z.ZodTypeAny, {
|
|
1111
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1112
1113
|
id: string;
|
|
1113
1114
|
label: string;
|
|
1115
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1114
1116
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1115
1117
|
locator?: string | undefined;
|
|
1116
1118
|
}, {
|
|
1117
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1118
1119
|
id: string;
|
|
1119
1120
|
label: string;
|
|
1121
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1120
1122
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1121
1123
|
locator?: string | undefined;
|
|
1122
1124
|
}>, "many">>;
|
|
1123
1125
|
}, "strict", z.ZodTypeAny, {
|
|
1124
|
-
kind: "conflict_detected";
|
|
1125
1126
|
summary: string;
|
|
1127
|
+
kind: "conflict_detected";
|
|
1126
1128
|
evidence: {
|
|
1127
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1128
1129
|
id: string;
|
|
1129
1130
|
label: string;
|
|
1131
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1130
1132
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1131
1133
|
locator?: string | undefined;
|
|
1132
1134
|
}[];
|
|
@@ -1134,15 +1136,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1134
1136
|
decisionIds: string[];
|
|
1135
1137
|
agentIds: string[];
|
|
1136
1138
|
}, {
|
|
1137
|
-
kind: "conflict_detected";
|
|
1138
1139
|
summary: string;
|
|
1140
|
+
kind: "conflict_detected";
|
|
1139
1141
|
conflictId: string;
|
|
1140
1142
|
decisionIds: string[];
|
|
1141
1143
|
agentIds: string[];
|
|
1142
1144
|
evidence?: {
|
|
1143
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1144
1145
|
id: string;
|
|
1145
1146
|
label: string;
|
|
1147
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1146
1148
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1147
1149
|
locator?: string | undefined;
|
|
1148
1150
|
}[] | undefined;
|
|
@@ -1162,27 +1164,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1162
1164
|
locator: z.ZodOptional<z.ZodString>;
|
|
1163
1165
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1164
1166
|
}, "strict", z.ZodTypeAny, {
|
|
1165
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1166
1167
|
id: string;
|
|
1167
1168
|
label: string;
|
|
1169
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1168
1170
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1169
1171
|
locator?: string | undefined;
|
|
1170
1172
|
}, {
|
|
1171
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1172
1173
|
id: string;
|
|
1173
1174
|
label: string;
|
|
1175
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1174
1176
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1175
1177
|
locator?: string | undefined;
|
|
1176
1178
|
}>, "many">>;
|
|
1177
1179
|
}, "strict", z.ZodTypeAny, {
|
|
1178
|
-
kind: "test_result";
|
|
1179
1180
|
summary: string;
|
|
1180
|
-
command: string;
|
|
1181
1181
|
status: "error" | "failed" | "passed";
|
|
1182
|
+
kind: "test_result";
|
|
1183
|
+
command: string;
|
|
1182
1184
|
evidence: {
|
|
1183
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1184
1185
|
id: string;
|
|
1185
1186
|
label: string;
|
|
1187
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1186
1188
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1187
1189
|
locator?: string | undefined;
|
|
1188
1190
|
}[];
|
|
@@ -1191,17 +1193,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1191
1193
|
durationMs?: number | undefined;
|
|
1192
1194
|
correctionId?: string | undefined;
|
|
1193
1195
|
}, {
|
|
1194
|
-
kind: "test_result";
|
|
1195
1196
|
summary: string;
|
|
1196
|
-
command: string;
|
|
1197
1197
|
status: "error" | "failed" | "passed";
|
|
1198
|
+
kind: "test_result";
|
|
1199
|
+
command: string;
|
|
1198
1200
|
decisionId: string;
|
|
1199
1201
|
testId: string;
|
|
1200
1202
|
durationMs?: number | undefined;
|
|
1201
1203
|
evidence?: {
|
|
1202
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1203
1204
|
id: string;
|
|
1204
1205
|
label: string;
|
|
1206
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1205
1207
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1206
1208
|
locator?: string | undefined;
|
|
1207
1209
|
}[] | undefined;
|
|
@@ -1222,15 +1224,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1222
1224
|
locator: z.ZodOptional<z.ZodString>;
|
|
1223
1225
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1224
1226
|
}, "strict", z.ZodTypeAny, {
|
|
1225
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1226
1227
|
id: string;
|
|
1227
1228
|
label: string;
|
|
1229
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1228
1230
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1229
1231
|
locator?: string | undefined;
|
|
1230
1232
|
}, {
|
|
1231
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1232
1233
|
id: string;
|
|
1233
1234
|
label: string;
|
|
1235
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1234
1236
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1235
1237
|
locator?: string | undefined;
|
|
1236
1238
|
}>, "many">>;
|
|
@@ -1239,9 +1241,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1239
1241
|
rationale: string;
|
|
1240
1242
|
statement: string;
|
|
1241
1243
|
evidence: {
|
|
1242
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1243
1244
|
id: string;
|
|
1244
1245
|
label: string;
|
|
1246
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1245
1247
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1246
1248
|
locator?: string | undefined;
|
|
1247
1249
|
}[];
|
|
@@ -1260,9 +1262,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1260
1262
|
supersedesDecisionIds: string[];
|
|
1261
1263
|
proposedBy: string;
|
|
1262
1264
|
evidence?: {
|
|
1263
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1264
1265
|
id: string;
|
|
1265
1266
|
label: string;
|
|
1267
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1266
1268
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1267
1269
|
locator?: string | undefined;
|
|
1268
1270
|
}[] | undefined;
|
|
@@ -1274,13 +1276,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1274
1276
|
id: z.ZodString;
|
|
1275
1277
|
label: z.ZodString;
|
|
1276
1278
|
}, "strict", z.ZodTypeAny, {
|
|
1277
|
-
kind: "agent" | "human";
|
|
1278
1279
|
id: string;
|
|
1279
1280
|
label: string;
|
|
1280
|
-
}, {
|
|
1281
1281
|
kind: "agent" | "human";
|
|
1282
|
+
}, {
|
|
1282
1283
|
id: string;
|
|
1283
1284
|
label: string;
|
|
1285
|
+
kind: "agent" | "human";
|
|
1284
1286
|
}>;
|
|
1285
1287
|
note: z.ZodOptional<z.ZodString>;
|
|
1286
1288
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1290,47 +1292,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1290
1292
|
locator: z.ZodOptional<z.ZodString>;
|
|
1291
1293
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1292
1294
|
}, "strict", z.ZodTypeAny, {
|
|
1293
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1294
1295
|
id: string;
|
|
1295
1296
|
label: string;
|
|
1297
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1296
1298
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1297
1299
|
locator?: string | undefined;
|
|
1298
1300
|
}, {
|
|
1299
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1300
1301
|
id: string;
|
|
1301
1302
|
label: string;
|
|
1303
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1302
1304
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1303
1305
|
locator?: string | undefined;
|
|
1304
1306
|
}>, "many">>;
|
|
1305
1307
|
}, "strict", z.ZodTypeAny, {
|
|
1306
1308
|
kind: "correction_approved";
|
|
1307
1309
|
evidence: {
|
|
1308
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1309
1310
|
id: string;
|
|
1310
1311
|
label: string;
|
|
1312
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1311
1313
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1312
1314
|
locator?: string | undefined;
|
|
1313
1315
|
}[];
|
|
1314
1316
|
correctionId: string;
|
|
1315
1317
|
approvedBy: {
|
|
1316
|
-
kind: "agent" | "human";
|
|
1317
1318
|
id: string;
|
|
1318
1319
|
label: string;
|
|
1320
|
+
kind: "agent" | "human";
|
|
1319
1321
|
};
|
|
1320
1322
|
note?: string | undefined;
|
|
1321
1323
|
}, {
|
|
1322
1324
|
kind: "correction_approved";
|
|
1323
1325
|
correctionId: string;
|
|
1324
1326
|
approvedBy: {
|
|
1325
|
-
kind: "agent" | "human";
|
|
1326
1327
|
id: string;
|
|
1327
1328
|
label: string;
|
|
1329
|
+
kind: "agent" | "human";
|
|
1328
1330
|
};
|
|
1329
1331
|
note?: string | undefined;
|
|
1330
1332
|
evidence?: {
|
|
1331
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1332
1333
|
id: string;
|
|
1333
1334
|
label: string;
|
|
1335
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1334
1336
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1335
1337
|
locator?: string | undefined;
|
|
1336
1338
|
}[] | undefined;
|
|
@@ -1346,24 +1348,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1346
1348
|
locator: z.ZodOptional<z.ZodString>;
|
|
1347
1349
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1348
1350
|
}, "strict", z.ZodTypeAny, {
|
|
1349
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1350
1351
|
id: string;
|
|
1351
1352
|
label: string;
|
|
1353
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1352
1354
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1353
1355
|
locator?: string | undefined;
|
|
1354
1356
|
}, {
|
|
1355
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1356
1357
|
id: string;
|
|
1357
1358
|
label: string;
|
|
1359
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1358
1360
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1359
1361
|
locator?: string | undefined;
|
|
1360
1362
|
}>, "many">>;
|
|
1361
1363
|
}, "strict", z.ZodTypeAny, {
|
|
1362
1364
|
kind: "decision_superseded";
|
|
1363
1365
|
evidence: {
|
|
1364
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1365
1366
|
id: string;
|
|
1366
1367
|
label: string;
|
|
1368
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1367
1369
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1368
1370
|
locator?: string | undefined;
|
|
1369
1371
|
}[];
|
|
@@ -1376,9 +1378,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1376
1378
|
correctionId: string;
|
|
1377
1379
|
replacementDecisionId: string;
|
|
1378
1380
|
evidence?: {
|
|
1379
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1380
1381
|
id: string;
|
|
1381
1382
|
label: string;
|
|
1383
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1382
1384
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1383
1385
|
locator?: string | undefined;
|
|
1384
1386
|
}[] | undefined;
|
|
@@ -1394,15 +1396,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1394
1396
|
locator: z.ZodOptional<z.ZodString>;
|
|
1395
1397
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1396
1398
|
}, "strict", z.ZodTypeAny, {
|
|
1397
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1398
1399
|
id: string;
|
|
1399
1400
|
label: string;
|
|
1401
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1400
1402
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1401
1403
|
locator?: string | undefined;
|
|
1402
1404
|
}, {
|
|
1403
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1404
1405
|
id: string;
|
|
1405
1406
|
label: string;
|
|
1407
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1406
1408
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1407
1409
|
locator?: string | undefined;
|
|
1408
1410
|
}>, "many">>;
|
|
@@ -1415,9 +1417,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1415
1417
|
agentId: string;
|
|
1416
1418
|
sessionId: string;
|
|
1417
1419
|
evidence: {
|
|
1418
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1419
1420
|
id: string;
|
|
1420
1421
|
label: string;
|
|
1422
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1421
1423
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1422
1424
|
locator?: string | undefined;
|
|
1423
1425
|
}[];
|
|
@@ -1433,9 +1435,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1433
1435
|
recallReceiptId: string;
|
|
1434
1436
|
capturedAtAction: boolean;
|
|
1435
1437
|
evidence?: {
|
|
1436
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1437
1438
|
id: string;
|
|
1438
1439
|
label: string;
|
|
1440
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1439
1441
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1440
1442
|
locator?: string | undefined;
|
|
1441
1443
|
}[] | undefined;
|
|
@@ -1451,15 +1453,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1451
1453
|
locator: z.ZodOptional<z.ZodString>;
|
|
1452
1454
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1453
1455
|
}, "strict", z.ZodTypeAny, {
|
|
1454
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1455
1456
|
id: string;
|
|
1456
1457
|
label: string;
|
|
1458
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1457
1459
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1458
1460
|
locator?: string | undefined;
|
|
1459
1461
|
}, {
|
|
1460
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1461
1462
|
id: string;
|
|
1462
1463
|
label: string;
|
|
1464
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1463
1465
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1464
1466
|
locator?: string | undefined;
|
|
1465
1467
|
}>, "many">>;
|
|
@@ -1471,9 +1473,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1471
1473
|
agentId: string;
|
|
1472
1474
|
sessionId: string;
|
|
1473
1475
|
evidence: {
|
|
1474
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1475
1476
|
id: string;
|
|
1476
1477
|
label: string;
|
|
1478
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1477
1479
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1478
1480
|
locator?: string | undefined;
|
|
1479
1481
|
}[];
|
|
@@ -1490,9 +1492,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1490
1492
|
recallReceiptId: string;
|
|
1491
1493
|
staleDecisionAbsent: boolean;
|
|
1492
1494
|
evidence?: {
|
|
1493
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1494
1495
|
id: string;
|
|
1495
1496
|
label: string;
|
|
1497
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1496
1498
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1497
1499
|
locator?: string | undefined;
|
|
1498
1500
|
}[] | undefined;
|
|
@@ -1507,37 +1509,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1507
1509
|
locator: z.ZodOptional<z.ZodString>;
|
|
1508
1510
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1509
1511
|
}, "strict", z.ZodTypeAny, {
|
|
1510
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1511
1512
|
id: string;
|
|
1512
1513
|
label: string;
|
|
1514
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1513
1515
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1514
1516
|
locator?: string | undefined;
|
|
1515
1517
|
}, {
|
|
1516
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1517
1518
|
id: string;
|
|
1518
1519
|
label: string;
|
|
1520
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1519
1521
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1520
1522
|
locator?: string | undefined;
|
|
1521
1523
|
}>, "many">>;
|
|
1522
1524
|
}, "strict", z.ZodTypeAny, {
|
|
1523
|
-
kind: "mission_completed";
|
|
1524
1525
|
summary: string;
|
|
1526
|
+
kind: "mission_completed";
|
|
1525
1527
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1526
1528
|
evidence: {
|
|
1527
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1528
1529
|
id: string;
|
|
1529
1530
|
label: string;
|
|
1531
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1530
1532
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1531
1533
|
locator?: string | undefined;
|
|
1532
1534
|
}[];
|
|
1533
1535
|
}, {
|
|
1534
|
-
kind: "mission_completed";
|
|
1535
1536
|
summary: string;
|
|
1537
|
+
kind: "mission_completed";
|
|
1536
1538
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1537
1539
|
evidence?: {
|
|
1538
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1539
1540
|
id: string;
|
|
1540
1541
|
label: string;
|
|
1542
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1541
1543
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1542
1544
|
locator?: string | undefined;
|
|
1543
1545
|
}[] | undefined;
|
|
@@ -1545,38 +1547,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1545
1547
|
kind: "mission_started";
|
|
1546
1548
|
title: string;
|
|
1547
1549
|
evidence: {
|
|
1548
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1549
1550
|
id: string;
|
|
1550
1551
|
label: string;
|
|
1552
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1551
1553
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1552
1554
|
locator?: string | undefined;
|
|
1553
1555
|
}[];
|
|
1554
1556
|
objective: string;
|
|
1555
1557
|
runMode: "replay" | "fixture" | "live";
|
|
1556
1558
|
} | {
|
|
1559
|
+
label: string;
|
|
1560
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1557
1561
|
kind: "agent_status";
|
|
1558
1562
|
role: string;
|
|
1559
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1560
|
-
label: string;
|
|
1561
1563
|
agentId: string;
|
|
1562
1564
|
sessionId: string;
|
|
1563
1565
|
evidence: {
|
|
1564
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1565
1566
|
id: string;
|
|
1566
1567
|
label: string;
|
|
1568
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1567
1569
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1568
1570
|
locator?: string | undefined;
|
|
1569
1571
|
}[];
|
|
1570
1572
|
detail?: string | undefined;
|
|
1571
1573
|
} | {
|
|
1572
|
-
kind: "agent_output";
|
|
1573
1574
|
summary: string;
|
|
1575
|
+
kind: "agent_output";
|
|
1574
1576
|
agentId: string;
|
|
1575
1577
|
sessionId: string;
|
|
1576
1578
|
evidence: {
|
|
1577
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1578
1579
|
id: string;
|
|
1579
1580
|
label: string;
|
|
1581
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1580
1582
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1581
1583
|
locator?: string | undefined;
|
|
1582
1584
|
}[];
|
|
@@ -1587,9 +1589,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1587
1589
|
statement: string;
|
|
1588
1590
|
sessionId: string;
|
|
1589
1591
|
evidence: {
|
|
1590
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1591
1592
|
id: string;
|
|
1592
1593
|
label: string;
|
|
1594
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1593
1595
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1594
1596
|
locator?: string | undefined;
|
|
1595
1597
|
}[];
|
|
@@ -1597,12 +1599,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1597
1599
|
decisionId: string;
|
|
1598
1600
|
confidence?: number | undefined;
|
|
1599
1601
|
} | {
|
|
1600
|
-
kind: "conflict_detected";
|
|
1601
1602
|
summary: string;
|
|
1603
|
+
kind: "conflict_detected";
|
|
1602
1604
|
evidence: {
|
|
1603
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1604
1605
|
id: string;
|
|
1605
1606
|
label: string;
|
|
1607
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1606
1608
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1607
1609
|
locator?: string | undefined;
|
|
1608
1610
|
}[];
|
|
@@ -1610,14 +1612,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1610
1612
|
decisionIds: string[];
|
|
1611
1613
|
agentIds: string[];
|
|
1612
1614
|
} | {
|
|
1613
|
-
kind: "test_result";
|
|
1614
1615
|
summary: string;
|
|
1615
|
-
command: string;
|
|
1616
1616
|
status: "error" | "failed" | "passed";
|
|
1617
|
+
kind: "test_result";
|
|
1618
|
+
command: string;
|
|
1617
1619
|
evidence: {
|
|
1618
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1619
1620
|
id: string;
|
|
1620
1621
|
label: string;
|
|
1622
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1621
1623
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1622
1624
|
locator?: string | undefined;
|
|
1623
1625
|
}[];
|
|
@@ -1630,9 +1632,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1630
1632
|
rationale: string;
|
|
1631
1633
|
statement: string;
|
|
1632
1634
|
evidence: {
|
|
1633
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1634
1635
|
id: string;
|
|
1635
1636
|
label: string;
|
|
1637
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1636
1638
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1637
1639
|
locator?: string | undefined;
|
|
1638
1640
|
}[];
|
|
@@ -1644,25 +1646,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1644
1646
|
} | {
|
|
1645
1647
|
kind: "correction_approved";
|
|
1646
1648
|
evidence: {
|
|
1647
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1648
1649
|
id: string;
|
|
1649
1650
|
label: string;
|
|
1651
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1650
1652
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1651
1653
|
locator?: string | undefined;
|
|
1652
1654
|
}[];
|
|
1653
1655
|
correctionId: string;
|
|
1654
1656
|
approvedBy: {
|
|
1655
|
-
kind: "agent" | "human";
|
|
1656
1657
|
id: string;
|
|
1657
1658
|
label: string;
|
|
1659
|
+
kind: "agent" | "human";
|
|
1658
1660
|
};
|
|
1659
1661
|
note?: string | undefined;
|
|
1660
1662
|
} | {
|
|
1661
1663
|
kind: "decision_superseded";
|
|
1662
1664
|
evidence: {
|
|
1663
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1664
1665
|
id: string;
|
|
1665
1666
|
label: string;
|
|
1667
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1666
1668
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1667
1669
|
locator?: string | undefined;
|
|
1668
1670
|
}[];
|
|
@@ -1675,9 +1677,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1675
1677
|
agentId: string;
|
|
1676
1678
|
sessionId: string;
|
|
1677
1679
|
evidence: {
|
|
1678
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1679
1680
|
id: string;
|
|
1680
1681
|
label: string;
|
|
1682
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1681
1683
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1682
1684
|
locator?: string | undefined;
|
|
1683
1685
|
}[];
|
|
@@ -1689,9 +1691,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1689
1691
|
agentId: string;
|
|
1690
1692
|
sessionId: string;
|
|
1691
1693
|
evidence: {
|
|
1692
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1693
1694
|
id: string;
|
|
1694
1695
|
label: string;
|
|
1696
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1695
1697
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1696
1698
|
locator?: string | undefined;
|
|
1697
1699
|
}[];
|
|
@@ -1700,13 +1702,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1700
1702
|
recallReceiptId: string;
|
|
1701
1703
|
staleDecisionAbsent: boolean;
|
|
1702
1704
|
} | {
|
|
1703
|
-
kind: "mission_completed";
|
|
1704
1705
|
summary: string;
|
|
1706
|
+
kind: "mission_completed";
|
|
1705
1707
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1706
1708
|
evidence: {
|
|
1707
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1708
1709
|
id: string;
|
|
1709
1710
|
label: string;
|
|
1711
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1710
1712
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1711
1713
|
locator?: string | undefined;
|
|
1712
1714
|
}[];
|
|
@@ -1716,37 +1718,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1716
1718
|
objective: string;
|
|
1717
1719
|
runMode: "replay" | "fixture" | "live";
|
|
1718
1720
|
evidence?: {
|
|
1719
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1720
1721
|
id: string;
|
|
1721
1722
|
label: string;
|
|
1723
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1722
1724
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1723
1725
|
locator?: string | undefined;
|
|
1724
1726
|
}[] | undefined;
|
|
1725
1727
|
} | {
|
|
1728
|
+
label: string;
|
|
1729
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1726
1730
|
kind: "agent_status";
|
|
1727
1731
|
role: string;
|
|
1728
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1729
|
-
label: string;
|
|
1730
1732
|
agentId: string;
|
|
1731
1733
|
sessionId: string;
|
|
1732
1734
|
detail?: string | undefined;
|
|
1733
1735
|
evidence?: {
|
|
1734
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1735
1736
|
id: string;
|
|
1736
1737
|
label: string;
|
|
1738
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1737
1739
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1738
1740
|
locator?: string | undefined;
|
|
1739
1741
|
}[] | undefined;
|
|
1740
1742
|
} | {
|
|
1741
|
-
kind: "agent_output";
|
|
1742
1743
|
summary: string;
|
|
1744
|
+
kind: "agent_output";
|
|
1743
1745
|
agentId: string;
|
|
1744
1746
|
sessionId: string;
|
|
1745
1747
|
outputId: string;
|
|
1746
1748
|
evidence?: {
|
|
1747
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1748
1749
|
id: string;
|
|
1749
1750
|
label: string;
|
|
1751
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1750
1752
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1751
1753
|
locator?: string | undefined;
|
|
1752
1754
|
}[] | undefined;
|
|
@@ -1759,37 +1761,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1759
1761
|
decisionId: string;
|
|
1760
1762
|
confidence?: number | undefined;
|
|
1761
1763
|
evidence?: {
|
|
1762
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1763
1764
|
id: string;
|
|
1764
1765
|
label: string;
|
|
1766
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1765
1767
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1766
1768
|
locator?: string | undefined;
|
|
1767
1769
|
}[] | undefined;
|
|
1768
1770
|
} | {
|
|
1769
|
-
kind: "conflict_detected";
|
|
1770
1771
|
summary: string;
|
|
1772
|
+
kind: "conflict_detected";
|
|
1771
1773
|
conflictId: string;
|
|
1772
1774
|
decisionIds: string[];
|
|
1773
1775
|
agentIds: string[];
|
|
1774
1776
|
evidence?: {
|
|
1775
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1776
1777
|
id: string;
|
|
1777
1778
|
label: string;
|
|
1779
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1778
1780
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1779
1781
|
locator?: string | undefined;
|
|
1780
1782
|
}[] | undefined;
|
|
1781
1783
|
} | {
|
|
1782
|
-
kind: "test_result";
|
|
1783
1784
|
summary: string;
|
|
1784
|
-
command: string;
|
|
1785
1785
|
status: "error" | "failed" | "passed";
|
|
1786
|
+
kind: "test_result";
|
|
1787
|
+
command: string;
|
|
1786
1788
|
decisionId: string;
|
|
1787
1789
|
testId: string;
|
|
1788
1790
|
durationMs?: number | undefined;
|
|
1789
1791
|
evidence?: {
|
|
1790
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1791
1792
|
id: string;
|
|
1792
1793
|
label: string;
|
|
1794
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1793
1795
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1794
1796
|
locator?: string | undefined;
|
|
1795
1797
|
}[] | undefined;
|
|
@@ -1804,9 +1806,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1804
1806
|
supersedesDecisionIds: string[];
|
|
1805
1807
|
proposedBy: string;
|
|
1806
1808
|
evidence?: {
|
|
1807
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1808
1809
|
id: string;
|
|
1809
1810
|
label: string;
|
|
1811
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1810
1812
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1811
1813
|
locator?: string | undefined;
|
|
1812
1814
|
}[] | undefined;
|
|
@@ -1814,15 +1816,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1814
1816
|
kind: "correction_approved";
|
|
1815
1817
|
correctionId: string;
|
|
1816
1818
|
approvedBy: {
|
|
1817
|
-
kind: "agent" | "human";
|
|
1818
1819
|
id: string;
|
|
1819
1820
|
label: string;
|
|
1821
|
+
kind: "agent" | "human";
|
|
1820
1822
|
};
|
|
1821
1823
|
note?: string | undefined;
|
|
1822
1824
|
evidence?: {
|
|
1823
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1824
1825
|
id: string;
|
|
1825
1826
|
label: string;
|
|
1827
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1826
1828
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1827
1829
|
locator?: string | undefined;
|
|
1828
1830
|
}[] | undefined;
|
|
@@ -1832,9 +1834,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1832
1834
|
correctionId: string;
|
|
1833
1835
|
replacementDecisionId: string;
|
|
1834
1836
|
evidence?: {
|
|
1835
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1836
1837
|
id: string;
|
|
1837
1838
|
label: string;
|
|
1839
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1838
1840
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1839
1841
|
locator?: string | undefined;
|
|
1840
1842
|
}[] | undefined;
|
|
@@ -1847,9 +1849,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1847
1849
|
recallReceiptId: string;
|
|
1848
1850
|
capturedAtAction: boolean;
|
|
1849
1851
|
evidence?: {
|
|
1850
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1851
1852
|
id: string;
|
|
1852
1853
|
label: string;
|
|
1854
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1853
1855
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1854
1856
|
locator?: string | undefined;
|
|
1855
1857
|
}[] | undefined;
|
|
@@ -1862,20 +1864,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1862
1864
|
recallReceiptId: string;
|
|
1863
1865
|
staleDecisionAbsent: boolean;
|
|
1864
1866
|
evidence?: {
|
|
1865
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1866
1867
|
id: string;
|
|
1867
1868
|
label: string;
|
|
1869
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1868
1870
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1869
1871
|
locator?: string | undefined;
|
|
1870
1872
|
}[] | undefined;
|
|
1871
1873
|
} | {
|
|
1872
|
-
kind: "mission_completed";
|
|
1873
1874
|
summary: string;
|
|
1875
|
+
kind: "mission_completed";
|
|
1874
1876
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1875
1877
|
evidence?: {
|
|
1876
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1877
1878
|
id: string;
|
|
1878
1879
|
label: string;
|
|
1880
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1879
1881
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1880
1882
|
locator?: string | undefined;
|
|
1881
1883
|
}[] | undefined;
|
|
@@ -1896,15 +1898,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1896
1898
|
locator: z.ZodOptional<z.ZodString>;
|
|
1897
1899
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1898
1900
|
}, "strict", z.ZodTypeAny, {
|
|
1899
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1900
1901
|
id: string;
|
|
1901
1902
|
label: string;
|
|
1903
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1902
1904
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1903
1905
|
locator?: string | undefined;
|
|
1904
1906
|
}, {
|
|
1905
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1906
1907
|
id: string;
|
|
1907
1908
|
label: string;
|
|
1909
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1908
1910
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1909
1911
|
locator?: string | undefined;
|
|
1910
1912
|
}>, "many">>;
|
|
@@ -1912,9 +1914,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1912
1914
|
kind: "mission_started";
|
|
1913
1915
|
title: string;
|
|
1914
1916
|
evidence: {
|
|
1915
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1916
1917
|
id: string;
|
|
1917
1918
|
label: string;
|
|
1919
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1918
1920
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1919
1921
|
locator?: string | undefined;
|
|
1920
1922
|
}[];
|
|
@@ -1926,9 +1928,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1926
1928
|
objective: string;
|
|
1927
1929
|
runMode: "replay" | "fixture" | "live";
|
|
1928
1930
|
evidence?: {
|
|
1929
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1930
1931
|
id: string;
|
|
1931
1932
|
label: string;
|
|
1933
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1932
1934
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1933
1935
|
locator?: string | undefined;
|
|
1934
1936
|
}[] | undefined;
|
|
@@ -1944,15 +1946,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1944
1946
|
locator: z.ZodOptional<z.ZodString>;
|
|
1945
1947
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1946
1948
|
}, "strict", z.ZodTypeAny, {
|
|
1947
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1948
1949
|
id: string;
|
|
1949
1950
|
label: string;
|
|
1951
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1950
1952
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1951
1953
|
locator?: string | undefined;
|
|
1952
1954
|
}, {
|
|
1953
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1954
1955
|
id: string;
|
|
1955
1956
|
label: string;
|
|
1957
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1956
1958
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1957
1959
|
locator?: string | undefined;
|
|
1958
1960
|
}>, "many">>;
|
|
@@ -1960,32 +1962,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1960
1962
|
sessionId: z.ZodString;
|
|
1961
1963
|
kind: z.ZodLiteral<"agent_status">;
|
|
1962
1964
|
}, "strict", z.ZodTypeAny, {
|
|
1965
|
+
label: string;
|
|
1966
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1963
1967
|
kind: "agent_status";
|
|
1964
1968
|
role: string;
|
|
1965
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1966
|
-
label: string;
|
|
1967
1969
|
agentId: string;
|
|
1968
1970
|
sessionId: string;
|
|
1969
1971
|
evidence: {
|
|
1970
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1971
1972
|
id: string;
|
|
1972
1973
|
label: string;
|
|
1974
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1973
1975
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1974
1976
|
locator?: string | undefined;
|
|
1975
1977
|
}[];
|
|
1976
1978
|
detail?: string | undefined;
|
|
1977
1979
|
}, {
|
|
1980
|
+
label: string;
|
|
1981
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1978
1982
|
kind: "agent_status";
|
|
1979
1983
|
role: string;
|
|
1980
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1981
|
-
label: string;
|
|
1982
1984
|
agentId: string;
|
|
1983
1985
|
sessionId: string;
|
|
1984
1986
|
detail?: string | undefined;
|
|
1985
1987
|
evidence?: {
|
|
1986
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1987
1988
|
id: string;
|
|
1988
1989
|
label: string;
|
|
1990
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1989
1991
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1990
1992
|
locator?: string | undefined;
|
|
1991
1993
|
}[] | undefined;
|
|
@@ -1999,15 +2001,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1999
2001
|
locator: z.ZodOptional<z.ZodString>;
|
|
2000
2002
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2001
2003
|
}, "strict", z.ZodTypeAny, {
|
|
2002
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2003
2004
|
id: string;
|
|
2004
2005
|
label: string;
|
|
2006
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2005
2007
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2006
2008
|
locator?: string | undefined;
|
|
2007
2009
|
}, {
|
|
2008
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2009
2010
|
id: string;
|
|
2010
2011
|
label: string;
|
|
2012
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2011
2013
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2012
2014
|
locator?: string | undefined;
|
|
2013
2015
|
}>, "many">>;
|
|
@@ -2015,28 +2017,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2015
2017
|
sessionId: z.ZodString;
|
|
2016
2018
|
kind: z.ZodLiteral<"agent_output">;
|
|
2017
2019
|
}, "strict", z.ZodTypeAny, {
|
|
2018
|
-
kind: "agent_output";
|
|
2019
2020
|
summary: string;
|
|
2021
|
+
kind: "agent_output";
|
|
2020
2022
|
agentId: string;
|
|
2021
2023
|
sessionId: string;
|
|
2022
2024
|
evidence: {
|
|
2023
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2024
2025
|
id: string;
|
|
2025
2026
|
label: string;
|
|
2027
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2026
2028
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2027
2029
|
locator?: string | undefined;
|
|
2028
2030
|
}[];
|
|
2029
2031
|
outputId: string;
|
|
2030
2032
|
}, {
|
|
2031
|
-
kind: "agent_output";
|
|
2032
2033
|
summary: string;
|
|
2034
|
+
kind: "agent_output";
|
|
2033
2035
|
agentId: string;
|
|
2034
2036
|
sessionId: string;
|
|
2035
2037
|
outputId: string;
|
|
2036
2038
|
evidence?: {
|
|
2037
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2038
2039
|
id: string;
|
|
2039
2040
|
label: string;
|
|
2041
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2040
2042
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2041
2043
|
locator?: string | undefined;
|
|
2042
2044
|
}[] | undefined;
|
|
@@ -2052,15 +2054,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2052
2054
|
locator: z.ZodOptional<z.ZodString>;
|
|
2053
2055
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2054
2056
|
}, "strict", z.ZodTypeAny, {
|
|
2055
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2056
2057
|
id: string;
|
|
2057
2058
|
label: string;
|
|
2059
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2058
2060
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2059
2061
|
locator?: string | undefined;
|
|
2060
2062
|
}, {
|
|
2061
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2062
2063
|
id: string;
|
|
2063
2064
|
label: string;
|
|
2065
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2064
2066
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2065
2067
|
locator?: string | undefined;
|
|
2066
2068
|
}>, "many">>;
|
|
@@ -2073,9 +2075,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2073
2075
|
statement: string;
|
|
2074
2076
|
sessionId: string;
|
|
2075
2077
|
evidence: {
|
|
2076
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2077
2078
|
id: string;
|
|
2078
2079
|
label: string;
|
|
2080
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2079
2081
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2080
2082
|
locator?: string | undefined;
|
|
2081
2083
|
}[];
|
|
@@ -2091,9 +2093,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2091
2093
|
decisionId: string;
|
|
2092
2094
|
confidence?: number | undefined;
|
|
2093
2095
|
evidence?: {
|
|
2094
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2095
2096
|
id: string;
|
|
2096
2097
|
label: string;
|
|
2098
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2097
2099
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2098
2100
|
locator?: string | undefined;
|
|
2099
2101
|
}[] | undefined;
|
|
@@ -2110,25 +2112,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2110
2112
|
locator: z.ZodOptional<z.ZodString>;
|
|
2111
2113
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2112
2114
|
}, "strict", z.ZodTypeAny, {
|
|
2113
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2114
2115
|
id: string;
|
|
2115
2116
|
label: string;
|
|
2117
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2116
2118
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2117
2119
|
locator?: string | undefined;
|
|
2118
2120
|
}, {
|
|
2119
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2120
2121
|
id: string;
|
|
2121
2122
|
label: string;
|
|
2123
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2122
2124
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2123
2125
|
locator?: string | undefined;
|
|
2124
2126
|
}>, "many">>;
|
|
2125
2127
|
}, "strict", z.ZodTypeAny, {
|
|
2126
|
-
kind: "conflict_detected";
|
|
2127
2128
|
summary: string;
|
|
2129
|
+
kind: "conflict_detected";
|
|
2128
2130
|
evidence: {
|
|
2129
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2130
2131
|
id: string;
|
|
2131
2132
|
label: string;
|
|
2133
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2132
2134
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2133
2135
|
locator?: string | undefined;
|
|
2134
2136
|
}[];
|
|
@@ -2136,15 +2138,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2136
2138
|
decisionIds: string[];
|
|
2137
2139
|
agentIds: string[];
|
|
2138
2140
|
}, {
|
|
2139
|
-
kind: "conflict_detected";
|
|
2140
2141
|
summary: string;
|
|
2142
|
+
kind: "conflict_detected";
|
|
2141
2143
|
conflictId: string;
|
|
2142
2144
|
decisionIds: string[];
|
|
2143
2145
|
agentIds: string[];
|
|
2144
2146
|
evidence?: {
|
|
2145
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2146
2147
|
id: string;
|
|
2147
2148
|
label: string;
|
|
2149
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2148
2150
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2149
2151
|
locator?: string | undefined;
|
|
2150
2152
|
}[] | undefined;
|
|
@@ -2164,27 +2166,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2164
2166
|
locator: z.ZodOptional<z.ZodString>;
|
|
2165
2167
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2166
2168
|
}, "strict", z.ZodTypeAny, {
|
|
2167
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2168
2169
|
id: string;
|
|
2169
2170
|
label: string;
|
|
2171
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2170
2172
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2171
2173
|
locator?: string | undefined;
|
|
2172
2174
|
}, {
|
|
2173
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2174
2175
|
id: string;
|
|
2175
2176
|
label: string;
|
|
2177
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2176
2178
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2177
2179
|
locator?: string | undefined;
|
|
2178
2180
|
}>, "many">>;
|
|
2179
2181
|
}, "strict", z.ZodTypeAny, {
|
|
2180
|
-
kind: "test_result";
|
|
2181
2182
|
summary: string;
|
|
2182
|
-
command: string;
|
|
2183
2183
|
status: "error" | "failed" | "passed";
|
|
2184
|
+
kind: "test_result";
|
|
2185
|
+
command: string;
|
|
2184
2186
|
evidence: {
|
|
2185
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2186
2187
|
id: string;
|
|
2187
2188
|
label: string;
|
|
2189
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2188
2190
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2189
2191
|
locator?: string | undefined;
|
|
2190
2192
|
}[];
|
|
@@ -2193,17 +2195,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2193
2195
|
durationMs?: number | undefined;
|
|
2194
2196
|
correctionId?: string | undefined;
|
|
2195
2197
|
}, {
|
|
2196
|
-
kind: "test_result";
|
|
2197
2198
|
summary: string;
|
|
2198
|
-
command: string;
|
|
2199
2199
|
status: "error" | "failed" | "passed";
|
|
2200
|
+
kind: "test_result";
|
|
2201
|
+
command: string;
|
|
2200
2202
|
decisionId: string;
|
|
2201
2203
|
testId: string;
|
|
2202
2204
|
durationMs?: number | undefined;
|
|
2203
2205
|
evidence?: {
|
|
2204
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2205
2206
|
id: string;
|
|
2206
2207
|
label: string;
|
|
2208
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2207
2209
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2208
2210
|
locator?: string | undefined;
|
|
2209
2211
|
}[] | undefined;
|
|
@@ -2224,15 +2226,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2224
2226
|
locator: z.ZodOptional<z.ZodString>;
|
|
2225
2227
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2226
2228
|
}, "strict", z.ZodTypeAny, {
|
|
2227
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2228
2229
|
id: string;
|
|
2229
2230
|
label: string;
|
|
2231
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2230
2232
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2231
2233
|
locator?: string | undefined;
|
|
2232
2234
|
}, {
|
|
2233
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2234
2235
|
id: string;
|
|
2235
2236
|
label: string;
|
|
2237
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2236
2238
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2237
2239
|
locator?: string | undefined;
|
|
2238
2240
|
}>, "many">>;
|
|
@@ -2241,9 +2243,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2241
2243
|
rationale: string;
|
|
2242
2244
|
statement: string;
|
|
2243
2245
|
evidence: {
|
|
2244
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2245
2246
|
id: string;
|
|
2246
2247
|
label: string;
|
|
2248
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2247
2249
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2248
2250
|
locator?: string | undefined;
|
|
2249
2251
|
}[];
|
|
@@ -2262,9 +2264,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2262
2264
|
supersedesDecisionIds: string[];
|
|
2263
2265
|
proposedBy: string;
|
|
2264
2266
|
evidence?: {
|
|
2265
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2266
2267
|
id: string;
|
|
2267
2268
|
label: string;
|
|
2269
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2268
2270
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2269
2271
|
locator?: string | undefined;
|
|
2270
2272
|
}[] | undefined;
|
|
@@ -2276,13 +2278,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2276
2278
|
id: z.ZodString;
|
|
2277
2279
|
label: z.ZodString;
|
|
2278
2280
|
}, "strict", z.ZodTypeAny, {
|
|
2279
|
-
kind: "agent" | "human";
|
|
2280
2281
|
id: string;
|
|
2281
2282
|
label: string;
|
|
2282
|
-
}, {
|
|
2283
2283
|
kind: "agent" | "human";
|
|
2284
|
+
}, {
|
|
2284
2285
|
id: string;
|
|
2285
2286
|
label: string;
|
|
2287
|
+
kind: "agent" | "human";
|
|
2286
2288
|
}>;
|
|
2287
2289
|
note: z.ZodOptional<z.ZodString>;
|
|
2288
2290
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2292,47 +2294,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2292
2294
|
locator: z.ZodOptional<z.ZodString>;
|
|
2293
2295
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2294
2296
|
}, "strict", z.ZodTypeAny, {
|
|
2295
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2296
2297
|
id: string;
|
|
2297
2298
|
label: string;
|
|
2299
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2298
2300
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2299
2301
|
locator?: string | undefined;
|
|
2300
2302
|
}, {
|
|
2301
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2302
2303
|
id: string;
|
|
2303
2304
|
label: string;
|
|
2305
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2304
2306
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2305
2307
|
locator?: string | undefined;
|
|
2306
2308
|
}>, "many">>;
|
|
2307
2309
|
}, "strict", z.ZodTypeAny, {
|
|
2308
2310
|
kind: "correction_approved";
|
|
2309
2311
|
evidence: {
|
|
2310
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2311
2312
|
id: string;
|
|
2312
2313
|
label: string;
|
|
2314
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2313
2315
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2314
2316
|
locator?: string | undefined;
|
|
2315
2317
|
}[];
|
|
2316
2318
|
correctionId: string;
|
|
2317
2319
|
approvedBy: {
|
|
2318
|
-
kind: "agent" | "human";
|
|
2319
2320
|
id: string;
|
|
2320
2321
|
label: string;
|
|
2322
|
+
kind: "agent" | "human";
|
|
2321
2323
|
};
|
|
2322
2324
|
note?: string | undefined;
|
|
2323
2325
|
}, {
|
|
2324
2326
|
kind: "correction_approved";
|
|
2325
2327
|
correctionId: string;
|
|
2326
2328
|
approvedBy: {
|
|
2327
|
-
kind: "agent" | "human";
|
|
2328
2329
|
id: string;
|
|
2329
2330
|
label: string;
|
|
2331
|
+
kind: "agent" | "human";
|
|
2330
2332
|
};
|
|
2331
2333
|
note?: string | undefined;
|
|
2332
2334
|
evidence?: {
|
|
2333
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2334
2335
|
id: string;
|
|
2335
2336
|
label: string;
|
|
2337
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2336
2338
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2337
2339
|
locator?: string | undefined;
|
|
2338
2340
|
}[] | undefined;
|
|
@@ -2348,24 +2350,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2348
2350
|
locator: z.ZodOptional<z.ZodString>;
|
|
2349
2351
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2350
2352
|
}, "strict", z.ZodTypeAny, {
|
|
2351
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2352
2353
|
id: string;
|
|
2353
2354
|
label: string;
|
|
2355
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2354
2356
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2355
2357
|
locator?: string | undefined;
|
|
2356
2358
|
}, {
|
|
2357
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2358
2359
|
id: string;
|
|
2359
2360
|
label: string;
|
|
2361
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2360
2362
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2361
2363
|
locator?: string | undefined;
|
|
2362
2364
|
}>, "many">>;
|
|
2363
2365
|
}, "strict", z.ZodTypeAny, {
|
|
2364
2366
|
kind: "decision_superseded";
|
|
2365
2367
|
evidence: {
|
|
2366
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2367
2368
|
id: string;
|
|
2368
2369
|
label: string;
|
|
2370
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2369
2371
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2370
2372
|
locator?: string | undefined;
|
|
2371
2373
|
}[];
|
|
@@ -2378,9 +2380,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2378
2380
|
correctionId: string;
|
|
2379
2381
|
replacementDecisionId: string;
|
|
2380
2382
|
evidence?: {
|
|
2381
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2382
2383
|
id: string;
|
|
2383
2384
|
label: string;
|
|
2385
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2384
2386
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2385
2387
|
locator?: string | undefined;
|
|
2386
2388
|
}[] | undefined;
|
|
@@ -2396,15 +2398,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2396
2398
|
locator: z.ZodOptional<z.ZodString>;
|
|
2397
2399
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2398
2400
|
}, "strict", z.ZodTypeAny, {
|
|
2399
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2400
2401
|
id: string;
|
|
2401
2402
|
label: string;
|
|
2403
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2402
2404
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2403
2405
|
locator?: string | undefined;
|
|
2404
2406
|
}, {
|
|
2405
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2406
2407
|
id: string;
|
|
2407
2408
|
label: string;
|
|
2409
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2408
2410
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2409
2411
|
locator?: string | undefined;
|
|
2410
2412
|
}>, "many">>;
|
|
@@ -2417,9 +2419,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2417
2419
|
agentId: string;
|
|
2418
2420
|
sessionId: string;
|
|
2419
2421
|
evidence: {
|
|
2420
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2421
2422
|
id: string;
|
|
2422
2423
|
label: string;
|
|
2424
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2423
2425
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2424
2426
|
locator?: string | undefined;
|
|
2425
2427
|
}[];
|
|
@@ -2435,9 +2437,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2435
2437
|
recallReceiptId: string;
|
|
2436
2438
|
capturedAtAction: boolean;
|
|
2437
2439
|
evidence?: {
|
|
2438
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2439
2440
|
id: string;
|
|
2440
2441
|
label: string;
|
|
2442
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2441
2443
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2442
2444
|
locator?: string | undefined;
|
|
2443
2445
|
}[] | undefined;
|
|
@@ -2453,15 +2455,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2453
2455
|
locator: z.ZodOptional<z.ZodString>;
|
|
2454
2456
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2455
2457
|
}, "strict", z.ZodTypeAny, {
|
|
2456
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2457
2458
|
id: string;
|
|
2458
2459
|
label: string;
|
|
2460
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2459
2461
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2460
2462
|
locator?: string | undefined;
|
|
2461
2463
|
}, {
|
|
2462
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2463
2464
|
id: string;
|
|
2464
2465
|
label: string;
|
|
2466
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2465
2467
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2466
2468
|
locator?: string | undefined;
|
|
2467
2469
|
}>, "many">>;
|
|
@@ -2473,9 +2475,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2473
2475
|
agentId: string;
|
|
2474
2476
|
sessionId: string;
|
|
2475
2477
|
evidence: {
|
|
2476
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2477
2478
|
id: string;
|
|
2478
2479
|
label: string;
|
|
2480
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2479
2481
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2480
2482
|
locator?: string | undefined;
|
|
2481
2483
|
}[];
|
|
@@ -2492,9 +2494,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2492
2494
|
recallReceiptId: string;
|
|
2493
2495
|
staleDecisionAbsent: boolean;
|
|
2494
2496
|
evidence?: {
|
|
2495
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2496
2497
|
id: string;
|
|
2497
2498
|
label: string;
|
|
2499
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2498
2500
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2499
2501
|
locator?: string | undefined;
|
|
2500
2502
|
}[] | undefined;
|
|
@@ -2509,37 +2511,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2509
2511
|
locator: z.ZodOptional<z.ZodString>;
|
|
2510
2512
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2511
2513
|
}, "strict", z.ZodTypeAny, {
|
|
2512
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2513
2514
|
id: string;
|
|
2514
2515
|
label: string;
|
|
2516
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2515
2517
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2516
2518
|
locator?: string | undefined;
|
|
2517
2519
|
}, {
|
|
2518
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2519
2520
|
id: string;
|
|
2520
2521
|
label: string;
|
|
2522
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2521
2523
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2522
2524
|
locator?: string | undefined;
|
|
2523
2525
|
}>, "many">>;
|
|
2524
2526
|
}, "strict", z.ZodTypeAny, {
|
|
2525
|
-
kind: "mission_completed";
|
|
2526
2527
|
summary: string;
|
|
2528
|
+
kind: "mission_completed";
|
|
2527
2529
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2528
2530
|
evidence: {
|
|
2529
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2530
2531
|
id: string;
|
|
2531
2532
|
label: string;
|
|
2533
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2532
2534
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2533
2535
|
locator?: string | undefined;
|
|
2534
2536
|
}[];
|
|
2535
2537
|
}, {
|
|
2536
|
-
kind: "mission_completed";
|
|
2537
2538
|
summary: string;
|
|
2539
|
+
kind: "mission_completed";
|
|
2538
2540
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2539
2541
|
evidence?: {
|
|
2540
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2541
2542
|
id: string;
|
|
2542
2543
|
label: string;
|
|
2544
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2543
2545
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2544
2546
|
locator?: string | undefined;
|
|
2545
2547
|
}[] | undefined;
|
|
@@ -2547,38 +2549,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2547
2549
|
kind: "mission_started";
|
|
2548
2550
|
title: string;
|
|
2549
2551
|
evidence: {
|
|
2550
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2551
2552
|
id: string;
|
|
2552
2553
|
label: string;
|
|
2554
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2553
2555
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2554
2556
|
locator?: string | undefined;
|
|
2555
2557
|
}[];
|
|
2556
2558
|
objective: string;
|
|
2557
2559
|
runMode: "replay" | "fixture" | "live";
|
|
2558
2560
|
} | {
|
|
2561
|
+
label: string;
|
|
2562
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2559
2563
|
kind: "agent_status";
|
|
2560
2564
|
role: string;
|
|
2561
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2562
|
-
label: string;
|
|
2563
2565
|
agentId: string;
|
|
2564
2566
|
sessionId: string;
|
|
2565
2567
|
evidence: {
|
|
2566
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2567
2568
|
id: string;
|
|
2568
2569
|
label: string;
|
|
2570
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2569
2571
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2570
2572
|
locator?: string | undefined;
|
|
2571
2573
|
}[];
|
|
2572
2574
|
detail?: string | undefined;
|
|
2573
2575
|
} | {
|
|
2574
|
-
kind: "agent_output";
|
|
2575
2576
|
summary: string;
|
|
2577
|
+
kind: "agent_output";
|
|
2576
2578
|
agentId: string;
|
|
2577
2579
|
sessionId: string;
|
|
2578
2580
|
evidence: {
|
|
2579
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2580
2581
|
id: string;
|
|
2581
2582
|
label: string;
|
|
2583
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2582
2584
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2583
2585
|
locator?: string | undefined;
|
|
2584
2586
|
}[];
|
|
@@ -2589,9 +2591,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2589
2591
|
statement: string;
|
|
2590
2592
|
sessionId: string;
|
|
2591
2593
|
evidence: {
|
|
2592
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2593
2594
|
id: string;
|
|
2594
2595
|
label: string;
|
|
2596
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2595
2597
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2596
2598
|
locator?: string | undefined;
|
|
2597
2599
|
}[];
|
|
@@ -2599,12 +2601,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2599
2601
|
decisionId: string;
|
|
2600
2602
|
confidence?: number | undefined;
|
|
2601
2603
|
} | {
|
|
2602
|
-
kind: "conflict_detected";
|
|
2603
2604
|
summary: string;
|
|
2605
|
+
kind: "conflict_detected";
|
|
2604
2606
|
evidence: {
|
|
2605
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2606
2607
|
id: string;
|
|
2607
2608
|
label: string;
|
|
2609
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2608
2610
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2609
2611
|
locator?: string | undefined;
|
|
2610
2612
|
}[];
|
|
@@ -2612,14 +2614,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2612
2614
|
decisionIds: string[];
|
|
2613
2615
|
agentIds: string[];
|
|
2614
2616
|
} | {
|
|
2615
|
-
kind: "test_result";
|
|
2616
2617
|
summary: string;
|
|
2617
|
-
command: string;
|
|
2618
2618
|
status: "error" | "failed" | "passed";
|
|
2619
|
+
kind: "test_result";
|
|
2620
|
+
command: string;
|
|
2619
2621
|
evidence: {
|
|
2620
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2621
2622
|
id: string;
|
|
2622
2623
|
label: string;
|
|
2624
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2623
2625
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2624
2626
|
locator?: string | undefined;
|
|
2625
2627
|
}[];
|
|
@@ -2632,9 +2634,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2632
2634
|
rationale: string;
|
|
2633
2635
|
statement: string;
|
|
2634
2636
|
evidence: {
|
|
2635
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2636
2637
|
id: string;
|
|
2637
2638
|
label: string;
|
|
2639
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2638
2640
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2639
2641
|
locator?: string | undefined;
|
|
2640
2642
|
}[];
|
|
@@ -2646,25 +2648,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2646
2648
|
} | {
|
|
2647
2649
|
kind: "correction_approved";
|
|
2648
2650
|
evidence: {
|
|
2649
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2650
2651
|
id: string;
|
|
2651
2652
|
label: string;
|
|
2653
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2652
2654
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2653
2655
|
locator?: string | undefined;
|
|
2654
2656
|
}[];
|
|
2655
2657
|
correctionId: string;
|
|
2656
2658
|
approvedBy: {
|
|
2657
|
-
kind: "agent" | "human";
|
|
2658
2659
|
id: string;
|
|
2659
2660
|
label: string;
|
|
2661
|
+
kind: "agent" | "human";
|
|
2660
2662
|
};
|
|
2661
2663
|
note?: string | undefined;
|
|
2662
2664
|
} | {
|
|
2663
2665
|
kind: "decision_superseded";
|
|
2664
2666
|
evidence: {
|
|
2665
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2666
2667
|
id: string;
|
|
2667
2668
|
label: string;
|
|
2669
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2668
2670
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2669
2671
|
locator?: string | undefined;
|
|
2670
2672
|
}[];
|
|
@@ -2677,9 +2679,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2677
2679
|
agentId: string;
|
|
2678
2680
|
sessionId: string;
|
|
2679
2681
|
evidence: {
|
|
2680
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2681
2682
|
id: string;
|
|
2682
2683
|
label: string;
|
|
2684
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2683
2685
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2684
2686
|
locator?: string | undefined;
|
|
2685
2687
|
}[];
|
|
@@ -2691,9 +2693,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2691
2693
|
agentId: string;
|
|
2692
2694
|
sessionId: string;
|
|
2693
2695
|
evidence: {
|
|
2694
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2695
2696
|
id: string;
|
|
2696
2697
|
label: string;
|
|
2698
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2697
2699
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2698
2700
|
locator?: string | undefined;
|
|
2699
2701
|
}[];
|
|
@@ -2702,13 +2704,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2702
2704
|
recallReceiptId: string;
|
|
2703
2705
|
staleDecisionAbsent: boolean;
|
|
2704
2706
|
} | {
|
|
2705
|
-
kind: "mission_completed";
|
|
2706
2707
|
summary: string;
|
|
2708
|
+
kind: "mission_completed";
|
|
2707
2709
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2708
2710
|
evidence: {
|
|
2709
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2710
2711
|
id: string;
|
|
2711
2712
|
label: string;
|
|
2713
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2712
2714
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2713
2715
|
locator?: string | undefined;
|
|
2714
2716
|
}[];
|
|
@@ -2718,37 +2720,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2718
2720
|
objective: string;
|
|
2719
2721
|
runMode: "replay" | "fixture" | "live";
|
|
2720
2722
|
evidence?: {
|
|
2721
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2722
2723
|
id: string;
|
|
2723
2724
|
label: string;
|
|
2725
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2724
2726
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2725
2727
|
locator?: string | undefined;
|
|
2726
2728
|
}[] | undefined;
|
|
2727
2729
|
} | {
|
|
2730
|
+
label: string;
|
|
2731
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2728
2732
|
kind: "agent_status";
|
|
2729
2733
|
role: string;
|
|
2730
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2731
|
-
label: string;
|
|
2732
2734
|
agentId: string;
|
|
2733
2735
|
sessionId: string;
|
|
2734
2736
|
detail?: string | undefined;
|
|
2735
2737
|
evidence?: {
|
|
2736
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2737
2738
|
id: string;
|
|
2738
2739
|
label: string;
|
|
2740
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2739
2741
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2740
2742
|
locator?: string | undefined;
|
|
2741
2743
|
}[] | undefined;
|
|
2742
2744
|
} | {
|
|
2743
|
-
kind: "agent_output";
|
|
2744
2745
|
summary: string;
|
|
2746
|
+
kind: "agent_output";
|
|
2745
2747
|
agentId: string;
|
|
2746
2748
|
sessionId: string;
|
|
2747
2749
|
outputId: string;
|
|
2748
2750
|
evidence?: {
|
|
2749
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2750
2751
|
id: string;
|
|
2751
2752
|
label: string;
|
|
2753
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2752
2754
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2753
2755
|
locator?: string | undefined;
|
|
2754
2756
|
}[] | undefined;
|
|
@@ -2761,37 +2763,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2761
2763
|
decisionId: string;
|
|
2762
2764
|
confidence?: number | undefined;
|
|
2763
2765
|
evidence?: {
|
|
2764
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2765
2766
|
id: string;
|
|
2766
2767
|
label: string;
|
|
2768
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2767
2769
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2768
2770
|
locator?: string | undefined;
|
|
2769
2771
|
}[] | undefined;
|
|
2770
2772
|
} | {
|
|
2771
|
-
kind: "conflict_detected";
|
|
2772
2773
|
summary: string;
|
|
2774
|
+
kind: "conflict_detected";
|
|
2773
2775
|
conflictId: string;
|
|
2774
2776
|
decisionIds: string[];
|
|
2775
2777
|
agentIds: string[];
|
|
2776
2778
|
evidence?: {
|
|
2777
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2778
2779
|
id: string;
|
|
2779
2780
|
label: string;
|
|
2781
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2780
2782
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2781
2783
|
locator?: string | undefined;
|
|
2782
2784
|
}[] | undefined;
|
|
2783
2785
|
} | {
|
|
2784
|
-
kind: "test_result";
|
|
2785
2786
|
summary: string;
|
|
2786
|
-
command: string;
|
|
2787
2787
|
status: "error" | "failed" | "passed";
|
|
2788
|
+
kind: "test_result";
|
|
2789
|
+
command: string;
|
|
2788
2790
|
decisionId: string;
|
|
2789
2791
|
testId: string;
|
|
2790
2792
|
durationMs?: number | undefined;
|
|
2791
2793
|
evidence?: {
|
|
2792
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2793
2794
|
id: string;
|
|
2794
2795
|
label: string;
|
|
2796
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2795
2797
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2796
2798
|
locator?: string | undefined;
|
|
2797
2799
|
}[] | undefined;
|
|
@@ -2806,9 +2808,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2806
2808
|
supersedesDecisionIds: string[];
|
|
2807
2809
|
proposedBy: string;
|
|
2808
2810
|
evidence?: {
|
|
2809
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2810
2811
|
id: string;
|
|
2811
2812
|
label: string;
|
|
2813
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2812
2814
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2813
2815
|
locator?: string | undefined;
|
|
2814
2816
|
}[] | undefined;
|
|
@@ -2816,15 +2818,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2816
2818
|
kind: "correction_approved";
|
|
2817
2819
|
correctionId: string;
|
|
2818
2820
|
approvedBy: {
|
|
2819
|
-
kind: "agent" | "human";
|
|
2820
2821
|
id: string;
|
|
2821
2822
|
label: string;
|
|
2823
|
+
kind: "agent" | "human";
|
|
2822
2824
|
};
|
|
2823
2825
|
note?: string | undefined;
|
|
2824
2826
|
evidence?: {
|
|
2825
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2826
2827
|
id: string;
|
|
2827
2828
|
label: string;
|
|
2829
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2828
2830
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2829
2831
|
locator?: string | undefined;
|
|
2830
2832
|
}[] | undefined;
|
|
@@ -2834,9 +2836,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2834
2836
|
correctionId: string;
|
|
2835
2837
|
replacementDecisionId: string;
|
|
2836
2838
|
evidence?: {
|
|
2837
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2838
2839
|
id: string;
|
|
2839
2840
|
label: string;
|
|
2841
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2840
2842
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2841
2843
|
locator?: string | undefined;
|
|
2842
2844
|
}[] | undefined;
|
|
@@ -2849,9 +2851,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2849
2851
|
recallReceiptId: string;
|
|
2850
2852
|
capturedAtAction: boolean;
|
|
2851
2853
|
evidence?: {
|
|
2852
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2853
2854
|
id: string;
|
|
2854
2855
|
label: string;
|
|
2856
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2855
2857
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2856
2858
|
locator?: string | undefined;
|
|
2857
2859
|
}[] | undefined;
|
|
@@ -2864,20 +2866,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2864
2866
|
recallReceiptId: string;
|
|
2865
2867
|
staleDecisionAbsent: boolean;
|
|
2866
2868
|
evidence?: {
|
|
2867
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2868
2869
|
id: string;
|
|
2869
2870
|
label: string;
|
|
2871
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2870
2872
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2871
2873
|
locator?: string | undefined;
|
|
2872
2874
|
}[] | undefined;
|
|
2873
2875
|
} | {
|
|
2874
|
-
kind: "mission_completed";
|
|
2875
2876
|
summary: string;
|
|
2877
|
+
kind: "mission_completed";
|
|
2876
2878
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2877
2879
|
evidence?: {
|
|
2878
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2879
2880
|
id: string;
|
|
2880
2881
|
label: string;
|
|
2882
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2881
2883
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2882
2884
|
locator?: string | undefined;
|
|
2883
2885
|
}[] | undefined;
|
|
@@ -2887,38 +2889,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2887
2889
|
kind: "mission_started";
|
|
2888
2890
|
title: string;
|
|
2889
2891
|
evidence: {
|
|
2890
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2891
2892
|
id: string;
|
|
2892
2893
|
label: string;
|
|
2894
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2893
2895
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2894
2896
|
locator?: string | undefined;
|
|
2895
2897
|
}[];
|
|
2896
2898
|
objective: string;
|
|
2897
2899
|
runMode: "replay" | "fixture" | "live";
|
|
2898
2900
|
} | {
|
|
2901
|
+
label: string;
|
|
2902
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2899
2903
|
kind: "agent_status";
|
|
2900
2904
|
role: string;
|
|
2901
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2902
|
-
label: string;
|
|
2903
2905
|
agentId: string;
|
|
2904
2906
|
sessionId: string;
|
|
2905
2907
|
evidence: {
|
|
2906
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2907
2908
|
id: string;
|
|
2908
2909
|
label: string;
|
|
2910
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2909
2911
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2910
2912
|
locator?: string | undefined;
|
|
2911
2913
|
}[];
|
|
2912
2914
|
detail?: string | undefined;
|
|
2913
2915
|
} | {
|
|
2914
|
-
kind: "agent_output";
|
|
2915
2916
|
summary: string;
|
|
2917
|
+
kind: "agent_output";
|
|
2916
2918
|
agentId: string;
|
|
2917
2919
|
sessionId: string;
|
|
2918
2920
|
evidence: {
|
|
2919
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2920
2921
|
id: string;
|
|
2921
2922
|
label: string;
|
|
2923
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2922
2924
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2923
2925
|
locator?: string | undefined;
|
|
2924
2926
|
}[];
|
|
@@ -2929,9 +2931,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2929
2931
|
statement: string;
|
|
2930
2932
|
sessionId: string;
|
|
2931
2933
|
evidence: {
|
|
2932
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2933
2934
|
id: string;
|
|
2934
2935
|
label: string;
|
|
2936
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2935
2937
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2936
2938
|
locator?: string | undefined;
|
|
2937
2939
|
}[];
|
|
@@ -2939,12 +2941,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2939
2941
|
decisionId: string;
|
|
2940
2942
|
confidence?: number | undefined;
|
|
2941
2943
|
} | {
|
|
2942
|
-
kind: "conflict_detected";
|
|
2943
2944
|
summary: string;
|
|
2945
|
+
kind: "conflict_detected";
|
|
2944
2946
|
evidence: {
|
|
2945
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2946
2947
|
id: string;
|
|
2947
2948
|
label: string;
|
|
2949
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2948
2950
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2949
2951
|
locator?: string | undefined;
|
|
2950
2952
|
}[];
|
|
@@ -2952,14 +2954,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2952
2954
|
decisionIds: string[];
|
|
2953
2955
|
agentIds: string[];
|
|
2954
2956
|
} | {
|
|
2955
|
-
kind: "test_result";
|
|
2956
2957
|
summary: string;
|
|
2957
|
-
command: string;
|
|
2958
2958
|
status: "error" | "failed" | "passed";
|
|
2959
|
+
kind: "test_result";
|
|
2960
|
+
command: string;
|
|
2959
2961
|
evidence: {
|
|
2960
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2961
2962
|
id: string;
|
|
2962
2963
|
label: string;
|
|
2964
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2963
2965
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2964
2966
|
locator?: string | undefined;
|
|
2965
2967
|
}[];
|
|
@@ -2972,9 +2974,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2972
2974
|
rationale: string;
|
|
2973
2975
|
statement: string;
|
|
2974
2976
|
evidence: {
|
|
2975
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2976
2977
|
id: string;
|
|
2977
2978
|
label: string;
|
|
2979
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2978
2980
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2979
2981
|
locator?: string | undefined;
|
|
2980
2982
|
}[];
|
|
@@ -2986,25 +2988,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2986
2988
|
} | {
|
|
2987
2989
|
kind: "correction_approved";
|
|
2988
2990
|
evidence: {
|
|
2989
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2990
2991
|
id: string;
|
|
2991
2992
|
label: string;
|
|
2993
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2992
2994
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2993
2995
|
locator?: string | undefined;
|
|
2994
2996
|
}[];
|
|
2995
2997
|
correctionId: string;
|
|
2996
2998
|
approvedBy: {
|
|
2997
|
-
kind: "agent" | "human";
|
|
2998
2999
|
id: string;
|
|
2999
3000
|
label: string;
|
|
3001
|
+
kind: "agent" | "human";
|
|
3000
3002
|
};
|
|
3001
3003
|
note?: string | undefined;
|
|
3002
3004
|
} | {
|
|
3003
3005
|
kind: "decision_superseded";
|
|
3004
3006
|
evidence: {
|
|
3005
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3006
3007
|
id: string;
|
|
3007
3008
|
label: string;
|
|
3009
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3008
3010
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3009
3011
|
locator?: string | undefined;
|
|
3010
3012
|
}[];
|
|
@@ -3017,9 +3019,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3017
3019
|
agentId: string;
|
|
3018
3020
|
sessionId: string;
|
|
3019
3021
|
evidence: {
|
|
3020
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3021
3022
|
id: string;
|
|
3022
3023
|
label: string;
|
|
3024
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3023
3025
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3024
3026
|
locator?: string | undefined;
|
|
3025
3027
|
}[];
|
|
@@ -3031,9 +3033,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3031
3033
|
agentId: string;
|
|
3032
3034
|
sessionId: string;
|
|
3033
3035
|
evidence: {
|
|
3034
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3035
3036
|
id: string;
|
|
3036
3037
|
label: string;
|
|
3038
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3037
3039
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3038
3040
|
locator?: string | undefined;
|
|
3039
3041
|
}[];
|
|
@@ -3042,13 +3044,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3042
3044
|
recallReceiptId: string;
|
|
3043
3045
|
staleDecisionAbsent: boolean;
|
|
3044
3046
|
} | {
|
|
3045
|
-
kind: "mission_completed";
|
|
3046
3047
|
summary: string;
|
|
3048
|
+
kind: "mission_completed";
|
|
3047
3049
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3048
3050
|
evidence: {
|
|
3049
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3050
3051
|
id: string;
|
|
3051
3052
|
label: string;
|
|
3053
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3052
3054
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3053
3055
|
locator?: string | undefined;
|
|
3054
3056
|
}[];
|
|
@@ -3062,37 +3064,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3062
3064
|
objective: string;
|
|
3063
3065
|
runMode: "replay" | "fixture" | "live";
|
|
3064
3066
|
evidence?: {
|
|
3065
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3066
3067
|
id: string;
|
|
3067
3068
|
label: string;
|
|
3069
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3068
3070
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3069
3071
|
locator?: string | undefined;
|
|
3070
3072
|
}[] | undefined;
|
|
3071
3073
|
} | {
|
|
3074
|
+
label: string;
|
|
3075
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3072
3076
|
kind: "agent_status";
|
|
3073
3077
|
role: string;
|
|
3074
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3075
|
-
label: string;
|
|
3076
3078
|
agentId: string;
|
|
3077
3079
|
sessionId: string;
|
|
3078
3080
|
detail?: string | undefined;
|
|
3079
3081
|
evidence?: {
|
|
3080
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3081
3082
|
id: string;
|
|
3082
3083
|
label: string;
|
|
3084
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3083
3085
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3084
3086
|
locator?: string | undefined;
|
|
3085
3087
|
}[] | undefined;
|
|
3086
3088
|
} | {
|
|
3087
|
-
kind: "agent_output";
|
|
3088
3089
|
summary: string;
|
|
3090
|
+
kind: "agent_output";
|
|
3089
3091
|
agentId: string;
|
|
3090
3092
|
sessionId: string;
|
|
3091
3093
|
outputId: string;
|
|
3092
3094
|
evidence?: {
|
|
3093
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3094
3095
|
id: string;
|
|
3095
3096
|
label: string;
|
|
3097
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3096
3098
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3097
3099
|
locator?: string | undefined;
|
|
3098
3100
|
}[] | undefined;
|
|
@@ -3105,37 +3107,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3105
3107
|
decisionId: string;
|
|
3106
3108
|
confidence?: number | undefined;
|
|
3107
3109
|
evidence?: {
|
|
3108
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3109
3110
|
id: string;
|
|
3110
3111
|
label: string;
|
|
3112
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3111
3113
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3112
3114
|
locator?: string | undefined;
|
|
3113
3115
|
}[] | undefined;
|
|
3114
3116
|
} | {
|
|
3115
|
-
kind: "conflict_detected";
|
|
3116
3117
|
summary: string;
|
|
3118
|
+
kind: "conflict_detected";
|
|
3117
3119
|
conflictId: string;
|
|
3118
3120
|
decisionIds: string[];
|
|
3119
3121
|
agentIds: string[];
|
|
3120
3122
|
evidence?: {
|
|
3121
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3122
3123
|
id: string;
|
|
3123
3124
|
label: string;
|
|
3125
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3124
3126
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3125
3127
|
locator?: string | undefined;
|
|
3126
3128
|
}[] | undefined;
|
|
3127
3129
|
} | {
|
|
3128
|
-
kind: "test_result";
|
|
3129
3130
|
summary: string;
|
|
3130
|
-
command: string;
|
|
3131
3131
|
status: "error" | "failed" | "passed";
|
|
3132
|
+
kind: "test_result";
|
|
3133
|
+
command: string;
|
|
3132
3134
|
decisionId: string;
|
|
3133
3135
|
testId: string;
|
|
3134
3136
|
durationMs?: number | undefined;
|
|
3135
3137
|
evidence?: {
|
|
3136
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3137
3138
|
id: string;
|
|
3138
3139
|
label: string;
|
|
3140
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3139
3141
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3140
3142
|
locator?: string | undefined;
|
|
3141
3143
|
}[] | undefined;
|
|
@@ -3150,9 +3152,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3150
3152
|
supersedesDecisionIds: string[];
|
|
3151
3153
|
proposedBy: string;
|
|
3152
3154
|
evidence?: {
|
|
3153
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3154
3155
|
id: string;
|
|
3155
3156
|
label: string;
|
|
3157
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3156
3158
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3157
3159
|
locator?: string | undefined;
|
|
3158
3160
|
}[] | undefined;
|
|
@@ -3160,15 +3162,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3160
3162
|
kind: "correction_approved";
|
|
3161
3163
|
correctionId: string;
|
|
3162
3164
|
approvedBy: {
|
|
3163
|
-
kind: "agent" | "human";
|
|
3164
3165
|
id: string;
|
|
3165
3166
|
label: string;
|
|
3167
|
+
kind: "agent" | "human";
|
|
3166
3168
|
};
|
|
3167
3169
|
note?: string | undefined;
|
|
3168
3170
|
evidence?: {
|
|
3169
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3170
3171
|
id: string;
|
|
3171
3172
|
label: string;
|
|
3173
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3172
3174
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3173
3175
|
locator?: string | undefined;
|
|
3174
3176
|
}[] | undefined;
|
|
@@ -3178,9 +3180,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3178
3180
|
correctionId: string;
|
|
3179
3181
|
replacementDecisionId: string;
|
|
3180
3182
|
evidence?: {
|
|
3181
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3182
3183
|
id: string;
|
|
3183
3184
|
label: string;
|
|
3185
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3184
3186
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3185
3187
|
locator?: string | undefined;
|
|
3186
3188
|
}[] | undefined;
|
|
@@ -3193,9 +3195,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3193
3195
|
recallReceiptId: string;
|
|
3194
3196
|
capturedAtAction: boolean;
|
|
3195
3197
|
evidence?: {
|
|
3196
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3197
3198
|
id: string;
|
|
3198
3199
|
label: string;
|
|
3200
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3199
3201
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3200
3202
|
locator?: string | undefined;
|
|
3201
3203
|
}[] | undefined;
|
|
@@ -3208,20 +3210,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3208
3210
|
recallReceiptId: string;
|
|
3209
3211
|
staleDecisionAbsent: boolean;
|
|
3210
3212
|
evidence?: {
|
|
3211
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3212
3213
|
id: string;
|
|
3213
3214
|
label: string;
|
|
3215
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3214
3216
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3215
3217
|
locator?: string | undefined;
|
|
3216
3218
|
}[] | undefined;
|
|
3217
3219
|
} | {
|
|
3218
|
-
kind: "mission_completed";
|
|
3219
3220
|
summary: string;
|
|
3221
|
+
kind: "mission_completed";
|
|
3220
3222
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3221
3223
|
evidence?: {
|
|
3222
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3223
3224
|
id: string;
|
|
3224
3225
|
label: string;
|
|
3226
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3225
3227
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3226
3228
|
locator?: string | undefined;
|
|
3227
3229
|
}[] | undefined;
|
|
@@ -3251,15 +3253,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3251
3253
|
locator: z.ZodOptional<z.ZodString>;
|
|
3252
3254
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3253
3255
|
}, "strict", z.ZodTypeAny, {
|
|
3254
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3255
3256
|
id: string;
|
|
3256
3257
|
label: string;
|
|
3258
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3257
3259
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3258
3260
|
locator?: string | undefined;
|
|
3259
3261
|
}, {
|
|
3260
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3261
3262
|
id: string;
|
|
3262
3263
|
label: string;
|
|
3264
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3263
3265
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3264
3266
|
locator?: string | undefined;
|
|
3265
3267
|
}>, "many">>;
|
|
@@ -3267,9 +3269,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3267
3269
|
kind: "mission_started";
|
|
3268
3270
|
title: string;
|
|
3269
3271
|
evidence: {
|
|
3270
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3271
3272
|
id: string;
|
|
3272
3273
|
label: string;
|
|
3274
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3273
3275
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3274
3276
|
locator?: string | undefined;
|
|
3275
3277
|
}[];
|
|
@@ -3281,9 +3283,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3281
3283
|
objective: string;
|
|
3282
3284
|
runMode: "replay" | "fixture" | "live";
|
|
3283
3285
|
evidence?: {
|
|
3284
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3285
3286
|
id: string;
|
|
3286
3287
|
label: string;
|
|
3288
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3287
3289
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3288
3290
|
locator?: string | undefined;
|
|
3289
3291
|
}[] | undefined;
|
|
@@ -3299,15 +3301,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3299
3301
|
locator: z.ZodOptional<z.ZodString>;
|
|
3300
3302
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3301
3303
|
}, "strict", z.ZodTypeAny, {
|
|
3302
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3303
3304
|
id: string;
|
|
3304
3305
|
label: string;
|
|
3306
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3305
3307
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3306
3308
|
locator?: string | undefined;
|
|
3307
3309
|
}, {
|
|
3308
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3309
3310
|
id: string;
|
|
3310
3311
|
label: string;
|
|
3312
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3311
3313
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3312
3314
|
locator?: string | undefined;
|
|
3313
3315
|
}>, "many">>;
|
|
@@ -3315,32 +3317,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3315
3317
|
sessionId: z.ZodString;
|
|
3316
3318
|
kind: z.ZodLiteral<"agent_status">;
|
|
3317
3319
|
}, "strict", z.ZodTypeAny, {
|
|
3320
|
+
label: string;
|
|
3321
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3318
3322
|
kind: "agent_status";
|
|
3319
3323
|
role: string;
|
|
3320
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3321
|
-
label: string;
|
|
3322
3324
|
agentId: string;
|
|
3323
3325
|
sessionId: string;
|
|
3324
3326
|
evidence: {
|
|
3325
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3326
3327
|
id: string;
|
|
3327
3328
|
label: string;
|
|
3329
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3328
3330
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3329
3331
|
locator?: string | undefined;
|
|
3330
3332
|
}[];
|
|
3331
3333
|
detail?: string | undefined;
|
|
3332
3334
|
}, {
|
|
3335
|
+
label: string;
|
|
3336
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3333
3337
|
kind: "agent_status";
|
|
3334
3338
|
role: string;
|
|
3335
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3336
|
-
label: string;
|
|
3337
3339
|
agentId: string;
|
|
3338
3340
|
sessionId: string;
|
|
3339
3341
|
detail?: string | undefined;
|
|
3340
3342
|
evidence?: {
|
|
3341
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3342
3343
|
id: string;
|
|
3343
3344
|
label: string;
|
|
3345
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3344
3346
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3345
3347
|
locator?: string | undefined;
|
|
3346
3348
|
}[] | undefined;
|
|
@@ -3354,15 +3356,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3354
3356
|
locator: z.ZodOptional<z.ZodString>;
|
|
3355
3357
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3356
3358
|
}, "strict", z.ZodTypeAny, {
|
|
3357
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3358
3359
|
id: string;
|
|
3359
3360
|
label: string;
|
|
3361
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3360
3362
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3361
3363
|
locator?: string | undefined;
|
|
3362
3364
|
}, {
|
|
3363
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3364
3365
|
id: string;
|
|
3365
3366
|
label: string;
|
|
3367
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3366
3368
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3367
3369
|
locator?: string | undefined;
|
|
3368
3370
|
}>, "many">>;
|
|
@@ -3370,28 +3372,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3370
3372
|
sessionId: z.ZodString;
|
|
3371
3373
|
kind: z.ZodLiteral<"agent_output">;
|
|
3372
3374
|
}, "strict", z.ZodTypeAny, {
|
|
3373
|
-
kind: "agent_output";
|
|
3374
3375
|
summary: string;
|
|
3376
|
+
kind: "agent_output";
|
|
3375
3377
|
agentId: string;
|
|
3376
3378
|
sessionId: string;
|
|
3377
3379
|
evidence: {
|
|
3378
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3379
3380
|
id: string;
|
|
3380
3381
|
label: string;
|
|
3382
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3381
3383
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3382
3384
|
locator?: string | undefined;
|
|
3383
3385
|
}[];
|
|
3384
3386
|
outputId: string;
|
|
3385
3387
|
}, {
|
|
3386
|
-
kind: "agent_output";
|
|
3387
3388
|
summary: string;
|
|
3389
|
+
kind: "agent_output";
|
|
3388
3390
|
agentId: string;
|
|
3389
3391
|
sessionId: string;
|
|
3390
3392
|
outputId: string;
|
|
3391
3393
|
evidence?: {
|
|
3392
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3393
3394
|
id: string;
|
|
3394
3395
|
label: string;
|
|
3396
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3395
3397
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3396
3398
|
locator?: string | undefined;
|
|
3397
3399
|
}[] | undefined;
|
|
@@ -3407,15 +3409,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3407
3409
|
locator: z.ZodOptional<z.ZodString>;
|
|
3408
3410
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3409
3411
|
}, "strict", z.ZodTypeAny, {
|
|
3410
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3411
3412
|
id: string;
|
|
3412
3413
|
label: string;
|
|
3414
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3413
3415
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3414
3416
|
locator?: string | undefined;
|
|
3415
3417
|
}, {
|
|
3416
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3417
3418
|
id: string;
|
|
3418
3419
|
label: string;
|
|
3420
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3419
3421
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3420
3422
|
locator?: string | undefined;
|
|
3421
3423
|
}>, "many">>;
|
|
@@ -3428,9 +3430,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3428
3430
|
statement: string;
|
|
3429
3431
|
sessionId: string;
|
|
3430
3432
|
evidence: {
|
|
3431
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3432
3433
|
id: string;
|
|
3433
3434
|
label: string;
|
|
3435
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3434
3436
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3435
3437
|
locator?: string | undefined;
|
|
3436
3438
|
}[];
|
|
@@ -3446,9 +3448,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3446
3448
|
decisionId: string;
|
|
3447
3449
|
confidence?: number | undefined;
|
|
3448
3450
|
evidence?: {
|
|
3449
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3450
3451
|
id: string;
|
|
3451
3452
|
label: string;
|
|
3453
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3452
3454
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3453
3455
|
locator?: string | undefined;
|
|
3454
3456
|
}[] | undefined;
|
|
@@ -3465,25 +3467,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3465
3467
|
locator: z.ZodOptional<z.ZodString>;
|
|
3466
3468
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3467
3469
|
}, "strict", z.ZodTypeAny, {
|
|
3468
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3469
3470
|
id: string;
|
|
3470
3471
|
label: string;
|
|
3472
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3471
3473
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3472
3474
|
locator?: string | undefined;
|
|
3473
3475
|
}, {
|
|
3474
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3475
3476
|
id: string;
|
|
3476
3477
|
label: string;
|
|
3478
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3477
3479
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3478
3480
|
locator?: string | undefined;
|
|
3479
3481
|
}>, "many">>;
|
|
3480
3482
|
}, "strict", z.ZodTypeAny, {
|
|
3481
|
-
kind: "conflict_detected";
|
|
3482
3483
|
summary: string;
|
|
3484
|
+
kind: "conflict_detected";
|
|
3483
3485
|
evidence: {
|
|
3484
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3485
3486
|
id: string;
|
|
3486
3487
|
label: string;
|
|
3488
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3487
3489
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3488
3490
|
locator?: string | undefined;
|
|
3489
3491
|
}[];
|
|
@@ -3491,15 +3493,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3491
3493
|
decisionIds: string[];
|
|
3492
3494
|
agentIds: string[];
|
|
3493
3495
|
}, {
|
|
3494
|
-
kind: "conflict_detected";
|
|
3495
3496
|
summary: string;
|
|
3497
|
+
kind: "conflict_detected";
|
|
3496
3498
|
conflictId: string;
|
|
3497
3499
|
decisionIds: string[];
|
|
3498
3500
|
agentIds: string[];
|
|
3499
3501
|
evidence?: {
|
|
3500
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3501
3502
|
id: string;
|
|
3502
3503
|
label: string;
|
|
3504
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3503
3505
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3504
3506
|
locator?: string | undefined;
|
|
3505
3507
|
}[] | undefined;
|
|
@@ -3519,27 +3521,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3519
3521
|
locator: z.ZodOptional<z.ZodString>;
|
|
3520
3522
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3521
3523
|
}, "strict", z.ZodTypeAny, {
|
|
3522
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3523
3524
|
id: string;
|
|
3524
3525
|
label: string;
|
|
3526
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3525
3527
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3526
3528
|
locator?: string | undefined;
|
|
3527
3529
|
}, {
|
|
3528
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3529
3530
|
id: string;
|
|
3530
3531
|
label: string;
|
|
3532
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3531
3533
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3532
3534
|
locator?: string | undefined;
|
|
3533
3535
|
}>, "many">>;
|
|
3534
3536
|
}, "strict", z.ZodTypeAny, {
|
|
3535
|
-
kind: "test_result";
|
|
3536
3537
|
summary: string;
|
|
3537
|
-
command: string;
|
|
3538
3538
|
status: "error" | "failed" | "passed";
|
|
3539
|
+
kind: "test_result";
|
|
3540
|
+
command: string;
|
|
3539
3541
|
evidence: {
|
|
3540
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3541
3542
|
id: string;
|
|
3542
3543
|
label: string;
|
|
3544
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3543
3545
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3544
3546
|
locator?: string | undefined;
|
|
3545
3547
|
}[];
|
|
@@ -3548,17 +3550,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3548
3550
|
durationMs?: number | undefined;
|
|
3549
3551
|
correctionId?: string | undefined;
|
|
3550
3552
|
}, {
|
|
3551
|
-
kind: "test_result";
|
|
3552
3553
|
summary: string;
|
|
3553
|
-
command: string;
|
|
3554
3554
|
status: "error" | "failed" | "passed";
|
|
3555
|
+
kind: "test_result";
|
|
3556
|
+
command: string;
|
|
3555
3557
|
decisionId: string;
|
|
3556
3558
|
testId: string;
|
|
3557
3559
|
durationMs?: number | undefined;
|
|
3558
3560
|
evidence?: {
|
|
3559
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3560
3561
|
id: string;
|
|
3561
3562
|
label: string;
|
|
3563
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3562
3564
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3563
3565
|
locator?: string | undefined;
|
|
3564
3566
|
}[] | undefined;
|
|
@@ -3579,15 +3581,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3579
3581
|
locator: z.ZodOptional<z.ZodString>;
|
|
3580
3582
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3581
3583
|
}, "strict", z.ZodTypeAny, {
|
|
3582
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3583
3584
|
id: string;
|
|
3584
3585
|
label: string;
|
|
3586
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3585
3587
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3586
3588
|
locator?: string | undefined;
|
|
3587
3589
|
}, {
|
|
3588
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3589
3590
|
id: string;
|
|
3590
3591
|
label: string;
|
|
3592
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3591
3593
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3592
3594
|
locator?: string | undefined;
|
|
3593
3595
|
}>, "many">>;
|
|
@@ -3596,9 +3598,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3596
3598
|
rationale: string;
|
|
3597
3599
|
statement: string;
|
|
3598
3600
|
evidence: {
|
|
3599
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3600
3601
|
id: string;
|
|
3601
3602
|
label: string;
|
|
3603
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3602
3604
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3603
3605
|
locator?: string | undefined;
|
|
3604
3606
|
}[];
|
|
@@ -3617,9 +3619,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3617
3619
|
supersedesDecisionIds: string[];
|
|
3618
3620
|
proposedBy: string;
|
|
3619
3621
|
evidence?: {
|
|
3620
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3621
3622
|
id: string;
|
|
3622
3623
|
label: string;
|
|
3624
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3623
3625
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3624
3626
|
locator?: string | undefined;
|
|
3625
3627
|
}[] | undefined;
|
|
@@ -3631,13 +3633,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3631
3633
|
id: z.ZodString;
|
|
3632
3634
|
label: z.ZodString;
|
|
3633
3635
|
}, "strict", z.ZodTypeAny, {
|
|
3634
|
-
kind: "agent" | "human";
|
|
3635
3636
|
id: string;
|
|
3636
3637
|
label: string;
|
|
3637
|
-
}, {
|
|
3638
3638
|
kind: "agent" | "human";
|
|
3639
|
+
}, {
|
|
3639
3640
|
id: string;
|
|
3640
3641
|
label: string;
|
|
3642
|
+
kind: "agent" | "human";
|
|
3641
3643
|
}>;
|
|
3642
3644
|
note: z.ZodOptional<z.ZodString>;
|
|
3643
3645
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3647,47 +3649,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3647
3649
|
locator: z.ZodOptional<z.ZodString>;
|
|
3648
3650
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3649
3651
|
}, "strict", z.ZodTypeAny, {
|
|
3650
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3651
3652
|
id: string;
|
|
3652
3653
|
label: string;
|
|
3654
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3653
3655
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3654
3656
|
locator?: string | undefined;
|
|
3655
3657
|
}, {
|
|
3656
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3657
3658
|
id: string;
|
|
3658
3659
|
label: string;
|
|
3660
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3659
3661
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3660
3662
|
locator?: string | undefined;
|
|
3661
3663
|
}>, "many">>;
|
|
3662
3664
|
}, "strict", z.ZodTypeAny, {
|
|
3663
3665
|
kind: "correction_approved";
|
|
3664
3666
|
evidence: {
|
|
3665
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3666
3667
|
id: string;
|
|
3667
3668
|
label: string;
|
|
3669
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3668
3670
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3669
3671
|
locator?: string | undefined;
|
|
3670
3672
|
}[];
|
|
3671
3673
|
correctionId: string;
|
|
3672
3674
|
approvedBy: {
|
|
3673
|
-
kind: "agent" | "human";
|
|
3674
3675
|
id: string;
|
|
3675
3676
|
label: string;
|
|
3677
|
+
kind: "agent" | "human";
|
|
3676
3678
|
};
|
|
3677
3679
|
note?: string | undefined;
|
|
3678
3680
|
}, {
|
|
3679
3681
|
kind: "correction_approved";
|
|
3680
3682
|
correctionId: string;
|
|
3681
3683
|
approvedBy: {
|
|
3682
|
-
kind: "agent" | "human";
|
|
3683
3684
|
id: string;
|
|
3684
3685
|
label: string;
|
|
3686
|
+
kind: "agent" | "human";
|
|
3685
3687
|
};
|
|
3686
3688
|
note?: string | undefined;
|
|
3687
3689
|
evidence?: {
|
|
3688
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3689
3690
|
id: string;
|
|
3690
3691
|
label: string;
|
|
3692
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3691
3693
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3692
3694
|
locator?: string | undefined;
|
|
3693
3695
|
}[] | undefined;
|
|
@@ -3703,24 +3705,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3703
3705
|
locator: z.ZodOptional<z.ZodString>;
|
|
3704
3706
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3705
3707
|
}, "strict", z.ZodTypeAny, {
|
|
3706
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3707
3708
|
id: string;
|
|
3708
3709
|
label: string;
|
|
3710
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3709
3711
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3710
3712
|
locator?: string | undefined;
|
|
3711
3713
|
}, {
|
|
3712
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3713
3714
|
id: string;
|
|
3714
3715
|
label: string;
|
|
3716
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3715
3717
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3716
3718
|
locator?: string | undefined;
|
|
3717
3719
|
}>, "many">>;
|
|
3718
3720
|
}, "strict", z.ZodTypeAny, {
|
|
3719
3721
|
kind: "decision_superseded";
|
|
3720
3722
|
evidence: {
|
|
3721
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3722
3723
|
id: string;
|
|
3723
3724
|
label: string;
|
|
3725
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3724
3726
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3725
3727
|
locator?: string | undefined;
|
|
3726
3728
|
}[];
|
|
@@ -3733,9 +3735,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3733
3735
|
correctionId: string;
|
|
3734
3736
|
replacementDecisionId: string;
|
|
3735
3737
|
evidence?: {
|
|
3736
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3737
3738
|
id: string;
|
|
3738
3739
|
label: string;
|
|
3740
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3739
3741
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3740
3742
|
locator?: string | undefined;
|
|
3741
3743
|
}[] | undefined;
|
|
@@ -3751,15 +3753,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3751
3753
|
locator: z.ZodOptional<z.ZodString>;
|
|
3752
3754
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3753
3755
|
}, "strict", z.ZodTypeAny, {
|
|
3754
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3755
3756
|
id: string;
|
|
3756
3757
|
label: string;
|
|
3758
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3757
3759
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3758
3760
|
locator?: string | undefined;
|
|
3759
3761
|
}, {
|
|
3760
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3761
3762
|
id: string;
|
|
3762
3763
|
label: string;
|
|
3764
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3763
3765
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3764
3766
|
locator?: string | undefined;
|
|
3765
3767
|
}>, "many">>;
|
|
@@ -3772,9 +3774,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3772
3774
|
agentId: string;
|
|
3773
3775
|
sessionId: string;
|
|
3774
3776
|
evidence: {
|
|
3775
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3776
3777
|
id: string;
|
|
3777
3778
|
label: string;
|
|
3779
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3778
3780
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3779
3781
|
locator?: string | undefined;
|
|
3780
3782
|
}[];
|
|
@@ -3790,9 +3792,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3790
3792
|
recallReceiptId: string;
|
|
3791
3793
|
capturedAtAction: boolean;
|
|
3792
3794
|
evidence?: {
|
|
3793
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3794
3795
|
id: string;
|
|
3795
3796
|
label: string;
|
|
3797
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3796
3798
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3797
3799
|
locator?: string | undefined;
|
|
3798
3800
|
}[] | undefined;
|
|
@@ -3808,15 +3810,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3808
3810
|
locator: z.ZodOptional<z.ZodString>;
|
|
3809
3811
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3810
3812
|
}, "strict", z.ZodTypeAny, {
|
|
3811
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3812
3813
|
id: string;
|
|
3813
3814
|
label: string;
|
|
3815
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3814
3816
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3815
3817
|
locator?: string | undefined;
|
|
3816
3818
|
}, {
|
|
3817
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3818
3819
|
id: string;
|
|
3819
3820
|
label: string;
|
|
3821
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3820
3822
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3821
3823
|
locator?: string | undefined;
|
|
3822
3824
|
}>, "many">>;
|
|
@@ -3828,9 +3830,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3828
3830
|
agentId: string;
|
|
3829
3831
|
sessionId: string;
|
|
3830
3832
|
evidence: {
|
|
3831
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3832
3833
|
id: string;
|
|
3833
3834
|
label: string;
|
|
3835
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3834
3836
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3835
3837
|
locator?: string | undefined;
|
|
3836
3838
|
}[];
|
|
@@ -3847,9 +3849,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3847
3849
|
recallReceiptId: string;
|
|
3848
3850
|
staleDecisionAbsent: boolean;
|
|
3849
3851
|
evidence?: {
|
|
3850
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3851
3852
|
id: string;
|
|
3852
3853
|
label: string;
|
|
3854
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3853
3855
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3854
3856
|
locator?: string | undefined;
|
|
3855
3857
|
}[] | undefined;
|
|
@@ -3864,37 +3866,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3864
3866
|
locator: z.ZodOptional<z.ZodString>;
|
|
3865
3867
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3866
3868
|
}, "strict", z.ZodTypeAny, {
|
|
3867
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3868
3869
|
id: string;
|
|
3869
3870
|
label: string;
|
|
3871
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3870
3872
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3871
3873
|
locator?: string | undefined;
|
|
3872
3874
|
}, {
|
|
3873
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3874
3875
|
id: string;
|
|
3875
3876
|
label: string;
|
|
3877
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3876
3878
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3877
3879
|
locator?: string | undefined;
|
|
3878
3880
|
}>, "many">>;
|
|
3879
3881
|
}, "strict", z.ZodTypeAny, {
|
|
3880
|
-
kind: "mission_completed";
|
|
3881
3882
|
summary: string;
|
|
3883
|
+
kind: "mission_completed";
|
|
3882
3884
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3883
3885
|
evidence: {
|
|
3884
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3885
3886
|
id: string;
|
|
3886
3887
|
label: string;
|
|
3888
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3887
3889
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3888
3890
|
locator?: string | undefined;
|
|
3889
3891
|
}[];
|
|
3890
3892
|
}, {
|
|
3891
|
-
kind: "mission_completed";
|
|
3892
3893
|
summary: string;
|
|
3894
|
+
kind: "mission_completed";
|
|
3893
3895
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3894
3896
|
evidence?: {
|
|
3895
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3896
3897
|
id: string;
|
|
3897
3898
|
label: string;
|
|
3899
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3898
3900
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3899
3901
|
locator?: string | undefined;
|
|
3900
3902
|
}[] | undefined;
|
|
@@ -3902,38 +3904,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3902
3904
|
kind: "mission_started";
|
|
3903
3905
|
title: string;
|
|
3904
3906
|
evidence: {
|
|
3905
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3906
3907
|
id: string;
|
|
3907
3908
|
label: string;
|
|
3909
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3908
3910
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3909
3911
|
locator?: string | undefined;
|
|
3910
3912
|
}[];
|
|
3911
3913
|
objective: string;
|
|
3912
3914
|
runMode: "replay" | "fixture" | "live";
|
|
3913
3915
|
} | {
|
|
3916
|
+
label: string;
|
|
3917
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3914
3918
|
kind: "agent_status";
|
|
3915
3919
|
role: string;
|
|
3916
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3917
|
-
label: string;
|
|
3918
3920
|
agentId: string;
|
|
3919
3921
|
sessionId: string;
|
|
3920
3922
|
evidence: {
|
|
3921
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3922
3923
|
id: string;
|
|
3923
3924
|
label: string;
|
|
3925
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3924
3926
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3925
3927
|
locator?: string | undefined;
|
|
3926
3928
|
}[];
|
|
3927
3929
|
detail?: string | undefined;
|
|
3928
3930
|
} | {
|
|
3929
|
-
kind: "agent_output";
|
|
3930
3931
|
summary: string;
|
|
3932
|
+
kind: "agent_output";
|
|
3931
3933
|
agentId: string;
|
|
3932
3934
|
sessionId: string;
|
|
3933
3935
|
evidence: {
|
|
3934
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3935
3936
|
id: string;
|
|
3936
3937
|
label: string;
|
|
3938
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3937
3939
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3938
3940
|
locator?: string | undefined;
|
|
3939
3941
|
}[];
|
|
@@ -3944,9 +3946,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3944
3946
|
statement: string;
|
|
3945
3947
|
sessionId: string;
|
|
3946
3948
|
evidence: {
|
|
3947
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3948
3949
|
id: string;
|
|
3949
3950
|
label: string;
|
|
3951
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3950
3952
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3951
3953
|
locator?: string | undefined;
|
|
3952
3954
|
}[];
|
|
@@ -3954,12 +3956,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3954
3956
|
decisionId: string;
|
|
3955
3957
|
confidence?: number | undefined;
|
|
3956
3958
|
} | {
|
|
3957
|
-
kind: "conflict_detected";
|
|
3958
3959
|
summary: string;
|
|
3960
|
+
kind: "conflict_detected";
|
|
3959
3961
|
evidence: {
|
|
3960
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3961
3962
|
id: string;
|
|
3962
3963
|
label: string;
|
|
3964
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3963
3965
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3964
3966
|
locator?: string | undefined;
|
|
3965
3967
|
}[];
|
|
@@ -3967,14 +3969,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3967
3969
|
decisionIds: string[];
|
|
3968
3970
|
agentIds: string[];
|
|
3969
3971
|
} | {
|
|
3970
|
-
kind: "test_result";
|
|
3971
3972
|
summary: string;
|
|
3972
|
-
command: string;
|
|
3973
3973
|
status: "error" | "failed" | "passed";
|
|
3974
|
+
kind: "test_result";
|
|
3975
|
+
command: string;
|
|
3974
3976
|
evidence: {
|
|
3975
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3976
3977
|
id: string;
|
|
3977
3978
|
label: string;
|
|
3979
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3978
3980
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3979
3981
|
locator?: string | undefined;
|
|
3980
3982
|
}[];
|
|
@@ -3987,9 +3989,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3987
3989
|
rationale: string;
|
|
3988
3990
|
statement: string;
|
|
3989
3991
|
evidence: {
|
|
3990
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3991
3992
|
id: string;
|
|
3992
3993
|
label: string;
|
|
3994
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3993
3995
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3994
3996
|
locator?: string | undefined;
|
|
3995
3997
|
}[];
|
|
@@ -4001,25 +4003,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4001
4003
|
} | {
|
|
4002
4004
|
kind: "correction_approved";
|
|
4003
4005
|
evidence: {
|
|
4004
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4005
4006
|
id: string;
|
|
4006
4007
|
label: string;
|
|
4008
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4007
4009
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4008
4010
|
locator?: string | undefined;
|
|
4009
4011
|
}[];
|
|
4010
4012
|
correctionId: string;
|
|
4011
4013
|
approvedBy: {
|
|
4012
|
-
kind: "agent" | "human";
|
|
4013
4014
|
id: string;
|
|
4014
4015
|
label: string;
|
|
4016
|
+
kind: "agent" | "human";
|
|
4015
4017
|
};
|
|
4016
4018
|
note?: string | undefined;
|
|
4017
4019
|
} | {
|
|
4018
4020
|
kind: "decision_superseded";
|
|
4019
4021
|
evidence: {
|
|
4020
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4021
4022
|
id: string;
|
|
4022
4023
|
label: string;
|
|
4024
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4023
4025
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4024
4026
|
locator?: string | undefined;
|
|
4025
4027
|
}[];
|
|
@@ -4032,9 +4034,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4032
4034
|
agentId: string;
|
|
4033
4035
|
sessionId: string;
|
|
4034
4036
|
evidence: {
|
|
4035
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4036
4037
|
id: string;
|
|
4037
4038
|
label: string;
|
|
4039
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4038
4040
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4039
4041
|
locator?: string | undefined;
|
|
4040
4042
|
}[];
|
|
@@ -4046,9 +4048,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4046
4048
|
agentId: string;
|
|
4047
4049
|
sessionId: string;
|
|
4048
4050
|
evidence: {
|
|
4049
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4050
4051
|
id: string;
|
|
4051
4052
|
label: string;
|
|
4053
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4052
4054
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4053
4055
|
locator?: string | undefined;
|
|
4054
4056
|
}[];
|
|
@@ -4057,13 +4059,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4057
4059
|
recallReceiptId: string;
|
|
4058
4060
|
staleDecisionAbsent: boolean;
|
|
4059
4061
|
} | {
|
|
4060
|
-
kind: "mission_completed";
|
|
4061
4062
|
summary: string;
|
|
4063
|
+
kind: "mission_completed";
|
|
4062
4064
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4063
4065
|
evidence: {
|
|
4064
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4065
4066
|
id: string;
|
|
4066
4067
|
label: string;
|
|
4068
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4067
4069
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4068
4070
|
locator?: string | undefined;
|
|
4069
4071
|
}[];
|
|
@@ -4073,37 +4075,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4073
4075
|
objective: string;
|
|
4074
4076
|
runMode: "replay" | "fixture" | "live";
|
|
4075
4077
|
evidence?: {
|
|
4076
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4077
4078
|
id: string;
|
|
4078
4079
|
label: string;
|
|
4080
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4079
4081
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4080
4082
|
locator?: string | undefined;
|
|
4081
4083
|
}[] | undefined;
|
|
4082
4084
|
} | {
|
|
4085
|
+
label: string;
|
|
4086
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4083
4087
|
kind: "agent_status";
|
|
4084
4088
|
role: string;
|
|
4085
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4086
|
-
label: string;
|
|
4087
4089
|
agentId: string;
|
|
4088
4090
|
sessionId: string;
|
|
4089
4091
|
detail?: string | undefined;
|
|
4090
4092
|
evidence?: {
|
|
4091
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4092
4093
|
id: string;
|
|
4093
4094
|
label: string;
|
|
4095
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4094
4096
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4095
4097
|
locator?: string | undefined;
|
|
4096
4098
|
}[] | undefined;
|
|
4097
4099
|
} | {
|
|
4098
|
-
kind: "agent_output";
|
|
4099
4100
|
summary: string;
|
|
4101
|
+
kind: "agent_output";
|
|
4100
4102
|
agentId: string;
|
|
4101
4103
|
sessionId: string;
|
|
4102
4104
|
outputId: string;
|
|
4103
4105
|
evidence?: {
|
|
4104
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4105
4106
|
id: string;
|
|
4106
4107
|
label: string;
|
|
4108
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4107
4109
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4108
4110
|
locator?: string | undefined;
|
|
4109
4111
|
}[] | undefined;
|
|
@@ -4116,37 +4118,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4116
4118
|
decisionId: string;
|
|
4117
4119
|
confidence?: number | undefined;
|
|
4118
4120
|
evidence?: {
|
|
4119
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4120
4121
|
id: string;
|
|
4121
4122
|
label: string;
|
|
4123
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4122
4124
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4123
4125
|
locator?: string | undefined;
|
|
4124
4126
|
}[] | undefined;
|
|
4125
4127
|
} | {
|
|
4126
|
-
kind: "conflict_detected";
|
|
4127
4128
|
summary: string;
|
|
4129
|
+
kind: "conflict_detected";
|
|
4128
4130
|
conflictId: string;
|
|
4129
4131
|
decisionIds: string[];
|
|
4130
4132
|
agentIds: string[];
|
|
4131
4133
|
evidence?: {
|
|
4132
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4133
4134
|
id: string;
|
|
4134
4135
|
label: string;
|
|
4136
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4135
4137
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4136
4138
|
locator?: string | undefined;
|
|
4137
4139
|
}[] | undefined;
|
|
4138
4140
|
} | {
|
|
4139
|
-
kind: "test_result";
|
|
4140
4141
|
summary: string;
|
|
4141
|
-
command: string;
|
|
4142
4142
|
status: "error" | "failed" | "passed";
|
|
4143
|
+
kind: "test_result";
|
|
4144
|
+
command: string;
|
|
4143
4145
|
decisionId: string;
|
|
4144
4146
|
testId: string;
|
|
4145
4147
|
durationMs?: number | undefined;
|
|
4146
4148
|
evidence?: {
|
|
4147
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4148
4149
|
id: string;
|
|
4149
4150
|
label: string;
|
|
4151
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4150
4152
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4151
4153
|
locator?: string | undefined;
|
|
4152
4154
|
}[] | undefined;
|
|
@@ -4161,9 +4163,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4161
4163
|
supersedesDecisionIds: string[];
|
|
4162
4164
|
proposedBy: string;
|
|
4163
4165
|
evidence?: {
|
|
4164
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4165
4166
|
id: string;
|
|
4166
4167
|
label: string;
|
|
4168
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4167
4169
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4168
4170
|
locator?: string | undefined;
|
|
4169
4171
|
}[] | undefined;
|
|
@@ -4171,15 +4173,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4171
4173
|
kind: "correction_approved";
|
|
4172
4174
|
correctionId: string;
|
|
4173
4175
|
approvedBy: {
|
|
4174
|
-
kind: "agent" | "human";
|
|
4175
4176
|
id: string;
|
|
4176
4177
|
label: string;
|
|
4178
|
+
kind: "agent" | "human";
|
|
4177
4179
|
};
|
|
4178
4180
|
note?: string | undefined;
|
|
4179
4181
|
evidence?: {
|
|
4180
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4181
4182
|
id: string;
|
|
4182
4183
|
label: string;
|
|
4184
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4183
4185
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4184
4186
|
locator?: string | undefined;
|
|
4185
4187
|
}[] | undefined;
|
|
@@ -4189,9 +4191,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4189
4191
|
correctionId: string;
|
|
4190
4192
|
replacementDecisionId: string;
|
|
4191
4193
|
evidence?: {
|
|
4192
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4193
4194
|
id: string;
|
|
4194
4195
|
label: string;
|
|
4196
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4195
4197
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4196
4198
|
locator?: string | undefined;
|
|
4197
4199
|
}[] | undefined;
|
|
@@ -4204,9 +4206,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4204
4206
|
recallReceiptId: string;
|
|
4205
4207
|
capturedAtAction: boolean;
|
|
4206
4208
|
evidence?: {
|
|
4207
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4208
4209
|
id: string;
|
|
4209
4210
|
label: string;
|
|
4211
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4210
4212
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4211
4213
|
locator?: string | undefined;
|
|
4212
4214
|
}[] | undefined;
|
|
@@ -4219,63 +4221,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4219
4221
|
recallReceiptId: string;
|
|
4220
4222
|
staleDecisionAbsent: boolean;
|
|
4221
4223
|
evidence?: {
|
|
4222
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4223
4224
|
id: string;
|
|
4224
4225
|
label: string;
|
|
4226
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4225
4227
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4226
4228
|
locator?: string | undefined;
|
|
4227
4229
|
}[] | undefined;
|
|
4228
4230
|
} | {
|
|
4229
|
-
kind: "mission_completed";
|
|
4230
4231
|
summary: string;
|
|
4232
|
+
kind: "mission_completed";
|
|
4231
4233
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4232
4234
|
evidence?: {
|
|
4233
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4234
4235
|
id: string;
|
|
4235
4236
|
label: string;
|
|
4237
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4236
4238
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4237
4239
|
locator?: string | undefined;
|
|
4238
4240
|
}[] | undefined;
|
|
4239
4241
|
}>;
|
|
4240
4242
|
}, "strict", z.ZodTypeAny, {
|
|
4241
|
-
|
|
4243
|
+
namespace: string;
|
|
4242
4244
|
recordedAt: string;
|
|
4245
|
+
schemaVersion: "1";
|
|
4243
4246
|
payload: {
|
|
4244
4247
|
kind: "mission_started";
|
|
4245
4248
|
title: string;
|
|
4246
4249
|
evidence: {
|
|
4247
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4248
4250
|
id: string;
|
|
4249
4251
|
label: string;
|
|
4252
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4250
4253
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4251
4254
|
locator?: string | undefined;
|
|
4252
4255
|
}[];
|
|
4253
4256
|
objective: string;
|
|
4254
4257
|
runMode: "replay" | "fixture" | "live";
|
|
4255
4258
|
} | {
|
|
4259
|
+
label: string;
|
|
4260
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4256
4261
|
kind: "agent_status";
|
|
4257
4262
|
role: string;
|
|
4258
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4259
|
-
label: string;
|
|
4260
4263
|
agentId: string;
|
|
4261
4264
|
sessionId: string;
|
|
4262
4265
|
evidence: {
|
|
4263
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4264
4266
|
id: string;
|
|
4265
4267
|
label: string;
|
|
4268
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4266
4269
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4267
4270
|
locator?: string | undefined;
|
|
4268
4271
|
}[];
|
|
4269
4272
|
detail?: string | undefined;
|
|
4270
4273
|
} | {
|
|
4271
|
-
kind: "agent_output";
|
|
4272
4274
|
summary: string;
|
|
4275
|
+
kind: "agent_output";
|
|
4273
4276
|
agentId: string;
|
|
4274
4277
|
sessionId: string;
|
|
4275
4278
|
evidence: {
|
|
4276
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4277
4279
|
id: string;
|
|
4278
4280
|
label: string;
|
|
4281
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4279
4282
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4280
4283
|
locator?: string | undefined;
|
|
4281
4284
|
}[];
|
|
@@ -4286,9 +4289,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4286
4289
|
statement: string;
|
|
4287
4290
|
sessionId: string;
|
|
4288
4291
|
evidence: {
|
|
4289
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4290
4292
|
id: string;
|
|
4291
4293
|
label: string;
|
|
4294
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4292
4295
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4293
4296
|
locator?: string | undefined;
|
|
4294
4297
|
}[];
|
|
@@ -4296,12 +4299,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4296
4299
|
decisionId: string;
|
|
4297
4300
|
confidence?: number | undefined;
|
|
4298
4301
|
} | {
|
|
4299
|
-
kind: "conflict_detected";
|
|
4300
4302
|
summary: string;
|
|
4303
|
+
kind: "conflict_detected";
|
|
4301
4304
|
evidence: {
|
|
4302
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4303
4305
|
id: string;
|
|
4304
4306
|
label: string;
|
|
4307
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4305
4308
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4306
4309
|
locator?: string | undefined;
|
|
4307
4310
|
}[];
|
|
@@ -4309,14 +4312,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4309
4312
|
decisionIds: string[];
|
|
4310
4313
|
agentIds: string[];
|
|
4311
4314
|
} | {
|
|
4312
|
-
kind: "test_result";
|
|
4313
4315
|
summary: string;
|
|
4314
|
-
command: string;
|
|
4315
4316
|
status: "error" | "failed" | "passed";
|
|
4317
|
+
kind: "test_result";
|
|
4318
|
+
command: string;
|
|
4316
4319
|
evidence: {
|
|
4317
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4318
4320
|
id: string;
|
|
4319
4321
|
label: string;
|
|
4322
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4320
4323
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4321
4324
|
locator?: string | undefined;
|
|
4322
4325
|
}[];
|
|
@@ -4329,9 +4332,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4329
4332
|
rationale: string;
|
|
4330
4333
|
statement: string;
|
|
4331
4334
|
evidence: {
|
|
4332
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4333
4335
|
id: string;
|
|
4334
4336
|
label: string;
|
|
4337
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4335
4338
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4336
4339
|
locator?: string | undefined;
|
|
4337
4340
|
}[];
|
|
@@ -4343,25 +4346,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4343
4346
|
} | {
|
|
4344
4347
|
kind: "correction_approved";
|
|
4345
4348
|
evidence: {
|
|
4346
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4347
4349
|
id: string;
|
|
4348
4350
|
label: string;
|
|
4351
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4349
4352
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4350
4353
|
locator?: string | undefined;
|
|
4351
4354
|
}[];
|
|
4352
4355
|
correctionId: string;
|
|
4353
4356
|
approvedBy: {
|
|
4354
|
-
kind: "agent" | "human";
|
|
4355
4357
|
id: string;
|
|
4356
4358
|
label: string;
|
|
4359
|
+
kind: "agent" | "human";
|
|
4357
4360
|
};
|
|
4358
4361
|
note?: string | undefined;
|
|
4359
4362
|
} | {
|
|
4360
4363
|
kind: "decision_superseded";
|
|
4361
4364
|
evidence: {
|
|
4362
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4363
4365
|
id: string;
|
|
4364
4366
|
label: string;
|
|
4367
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4365
4368
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4366
4369
|
locator?: string | undefined;
|
|
4367
4370
|
}[];
|
|
@@ -4374,9 +4377,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4374
4377
|
agentId: string;
|
|
4375
4378
|
sessionId: string;
|
|
4376
4379
|
evidence: {
|
|
4377
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4378
4380
|
id: string;
|
|
4379
4381
|
label: string;
|
|
4382
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4380
4383
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4381
4384
|
locator?: string | undefined;
|
|
4382
4385
|
}[];
|
|
@@ -4388,9 +4391,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4388
4391
|
agentId: string;
|
|
4389
4392
|
sessionId: string;
|
|
4390
4393
|
evidence: {
|
|
4391
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4392
4394
|
id: string;
|
|
4393
4395
|
label: string;
|
|
4396
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4394
4397
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4395
4398
|
locator?: string | undefined;
|
|
4396
4399
|
}[];
|
|
@@ -4399,63 +4402,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4399
4402
|
recallReceiptId: string;
|
|
4400
4403
|
staleDecisionAbsent: boolean;
|
|
4401
4404
|
} | {
|
|
4402
|
-
kind: "mission_completed";
|
|
4403
4405
|
summary: string;
|
|
4406
|
+
kind: "mission_completed";
|
|
4404
4407
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4405
4408
|
evidence: {
|
|
4406
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4407
4409
|
id: string;
|
|
4408
4410
|
label: string;
|
|
4411
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4409
4412
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4410
4413
|
locator?: string | undefined;
|
|
4411
4414
|
}[];
|
|
4412
4415
|
};
|
|
4413
|
-
namespace: string;
|
|
4414
4416
|
eventId: string;
|
|
4415
4417
|
occurredAt: string;
|
|
4416
4418
|
missionId: string;
|
|
4417
4419
|
authenticatedPrincipal?: string | undefined;
|
|
4418
4420
|
idempotencyKey?: string | undefined;
|
|
4419
4421
|
}, {
|
|
4420
|
-
|
|
4422
|
+
namespace: string;
|
|
4421
4423
|
recordedAt: string;
|
|
4424
|
+
schemaVersion: "1";
|
|
4422
4425
|
payload: {
|
|
4423
4426
|
kind: "mission_started";
|
|
4424
4427
|
title: string;
|
|
4425
4428
|
objective: string;
|
|
4426
4429
|
runMode: "replay" | "fixture" | "live";
|
|
4427
4430
|
evidence?: {
|
|
4428
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4429
4431
|
id: string;
|
|
4430
4432
|
label: string;
|
|
4433
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4431
4434
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4432
4435
|
locator?: string | undefined;
|
|
4433
4436
|
}[] | undefined;
|
|
4434
4437
|
} | {
|
|
4438
|
+
label: string;
|
|
4439
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4435
4440
|
kind: "agent_status";
|
|
4436
4441
|
role: string;
|
|
4437
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4438
|
-
label: string;
|
|
4439
4442
|
agentId: string;
|
|
4440
4443
|
sessionId: string;
|
|
4441
4444
|
detail?: string | undefined;
|
|
4442
4445
|
evidence?: {
|
|
4443
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4444
4446
|
id: string;
|
|
4445
4447
|
label: string;
|
|
4448
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4446
4449
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4447
4450
|
locator?: string | undefined;
|
|
4448
4451
|
}[] | undefined;
|
|
4449
4452
|
} | {
|
|
4450
|
-
kind: "agent_output";
|
|
4451
4453
|
summary: string;
|
|
4454
|
+
kind: "agent_output";
|
|
4452
4455
|
agentId: string;
|
|
4453
4456
|
sessionId: string;
|
|
4454
4457
|
outputId: string;
|
|
4455
4458
|
evidence?: {
|
|
4456
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4457
4459
|
id: string;
|
|
4458
4460
|
label: string;
|
|
4461
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4459
4462
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4460
4463
|
locator?: string | undefined;
|
|
4461
4464
|
}[] | undefined;
|
|
@@ -4468,37 +4471,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4468
4471
|
decisionId: string;
|
|
4469
4472
|
confidence?: number | undefined;
|
|
4470
4473
|
evidence?: {
|
|
4471
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4472
4474
|
id: string;
|
|
4473
4475
|
label: string;
|
|
4476
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4474
4477
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4475
4478
|
locator?: string | undefined;
|
|
4476
4479
|
}[] | undefined;
|
|
4477
4480
|
} | {
|
|
4478
|
-
kind: "conflict_detected";
|
|
4479
4481
|
summary: string;
|
|
4482
|
+
kind: "conflict_detected";
|
|
4480
4483
|
conflictId: string;
|
|
4481
4484
|
decisionIds: string[];
|
|
4482
4485
|
agentIds: string[];
|
|
4483
4486
|
evidence?: {
|
|
4484
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4485
4487
|
id: string;
|
|
4486
4488
|
label: string;
|
|
4489
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4487
4490
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4488
4491
|
locator?: string | undefined;
|
|
4489
4492
|
}[] | undefined;
|
|
4490
4493
|
} | {
|
|
4491
|
-
kind: "test_result";
|
|
4492
4494
|
summary: string;
|
|
4493
|
-
command: string;
|
|
4494
4495
|
status: "error" | "failed" | "passed";
|
|
4496
|
+
kind: "test_result";
|
|
4497
|
+
command: string;
|
|
4495
4498
|
decisionId: string;
|
|
4496
4499
|
testId: string;
|
|
4497
4500
|
durationMs?: number | undefined;
|
|
4498
4501
|
evidence?: {
|
|
4499
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4500
4502
|
id: string;
|
|
4501
4503
|
label: string;
|
|
4504
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4502
4505
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4503
4506
|
locator?: string | undefined;
|
|
4504
4507
|
}[] | undefined;
|
|
@@ -4513,9 +4516,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4513
4516
|
supersedesDecisionIds: string[];
|
|
4514
4517
|
proposedBy: string;
|
|
4515
4518
|
evidence?: {
|
|
4516
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4517
4519
|
id: string;
|
|
4518
4520
|
label: string;
|
|
4521
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4519
4522
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4520
4523
|
locator?: string | undefined;
|
|
4521
4524
|
}[] | undefined;
|
|
@@ -4523,15 +4526,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4523
4526
|
kind: "correction_approved";
|
|
4524
4527
|
correctionId: string;
|
|
4525
4528
|
approvedBy: {
|
|
4526
|
-
kind: "agent" | "human";
|
|
4527
4529
|
id: string;
|
|
4528
4530
|
label: string;
|
|
4531
|
+
kind: "agent" | "human";
|
|
4529
4532
|
};
|
|
4530
4533
|
note?: string | undefined;
|
|
4531
4534
|
evidence?: {
|
|
4532
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4533
4535
|
id: string;
|
|
4534
4536
|
label: string;
|
|
4537
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4535
4538
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4536
4539
|
locator?: string | undefined;
|
|
4537
4540
|
}[] | undefined;
|
|
@@ -4541,9 +4544,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4541
4544
|
correctionId: string;
|
|
4542
4545
|
replacementDecisionId: string;
|
|
4543
4546
|
evidence?: {
|
|
4544
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4545
4547
|
id: string;
|
|
4546
4548
|
label: string;
|
|
4549
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4547
4550
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4548
4551
|
locator?: string | undefined;
|
|
4549
4552
|
}[] | undefined;
|
|
@@ -4556,9 +4559,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4556
4559
|
recallReceiptId: string;
|
|
4557
4560
|
capturedAtAction: boolean;
|
|
4558
4561
|
evidence?: {
|
|
4559
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4560
4562
|
id: string;
|
|
4561
4563
|
label: string;
|
|
4564
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4562
4565
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4563
4566
|
locator?: string | undefined;
|
|
4564
4567
|
}[] | undefined;
|
|
@@ -4571,25 +4574,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4571
4574
|
recallReceiptId: string;
|
|
4572
4575
|
staleDecisionAbsent: boolean;
|
|
4573
4576
|
evidence?: {
|
|
4574
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4575
4577
|
id: string;
|
|
4576
4578
|
label: string;
|
|
4579
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4577
4580
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4578
4581
|
locator?: string | undefined;
|
|
4579
4582
|
}[] | undefined;
|
|
4580
4583
|
} | {
|
|
4581
|
-
kind: "mission_completed";
|
|
4582
4584
|
summary: string;
|
|
4585
|
+
kind: "mission_completed";
|
|
4583
4586
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4584
4587
|
evidence?: {
|
|
4585
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4586
4588
|
id: string;
|
|
4587
4589
|
label: string;
|
|
4590
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4588
4591
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4589
4592
|
locator?: string | undefined;
|
|
4590
4593
|
}[] | undefined;
|
|
4591
4594
|
};
|
|
4592
|
-
namespace: string;
|
|
4593
4595
|
eventId: string;
|
|
4594
4596
|
occurredAt: string;
|
|
4595
4597
|
missionId: string;
|