@remnic/core 9.22.0 → 9.22.2
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 +15 -12
- package/dist/access-admin-ops-surface.js +25 -24
- package/dist/access-audit.js +2 -2
- package/dist/access-boundary.d.ts +13 -10
- package/dist/access-boundary.js +25 -24
- package/dist/access-cli.js +84 -82
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +16 -9
- package/dist/access-http.js +33 -32
- package/dist/access-identity-continuity-surface.d.ts +9 -7
- package/dist/access-identity-continuity-surface.js +25 -24
- package/dist/access-lcm-surface.d.ts +12 -9
- package/dist/access-lcm-surface.js +25 -24
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp.d.ts +22 -10
- package/dist/access-mcp.js +31 -30
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-tmwQgCT6.d.ts → access-namespace-preflight-CmErR03h.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +25 -24
- package/dist/access-observe-write-surface.d.ts +12 -9
- package/dist/access-observe-write-surface.js +25 -24
- package/dist/access-operations-batch.js +27 -26
- package/dist/access-operations.d.ts +16 -13
- package/dist/access-operations.js +28 -27
- package/dist/access-recall-concurrency.d.ts +12 -9
- package/dist/access-recall-concurrency.js +25 -24
- package/dist/access-recall-response.d.ts +12 -9
- package/dist/access-recall-response.js +25 -24
- package/dist/access-recall-surface.d.ts +14 -11
- package/dist/access-recall-surface.js +25 -24
- package/dist/access-schema.d.ts +76 -76
- package/dist/{access-service-BtxW52vv.d.ts → access-service-CKEROeFP.d.ts} +22 -11
- package/dist/access-service.d.ts +13 -10
- package/dist/access-service.js +25 -24
- package/dist/access-surface-catalog.d.ts +12 -9
- package/dist/access-surface-catalog.js +6 -0
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-wearables-meetings-surface.d.ts +78 -0
- package/dist/access-wearables-meetings-surface.js +22 -0
- package/dist/access-wearables-meetings-surface.js.map +1 -0
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +2 -2
- package/dist/{auto-sync-UPTUVE4X.js → auto-sync-5OE5QOZB.js} +3 -3
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +9 -7
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +5 -5
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{catalog-iWvWz61I.d.ts → catalog-BFTVo2Ez.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +9 -9
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-GF22HWS2.js → chunk-2PHX3I5C.js} +7 -7
- package/dist/{chunk-JFDEYXF7.js → chunk-3NAHZQU3.js} +2 -2
- package/dist/{chunk-XBRPEGXF.js → chunk-3UOSVTFR.js} +5 -5
- package/dist/{chunk-TTKWTT72.js → chunk-3ZW6ZQO6.js} +3 -3
- package/dist/{chunk-UV72DEZD.js → chunk-4B77XSG5.js} +5 -5
- package/dist/{chunk-IC2TCZJ2.js → chunk-57QKLRBV.js} +3 -1
- package/dist/chunk-57QKLRBV.js.map +1 -0
- package/dist/{chunk-LMHDFOVV.js → chunk-5CPI2QWG.js} +3 -3
- package/dist/{chunk-P72WZMWQ.js → chunk-5FZQ74K5.js} +2 -2
- package/dist/{chunk-BRT7KEXU.js → chunk-6TWXQ4E2.js} +5 -5
- package/dist/{chunk-CV6ZYXK3.js → chunk-7I7AYIUQ.js} +3 -3
- package/dist/{chunk-TVVEYCNW.js → chunk-7K5Q6COX.js} +4 -4
- package/dist/{chunk-MONWCSVL.js → chunk-7RAJ3GXO.js} +2 -1
- package/dist/chunk-7RAJ3GXO.js.map +1 -0
- package/dist/{chunk-SQEDDWAM.js → chunk-A2RFKL3V.js} +5 -34
- package/dist/chunk-A2RFKL3V.js.map +1 -0
- package/dist/{chunk-JN57HZCD.js → chunk-ATEAL5EI.js} +6 -6
- package/dist/{chunk-4PYLBXX6.js → chunk-AYAROCWD.js} +2 -2
- package/dist/chunk-BLDBT6HZ.js +39 -0
- package/dist/chunk-BLDBT6HZ.js.map +1 -0
- package/dist/{chunk-NB2P47N7.js → chunk-CUUY5CC4.js} +6 -6
- package/dist/{chunk-KL5Y6PEV.js → chunk-E3ZMFFQZ.js} +2 -2
- package/dist/{chunk-55FDQYPS.js → chunk-ES5IHQ6M.js} +2 -2
- package/dist/{chunk-N47ZWQBO.js → chunk-G2NSSQES.js} +2 -2
- package/dist/{chunk-GSWPU5CR.js → chunk-GD3QOBMB.js} +2 -2
- package/dist/{chunk-6ANPNUVL.js → chunk-IIXLB5E7.js} +58 -36
- package/dist/chunk-IIXLB5E7.js.map +1 -0
- package/dist/{chunk-SACPRJ7F.js → chunk-JNIJBXVK.js} +2 -2
- package/dist/{chunk-W3XT32W7.js → chunk-JVGUY2AU.js} +23 -13
- package/dist/chunk-JVGUY2AU.js.map +1 -0
- package/dist/{chunk-DGLON3AL.js → chunk-KNRG6ZGJ.js} +6 -6
- package/dist/{chunk-GEUDRENF.js → chunk-MMTG3SCJ.js} +2 -2
- package/dist/{chunk-WZFAPHIK.js → chunk-MU7ZHSZE.js} +2 -2
- package/dist/{chunk-W4FBGYGK.js → chunk-NRV4Y3PM.js} +1 -1
- package/dist/{chunk-QTO2FGBT.js → chunk-OUW4PAY4.js} +191 -117
- package/dist/chunk-OUW4PAY4.js.map +1 -0
- package/dist/{chunk-KQ2XCQYN.js → chunk-P2BLHUL2.js} +2 -2
- package/dist/{chunk-ACGGTPU4.js → chunk-QCKQEBIY.js} +17 -9
- package/dist/chunk-QCKQEBIY.js.map +1 -0
- package/dist/{chunk-6L775BUB.js → chunk-QE63OHLB.js} +2 -2
- package/dist/{chunk-ONHRRJZM.js → chunk-QJAQNXWI.js} +6 -6
- package/dist/{chunk-EQYBHXRR.js → chunk-ROUL7RZU.js} +385 -59
- package/dist/chunk-ROUL7RZU.js.map +1 -0
- package/dist/{chunk-N6M7MRVN.js → chunk-RT4TSR2C.js} +9034 -8726
- package/dist/chunk-RT4TSR2C.js.map +1 -0
- package/dist/{chunk-6NZ7U4R4.js → chunk-SCOT5DTA.js} +1 -1
- package/dist/chunk-SCOT5DTA.js.map +1 -0
- package/dist/{chunk-6RYWNBSA.js → chunk-SVZGA2MK.js} +2 -2
- package/dist/chunk-SYOIVK7K.js +63 -0
- package/dist/chunk-SYOIVK7K.js.map +1 -0
- package/dist/{chunk-DM5A4ZFL.js → chunk-TWCOYET2.js} +11 -1
- package/dist/chunk-TWCOYET2.js.map +1 -0
- package/dist/{chunk-7S5OMI76.js → chunk-WS32QRLO.js} +109 -44
- package/dist/chunk-WS32QRLO.js.map +1 -0
- package/dist/{chunk-OCMLGND7.js → chunk-WWZ35GWW.js} +5 -5
- package/dist/{chunk-QMGIQUBG.js → chunk-XWPFZX6S.js} +503 -139
- package/dist/chunk-XWPFZX6S.js.map +1 -0
- package/dist/{chunk-A5N6ISRK.js → chunk-ZN4UZWMT.js} +2 -2
- package/dist/{chunk-7M6APKJL.js → chunk-ZYU7ZFLT.js} +2 -2
- package/dist/{cli-D9vXgWwM.d.ts → cli-BrwT9YMD.d.ts} +5 -5
- package/dist/cli.d.ts +14 -11
- package/dist/cli.js +57 -56
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +5 -5
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +2 -2
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +5 -5
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +5 -5
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/contradiction/index.d.ts +2 -2
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +5 -5
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +9 -7
- package/dist/extraction-error-classification.d.ts +22 -0
- package/dist/extraction-error-classification.js +11 -0
- package/dist/extraction-error-classification.js.map +1 -0
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction.d.ts +3 -17
- package/dist/extraction.js +5 -3
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/{first-start-migration-LEXL3XYL.js → first-start-migration-BKNGOFED.js} +4 -4
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/index.d.ts +713 -923
- package/dist/index.js +176 -140
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +11 -11
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +6 -6
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +7 -7
- package/dist/maintenance-C98njYb8.d.ts +366 -0
- package/dist/mcp-memory-inspector-app.d.ts +12 -9
- package/dist/mcp-read-only-tools.js +1 -1
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +12 -12
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +6 -6
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +5 -5
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +2 -2
- package/dist/operator-toolkit.js +18 -18
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +6 -223
- package/dist/orchestration/maintenance.js +12 -12
- package/dist/{orchestrator-DB93S48I.d.ts → orchestrator-C9ZVppNh.d.ts} +12 -481
- package/dist/orchestrator.d.ts +10 -8
- package/dist/orchestrator.js +84 -82
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-DmGc-H66.d.ts → pipeline-id_-sqYm.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/proactive-contention.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/{qmd-cJT0crkF.d.ts → qmd-R6XaQOZK.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- package/dist/qmd.js +4 -4
- package/dist/recall-concurrency-config.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +1 -1
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +4 -4
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/salvage-envelope.d.ts +1 -1
- package/dist/schemas.d.ts +76 -76
- package/dist/{scope-profiles-KG2nODX7.d.ts → scope-profiles-EhyuAKkd.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +5 -5
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +9 -9
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-BaZlg0D8.d.ts → semantic-consolidation-B2xo26UQ.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +7 -7
- package/dist/semantic-rule-promotion.js +5 -5
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +6 -6
- package/dist/service-DgFWlZ-r.d.ts +835 -0
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +9 -9
- package/dist/signal.d.ts +1 -1
- package/dist/{storage-BKhHHnRo.d.ts → storage-XGawwqXE.d.ts} +131 -2
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +4 -4
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +2 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/types.d.ts +66 -66
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-GBQZuT7l.d.ts → types-Bbs0qz6b.d.ts} +2 -3
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +6 -6
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +2 -2
- package/src/access-boundary.ts +3 -0
- package/src/access-http.test.ts +63 -0
- package/src/access-http.ts +26 -37
- package/src/access-mcp-output-schemas.ts +10 -0
- package/src/access-mcp.ts +4 -121
- package/src/access-operations-batch.ts +10 -5
- package/src/access-service.ts +43 -46
- package/src/access-surface-catalog.ts +6 -0
- package/src/access-wearables-meetings-surface.ts +139 -0
- package/src/activity/digest.ts +1 -1
- package/src/activity/runner.test.ts +37 -0
- package/src/activity/runner.ts +12 -0
- package/src/activity/scheduler.test.ts +1 -0
- package/src/activity/sync-registration.ts +13 -0
- package/src/cli/meetings-commands.ts +70 -0
- package/src/cli.ts +7 -6
- package/src/extraction-error-classification.ts +52 -0
- package/src/extraction.ts +2 -50
- package/src/mcp-read-only-tools.ts +2 -0
- package/src/meetings/build-memory.test.ts +364 -0
- package/src/meetings/build-scheduler.test.ts +55 -0
- package/src/meetings/build-scheduler.ts +96 -0
- package/src/meetings/day-source.test.ts +275 -0
- package/src/meetings/day-source.ts +352 -0
- package/src/meetings/http-glue.ts +126 -0
- package/src/meetings/index.ts +5 -4
- package/src/meetings/manual-sync-flush.test.ts +72 -0
- package/src/meetings/mcp-tools.ts +65 -0
- package/src/meetings/memory-gen.test.ts +498 -0
- package/src/meetings/memory-gen.ts +549 -0
- package/src/meetings/memory-generator.ts +5 -0
- package/src/meetings/namespace-isolation.test.ts +159 -0
- package/src/meetings/service.test.ts +195 -0
- package/src/meetings/service.ts +157 -0
- package/src/meetings/summary-extractor.test.ts +287 -0
- package/src/meetings/summary-extractor.ts +264 -0
- package/src/orchestration/maintenance.ts +8 -0
- package/src/orchestration/orchestrator-init.ts +6 -1
- package/src/orchestration/workspace-ops.ts +172 -8
- package/src/orchestrator.ts +12 -13
- package/src/storage.ts +21 -0
- package/src/testing/subjects/meetings-namespace-harness.ts +159 -0
- package/src/testing/subjects/meetings-namespace.test.ts +93 -0
- package/src/types.ts +1 -2
- package/src/wearables/cli.ts +2 -1
- package/src/wearables/index.ts +1 -0
- package/src/wearables/mcp-tools.ts +143 -0
- package/src/wearables/registry.test.ts +11 -0
- package/src/wearables/registry.ts +13 -0
- package/src/wearables/service.test.ts +62 -1
- package/src/wearables/service.ts +30 -2
- package/src/wearables/transcript-search-namespace-isolation.test.ts +98 -0
- package/dist/chunk-6ANPNUVL.js.map +0 -1
- package/dist/chunk-6NZ7U4R4.js.map +0 -1
- package/dist/chunk-7S5OMI76.js.map +0 -1
- package/dist/chunk-ACGGTPU4.js.map +0 -1
- package/dist/chunk-DM5A4ZFL.js.map +0 -1
- package/dist/chunk-EQYBHXRR.js.map +0 -1
- package/dist/chunk-IC2TCZJ2.js.map +0 -1
- package/dist/chunk-MONWCSVL.js.map +0 -1
- package/dist/chunk-N6M7MRVN.js.map +0 -1
- package/dist/chunk-QMGIQUBG.js.map +0 -1
- package/dist/chunk-QTO2FGBT.js.map +0 -1
- package/dist/chunk-SQEDDWAM.js.map +0 -1
- package/dist/chunk-W3XT32W7.js.map +0 -1
- /package/dist/{auto-sync-UPTUVE4X.js.map → auto-sync-5OE5QOZB.js.map} +0 -0
- /package/dist/{chunk-GF22HWS2.js.map → chunk-2PHX3I5C.js.map} +0 -0
- /package/dist/{chunk-JFDEYXF7.js.map → chunk-3NAHZQU3.js.map} +0 -0
- /package/dist/{chunk-XBRPEGXF.js.map → chunk-3UOSVTFR.js.map} +0 -0
- /package/dist/{chunk-TTKWTT72.js.map → chunk-3ZW6ZQO6.js.map} +0 -0
- /package/dist/{chunk-UV72DEZD.js.map → chunk-4B77XSG5.js.map} +0 -0
- /package/dist/{chunk-LMHDFOVV.js.map → chunk-5CPI2QWG.js.map} +0 -0
- /package/dist/{chunk-P72WZMWQ.js.map → chunk-5FZQ74K5.js.map} +0 -0
- /package/dist/{chunk-BRT7KEXU.js.map → chunk-6TWXQ4E2.js.map} +0 -0
- /package/dist/{chunk-CV6ZYXK3.js.map → chunk-7I7AYIUQ.js.map} +0 -0
- /package/dist/{chunk-TVVEYCNW.js.map → chunk-7K5Q6COX.js.map} +0 -0
- /package/dist/{chunk-JN57HZCD.js.map → chunk-ATEAL5EI.js.map} +0 -0
- /package/dist/{chunk-4PYLBXX6.js.map → chunk-AYAROCWD.js.map} +0 -0
- /package/dist/{chunk-NB2P47N7.js.map → chunk-CUUY5CC4.js.map} +0 -0
- /package/dist/{chunk-KL5Y6PEV.js.map → chunk-E3ZMFFQZ.js.map} +0 -0
- /package/dist/{chunk-55FDQYPS.js.map → chunk-ES5IHQ6M.js.map} +0 -0
- /package/dist/{chunk-N47ZWQBO.js.map → chunk-G2NSSQES.js.map} +0 -0
- /package/dist/{chunk-GSWPU5CR.js.map → chunk-GD3QOBMB.js.map} +0 -0
- /package/dist/{chunk-SACPRJ7F.js.map → chunk-JNIJBXVK.js.map} +0 -0
- /package/dist/{chunk-DGLON3AL.js.map → chunk-KNRG6ZGJ.js.map} +0 -0
- /package/dist/{chunk-GEUDRENF.js.map → chunk-MMTG3SCJ.js.map} +0 -0
- /package/dist/{chunk-WZFAPHIK.js.map → chunk-MU7ZHSZE.js.map} +0 -0
- /package/dist/{chunk-W4FBGYGK.js.map → chunk-NRV4Y3PM.js.map} +0 -0
- /package/dist/{chunk-KQ2XCQYN.js.map → chunk-P2BLHUL2.js.map} +0 -0
- /package/dist/{chunk-6L775BUB.js.map → chunk-QE63OHLB.js.map} +0 -0
- /package/dist/{chunk-ONHRRJZM.js.map → chunk-QJAQNXWI.js.map} +0 -0
- /package/dist/{chunk-6RYWNBSA.js.map → chunk-SVZGA2MK.js.map} +0 -0
- /package/dist/{chunk-OCMLGND7.js.map → chunk-WWZ35GWW.js.map} +0 -0
- /package/dist/{chunk-A5N6ISRK.js.map → chunk-ZN4UZWMT.js.map} +0 -0
- /package/dist/{chunk-7M6APKJL.js.map → chunk-ZYU7ZFLT.js.map} +0 -0
- /package/dist/{first-start-migration-LEXL3XYL.js.map → first-start-migration-BKNGOFED.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +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
|
-
|
|
6
|
-
export { D as DEFAULT_SELF_NAME, O as Orchestrator, R as ResolvedSpeaker, a as SpeakerOverride, b as WEARABLE_SOURCE_PREFIX, c as WearableDayTranscriptView, d as WearableMemoryGenDeps, e as WearableMemoryGenResult, f as WearableMemorySearchResult, g as WearableMemoryWriter, h as WearableSearchBackend, i as WearableStorageIo, j as WearableSyncDeps, k as WearableSyncOptions, l as WearableTranscriptSearchResult, m as WearablesServiceDeps, n as buildExtractionTurns, o as dateInTimezone, p as defaultTimezone, q as defaultWorkspaceDir, r as distinctSpeakerLabels, s as emptySpeakerRegistry, t as generateWearableMemories, u as importNativeMemories, v as loadSpeakerRegistry, w as locateTranscriptPath, x as memoryStatusForMode, y as resolveSpeaker, z as resolveSyncDates, A as sanitizeSessionKeyForFilename, B as saveSpeakerRegistry, E as speakerRegistryKey, F as speakersFilePath, H as syncWearableSource, J as wearableDayTag, K as wearableSourceLabel, L as writeDailyDigestMemory } from './orchestrator-DB93S48I.js';
|
|
5
|
+
export { O as Orchestrator, d as defaultWorkspaceDir, s as sanitizeSessionKeyForFilename } from './orchestrator-C9ZVppNh.js';
|
|
7
6
|
export { normalizeProjectionPreview, normalizeProjectionTags } from './memory-projection-format.js';
|
|
8
7
|
export { ModelCapabilities, ModelRegistry } from './model-registry.js';
|
|
9
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';
|
|
@@ -13,8 +12,8 @@ export { TargetedFactRecallOptions, buildTargetedFactRecallSection, shouldRecall
|
|
|
13
12
|
export { FocusedListRecallOptions, buildFocusedListRecallSection, shouldRecallFocusedListEvidence } from './focused-list-recall.js';
|
|
14
13
|
export { ResponseGuidanceRecallOptions, buildResponseGuidanceRecallSection, shouldRecallResponseGuidance } from './response-guidance-recall.js';
|
|
15
14
|
export { EventOrderRecallOptions, buildEventOrderRecallSection, shouldRecallEventOrderEvidence } from './event-order-recall.js';
|
|
16
|
-
import { S as StorageManager,
|
|
17
|
-
export { C as ContentHashIndex,
|
|
15
|
+
import { S as StorageManager, a as MeetingRecordStore } from './storage-XGawwqXE.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-XGawwqXE.js';
|
|
18
17
|
import { SealedMemoryEnvelope } from './write-envelope.js';
|
|
19
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';
|
|
20
19
|
export { HostEmbeddingInputType, HostEmbeddingProvider, getHostEmbeddingProvider, normalizeHostEmbeddingVector, registerHostEmbeddingProvider } from './host-embedding-provider.js';
|
|
@@ -23,13 +22,13 @@ export { CodexCliFallbackConfig, CodexCliFallbackMessage, CodexCliFallbackOption
|
|
|
23
22
|
export { BufferSurpriseProbe, SmartBuffer, TriggerDecision } from './buffer.js';
|
|
24
23
|
export { ComputeSurpriseOptions, DEFAULT_SURPRISE_K, RecentMemoryLike, computeSurprise } from './buffer-surprise.js';
|
|
25
24
|
export { BufferSurpriseDistribution, BufferSurpriseReader, BufferSurpriseReportOptions, reportBufferSurpriseDistribution } from './buffer-surprise-report.js';
|
|
26
|
-
import {
|
|
27
|
-
export {
|
|
25
|
+
import { b1 as CodingContext, b7 as CodingModeConfig, a_ as FusionConversationInput, b8 as FusedSpeaker, b9 as FusedSegment, ba as FusedDisagreement, bb as FusionOptions, aN as WearableConversation, bc as FusionDayResult, P as PluginConfig, bd as CodingKnowledgeConfig, w as MemoryCategory, be as WearableCleanupSettings, bf as WearableFusionConfig, aO as WearableSourceSettings, aS as WearablesConfig, aR as WearableSourceConnector, aW as WearableCorrectionRule, bg as WearableDayTranscriptMeta, aV as WearableDayTranscript, au as ActivitySnapshot, bh as ActivityDayMeta, bi as ActivityDayDigest, ax as ActivitySourceClient, bj as ActivitySourceCheck, bk as ActivitySnapshotPage, av as ActivityConfig, J as ExtractionResult, x as MemoryStatus, ah as ImportanceScore, bl as MeetingsDetectionConfig, aZ as MeetingsDetectionInput, b0 as DetectedMeeting, aY as MeetingsConfig, aB as MeetingRecord, bm as MeetingAudioWindow, bn as MeetingAppSpan } from './types-Bbs0qz6b.js';
|
|
26
|
+
export { bo as ActivityExtractionMode, aw as ActivitySourceConfig, a6 as AgentAccessAuthToken, k as BriefingActiveThread, bp as BriefingConfig, i as BriefingFocus, h as BriefingFollowup, bq as BriefingOpenCommitment, m as BriefingRecentEntity, l as BriefingResult, B as BriefingSections, br as BriefingWindow, a0 as BufferSurpriseEvent, bs as BulkImportError, a2 as BulkImportOptions, a4 as BulkImportResult, a3 as BulkImportSource, bt as BulkImportSourceAdapter, j as CalendarEvent, C as CalendarSource, bu as CodexCompatConfig, b6 as ConsolidationObservation, bv as DEFAULT_RECALL_DISCLOSURE, bw as DisagreementKind, E as EntityFile, ag as EntityStructuredSection, bx as ExtractedFact, by as FusedContribution, bz as FusedConversationProvenance, aA as FusedDayFile, az as FusedDayMeta, aD as FusedMeeting, bA as FusedSegmentProvenance, ay as FusedWearableConversation, bB as FusionSegmentInput, G as GatewayConfig, bC as ImportSourceRole, a1 as ImportTurn, bD as ImportTurnValidationIssue, a$ as MeetingActivitySnapshot, aX as MeetingBuildInput, aC as MeetingDetectionSource, bE as MeetingScreenContextEvent, bF as MeetingSummaryMode, aj as MemoryActionEligibilityContext, bG as MemoryActionEligibilitySource, aa as MemoryActionType, M as MemoryFile, o as MemoryFrontmatter, bH as MemoryObservation, bI as MemoryScope, bJ as RECALL_DISCLOSURE_LEVELS, b as RecallDisclosure, a5 as SecretRef, bK as SegmentPickReason, bL as WearableAuthCheck, bM as WearableFetchOptions, bN as WearableFetchPage, aQ as WearableMemoryMode, aP as WearableNativeMemory, bO as WearableNativeMemoryPage, aU as WearableSourceStatus, aT as WearableSyncSummary, bP as WearableTranscriptSegment, bQ as isImportRole, bR as isRecallDisclosure, bS as parseIsoTimestamp, bT as validateImportTurn } from './types-Bbs0qz6b.js';
|
|
28
27
|
import { JudgeCandidate, JudgeVerdict } from './extraction-judge.js';
|
|
29
28
|
export { JudgeBatchResult, JudgeVerdictKind, clearVerdictCache, createVerdictCache, getVerdictKind, isDurableVerdict, isValidCachedVerdict, judgeFactDurability, normalizeCachedVerdict, verdictCacheSize } from './extraction-judge.js';
|
|
30
29
|
export { hasBroadGraphIntent, inferIntentFromText, intentCompatibilityScore, isTaskInitiationIntent, planRecallMode } from './intent.js';
|
|
31
|
-
import { F as EngramAccessService } from './access-service-
|
|
32
|
-
export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-
|
|
30
|
+
import { F as EngramAccessService } from './access-service-CKEROeFP.js';
|
|
31
|
+
export { P as ProcedureStatsConfigSnapshot, G as ProcedureStatsRecent, H as ProcedureStatsReport, I as ProcedureStatusCounts, J as computeProcedureStats, K as formatProcedureStatsText } from './access-service-CKEROeFP.js';
|
|
33
32
|
export { FILTER_LABELS as DIRECT_ANSWER_FILTER_LABELS, DirectAnswerCandidate, DirectAnswerConfig, DirectAnswerInput, DirectAnswerReason, DirectAnswerResult, isDirectAnswerEligible } from './direct-answer.js';
|
|
34
33
|
export { MemoryTier, TierRoutingPolicy, TierTransitionDecision, computeTierValueScore, decideTierTransition } from './tier-routing.js';
|
|
35
34
|
export { ApplyReasoningTraceBoostOptions, BoostableResult, DEFAULT_REASONING_TRACE_BOOST, applyReasoningTraceBoost, isReasoningTracePath, looksLikeProblemSolvingQuery } from './reasoning-trace-recall.js';
|
|
@@ -37,13 +36,13 @@ export { LcmMessagePartInput, LcmMessagePartKind, LcmMessagePartRow, MessagePart
|
|
|
37
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';
|
|
38
37
|
export { BuildRetrievedMemoryProvenanceOptions, RetrievedMemoryCorrectionState, RetrievedMemoryProvenance, RetrievedMemorySafety, buildRetrievedMemoryProvenance, normalizeRetrievedMemoryProvenance, summarizeRetrievedMemoryProvenance } from './memory-provenance.js';
|
|
39
38
|
export { CITATION_UNKNOWN, CitationContext, DEFAULT_CITATION_FORMAT, ParsedCitation, attachCitation, deriveSessionId, formatCitation, hasCitation, parseAllCitations, parseCitation, stripCitation } from './source-attribution.js';
|
|
40
|
-
export { Q as QmdClient } from './qmd-
|
|
39
|
+
export { Q as QmdClient } from './qmd-R6XaQOZK.js';
|
|
41
40
|
export { LanceDbBackend } from './search/lancedb-backend.js';
|
|
42
41
|
export { OramaBackend } from './search/orama-backend.js';
|
|
43
42
|
export { MeilisearchBackend } from './search/meilisearch-backend.js';
|
|
44
43
|
export { buildEntityRecallSection } from './entity-retrieval.js';
|
|
45
44
|
export { isNamespacePolicyCovered, resolvePrincipal } from './namespaces/principal.js';
|
|
46
|
-
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-BFTVo2Ez.js';
|
|
47
46
|
export { SESSION_CHANNEL_TYPE, SessionIdentity, SessionStoragePaths, legacyParserReadbackDir, parseSessionIdentity, sessionStoragePaths } from './session-identity.js';
|
|
48
47
|
export { storagePathHash } from './storage-paths.js';
|
|
49
48
|
export { TrustZoneName, TrustZoneRecord, TrustZoneRecordKind, TrustZoneSourceClass, isTrustZoneName } from './trust-zones.js';
|
|
@@ -71,8 +70,8 @@ export { initLogger, log } from './logger.js';
|
|
|
71
70
|
export { b as SemanticDedupDecision, a as SemanticDedupHit, S as SemanticDedupLookup, c as SemanticDedupOptions, d as decideSemanticDedup } from './semantic-TddhF0y7.js';
|
|
72
71
|
export { drainPendingImpressionsForOfflineSync, drainPendingLifecycleForOfflineSync } from './offline-sync-impression-drain.js';
|
|
73
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';
|
|
74
|
-
import { D as DiscoveredExtension } from './semantic-consolidation-
|
|
75
|
-
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-B2xo26UQ.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-B2xo26UQ.js';
|
|
76
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';
|
|
77
76
|
import { L as LiveConnector, S as SyncIncrementalResult } from './framework-CNDn2164.js';
|
|
78
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';
|
|
@@ -87,9 +86,12 @@ import { T as Taxonomy, R as ResolverDecision } from './types-DJhqDJUV.js';
|
|
|
87
86
|
export { a as TaxonomyCategory } from './types-DJhqDJUV.js';
|
|
88
87
|
export { EnrichmentAuditEntry, EnrichmentCandidate, EnrichmentCostTier, EnrichmentPipelineConfig, EnrichmentProvider, EnrichmentProviderConfig, EnrichmentProviderRegistry, EnrichmentResult, EntityEnrichmentInput, WebSearchFn, WebSearchProvider, WebSearchProviderOptions, appendAuditEntry, defaultEnrichmentPipelineConfig, readAuditLog, runEnrichmentPipeline } from './enrichment/index.js';
|
|
89
88
|
export { clearBulkImportSources, getBulkImportSource, listBulkImportSources, registerBulkImportSource } from './bulk-import/index.js';
|
|
90
|
-
export { a as ProcessBatchContext, P as ProcessBatchFn, b as ProcessBatchResult, f as formatBatchTranscript, r as resolveBulkImportContext, c as runBulkImportPipeline, v as validateBatchSize } from './pipeline-
|
|
91
|
-
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-
|
|
92
|
-
import {
|
|
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-id_-sqYm.js';
|
|
90
|
+
export { B as BulkImportCliCommandOptions, p as parseStrictCliDate, r as runBulkImportCliCommand } from './cli-BrwT9YMD.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-DgFWlZ-r.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-DgFWlZ-r.js';
|
|
93
|
+
import { A as ActivityStore, a as ActivitySyncRunSummary } from './maintenance-C98njYb8.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-C98njYb8.js';
|
|
93
95
|
import { SearchExecutionOptions } from './search/port.js';
|
|
94
96
|
export { DEFAULT_IMPORT_BATCH_SIZE, ImportProgress, ImportedMemory, ImporterAdapter, ImporterParseOptions, ImporterTransformOptions, ImporterWriteResult, ImporterWriteTarget, RunImportOptions, RunImporterResult, defaultWriteMemoriesToOrchestrator, importedMemoryToTurn, runImporter, validateImportBatchSize, validateImportRateLimit } from './importers/index.js';
|
|
95
97
|
export { FallbackLlmClient, FallbackLlmOptions, FallbackLlmResponse, FallbackLlmRuntimeContext } from './fallback-llm.js';
|
|
@@ -119,15 +121,14 @@ import './resolve-provider-secret.js';
|
|
|
119
121
|
import './transcript.js';
|
|
120
122
|
import './session-integrity.js';
|
|
121
123
|
import './summarizer.js';
|
|
122
|
-
import './
|
|
123
|
-
import './
|
|
124
|
+
import './compounding/engine.js';
|
|
125
|
+
import './shared-context/manager.js';
|
|
126
|
+
import './capabilities.js';
|
|
124
127
|
import './consolidation-operator.js';
|
|
125
128
|
import './memory-projection-store.js';
|
|
126
129
|
import './maintenance/memory-governance.js';
|
|
130
|
+
import './runtime/better-sqlite.js';
|
|
127
131
|
import 'better-sqlite3';
|
|
128
|
-
import './compounding/engine.js';
|
|
129
|
-
import './shared-context/manager.js';
|
|
130
|
-
import './capabilities.js';
|
|
131
132
|
import './utility-runtime.js';
|
|
132
133
|
import './lifecycle.js';
|
|
133
134
|
import './orchestration/compression-guideline-coordinator.js';
|
|
@@ -149,7 +150,7 @@ import './faiss-adapter-BHecI1fF.js';
|
|
|
149
150
|
import './runtime/child-process.js';
|
|
150
151
|
import './namespaces/storage.js';
|
|
151
152
|
import './threading.js';
|
|
152
|
-
import './scope-profiles-
|
|
153
|
+
import './scope-profiles-EhyuAKkd.js';
|
|
153
154
|
import './graph.js';
|
|
154
155
|
import './relevance.js';
|
|
155
156
|
import './negative.js';
|
|
@@ -161,13 +162,16 @@ import './lcm/summarizer.js';
|
|
|
161
162
|
import './lcm/dag.js';
|
|
162
163
|
import './lcm/recall.js';
|
|
163
164
|
import './lcm/queue.js';
|
|
165
|
+
import './namespaces/search.js';
|
|
164
166
|
import './policy-runtime.js';
|
|
165
167
|
import './profiling.js';
|
|
166
168
|
import './schemas.js';
|
|
167
|
-
import './
|
|
169
|
+
import './extraction-error-classification.js';
|
|
170
|
+
import './access-namespace-preflight-CmErR03h.js';
|
|
168
171
|
import './recall-explain-renderer.js';
|
|
169
172
|
import './access-citation.js';
|
|
170
173
|
import './explicit-capture.js';
|
|
174
|
+
import './access-wearables-meetings-surface.js';
|
|
171
175
|
import './graph-snapshot.js';
|
|
172
176
|
import './transfer/capsule-export.js';
|
|
173
177
|
import './capsule-cli.js';
|
|
@@ -864,15 +868,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
|
|
|
864
868
|
locator: z.ZodOptional<z.ZodString>;
|
|
865
869
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
866
870
|
}, "strict", z.ZodTypeAny, {
|
|
871
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
867
872
|
id: string;
|
|
868
873
|
label: string;
|
|
869
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
870
874
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
871
875
|
locator?: string | undefined;
|
|
872
876
|
}, {
|
|
877
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
873
878
|
id: string;
|
|
874
879
|
label: string;
|
|
875
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
876
880
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
877
881
|
locator?: string | undefined;
|
|
878
882
|
}>;
|
|
@@ -889,15 +893,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
889
893
|
locator: z.ZodOptional<z.ZodString>;
|
|
890
894
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
891
895
|
}, "strict", z.ZodTypeAny, {
|
|
896
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
892
897
|
id: string;
|
|
893
898
|
label: string;
|
|
894
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
895
899
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
896
900
|
locator?: string | undefined;
|
|
897
901
|
}, {
|
|
902
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
898
903
|
id: string;
|
|
899
904
|
label: string;
|
|
900
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
901
905
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
902
906
|
locator?: string | undefined;
|
|
903
907
|
}>, "many">>;
|
|
@@ -905,9 +909,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
905
909
|
kind: "mission_started";
|
|
906
910
|
title: string;
|
|
907
911
|
evidence: {
|
|
912
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
908
913
|
id: string;
|
|
909
914
|
label: string;
|
|
910
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
911
915
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
912
916
|
locator?: string | undefined;
|
|
913
917
|
}[];
|
|
@@ -919,9 +923,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
919
923
|
objective: string;
|
|
920
924
|
runMode: "replay" | "fixture" | "live";
|
|
921
925
|
evidence?: {
|
|
926
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
922
927
|
id: string;
|
|
923
928
|
label: string;
|
|
924
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
925
929
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
926
930
|
locator?: string | undefined;
|
|
927
931
|
}[] | undefined;
|
|
@@ -937,15 +941,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
937
941
|
locator: z.ZodOptional<z.ZodString>;
|
|
938
942
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
939
943
|
}, "strict", z.ZodTypeAny, {
|
|
944
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
940
945
|
id: string;
|
|
941
946
|
label: string;
|
|
942
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
943
947
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
944
948
|
locator?: string | undefined;
|
|
945
949
|
}, {
|
|
950
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
946
951
|
id: string;
|
|
947
952
|
label: string;
|
|
948
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
949
953
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
950
954
|
locator?: string | undefined;
|
|
951
955
|
}>, "many">>;
|
|
@@ -953,32 +957,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
953
957
|
sessionId: z.ZodString;
|
|
954
958
|
kind: z.ZodLiteral<"agent_status">;
|
|
955
959
|
}, "strict", z.ZodTypeAny, {
|
|
956
|
-
label: string;
|
|
957
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
958
960
|
kind: "agent_status";
|
|
959
961
|
role: string;
|
|
962
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
963
|
+
label: string;
|
|
960
964
|
agentId: string;
|
|
961
965
|
sessionId: string;
|
|
962
966
|
evidence: {
|
|
967
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
963
968
|
id: string;
|
|
964
969
|
label: string;
|
|
965
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
966
970
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
967
971
|
locator?: string | undefined;
|
|
968
972
|
}[];
|
|
969
973
|
detail?: string | undefined;
|
|
970
974
|
}, {
|
|
971
|
-
label: string;
|
|
972
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
973
975
|
kind: "agent_status";
|
|
974
976
|
role: string;
|
|
977
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
978
|
+
label: string;
|
|
975
979
|
agentId: string;
|
|
976
980
|
sessionId: string;
|
|
977
981
|
detail?: string | undefined;
|
|
978
982
|
evidence?: {
|
|
983
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
979
984
|
id: string;
|
|
980
985
|
label: string;
|
|
981
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
982
986
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
983
987
|
locator?: string | undefined;
|
|
984
988
|
}[] | undefined;
|
|
@@ -992,15 +996,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
992
996
|
locator: z.ZodOptional<z.ZodString>;
|
|
993
997
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
994
998
|
}, "strict", z.ZodTypeAny, {
|
|
999
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
995
1000
|
id: string;
|
|
996
1001
|
label: string;
|
|
997
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
998
1002
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
999
1003
|
locator?: string | undefined;
|
|
1000
1004
|
}, {
|
|
1005
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1001
1006
|
id: string;
|
|
1002
1007
|
label: string;
|
|
1003
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1004
1008
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1005
1009
|
locator?: string | undefined;
|
|
1006
1010
|
}>, "many">>;
|
|
@@ -1008,28 +1012,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1008
1012
|
sessionId: z.ZodString;
|
|
1009
1013
|
kind: z.ZodLiteral<"agent_output">;
|
|
1010
1014
|
}, "strict", z.ZodTypeAny, {
|
|
1011
|
-
summary: string;
|
|
1012
1015
|
kind: "agent_output";
|
|
1016
|
+
summary: string;
|
|
1013
1017
|
agentId: string;
|
|
1014
1018
|
sessionId: string;
|
|
1015
1019
|
evidence: {
|
|
1020
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1016
1021
|
id: string;
|
|
1017
1022
|
label: string;
|
|
1018
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1019
1023
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1020
1024
|
locator?: string | undefined;
|
|
1021
1025
|
}[];
|
|
1022
1026
|
outputId: string;
|
|
1023
1027
|
}, {
|
|
1024
|
-
summary: string;
|
|
1025
1028
|
kind: "agent_output";
|
|
1029
|
+
summary: string;
|
|
1026
1030
|
agentId: string;
|
|
1027
1031
|
sessionId: string;
|
|
1028
1032
|
outputId: string;
|
|
1029
1033
|
evidence?: {
|
|
1034
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1030
1035
|
id: string;
|
|
1031
1036
|
label: string;
|
|
1032
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1033
1037
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1034
1038
|
locator?: string | undefined;
|
|
1035
1039
|
}[] | undefined;
|
|
@@ -1045,15 +1049,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1045
1049
|
locator: z.ZodOptional<z.ZodString>;
|
|
1046
1050
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1047
1051
|
}, "strict", z.ZodTypeAny, {
|
|
1052
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1048
1053
|
id: string;
|
|
1049
1054
|
label: string;
|
|
1050
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1051
1055
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1052
1056
|
locator?: string | undefined;
|
|
1053
1057
|
}, {
|
|
1058
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1054
1059
|
id: string;
|
|
1055
1060
|
label: string;
|
|
1056
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1057
1061
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1058
1062
|
locator?: string | undefined;
|
|
1059
1063
|
}>, "many">>;
|
|
@@ -1066,9 +1070,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1066
1070
|
statement: string;
|
|
1067
1071
|
sessionId: string;
|
|
1068
1072
|
evidence: {
|
|
1073
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1069
1074
|
id: string;
|
|
1070
1075
|
label: string;
|
|
1071
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1072
1076
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1073
1077
|
locator?: string | undefined;
|
|
1074
1078
|
}[];
|
|
@@ -1084,9 +1088,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1084
1088
|
decisionId: string;
|
|
1085
1089
|
confidence?: number | undefined;
|
|
1086
1090
|
evidence?: {
|
|
1091
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1087
1092
|
id: string;
|
|
1088
1093
|
label: string;
|
|
1089
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1090
1094
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1091
1095
|
locator?: string | undefined;
|
|
1092
1096
|
}[] | undefined;
|
|
@@ -1103,25 +1107,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1103
1107
|
locator: z.ZodOptional<z.ZodString>;
|
|
1104
1108
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1105
1109
|
}, "strict", z.ZodTypeAny, {
|
|
1110
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1106
1111
|
id: string;
|
|
1107
1112
|
label: string;
|
|
1108
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1109
1113
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1110
1114
|
locator?: string | undefined;
|
|
1111
1115
|
}, {
|
|
1116
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1112
1117
|
id: string;
|
|
1113
1118
|
label: string;
|
|
1114
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1115
1119
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1116
1120
|
locator?: string | undefined;
|
|
1117
1121
|
}>, "many">>;
|
|
1118
1122
|
}, "strict", z.ZodTypeAny, {
|
|
1119
|
-
summary: string;
|
|
1120
1123
|
kind: "conflict_detected";
|
|
1124
|
+
summary: string;
|
|
1121
1125
|
evidence: {
|
|
1126
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1122
1127
|
id: string;
|
|
1123
1128
|
label: string;
|
|
1124
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1125
1129
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1126
1130
|
locator?: string | undefined;
|
|
1127
1131
|
}[];
|
|
@@ -1129,15 +1133,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1129
1133
|
decisionIds: string[];
|
|
1130
1134
|
agentIds: string[];
|
|
1131
1135
|
}, {
|
|
1132
|
-
summary: string;
|
|
1133
1136
|
kind: "conflict_detected";
|
|
1137
|
+
summary: string;
|
|
1134
1138
|
conflictId: string;
|
|
1135
1139
|
decisionIds: string[];
|
|
1136
1140
|
agentIds: string[];
|
|
1137
1141
|
evidence?: {
|
|
1142
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1138
1143
|
id: string;
|
|
1139
1144
|
label: string;
|
|
1140
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1141
1145
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1142
1146
|
locator?: string | undefined;
|
|
1143
1147
|
}[] | undefined;
|
|
@@ -1157,27 +1161,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1157
1161
|
locator: z.ZodOptional<z.ZodString>;
|
|
1158
1162
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1159
1163
|
}, "strict", z.ZodTypeAny, {
|
|
1164
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1160
1165
|
id: string;
|
|
1161
1166
|
label: string;
|
|
1162
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1163
1167
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1164
1168
|
locator?: string | undefined;
|
|
1165
1169
|
}, {
|
|
1170
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1166
1171
|
id: string;
|
|
1167
1172
|
label: string;
|
|
1168
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1169
1173
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1170
1174
|
locator?: string | undefined;
|
|
1171
1175
|
}>, "many">>;
|
|
1172
1176
|
}, "strict", z.ZodTypeAny, {
|
|
1173
|
-
summary: string;
|
|
1174
|
-
status: "error" | "failed" | "passed";
|
|
1175
1177
|
kind: "test_result";
|
|
1178
|
+
summary: string;
|
|
1176
1179
|
command: string;
|
|
1180
|
+
status: "error" | "failed" | "passed";
|
|
1177
1181
|
evidence: {
|
|
1182
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1178
1183
|
id: string;
|
|
1179
1184
|
label: string;
|
|
1180
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1181
1185
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1182
1186
|
locator?: string | undefined;
|
|
1183
1187
|
}[];
|
|
@@ -1186,17 +1190,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1186
1190
|
durationMs?: number | undefined;
|
|
1187
1191
|
correctionId?: string | undefined;
|
|
1188
1192
|
}, {
|
|
1189
|
-
summary: string;
|
|
1190
|
-
status: "error" | "failed" | "passed";
|
|
1191
1193
|
kind: "test_result";
|
|
1194
|
+
summary: string;
|
|
1192
1195
|
command: string;
|
|
1196
|
+
status: "error" | "failed" | "passed";
|
|
1193
1197
|
decisionId: string;
|
|
1194
1198
|
testId: string;
|
|
1195
1199
|
durationMs?: number | undefined;
|
|
1196
1200
|
evidence?: {
|
|
1201
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1197
1202
|
id: string;
|
|
1198
1203
|
label: string;
|
|
1199
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1200
1204
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1201
1205
|
locator?: string | undefined;
|
|
1202
1206
|
}[] | undefined;
|
|
@@ -1217,15 +1221,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1217
1221
|
locator: z.ZodOptional<z.ZodString>;
|
|
1218
1222
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1219
1223
|
}, "strict", z.ZodTypeAny, {
|
|
1224
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1220
1225
|
id: string;
|
|
1221
1226
|
label: string;
|
|
1222
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1223
1227
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1224
1228
|
locator?: string | undefined;
|
|
1225
1229
|
}, {
|
|
1230
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1226
1231
|
id: string;
|
|
1227
1232
|
label: string;
|
|
1228
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1229
1233
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1230
1234
|
locator?: string | undefined;
|
|
1231
1235
|
}>, "many">>;
|
|
@@ -1234,9 +1238,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1234
1238
|
rationale: string;
|
|
1235
1239
|
statement: string;
|
|
1236
1240
|
evidence: {
|
|
1241
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1237
1242
|
id: string;
|
|
1238
1243
|
label: string;
|
|
1239
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1240
1244
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1241
1245
|
locator?: string | undefined;
|
|
1242
1246
|
}[];
|
|
@@ -1255,9 +1259,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1255
1259
|
supersedesDecisionIds: string[];
|
|
1256
1260
|
proposedBy: string;
|
|
1257
1261
|
evidence?: {
|
|
1262
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1258
1263
|
id: string;
|
|
1259
1264
|
label: string;
|
|
1260
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1261
1265
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1262
1266
|
locator?: string | undefined;
|
|
1263
1267
|
}[] | undefined;
|
|
@@ -1269,13 +1273,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1269
1273
|
id: z.ZodString;
|
|
1270
1274
|
label: z.ZodString;
|
|
1271
1275
|
}, "strict", z.ZodTypeAny, {
|
|
1276
|
+
kind: "agent" | "human";
|
|
1272
1277
|
id: string;
|
|
1273
1278
|
label: string;
|
|
1274
|
-
kind: "agent" | "human";
|
|
1275
1279
|
}, {
|
|
1280
|
+
kind: "agent" | "human";
|
|
1276
1281
|
id: string;
|
|
1277
1282
|
label: string;
|
|
1278
|
-
kind: "agent" | "human";
|
|
1279
1283
|
}>;
|
|
1280
1284
|
note: z.ZodOptional<z.ZodString>;
|
|
1281
1285
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1285,47 +1289,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1285
1289
|
locator: z.ZodOptional<z.ZodString>;
|
|
1286
1290
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1287
1291
|
}, "strict", z.ZodTypeAny, {
|
|
1292
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1288
1293
|
id: string;
|
|
1289
1294
|
label: string;
|
|
1290
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1291
1295
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1292
1296
|
locator?: string | undefined;
|
|
1293
1297
|
}, {
|
|
1298
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1294
1299
|
id: string;
|
|
1295
1300
|
label: string;
|
|
1296
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1297
1301
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1298
1302
|
locator?: string | undefined;
|
|
1299
1303
|
}>, "many">>;
|
|
1300
1304
|
}, "strict", z.ZodTypeAny, {
|
|
1301
1305
|
kind: "correction_approved";
|
|
1302
1306
|
evidence: {
|
|
1307
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1303
1308
|
id: string;
|
|
1304
1309
|
label: string;
|
|
1305
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1306
1310
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1307
1311
|
locator?: string | undefined;
|
|
1308
1312
|
}[];
|
|
1309
1313
|
correctionId: string;
|
|
1310
1314
|
approvedBy: {
|
|
1315
|
+
kind: "agent" | "human";
|
|
1311
1316
|
id: string;
|
|
1312
1317
|
label: string;
|
|
1313
|
-
kind: "agent" | "human";
|
|
1314
1318
|
};
|
|
1315
1319
|
note?: string | undefined;
|
|
1316
1320
|
}, {
|
|
1317
1321
|
kind: "correction_approved";
|
|
1318
1322
|
correctionId: string;
|
|
1319
1323
|
approvedBy: {
|
|
1324
|
+
kind: "agent" | "human";
|
|
1320
1325
|
id: string;
|
|
1321
1326
|
label: string;
|
|
1322
|
-
kind: "agent" | "human";
|
|
1323
1327
|
};
|
|
1324
1328
|
note?: string | undefined;
|
|
1325
1329
|
evidence?: {
|
|
1330
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1326
1331
|
id: string;
|
|
1327
1332
|
label: string;
|
|
1328
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1329
1333
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1330
1334
|
locator?: string | undefined;
|
|
1331
1335
|
}[] | undefined;
|
|
@@ -1341,24 +1345,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1341
1345
|
locator: z.ZodOptional<z.ZodString>;
|
|
1342
1346
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1343
1347
|
}, "strict", z.ZodTypeAny, {
|
|
1348
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1344
1349
|
id: string;
|
|
1345
1350
|
label: string;
|
|
1346
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1347
1351
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1348
1352
|
locator?: string | undefined;
|
|
1349
1353
|
}, {
|
|
1354
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1350
1355
|
id: string;
|
|
1351
1356
|
label: string;
|
|
1352
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1353
1357
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1354
1358
|
locator?: string | undefined;
|
|
1355
1359
|
}>, "many">>;
|
|
1356
1360
|
}, "strict", z.ZodTypeAny, {
|
|
1357
1361
|
kind: "decision_superseded";
|
|
1358
1362
|
evidence: {
|
|
1363
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1359
1364
|
id: string;
|
|
1360
1365
|
label: string;
|
|
1361
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1362
1366
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1363
1367
|
locator?: string | undefined;
|
|
1364
1368
|
}[];
|
|
@@ -1371,9 +1375,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1371
1375
|
correctionId: string;
|
|
1372
1376
|
replacementDecisionId: string;
|
|
1373
1377
|
evidence?: {
|
|
1378
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1374
1379
|
id: string;
|
|
1375
1380
|
label: string;
|
|
1376
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1377
1381
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1378
1382
|
locator?: string | undefined;
|
|
1379
1383
|
}[] | undefined;
|
|
@@ -1389,15 +1393,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1389
1393
|
locator: z.ZodOptional<z.ZodString>;
|
|
1390
1394
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1391
1395
|
}, "strict", z.ZodTypeAny, {
|
|
1396
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1392
1397
|
id: string;
|
|
1393
1398
|
label: string;
|
|
1394
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1395
1399
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1396
1400
|
locator?: string | undefined;
|
|
1397
1401
|
}, {
|
|
1402
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1398
1403
|
id: string;
|
|
1399
1404
|
label: string;
|
|
1400
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1401
1405
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1402
1406
|
locator?: string | undefined;
|
|
1403
1407
|
}>, "many">>;
|
|
@@ -1410,9 +1414,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1410
1414
|
agentId: string;
|
|
1411
1415
|
sessionId: string;
|
|
1412
1416
|
evidence: {
|
|
1417
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1413
1418
|
id: string;
|
|
1414
1419
|
label: string;
|
|
1415
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1416
1420
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1417
1421
|
locator?: string | undefined;
|
|
1418
1422
|
}[];
|
|
@@ -1428,9 +1432,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1428
1432
|
recallReceiptId: string;
|
|
1429
1433
|
capturedAtAction: boolean;
|
|
1430
1434
|
evidence?: {
|
|
1435
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1431
1436
|
id: string;
|
|
1432
1437
|
label: string;
|
|
1433
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1434
1438
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1435
1439
|
locator?: string | undefined;
|
|
1436
1440
|
}[] | undefined;
|
|
@@ -1446,15 +1450,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1446
1450
|
locator: z.ZodOptional<z.ZodString>;
|
|
1447
1451
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1448
1452
|
}, "strict", z.ZodTypeAny, {
|
|
1453
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1449
1454
|
id: string;
|
|
1450
1455
|
label: string;
|
|
1451
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1452
1456
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1453
1457
|
locator?: string | undefined;
|
|
1454
1458
|
}, {
|
|
1459
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1455
1460
|
id: string;
|
|
1456
1461
|
label: string;
|
|
1457
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1458
1462
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1459
1463
|
locator?: string | undefined;
|
|
1460
1464
|
}>, "many">>;
|
|
@@ -1466,9 +1470,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1466
1470
|
agentId: string;
|
|
1467
1471
|
sessionId: string;
|
|
1468
1472
|
evidence: {
|
|
1473
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1469
1474
|
id: string;
|
|
1470
1475
|
label: string;
|
|
1471
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1472
1476
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1473
1477
|
locator?: string | undefined;
|
|
1474
1478
|
}[];
|
|
@@ -1485,9 +1489,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1485
1489
|
recallReceiptId: string;
|
|
1486
1490
|
staleDecisionAbsent: boolean;
|
|
1487
1491
|
evidence?: {
|
|
1492
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1488
1493
|
id: string;
|
|
1489
1494
|
label: string;
|
|
1490
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1491
1495
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1492
1496
|
locator?: string | undefined;
|
|
1493
1497
|
}[] | undefined;
|
|
@@ -1502,37 +1506,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1502
1506
|
locator: z.ZodOptional<z.ZodString>;
|
|
1503
1507
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1504
1508
|
}, "strict", z.ZodTypeAny, {
|
|
1509
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1505
1510
|
id: string;
|
|
1506
1511
|
label: string;
|
|
1507
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1508
1512
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1509
1513
|
locator?: string | undefined;
|
|
1510
1514
|
}, {
|
|
1515
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1511
1516
|
id: string;
|
|
1512
1517
|
label: string;
|
|
1513
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1514
1518
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1515
1519
|
locator?: string | undefined;
|
|
1516
1520
|
}>, "many">>;
|
|
1517
1521
|
}, "strict", z.ZodTypeAny, {
|
|
1518
|
-
summary: string;
|
|
1519
1522
|
kind: "mission_completed";
|
|
1523
|
+
summary: string;
|
|
1520
1524
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1521
1525
|
evidence: {
|
|
1526
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1522
1527
|
id: string;
|
|
1523
1528
|
label: string;
|
|
1524
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1525
1529
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1526
1530
|
locator?: string | undefined;
|
|
1527
1531
|
}[];
|
|
1528
1532
|
}, {
|
|
1529
|
-
summary: string;
|
|
1530
1533
|
kind: "mission_completed";
|
|
1534
|
+
summary: string;
|
|
1531
1535
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1532
1536
|
evidence?: {
|
|
1537
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1533
1538
|
id: string;
|
|
1534
1539
|
label: string;
|
|
1535
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1536
1540
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1537
1541
|
locator?: string | undefined;
|
|
1538
1542
|
}[] | undefined;
|
|
@@ -1540,38 +1544,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1540
1544
|
kind: "mission_started";
|
|
1541
1545
|
title: string;
|
|
1542
1546
|
evidence: {
|
|
1547
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1543
1548
|
id: string;
|
|
1544
1549
|
label: string;
|
|
1545
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1546
1550
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1547
1551
|
locator?: string | undefined;
|
|
1548
1552
|
}[];
|
|
1549
1553
|
objective: string;
|
|
1550
1554
|
runMode: "replay" | "fixture" | "live";
|
|
1551
1555
|
} | {
|
|
1552
|
-
label: string;
|
|
1553
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1554
1556
|
kind: "agent_status";
|
|
1555
1557
|
role: string;
|
|
1558
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1559
|
+
label: string;
|
|
1556
1560
|
agentId: string;
|
|
1557
1561
|
sessionId: string;
|
|
1558
1562
|
evidence: {
|
|
1563
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1559
1564
|
id: string;
|
|
1560
1565
|
label: string;
|
|
1561
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1562
1566
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1563
1567
|
locator?: string | undefined;
|
|
1564
1568
|
}[];
|
|
1565
1569
|
detail?: string | undefined;
|
|
1566
1570
|
} | {
|
|
1567
|
-
summary: string;
|
|
1568
1571
|
kind: "agent_output";
|
|
1572
|
+
summary: string;
|
|
1569
1573
|
agentId: string;
|
|
1570
1574
|
sessionId: string;
|
|
1571
1575
|
evidence: {
|
|
1576
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1572
1577
|
id: string;
|
|
1573
1578
|
label: string;
|
|
1574
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1575
1579
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1576
1580
|
locator?: string | undefined;
|
|
1577
1581
|
}[];
|
|
@@ -1582,9 +1586,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1582
1586
|
statement: string;
|
|
1583
1587
|
sessionId: string;
|
|
1584
1588
|
evidence: {
|
|
1589
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1585
1590
|
id: string;
|
|
1586
1591
|
label: string;
|
|
1587
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1588
1592
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1589
1593
|
locator?: string | undefined;
|
|
1590
1594
|
}[];
|
|
@@ -1592,12 +1596,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1592
1596
|
decisionId: string;
|
|
1593
1597
|
confidence?: number | undefined;
|
|
1594
1598
|
} | {
|
|
1595
|
-
summary: string;
|
|
1596
1599
|
kind: "conflict_detected";
|
|
1600
|
+
summary: string;
|
|
1597
1601
|
evidence: {
|
|
1602
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1598
1603
|
id: string;
|
|
1599
1604
|
label: string;
|
|
1600
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1601
1605
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1602
1606
|
locator?: string | undefined;
|
|
1603
1607
|
}[];
|
|
@@ -1605,14 +1609,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1605
1609
|
decisionIds: string[];
|
|
1606
1610
|
agentIds: string[];
|
|
1607
1611
|
} | {
|
|
1608
|
-
summary: string;
|
|
1609
|
-
status: "error" | "failed" | "passed";
|
|
1610
1612
|
kind: "test_result";
|
|
1613
|
+
summary: string;
|
|
1611
1614
|
command: string;
|
|
1615
|
+
status: "error" | "failed" | "passed";
|
|
1612
1616
|
evidence: {
|
|
1617
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1613
1618
|
id: string;
|
|
1614
1619
|
label: string;
|
|
1615
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1616
1620
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1617
1621
|
locator?: string | undefined;
|
|
1618
1622
|
}[];
|
|
@@ -1625,9 +1629,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1625
1629
|
rationale: string;
|
|
1626
1630
|
statement: string;
|
|
1627
1631
|
evidence: {
|
|
1632
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1628
1633
|
id: string;
|
|
1629
1634
|
label: string;
|
|
1630
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1631
1635
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1632
1636
|
locator?: string | undefined;
|
|
1633
1637
|
}[];
|
|
@@ -1639,25 +1643,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1639
1643
|
} | {
|
|
1640
1644
|
kind: "correction_approved";
|
|
1641
1645
|
evidence: {
|
|
1646
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1642
1647
|
id: string;
|
|
1643
1648
|
label: string;
|
|
1644
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1645
1649
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1646
1650
|
locator?: string | undefined;
|
|
1647
1651
|
}[];
|
|
1648
1652
|
correctionId: string;
|
|
1649
1653
|
approvedBy: {
|
|
1654
|
+
kind: "agent" | "human";
|
|
1650
1655
|
id: string;
|
|
1651
1656
|
label: string;
|
|
1652
|
-
kind: "agent" | "human";
|
|
1653
1657
|
};
|
|
1654
1658
|
note?: string | undefined;
|
|
1655
1659
|
} | {
|
|
1656
1660
|
kind: "decision_superseded";
|
|
1657
1661
|
evidence: {
|
|
1662
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1658
1663
|
id: string;
|
|
1659
1664
|
label: string;
|
|
1660
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1661
1665
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1662
1666
|
locator?: string | undefined;
|
|
1663
1667
|
}[];
|
|
@@ -1670,9 +1674,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1670
1674
|
agentId: string;
|
|
1671
1675
|
sessionId: string;
|
|
1672
1676
|
evidence: {
|
|
1677
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1673
1678
|
id: string;
|
|
1674
1679
|
label: string;
|
|
1675
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1676
1680
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1677
1681
|
locator?: string | undefined;
|
|
1678
1682
|
}[];
|
|
@@ -1684,9 +1688,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1684
1688
|
agentId: string;
|
|
1685
1689
|
sessionId: string;
|
|
1686
1690
|
evidence: {
|
|
1691
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1687
1692
|
id: string;
|
|
1688
1693
|
label: string;
|
|
1689
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1690
1694
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1691
1695
|
locator?: string | undefined;
|
|
1692
1696
|
}[];
|
|
@@ -1695,13 +1699,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1695
1699
|
recallReceiptId: string;
|
|
1696
1700
|
staleDecisionAbsent: boolean;
|
|
1697
1701
|
} | {
|
|
1698
|
-
summary: string;
|
|
1699
1702
|
kind: "mission_completed";
|
|
1703
|
+
summary: string;
|
|
1700
1704
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1701
1705
|
evidence: {
|
|
1706
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1702
1707
|
id: string;
|
|
1703
1708
|
label: string;
|
|
1704
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1705
1709
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1706
1710
|
locator?: string | undefined;
|
|
1707
1711
|
}[];
|
|
@@ -1711,37 +1715,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1711
1715
|
objective: string;
|
|
1712
1716
|
runMode: "replay" | "fixture" | "live";
|
|
1713
1717
|
evidence?: {
|
|
1718
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1714
1719
|
id: string;
|
|
1715
1720
|
label: string;
|
|
1716
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1717
1721
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1718
1722
|
locator?: string | undefined;
|
|
1719
1723
|
}[] | undefined;
|
|
1720
1724
|
} | {
|
|
1721
|
-
label: string;
|
|
1722
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1723
1725
|
kind: "agent_status";
|
|
1724
1726
|
role: string;
|
|
1727
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1728
|
+
label: string;
|
|
1725
1729
|
agentId: string;
|
|
1726
1730
|
sessionId: string;
|
|
1727
1731
|
detail?: string | undefined;
|
|
1728
1732
|
evidence?: {
|
|
1733
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1729
1734
|
id: string;
|
|
1730
1735
|
label: string;
|
|
1731
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1732
1736
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1733
1737
|
locator?: string | undefined;
|
|
1734
1738
|
}[] | undefined;
|
|
1735
1739
|
} | {
|
|
1736
|
-
summary: string;
|
|
1737
1740
|
kind: "agent_output";
|
|
1741
|
+
summary: string;
|
|
1738
1742
|
agentId: string;
|
|
1739
1743
|
sessionId: string;
|
|
1740
1744
|
outputId: string;
|
|
1741
1745
|
evidence?: {
|
|
1746
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1742
1747
|
id: string;
|
|
1743
1748
|
label: string;
|
|
1744
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1745
1749
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1746
1750
|
locator?: string | undefined;
|
|
1747
1751
|
}[] | undefined;
|
|
@@ -1754,37 +1758,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1754
1758
|
decisionId: string;
|
|
1755
1759
|
confidence?: number | undefined;
|
|
1756
1760
|
evidence?: {
|
|
1761
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1757
1762
|
id: string;
|
|
1758
1763
|
label: string;
|
|
1759
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1760
1764
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1761
1765
|
locator?: string | undefined;
|
|
1762
1766
|
}[] | undefined;
|
|
1763
1767
|
} | {
|
|
1764
|
-
summary: string;
|
|
1765
1768
|
kind: "conflict_detected";
|
|
1769
|
+
summary: string;
|
|
1766
1770
|
conflictId: string;
|
|
1767
1771
|
decisionIds: string[];
|
|
1768
1772
|
agentIds: string[];
|
|
1769
1773
|
evidence?: {
|
|
1774
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1770
1775
|
id: string;
|
|
1771
1776
|
label: string;
|
|
1772
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1773
1777
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1774
1778
|
locator?: string | undefined;
|
|
1775
1779
|
}[] | undefined;
|
|
1776
1780
|
} | {
|
|
1777
|
-
summary: string;
|
|
1778
|
-
status: "error" | "failed" | "passed";
|
|
1779
1781
|
kind: "test_result";
|
|
1782
|
+
summary: string;
|
|
1780
1783
|
command: string;
|
|
1784
|
+
status: "error" | "failed" | "passed";
|
|
1781
1785
|
decisionId: string;
|
|
1782
1786
|
testId: string;
|
|
1783
1787
|
durationMs?: number | undefined;
|
|
1784
1788
|
evidence?: {
|
|
1789
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1785
1790
|
id: string;
|
|
1786
1791
|
label: string;
|
|
1787
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1788
1792
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1789
1793
|
locator?: string | undefined;
|
|
1790
1794
|
}[] | undefined;
|
|
@@ -1799,9 +1803,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1799
1803
|
supersedesDecisionIds: string[];
|
|
1800
1804
|
proposedBy: string;
|
|
1801
1805
|
evidence?: {
|
|
1806
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1802
1807
|
id: string;
|
|
1803
1808
|
label: string;
|
|
1804
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1805
1809
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1806
1810
|
locator?: string | undefined;
|
|
1807
1811
|
}[] | undefined;
|
|
@@ -1809,15 +1813,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1809
1813
|
kind: "correction_approved";
|
|
1810
1814
|
correctionId: string;
|
|
1811
1815
|
approvedBy: {
|
|
1816
|
+
kind: "agent" | "human";
|
|
1812
1817
|
id: string;
|
|
1813
1818
|
label: string;
|
|
1814
|
-
kind: "agent" | "human";
|
|
1815
1819
|
};
|
|
1816
1820
|
note?: string | undefined;
|
|
1817
1821
|
evidence?: {
|
|
1822
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1818
1823
|
id: string;
|
|
1819
1824
|
label: string;
|
|
1820
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1821
1825
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1822
1826
|
locator?: string | undefined;
|
|
1823
1827
|
}[] | undefined;
|
|
@@ -1827,9 +1831,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1827
1831
|
correctionId: string;
|
|
1828
1832
|
replacementDecisionId: string;
|
|
1829
1833
|
evidence?: {
|
|
1834
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1830
1835
|
id: string;
|
|
1831
1836
|
label: string;
|
|
1832
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1833
1837
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1834
1838
|
locator?: string | undefined;
|
|
1835
1839
|
}[] | undefined;
|
|
@@ -1842,9 +1846,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1842
1846
|
recallReceiptId: string;
|
|
1843
1847
|
capturedAtAction: boolean;
|
|
1844
1848
|
evidence?: {
|
|
1849
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1845
1850
|
id: string;
|
|
1846
1851
|
label: string;
|
|
1847
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1848
1852
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1849
1853
|
locator?: string | undefined;
|
|
1850
1854
|
}[] | undefined;
|
|
@@ -1857,20 +1861,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1857
1861
|
recallReceiptId: string;
|
|
1858
1862
|
staleDecisionAbsent: boolean;
|
|
1859
1863
|
evidence?: {
|
|
1864
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1860
1865
|
id: string;
|
|
1861
1866
|
label: string;
|
|
1862
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1863
1867
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1864
1868
|
locator?: string | undefined;
|
|
1865
1869
|
}[] | undefined;
|
|
1866
1870
|
} | {
|
|
1867
|
-
summary: string;
|
|
1868
1871
|
kind: "mission_completed";
|
|
1872
|
+
summary: string;
|
|
1869
1873
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1870
1874
|
evidence?: {
|
|
1875
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1871
1876
|
id: string;
|
|
1872
1877
|
label: string;
|
|
1873
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1874
1878
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1875
1879
|
locator?: string | undefined;
|
|
1876
1880
|
}[] | undefined;
|
|
@@ -1891,15 +1895,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1891
1895
|
locator: z.ZodOptional<z.ZodString>;
|
|
1892
1896
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1893
1897
|
}, "strict", z.ZodTypeAny, {
|
|
1898
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1894
1899
|
id: string;
|
|
1895
1900
|
label: string;
|
|
1896
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1897
1901
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1898
1902
|
locator?: string | undefined;
|
|
1899
1903
|
}, {
|
|
1904
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1900
1905
|
id: string;
|
|
1901
1906
|
label: string;
|
|
1902
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1903
1907
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1904
1908
|
locator?: string | undefined;
|
|
1905
1909
|
}>, "many">>;
|
|
@@ -1907,9 +1911,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1907
1911
|
kind: "mission_started";
|
|
1908
1912
|
title: string;
|
|
1909
1913
|
evidence: {
|
|
1914
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1910
1915
|
id: string;
|
|
1911
1916
|
label: string;
|
|
1912
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1913
1917
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1914
1918
|
locator?: string | undefined;
|
|
1915
1919
|
}[];
|
|
@@ -1921,9 +1925,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1921
1925
|
objective: string;
|
|
1922
1926
|
runMode: "replay" | "fixture" | "live";
|
|
1923
1927
|
evidence?: {
|
|
1928
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1924
1929
|
id: string;
|
|
1925
1930
|
label: string;
|
|
1926
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1927
1931
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1928
1932
|
locator?: string | undefined;
|
|
1929
1933
|
}[] | undefined;
|
|
@@ -1939,15 +1943,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1939
1943
|
locator: z.ZodOptional<z.ZodString>;
|
|
1940
1944
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1941
1945
|
}, "strict", z.ZodTypeAny, {
|
|
1946
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1942
1947
|
id: string;
|
|
1943
1948
|
label: string;
|
|
1944
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1945
1949
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1946
1950
|
locator?: string | undefined;
|
|
1947
1951
|
}, {
|
|
1952
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1948
1953
|
id: string;
|
|
1949
1954
|
label: string;
|
|
1950
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1951
1955
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1952
1956
|
locator?: string | undefined;
|
|
1953
1957
|
}>, "many">>;
|
|
@@ -1955,32 +1959,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1955
1959
|
sessionId: z.ZodString;
|
|
1956
1960
|
kind: z.ZodLiteral<"agent_status">;
|
|
1957
1961
|
}, "strict", z.ZodTypeAny, {
|
|
1958
|
-
label: string;
|
|
1959
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1960
1962
|
kind: "agent_status";
|
|
1961
1963
|
role: string;
|
|
1964
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1965
|
+
label: string;
|
|
1962
1966
|
agentId: string;
|
|
1963
1967
|
sessionId: string;
|
|
1964
1968
|
evidence: {
|
|
1969
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1965
1970
|
id: string;
|
|
1966
1971
|
label: string;
|
|
1967
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1968
1972
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1969
1973
|
locator?: string | undefined;
|
|
1970
1974
|
}[];
|
|
1971
1975
|
detail?: string | undefined;
|
|
1972
1976
|
}, {
|
|
1973
|
-
label: string;
|
|
1974
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1975
1977
|
kind: "agent_status";
|
|
1976
1978
|
role: string;
|
|
1979
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1980
|
+
label: string;
|
|
1977
1981
|
agentId: string;
|
|
1978
1982
|
sessionId: string;
|
|
1979
1983
|
detail?: string | undefined;
|
|
1980
1984
|
evidence?: {
|
|
1985
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1981
1986
|
id: string;
|
|
1982
1987
|
label: string;
|
|
1983
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1984
1988
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1985
1989
|
locator?: string | undefined;
|
|
1986
1990
|
}[] | undefined;
|
|
@@ -1994,15 +1998,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1994
1998
|
locator: z.ZodOptional<z.ZodString>;
|
|
1995
1999
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1996
2000
|
}, "strict", z.ZodTypeAny, {
|
|
2001
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1997
2002
|
id: string;
|
|
1998
2003
|
label: string;
|
|
1999
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2000
2004
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2001
2005
|
locator?: string | undefined;
|
|
2002
2006
|
}, {
|
|
2007
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2003
2008
|
id: string;
|
|
2004
2009
|
label: string;
|
|
2005
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2006
2010
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2007
2011
|
locator?: string | undefined;
|
|
2008
2012
|
}>, "many">>;
|
|
@@ -2010,28 +2014,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2010
2014
|
sessionId: z.ZodString;
|
|
2011
2015
|
kind: z.ZodLiteral<"agent_output">;
|
|
2012
2016
|
}, "strict", z.ZodTypeAny, {
|
|
2013
|
-
summary: string;
|
|
2014
2017
|
kind: "agent_output";
|
|
2018
|
+
summary: string;
|
|
2015
2019
|
agentId: string;
|
|
2016
2020
|
sessionId: string;
|
|
2017
2021
|
evidence: {
|
|
2022
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2018
2023
|
id: string;
|
|
2019
2024
|
label: string;
|
|
2020
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2021
2025
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2022
2026
|
locator?: string | undefined;
|
|
2023
2027
|
}[];
|
|
2024
2028
|
outputId: string;
|
|
2025
2029
|
}, {
|
|
2026
|
-
summary: string;
|
|
2027
2030
|
kind: "agent_output";
|
|
2031
|
+
summary: string;
|
|
2028
2032
|
agentId: string;
|
|
2029
2033
|
sessionId: string;
|
|
2030
2034
|
outputId: string;
|
|
2031
2035
|
evidence?: {
|
|
2036
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2032
2037
|
id: string;
|
|
2033
2038
|
label: string;
|
|
2034
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2035
2039
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2036
2040
|
locator?: string | undefined;
|
|
2037
2041
|
}[] | undefined;
|
|
@@ -2047,15 +2051,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2047
2051
|
locator: z.ZodOptional<z.ZodString>;
|
|
2048
2052
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2049
2053
|
}, "strict", z.ZodTypeAny, {
|
|
2054
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2050
2055
|
id: string;
|
|
2051
2056
|
label: string;
|
|
2052
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2053
2057
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2054
2058
|
locator?: string | undefined;
|
|
2055
2059
|
}, {
|
|
2060
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2056
2061
|
id: string;
|
|
2057
2062
|
label: string;
|
|
2058
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2059
2063
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2060
2064
|
locator?: string | undefined;
|
|
2061
2065
|
}>, "many">>;
|
|
@@ -2068,9 +2072,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2068
2072
|
statement: string;
|
|
2069
2073
|
sessionId: string;
|
|
2070
2074
|
evidence: {
|
|
2075
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2071
2076
|
id: string;
|
|
2072
2077
|
label: string;
|
|
2073
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2074
2078
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2075
2079
|
locator?: string | undefined;
|
|
2076
2080
|
}[];
|
|
@@ -2086,9 +2090,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2086
2090
|
decisionId: string;
|
|
2087
2091
|
confidence?: number | undefined;
|
|
2088
2092
|
evidence?: {
|
|
2093
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2089
2094
|
id: string;
|
|
2090
2095
|
label: string;
|
|
2091
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2092
2096
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2093
2097
|
locator?: string | undefined;
|
|
2094
2098
|
}[] | undefined;
|
|
@@ -2105,25 +2109,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2105
2109
|
locator: z.ZodOptional<z.ZodString>;
|
|
2106
2110
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2107
2111
|
}, "strict", z.ZodTypeAny, {
|
|
2112
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2108
2113
|
id: string;
|
|
2109
2114
|
label: string;
|
|
2110
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2111
2115
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2112
2116
|
locator?: string | undefined;
|
|
2113
2117
|
}, {
|
|
2118
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2114
2119
|
id: string;
|
|
2115
2120
|
label: string;
|
|
2116
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2117
2121
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2118
2122
|
locator?: string | undefined;
|
|
2119
2123
|
}>, "many">>;
|
|
2120
2124
|
}, "strict", z.ZodTypeAny, {
|
|
2121
|
-
summary: string;
|
|
2122
2125
|
kind: "conflict_detected";
|
|
2126
|
+
summary: string;
|
|
2123
2127
|
evidence: {
|
|
2128
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2124
2129
|
id: string;
|
|
2125
2130
|
label: string;
|
|
2126
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2127
2131
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2128
2132
|
locator?: string | undefined;
|
|
2129
2133
|
}[];
|
|
@@ -2131,15 +2135,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2131
2135
|
decisionIds: string[];
|
|
2132
2136
|
agentIds: string[];
|
|
2133
2137
|
}, {
|
|
2134
|
-
summary: string;
|
|
2135
2138
|
kind: "conflict_detected";
|
|
2139
|
+
summary: string;
|
|
2136
2140
|
conflictId: string;
|
|
2137
2141
|
decisionIds: string[];
|
|
2138
2142
|
agentIds: string[];
|
|
2139
2143
|
evidence?: {
|
|
2144
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2140
2145
|
id: string;
|
|
2141
2146
|
label: string;
|
|
2142
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2143
2147
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2144
2148
|
locator?: string | undefined;
|
|
2145
2149
|
}[] | undefined;
|
|
@@ -2159,27 +2163,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2159
2163
|
locator: z.ZodOptional<z.ZodString>;
|
|
2160
2164
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2161
2165
|
}, "strict", z.ZodTypeAny, {
|
|
2166
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2162
2167
|
id: string;
|
|
2163
2168
|
label: string;
|
|
2164
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2165
2169
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2166
2170
|
locator?: string | undefined;
|
|
2167
2171
|
}, {
|
|
2172
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2168
2173
|
id: string;
|
|
2169
2174
|
label: string;
|
|
2170
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2171
2175
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2172
2176
|
locator?: string | undefined;
|
|
2173
2177
|
}>, "many">>;
|
|
2174
2178
|
}, "strict", z.ZodTypeAny, {
|
|
2175
|
-
summary: string;
|
|
2176
|
-
status: "error" | "failed" | "passed";
|
|
2177
2179
|
kind: "test_result";
|
|
2180
|
+
summary: string;
|
|
2178
2181
|
command: string;
|
|
2182
|
+
status: "error" | "failed" | "passed";
|
|
2179
2183
|
evidence: {
|
|
2184
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2180
2185
|
id: string;
|
|
2181
2186
|
label: string;
|
|
2182
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2183
2187
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2184
2188
|
locator?: string | undefined;
|
|
2185
2189
|
}[];
|
|
@@ -2188,17 +2192,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2188
2192
|
durationMs?: number | undefined;
|
|
2189
2193
|
correctionId?: string | undefined;
|
|
2190
2194
|
}, {
|
|
2191
|
-
summary: string;
|
|
2192
|
-
status: "error" | "failed" | "passed";
|
|
2193
2195
|
kind: "test_result";
|
|
2196
|
+
summary: string;
|
|
2194
2197
|
command: string;
|
|
2198
|
+
status: "error" | "failed" | "passed";
|
|
2195
2199
|
decisionId: string;
|
|
2196
2200
|
testId: string;
|
|
2197
2201
|
durationMs?: number | undefined;
|
|
2198
2202
|
evidence?: {
|
|
2203
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2199
2204
|
id: string;
|
|
2200
2205
|
label: string;
|
|
2201
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2202
2206
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2203
2207
|
locator?: string | undefined;
|
|
2204
2208
|
}[] | undefined;
|
|
@@ -2219,15 +2223,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2219
2223
|
locator: z.ZodOptional<z.ZodString>;
|
|
2220
2224
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2221
2225
|
}, "strict", z.ZodTypeAny, {
|
|
2226
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2222
2227
|
id: string;
|
|
2223
2228
|
label: string;
|
|
2224
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2225
2229
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2226
2230
|
locator?: string | undefined;
|
|
2227
2231
|
}, {
|
|
2232
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2228
2233
|
id: string;
|
|
2229
2234
|
label: string;
|
|
2230
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2231
2235
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2232
2236
|
locator?: string | undefined;
|
|
2233
2237
|
}>, "many">>;
|
|
@@ -2236,9 +2240,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2236
2240
|
rationale: string;
|
|
2237
2241
|
statement: string;
|
|
2238
2242
|
evidence: {
|
|
2243
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2239
2244
|
id: string;
|
|
2240
2245
|
label: string;
|
|
2241
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2242
2246
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2243
2247
|
locator?: string | undefined;
|
|
2244
2248
|
}[];
|
|
@@ -2257,9 +2261,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2257
2261
|
supersedesDecisionIds: string[];
|
|
2258
2262
|
proposedBy: string;
|
|
2259
2263
|
evidence?: {
|
|
2264
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2260
2265
|
id: string;
|
|
2261
2266
|
label: string;
|
|
2262
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2263
2267
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2264
2268
|
locator?: string | undefined;
|
|
2265
2269
|
}[] | undefined;
|
|
@@ -2271,13 +2275,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2271
2275
|
id: z.ZodString;
|
|
2272
2276
|
label: z.ZodString;
|
|
2273
2277
|
}, "strict", z.ZodTypeAny, {
|
|
2278
|
+
kind: "agent" | "human";
|
|
2274
2279
|
id: string;
|
|
2275
2280
|
label: string;
|
|
2276
|
-
kind: "agent" | "human";
|
|
2277
2281
|
}, {
|
|
2282
|
+
kind: "agent" | "human";
|
|
2278
2283
|
id: string;
|
|
2279
2284
|
label: string;
|
|
2280
|
-
kind: "agent" | "human";
|
|
2281
2285
|
}>;
|
|
2282
2286
|
note: z.ZodOptional<z.ZodString>;
|
|
2283
2287
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2287,47 +2291,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2287
2291
|
locator: z.ZodOptional<z.ZodString>;
|
|
2288
2292
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2289
2293
|
}, "strict", z.ZodTypeAny, {
|
|
2294
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2290
2295
|
id: string;
|
|
2291
2296
|
label: string;
|
|
2292
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2293
2297
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2294
2298
|
locator?: string | undefined;
|
|
2295
2299
|
}, {
|
|
2300
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2296
2301
|
id: string;
|
|
2297
2302
|
label: string;
|
|
2298
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2299
2303
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2300
2304
|
locator?: string | undefined;
|
|
2301
2305
|
}>, "many">>;
|
|
2302
2306
|
}, "strict", z.ZodTypeAny, {
|
|
2303
2307
|
kind: "correction_approved";
|
|
2304
2308
|
evidence: {
|
|
2309
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2305
2310
|
id: string;
|
|
2306
2311
|
label: string;
|
|
2307
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2308
2312
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2309
2313
|
locator?: string | undefined;
|
|
2310
2314
|
}[];
|
|
2311
2315
|
correctionId: string;
|
|
2312
2316
|
approvedBy: {
|
|
2317
|
+
kind: "agent" | "human";
|
|
2313
2318
|
id: string;
|
|
2314
2319
|
label: string;
|
|
2315
|
-
kind: "agent" | "human";
|
|
2316
2320
|
};
|
|
2317
2321
|
note?: string | undefined;
|
|
2318
2322
|
}, {
|
|
2319
2323
|
kind: "correction_approved";
|
|
2320
2324
|
correctionId: string;
|
|
2321
2325
|
approvedBy: {
|
|
2326
|
+
kind: "agent" | "human";
|
|
2322
2327
|
id: string;
|
|
2323
2328
|
label: string;
|
|
2324
|
-
kind: "agent" | "human";
|
|
2325
2329
|
};
|
|
2326
2330
|
note?: string | undefined;
|
|
2327
2331
|
evidence?: {
|
|
2332
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2328
2333
|
id: string;
|
|
2329
2334
|
label: string;
|
|
2330
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2331
2335
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2332
2336
|
locator?: string | undefined;
|
|
2333
2337
|
}[] | undefined;
|
|
@@ -2343,24 +2347,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2343
2347
|
locator: z.ZodOptional<z.ZodString>;
|
|
2344
2348
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2345
2349
|
}, "strict", z.ZodTypeAny, {
|
|
2350
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2346
2351
|
id: string;
|
|
2347
2352
|
label: string;
|
|
2348
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2349
2353
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2350
2354
|
locator?: string | undefined;
|
|
2351
2355
|
}, {
|
|
2356
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2352
2357
|
id: string;
|
|
2353
2358
|
label: string;
|
|
2354
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2355
2359
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2356
2360
|
locator?: string | undefined;
|
|
2357
2361
|
}>, "many">>;
|
|
2358
2362
|
}, "strict", z.ZodTypeAny, {
|
|
2359
2363
|
kind: "decision_superseded";
|
|
2360
2364
|
evidence: {
|
|
2365
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2361
2366
|
id: string;
|
|
2362
2367
|
label: string;
|
|
2363
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2364
2368
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2365
2369
|
locator?: string | undefined;
|
|
2366
2370
|
}[];
|
|
@@ -2373,9 +2377,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2373
2377
|
correctionId: string;
|
|
2374
2378
|
replacementDecisionId: string;
|
|
2375
2379
|
evidence?: {
|
|
2380
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2376
2381
|
id: string;
|
|
2377
2382
|
label: string;
|
|
2378
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2379
2383
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2380
2384
|
locator?: string | undefined;
|
|
2381
2385
|
}[] | undefined;
|
|
@@ -2391,15 +2395,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2391
2395
|
locator: z.ZodOptional<z.ZodString>;
|
|
2392
2396
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2393
2397
|
}, "strict", z.ZodTypeAny, {
|
|
2398
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2394
2399
|
id: string;
|
|
2395
2400
|
label: string;
|
|
2396
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2397
2401
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2398
2402
|
locator?: string | undefined;
|
|
2399
2403
|
}, {
|
|
2404
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2400
2405
|
id: string;
|
|
2401
2406
|
label: string;
|
|
2402
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2403
2407
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2404
2408
|
locator?: string | undefined;
|
|
2405
2409
|
}>, "many">>;
|
|
@@ -2412,9 +2416,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2412
2416
|
agentId: string;
|
|
2413
2417
|
sessionId: string;
|
|
2414
2418
|
evidence: {
|
|
2419
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2415
2420
|
id: string;
|
|
2416
2421
|
label: string;
|
|
2417
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2418
2422
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2419
2423
|
locator?: string | undefined;
|
|
2420
2424
|
}[];
|
|
@@ -2430,9 +2434,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2430
2434
|
recallReceiptId: string;
|
|
2431
2435
|
capturedAtAction: boolean;
|
|
2432
2436
|
evidence?: {
|
|
2437
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2433
2438
|
id: string;
|
|
2434
2439
|
label: string;
|
|
2435
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2436
2440
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2437
2441
|
locator?: string | undefined;
|
|
2438
2442
|
}[] | undefined;
|
|
@@ -2448,15 +2452,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2448
2452
|
locator: z.ZodOptional<z.ZodString>;
|
|
2449
2453
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2450
2454
|
}, "strict", z.ZodTypeAny, {
|
|
2455
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2451
2456
|
id: string;
|
|
2452
2457
|
label: string;
|
|
2453
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2454
2458
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2455
2459
|
locator?: string | undefined;
|
|
2456
2460
|
}, {
|
|
2461
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2457
2462
|
id: string;
|
|
2458
2463
|
label: string;
|
|
2459
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2460
2464
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2461
2465
|
locator?: string | undefined;
|
|
2462
2466
|
}>, "many">>;
|
|
@@ -2468,9 +2472,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2468
2472
|
agentId: string;
|
|
2469
2473
|
sessionId: string;
|
|
2470
2474
|
evidence: {
|
|
2475
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2471
2476
|
id: string;
|
|
2472
2477
|
label: string;
|
|
2473
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2474
2478
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2475
2479
|
locator?: string | undefined;
|
|
2476
2480
|
}[];
|
|
@@ -2487,9 +2491,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2487
2491
|
recallReceiptId: string;
|
|
2488
2492
|
staleDecisionAbsent: boolean;
|
|
2489
2493
|
evidence?: {
|
|
2494
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2490
2495
|
id: string;
|
|
2491
2496
|
label: string;
|
|
2492
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2493
2497
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2494
2498
|
locator?: string | undefined;
|
|
2495
2499
|
}[] | undefined;
|
|
@@ -2504,37 +2508,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2504
2508
|
locator: z.ZodOptional<z.ZodString>;
|
|
2505
2509
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2506
2510
|
}, "strict", z.ZodTypeAny, {
|
|
2511
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2507
2512
|
id: string;
|
|
2508
2513
|
label: string;
|
|
2509
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2510
2514
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2511
2515
|
locator?: string | undefined;
|
|
2512
2516
|
}, {
|
|
2517
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2513
2518
|
id: string;
|
|
2514
2519
|
label: string;
|
|
2515
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2516
2520
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2517
2521
|
locator?: string | undefined;
|
|
2518
2522
|
}>, "many">>;
|
|
2519
2523
|
}, "strict", z.ZodTypeAny, {
|
|
2520
|
-
summary: string;
|
|
2521
2524
|
kind: "mission_completed";
|
|
2525
|
+
summary: string;
|
|
2522
2526
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2523
2527
|
evidence: {
|
|
2528
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2524
2529
|
id: string;
|
|
2525
2530
|
label: string;
|
|
2526
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2527
2531
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2528
2532
|
locator?: string | undefined;
|
|
2529
2533
|
}[];
|
|
2530
2534
|
}, {
|
|
2531
|
-
summary: string;
|
|
2532
2535
|
kind: "mission_completed";
|
|
2536
|
+
summary: string;
|
|
2533
2537
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2534
2538
|
evidence?: {
|
|
2539
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2535
2540
|
id: string;
|
|
2536
2541
|
label: string;
|
|
2537
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2538
2542
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2539
2543
|
locator?: string | undefined;
|
|
2540
2544
|
}[] | undefined;
|
|
@@ -2542,38 +2546,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2542
2546
|
kind: "mission_started";
|
|
2543
2547
|
title: string;
|
|
2544
2548
|
evidence: {
|
|
2549
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2545
2550
|
id: string;
|
|
2546
2551
|
label: string;
|
|
2547
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2548
2552
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2549
2553
|
locator?: string | undefined;
|
|
2550
2554
|
}[];
|
|
2551
2555
|
objective: string;
|
|
2552
2556
|
runMode: "replay" | "fixture" | "live";
|
|
2553
2557
|
} | {
|
|
2554
|
-
label: string;
|
|
2555
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2556
2558
|
kind: "agent_status";
|
|
2557
2559
|
role: string;
|
|
2560
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2561
|
+
label: string;
|
|
2558
2562
|
agentId: string;
|
|
2559
2563
|
sessionId: string;
|
|
2560
2564
|
evidence: {
|
|
2565
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2561
2566
|
id: string;
|
|
2562
2567
|
label: string;
|
|
2563
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2564
2568
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2565
2569
|
locator?: string | undefined;
|
|
2566
2570
|
}[];
|
|
2567
2571
|
detail?: string | undefined;
|
|
2568
2572
|
} | {
|
|
2569
|
-
summary: string;
|
|
2570
2573
|
kind: "agent_output";
|
|
2574
|
+
summary: string;
|
|
2571
2575
|
agentId: string;
|
|
2572
2576
|
sessionId: string;
|
|
2573
2577
|
evidence: {
|
|
2578
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2574
2579
|
id: string;
|
|
2575
2580
|
label: string;
|
|
2576
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2577
2581
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2578
2582
|
locator?: string | undefined;
|
|
2579
2583
|
}[];
|
|
@@ -2584,9 +2588,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2584
2588
|
statement: string;
|
|
2585
2589
|
sessionId: string;
|
|
2586
2590
|
evidence: {
|
|
2591
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2587
2592
|
id: string;
|
|
2588
2593
|
label: string;
|
|
2589
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2590
2594
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2591
2595
|
locator?: string | undefined;
|
|
2592
2596
|
}[];
|
|
@@ -2594,12 +2598,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2594
2598
|
decisionId: string;
|
|
2595
2599
|
confidence?: number | undefined;
|
|
2596
2600
|
} | {
|
|
2597
|
-
summary: string;
|
|
2598
2601
|
kind: "conflict_detected";
|
|
2602
|
+
summary: string;
|
|
2599
2603
|
evidence: {
|
|
2604
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2600
2605
|
id: string;
|
|
2601
2606
|
label: string;
|
|
2602
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2603
2607
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2604
2608
|
locator?: string | undefined;
|
|
2605
2609
|
}[];
|
|
@@ -2607,14 +2611,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2607
2611
|
decisionIds: string[];
|
|
2608
2612
|
agentIds: string[];
|
|
2609
2613
|
} | {
|
|
2610
|
-
summary: string;
|
|
2611
|
-
status: "error" | "failed" | "passed";
|
|
2612
2614
|
kind: "test_result";
|
|
2615
|
+
summary: string;
|
|
2613
2616
|
command: string;
|
|
2617
|
+
status: "error" | "failed" | "passed";
|
|
2614
2618
|
evidence: {
|
|
2619
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2615
2620
|
id: string;
|
|
2616
2621
|
label: string;
|
|
2617
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2618
2622
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2619
2623
|
locator?: string | undefined;
|
|
2620
2624
|
}[];
|
|
@@ -2627,9 +2631,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2627
2631
|
rationale: string;
|
|
2628
2632
|
statement: string;
|
|
2629
2633
|
evidence: {
|
|
2634
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2630
2635
|
id: string;
|
|
2631
2636
|
label: string;
|
|
2632
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2633
2637
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2634
2638
|
locator?: string | undefined;
|
|
2635
2639
|
}[];
|
|
@@ -2641,25 +2645,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2641
2645
|
} | {
|
|
2642
2646
|
kind: "correction_approved";
|
|
2643
2647
|
evidence: {
|
|
2648
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2644
2649
|
id: string;
|
|
2645
2650
|
label: string;
|
|
2646
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2647
2651
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2648
2652
|
locator?: string | undefined;
|
|
2649
2653
|
}[];
|
|
2650
2654
|
correctionId: string;
|
|
2651
2655
|
approvedBy: {
|
|
2656
|
+
kind: "agent" | "human";
|
|
2652
2657
|
id: string;
|
|
2653
2658
|
label: string;
|
|
2654
|
-
kind: "agent" | "human";
|
|
2655
2659
|
};
|
|
2656
2660
|
note?: string | undefined;
|
|
2657
2661
|
} | {
|
|
2658
2662
|
kind: "decision_superseded";
|
|
2659
2663
|
evidence: {
|
|
2664
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2660
2665
|
id: string;
|
|
2661
2666
|
label: string;
|
|
2662
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2663
2667
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2664
2668
|
locator?: string | undefined;
|
|
2665
2669
|
}[];
|
|
@@ -2672,9 +2676,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2672
2676
|
agentId: string;
|
|
2673
2677
|
sessionId: string;
|
|
2674
2678
|
evidence: {
|
|
2679
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2675
2680
|
id: string;
|
|
2676
2681
|
label: string;
|
|
2677
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2678
2682
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2679
2683
|
locator?: string | undefined;
|
|
2680
2684
|
}[];
|
|
@@ -2686,9 +2690,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2686
2690
|
agentId: string;
|
|
2687
2691
|
sessionId: string;
|
|
2688
2692
|
evidence: {
|
|
2693
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2689
2694
|
id: string;
|
|
2690
2695
|
label: string;
|
|
2691
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2692
2696
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2693
2697
|
locator?: string | undefined;
|
|
2694
2698
|
}[];
|
|
@@ -2697,13 +2701,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2697
2701
|
recallReceiptId: string;
|
|
2698
2702
|
staleDecisionAbsent: boolean;
|
|
2699
2703
|
} | {
|
|
2700
|
-
summary: string;
|
|
2701
2704
|
kind: "mission_completed";
|
|
2705
|
+
summary: string;
|
|
2702
2706
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2703
2707
|
evidence: {
|
|
2708
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2704
2709
|
id: string;
|
|
2705
2710
|
label: string;
|
|
2706
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2707
2711
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2708
2712
|
locator?: string | undefined;
|
|
2709
2713
|
}[];
|
|
@@ -2713,37 +2717,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2713
2717
|
objective: string;
|
|
2714
2718
|
runMode: "replay" | "fixture" | "live";
|
|
2715
2719
|
evidence?: {
|
|
2720
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2716
2721
|
id: string;
|
|
2717
2722
|
label: string;
|
|
2718
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2719
2723
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2720
2724
|
locator?: string | undefined;
|
|
2721
2725
|
}[] | undefined;
|
|
2722
2726
|
} | {
|
|
2723
|
-
label: string;
|
|
2724
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2725
2727
|
kind: "agent_status";
|
|
2726
2728
|
role: string;
|
|
2729
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2730
|
+
label: string;
|
|
2727
2731
|
agentId: string;
|
|
2728
2732
|
sessionId: string;
|
|
2729
2733
|
detail?: string | undefined;
|
|
2730
2734
|
evidence?: {
|
|
2735
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2731
2736
|
id: string;
|
|
2732
2737
|
label: string;
|
|
2733
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2734
2738
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2735
2739
|
locator?: string | undefined;
|
|
2736
2740
|
}[] | undefined;
|
|
2737
2741
|
} | {
|
|
2738
|
-
summary: string;
|
|
2739
2742
|
kind: "agent_output";
|
|
2743
|
+
summary: string;
|
|
2740
2744
|
agentId: string;
|
|
2741
2745
|
sessionId: string;
|
|
2742
2746
|
outputId: string;
|
|
2743
2747
|
evidence?: {
|
|
2748
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2744
2749
|
id: string;
|
|
2745
2750
|
label: string;
|
|
2746
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2747
2751
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2748
2752
|
locator?: string | undefined;
|
|
2749
2753
|
}[] | undefined;
|
|
@@ -2756,37 +2760,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2756
2760
|
decisionId: string;
|
|
2757
2761
|
confidence?: number | undefined;
|
|
2758
2762
|
evidence?: {
|
|
2763
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2759
2764
|
id: string;
|
|
2760
2765
|
label: string;
|
|
2761
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2762
2766
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2763
2767
|
locator?: string | undefined;
|
|
2764
2768
|
}[] | undefined;
|
|
2765
2769
|
} | {
|
|
2766
|
-
summary: string;
|
|
2767
2770
|
kind: "conflict_detected";
|
|
2771
|
+
summary: string;
|
|
2768
2772
|
conflictId: string;
|
|
2769
2773
|
decisionIds: string[];
|
|
2770
2774
|
agentIds: string[];
|
|
2771
2775
|
evidence?: {
|
|
2776
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2772
2777
|
id: string;
|
|
2773
2778
|
label: string;
|
|
2774
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2775
2779
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2776
2780
|
locator?: string | undefined;
|
|
2777
2781
|
}[] | undefined;
|
|
2778
2782
|
} | {
|
|
2779
|
-
summary: string;
|
|
2780
|
-
status: "error" | "failed" | "passed";
|
|
2781
2783
|
kind: "test_result";
|
|
2784
|
+
summary: string;
|
|
2782
2785
|
command: string;
|
|
2786
|
+
status: "error" | "failed" | "passed";
|
|
2783
2787
|
decisionId: string;
|
|
2784
2788
|
testId: string;
|
|
2785
2789
|
durationMs?: number | undefined;
|
|
2786
2790
|
evidence?: {
|
|
2791
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2787
2792
|
id: string;
|
|
2788
2793
|
label: string;
|
|
2789
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2790
2794
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2791
2795
|
locator?: string | undefined;
|
|
2792
2796
|
}[] | undefined;
|
|
@@ -2801,9 +2805,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2801
2805
|
supersedesDecisionIds: string[];
|
|
2802
2806
|
proposedBy: string;
|
|
2803
2807
|
evidence?: {
|
|
2808
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2804
2809
|
id: string;
|
|
2805
2810
|
label: string;
|
|
2806
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2807
2811
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2808
2812
|
locator?: string | undefined;
|
|
2809
2813
|
}[] | undefined;
|
|
@@ -2811,15 +2815,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2811
2815
|
kind: "correction_approved";
|
|
2812
2816
|
correctionId: string;
|
|
2813
2817
|
approvedBy: {
|
|
2818
|
+
kind: "agent" | "human";
|
|
2814
2819
|
id: string;
|
|
2815
2820
|
label: string;
|
|
2816
|
-
kind: "agent" | "human";
|
|
2817
2821
|
};
|
|
2818
2822
|
note?: string | undefined;
|
|
2819
2823
|
evidence?: {
|
|
2824
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2820
2825
|
id: string;
|
|
2821
2826
|
label: string;
|
|
2822
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2823
2827
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2824
2828
|
locator?: string | undefined;
|
|
2825
2829
|
}[] | undefined;
|
|
@@ -2829,9 +2833,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2829
2833
|
correctionId: string;
|
|
2830
2834
|
replacementDecisionId: string;
|
|
2831
2835
|
evidence?: {
|
|
2836
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2832
2837
|
id: string;
|
|
2833
2838
|
label: string;
|
|
2834
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2835
2839
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2836
2840
|
locator?: string | undefined;
|
|
2837
2841
|
}[] | undefined;
|
|
@@ -2844,9 +2848,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2844
2848
|
recallReceiptId: string;
|
|
2845
2849
|
capturedAtAction: boolean;
|
|
2846
2850
|
evidence?: {
|
|
2851
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2847
2852
|
id: string;
|
|
2848
2853
|
label: string;
|
|
2849
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2850
2854
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2851
2855
|
locator?: string | undefined;
|
|
2852
2856
|
}[] | undefined;
|
|
@@ -2859,20 +2863,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2859
2863
|
recallReceiptId: string;
|
|
2860
2864
|
staleDecisionAbsent: boolean;
|
|
2861
2865
|
evidence?: {
|
|
2866
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2862
2867
|
id: string;
|
|
2863
2868
|
label: string;
|
|
2864
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2865
2869
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2866
2870
|
locator?: string | undefined;
|
|
2867
2871
|
}[] | undefined;
|
|
2868
2872
|
} | {
|
|
2869
|
-
summary: string;
|
|
2870
2873
|
kind: "mission_completed";
|
|
2874
|
+
summary: string;
|
|
2871
2875
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2872
2876
|
evidence?: {
|
|
2877
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2873
2878
|
id: string;
|
|
2874
2879
|
label: string;
|
|
2875
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2876
2880
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2877
2881
|
locator?: string | undefined;
|
|
2878
2882
|
}[] | undefined;
|
|
@@ -2882,38 +2886,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2882
2886
|
kind: "mission_started";
|
|
2883
2887
|
title: string;
|
|
2884
2888
|
evidence: {
|
|
2889
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2885
2890
|
id: string;
|
|
2886
2891
|
label: string;
|
|
2887
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2888
2892
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2889
2893
|
locator?: string | undefined;
|
|
2890
2894
|
}[];
|
|
2891
2895
|
objective: string;
|
|
2892
2896
|
runMode: "replay" | "fixture" | "live";
|
|
2893
2897
|
} | {
|
|
2894
|
-
label: string;
|
|
2895
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2896
2898
|
kind: "agent_status";
|
|
2897
2899
|
role: string;
|
|
2900
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2901
|
+
label: string;
|
|
2898
2902
|
agentId: string;
|
|
2899
2903
|
sessionId: string;
|
|
2900
2904
|
evidence: {
|
|
2905
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2901
2906
|
id: string;
|
|
2902
2907
|
label: string;
|
|
2903
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2904
2908
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2905
2909
|
locator?: string | undefined;
|
|
2906
2910
|
}[];
|
|
2907
2911
|
detail?: string | undefined;
|
|
2908
2912
|
} | {
|
|
2909
|
-
summary: string;
|
|
2910
2913
|
kind: "agent_output";
|
|
2914
|
+
summary: string;
|
|
2911
2915
|
agentId: string;
|
|
2912
2916
|
sessionId: string;
|
|
2913
2917
|
evidence: {
|
|
2918
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2914
2919
|
id: string;
|
|
2915
2920
|
label: string;
|
|
2916
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2917
2921
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2918
2922
|
locator?: string | undefined;
|
|
2919
2923
|
}[];
|
|
@@ -2924,9 +2928,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2924
2928
|
statement: string;
|
|
2925
2929
|
sessionId: string;
|
|
2926
2930
|
evidence: {
|
|
2931
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2927
2932
|
id: string;
|
|
2928
2933
|
label: string;
|
|
2929
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2930
2934
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2931
2935
|
locator?: string | undefined;
|
|
2932
2936
|
}[];
|
|
@@ -2934,12 +2938,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2934
2938
|
decisionId: string;
|
|
2935
2939
|
confidence?: number | undefined;
|
|
2936
2940
|
} | {
|
|
2937
|
-
summary: string;
|
|
2938
2941
|
kind: "conflict_detected";
|
|
2942
|
+
summary: string;
|
|
2939
2943
|
evidence: {
|
|
2944
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2940
2945
|
id: string;
|
|
2941
2946
|
label: string;
|
|
2942
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2943
2947
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2944
2948
|
locator?: string | undefined;
|
|
2945
2949
|
}[];
|
|
@@ -2947,14 +2951,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2947
2951
|
decisionIds: string[];
|
|
2948
2952
|
agentIds: string[];
|
|
2949
2953
|
} | {
|
|
2950
|
-
summary: string;
|
|
2951
|
-
status: "error" | "failed" | "passed";
|
|
2952
2954
|
kind: "test_result";
|
|
2955
|
+
summary: string;
|
|
2953
2956
|
command: string;
|
|
2957
|
+
status: "error" | "failed" | "passed";
|
|
2954
2958
|
evidence: {
|
|
2959
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2955
2960
|
id: string;
|
|
2956
2961
|
label: string;
|
|
2957
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2958
2962
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2959
2963
|
locator?: string | undefined;
|
|
2960
2964
|
}[];
|
|
@@ -2967,9 +2971,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2967
2971
|
rationale: string;
|
|
2968
2972
|
statement: string;
|
|
2969
2973
|
evidence: {
|
|
2974
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2970
2975
|
id: string;
|
|
2971
2976
|
label: string;
|
|
2972
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2973
2977
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2974
2978
|
locator?: string | undefined;
|
|
2975
2979
|
}[];
|
|
@@ -2981,25 +2985,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2981
2985
|
} | {
|
|
2982
2986
|
kind: "correction_approved";
|
|
2983
2987
|
evidence: {
|
|
2988
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2984
2989
|
id: string;
|
|
2985
2990
|
label: string;
|
|
2986
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2987
2991
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2988
2992
|
locator?: string | undefined;
|
|
2989
2993
|
}[];
|
|
2990
2994
|
correctionId: string;
|
|
2991
2995
|
approvedBy: {
|
|
2996
|
+
kind: "agent" | "human";
|
|
2992
2997
|
id: string;
|
|
2993
2998
|
label: string;
|
|
2994
|
-
kind: "agent" | "human";
|
|
2995
2999
|
};
|
|
2996
3000
|
note?: string | undefined;
|
|
2997
3001
|
} | {
|
|
2998
3002
|
kind: "decision_superseded";
|
|
2999
3003
|
evidence: {
|
|
3004
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3000
3005
|
id: string;
|
|
3001
3006
|
label: string;
|
|
3002
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3003
3007
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3004
3008
|
locator?: string | undefined;
|
|
3005
3009
|
}[];
|
|
@@ -3012,9 +3016,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3012
3016
|
agentId: string;
|
|
3013
3017
|
sessionId: string;
|
|
3014
3018
|
evidence: {
|
|
3019
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3015
3020
|
id: string;
|
|
3016
3021
|
label: string;
|
|
3017
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3018
3022
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3019
3023
|
locator?: string | undefined;
|
|
3020
3024
|
}[];
|
|
@@ -3026,9 +3030,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3026
3030
|
agentId: string;
|
|
3027
3031
|
sessionId: string;
|
|
3028
3032
|
evidence: {
|
|
3033
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3029
3034
|
id: string;
|
|
3030
3035
|
label: string;
|
|
3031
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3032
3036
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3033
3037
|
locator?: string | undefined;
|
|
3034
3038
|
}[];
|
|
@@ -3037,13 +3041,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3037
3041
|
recallReceiptId: string;
|
|
3038
3042
|
staleDecisionAbsent: boolean;
|
|
3039
3043
|
} | {
|
|
3040
|
-
summary: string;
|
|
3041
3044
|
kind: "mission_completed";
|
|
3045
|
+
summary: string;
|
|
3042
3046
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3043
3047
|
evidence: {
|
|
3048
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3044
3049
|
id: string;
|
|
3045
3050
|
label: string;
|
|
3046
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3047
3051
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3048
3052
|
locator?: string | undefined;
|
|
3049
3053
|
}[];
|
|
@@ -3057,37 +3061,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3057
3061
|
objective: string;
|
|
3058
3062
|
runMode: "replay" | "fixture" | "live";
|
|
3059
3063
|
evidence?: {
|
|
3064
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3060
3065
|
id: string;
|
|
3061
3066
|
label: string;
|
|
3062
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3063
3067
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3064
3068
|
locator?: string | undefined;
|
|
3065
3069
|
}[] | undefined;
|
|
3066
3070
|
} | {
|
|
3067
|
-
label: string;
|
|
3068
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3069
3071
|
kind: "agent_status";
|
|
3070
3072
|
role: string;
|
|
3073
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3074
|
+
label: string;
|
|
3071
3075
|
agentId: string;
|
|
3072
3076
|
sessionId: string;
|
|
3073
3077
|
detail?: string | undefined;
|
|
3074
3078
|
evidence?: {
|
|
3079
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3075
3080
|
id: string;
|
|
3076
3081
|
label: string;
|
|
3077
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3078
3082
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3079
3083
|
locator?: string | undefined;
|
|
3080
3084
|
}[] | undefined;
|
|
3081
3085
|
} | {
|
|
3082
|
-
summary: string;
|
|
3083
3086
|
kind: "agent_output";
|
|
3087
|
+
summary: string;
|
|
3084
3088
|
agentId: string;
|
|
3085
3089
|
sessionId: string;
|
|
3086
3090
|
outputId: string;
|
|
3087
3091
|
evidence?: {
|
|
3092
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3088
3093
|
id: string;
|
|
3089
3094
|
label: string;
|
|
3090
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3091
3095
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3092
3096
|
locator?: string | undefined;
|
|
3093
3097
|
}[] | undefined;
|
|
@@ -3100,37 +3104,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3100
3104
|
decisionId: string;
|
|
3101
3105
|
confidence?: number | undefined;
|
|
3102
3106
|
evidence?: {
|
|
3107
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3103
3108
|
id: string;
|
|
3104
3109
|
label: string;
|
|
3105
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3106
3110
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3107
3111
|
locator?: string | undefined;
|
|
3108
3112
|
}[] | undefined;
|
|
3109
3113
|
} | {
|
|
3110
|
-
summary: string;
|
|
3111
3114
|
kind: "conflict_detected";
|
|
3115
|
+
summary: string;
|
|
3112
3116
|
conflictId: string;
|
|
3113
3117
|
decisionIds: string[];
|
|
3114
3118
|
agentIds: string[];
|
|
3115
3119
|
evidence?: {
|
|
3120
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3116
3121
|
id: string;
|
|
3117
3122
|
label: string;
|
|
3118
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3119
3123
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3120
3124
|
locator?: string | undefined;
|
|
3121
3125
|
}[] | undefined;
|
|
3122
3126
|
} | {
|
|
3123
|
-
summary: string;
|
|
3124
|
-
status: "error" | "failed" | "passed";
|
|
3125
3127
|
kind: "test_result";
|
|
3128
|
+
summary: string;
|
|
3126
3129
|
command: string;
|
|
3130
|
+
status: "error" | "failed" | "passed";
|
|
3127
3131
|
decisionId: string;
|
|
3128
3132
|
testId: string;
|
|
3129
3133
|
durationMs?: number | undefined;
|
|
3130
3134
|
evidence?: {
|
|
3135
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3131
3136
|
id: string;
|
|
3132
3137
|
label: string;
|
|
3133
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3134
3138
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3135
3139
|
locator?: string | undefined;
|
|
3136
3140
|
}[] | undefined;
|
|
@@ -3145,9 +3149,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3145
3149
|
supersedesDecisionIds: string[];
|
|
3146
3150
|
proposedBy: string;
|
|
3147
3151
|
evidence?: {
|
|
3152
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3148
3153
|
id: string;
|
|
3149
3154
|
label: string;
|
|
3150
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3151
3155
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3152
3156
|
locator?: string | undefined;
|
|
3153
3157
|
}[] | undefined;
|
|
@@ -3155,15 +3159,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3155
3159
|
kind: "correction_approved";
|
|
3156
3160
|
correctionId: string;
|
|
3157
3161
|
approvedBy: {
|
|
3162
|
+
kind: "agent" | "human";
|
|
3158
3163
|
id: string;
|
|
3159
3164
|
label: string;
|
|
3160
|
-
kind: "agent" | "human";
|
|
3161
3165
|
};
|
|
3162
3166
|
note?: string | undefined;
|
|
3163
3167
|
evidence?: {
|
|
3168
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3164
3169
|
id: string;
|
|
3165
3170
|
label: string;
|
|
3166
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3167
3171
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3168
3172
|
locator?: string | undefined;
|
|
3169
3173
|
}[] | undefined;
|
|
@@ -3173,9 +3177,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3173
3177
|
correctionId: string;
|
|
3174
3178
|
replacementDecisionId: string;
|
|
3175
3179
|
evidence?: {
|
|
3180
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3176
3181
|
id: string;
|
|
3177
3182
|
label: string;
|
|
3178
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3179
3183
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3180
3184
|
locator?: string | undefined;
|
|
3181
3185
|
}[] | undefined;
|
|
@@ -3188,9 +3192,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3188
3192
|
recallReceiptId: string;
|
|
3189
3193
|
capturedAtAction: boolean;
|
|
3190
3194
|
evidence?: {
|
|
3195
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3191
3196
|
id: string;
|
|
3192
3197
|
label: string;
|
|
3193
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3194
3198
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3195
3199
|
locator?: string | undefined;
|
|
3196
3200
|
}[] | undefined;
|
|
@@ -3203,20 +3207,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3203
3207
|
recallReceiptId: string;
|
|
3204
3208
|
staleDecisionAbsent: boolean;
|
|
3205
3209
|
evidence?: {
|
|
3210
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3206
3211
|
id: string;
|
|
3207
3212
|
label: string;
|
|
3208
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3209
3213
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3210
3214
|
locator?: string | undefined;
|
|
3211
3215
|
}[] | undefined;
|
|
3212
3216
|
} | {
|
|
3213
|
-
summary: string;
|
|
3214
3217
|
kind: "mission_completed";
|
|
3218
|
+
summary: string;
|
|
3215
3219
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3216
3220
|
evidence?: {
|
|
3221
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3217
3222
|
id: string;
|
|
3218
3223
|
label: string;
|
|
3219
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3220
3224
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3221
3225
|
locator?: string | undefined;
|
|
3222
3226
|
}[] | undefined;
|
|
@@ -3246,15 +3250,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3246
3250
|
locator: z.ZodOptional<z.ZodString>;
|
|
3247
3251
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3248
3252
|
}, "strict", z.ZodTypeAny, {
|
|
3253
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3249
3254
|
id: string;
|
|
3250
3255
|
label: string;
|
|
3251
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3252
3256
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3253
3257
|
locator?: string | undefined;
|
|
3254
3258
|
}, {
|
|
3259
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3255
3260
|
id: string;
|
|
3256
3261
|
label: string;
|
|
3257
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3258
3262
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3259
3263
|
locator?: string | undefined;
|
|
3260
3264
|
}>, "many">>;
|
|
@@ -3262,9 +3266,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3262
3266
|
kind: "mission_started";
|
|
3263
3267
|
title: string;
|
|
3264
3268
|
evidence: {
|
|
3269
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3265
3270
|
id: string;
|
|
3266
3271
|
label: string;
|
|
3267
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3268
3272
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3269
3273
|
locator?: string | undefined;
|
|
3270
3274
|
}[];
|
|
@@ -3276,9 +3280,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3276
3280
|
objective: string;
|
|
3277
3281
|
runMode: "replay" | "fixture" | "live";
|
|
3278
3282
|
evidence?: {
|
|
3283
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3279
3284
|
id: string;
|
|
3280
3285
|
label: string;
|
|
3281
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3282
3286
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3283
3287
|
locator?: string | undefined;
|
|
3284
3288
|
}[] | undefined;
|
|
@@ -3294,15 +3298,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3294
3298
|
locator: z.ZodOptional<z.ZodString>;
|
|
3295
3299
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3296
3300
|
}, "strict", z.ZodTypeAny, {
|
|
3301
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3297
3302
|
id: string;
|
|
3298
3303
|
label: string;
|
|
3299
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3300
3304
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3301
3305
|
locator?: string | undefined;
|
|
3302
3306
|
}, {
|
|
3307
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3303
3308
|
id: string;
|
|
3304
3309
|
label: string;
|
|
3305
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3306
3310
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3307
3311
|
locator?: string | undefined;
|
|
3308
3312
|
}>, "many">>;
|
|
@@ -3310,32 +3314,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3310
3314
|
sessionId: z.ZodString;
|
|
3311
3315
|
kind: z.ZodLiteral<"agent_status">;
|
|
3312
3316
|
}, "strict", z.ZodTypeAny, {
|
|
3313
|
-
label: string;
|
|
3314
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3315
3317
|
kind: "agent_status";
|
|
3316
3318
|
role: string;
|
|
3319
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3320
|
+
label: string;
|
|
3317
3321
|
agentId: string;
|
|
3318
3322
|
sessionId: string;
|
|
3319
3323
|
evidence: {
|
|
3324
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3320
3325
|
id: string;
|
|
3321
3326
|
label: string;
|
|
3322
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3323
3327
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3324
3328
|
locator?: string | undefined;
|
|
3325
3329
|
}[];
|
|
3326
3330
|
detail?: string | undefined;
|
|
3327
3331
|
}, {
|
|
3328
|
-
label: string;
|
|
3329
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3330
3332
|
kind: "agent_status";
|
|
3331
3333
|
role: string;
|
|
3334
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3335
|
+
label: string;
|
|
3332
3336
|
agentId: string;
|
|
3333
3337
|
sessionId: string;
|
|
3334
3338
|
detail?: string | undefined;
|
|
3335
3339
|
evidence?: {
|
|
3340
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3336
3341
|
id: string;
|
|
3337
3342
|
label: string;
|
|
3338
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3339
3343
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3340
3344
|
locator?: string | undefined;
|
|
3341
3345
|
}[] | undefined;
|
|
@@ -3349,15 +3353,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3349
3353
|
locator: z.ZodOptional<z.ZodString>;
|
|
3350
3354
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3351
3355
|
}, "strict", z.ZodTypeAny, {
|
|
3356
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3352
3357
|
id: string;
|
|
3353
3358
|
label: string;
|
|
3354
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3355
3359
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3356
3360
|
locator?: string | undefined;
|
|
3357
3361
|
}, {
|
|
3362
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3358
3363
|
id: string;
|
|
3359
3364
|
label: string;
|
|
3360
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3361
3365
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3362
3366
|
locator?: string | undefined;
|
|
3363
3367
|
}>, "many">>;
|
|
@@ -3365,28 +3369,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3365
3369
|
sessionId: z.ZodString;
|
|
3366
3370
|
kind: z.ZodLiteral<"agent_output">;
|
|
3367
3371
|
}, "strict", z.ZodTypeAny, {
|
|
3368
|
-
summary: string;
|
|
3369
3372
|
kind: "agent_output";
|
|
3373
|
+
summary: string;
|
|
3370
3374
|
agentId: string;
|
|
3371
3375
|
sessionId: string;
|
|
3372
3376
|
evidence: {
|
|
3377
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3373
3378
|
id: string;
|
|
3374
3379
|
label: string;
|
|
3375
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3376
3380
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3377
3381
|
locator?: string | undefined;
|
|
3378
3382
|
}[];
|
|
3379
3383
|
outputId: string;
|
|
3380
3384
|
}, {
|
|
3381
|
-
summary: string;
|
|
3382
3385
|
kind: "agent_output";
|
|
3386
|
+
summary: string;
|
|
3383
3387
|
agentId: string;
|
|
3384
3388
|
sessionId: string;
|
|
3385
3389
|
outputId: string;
|
|
3386
3390
|
evidence?: {
|
|
3391
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3387
3392
|
id: string;
|
|
3388
3393
|
label: string;
|
|
3389
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3390
3394
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3391
3395
|
locator?: string | undefined;
|
|
3392
3396
|
}[] | undefined;
|
|
@@ -3402,15 +3406,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3402
3406
|
locator: z.ZodOptional<z.ZodString>;
|
|
3403
3407
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3404
3408
|
}, "strict", z.ZodTypeAny, {
|
|
3409
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3405
3410
|
id: string;
|
|
3406
3411
|
label: string;
|
|
3407
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3408
3412
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3409
3413
|
locator?: string | undefined;
|
|
3410
3414
|
}, {
|
|
3415
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3411
3416
|
id: string;
|
|
3412
3417
|
label: string;
|
|
3413
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3414
3418
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3415
3419
|
locator?: string | undefined;
|
|
3416
3420
|
}>, "many">>;
|
|
@@ -3423,9 +3427,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3423
3427
|
statement: string;
|
|
3424
3428
|
sessionId: string;
|
|
3425
3429
|
evidence: {
|
|
3430
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3426
3431
|
id: string;
|
|
3427
3432
|
label: string;
|
|
3428
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3429
3433
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3430
3434
|
locator?: string | undefined;
|
|
3431
3435
|
}[];
|
|
@@ -3441,9 +3445,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3441
3445
|
decisionId: string;
|
|
3442
3446
|
confidence?: number | undefined;
|
|
3443
3447
|
evidence?: {
|
|
3448
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3444
3449
|
id: string;
|
|
3445
3450
|
label: string;
|
|
3446
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3447
3451
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3448
3452
|
locator?: string | undefined;
|
|
3449
3453
|
}[] | undefined;
|
|
@@ -3460,25 +3464,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3460
3464
|
locator: z.ZodOptional<z.ZodString>;
|
|
3461
3465
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3462
3466
|
}, "strict", z.ZodTypeAny, {
|
|
3467
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3463
3468
|
id: string;
|
|
3464
3469
|
label: string;
|
|
3465
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3466
3470
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3467
3471
|
locator?: string | undefined;
|
|
3468
3472
|
}, {
|
|
3473
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3469
3474
|
id: string;
|
|
3470
3475
|
label: string;
|
|
3471
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3472
3476
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3473
3477
|
locator?: string | undefined;
|
|
3474
3478
|
}>, "many">>;
|
|
3475
3479
|
}, "strict", z.ZodTypeAny, {
|
|
3476
|
-
summary: string;
|
|
3477
3480
|
kind: "conflict_detected";
|
|
3481
|
+
summary: string;
|
|
3478
3482
|
evidence: {
|
|
3483
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3479
3484
|
id: string;
|
|
3480
3485
|
label: string;
|
|
3481
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3482
3486
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3483
3487
|
locator?: string | undefined;
|
|
3484
3488
|
}[];
|
|
@@ -3486,15 +3490,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3486
3490
|
decisionIds: string[];
|
|
3487
3491
|
agentIds: string[];
|
|
3488
3492
|
}, {
|
|
3489
|
-
summary: string;
|
|
3490
3493
|
kind: "conflict_detected";
|
|
3494
|
+
summary: string;
|
|
3491
3495
|
conflictId: string;
|
|
3492
3496
|
decisionIds: string[];
|
|
3493
3497
|
agentIds: string[];
|
|
3494
3498
|
evidence?: {
|
|
3499
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3495
3500
|
id: string;
|
|
3496
3501
|
label: string;
|
|
3497
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3498
3502
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3499
3503
|
locator?: string | undefined;
|
|
3500
3504
|
}[] | undefined;
|
|
@@ -3514,27 +3518,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3514
3518
|
locator: z.ZodOptional<z.ZodString>;
|
|
3515
3519
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3516
3520
|
}, "strict", z.ZodTypeAny, {
|
|
3521
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3517
3522
|
id: string;
|
|
3518
3523
|
label: string;
|
|
3519
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3520
3524
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3521
3525
|
locator?: string | undefined;
|
|
3522
3526
|
}, {
|
|
3527
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3523
3528
|
id: string;
|
|
3524
3529
|
label: string;
|
|
3525
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3526
3530
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3527
3531
|
locator?: string | undefined;
|
|
3528
3532
|
}>, "many">>;
|
|
3529
3533
|
}, "strict", z.ZodTypeAny, {
|
|
3530
|
-
summary: string;
|
|
3531
|
-
status: "error" | "failed" | "passed";
|
|
3532
3534
|
kind: "test_result";
|
|
3535
|
+
summary: string;
|
|
3533
3536
|
command: string;
|
|
3537
|
+
status: "error" | "failed" | "passed";
|
|
3534
3538
|
evidence: {
|
|
3539
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3535
3540
|
id: string;
|
|
3536
3541
|
label: string;
|
|
3537
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3538
3542
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3539
3543
|
locator?: string | undefined;
|
|
3540
3544
|
}[];
|
|
@@ -3543,17 +3547,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3543
3547
|
durationMs?: number | undefined;
|
|
3544
3548
|
correctionId?: string | undefined;
|
|
3545
3549
|
}, {
|
|
3546
|
-
summary: string;
|
|
3547
|
-
status: "error" | "failed" | "passed";
|
|
3548
3550
|
kind: "test_result";
|
|
3551
|
+
summary: string;
|
|
3549
3552
|
command: string;
|
|
3553
|
+
status: "error" | "failed" | "passed";
|
|
3550
3554
|
decisionId: string;
|
|
3551
3555
|
testId: string;
|
|
3552
3556
|
durationMs?: number | undefined;
|
|
3553
3557
|
evidence?: {
|
|
3558
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3554
3559
|
id: string;
|
|
3555
3560
|
label: string;
|
|
3556
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3557
3561
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3558
3562
|
locator?: string | undefined;
|
|
3559
3563
|
}[] | undefined;
|
|
@@ -3574,15 +3578,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3574
3578
|
locator: z.ZodOptional<z.ZodString>;
|
|
3575
3579
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3576
3580
|
}, "strict", z.ZodTypeAny, {
|
|
3581
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3577
3582
|
id: string;
|
|
3578
3583
|
label: string;
|
|
3579
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3580
3584
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3581
3585
|
locator?: string | undefined;
|
|
3582
3586
|
}, {
|
|
3587
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3583
3588
|
id: string;
|
|
3584
3589
|
label: string;
|
|
3585
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3586
3590
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3587
3591
|
locator?: string | undefined;
|
|
3588
3592
|
}>, "many">>;
|
|
@@ -3591,9 +3595,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3591
3595
|
rationale: string;
|
|
3592
3596
|
statement: string;
|
|
3593
3597
|
evidence: {
|
|
3598
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3594
3599
|
id: string;
|
|
3595
3600
|
label: string;
|
|
3596
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3597
3601
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3598
3602
|
locator?: string | undefined;
|
|
3599
3603
|
}[];
|
|
@@ -3612,9 +3616,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3612
3616
|
supersedesDecisionIds: string[];
|
|
3613
3617
|
proposedBy: string;
|
|
3614
3618
|
evidence?: {
|
|
3619
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3615
3620
|
id: string;
|
|
3616
3621
|
label: string;
|
|
3617
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3618
3622
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3619
3623
|
locator?: string | undefined;
|
|
3620
3624
|
}[] | undefined;
|
|
@@ -3626,13 +3630,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3626
3630
|
id: z.ZodString;
|
|
3627
3631
|
label: z.ZodString;
|
|
3628
3632
|
}, "strict", z.ZodTypeAny, {
|
|
3633
|
+
kind: "agent" | "human";
|
|
3629
3634
|
id: string;
|
|
3630
3635
|
label: string;
|
|
3631
|
-
kind: "agent" | "human";
|
|
3632
3636
|
}, {
|
|
3637
|
+
kind: "agent" | "human";
|
|
3633
3638
|
id: string;
|
|
3634
3639
|
label: string;
|
|
3635
|
-
kind: "agent" | "human";
|
|
3636
3640
|
}>;
|
|
3637
3641
|
note: z.ZodOptional<z.ZodString>;
|
|
3638
3642
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3642,47 +3646,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3642
3646
|
locator: z.ZodOptional<z.ZodString>;
|
|
3643
3647
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3644
3648
|
}, "strict", z.ZodTypeAny, {
|
|
3649
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3645
3650
|
id: string;
|
|
3646
3651
|
label: string;
|
|
3647
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3648
3652
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3649
3653
|
locator?: string | undefined;
|
|
3650
3654
|
}, {
|
|
3655
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3651
3656
|
id: string;
|
|
3652
3657
|
label: string;
|
|
3653
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3654
3658
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3655
3659
|
locator?: string | undefined;
|
|
3656
3660
|
}>, "many">>;
|
|
3657
3661
|
}, "strict", z.ZodTypeAny, {
|
|
3658
3662
|
kind: "correction_approved";
|
|
3659
3663
|
evidence: {
|
|
3664
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3660
3665
|
id: string;
|
|
3661
3666
|
label: string;
|
|
3662
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3663
3667
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3664
3668
|
locator?: string | undefined;
|
|
3665
3669
|
}[];
|
|
3666
3670
|
correctionId: string;
|
|
3667
3671
|
approvedBy: {
|
|
3672
|
+
kind: "agent" | "human";
|
|
3668
3673
|
id: string;
|
|
3669
3674
|
label: string;
|
|
3670
|
-
kind: "agent" | "human";
|
|
3671
3675
|
};
|
|
3672
3676
|
note?: string | undefined;
|
|
3673
3677
|
}, {
|
|
3674
3678
|
kind: "correction_approved";
|
|
3675
3679
|
correctionId: string;
|
|
3676
3680
|
approvedBy: {
|
|
3681
|
+
kind: "agent" | "human";
|
|
3677
3682
|
id: string;
|
|
3678
3683
|
label: string;
|
|
3679
|
-
kind: "agent" | "human";
|
|
3680
3684
|
};
|
|
3681
3685
|
note?: string | undefined;
|
|
3682
3686
|
evidence?: {
|
|
3687
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3683
3688
|
id: string;
|
|
3684
3689
|
label: string;
|
|
3685
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3686
3690
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3687
3691
|
locator?: string | undefined;
|
|
3688
3692
|
}[] | undefined;
|
|
@@ -3698,24 +3702,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3698
3702
|
locator: z.ZodOptional<z.ZodString>;
|
|
3699
3703
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3700
3704
|
}, "strict", z.ZodTypeAny, {
|
|
3705
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3701
3706
|
id: string;
|
|
3702
3707
|
label: string;
|
|
3703
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3704
3708
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3705
3709
|
locator?: string | undefined;
|
|
3706
3710
|
}, {
|
|
3711
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3707
3712
|
id: string;
|
|
3708
3713
|
label: string;
|
|
3709
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3710
3714
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3711
3715
|
locator?: string | undefined;
|
|
3712
3716
|
}>, "many">>;
|
|
3713
3717
|
}, "strict", z.ZodTypeAny, {
|
|
3714
3718
|
kind: "decision_superseded";
|
|
3715
3719
|
evidence: {
|
|
3720
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3716
3721
|
id: string;
|
|
3717
3722
|
label: string;
|
|
3718
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3719
3723
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3720
3724
|
locator?: string | undefined;
|
|
3721
3725
|
}[];
|
|
@@ -3728,9 +3732,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3728
3732
|
correctionId: string;
|
|
3729
3733
|
replacementDecisionId: string;
|
|
3730
3734
|
evidence?: {
|
|
3735
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3731
3736
|
id: string;
|
|
3732
3737
|
label: string;
|
|
3733
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3734
3738
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3735
3739
|
locator?: string | undefined;
|
|
3736
3740
|
}[] | undefined;
|
|
@@ -3746,15 +3750,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3746
3750
|
locator: z.ZodOptional<z.ZodString>;
|
|
3747
3751
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3748
3752
|
}, "strict", z.ZodTypeAny, {
|
|
3753
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3749
3754
|
id: string;
|
|
3750
3755
|
label: string;
|
|
3751
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3752
3756
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3753
3757
|
locator?: string | undefined;
|
|
3754
3758
|
}, {
|
|
3759
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3755
3760
|
id: string;
|
|
3756
3761
|
label: string;
|
|
3757
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3758
3762
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3759
3763
|
locator?: string | undefined;
|
|
3760
3764
|
}>, "many">>;
|
|
@@ -3767,9 +3771,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3767
3771
|
agentId: string;
|
|
3768
3772
|
sessionId: string;
|
|
3769
3773
|
evidence: {
|
|
3774
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3770
3775
|
id: string;
|
|
3771
3776
|
label: string;
|
|
3772
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3773
3777
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3774
3778
|
locator?: string | undefined;
|
|
3775
3779
|
}[];
|
|
@@ -3785,9 +3789,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3785
3789
|
recallReceiptId: string;
|
|
3786
3790
|
capturedAtAction: boolean;
|
|
3787
3791
|
evidence?: {
|
|
3792
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3788
3793
|
id: string;
|
|
3789
3794
|
label: string;
|
|
3790
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3791
3795
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3792
3796
|
locator?: string | undefined;
|
|
3793
3797
|
}[] | undefined;
|
|
@@ -3803,15 +3807,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3803
3807
|
locator: z.ZodOptional<z.ZodString>;
|
|
3804
3808
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3805
3809
|
}, "strict", z.ZodTypeAny, {
|
|
3810
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3806
3811
|
id: string;
|
|
3807
3812
|
label: string;
|
|
3808
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3809
3813
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3810
3814
|
locator?: string | undefined;
|
|
3811
3815
|
}, {
|
|
3816
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3812
3817
|
id: string;
|
|
3813
3818
|
label: string;
|
|
3814
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3815
3819
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3816
3820
|
locator?: string | undefined;
|
|
3817
3821
|
}>, "many">>;
|
|
@@ -3823,9 +3827,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3823
3827
|
agentId: string;
|
|
3824
3828
|
sessionId: string;
|
|
3825
3829
|
evidence: {
|
|
3830
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3826
3831
|
id: string;
|
|
3827
3832
|
label: string;
|
|
3828
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3829
3833
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3830
3834
|
locator?: string | undefined;
|
|
3831
3835
|
}[];
|
|
@@ -3842,9 +3846,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3842
3846
|
recallReceiptId: string;
|
|
3843
3847
|
staleDecisionAbsent: boolean;
|
|
3844
3848
|
evidence?: {
|
|
3849
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3845
3850
|
id: string;
|
|
3846
3851
|
label: string;
|
|
3847
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3848
3852
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3849
3853
|
locator?: string | undefined;
|
|
3850
3854
|
}[] | undefined;
|
|
@@ -3859,37 +3863,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3859
3863
|
locator: z.ZodOptional<z.ZodString>;
|
|
3860
3864
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3861
3865
|
}, "strict", z.ZodTypeAny, {
|
|
3866
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3862
3867
|
id: string;
|
|
3863
3868
|
label: string;
|
|
3864
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3865
3869
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3866
3870
|
locator?: string | undefined;
|
|
3867
3871
|
}, {
|
|
3872
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3868
3873
|
id: string;
|
|
3869
3874
|
label: string;
|
|
3870
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3871
3875
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3872
3876
|
locator?: string | undefined;
|
|
3873
3877
|
}>, "many">>;
|
|
3874
3878
|
}, "strict", z.ZodTypeAny, {
|
|
3875
|
-
summary: string;
|
|
3876
3879
|
kind: "mission_completed";
|
|
3880
|
+
summary: string;
|
|
3877
3881
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3878
3882
|
evidence: {
|
|
3883
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3879
3884
|
id: string;
|
|
3880
3885
|
label: string;
|
|
3881
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3882
3886
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3883
3887
|
locator?: string | undefined;
|
|
3884
3888
|
}[];
|
|
3885
3889
|
}, {
|
|
3886
|
-
summary: string;
|
|
3887
3890
|
kind: "mission_completed";
|
|
3891
|
+
summary: string;
|
|
3888
3892
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3889
3893
|
evidence?: {
|
|
3894
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3890
3895
|
id: string;
|
|
3891
3896
|
label: string;
|
|
3892
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3893
3897
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3894
3898
|
locator?: string | undefined;
|
|
3895
3899
|
}[] | undefined;
|
|
@@ -3897,38 +3901,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3897
3901
|
kind: "mission_started";
|
|
3898
3902
|
title: string;
|
|
3899
3903
|
evidence: {
|
|
3904
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3900
3905
|
id: string;
|
|
3901
3906
|
label: string;
|
|
3902
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3903
3907
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3904
3908
|
locator?: string | undefined;
|
|
3905
3909
|
}[];
|
|
3906
3910
|
objective: string;
|
|
3907
3911
|
runMode: "replay" | "fixture" | "live";
|
|
3908
3912
|
} | {
|
|
3909
|
-
label: string;
|
|
3910
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3911
3913
|
kind: "agent_status";
|
|
3912
3914
|
role: string;
|
|
3915
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3916
|
+
label: string;
|
|
3913
3917
|
agentId: string;
|
|
3914
3918
|
sessionId: string;
|
|
3915
3919
|
evidence: {
|
|
3920
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3916
3921
|
id: string;
|
|
3917
3922
|
label: string;
|
|
3918
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3919
3923
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3920
3924
|
locator?: string | undefined;
|
|
3921
3925
|
}[];
|
|
3922
3926
|
detail?: string | undefined;
|
|
3923
3927
|
} | {
|
|
3924
|
-
summary: string;
|
|
3925
3928
|
kind: "agent_output";
|
|
3929
|
+
summary: string;
|
|
3926
3930
|
agentId: string;
|
|
3927
3931
|
sessionId: string;
|
|
3928
3932
|
evidence: {
|
|
3933
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3929
3934
|
id: string;
|
|
3930
3935
|
label: string;
|
|
3931
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3932
3936
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3933
3937
|
locator?: string | undefined;
|
|
3934
3938
|
}[];
|
|
@@ -3939,9 +3943,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3939
3943
|
statement: string;
|
|
3940
3944
|
sessionId: string;
|
|
3941
3945
|
evidence: {
|
|
3946
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3942
3947
|
id: string;
|
|
3943
3948
|
label: string;
|
|
3944
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3945
3949
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3946
3950
|
locator?: string | undefined;
|
|
3947
3951
|
}[];
|
|
@@ -3949,12 +3953,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3949
3953
|
decisionId: string;
|
|
3950
3954
|
confidence?: number | undefined;
|
|
3951
3955
|
} | {
|
|
3952
|
-
summary: string;
|
|
3953
3956
|
kind: "conflict_detected";
|
|
3957
|
+
summary: string;
|
|
3954
3958
|
evidence: {
|
|
3959
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3955
3960
|
id: string;
|
|
3956
3961
|
label: string;
|
|
3957
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3958
3962
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3959
3963
|
locator?: string | undefined;
|
|
3960
3964
|
}[];
|
|
@@ -3962,14 +3966,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3962
3966
|
decisionIds: string[];
|
|
3963
3967
|
agentIds: string[];
|
|
3964
3968
|
} | {
|
|
3965
|
-
summary: string;
|
|
3966
|
-
status: "error" | "failed" | "passed";
|
|
3967
3969
|
kind: "test_result";
|
|
3970
|
+
summary: string;
|
|
3968
3971
|
command: string;
|
|
3972
|
+
status: "error" | "failed" | "passed";
|
|
3969
3973
|
evidence: {
|
|
3974
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3970
3975
|
id: string;
|
|
3971
3976
|
label: string;
|
|
3972
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3973
3977
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3974
3978
|
locator?: string | undefined;
|
|
3975
3979
|
}[];
|
|
@@ -3982,9 +3986,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3982
3986
|
rationale: string;
|
|
3983
3987
|
statement: string;
|
|
3984
3988
|
evidence: {
|
|
3989
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3985
3990
|
id: string;
|
|
3986
3991
|
label: string;
|
|
3987
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3988
3992
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3989
3993
|
locator?: string | undefined;
|
|
3990
3994
|
}[];
|
|
@@ -3996,25 +4000,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3996
4000
|
} | {
|
|
3997
4001
|
kind: "correction_approved";
|
|
3998
4002
|
evidence: {
|
|
4003
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3999
4004
|
id: string;
|
|
4000
4005
|
label: string;
|
|
4001
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4002
4006
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4003
4007
|
locator?: string | undefined;
|
|
4004
4008
|
}[];
|
|
4005
4009
|
correctionId: string;
|
|
4006
4010
|
approvedBy: {
|
|
4011
|
+
kind: "agent" | "human";
|
|
4007
4012
|
id: string;
|
|
4008
4013
|
label: string;
|
|
4009
|
-
kind: "agent" | "human";
|
|
4010
4014
|
};
|
|
4011
4015
|
note?: string | undefined;
|
|
4012
4016
|
} | {
|
|
4013
4017
|
kind: "decision_superseded";
|
|
4014
4018
|
evidence: {
|
|
4019
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4015
4020
|
id: string;
|
|
4016
4021
|
label: string;
|
|
4017
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4018
4022
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4019
4023
|
locator?: string | undefined;
|
|
4020
4024
|
}[];
|
|
@@ -4027,9 +4031,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4027
4031
|
agentId: string;
|
|
4028
4032
|
sessionId: string;
|
|
4029
4033
|
evidence: {
|
|
4034
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4030
4035
|
id: string;
|
|
4031
4036
|
label: string;
|
|
4032
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4033
4037
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4034
4038
|
locator?: string | undefined;
|
|
4035
4039
|
}[];
|
|
@@ -4041,9 +4045,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4041
4045
|
agentId: string;
|
|
4042
4046
|
sessionId: string;
|
|
4043
4047
|
evidence: {
|
|
4048
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4044
4049
|
id: string;
|
|
4045
4050
|
label: string;
|
|
4046
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4047
4051
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4048
4052
|
locator?: string | undefined;
|
|
4049
4053
|
}[];
|
|
@@ -4052,13 +4056,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4052
4056
|
recallReceiptId: string;
|
|
4053
4057
|
staleDecisionAbsent: boolean;
|
|
4054
4058
|
} | {
|
|
4055
|
-
summary: string;
|
|
4056
4059
|
kind: "mission_completed";
|
|
4060
|
+
summary: string;
|
|
4057
4061
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4058
4062
|
evidence: {
|
|
4063
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4059
4064
|
id: string;
|
|
4060
4065
|
label: string;
|
|
4061
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4062
4066
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4063
4067
|
locator?: string | undefined;
|
|
4064
4068
|
}[];
|
|
@@ -4068,37 +4072,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4068
4072
|
objective: string;
|
|
4069
4073
|
runMode: "replay" | "fixture" | "live";
|
|
4070
4074
|
evidence?: {
|
|
4075
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4071
4076
|
id: string;
|
|
4072
4077
|
label: string;
|
|
4073
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4074
4078
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4075
4079
|
locator?: string | undefined;
|
|
4076
4080
|
}[] | undefined;
|
|
4077
4081
|
} | {
|
|
4078
|
-
label: string;
|
|
4079
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4080
4082
|
kind: "agent_status";
|
|
4081
4083
|
role: string;
|
|
4084
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4085
|
+
label: string;
|
|
4082
4086
|
agentId: string;
|
|
4083
4087
|
sessionId: string;
|
|
4084
4088
|
detail?: string | undefined;
|
|
4085
4089
|
evidence?: {
|
|
4090
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4086
4091
|
id: string;
|
|
4087
4092
|
label: string;
|
|
4088
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4089
4093
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4090
4094
|
locator?: string | undefined;
|
|
4091
4095
|
}[] | undefined;
|
|
4092
4096
|
} | {
|
|
4093
|
-
summary: string;
|
|
4094
4097
|
kind: "agent_output";
|
|
4098
|
+
summary: string;
|
|
4095
4099
|
agentId: string;
|
|
4096
4100
|
sessionId: string;
|
|
4097
4101
|
outputId: string;
|
|
4098
4102
|
evidence?: {
|
|
4103
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4099
4104
|
id: string;
|
|
4100
4105
|
label: string;
|
|
4101
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4102
4106
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4103
4107
|
locator?: string | undefined;
|
|
4104
4108
|
}[] | undefined;
|
|
@@ -4111,37 +4115,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4111
4115
|
decisionId: string;
|
|
4112
4116
|
confidence?: number | undefined;
|
|
4113
4117
|
evidence?: {
|
|
4118
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4114
4119
|
id: string;
|
|
4115
4120
|
label: string;
|
|
4116
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4117
4121
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4118
4122
|
locator?: string | undefined;
|
|
4119
4123
|
}[] | undefined;
|
|
4120
4124
|
} | {
|
|
4121
|
-
summary: string;
|
|
4122
4125
|
kind: "conflict_detected";
|
|
4126
|
+
summary: string;
|
|
4123
4127
|
conflictId: string;
|
|
4124
4128
|
decisionIds: string[];
|
|
4125
4129
|
agentIds: string[];
|
|
4126
4130
|
evidence?: {
|
|
4131
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4127
4132
|
id: string;
|
|
4128
4133
|
label: string;
|
|
4129
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4130
4134
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4131
4135
|
locator?: string | undefined;
|
|
4132
4136
|
}[] | undefined;
|
|
4133
4137
|
} | {
|
|
4134
|
-
summary: string;
|
|
4135
|
-
status: "error" | "failed" | "passed";
|
|
4136
4138
|
kind: "test_result";
|
|
4139
|
+
summary: string;
|
|
4137
4140
|
command: string;
|
|
4141
|
+
status: "error" | "failed" | "passed";
|
|
4138
4142
|
decisionId: string;
|
|
4139
4143
|
testId: string;
|
|
4140
4144
|
durationMs?: number | undefined;
|
|
4141
4145
|
evidence?: {
|
|
4146
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4142
4147
|
id: string;
|
|
4143
4148
|
label: string;
|
|
4144
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4145
4149
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4146
4150
|
locator?: string | undefined;
|
|
4147
4151
|
}[] | undefined;
|
|
@@ -4156,9 +4160,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4156
4160
|
supersedesDecisionIds: string[];
|
|
4157
4161
|
proposedBy: string;
|
|
4158
4162
|
evidence?: {
|
|
4163
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4159
4164
|
id: string;
|
|
4160
4165
|
label: string;
|
|
4161
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4162
4166
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4163
4167
|
locator?: string | undefined;
|
|
4164
4168
|
}[] | undefined;
|
|
@@ -4166,15 +4170,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4166
4170
|
kind: "correction_approved";
|
|
4167
4171
|
correctionId: string;
|
|
4168
4172
|
approvedBy: {
|
|
4173
|
+
kind: "agent" | "human";
|
|
4169
4174
|
id: string;
|
|
4170
4175
|
label: string;
|
|
4171
|
-
kind: "agent" | "human";
|
|
4172
4176
|
};
|
|
4173
4177
|
note?: string | undefined;
|
|
4174
4178
|
evidence?: {
|
|
4179
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4175
4180
|
id: string;
|
|
4176
4181
|
label: string;
|
|
4177
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4178
4182
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4179
4183
|
locator?: string | undefined;
|
|
4180
4184
|
}[] | undefined;
|
|
@@ -4184,9 +4188,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4184
4188
|
correctionId: string;
|
|
4185
4189
|
replacementDecisionId: string;
|
|
4186
4190
|
evidence?: {
|
|
4191
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4187
4192
|
id: string;
|
|
4188
4193
|
label: string;
|
|
4189
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4190
4194
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4191
4195
|
locator?: string | undefined;
|
|
4192
4196
|
}[] | undefined;
|
|
@@ -4199,9 +4203,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4199
4203
|
recallReceiptId: string;
|
|
4200
4204
|
capturedAtAction: boolean;
|
|
4201
4205
|
evidence?: {
|
|
4206
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4202
4207
|
id: string;
|
|
4203
4208
|
label: string;
|
|
4204
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4205
4209
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4206
4210
|
locator?: string | undefined;
|
|
4207
4211
|
}[] | undefined;
|
|
@@ -4214,64 +4218,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4214
4218
|
recallReceiptId: string;
|
|
4215
4219
|
staleDecisionAbsent: boolean;
|
|
4216
4220
|
evidence?: {
|
|
4221
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4217
4222
|
id: string;
|
|
4218
4223
|
label: string;
|
|
4219
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4220
4224
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4221
4225
|
locator?: string | undefined;
|
|
4222
4226
|
}[] | undefined;
|
|
4223
4227
|
} | {
|
|
4224
|
-
summary: string;
|
|
4225
4228
|
kind: "mission_completed";
|
|
4229
|
+
summary: string;
|
|
4226
4230
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4227
4231
|
evidence?: {
|
|
4232
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4228
4233
|
id: string;
|
|
4229
4234
|
label: string;
|
|
4230
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4231
4235
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4232
4236
|
locator?: string | undefined;
|
|
4233
4237
|
}[] | undefined;
|
|
4234
4238
|
}>;
|
|
4235
4239
|
}, "strict", z.ZodTypeAny, {
|
|
4236
|
-
namespace: string;
|
|
4237
|
-
recordedAt: string;
|
|
4238
4240
|
schemaVersion: "1";
|
|
4241
|
+
recordedAt: string;
|
|
4239
4242
|
payload: {
|
|
4240
4243
|
kind: "mission_started";
|
|
4241
4244
|
title: string;
|
|
4242
4245
|
evidence: {
|
|
4246
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4243
4247
|
id: string;
|
|
4244
4248
|
label: string;
|
|
4245
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4246
4249
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4247
4250
|
locator?: string | undefined;
|
|
4248
4251
|
}[];
|
|
4249
4252
|
objective: string;
|
|
4250
4253
|
runMode: "replay" | "fixture" | "live";
|
|
4251
4254
|
} | {
|
|
4252
|
-
label: string;
|
|
4253
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4254
4255
|
kind: "agent_status";
|
|
4255
4256
|
role: string;
|
|
4257
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4258
|
+
label: string;
|
|
4256
4259
|
agentId: string;
|
|
4257
4260
|
sessionId: string;
|
|
4258
4261
|
evidence: {
|
|
4262
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4259
4263
|
id: string;
|
|
4260
4264
|
label: string;
|
|
4261
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4262
4265
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4263
4266
|
locator?: string | undefined;
|
|
4264
4267
|
}[];
|
|
4265
4268
|
detail?: string | undefined;
|
|
4266
4269
|
} | {
|
|
4267
|
-
summary: string;
|
|
4268
4270
|
kind: "agent_output";
|
|
4271
|
+
summary: string;
|
|
4269
4272
|
agentId: string;
|
|
4270
4273
|
sessionId: string;
|
|
4271
4274
|
evidence: {
|
|
4275
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4272
4276
|
id: string;
|
|
4273
4277
|
label: string;
|
|
4274
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4275
4278
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4276
4279
|
locator?: string | undefined;
|
|
4277
4280
|
}[];
|
|
@@ -4282,9 +4285,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4282
4285
|
statement: string;
|
|
4283
4286
|
sessionId: string;
|
|
4284
4287
|
evidence: {
|
|
4288
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4285
4289
|
id: string;
|
|
4286
4290
|
label: string;
|
|
4287
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4288
4291
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4289
4292
|
locator?: string | undefined;
|
|
4290
4293
|
}[];
|
|
@@ -4292,12 +4295,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4292
4295
|
decisionId: string;
|
|
4293
4296
|
confidence?: number | undefined;
|
|
4294
4297
|
} | {
|
|
4295
|
-
summary: string;
|
|
4296
4298
|
kind: "conflict_detected";
|
|
4299
|
+
summary: string;
|
|
4297
4300
|
evidence: {
|
|
4301
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4298
4302
|
id: string;
|
|
4299
4303
|
label: string;
|
|
4300
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4301
4304
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4302
4305
|
locator?: string | undefined;
|
|
4303
4306
|
}[];
|
|
@@ -4305,14 +4308,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4305
4308
|
decisionIds: string[];
|
|
4306
4309
|
agentIds: string[];
|
|
4307
4310
|
} | {
|
|
4308
|
-
summary: string;
|
|
4309
|
-
status: "error" | "failed" | "passed";
|
|
4310
4311
|
kind: "test_result";
|
|
4312
|
+
summary: string;
|
|
4311
4313
|
command: string;
|
|
4314
|
+
status: "error" | "failed" | "passed";
|
|
4312
4315
|
evidence: {
|
|
4316
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4313
4317
|
id: string;
|
|
4314
4318
|
label: string;
|
|
4315
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4316
4319
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4317
4320
|
locator?: string | undefined;
|
|
4318
4321
|
}[];
|
|
@@ -4325,9 +4328,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4325
4328
|
rationale: string;
|
|
4326
4329
|
statement: string;
|
|
4327
4330
|
evidence: {
|
|
4331
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4328
4332
|
id: string;
|
|
4329
4333
|
label: string;
|
|
4330
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4331
4334
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4332
4335
|
locator?: string | undefined;
|
|
4333
4336
|
}[];
|
|
@@ -4339,25 +4342,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4339
4342
|
} | {
|
|
4340
4343
|
kind: "correction_approved";
|
|
4341
4344
|
evidence: {
|
|
4345
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4342
4346
|
id: string;
|
|
4343
4347
|
label: string;
|
|
4344
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4345
4348
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4346
4349
|
locator?: string | undefined;
|
|
4347
4350
|
}[];
|
|
4348
4351
|
correctionId: string;
|
|
4349
4352
|
approvedBy: {
|
|
4353
|
+
kind: "agent" | "human";
|
|
4350
4354
|
id: string;
|
|
4351
4355
|
label: string;
|
|
4352
|
-
kind: "agent" | "human";
|
|
4353
4356
|
};
|
|
4354
4357
|
note?: string | undefined;
|
|
4355
4358
|
} | {
|
|
4356
4359
|
kind: "decision_superseded";
|
|
4357
4360
|
evidence: {
|
|
4361
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4358
4362
|
id: string;
|
|
4359
4363
|
label: string;
|
|
4360
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4361
4364
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4362
4365
|
locator?: string | undefined;
|
|
4363
4366
|
}[];
|
|
@@ -4370,9 +4373,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4370
4373
|
agentId: string;
|
|
4371
4374
|
sessionId: string;
|
|
4372
4375
|
evidence: {
|
|
4376
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4373
4377
|
id: string;
|
|
4374
4378
|
label: string;
|
|
4375
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4376
4379
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4377
4380
|
locator?: string | undefined;
|
|
4378
4381
|
}[];
|
|
@@ -4384,9 +4387,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4384
4387
|
agentId: string;
|
|
4385
4388
|
sessionId: string;
|
|
4386
4389
|
evidence: {
|
|
4390
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4387
4391
|
id: string;
|
|
4388
4392
|
label: string;
|
|
4389
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4390
4393
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4391
4394
|
locator?: string | undefined;
|
|
4392
4395
|
}[];
|
|
@@ -4395,63 +4398,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4395
4398
|
recallReceiptId: string;
|
|
4396
4399
|
staleDecisionAbsent: boolean;
|
|
4397
4400
|
} | {
|
|
4398
|
-
summary: string;
|
|
4399
4401
|
kind: "mission_completed";
|
|
4402
|
+
summary: string;
|
|
4400
4403
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4401
4404
|
evidence: {
|
|
4405
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4402
4406
|
id: string;
|
|
4403
4407
|
label: string;
|
|
4404
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4405
4408
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4406
4409
|
locator?: string | undefined;
|
|
4407
4410
|
}[];
|
|
4408
4411
|
};
|
|
4412
|
+
namespace: string;
|
|
4409
4413
|
eventId: string;
|
|
4410
4414
|
occurredAt: string;
|
|
4411
4415
|
missionId: string;
|
|
4412
4416
|
authenticatedPrincipal?: string | undefined;
|
|
4413
4417
|
idempotencyKey?: string | undefined;
|
|
4414
4418
|
}, {
|
|
4415
|
-
namespace: string;
|
|
4416
|
-
recordedAt: string;
|
|
4417
4419
|
schemaVersion: "1";
|
|
4420
|
+
recordedAt: string;
|
|
4418
4421
|
payload: {
|
|
4419
4422
|
kind: "mission_started";
|
|
4420
4423
|
title: string;
|
|
4421
4424
|
objective: string;
|
|
4422
4425
|
runMode: "replay" | "fixture" | "live";
|
|
4423
4426
|
evidence?: {
|
|
4427
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4424
4428
|
id: string;
|
|
4425
4429
|
label: string;
|
|
4426
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4427
4430
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4428
4431
|
locator?: string | undefined;
|
|
4429
4432
|
}[] | undefined;
|
|
4430
4433
|
} | {
|
|
4431
|
-
label: string;
|
|
4432
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4433
4434
|
kind: "agent_status";
|
|
4434
4435
|
role: string;
|
|
4436
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4437
|
+
label: string;
|
|
4435
4438
|
agentId: string;
|
|
4436
4439
|
sessionId: string;
|
|
4437
4440
|
detail?: string | undefined;
|
|
4438
4441
|
evidence?: {
|
|
4442
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4439
4443
|
id: string;
|
|
4440
4444
|
label: string;
|
|
4441
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4442
4445
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4443
4446
|
locator?: string | undefined;
|
|
4444
4447
|
}[] | undefined;
|
|
4445
4448
|
} | {
|
|
4446
|
-
summary: string;
|
|
4447
4449
|
kind: "agent_output";
|
|
4450
|
+
summary: string;
|
|
4448
4451
|
agentId: string;
|
|
4449
4452
|
sessionId: string;
|
|
4450
4453
|
outputId: string;
|
|
4451
4454
|
evidence?: {
|
|
4455
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4452
4456
|
id: string;
|
|
4453
4457
|
label: string;
|
|
4454
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4455
4458
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4456
4459
|
locator?: string | undefined;
|
|
4457
4460
|
}[] | undefined;
|
|
@@ -4464,37 +4467,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4464
4467
|
decisionId: string;
|
|
4465
4468
|
confidence?: number | undefined;
|
|
4466
4469
|
evidence?: {
|
|
4470
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4467
4471
|
id: string;
|
|
4468
4472
|
label: string;
|
|
4469
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4470
4473
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4471
4474
|
locator?: string | undefined;
|
|
4472
4475
|
}[] | undefined;
|
|
4473
4476
|
} | {
|
|
4474
|
-
summary: string;
|
|
4475
4477
|
kind: "conflict_detected";
|
|
4478
|
+
summary: string;
|
|
4476
4479
|
conflictId: string;
|
|
4477
4480
|
decisionIds: string[];
|
|
4478
4481
|
agentIds: string[];
|
|
4479
4482
|
evidence?: {
|
|
4483
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4480
4484
|
id: string;
|
|
4481
4485
|
label: string;
|
|
4482
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4483
4486
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4484
4487
|
locator?: string | undefined;
|
|
4485
4488
|
}[] | undefined;
|
|
4486
4489
|
} | {
|
|
4487
|
-
summary: string;
|
|
4488
|
-
status: "error" | "failed" | "passed";
|
|
4489
4490
|
kind: "test_result";
|
|
4491
|
+
summary: string;
|
|
4490
4492
|
command: string;
|
|
4493
|
+
status: "error" | "failed" | "passed";
|
|
4491
4494
|
decisionId: string;
|
|
4492
4495
|
testId: string;
|
|
4493
4496
|
durationMs?: number | undefined;
|
|
4494
4497
|
evidence?: {
|
|
4498
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4495
4499
|
id: string;
|
|
4496
4500
|
label: string;
|
|
4497
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4498
4501
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4499
4502
|
locator?: string | undefined;
|
|
4500
4503
|
}[] | undefined;
|
|
@@ -4509,9 +4512,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4509
4512
|
supersedesDecisionIds: string[];
|
|
4510
4513
|
proposedBy: string;
|
|
4511
4514
|
evidence?: {
|
|
4515
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4512
4516
|
id: string;
|
|
4513
4517
|
label: string;
|
|
4514
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4515
4518
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4516
4519
|
locator?: string | undefined;
|
|
4517
4520
|
}[] | undefined;
|
|
@@ -4519,15 +4522,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4519
4522
|
kind: "correction_approved";
|
|
4520
4523
|
correctionId: string;
|
|
4521
4524
|
approvedBy: {
|
|
4525
|
+
kind: "agent" | "human";
|
|
4522
4526
|
id: string;
|
|
4523
4527
|
label: string;
|
|
4524
|
-
kind: "agent" | "human";
|
|
4525
4528
|
};
|
|
4526
4529
|
note?: string | undefined;
|
|
4527
4530
|
evidence?: {
|
|
4531
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4528
4532
|
id: string;
|
|
4529
4533
|
label: string;
|
|
4530
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4531
4534
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4532
4535
|
locator?: string | undefined;
|
|
4533
4536
|
}[] | undefined;
|
|
@@ -4537,9 +4540,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4537
4540
|
correctionId: string;
|
|
4538
4541
|
replacementDecisionId: string;
|
|
4539
4542
|
evidence?: {
|
|
4543
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4540
4544
|
id: string;
|
|
4541
4545
|
label: string;
|
|
4542
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4543
4546
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4544
4547
|
locator?: string | undefined;
|
|
4545
4548
|
}[] | undefined;
|
|
@@ -4552,9 +4555,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4552
4555
|
recallReceiptId: string;
|
|
4553
4556
|
capturedAtAction: boolean;
|
|
4554
4557
|
evidence?: {
|
|
4558
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4555
4559
|
id: string;
|
|
4556
4560
|
label: string;
|
|
4557
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4558
4561
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4559
4562
|
locator?: string | undefined;
|
|
4560
4563
|
}[] | undefined;
|
|
@@ -4567,24 +4570,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4567
4570
|
recallReceiptId: string;
|
|
4568
4571
|
staleDecisionAbsent: boolean;
|
|
4569
4572
|
evidence?: {
|
|
4573
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4570
4574
|
id: string;
|
|
4571
4575
|
label: string;
|
|
4572
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4573
4576
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4574
4577
|
locator?: string | undefined;
|
|
4575
4578
|
}[] | undefined;
|
|
4576
4579
|
} | {
|
|
4577
|
-
summary: string;
|
|
4578
4580
|
kind: "mission_completed";
|
|
4581
|
+
summary: string;
|
|
4579
4582
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4580
4583
|
evidence?: {
|
|
4584
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4581
4585
|
id: string;
|
|
4582
4586
|
label: string;
|
|
4583
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4584
4587
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4585
4588
|
locator?: string | undefined;
|
|
4586
4589
|
}[] | undefined;
|
|
4587
4590
|
};
|
|
4591
|
+
namespace: string;
|
|
4588
4592
|
eventId: string;
|
|
4589
4593
|
occurredAt: string;
|
|
4590
4594
|
missionId: string;
|
|
@@ -6488,6 +6492,14 @@ declare function getWearableConnector(id: string): WearableConnectorRegistration
|
|
|
6488
6492
|
declare function listWearableConnectors(): string[];
|
|
6489
6493
|
/** Test-only: reset the registry between cases. */
|
|
6490
6494
|
declare function clearWearableConnectors(): void;
|
|
6495
|
+
/**
|
|
6496
|
+
* npm specifier of the optional package that provides a source's connector.
|
|
6497
|
+
* Built-in sources map to their real package (e.g. `desktop` ->
|
|
6498
|
+
* `@remnic/capture-audio`, not the nonexistent `@remnic/connector-desktop`);
|
|
6499
|
+
* unknown ids fall back to the `connector-<id>` convention. Used by
|
|
6500
|
+
* missing-connector install hints so they name the exact install command.
|
|
6501
|
+
*/
|
|
6502
|
+
declare function builtInConnectorPackageSpecifier(id: string): string;
|
|
6491
6503
|
declare function ensureBuiltInWearableConnectors(): Promise<void>;
|
|
6492
6504
|
|
|
6493
6505
|
/**
|
|
@@ -6821,50 +6833,6 @@ interface WearablesCliIo {
|
|
|
6821
6833
|
*/
|
|
6822
6834
|
declare function runWearablesCliCommand(service: WearablesService, args: string[], io: WearablesCliIo): Promise<number>;
|
|
6823
6835
|
|
|
6824
|
-
/**
|
|
6825
|
-
* Screen-activity SQLite store (issue #1899).
|
|
6826
|
-
*
|
|
6827
|
-
* Durable, capture-machine-agnostic store for on-screen text snapshots plus a
|
|
6828
|
-
* per-machine sync cursor. Mirrors the LCM store conventions
|
|
6829
|
-
* (packages/remnic-core/src/lcm/schema.ts): WAL, a `<name>_meta` schema-version
|
|
6830
|
-
* row, `CREATE TABLE IF NOT EXISTS`, and an FTS5 virtual table created
|
|
6831
|
-
* separately. better-sqlite3 is synchronous.
|
|
6832
|
-
*
|
|
6833
|
-
* Snapshots dedup on `(machine, content_hash)` so a re-sync is idempotent, and
|
|
6834
|
-
* day queries use half-open [start, end) UTC bounds (AGENTS.md §23).
|
|
6835
|
-
*/
|
|
6836
|
-
|
|
6837
|
-
declare function activityDatabasePath(memoryDir: string): string;
|
|
6838
|
-
declare function ensureActivityStateDir(memoryDir: string): Promise<void>;
|
|
6839
|
-
declare function openActivityDatabase(memoryDir: string): BetterSqlite3Database;
|
|
6840
|
-
/** Apply the activity schema on an already-open handle (test/in-memory use). */
|
|
6841
|
-
declare function applyActivitySchema(db: BetterSqlite3Database): void;
|
|
6842
|
-
declare class ActivityStore {
|
|
6843
|
-
private readonly db;
|
|
6844
|
-
constructor(db: BetterSqlite3Database);
|
|
6845
|
-
static open(memoryDir: string): ActivityStore;
|
|
6846
|
-
/**
|
|
6847
|
-
* Insert a snapshot, idempotent on (machine, captured_at_utc, content_hash):
|
|
6848
|
-
* the same screen content recurring at a *different* time is kept; only an
|
|
6849
|
-
* exact re-ingestion of the same capture dedups. Returns `inserted: false`
|
|
6850
|
-
* for a duplicate. The FTS row is written only on a real insert (atomically),
|
|
6851
|
-
* so it never drifts from the base table.
|
|
6852
|
-
*/
|
|
6853
|
-
insertSnapshot(snapshot: ActivitySnapshot): {
|
|
6854
|
-
inserted: boolean;
|
|
6855
|
-
id: number;
|
|
6856
|
-
};
|
|
6857
|
-
/** Snapshots whose capture instant is in the half-open [start, end) window. */
|
|
6858
|
-
listSnapshotsForDay(machine: string | null, startUtcInclusive: string, endUtcExclusive: string): ActivitySnapshot[];
|
|
6859
|
-
getCursor(machine: string): string | null;
|
|
6860
|
-
setCursor(machine: string, cursor: string | null, updatedAtUtc?: string): void;
|
|
6861
|
-
/** Full-text search over snapshot text/app/window/url; newest first. */
|
|
6862
|
-
searchSnapshots(query: string, limit: number): ActivitySnapshot[];
|
|
6863
|
-
/** Retention: drop snapshots captured strictly before `cutoffUtc`. */
|
|
6864
|
-
pruneOlderThan(cutoffUtc: string): number;
|
|
6865
|
-
close(): void;
|
|
6866
|
-
}
|
|
6867
|
-
|
|
6868
6836
|
/**
|
|
6869
6837
|
* Deterministic screen-activity day-digest renderer (issue #1899).
|
|
6870
6838
|
*
|
|
@@ -6881,6 +6849,7 @@ declare const ACTIVITY_DIGEST_FORMAT_VERSION = 1;
|
|
|
6881
6849
|
declare const ACTIVITY_DIR_NAME = "activity";
|
|
6882
6850
|
declare function isValidActivityDate(date: string): boolean;
|
|
6883
6851
|
declare function activityDigestPath(memoryDir: string, date: string): string;
|
|
6852
|
+
declare function timezoneOffsetIso(instant: Date, timezone: string): string;
|
|
6884
6853
|
declare function assertValidTimezone(timezone: string): void;
|
|
6885
6854
|
/** Half-open [start, end) UTC ISO bounds of a local day. */
|
|
6886
6855
|
declare function activityDayWindow(date: string, timezone: string): {
|
|
@@ -6958,92 +6927,6 @@ declare class ActivityHttpSourceClient implements ActivitySourceClient {
|
|
|
6958
6927
|
}): Promise<ActivitySnapshotPage>;
|
|
6959
6928
|
}
|
|
6960
6929
|
|
|
6961
|
-
/**
|
|
6962
|
-
* Host-agnostic activity sync runner (issue #1900).
|
|
6963
|
-
*
|
|
6964
|
-
* Bridges parsed `config.activity` to the durable sync pipeline: the parser
|
|
6965
|
-
* (config.ts) validates settings but never contacts a daemon, and
|
|
6966
|
-
* `syncActivitySource` (pipeline.ts) syncs one source for one day. This runner
|
|
6967
|
-
* is the missing middle — it instantiates one `ActivityHttpSourceClient` per
|
|
6968
|
-
* configured source from the parsed config and drives a sync across the
|
|
6969
|
-
* `syncDays` local-day window, but ONLY when the feature is enabled.
|
|
6970
|
-
*
|
|
6971
|
-
* The feature is master default-off: source config alone never starts a sync.
|
|
6972
|
-
* When `config.enabled` is false the runner opens no store, builds no client,
|
|
6973
|
-
* and makes no HTTP call or write — it returns a disabled summary. This mirrors
|
|
6974
|
-
* `runLiveConnectorsOnce`'s disabled-vs-result reporting so a host scheduler
|
|
6975
|
-
* (CLI, cron) can trigger it through the runtime with no OpenClaw imports.
|
|
6976
|
-
*
|
|
6977
|
-
* Cursor semantics are delegated wholesale to `syncActivitySource`: the
|
|
6978
|
-
* per-machine cursor advances only after every page and the digest are durable,
|
|
6979
|
-
* so a runtime failure (or an aborted stop) leaves the cursor unadvanced and a
|
|
6980
|
-
* restart resumes from the persisted position. A per-source failure is captured
|
|
6981
|
-
* as an error item and never aborts the other sources or the host flow.
|
|
6982
|
-
*/
|
|
6983
|
-
|
|
6984
|
-
type ActivityNow = Date | (() => Date);
|
|
6985
|
-
/** One configured source's aggregate result across the synced day window. */
|
|
6986
|
-
interface ActivitySourceRunItem {
|
|
6987
|
-
machineLabel: string;
|
|
6988
|
-
/** True when at least one day synced durably (no error). */
|
|
6989
|
-
ran: boolean;
|
|
6990
|
-
fetched: number;
|
|
6991
|
-
inserted: number;
|
|
6992
|
-
duplicates: number;
|
|
6993
|
-
digestsWritten: number;
|
|
6994
|
-
/** Persisted cursor after the run; unadvanced from prior on failure. */
|
|
6995
|
-
cursor: string | null;
|
|
6996
|
-
/** Set when the source failed; distinguishes a fault from an empty page. */
|
|
6997
|
-
error?: string;
|
|
6998
|
-
/**
|
|
6999
|
-
* Set when a durable day synced but its post-digest search reindex failed.
|
|
7000
|
-
* The rows/digest/cursor are committed; the index is stale until the next
|
|
7001
|
-
* refresh, so this is a signal (not a sync failure) for the scheduler.
|
|
7002
|
-
*/
|
|
7003
|
-
reindexError?: string;
|
|
7004
|
-
}
|
|
7005
|
-
interface ActivitySyncRunSummary {
|
|
7006
|
-
ranAt: string;
|
|
7007
|
-
/** False means the feature is off: no client built, no HTTP, no write. */
|
|
7008
|
-
enabled: boolean;
|
|
7009
|
-
ranCount: number;
|
|
7010
|
-
errorCount: number;
|
|
7011
|
-
/** Sources whose durable sync succeeded but whose search reindex failed. */
|
|
7012
|
-
reindexErrorCount: number;
|
|
7013
|
-
totalInserted: number;
|
|
7014
|
-
results: ActivitySourceRunItem[];
|
|
7015
|
-
}
|
|
7016
|
-
interface ActivitySyncRunOptions {
|
|
7017
|
-
config: ActivityConfig;
|
|
7018
|
-
memoryDir: string;
|
|
7019
|
-
/** Injectable store; opened from memoryDir when omitted (and closed here). */
|
|
7020
|
-
store?: ActivityStore;
|
|
7021
|
-
/** Clock injection for deterministic day-window resolution in tests. */
|
|
7022
|
-
now?: ActivityNow;
|
|
7023
|
-
/** Abort a run in flight (stop); an aborted source leaves its cursor intact. */
|
|
7024
|
-
signal?: AbortSignal;
|
|
7025
|
-
/** Injectable client factory; builds an ActivityHttpSourceClient by default. */
|
|
7026
|
-
createSourceClient?: (source: ActivitySourceConfig) => ActivitySourceClient;
|
|
7027
|
-
/**
|
|
7028
|
-
* Search-index refresh forwarded to each source sync as `afterWrites`, run
|
|
7029
|
-
* after a digest is (re)written so it becomes discoverable (rule 31).
|
|
7030
|
-
* Host wires the core index seam (SearchBackend.update); best-effort.
|
|
7031
|
-
*/
|
|
7032
|
-
reindexSearch?: (signal?: AbortSignal) => Promise<void>;
|
|
7033
|
-
}
|
|
7034
|
-
/**
|
|
7035
|
-
* The local-day window to sync, oldest first: today back `syncDays` calendar
|
|
7036
|
-
* days in the configured timezone. Walking by calendar days (not fixed 24h
|
|
7037
|
-
* intervals) keeps the window correct across DST transitions.
|
|
7038
|
-
*/
|
|
7039
|
-
declare function resolveActivitySyncDates(syncDays: number, timezone: string, now: Date): string[];
|
|
7040
|
-
/**
|
|
7041
|
-
* Run one activity sync pass across every configured source. Disabled config
|
|
7042
|
-
* short-circuits before any store/client/HTTP work; an enabled config syncs
|
|
7043
|
-
* each source across the `syncDays` window and isolates per-source faults.
|
|
7044
|
-
*/
|
|
7045
|
-
declare function runActivitySyncOnce(options: ActivitySyncRunOptions): Promise<ActivitySyncRunSummary>;
|
|
7046
|
-
|
|
7047
6930
|
/**
|
|
7048
6931
|
* In-process periodic driver for activity (screen-capture) sync (issue #1900).
|
|
7049
6932
|
*
|
|
@@ -7298,392 +7181,156 @@ declare class MeetingsInputError extends Error {
|
|
|
7298
7181
|
}
|
|
7299
7182
|
|
|
7300
7183
|
/**
|
|
7301
|
-
* Meeting
|
|
7302
|
-
*
|
|
7303
|
-
* For a detected meeting window `[startUtc, endUtc)` (half-open, AGENTS.md §23),
|
|
7304
|
-
* fuse the concurrent signals into a screen-aware `FusedMeeting`:
|
|
7305
|
-
*
|
|
7306
|
-
* 1. Transcript — clip every wearable source's segments to the window and run
|
|
7307
|
-
* them through the SHARED wearables reconciliation (`fuseCluster`). Higher-
|
|
7308
|
-
* `sourceTrust` text wins overlapping regions and the out-voted sources are
|
|
7309
|
-
* recorded per segment; this module never re-implements alignment/dedup —
|
|
7310
|
-
* the repo rule is "extend the shared fusion module, never fork it".
|
|
7311
|
-
* 2. Screen context — other-app foreground dwell within the window, kept only
|
|
7312
|
-
* when it lasts `contextDwellSeconds`, plus deduped on-screen text excerpts
|
|
7313
|
-
* capped at `maxContextChars`.
|
|
7314
|
-
* 3. Attendees — distinct non-wearer speaker labels from the fused transcript
|
|
7315
|
-
* (already resolved through the wearables speaker registry upstream).
|
|
7316
|
-
*
|
|
7317
|
-
* Pure and deterministic: same inputs ⇒ same `FusedMeeting`.
|
|
7318
|
-
*/
|
|
7319
|
-
|
|
7320
|
-
/** Per-run tuning that mirrors the wearables fusion knobs. */
|
|
7321
|
-
interface MeetingFusionOptions {
|
|
7322
|
-
/** Per-source trust priors handed to reconciliation. */
|
|
7323
|
-
sourceTrust?: Record<string, number>;
|
|
7324
|
-
/** Max drift (ms) for two segments to align across sources. */
|
|
7325
|
-
windowToleranceMs?: number;
|
|
7326
|
-
}
|
|
7327
|
-
/** Fuse one detected meeting's transcript + screen context into a FusedMeeting. */
|
|
7328
|
-
declare function fuseMeeting(input: MeetingBuildInput, config: MeetingsConfig, options?: MeetingFusionOptions): FusedMeeting;
|
|
7329
|
-
|
|
7330
|
-
/**
|
|
7331
|
-
* Meeting record composition, serialization, and the on-disk store (#1900).
|
|
7332
|
-
*
|
|
7333
|
-
* One markdown file per meeting under `<memoryDir>/meetings/<YYYY-MM-DD>/<id>.md`
|
|
7334
|
-
* with YAML frontmatter. Placement mirrors the wearables day-store rationale:
|
|
7184
|
+
* Meeting memory generation (issue #1900, Phase 4).
|
|
7335
7185
|
*
|
|
7336
|
-
*
|
|
7337
|
-
*
|
|
7338
|
-
*
|
|
7339
|
-
*
|
|
7186
|
+
* Layer 1 — the deterministic meeting EPISODE: one recall-anchor memory per
|
|
7187
|
+
* meeting ("what meetings did I have Tuesday?"), always written when
|
|
7188
|
+
* `meetings.enabled`, no LLM. Title, time span, attendees, and source list are
|
|
7189
|
+
* a pure function of the record, so an unchanged meeting is skipped by content
|
|
7190
|
+
* hash. Reuses the shared sealed-envelope composer + secure write path
|
|
7191
|
+
* (`composeMemoryEnvelope` / `writeSealedMemory`) — no bespoke memory format.
|
|
7340
7192
|
*
|
|
7341
|
-
*
|
|
7342
|
-
*
|
|
7343
|
-
*
|
|
7344
|
-
*
|
|
7345
|
-
* semantics are inherited without this module touching the secure-store key.
|
|
7193
|
+
* The LLM summary/facts layer (decisions + commitments through the existing
|
|
7194
|
+
* trust pipeline) builds on this module in the trust-gated slice; it reuses the
|
|
7195
|
+
* same writer interface and the wearables judge/trust machinery rather than
|
|
7196
|
+
* forking it.
|
|
7346
7197
|
*/
|
|
7347
7198
|
|
|
7348
|
-
|
|
7349
|
-
declare const
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
declare function
|
|
7354
|
-
/**
|
|
7355
|
-
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
|
|
7360
|
-
|
|
7361
|
-
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
/**
|
|
7365
|
-
|
|
7366
|
-
/**
|
|
7367
|
-
|
|
7368
|
-
/**
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
startUtc: string;
|
|
7373
|
-
endUtc: string;
|
|
7374
|
-
app?: string;
|
|
7375
|
-
detectionSource: string;
|
|
7376
|
-
title?: string;
|
|
7377
|
-
attendees: string[];
|
|
7378
|
-
sources: string[];
|
|
7379
|
-
corroboratedBy: string[];
|
|
7380
|
-
snapshotCount: number;
|
|
7381
|
-
contentHash: string;
|
|
7199
|
+
/** Frontmatter `source` prefix for meeting-derived memories. */
|
|
7200
|
+
declare const MEETING_SOURCE_PREFIX = "meeting";
|
|
7201
|
+
/** `source: meeting:<id>` — walks memory → record → day transcripts. */
|
|
7202
|
+
declare function meetingSourceLabel(id: string): string;
|
|
7203
|
+
/** `meeting-day:<date>` tag for day-scoped recall ("meetings on Tuesday"). */
|
|
7204
|
+
declare function meetingDayTag(date: string): string;
|
|
7205
|
+
/** Render the deterministic episode content for a meeting. Pure. */
|
|
7206
|
+
declare function composeMeetingEpisodeContent(record: MeetingRecord): string;
|
|
7207
|
+
/**
|
|
7208
|
+
* Write the deterministic episode memory for one meeting. Idempotent: skips
|
|
7209
|
+
* when an identical episode already exists. Returns true when a new episode was
|
|
7210
|
+
* written. The episode is `active` (a recall anchor, not a trust-gated claim).
|
|
7211
|
+
*/
|
|
7212
|
+
declare function writeMeetingEpisodeMemory(record: MeetingRecord, writer: MeetingMemoryWriter): Promise<boolean>;
|
|
7213
|
+
/** Write one deterministic episode per record, idempotently. */
|
|
7214
|
+
declare function generateMeetingEpisodes(records: readonly MeetingRecord[], writer: MeetingMemoryWriter): Promise<MeetingEpisodeGenResult>;
|
|
7215
|
+
/** One LLM-extracted meeting claim. */
|
|
7216
|
+
interface MeetingFactCandidate {
|
|
7217
|
+
/** Claim text (a decision, commitment, or open question). */
|
|
7218
|
+
content: string;
|
|
7219
|
+
/** Memory category — commitments carry the decay-aware `commitment` category. */
|
|
7220
|
+
category: Extract<MemoryCategory, "fact" | "decision" | "commitment">;
|
|
7221
|
+
/** Extractor confidence (0..1); defaults to 0.7 downstream when absent. */
|
|
7222
|
+
confidence?: number;
|
|
7382
7223
|
}
|
|
7383
|
-
/**
|
|
7384
|
-
*
|
|
7385
|
-
|
|
7386
|
-
|
|
7387
|
-
|
|
7388
|
-
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
* boundary stays explicit).
|
|
7394
|
-
*/
|
|
7395
|
-
interface MeetingRecordFileIo {
|
|
7396
|
-
writeFile(filePath: string, content: string): Promise<void>;
|
|
7397
|
-
readFile(filePath: string): Promise<string>;
|
|
7398
|
-
readDir(dirPath: string): Promise<string[]>;
|
|
7399
|
-
deleteFile(filePath: string): Promise<void>;
|
|
7400
|
-
realpath(filePath: string): Promise<string>;
|
|
7401
|
-
lstat(filePath: string): Promise<{
|
|
7402
|
-
isSymbolicLink: boolean;
|
|
7224
|
+
/** LLM extractor over a meeting's fused transcript + screen context. Injected so
|
|
7225
|
+
* `off` mode provably never invokes it and tests stay deterministic. */
|
|
7226
|
+
interface MeetingSummaryExtractor {
|
|
7227
|
+
extract(input: {
|
|
7228
|
+
record: MeetingRecord;
|
|
7229
|
+
transcriptText: string;
|
|
7230
|
+
screenContextText: string;
|
|
7231
|
+
}): Promise<{
|
|
7232
|
+
summary: string;
|
|
7233
|
+
candidates: MeetingFactCandidate[];
|
|
7403
7234
|
}>;
|
|
7404
7235
|
}
|
|
7405
|
-
/**
|
|
7406
|
-
interface
|
|
7407
|
-
|
|
7408
|
-
/** False when the on-disk contentHash already matched (nothing rewritten). */
|
|
7409
|
-
written: boolean;
|
|
7410
|
-
contentHash: string;
|
|
7411
|
-
}
|
|
7412
|
-
/**
|
|
7413
|
-
* Owns the meeting record files under `<memoryDir>/meetings/<date>/<id>.md`.
|
|
7414
|
-
* Path construction, date/id validation, and symlink containment live here; the
|
|
7415
|
-
* bytes flow through the injected secure IO. Containment is anchored to the real
|
|
7416
|
-
* memory-dir root and mirrors the fusion artifact store (AGENTS.md pattern #3).
|
|
7417
|
-
*/
|
|
7418
|
-
declare class MeetingRecordStore {
|
|
7419
|
-
private readonly memoryDir;
|
|
7420
|
-
private readonly io;
|
|
7421
|
-
private readonly meetingsDir;
|
|
7422
|
-
constructor(memoryDir: string, io: MeetingRecordFileIo);
|
|
7423
|
-
recordPath(date: string, id: string): string;
|
|
7424
|
-
/** Idempotently persist a record: skip the write when contentHash is unchanged. */
|
|
7425
|
-
saveMeetingRecord(record: MeetingRecord): Promise<MeetingSaveResult>;
|
|
7426
|
-
/** Read a stored record's raw markdown; null when absent. */
|
|
7427
|
-
readMeetingRecord(date: string, id: string): Promise<string | null>;
|
|
7428
|
-
/**
|
|
7429
|
-
* Read + parse every stored record for a day exactly ONCE, sorted by start
|
|
7430
|
-
* time (ascending, id tiebreak). The single day-read path both `listMeetingIds`
|
|
7431
|
-
* and `listMeetingSummaries` derive from — no record is read twice.
|
|
7432
|
-
*/
|
|
7433
|
-
private readDaySummaries;
|
|
7434
|
-
/** List meeting ids stored for a day, sorted by start time (ascending). */
|
|
7435
|
-
listMeetingIds(date: string): Promise<string[]>;
|
|
7436
|
-
/** Read parsed summaries for a day, sorted by start time. */
|
|
7437
|
-
listMeetingSummaries(date: string): Promise<MeetingRecordSummary[]>;
|
|
7438
|
-
/** List dates that have at least one stored meeting record, newest first. */
|
|
7439
|
-
listMeetingDates(): Promise<string[]>;
|
|
7440
|
-
/** Remove a stored record. Idempotent: a no-op when already absent. */
|
|
7441
|
-
deleteMeetingRecord(date: string, id: string): Promise<void>;
|
|
7442
|
-
private readRaw;
|
|
7443
|
-
private assertPathContained;
|
|
7444
|
-
/** The `<meetings>/<date>` directory on the path to `targetPath`, or null when
|
|
7445
|
-
* `targetPath` is the meetings root itself. */
|
|
7446
|
-
private dayDirWithin;
|
|
7447
|
-
private assertNotSymlink;
|
|
7448
|
-
private assertNoEscape;
|
|
7449
|
-
}
|
|
7450
|
-
|
|
7451
|
-
/**
|
|
7452
|
-
* Meeting memory-generation SEAM (issue #1900 — engine/memory decouple).
|
|
7453
|
-
*
|
|
7454
|
-
* Engine-layer boundary between the deterministic meeting builder and the
|
|
7455
|
-
* memory-generation layer. `MeetingsBuilder` (detect/fuse/store/build) depends
|
|
7456
|
-
* ONLY on `MeetingMemoryGenerator` declared here — never on `memory-gen.ts` — so
|
|
7457
|
-
* the deterministic engine carries zero dependency on episode/fact generation
|
|
7458
|
-
* and ships in its own scope-budgeted PR. The concrete generator lives in
|
|
7459
|
-
* `memory-gen.ts` behind `createMeetingMemoryGenerator`, which implements this
|
|
7460
|
-
* interface by driving the existing episode/fact/retract logic.
|
|
7461
|
-
*/
|
|
7462
|
-
|
|
7463
|
-
/**
|
|
7464
|
-
* Narrow writer interface satisfied by `StorageManager` — the same sealed
|
|
7465
|
-
* write entry point the wearables generator uses, so meeting memories inherit
|
|
7466
|
-
* encrypted-at-rest + atomic write + dedup without this module knowing the key.
|
|
7467
|
-
*/
|
|
7468
|
-
interface MeetingMemoryWriter {
|
|
7469
|
-
writeSealedMemory(envelope: SealedMemoryEnvelope, extras: {
|
|
7470
|
-
importance?: ImportanceScore;
|
|
7471
|
-
contentHashSource?: string;
|
|
7472
|
-
status?: MemoryStatus;
|
|
7473
|
-
memoryKind?: "episode" | "note" | "box" | "dream" | "procedural";
|
|
7474
|
-
}): Promise<MemoryWriteResult>;
|
|
7475
|
-
/**
|
|
7476
|
-
* True when an active/pending memory whose frontmatter `source` equals
|
|
7477
|
-
* `source` already carries this exact content. Meeting memories are episodes
|
|
7478
|
-
* (`moment`) and decisions/commitments (`decision`/`commitment`) — categories
|
|
7479
|
-
* the storage fact-hash index does NOT cover — so idempotency is a
|
|
7480
|
-
* source-scoped content scan, mirroring the wearables writer, NOT
|
|
7481
|
-
* `hasFactContentHash` (fact-only; always false here → duplicates on rebuild).
|
|
7482
|
-
*/
|
|
7483
|
-
hasMemoryFromSource(source: string, content: string): Promise<boolean>;
|
|
7484
|
-
/**
|
|
7485
|
-
* Retire (invalidate) every memory whose frontmatter `source` equals `source`.
|
|
7486
|
-
* Returns the count retired. Used to reconcile away a removed meeting's
|
|
7487
|
-
* episode/summary memories so recall never surfaces a meeting `show` can't load.
|
|
7488
|
-
*/
|
|
7489
|
-
retireMemoriesFromSource(source: string): Promise<number>;
|
|
7236
|
+
/** Optional durability judge; verdicts align with the shared trust pipeline. */
|
|
7237
|
+
interface MeetingSummaryJudge {
|
|
7238
|
+
judge(candidates: readonly MeetingFactCandidate[]): Promise<Array<"accept" | "reject" | "defer">>;
|
|
7490
7239
|
}
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
/** Episodes skipped because an identical one already existed. */
|
|
7496
|
-
skipped: number;
|
|
7240
|
+
interface MeetingSummaryDeps {
|
|
7241
|
+
extractor: MeetingSummaryExtractor;
|
|
7242
|
+
judge?: MeetingSummaryJudge;
|
|
7243
|
+
writer: MeetingMemoryWriter;
|
|
7497
7244
|
}
|
|
7498
|
-
|
|
7499
|
-
|
|
7500
|
-
/** True when the LLM extractor ran for at least one record. */
|
|
7245
|
+
interface MeetingSummaryResult {
|
|
7246
|
+
/** False when summaryMode is `off` (the extractor is never called). */
|
|
7501
7247
|
llmInvoked: boolean;
|
|
7502
7248
|
/** Facts written active. */
|
|
7503
7249
|
active: number;
|
|
7504
|
-
/** Facts
|
|
7250
|
+
/** Facts written to the review queue (pending_review). */
|
|
7505
7251
|
review: number;
|
|
7506
|
-
/** Candidates
|
|
7252
|
+
/** Candidates dropped below the trust bar or judge-rejected. */
|
|
7507
7253
|
dropped: number;
|
|
7508
|
-
/** Candidates/
|
|
7254
|
+
/** Candidates/summary skipped because an identical memory already existed
|
|
7255
|
+
* for this meeting (idempotent rebuild). */
|
|
7509
7256
|
skipped: number;
|
|
7510
|
-
/**
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7516
|
-
|
|
7517
|
-
|
|
7518
|
-
*/
|
|
7519
|
-
interface MeetingMemoryOutcome {
|
|
7520
|
-
/** Episode-memory counts, present only when records were built. */
|
|
7521
|
-
episodes?: MeetingEpisodeGenResult;
|
|
7522
|
-
/** Trust-gated summary/fact counts, present only when summary deps ran. */
|
|
7523
|
-
facts?: MeetingsDayFactGenResult;
|
|
7524
|
-
/** True when newly written memories require an isolated reindex. */
|
|
7525
|
-
reindexNeeded: boolean;
|
|
7526
|
-
/** Non-fatal warnings raised while generating memories. */
|
|
7257
|
+
/** True when a non-empty summary memory was written. */
|
|
7258
|
+
summaryWritten: boolean;
|
|
7259
|
+
/** Facts the #1579 tombstone chokepoint downgraded to pending_review (no
|
|
7260
|
+
* active copy). Counted here, NOT in `active`/`review`, so callers never
|
|
7261
|
+
* report a blocked write as a successfully written fact (#1645). */
|
|
7262
|
+
tombstoneBlocked: number;
|
|
7263
|
+
/** Non-fatal degradation notes (e.g. the durability judge threw and the
|
|
7264
|
+
* pass continued on trust bands alone). */
|
|
7527
7265
|
warnings: readonly string[];
|
|
7528
7266
|
}
|
|
7529
7267
|
/**
|
|
7530
|
-
*
|
|
7531
|
-
*
|
|
7532
|
-
*
|
|
7533
|
-
* - `removedIds` — stale ids the rebuild reconciled away (retract memories).
|
|
7534
|
-
* - `unchangedIds`— built ids whose stored `contentHash` was IDENTICAL this
|
|
7535
|
-
* build (nothing rewritten). The generator SKIPS all
|
|
7536
|
-
* episode/summary/fact work for these: an idempotent rebuild
|
|
7537
|
-
* must not re-invoke the LLM or duplicate memories.
|
|
7538
|
-
* - `updatedIds` — built ids that existed before AND were rewritten this build
|
|
7539
|
-
* (same id, changed `contentHash`). The generator REFRESHES
|
|
7540
|
-
* them: retract the stale episode/summary memories for that
|
|
7541
|
-
* source, then regenerate from the new record.
|
|
7542
|
-
* Ids not in `unchangedIds` or `updatedIds` are newly built — generated fresh
|
|
7543
|
-
* with no retract. The three id sets are disjoint subsets of `built`. The
|
|
7544
|
-
* implementation reports the counts + reindex signal the builder folds into its
|
|
7545
|
-
* day summary.
|
|
7546
|
-
*/
|
|
7547
|
-
interface MeetingMemoryGenerator {
|
|
7548
|
-
onRecordsBuilt(input: {
|
|
7549
|
-
built: readonly MeetingRecord[];
|
|
7550
|
-
removedIds: readonly string[];
|
|
7551
|
-
unchangedIds: readonly string[];
|
|
7552
|
-
updatedIds: readonly string[];
|
|
7553
|
-
}): Promise<MeetingMemoryOutcome>;
|
|
7554
|
-
}
|
|
7555
|
-
|
|
7556
|
-
/**
|
|
7557
|
-
* Meeting building orchestration (issue #1900, Phase 4 slice 2).
|
|
7558
|
-
*
|
|
7559
|
-
* Ties the pure pieces together: detect the day's meetings, fuse each window's
|
|
7560
|
-
* transcript + screen context, and compose idempotent records. Day data is
|
|
7561
|
-
* supplied through an injected source so fixtures (and the later activity/
|
|
7562
|
-
* wearables wiring) share one code path — no hidden IO here.
|
|
7268
|
+
* Layer 2: extract a trust-gated summary + facts (decisions/commitments/open
|
|
7269
|
+
* questions) for one meeting and persist the survivors. Reuses the shared trust
|
|
7270
|
+
* pipeline (`computeTrustScore` + `decideSmart`), NOT a parallel scorer.
|
|
7563
7271
|
*
|
|
7564
|
-
*
|
|
7565
|
-
*
|
|
7566
|
-
*
|
|
7567
|
-
*
|
|
7272
|
+
* - `off` → returns immediately; the extractor is NEVER invoked (episode-only).
|
|
7273
|
+
* - `review`→ every candidate lands in the review queue (pending_review).
|
|
7274
|
+
* - `smart` → judge verdict + trust bands route each candidate to active /
|
|
7275
|
+
* review / drop; corroboration (>= 2 transcript sources) boosts trust.
|
|
7568
7276
|
*/
|
|
7569
|
-
|
|
7570
|
-
/**
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
}
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
|
|
7604
|
-
|
|
7605
|
-
|
|
7606
|
-
|
|
7607
|
-
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
|
|
7613
|
-
|
|
7614
|
-
|
|
7615
|
-
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
|
|
7626
|
-
* maintenance) regenerates the missing memories. Carries no raw exception text —
|
|
7627
|
-
* only the generic rejection message or the generator's own warning strings.
|
|
7628
|
-
*/
|
|
7629
|
-
memoryWarning?: string;
|
|
7630
|
-
/**
|
|
7631
|
-
* Deterministic episode-memory counts, present only when a `memoryGenerator`
|
|
7632
|
-
* was injected. One recall-anchor episode is written per built record (idempotent).
|
|
7633
|
-
*/
|
|
7634
|
-
episodes?: MeetingEpisodeGenResult;
|
|
7635
|
-
/**
|
|
7636
|
-
* Trust-gated summary/fact counts (decisions, commitments, questions, and the
|
|
7637
|
-
* synthesized summary), present only when a `memoryGenerator` with summary deps
|
|
7638
|
-
* ran and `summaryMode !== "off"`. Aggregated across the day's records.
|
|
7639
|
-
*/
|
|
7640
|
-
facts?: MeetingsDayFactGenResult;
|
|
7641
|
-
}
|
|
7642
|
-
/** Optional side effects the builder fires after a day build. */
|
|
7643
|
-
interface MeetingsBuilderHooks {
|
|
7644
|
-
/**
|
|
7645
|
-
* Invoked once per build when records changed (`built > 0 || removed > 0`).
|
|
7646
|
-
* Meeting records live inside the QMD collection root for full-text search,
|
|
7647
|
-
* so a host that wants them discoverable immediately (rather than at the next
|
|
7648
|
-
* scheduled reindex) supplies a reindex here. No-op when omitted — records are
|
|
7649
|
-
* still picked up by the next index update.
|
|
7650
|
-
*/
|
|
7651
|
-
reindex?(summary: MeetingsDayBuildSummary): void | Promise<void>;
|
|
7652
|
-
}
|
|
7653
|
-
/** Orchestrates a store-backed build of a day's meetings. */
|
|
7654
|
-
declare class MeetingsBuilder {
|
|
7655
|
-
private readonly opts;
|
|
7656
|
-
constructor(opts: {
|
|
7657
|
-
source: MeetingsDaySource;
|
|
7658
|
-
store: MeetingRecordStore;
|
|
7659
|
-
config: MeetingsConfig;
|
|
7660
|
-
fusionOptions?: MeetingFusionOptions;
|
|
7661
|
-
hooks?: MeetingsBuilderHooks;
|
|
7662
|
-
/**
|
|
7663
|
-
* When present, the memory-generation layer runs after the record-store
|
|
7664
|
-
* writes: deterministic recall-anchor episodes per built record, the
|
|
7665
|
-
* trust-gated summary/facts layer, and retract-on-removal — all behind the
|
|
7666
|
-
* `MeetingMemoryGenerator` seam (issue #1900). Omitted → pure
|
|
7667
|
-
* detect+fuse+store with no memory writes. The engine depends only on this
|
|
7668
|
-
* interface, never on the memory-gen module.
|
|
7669
|
-
*/
|
|
7670
|
-
memoryGenerator?: MeetingMemoryGenerator;
|
|
7671
|
-
});
|
|
7672
|
-
buildDay(date: string): Promise<MeetingsDayBuildSummary>;
|
|
7673
|
-
/**
|
|
7674
|
-
* Pick the existing same-day record whose window best overlaps `meeting` and
|
|
7675
|
-
* reuse its id — but ONLY when adoption is safe: the windows substantially
|
|
7676
|
-
* coincide (overlap covers a majority of the shorter window), OR a corroborating
|
|
7677
|
-
* identity signal (same app, same title, or a shared transcript source) is
|
|
7678
|
-
* BACKED by a non-marginal overlap (>= a quarter of the shorter window). Coarse
|
|
7679
|
-
* identity signals alone never license adoption across a thin sliver of overlap,
|
|
7680
|
-
* or two genuinely different back-to-back same-app meetings would overwrite each
|
|
7681
|
-
* other's record and `show <old-id>` would point at the wrong meeting. Candidate
|
|
7682
|
-
* selection is deterministic (max overlap, then earliest start, then id).
|
|
7683
|
-
* Returns the detector's fresh id when nothing qualifies.
|
|
7684
|
-
*/
|
|
7685
|
-
private adoptExistingId;
|
|
7686
|
-
}
|
|
7277
|
+
declare function generateMeetingSummaryFacts(record: MeetingRecord, config: MeetingsConfig, deps: MeetingSummaryDeps): Promise<MeetingSummaryResult>;
|
|
7278
|
+
/**
|
|
7279
|
+
* Storage capabilities `createMeetingMemoryWriter` needs, satisfied structurally
|
|
7280
|
+
* by `StorageManager`. Kept narrow (the same rationale as the wearables writer)
|
|
7281
|
+
* so this module performs NO direct fs and never touches the secure-store key.
|
|
7282
|
+
*/
|
|
7283
|
+
interface MeetingMemoryStorageIo {
|
|
7284
|
+
writeSealedMemory: MeetingMemoryWriter["writeSealedMemory"];
|
|
7285
|
+
readAllMemories(): Promise<Array<{
|
|
7286
|
+
path: string;
|
|
7287
|
+
frontmatter: {
|
|
7288
|
+
id: string;
|
|
7289
|
+
source: string;
|
|
7290
|
+
status?: string;
|
|
7291
|
+
};
|
|
7292
|
+
content: string;
|
|
7293
|
+
}>>;
|
|
7294
|
+
invalidateMemory(id: string): Promise<boolean>;
|
|
7295
|
+
}
|
|
7296
|
+
/**
|
|
7297
|
+
* Build the meeting memory writer used by production builds. Mirrors
|
|
7298
|
+
* `createWearableMemoryWriter`: the storage fact-hash index only covers
|
|
7299
|
+
* category "fact", so meeting episodes (`moment`) and decisions/commitments
|
|
7300
|
+
* dedup by a bounded, source-scoped content scan over `meeting:<id>`-tagged
|
|
7301
|
+
* memories — without it, a forced/retried day re-writes identical episodes and
|
|
7302
|
+
* facts (issue #1900).
|
|
7303
|
+
*/
|
|
7304
|
+
declare function createMeetingMemoryWriter(storage: MeetingMemoryStorageIo): MeetingMemoryWriter;
|
|
7305
|
+
/**
|
|
7306
|
+
* Concrete `MeetingMemoryGenerator` for the builder's memory seam (issue #1900
|
|
7307
|
+
* decouple). Implements `onRecordsBuilt` by driving the EXISTING episode/fact/
|
|
7308
|
+
* retract logic behind the interface the deterministic engine depends on, and
|
|
7309
|
+
* routes each built id by the partition the engine computed from the store's
|
|
7310
|
+
* per-record write result (round 2):
|
|
7311
|
+
*
|
|
7312
|
+
* - `removedIds` — retire the deleted meetings' memories so recall never
|
|
7313
|
+
* surfaces a meeting `show <id>` can no longer load;
|
|
7314
|
+
* - `updatedIds` — the record changed under a kept id: retract the prior
|
|
7315
|
+
* episode/summary for `meeting:<id>` FIRST, then regenerate from the new
|
|
7316
|
+
* record, so recall is refreshed (not duplicated, not left stale);
|
|
7317
|
+
* - `unchangedIds` — the stored record was byte-identical this rebuild: SKIP
|
|
7318
|
+
* all generation for it (no episode probe, no extractor call, no rewrite) so
|
|
7319
|
+
* an idempotent rebuild fires zero LLM calls and writes nothing;
|
|
7320
|
+
* - new ids (built minus unchanged minus updated) — generate fresh.
|
|
7321
|
+
*
|
|
7322
|
+
* `reindexNeeded` fires when the regenerated records wrote new episodes/facts;
|
|
7323
|
+
* the builder additionally reindexes on removed/built counts, so a retract-only
|
|
7324
|
+
* rebuild still reindexes.
|
|
7325
|
+
*
|
|
7326
|
+
* `config` is captured here (not passed through `onRecordsBuilt`) because the
|
|
7327
|
+
* seam input carries record partitions, while the summary/facts layer needs
|
|
7328
|
+
* `summaryMode` and the trust bands.
|
|
7329
|
+
*/
|
|
7330
|
+
declare function createMeetingMemoryGenerator(writer: MeetingMemoryWriter, config: MeetingsConfig, summaryDeps?: {
|
|
7331
|
+
extractor: MeetingSummaryExtractor;
|
|
7332
|
+
judge?: MeetingSummaryJudge;
|
|
7333
|
+
}): MeetingMemoryGenerator;
|
|
7687
7334
|
|
|
7688
7335
|
/**
|
|
7689
7336
|
* Meetings CLI runner (issue #1900) — one implementation shared by every CLI
|
|
@@ -7720,6 +7367,149 @@ interface MeetingsCliDeps {
|
|
|
7720
7367
|
/** Run a meetings CLI command. Returns a process exit code; all output via `io`. */
|
|
7721
7368
|
declare function runMeetingsCliCommand(deps: MeetingsCliDeps, args: string[], io: MeetingsCliIo): Promise<number>;
|
|
7722
7369
|
|
|
7370
|
+
/**
|
|
7371
|
+
* Concrete meetings day source (issue #1900) — the wiring slice that feeds the
|
|
7372
|
+
* builder from the ESTABLISHED stores rather than fixtures:
|
|
7373
|
+
* - screen activity snapshots (the activity SQLite store), and
|
|
7374
|
+
* - wearable day transcripts (the wearable day-store), reconstructed into the
|
|
7375
|
+
* shared fusion conversation shape via `reconstructFusionInputs`.
|
|
7376
|
+
*
|
|
7377
|
+
* All timestamps stay UTC and every day read is a half-open [start, end)
|
|
7378
|
+
* window resolved by `activityDayWindow(date, timezone)`, so the local day the
|
|
7379
|
+
* caller asked for maps to one deterministic UTC window shared by both signals.
|
|
7380
|
+
*
|
|
7381
|
+
* Fidelity caveat (inherited, documented): a wearable day transcript is stored
|
|
7382
|
+
* RENDERED at minute precision, so `reconstructFusionInputs` rebuilds each clock
|
|
7383
|
+
* as `${date}THH:MM:00Z` — the same reconstruction the fusion subsystem uses.
|
|
7384
|
+
* App spans come from true-UTC activity instants; the two frames coincide when
|
|
7385
|
+
* the activity timezone is UTC (the default). Under a non-UTC timezone the
|
|
7386
|
+
* app+audio overlap carries that reconstruction offset, exactly as wearable
|
|
7387
|
+
* fusion does; audio-only detection is unaffected. Provider-meeting boundaries
|
|
7388
|
+
* (Granola/Fireflies explicit titles) are a connector concern not present in the
|
|
7389
|
+
* reconstructed day transcript, so audio windows never fabricate a provider flag.
|
|
7390
|
+
*/
|
|
7391
|
+
|
|
7392
|
+
/** Reads the day's screen-activity snapshots. Satisfied by `ActivityStore`. */
|
|
7393
|
+
interface MeetingsActivityReader {
|
|
7394
|
+
/** Snapshots whose capture instant is in the half-open [start, end) window. */
|
|
7395
|
+
listSnapshotsForDay(machine: string | null, startUtcInclusive: string, endUtcExclusive: string): ActivitySnapshot[] | Promise<ActivitySnapshot[]>;
|
|
7396
|
+
}
|
|
7397
|
+
/** One stored wearable day transcript body, ready for reconstruction. */
|
|
7398
|
+
interface WearableDayBody {
|
|
7399
|
+
source: string;
|
|
7400
|
+
body: string;
|
|
7401
|
+
escaped?: boolean;
|
|
7402
|
+
/**
|
|
7403
|
+
* IANA timezone the body's `HH:MM` clocks were rendered in (from the
|
|
7404
|
+
* transcript frontmatter). Empty when the transcript stored no timezone —
|
|
7405
|
+
* the clocks are then treated as UTC, matching the fusion identity guard.
|
|
7406
|
+
*/
|
|
7407
|
+
timezone?: string;
|
|
7408
|
+
}
|
|
7409
|
+
/** Reads the day's rendered wearable transcript bodies (one per source). */
|
|
7410
|
+
interface MeetingsWearableReader {
|
|
7411
|
+
readDayBodies(date: string): Promise<WearableDayBody[]>;
|
|
7412
|
+
}
|
|
7413
|
+
/** Narrow slice of `StorageManager` the wearable reader needs. */
|
|
7414
|
+
interface WearableDayTranscriptStore {
|
|
7415
|
+
listWearableTranscriptDays(sourceId?: string): Promise<Array<{
|
|
7416
|
+
source: string;
|
|
7417
|
+
date: string;
|
|
7418
|
+
}>>;
|
|
7419
|
+
readWearableDayTranscript(sourceId: string, date: string): Promise<string | null>;
|
|
7420
|
+
}
|
|
7421
|
+
/**
|
|
7422
|
+
* Build a wearable reader over a storage manager: discover which sources stored
|
|
7423
|
+
* a transcript for the day (store-driven, not config-driven, so a day is read
|
|
7424
|
+
* exactly from what exists on disk), then read + parse each body.
|
|
7425
|
+
*/
|
|
7426
|
+
declare function storageWearableDayReader(store: WearableDayTranscriptStore): MeetingsWearableReader;
|
|
7427
|
+
/**
|
|
7428
|
+
* Derive meeting-app foreground spans from the day's snapshots. A span is a
|
|
7429
|
+
* maximal run of consecutive (time-ordered) snapshots on ONE capture machine
|
|
7430
|
+
* whose app/title/url matches any configured pattern; the next non-matching
|
|
7431
|
+
* snapshot ends the run AND bounds its end (so a lone matching snapshot still
|
|
7432
|
+
* yields a non-zero span). A trailing run at the END of a machine's snapshots
|
|
7433
|
+
* has no following non-matching tick to bound it, so a lone trailing tick is
|
|
7434
|
+
* extended by the machine's sampling cadence rather than collapsing to a
|
|
7435
|
+
* zero-length point the detector's `isFinitePair` rejects. Brief app switches
|
|
7436
|
+
* during a call surface as adjacent spans and the detector's `mergeGapMinutes`
|
|
7437
|
+
* re-merges them.
|
|
7438
|
+
*/
|
|
7439
|
+
declare function deriveAppSpans(snapshots: readonly ActivitySnapshot[], appPatterns: readonly string[]): MeetingAppSpan[];
|
|
7440
|
+
/**
|
|
7441
|
+
* Derive audio windows from reconstructed conversations. Each conversation is
|
|
7442
|
+
* one window on its source; `distinctNonWearerSpeakers` counts distinct
|
|
7443
|
+
* non-self speaker labels (the audio-only detection rule), and the end is the
|
|
7444
|
+
* conversation end when known, else the latest segment instant, else the start.
|
|
7445
|
+
*/
|
|
7446
|
+
declare function buildAudioWindows(conversations: readonly FusionConversationInput[]): MeetingAudioWindow[];
|
|
7447
|
+
/**
|
|
7448
|
+
* Reads a day's real activity + wearable signals and assembles the
|
|
7449
|
+
* {@link MeetingDayData} the builder consumes. Injected readers keep this
|
|
7450
|
+
* testable against fixtures and free of direct filesystem access.
|
|
7451
|
+
*/
|
|
7452
|
+
declare class ActivityWearablesMeetingsDaySource implements MeetingsDaySource {
|
|
7453
|
+
private readonly deps;
|
|
7454
|
+
constructor(deps: {
|
|
7455
|
+
/**
|
|
7456
|
+
* Screen-activity reader. Optional (issue #2123): only the machine-owner
|
|
7457
|
+
* (default) namespace consumes machine-scoped activity; every other caller
|
|
7458
|
+
* namespace runs audio-only, so it is constructed with no activity reader
|
|
7459
|
+
* and the load degrades to zero screen snapshots.
|
|
7460
|
+
*/
|
|
7461
|
+
activity?: MeetingsActivityReader;
|
|
7462
|
+
wearables: MeetingsWearableReader;
|
|
7463
|
+
config: MeetingsConfig;
|
|
7464
|
+
/** IANA timezone resolving the local day → UTC window (activity's zone). */
|
|
7465
|
+
timezone: string;
|
|
7466
|
+
});
|
|
7467
|
+
loadDayData(date: string): Promise<MeetingDayData>;
|
|
7468
|
+
}
|
|
7469
|
+
|
|
7470
|
+
/**
|
|
7471
|
+
* Debounced meetings build scheduler (issue #1900) — the tail step after a
|
|
7472
|
+
* sync. A completed activity or wearable sync for a day calls
|
|
7473
|
+
* `requestBuild(date)`; this coalesces bursts (a wearable window sync touches
|
|
7474
|
+
* several days; an activity tick and a wearable tick can land together) onto a
|
|
7475
|
+
* per-day trailing-edge timer so the day is (re)built at most once per debounce
|
|
7476
|
+
* window instead of once per sync signal.
|
|
7477
|
+
*
|
|
7478
|
+
* Single-flight per day: a build in flight for a date defers a fresh request to
|
|
7479
|
+
* a follow-up build after it settles, so a late sync signal is never dropped.
|
|
7480
|
+
* `debounceMs: 0` builds on the next tick (no coalescing window). Errors are
|
|
7481
|
+
* isolated per day and routed to `onError` — a failed build must never reject
|
|
7482
|
+
* the sync path that requested it.
|
|
7483
|
+
*/
|
|
7484
|
+
interface MeetingsBuildSchedulerOptions {
|
|
7485
|
+
/** Trailing-edge coalescing window (ms). 0 = build on the next tick. */
|
|
7486
|
+
debounceMs: number;
|
|
7487
|
+
/** Build one day. Rejections are caught and routed to `onError`. */
|
|
7488
|
+
build(date: string): Promise<unknown>;
|
|
7489
|
+
/** Observe a build failure (logging). Never called for success. */
|
|
7490
|
+
onError?(date: string, err: unknown): void;
|
|
7491
|
+
}
|
|
7492
|
+
declare class MeetingsBuildScheduler {
|
|
7493
|
+
private readonly opts;
|
|
7494
|
+
private readonly timers;
|
|
7495
|
+
/** Days whose timer has fired and are running (single-flight promise). */
|
|
7496
|
+
private readonly running;
|
|
7497
|
+
/** Days requested again while their build was in flight (trailing rebuild). */
|
|
7498
|
+
private readonly rerun;
|
|
7499
|
+
private disposed;
|
|
7500
|
+
constructor(opts: MeetingsBuildSchedulerOptions);
|
|
7501
|
+
/** Request a (debounced) build for a day. Idempotent within the window. */
|
|
7502
|
+
requestBuild(date: string): void;
|
|
7503
|
+
/** Run every armed timer's build now and await completion (teardown/tests). */
|
|
7504
|
+
flush(): Promise<void>;
|
|
7505
|
+
/** Cancel all armed timers without running them. */
|
|
7506
|
+
dispose(): void;
|
|
7507
|
+
/** True while any day has an armed timer or an in-flight build. */
|
|
7508
|
+
get pending(): boolean;
|
|
7509
|
+
private fire;
|
|
7510
|
+
private runBuild;
|
|
7511
|
+
}
|
|
7512
|
+
|
|
7723
7513
|
type LocalSessionRole = "user" | "assistant" | "tool" | "system" | "other";
|
|
7724
7514
|
interface LocalSessionTurn {
|
|
7725
7515
|
role: LocalSessionRole;
|
|
@@ -8036,4 +7826,4 @@ declare function forkCapsule(opts: ForkCapsuleOptions): Promise<ForkCapsuleResul
|
|
|
8036
7826
|
*/
|
|
8037
7827
|
declare function readForkLineage(targetRoot: string, forkId: string): Promise<ForkLineage | null>;
|
|
8038
7828
|
|
|
8039
|
-
export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivitySourceConfig, type ActivitySourceRunItem, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, type ActivitySyncRunOptions, type ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, type ArchitectureHintsResult, type AuditEntry, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedMeeting, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETINGS_DIR_NAME, MEETING_FORMAT_VERSION, MEETING_KIND, MeetingActivitySnapshot, MeetingBuildInput, type MeetingBuildOutcome, type MeetingDayData, MeetingDetectionSource, type MeetingEpisodeGenResult, type MeetingFusionOptions, type MeetingMemoryGenerator, type MeetingMemoryOutcome, type MeetingMemoryWriter, MeetingRecord, type MeetingRecordBase, type MeetingRecordFileIo, MeetingRecordStore, type MeetingRecordSummary, type MeetingSaveResult, MeetingsBuilder, type MeetingsBuilderHooks, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, type MeetingsDayBuildSummary, type MeetingsDayFactGenResult, type MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, MemoryWriteResult, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, WearableDayTranscript, WearableDayTranscriptMeta, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDatabasePath, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyActivitySchema, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildMeetingRecordsForDay, buildProcedureMarkdownBody, buildProcedureRecallSection, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingRecord, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, emptyManifest, emptySyncState, ensureActivityStateDir, ensureBuiltInWearableConnectors, escapeSegmentText, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fuseMeeting, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isReviewPrompt, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingId, meetingIdDate, mergeSpaces, normalizeOriginUrl, onboard, openActivityDatabase, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingRecordSummary, parseMeetingsConfig, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveActivitySyncDates, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runActivitySyncOnce, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, serializeMeetingRecord, shareSpace, stableHash, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, writeManifest };
|
|
7829
|
+
export { ACTIVITY_DIGEST_FORMAT_VERSION, ACTIVITY_DIR_NAME, ACTIVITY_SYNC_DEFAULT_INTERVAL_MS, ActivityConfig, ActivityDayDigest, ActivityDayMeta, ActivityHttpSourceClient, type ActivityHttpSourceClientOptions, type ActivityIndexRefresher, type ActivityMemoryGenerationDeps, type ActivityMemoryGenerationResult, type ActivityMemoryWriter, ActivitySnapshot, ActivitySnapshotPage, ActivitySourceCheck, ActivitySourceClient, ActivityStore, type ActivitySyncOptions, type ActivitySyncRegistration, type ActivitySyncResult, ActivitySyncRunSummary, ActivitySyncScheduler, type ActivitySyncSchedulerOptions, ActivityWearablesMeetingsDaySource, type ArchitectureHintsResult, type AuditEntry, type BinaryAssetRecord, type BinaryAssetStatus, type BinaryLifecycleConfig, type BinaryLifecycleManifest, type BinaryStorageBackend, type BinaryStorageBackendConfig, ClaudeCodeMemoryExtensionPublisher, type CleanupResult, CodexMemoryExtensionPublisher, type CodingNamespaceOverlay, type CodingScopeDescription, type CollectLocalSessionSummariesOptions, type CompiledCorrectionRule, type CompiledRedactionRule, type ConflictEntry, type ContradictionOptions, type ContradictionPair, type ContradictionResult$1 as CurateContradictionResult, type DuplicateResult as CurateDuplicateResult, type CurateOptions, type CurateResult, type CuratedStatement, DEFAULT_GRACE_PERIOD_DAYS, DEFAULT_MAX_BINARY_SIZE_BYTES, DEFAULT_MEETINGS_CONFIG, DEFAULT_MEETINGS_DETECTION_CONFIG, DEFAULT_MEETING_APP_PATTERNS, DEFAULT_PROXIMITY_GAP_MS, DEFAULT_REDACTION_RULES, DEFAULT_SCAN_PATTERNS, DEFAULT_SOURCE_TRUST, DEFAULT_TAXONOMY, DEFAULT_WINDOW_TOLERANCE_MS, type DedupOptions, type DedupResult, DetectedMeeting, DiscoveredExtension, type DocFile, type DriveChange, type DriveChangesPage, type DriveFileMetadata, type DuplicatePair, EngramAccessService, type FileChange, FilesystemBackend, type ForkCapsuleOptions, type ForkCapsuleResult, type ForkLineage, type FuseClusterResult, FusedDisagreement, FusedSegment, FusedSpeaker, FusionConversationInput, FusionDayResult, FusionOptions, GOOGLE_DRIVE_CONNECTOR_ID, GOOGLE_DRIVE_CURSOR_KIND, DEFAULT_POLL_INTERVAL_MS as GOOGLE_DRIVE_DEFAULT_POLL_INTERVAL_MS, type GenerateOptions, type GenerateResult, type GitContext, type GitInvoker, type GoogleDriveClient, type GoogleDriveClientFactory, type GoogleDriveConnectorConfig, type GoogleDriveSyncResult, HermesMemoryExtensionPublisher, type IngestionPlan, JudgeCandidate, JudgeVerdict, KNOWN_WEARABLE_SOURCE_IDS, type LanguageInfo, LiveConnector, LiveConnectorRegistry, LiveConnectorRegistryError, type LocalSessionAdapterInput, type LocalSessionAdapterOptions, type LocalSessionParseWarning, type LocalSessionParsedFile, type LocalSessionRole, type LocalSessionSourceAdapter, type LocalSessionSummaryCliOptions, type LocalSessionSummaryReport, type LocalSessionTurn, MEETING_SOURCE_PREFIX, MeetingAppSpan, MeetingAudioWindow, MeetingDayData, MeetingEpisodeGenResult, type MeetingFactCandidate, MeetingMemoryGenerator, type MeetingMemoryStorageIo, MeetingMemoryWriter, MeetingRecord, MeetingRecordStore, type MeetingSummaryDeps, type MeetingSummaryExtractor, type MeetingSummaryJudge, type MeetingSummaryResult, type MeetingsActivityReader, MeetingsBuildScheduler, type MeetingsBuildSchedulerOptions, MeetingsBuilder, type MeetingsCliDeps, type MeetingsCliIo, MeetingsConfig, MeetingsDaySource, MeetingsDetectionConfig, MeetingsDetectionInput, MeetingsInputError, type MeetingsWearableReader, MemoryCategory, type MemoryEntry, type MemoryExtensionPublisher, type MergeResult, NOTION_CONNECTOR_ID, NOTION_CURSOR_KIND, NOTION_DEFAULT_POLL_INTERVAL_MS, NoneBackend, type NotionConnectorConfig, type OnboardOptions, type OnboardResult, PUBLISHERS, type PackReviewContextStructuralInput, type PipelineResult, PluginConfig, type ProjectShape, type ProvenanceEntry, type PublishContext, type PublishResult, type PublisherCapabilities, REDACTION_PLACEHOLDER, RELAY_DEMO_MISSION_ID, RELAY_DEMO_NAMESPACE, RELAY_MISSION_DEFAULT_EVENT_LIMIT, RELAY_MISSION_MAX_EVENTS, RELAY_MISSION_MAX_EVENT_LIMIT, RELAY_MISSION_MAX_FILE_BYTES, RELAY_MISSION_MAX_LINE_BYTES, RELAY_MISSION_SCHEMA_VERSION, REMNIC_CITATION_FORMAT, REMNIC_MCP_TOOL_INVENTORY, REMNIC_RECALL_DECISION_RULES, REMNIC_SEMANTIC_OVERVIEW, type RedactionConfig, type RedactionReport, type RedactionRuleConfig, type RelayAgentOutputSnapshot, type RelayAgentSnapshot, type RelayConflictSnapshot, type RelayCorrectionSnapshot, type RelayDecisionSnapshot, type RelayEvidenceRef, RelayEvidenceRefSchema, type RelayMissionAppendAccessInput, type RelayMissionAppendAccessOutput, type RelayMissionAppendResult, type RelayMissionEvent, type RelayMissionEventInput, RelayMissionEventInputSchema, RelayMissionEventSchema, type RelayMissionPayload, RelayMissionPayloadSchema, type RelayMissionReadAccessInput, type RelayMissionReadAccessOutput, type RelayMissionReadOptions, RelayMissionReadOptionsSchema, type RelayMissionSnapshot, type RelayMissionStatus, RelayMissionStore, RelayMissionStoreError, type RelayMissionStoreErrorCode, type RelayMissionStoreOptions, type RelayPropagationSnapshot, type RelayRecallSnapshot, type RelayTestSnapshot, ResolverDecision, type ReviewAction, type ReviewCandidate, type ReviewContext, type ReviewItem, type ReviewListResult, type ReviewOptions, type ReviewResult, SealedMemoryEnvelope, type SessionSummaryDraft, type SessionSummaryExcerpt, type Space, type SpaceKind, type SpaceManifest, type SpacePromoteResult, type SpacePullResult, type SpacePushResult, type SpaceShareResult, type SpaceSwitchResult, SpeakerRegistry, type StatementProvenance, StorageManager, type StructuralContextDegradation, type StructuralContextErrorCode, type StructuralContextProvider, type StructuralProviderStatus, type StructuralSpawnFn, type StructuralSymbol, type SubprocessProviderOptions, type SymbolsForDiffErr, type SymbolsForDiffOk, type SymbolsForDiffResult, SyncIncrementalResult, type SyncOptions, type SyncResult, type SyncState, TRANSCRIPT_FORMAT_VERSION, Taxonomy, TokenEntry, type TrainingExportAdapter, type TrainingExportOptions, type TrainingExportRecord, type TranscriptSegmentMatch, type TreeNode, WEARABLES_DIR_NAME, WearableCleanupSettings, type WearableConnectorFactory, type WearableConnectorFactoryOptions, type WearableConnectorRegistration, WearableConversation, WearableCorrectionRule, type WearableDayBody, WearableDayTranscript, WearableDayTranscriptMeta, type WearableDayTranscriptStore, WearableFusionConfig, WearableSourceConnector, WearableSourceSettings, type WearableSourceSyncState, type WearableSyncStateFile, type WearablesCliIo, WearablesConfig, WearablesInputError, WearablesService, activityCursorKey, activityDayWindow, activityDigestPath, appendRelayMissionEvent, applyCorrections, applyOffTheRecord, assertValidTimezone, bodyIsEscaped, branchNamespaceName, buildAudioWindows, buildProcedureMarkdownBody, buildProcedureRecallSection, builtInConnectorPackageSpecifier, cleanConversation, clearStructuralContextProvidersForTest, clearTrainingExportAdapters, clearWearableConnectors, clusterConversations, collapseImmediateRepeats, collectLocalSessionSummaries, compareRelayEvents, compileCorrectionRule, compileCorrectionRules, compileRedactionPatterns, compileRedactionRules, composeActivityDigestBody, composeActivityDigestMeta, composeDayTranscriptBody, composeDayTranscriptMeta, composeMeetingEpisodeContent, convertMemoriesToRecords, correctionsFilePath, createBackend, createGoogleDriveConnector, createMeetingMemoryGenerator, createMeetingMemoryWriter, createNotionConnector, createRelayMissionFixture, createSpace, createSubprocessStructuralProvider, curate, decodeTranscriptBody, defaultActivityConfig, defaultGoogleDriveClientFactory, defaultWearableCleanupSettings, defaultWearableFusionConfig, defaultWearableSourceSettings, defaultWearablesConfig, deleteSpace, deriveAppSpans, describeCodingScope, describeErrorForOperator, describeStructuralProviderStatus, detectMeetings, emptyManifest, emptySyncState, ensureBuiltInWearableConnectors, escapeSegmentText, findContradictions, findDuplicates, forkCapsule, fuseCluster, fuseDay, fusionInputsFromConversations, generateActivityMemories, generateContextTree, generateMeetingEpisodes, generateMeetingSummaryFacts, generateResolverDocument, getActiveSpace, getAuditLog, getLocalSessionSourceAdapter, getManifestPath, getSpacesDir, getStructuralContextProvider, getTaxonomyDir, getTaxonomyFilePath, getTrainingExportAdapter, getWearableConnector, hashActivityBody, hashTranscriptBody, hostIdForConnector, isEligibleActivityFact, isLowQualitySegment, isReviewPrompt, isValidActivityDate, isValidTranscriptDate, listLocalSessionSourceAdapters, listReviewItems, listSpaces, listTrainingExportAdapters, listWearableConnectors, loadCorrectionsFile, loadManifest, loadSyncState, loadTaxonomy, manifestDir, manifestPath, matchesPatterns, meetingDayTag, meetingId, meetingSourceLabel, mergeSpaces, normalizeOriginUrl, onboard, packReviewContext, packReviewContextStructural, parseActivityConfig, parseActivityDigest, parseDayTranscript, parseFlexibleIsoTimestamp, parseIsoOffsetTimestamp, parseIsoUtcTimestamp, parseMeetingsConfig, parseProcedureStepsFromBody, parseTouchedFiles, parseTranscriptSegmentLine, parseWearablesConfig, performReview, probeStructuralProviderForDoctor, projectNamespaceName, promoteSpace, publisherFor, publisherForConnector, pullFromSpace, pushToSpace, rankReviewCandidates, readForkLineage, readManifest, readRelayMission, reconstructFusionInputs, redactSessionSummaryText, redactText, reduceRelayMission, refreshActivityIndex, registerLocalSessionSourceAdapter, registerPublisher, registerStructuralContextProvider, registerTrainingExportAdapter, registerWearableConnector, relayMissionAppendOperation, relayMissionReadOperation, relayMissionReceiptDigest, renderExtensionsBlock, renderExtensionsFooter, renderStructuralProviderStatusLine, resolveCategory, resolveCodingNamespaceOverlay, resolveGitContext, runBinaryLifecyclePipeline, runLocalSessionSummaryCliCommand, runMeetingsCliCommand, runWearablesCliCommand, saveCorrectionsFile, saveManifest, saveSyncState, saveTaxonomy, scanForBinaries, serializeActivityDigest, serializeDayTranscript, shareSpace, stableHash, storageWearableDayReader, stripFillerTokens, structuralProviderActive, switchSpace, syncActivitySource, syncChanges, syncStateFilePath, timezoneOffsetIso, toStructuralContextDegradation, unescapeSegmentText, unescapeSpeakerLabel, updateSourceSyncState, validateActivityBaseUrl, validateGoogleDriveConfig, validateNotionConfig, validateSlug, validateTaxonomy, watchForChanges, writeManifest, writeMeetingEpisodeMemory };
|