@remnic/core 9.21.0 → 9.22.1
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 +32 -12
- package/dist/access-admin-ops-surface.js +44 -43
- package/dist/access-audit.js +2 -2
- package/dist/access-boundary.d.ts +13 -10
- package/dist/access-boundary.js +44 -43
- package/dist/access-cli.js +125 -122
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +16 -9
- package/dist/access-http.js +56 -54
- package/dist/access-identity-continuity-surface.d.ts +9 -7
- package/dist/access-identity-continuity-surface.js +44 -43
- package/dist/access-lcm-surface.d.ts +12 -9
- package/dist/access-lcm-surface.js +44 -43
- package/dist/access-mcp-admin-tools.d.ts +18 -0
- package/dist/access-mcp-admin-tools.js +10 -0
- package/dist/access-mcp-admin-tools.js.map +1 -0
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp.d.ts +22 -10
- package/dist/access-mcp.js +52 -50
- 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 +44 -43
- package/dist/access-observe-write-surface.d.ts +12 -9
- package/dist/access-observe-write-surface.js +44 -43
- package/dist/access-operations-batch.js +46 -45
- package/dist/access-operations.d.ts +16 -13
- package/dist/access-operations.js +48 -47
- package/dist/access-recall-concurrency.d.ts +12 -9
- package/dist/access-recall-concurrency.js +44 -43
- package/dist/access-recall-response.d.ts +12 -9
- package/dist/access-recall-response.js +44 -43
- package/dist/access-recall-surface.d.ts +14 -11
- package/dist/access-recall-surface.js +44 -43
- package/dist/access-schema.d.ts +76 -76
- package/dist/{access-service-BqUii7LY.d.ts → access-service-CKEROeFP.d.ts} +32 -11
- package/dist/access-service.d.ts +13 -10
- package/dist/access-service.js +46 -45
- package/dist/access-surface-catalog.d.ts +12 -9
- package/dist/access-surface-catalog.js +7 -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 +7 -7
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/{auto-sync-UPTUVE4X.js → auto-sync-5OE5QOZB.js} +4 -4
- 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 +11 -11
- 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 +15 -15
- 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-Z54EM5YZ.js → chunk-2PHX3I5C.js} +10 -10
- package/dist/{chunk-JFDEYXF7.js → chunk-3NAHZQU3.js} +2 -2
- package/dist/{chunk-MJYYXODM.js → chunk-3UOSVTFR.js} +8 -8
- package/dist/{chunk-HPOY2PHQ.js → chunk-3ZW6ZQO6.js} +6 -6
- package/dist/{chunk-UV72DEZD.js → chunk-4B77XSG5.js} +5 -5
- package/dist/chunk-56BSXSHC.js +158 -0
- package/dist/chunk-56BSXSHC.js.map +1 -0
- 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-3ZUY2VQF.js → chunk-5FZQ74K5.js} +2 -2
- package/dist/{chunk-B7C3TF5H.js → chunk-6TWXQ4E2.js} +5 -5
- package/dist/{chunk-JN3IUA2Q.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-5JQLAQUZ.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-EXU5IQ3S.js → chunk-CUUY5CC4.js} +6 -6
- package/dist/{chunk-X5QS5C2O.js → chunk-E3ZMFFQZ.js} +2 -2
- package/dist/{chunk-JWMYVQAM.js → chunk-ES5IHQ6M.js} +2 -2
- package/dist/{chunk-HJEEAO4O.js → chunk-G2NSSQES.js} +2 -2
- package/dist/{chunk-QO2KODU6.js → chunk-GD3QOBMB.js} +2 -2
- package/dist/{chunk-62QM5MKY.js → chunk-IIXLB5E7.js} +118 -62
- package/dist/chunk-IIXLB5E7.js.map +1 -0
- package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
- package/dist/{chunk-Q3FWRDCP.js → chunk-JNIJBXVK.js} +2 -2
- package/dist/{chunk-EILX7SQR.js → chunk-JVGUY2AU.js} +27 -16
- package/dist/chunk-JVGUY2AU.js.map +1 -0
- package/dist/{chunk-N7EVMKP6.js → chunk-KNRG6ZGJ.js} +11 -11
- 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-TCZWBJBO.js → chunk-OUW4PAY4.js} +199 -256
- package/dist/chunk-OUW4PAY4.js.map +1 -0
- package/dist/{chunk-275ENJDK.js → chunk-P2BLHUL2.js} +2 -2
- package/dist/{chunk-LRGSLV7M.js → chunk-PYHOAXTI.js} +4 -4
- package/dist/{chunk-V5TSUGRB.js → chunk-QCKQEBIY.js} +17 -9
- package/dist/chunk-QCKQEBIY.js.map +1 -0
- package/dist/{chunk-EZKKHVFY.js → chunk-QE63OHLB.js} +2 -2
- package/dist/{chunk-ONHRRJZM.js → chunk-QJAQNXWI.js} +6 -6
- package/dist/{chunk-KHRKEELC.js → chunk-ROUL7RZU.js} +395 -69
- package/dist/chunk-ROUL7RZU.js.map +1 -0
- package/dist/{chunk-AT3TDN6O.js → chunk-RT4TSR2C.js} +8953 -8645
- 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-LI4ZOFHW.js → chunk-SVZGA2MK.js} +2 -2
- package/dist/chunk-SYOIVK7K.js +63 -0
- package/dist/chunk-SYOIVK7K.js.map +1 -0
- package/dist/{chunk-5RUE3GHQ.js → chunk-TWCOYET2.js} +17 -1
- package/dist/chunk-TWCOYET2.js.map +1 -0
- package/dist/{chunk-5IXPWEQB.js → chunk-WS32QRLO.js} +113 -48
- package/dist/chunk-WS32QRLO.js.map +1 -0
- package/dist/{chunk-53WDAG7X.js → chunk-WWZ35GWW.js} +5 -5
- package/dist/{chunk-4F6AANKS.js → chunk-XWPFZX6S.js} +507 -143
- package/dist/chunk-XWPFZX6S.js.map +1 -0
- package/dist/{chunk-SB4OKS6C.js → chunk-ZN4UZWMT.js} +2 -2
- package/dist/{chunk-7M6APKJL.js → chunk-ZYU7ZFLT.js} +2 -2
- package/dist/{cli-DPEhq0Cp.d.ts → cli-BrwT9YMD.d.ts} +5 -5
- package/dist/cli.d.ts +14 -11
- package/dist/cli.js +86 -84
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +11 -11
- 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 +4 -4
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +11 -11
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +12 -12
- 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/contradiction/index.js +1 -1
- 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 +11 -11
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +9 -7
- package/dist/explicit-capture.js +1 -1
- 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 +249 -212
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +13 -13
- 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 +12 -12
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +11 -11
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +13 -13
- 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 +19 -19
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +7 -7
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +11 -11
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/offline-sync-impression-drain.js +1 -1
- package/dist/operator-toolkit.d.ts +2 -2
- package/dist/operator-toolkit.js +28 -28
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +6 -223
- package/dist/orchestration/maintenance.js +19 -19
- package/dist/{orchestrator-DB93S48I.d.ts → orchestrator-C9ZVppNh.d.ts} +12 -481
- package/dist/orchestrator.d.ts +10 -8
- package/dist/orchestrator.js +122 -119
- 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/resolution-3K27T4VO.js +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +6 -6
- 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/salvage-envelope.js +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 +6 -6
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +12 -12
- 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 +13 -13
- package/dist/semantic-rule-promotion.js +11 -11
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +12 -12
- 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 +10 -10
- 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/import-sqlite.js +2 -2
- 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 +12 -12
- package/dist/write-envelope.d.ts +1 -1
- package/dist/write-envelope.js +1 -1
- package/package.json +2 -2
- package/src/access-admin-ops-surface.ts +47 -0
- package/src/access-boundary.ts +4 -0
- package/src/access-http.test.ts +63 -0
- package/src/access-http.ts +27 -37
- package/src/access-mcp-admin-tools.ts +171 -0
- package/src/access-mcp-output-schemas.ts +16 -0
- package/src/access-mcp.ts +10 -262
- package/src/access-operations-batch.ts +11 -5
- package/src/access-service.ts +59 -46
- package/src/access-surface-catalog.ts +7 -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-4F6AANKS.js.map +0 -1
- package/dist/chunk-5IXPWEQB.js.map +0 -1
- package/dist/chunk-5RUE3GHQ.js.map +0 -1
- package/dist/chunk-62QM5MKY.js.map +0 -1
- package/dist/chunk-6NZ7U4R4.js.map +0 -1
- package/dist/chunk-AT3TDN6O.js.map +0 -1
- package/dist/chunk-EILX7SQR.js.map +0 -1
- package/dist/chunk-IC2TCZJ2.js.map +0 -1
- package/dist/chunk-KHRKEELC.js.map +0 -1
- package/dist/chunk-MONWCSVL.js.map +0 -1
- package/dist/chunk-SQEDDWAM.js.map +0 -1
- package/dist/chunk-TCZWBJBO.js.map +0 -1
- package/dist/chunk-V5TSUGRB.js.map +0 -1
- /package/dist/{auto-sync-UPTUVE4X.js.map → auto-sync-5OE5QOZB.js.map} +0 -0
- /package/dist/{chunk-Z54EM5YZ.js.map → chunk-2PHX3I5C.js.map} +0 -0
- /package/dist/{chunk-JFDEYXF7.js.map → chunk-3NAHZQU3.js.map} +0 -0
- /package/dist/{chunk-MJYYXODM.js.map → chunk-3UOSVTFR.js.map} +0 -0
- /package/dist/{chunk-HPOY2PHQ.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-3ZUY2VQF.js.map → chunk-5FZQ74K5.js.map} +0 -0
- /package/dist/{chunk-B7C3TF5H.js.map → chunk-6TWXQ4E2.js.map} +0 -0
- /package/dist/{chunk-JN3IUA2Q.js.map → chunk-7I7AYIUQ.js.map} +0 -0
- /package/dist/{chunk-TVVEYCNW.js.map → chunk-7K5Q6COX.js.map} +0 -0
- /package/dist/{chunk-5JQLAQUZ.js.map → chunk-ATEAL5EI.js.map} +0 -0
- /package/dist/{chunk-4PYLBXX6.js.map → chunk-AYAROCWD.js.map} +0 -0
- /package/dist/{chunk-EXU5IQ3S.js.map → chunk-CUUY5CC4.js.map} +0 -0
- /package/dist/{chunk-X5QS5C2O.js.map → chunk-E3ZMFFQZ.js.map} +0 -0
- /package/dist/{chunk-JWMYVQAM.js.map → chunk-ES5IHQ6M.js.map} +0 -0
- /package/dist/{chunk-HJEEAO4O.js.map → chunk-G2NSSQES.js.map} +0 -0
- /package/dist/{chunk-QO2KODU6.js.map → chunk-GD3QOBMB.js.map} +0 -0
- /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-Q3FWRDCP.js.map → chunk-JNIJBXVK.js.map} +0 -0
- /package/dist/{chunk-N7EVMKP6.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-275ENJDK.js.map → chunk-P2BLHUL2.js.map} +0 -0
- /package/dist/{chunk-LRGSLV7M.js.map → chunk-PYHOAXTI.js.map} +0 -0
- /package/dist/{chunk-EZKKHVFY.js.map → chunk-QE63OHLB.js.map} +0 -0
- /package/dist/{chunk-ONHRRJZM.js.map → chunk-QJAQNXWI.js.map} +0 -0
- /package/dist/{chunk-LI4ZOFHW.js.map → chunk-SVZGA2MK.js.map} +0 -0
- /package/dist/{chunk-53WDAG7X.js.map → chunk-WWZ35GWW.js.map} +0 -0
- /package/dist/{chunk-SB4OKS6C.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, {
|
|
867
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
868
871
|
id: string;
|
|
869
872
|
label: string;
|
|
873
|
+
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
|
}, {
|
|
873
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
874
877
|
id: string;
|
|
875
878
|
label: string;
|
|
879
|
+
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, {
|
|
892
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
893
896
|
id: string;
|
|
894
897
|
label: string;
|
|
898
|
+
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
|
}, {
|
|
898
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
899
902
|
id: string;
|
|
900
903
|
label: string;
|
|
904
|
+
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: {
|
|
908
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
909
912
|
id: string;
|
|
910
913
|
label: string;
|
|
914
|
+
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?: {
|
|
922
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
923
926
|
id: string;
|
|
924
927
|
label: string;
|
|
928
|
+
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, {
|
|
940
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
941
944
|
id: string;
|
|
942
945
|
label: string;
|
|
946
|
+
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
|
}, {
|
|
946
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
947
950
|
id: string;
|
|
948
951
|
label: string;
|
|
952
|
+
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, {
|
|
960
|
+
label: string;
|
|
961
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
956
962
|
kind: "agent_status";
|
|
957
963
|
role: string;
|
|
958
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
959
|
-
label: string;
|
|
960
964
|
agentId: string;
|
|
961
965
|
sessionId: string;
|
|
962
966
|
evidence: {
|
|
963
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
964
967
|
id: string;
|
|
965
968
|
label: string;
|
|
969
|
+
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
|
}, {
|
|
975
|
+
label: string;
|
|
976
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
971
977
|
kind: "agent_status";
|
|
972
978
|
role: string;
|
|
973
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
974
|
-
label: string;
|
|
975
979
|
agentId: string;
|
|
976
980
|
sessionId: string;
|
|
977
981
|
detail?: string | undefined;
|
|
978
982
|
evidence?: {
|
|
979
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
980
983
|
id: string;
|
|
981
984
|
label: string;
|
|
985
|
+
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, {
|
|
995
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
996
999
|
id: string;
|
|
997
1000
|
label: string;
|
|
1001
|
+
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
|
}, {
|
|
1001
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1002
1005
|
id: string;
|
|
1003
1006
|
label: string;
|
|
1007
|
+
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
|
-
kind: "agent_output";
|
|
1012
1015
|
summary: string;
|
|
1016
|
+
kind: "agent_output";
|
|
1013
1017
|
agentId: string;
|
|
1014
1018
|
sessionId: string;
|
|
1015
1019
|
evidence: {
|
|
1016
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1017
1020
|
id: string;
|
|
1018
1021
|
label: string;
|
|
1022
|
+
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
|
-
kind: "agent_output";
|
|
1025
1028
|
summary: string;
|
|
1029
|
+
kind: "agent_output";
|
|
1026
1030
|
agentId: string;
|
|
1027
1031
|
sessionId: string;
|
|
1028
1032
|
outputId: string;
|
|
1029
1033
|
evidence?: {
|
|
1030
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1031
1034
|
id: string;
|
|
1032
1035
|
label: string;
|
|
1036
|
+
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, {
|
|
1048
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1049
1052
|
id: string;
|
|
1050
1053
|
label: string;
|
|
1054
|
+
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
|
}, {
|
|
1054
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1055
1058
|
id: string;
|
|
1056
1059
|
label: string;
|
|
1060
|
+
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: {
|
|
1069
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1070
1073
|
id: string;
|
|
1071
1074
|
label: string;
|
|
1075
|
+
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?: {
|
|
1087
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1088
1091
|
id: string;
|
|
1089
1092
|
label: string;
|
|
1093
|
+
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, {
|
|
1106
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1107
1110
|
id: string;
|
|
1108
1111
|
label: string;
|
|
1112
|
+
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
|
}, {
|
|
1112
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1113
1116
|
id: string;
|
|
1114
1117
|
label: string;
|
|
1118
|
+
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
|
-
kind: "conflict_detected";
|
|
1120
1123
|
summary: string;
|
|
1124
|
+
kind: "conflict_detected";
|
|
1121
1125
|
evidence: {
|
|
1122
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1123
1126
|
id: string;
|
|
1124
1127
|
label: string;
|
|
1128
|
+
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
|
-
kind: "conflict_detected";
|
|
1133
1136
|
summary: string;
|
|
1137
|
+
kind: "conflict_detected";
|
|
1134
1138
|
conflictId: string;
|
|
1135
1139
|
decisionIds: string[];
|
|
1136
1140
|
agentIds: string[];
|
|
1137
1141
|
evidence?: {
|
|
1138
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1139
1142
|
id: string;
|
|
1140
1143
|
label: string;
|
|
1144
|
+
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, {
|
|
1160
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1161
1164
|
id: string;
|
|
1162
1165
|
label: string;
|
|
1166
|
+
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
|
}, {
|
|
1166
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1167
1170
|
id: string;
|
|
1168
1171
|
label: string;
|
|
1172
|
+
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
|
-
kind: "test_result";
|
|
1174
1177
|
summary: string;
|
|
1175
|
-
command: string;
|
|
1176
1178
|
status: "error" | "failed" | "passed";
|
|
1179
|
+
kind: "test_result";
|
|
1180
|
+
command: string;
|
|
1177
1181
|
evidence: {
|
|
1178
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1179
1182
|
id: string;
|
|
1180
1183
|
label: string;
|
|
1184
|
+
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
|
-
kind: "test_result";
|
|
1190
1193
|
summary: string;
|
|
1191
|
-
command: string;
|
|
1192
1194
|
status: "error" | "failed" | "passed";
|
|
1195
|
+
kind: "test_result";
|
|
1196
|
+
command: string;
|
|
1193
1197
|
decisionId: string;
|
|
1194
1198
|
testId: string;
|
|
1195
1199
|
durationMs?: number | undefined;
|
|
1196
1200
|
evidence?: {
|
|
1197
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1198
1201
|
id: string;
|
|
1199
1202
|
label: string;
|
|
1203
|
+
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, {
|
|
1220
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1221
1224
|
id: string;
|
|
1222
1225
|
label: string;
|
|
1226
|
+
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
|
}, {
|
|
1226
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1227
1230
|
id: string;
|
|
1228
1231
|
label: string;
|
|
1232
|
+
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: {
|
|
1237
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1238
1241
|
id: string;
|
|
1239
1242
|
label: string;
|
|
1243
|
+
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?: {
|
|
1258
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1259
1262
|
id: string;
|
|
1260
1263
|
label: string;
|
|
1264
|
+
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, {
|
|
1272
|
-
kind: "agent" | "human";
|
|
1273
1276
|
id: string;
|
|
1274
1277
|
label: string;
|
|
1275
|
-
}, {
|
|
1276
1278
|
kind: "agent" | "human";
|
|
1279
|
+
}, {
|
|
1277
1280
|
id: string;
|
|
1278
1281
|
label: string;
|
|
1282
|
+
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, {
|
|
1288
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1289
1292
|
id: string;
|
|
1290
1293
|
label: string;
|
|
1294
|
+
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
|
}, {
|
|
1294
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1295
1298
|
id: string;
|
|
1296
1299
|
label: string;
|
|
1300
|
+
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: {
|
|
1303
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1304
1307
|
id: string;
|
|
1305
1308
|
label: string;
|
|
1309
|
+
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: {
|
|
1311
|
-
kind: "agent" | "human";
|
|
1312
1315
|
id: string;
|
|
1313
1316
|
label: string;
|
|
1317
|
+
kind: "agent" | "human";
|
|
1314
1318
|
};
|
|
1315
1319
|
note?: string | undefined;
|
|
1316
1320
|
}, {
|
|
1317
1321
|
kind: "correction_approved";
|
|
1318
1322
|
correctionId: string;
|
|
1319
1323
|
approvedBy: {
|
|
1320
|
-
kind: "agent" | "human";
|
|
1321
1324
|
id: string;
|
|
1322
1325
|
label: string;
|
|
1326
|
+
kind: "agent" | "human";
|
|
1323
1327
|
};
|
|
1324
1328
|
note?: string | undefined;
|
|
1325
1329
|
evidence?: {
|
|
1326
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1327
1330
|
id: string;
|
|
1328
1331
|
label: string;
|
|
1332
|
+
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, {
|
|
1344
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1345
1348
|
id: string;
|
|
1346
1349
|
label: string;
|
|
1350
|
+
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
|
}, {
|
|
1350
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1351
1354
|
id: string;
|
|
1352
1355
|
label: string;
|
|
1356
|
+
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: {
|
|
1359
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1360
1363
|
id: string;
|
|
1361
1364
|
label: string;
|
|
1365
|
+
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?: {
|
|
1374
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1375
1378
|
id: string;
|
|
1376
1379
|
label: string;
|
|
1380
|
+
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, {
|
|
1392
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1393
1396
|
id: string;
|
|
1394
1397
|
label: string;
|
|
1398
|
+
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
|
}, {
|
|
1398
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1399
1402
|
id: string;
|
|
1400
1403
|
label: string;
|
|
1404
|
+
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: {
|
|
1413
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1414
1417
|
id: string;
|
|
1415
1418
|
label: string;
|
|
1419
|
+
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?: {
|
|
1431
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1432
1435
|
id: string;
|
|
1433
1436
|
label: string;
|
|
1437
|
+
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, {
|
|
1449
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1450
1453
|
id: string;
|
|
1451
1454
|
label: string;
|
|
1455
|
+
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
|
}, {
|
|
1455
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1456
1459
|
id: string;
|
|
1457
1460
|
label: string;
|
|
1461
|
+
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: {
|
|
1469
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1470
1473
|
id: string;
|
|
1471
1474
|
label: string;
|
|
1475
|
+
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?: {
|
|
1488
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1489
1492
|
id: string;
|
|
1490
1493
|
label: string;
|
|
1494
|
+
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, {
|
|
1505
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1506
1509
|
id: string;
|
|
1507
1510
|
label: string;
|
|
1511
|
+
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
|
}, {
|
|
1511
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1512
1515
|
id: string;
|
|
1513
1516
|
label: string;
|
|
1517
|
+
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
|
-
kind: "mission_completed";
|
|
1519
1522
|
summary: string;
|
|
1523
|
+
kind: "mission_completed";
|
|
1520
1524
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1521
1525
|
evidence: {
|
|
1522
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1523
1526
|
id: string;
|
|
1524
1527
|
label: string;
|
|
1528
|
+
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
|
-
kind: "mission_completed";
|
|
1530
1533
|
summary: string;
|
|
1534
|
+
kind: "mission_completed";
|
|
1531
1535
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1532
1536
|
evidence?: {
|
|
1533
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1534
1537
|
id: string;
|
|
1535
1538
|
label: string;
|
|
1539
|
+
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: {
|
|
1543
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1544
1547
|
id: string;
|
|
1545
1548
|
label: string;
|
|
1549
|
+
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
|
} | {
|
|
1556
|
+
label: string;
|
|
1557
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1552
1558
|
kind: "agent_status";
|
|
1553
1559
|
role: string;
|
|
1554
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1555
|
-
label: string;
|
|
1556
1560
|
agentId: string;
|
|
1557
1561
|
sessionId: string;
|
|
1558
1562
|
evidence: {
|
|
1559
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1560
1563
|
id: string;
|
|
1561
1564
|
label: string;
|
|
1565
|
+
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
|
-
kind: "agent_output";
|
|
1568
1571
|
summary: string;
|
|
1572
|
+
kind: "agent_output";
|
|
1569
1573
|
agentId: string;
|
|
1570
1574
|
sessionId: string;
|
|
1571
1575
|
evidence: {
|
|
1572
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1573
1576
|
id: string;
|
|
1574
1577
|
label: string;
|
|
1578
|
+
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: {
|
|
1585
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1586
1589
|
id: string;
|
|
1587
1590
|
label: string;
|
|
1591
|
+
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
|
-
kind: "conflict_detected";
|
|
1596
1599
|
summary: string;
|
|
1600
|
+
kind: "conflict_detected";
|
|
1597
1601
|
evidence: {
|
|
1598
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1599
1602
|
id: string;
|
|
1600
1603
|
label: string;
|
|
1604
|
+
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
|
-
kind: "test_result";
|
|
1609
1612
|
summary: string;
|
|
1610
|
-
command: string;
|
|
1611
1613
|
status: "error" | "failed" | "passed";
|
|
1614
|
+
kind: "test_result";
|
|
1615
|
+
command: string;
|
|
1612
1616
|
evidence: {
|
|
1613
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1614
1617
|
id: string;
|
|
1615
1618
|
label: string;
|
|
1619
|
+
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: {
|
|
1628
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1629
1632
|
id: string;
|
|
1630
1633
|
label: string;
|
|
1634
|
+
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: {
|
|
1642
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1643
1646
|
id: string;
|
|
1644
1647
|
label: string;
|
|
1648
|
+
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: {
|
|
1650
|
-
kind: "agent" | "human";
|
|
1651
1654
|
id: string;
|
|
1652
1655
|
label: string;
|
|
1656
|
+
kind: "agent" | "human";
|
|
1653
1657
|
};
|
|
1654
1658
|
note?: string | undefined;
|
|
1655
1659
|
} | {
|
|
1656
1660
|
kind: "decision_superseded";
|
|
1657
1661
|
evidence: {
|
|
1658
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1659
1662
|
id: string;
|
|
1660
1663
|
label: string;
|
|
1664
|
+
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: {
|
|
1673
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1674
1677
|
id: string;
|
|
1675
1678
|
label: string;
|
|
1679
|
+
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: {
|
|
1687
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1688
1691
|
id: string;
|
|
1689
1692
|
label: string;
|
|
1693
|
+
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
|
-
kind: "mission_completed";
|
|
1699
1702
|
summary: string;
|
|
1703
|
+
kind: "mission_completed";
|
|
1700
1704
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1701
1705
|
evidence: {
|
|
1702
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1703
1706
|
id: string;
|
|
1704
1707
|
label: string;
|
|
1708
|
+
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?: {
|
|
1714
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1715
1718
|
id: string;
|
|
1716
1719
|
label: string;
|
|
1720
|
+
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
|
} | {
|
|
1725
|
+
label: string;
|
|
1726
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1721
1727
|
kind: "agent_status";
|
|
1722
1728
|
role: string;
|
|
1723
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1724
|
-
label: string;
|
|
1725
1729
|
agentId: string;
|
|
1726
1730
|
sessionId: string;
|
|
1727
1731
|
detail?: string | undefined;
|
|
1728
1732
|
evidence?: {
|
|
1729
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1730
1733
|
id: string;
|
|
1731
1734
|
label: string;
|
|
1735
|
+
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
|
-
kind: "agent_output";
|
|
1737
1740
|
summary: string;
|
|
1741
|
+
kind: "agent_output";
|
|
1738
1742
|
agentId: string;
|
|
1739
1743
|
sessionId: string;
|
|
1740
1744
|
outputId: string;
|
|
1741
1745
|
evidence?: {
|
|
1742
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1743
1746
|
id: string;
|
|
1744
1747
|
label: string;
|
|
1748
|
+
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?: {
|
|
1757
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1758
1761
|
id: string;
|
|
1759
1762
|
label: string;
|
|
1763
|
+
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
|
-
kind: "conflict_detected";
|
|
1765
1768
|
summary: string;
|
|
1769
|
+
kind: "conflict_detected";
|
|
1766
1770
|
conflictId: string;
|
|
1767
1771
|
decisionIds: string[];
|
|
1768
1772
|
agentIds: string[];
|
|
1769
1773
|
evidence?: {
|
|
1770
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1771
1774
|
id: string;
|
|
1772
1775
|
label: string;
|
|
1776
|
+
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
|
-
kind: "test_result";
|
|
1778
1781
|
summary: string;
|
|
1779
|
-
command: string;
|
|
1780
1782
|
status: "error" | "failed" | "passed";
|
|
1783
|
+
kind: "test_result";
|
|
1784
|
+
command: string;
|
|
1781
1785
|
decisionId: string;
|
|
1782
1786
|
testId: string;
|
|
1783
1787
|
durationMs?: number | undefined;
|
|
1784
1788
|
evidence?: {
|
|
1785
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1786
1789
|
id: string;
|
|
1787
1790
|
label: string;
|
|
1791
|
+
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?: {
|
|
1802
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1803
1806
|
id: string;
|
|
1804
1807
|
label: string;
|
|
1808
|
+
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: {
|
|
1812
|
-
kind: "agent" | "human";
|
|
1813
1816
|
id: string;
|
|
1814
1817
|
label: string;
|
|
1818
|
+
kind: "agent" | "human";
|
|
1815
1819
|
};
|
|
1816
1820
|
note?: string | undefined;
|
|
1817
1821
|
evidence?: {
|
|
1818
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1819
1822
|
id: string;
|
|
1820
1823
|
label: string;
|
|
1824
|
+
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?: {
|
|
1830
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1831
1834
|
id: string;
|
|
1832
1835
|
label: string;
|
|
1836
|
+
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?: {
|
|
1845
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1846
1849
|
id: string;
|
|
1847
1850
|
label: string;
|
|
1851
|
+
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?: {
|
|
1860
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1861
1864
|
id: string;
|
|
1862
1865
|
label: string;
|
|
1866
|
+
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
|
-
kind: "mission_completed";
|
|
1868
1871
|
summary: string;
|
|
1872
|
+
kind: "mission_completed";
|
|
1869
1873
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1870
1874
|
evidence?: {
|
|
1871
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1872
1875
|
id: string;
|
|
1873
1876
|
label: string;
|
|
1877
|
+
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, {
|
|
1894
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1895
1898
|
id: string;
|
|
1896
1899
|
label: string;
|
|
1900
|
+
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
|
}, {
|
|
1900
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1901
1904
|
id: string;
|
|
1902
1905
|
label: string;
|
|
1906
|
+
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: {
|
|
1910
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1911
1914
|
id: string;
|
|
1912
1915
|
label: string;
|
|
1916
|
+
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?: {
|
|
1924
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1925
1928
|
id: string;
|
|
1926
1929
|
label: string;
|
|
1930
|
+
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, {
|
|
1942
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1943
1946
|
id: string;
|
|
1944
1947
|
label: string;
|
|
1948
|
+
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
|
}, {
|
|
1948
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1949
1952
|
id: string;
|
|
1950
1953
|
label: string;
|
|
1954
|
+
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, {
|
|
1962
|
+
label: string;
|
|
1963
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1958
1964
|
kind: "agent_status";
|
|
1959
1965
|
role: string;
|
|
1960
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1961
|
-
label: string;
|
|
1962
1966
|
agentId: string;
|
|
1963
1967
|
sessionId: string;
|
|
1964
1968
|
evidence: {
|
|
1965
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1966
1969
|
id: string;
|
|
1967
1970
|
label: string;
|
|
1971
|
+
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
|
}, {
|
|
1977
|
+
label: string;
|
|
1978
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1973
1979
|
kind: "agent_status";
|
|
1974
1980
|
role: string;
|
|
1975
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1976
|
-
label: string;
|
|
1977
1981
|
agentId: string;
|
|
1978
1982
|
sessionId: string;
|
|
1979
1983
|
detail?: string | undefined;
|
|
1980
1984
|
evidence?: {
|
|
1981
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1982
1985
|
id: string;
|
|
1983
1986
|
label: string;
|
|
1987
|
+
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, {
|
|
1997
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1998
2001
|
id: string;
|
|
1999
2002
|
label: string;
|
|
2003
|
+
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
|
}, {
|
|
2003
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2004
2007
|
id: string;
|
|
2005
2008
|
label: string;
|
|
2009
|
+
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
|
-
kind: "agent_output";
|
|
2014
2017
|
summary: string;
|
|
2018
|
+
kind: "agent_output";
|
|
2015
2019
|
agentId: string;
|
|
2016
2020
|
sessionId: string;
|
|
2017
2021
|
evidence: {
|
|
2018
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2019
2022
|
id: string;
|
|
2020
2023
|
label: string;
|
|
2024
|
+
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
|
-
kind: "agent_output";
|
|
2027
2030
|
summary: string;
|
|
2031
|
+
kind: "agent_output";
|
|
2028
2032
|
agentId: string;
|
|
2029
2033
|
sessionId: string;
|
|
2030
2034
|
outputId: string;
|
|
2031
2035
|
evidence?: {
|
|
2032
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2033
2036
|
id: string;
|
|
2034
2037
|
label: string;
|
|
2038
|
+
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, {
|
|
2050
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2051
2054
|
id: string;
|
|
2052
2055
|
label: string;
|
|
2056
|
+
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
|
}, {
|
|
2056
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2057
2060
|
id: string;
|
|
2058
2061
|
label: string;
|
|
2062
|
+
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: {
|
|
2071
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2072
2075
|
id: string;
|
|
2073
2076
|
label: string;
|
|
2077
|
+
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?: {
|
|
2089
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2090
2093
|
id: string;
|
|
2091
2094
|
label: string;
|
|
2095
|
+
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, {
|
|
2108
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2109
2112
|
id: string;
|
|
2110
2113
|
label: string;
|
|
2114
|
+
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
|
}, {
|
|
2114
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2115
2118
|
id: string;
|
|
2116
2119
|
label: string;
|
|
2120
|
+
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
|
-
kind: "conflict_detected";
|
|
2122
2125
|
summary: string;
|
|
2126
|
+
kind: "conflict_detected";
|
|
2123
2127
|
evidence: {
|
|
2124
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2125
2128
|
id: string;
|
|
2126
2129
|
label: string;
|
|
2130
|
+
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
|
-
kind: "conflict_detected";
|
|
2135
2138
|
summary: string;
|
|
2139
|
+
kind: "conflict_detected";
|
|
2136
2140
|
conflictId: string;
|
|
2137
2141
|
decisionIds: string[];
|
|
2138
2142
|
agentIds: string[];
|
|
2139
2143
|
evidence?: {
|
|
2140
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2141
2144
|
id: string;
|
|
2142
2145
|
label: string;
|
|
2146
|
+
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, {
|
|
2162
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2163
2166
|
id: string;
|
|
2164
2167
|
label: string;
|
|
2168
|
+
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
|
}, {
|
|
2168
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2169
2172
|
id: string;
|
|
2170
2173
|
label: string;
|
|
2174
|
+
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
|
-
kind: "test_result";
|
|
2176
2179
|
summary: string;
|
|
2177
|
-
command: string;
|
|
2178
2180
|
status: "error" | "failed" | "passed";
|
|
2181
|
+
kind: "test_result";
|
|
2182
|
+
command: string;
|
|
2179
2183
|
evidence: {
|
|
2180
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2181
2184
|
id: string;
|
|
2182
2185
|
label: string;
|
|
2186
|
+
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
|
-
kind: "test_result";
|
|
2192
2195
|
summary: string;
|
|
2193
|
-
command: string;
|
|
2194
2196
|
status: "error" | "failed" | "passed";
|
|
2197
|
+
kind: "test_result";
|
|
2198
|
+
command: string;
|
|
2195
2199
|
decisionId: string;
|
|
2196
2200
|
testId: string;
|
|
2197
2201
|
durationMs?: number | undefined;
|
|
2198
2202
|
evidence?: {
|
|
2199
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2200
2203
|
id: string;
|
|
2201
2204
|
label: string;
|
|
2205
|
+
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, {
|
|
2222
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2223
2226
|
id: string;
|
|
2224
2227
|
label: string;
|
|
2228
|
+
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
|
}, {
|
|
2228
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2229
2232
|
id: string;
|
|
2230
2233
|
label: string;
|
|
2234
|
+
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: {
|
|
2239
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2240
2243
|
id: string;
|
|
2241
2244
|
label: string;
|
|
2245
|
+
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?: {
|
|
2260
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2261
2264
|
id: string;
|
|
2262
2265
|
label: string;
|
|
2266
|
+
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, {
|
|
2274
|
-
kind: "agent" | "human";
|
|
2275
2278
|
id: string;
|
|
2276
2279
|
label: string;
|
|
2277
|
-
}, {
|
|
2278
2280
|
kind: "agent" | "human";
|
|
2281
|
+
}, {
|
|
2279
2282
|
id: string;
|
|
2280
2283
|
label: string;
|
|
2284
|
+
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, {
|
|
2290
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2291
2294
|
id: string;
|
|
2292
2295
|
label: string;
|
|
2296
|
+
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
|
}, {
|
|
2296
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2297
2300
|
id: string;
|
|
2298
2301
|
label: string;
|
|
2302
|
+
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: {
|
|
2305
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2306
2309
|
id: string;
|
|
2307
2310
|
label: string;
|
|
2311
|
+
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: {
|
|
2313
|
-
kind: "agent" | "human";
|
|
2314
2317
|
id: string;
|
|
2315
2318
|
label: string;
|
|
2319
|
+
kind: "agent" | "human";
|
|
2316
2320
|
};
|
|
2317
2321
|
note?: string | undefined;
|
|
2318
2322
|
}, {
|
|
2319
2323
|
kind: "correction_approved";
|
|
2320
2324
|
correctionId: string;
|
|
2321
2325
|
approvedBy: {
|
|
2322
|
-
kind: "agent" | "human";
|
|
2323
2326
|
id: string;
|
|
2324
2327
|
label: string;
|
|
2328
|
+
kind: "agent" | "human";
|
|
2325
2329
|
};
|
|
2326
2330
|
note?: string | undefined;
|
|
2327
2331
|
evidence?: {
|
|
2328
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2329
2332
|
id: string;
|
|
2330
2333
|
label: string;
|
|
2334
|
+
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, {
|
|
2346
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2347
2350
|
id: string;
|
|
2348
2351
|
label: string;
|
|
2352
|
+
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
|
}, {
|
|
2352
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2353
2356
|
id: string;
|
|
2354
2357
|
label: string;
|
|
2358
|
+
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: {
|
|
2361
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2362
2365
|
id: string;
|
|
2363
2366
|
label: string;
|
|
2367
|
+
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?: {
|
|
2376
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2377
2380
|
id: string;
|
|
2378
2381
|
label: string;
|
|
2382
|
+
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, {
|
|
2394
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2395
2398
|
id: string;
|
|
2396
2399
|
label: string;
|
|
2400
|
+
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
|
}, {
|
|
2400
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2401
2404
|
id: string;
|
|
2402
2405
|
label: string;
|
|
2406
|
+
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: {
|
|
2415
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2416
2419
|
id: string;
|
|
2417
2420
|
label: string;
|
|
2421
|
+
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?: {
|
|
2433
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2434
2437
|
id: string;
|
|
2435
2438
|
label: string;
|
|
2439
|
+
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, {
|
|
2451
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2452
2455
|
id: string;
|
|
2453
2456
|
label: string;
|
|
2457
|
+
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
|
}, {
|
|
2457
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2458
2461
|
id: string;
|
|
2459
2462
|
label: string;
|
|
2463
|
+
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: {
|
|
2471
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2472
2475
|
id: string;
|
|
2473
2476
|
label: string;
|
|
2477
|
+
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?: {
|
|
2490
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2491
2494
|
id: string;
|
|
2492
2495
|
label: string;
|
|
2496
|
+
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, {
|
|
2507
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2508
2511
|
id: string;
|
|
2509
2512
|
label: string;
|
|
2513
|
+
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
|
}, {
|
|
2513
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2514
2517
|
id: string;
|
|
2515
2518
|
label: string;
|
|
2519
|
+
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
|
-
kind: "mission_completed";
|
|
2521
2524
|
summary: string;
|
|
2525
|
+
kind: "mission_completed";
|
|
2522
2526
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2523
2527
|
evidence: {
|
|
2524
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2525
2528
|
id: string;
|
|
2526
2529
|
label: string;
|
|
2530
|
+
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
|
-
kind: "mission_completed";
|
|
2532
2535
|
summary: string;
|
|
2536
|
+
kind: "mission_completed";
|
|
2533
2537
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2534
2538
|
evidence?: {
|
|
2535
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2536
2539
|
id: string;
|
|
2537
2540
|
label: string;
|
|
2541
|
+
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: {
|
|
2545
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2546
2549
|
id: string;
|
|
2547
2550
|
label: string;
|
|
2551
|
+
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
|
} | {
|
|
2558
|
+
label: string;
|
|
2559
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2554
2560
|
kind: "agent_status";
|
|
2555
2561
|
role: string;
|
|
2556
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2557
|
-
label: string;
|
|
2558
2562
|
agentId: string;
|
|
2559
2563
|
sessionId: string;
|
|
2560
2564
|
evidence: {
|
|
2561
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2562
2565
|
id: string;
|
|
2563
2566
|
label: string;
|
|
2567
|
+
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
|
-
kind: "agent_output";
|
|
2570
2573
|
summary: string;
|
|
2574
|
+
kind: "agent_output";
|
|
2571
2575
|
agentId: string;
|
|
2572
2576
|
sessionId: string;
|
|
2573
2577
|
evidence: {
|
|
2574
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2575
2578
|
id: string;
|
|
2576
2579
|
label: string;
|
|
2580
|
+
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: {
|
|
2587
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2588
2591
|
id: string;
|
|
2589
2592
|
label: string;
|
|
2593
|
+
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
|
-
kind: "conflict_detected";
|
|
2598
2601
|
summary: string;
|
|
2602
|
+
kind: "conflict_detected";
|
|
2599
2603
|
evidence: {
|
|
2600
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2601
2604
|
id: string;
|
|
2602
2605
|
label: string;
|
|
2606
|
+
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
|
-
kind: "test_result";
|
|
2611
2614
|
summary: string;
|
|
2612
|
-
command: string;
|
|
2613
2615
|
status: "error" | "failed" | "passed";
|
|
2616
|
+
kind: "test_result";
|
|
2617
|
+
command: string;
|
|
2614
2618
|
evidence: {
|
|
2615
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2616
2619
|
id: string;
|
|
2617
2620
|
label: string;
|
|
2621
|
+
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: {
|
|
2630
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2631
2634
|
id: string;
|
|
2632
2635
|
label: string;
|
|
2636
|
+
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: {
|
|
2644
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2645
2648
|
id: string;
|
|
2646
2649
|
label: string;
|
|
2650
|
+
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: {
|
|
2652
|
-
kind: "agent" | "human";
|
|
2653
2656
|
id: string;
|
|
2654
2657
|
label: string;
|
|
2658
|
+
kind: "agent" | "human";
|
|
2655
2659
|
};
|
|
2656
2660
|
note?: string | undefined;
|
|
2657
2661
|
} | {
|
|
2658
2662
|
kind: "decision_superseded";
|
|
2659
2663
|
evidence: {
|
|
2660
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2661
2664
|
id: string;
|
|
2662
2665
|
label: string;
|
|
2666
|
+
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: {
|
|
2675
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2676
2679
|
id: string;
|
|
2677
2680
|
label: string;
|
|
2681
|
+
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: {
|
|
2689
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2690
2693
|
id: string;
|
|
2691
2694
|
label: string;
|
|
2695
|
+
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
|
-
kind: "mission_completed";
|
|
2701
2704
|
summary: string;
|
|
2705
|
+
kind: "mission_completed";
|
|
2702
2706
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2703
2707
|
evidence: {
|
|
2704
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2705
2708
|
id: string;
|
|
2706
2709
|
label: string;
|
|
2710
|
+
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?: {
|
|
2716
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2717
2720
|
id: string;
|
|
2718
2721
|
label: string;
|
|
2722
|
+
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
|
} | {
|
|
2727
|
+
label: string;
|
|
2728
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2723
2729
|
kind: "agent_status";
|
|
2724
2730
|
role: string;
|
|
2725
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2726
|
-
label: string;
|
|
2727
2731
|
agentId: string;
|
|
2728
2732
|
sessionId: string;
|
|
2729
2733
|
detail?: string | undefined;
|
|
2730
2734
|
evidence?: {
|
|
2731
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2732
2735
|
id: string;
|
|
2733
2736
|
label: string;
|
|
2737
|
+
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
|
-
kind: "agent_output";
|
|
2739
2742
|
summary: string;
|
|
2743
|
+
kind: "agent_output";
|
|
2740
2744
|
agentId: string;
|
|
2741
2745
|
sessionId: string;
|
|
2742
2746
|
outputId: string;
|
|
2743
2747
|
evidence?: {
|
|
2744
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2745
2748
|
id: string;
|
|
2746
2749
|
label: string;
|
|
2750
|
+
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?: {
|
|
2759
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2760
2763
|
id: string;
|
|
2761
2764
|
label: string;
|
|
2765
|
+
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
|
-
kind: "conflict_detected";
|
|
2767
2770
|
summary: string;
|
|
2771
|
+
kind: "conflict_detected";
|
|
2768
2772
|
conflictId: string;
|
|
2769
2773
|
decisionIds: string[];
|
|
2770
2774
|
agentIds: string[];
|
|
2771
2775
|
evidence?: {
|
|
2772
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2773
2776
|
id: string;
|
|
2774
2777
|
label: string;
|
|
2778
|
+
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
|
-
kind: "test_result";
|
|
2780
2783
|
summary: string;
|
|
2781
|
-
command: string;
|
|
2782
2784
|
status: "error" | "failed" | "passed";
|
|
2785
|
+
kind: "test_result";
|
|
2786
|
+
command: string;
|
|
2783
2787
|
decisionId: string;
|
|
2784
2788
|
testId: string;
|
|
2785
2789
|
durationMs?: number | undefined;
|
|
2786
2790
|
evidence?: {
|
|
2787
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2788
2791
|
id: string;
|
|
2789
2792
|
label: string;
|
|
2793
|
+
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?: {
|
|
2804
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2805
2808
|
id: string;
|
|
2806
2809
|
label: string;
|
|
2810
|
+
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: {
|
|
2814
|
-
kind: "agent" | "human";
|
|
2815
2818
|
id: string;
|
|
2816
2819
|
label: string;
|
|
2820
|
+
kind: "agent" | "human";
|
|
2817
2821
|
};
|
|
2818
2822
|
note?: string | undefined;
|
|
2819
2823
|
evidence?: {
|
|
2820
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2821
2824
|
id: string;
|
|
2822
2825
|
label: string;
|
|
2826
|
+
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?: {
|
|
2832
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2833
2836
|
id: string;
|
|
2834
2837
|
label: string;
|
|
2838
|
+
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?: {
|
|
2847
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2848
2851
|
id: string;
|
|
2849
2852
|
label: string;
|
|
2853
|
+
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?: {
|
|
2862
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2863
2866
|
id: string;
|
|
2864
2867
|
label: string;
|
|
2868
|
+
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
|
-
kind: "mission_completed";
|
|
2870
2873
|
summary: string;
|
|
2874
|
+
kind: "mission_completed";
|
|
2871
2875
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2872
2876
|
evidence?: {
|
|
2873
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2874
2877
|
id: string;
|
|
2875
2878
|
label: string;
|
|
2879
|
+
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: {
|
|
2885
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2886
2889
|
id: string;
|
|
2887
2890
|
label: string;
|
|
2891
|
+
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
|
} | {
|
|
2898
|
+
label: string;
|
|
2899
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2894
2900
|
kind: "agent_status";
|
|
2895
2901
|
role: string;
|
|
2896
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2897
|
-
label: string;
|
|
2898
2902
|
agentId: string;
|
|
2899
2903
|
sessionId: string;
|
|
2900
2904
|
evidence: {
|
|
2901
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2902
2905
|
id: string;
|
|
2903
2906
|
label: string;
|
|
2907
|
+
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
|
-
kind: "agent_output";
|
|
2910
2913
|
summary: string;
|
|
2914
|
+
kind: "agent_output";
|
|
2911
2915
|
agentId: string;
|
|
2912
2916
|
sessionId: string;
|
|
2913
2917
|
evidence: {
|
|
2914
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2915
2918
|
id: string;
|
|
2916
2919
|
label: string;
|
|
2920
|
+
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: {
|
|
2927
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2928
2931
|
id: string;
|
|
2929
2932
|
label: string;
|
|
2933
|
+
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
|
-
kind: "conflict_detected";
|
|
2938
2941
|
summary: string;
|
|
2942
|
+
kind: "conflict_detected";
|
|
2939
2943
|
evidence: {
|
|
2940
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2941
2944
|
id: string;
|
|
2942
2945
|
label: string;
|
|
2946
|
+
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
|
-
kind: "test_result";
|
|
2951
2954
|
summary: string;
|
|
2952
|
-
command: string;
|
|
2953
2955
|
status: "error" | "failed" | "passed";
|
|
2956
|
+
kind: "test_result";
|
|
2957
|
+
command: string;
|
|
2954
2958
|
evidence: {
|
|
2955
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2956
2959
|
id: string;
|
|
2957
2960
|
label: string;
|
|
2961
|
+
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: {
|
|
2970
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2971
2974
|
id: string;
|
|
2972
2975
|
label: string;
|
|
2976
|
+
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: {
|
|
2984
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2985
2988
|
id: string;
|
|
2986
2989
|
label: string;
|
|
2990
|
+
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: {
|
|
2992
|
-
kind: "agent" | "human";
|
|
2993
2996
|
id: string;
|
|
2994
2997
|
label: string;
|
|
2998
|
+
kind: "agent" | "human";
|
|
2995
2999
|
};
|
|
2996
3000
|
note?: string | undefined;
|
|
2997
3001
|
} | {
|
|
2998
3002
|
kind: "decision_superseded";
|
|
2999
3003
|
evidence: {
|
|
3000
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3001
3004
|
id: string;
|
|
3002
3005
|
label: string;
|
|
3006
|
+
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: {
|
|
3015
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3016
3019
|
id: string;
|
|
3017
3020
|
label: string;
|
|
3021
|
+
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: {
|
|
3029
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3030
3033
|
id: string;
|
|
3031
3034
|
label: string;
|
|
3035
|
+
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
|
-
kind: "mission_completed";
|
|
3041
3044
|
summary: string;
|
|
3045
|
+
kind: "mission_completed";
|
|
3042
3046
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3043
3047
|
evidence: {
|
|
3044
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3045
3048
|
id: string;
|
|
3046
3049
|
label: string;
|
|
3050
|
+
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?: {
|
|
3060
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3061
3064
|
id: string;
|
|
3062
3065
|
label: string;
|
|
3066
|
+
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
|
} | {
|
|
3071
|
+
label: string;
|
|
3072
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3067
3073
|
kind: "agent_status";
|
|
3068
3074
|
role: string;
|
|
3069
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3070
|
-
label: string;
|
|
3071
3075
|
agentId: string;
|
|
3072
3076
|
sessionId: string;
|
|
3073
3077
|
detail?: string | undefined;
|
|
3074
3078
|
evidence?: {
|
|
3075
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3076
3079
|
id: string;
|
|
3077
3080
|
label: string;
|
|
3081
|
+
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
|
-
kind: "agent_output";
|
|
3083
3086
|
summary: string;
|
|
3087
|
+
kind: "agent_output";
|
|
3084
3088
|
agentId: string;
|
|
3085
3089
|
sessionId: string;
|
|
3086
3090
|
outputId: string;
|
|
3087
3091
|
evidence?: {
|
|
3088
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3089
3092
|
id: string;
|
|
3090
3093
|
label: string;
|
|
3094
|
+
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?: {
|
|
3103
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3104
3107
|
id: string;
|
|
3105
3108
|
label: string;
|
|
3109
|
+
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
|
-
kind: "conflict_detected";
|
|
3111
3114
|
summary: string;
|
|
3115
|
+
kind: "conflict_detected";
|
|
3112
3116
|
conflictId: string;
|
|
3113
3117
|
decisionIds: string[];
|
|
3114
3118
|
agentIds: string[];
|
|
3115
3119
|
evidence?: {
|
|
3116
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3117
3120
|
id: string;
|
|
3118
3121
|
label: string;
|
|
3122
|
+
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
|
-
kind: "test_result";
|
|
3124
3127
|
summary: string;
|
|
3125
|
-
command: string;
|
|
3126
3128
|
status: "error" | "failed" | "passed";
|
|
3129
|
+
kind: "test_result";
|
|
3130
|
+
command: string;
|
|
3127
3131
|
decisionId: string;
|
|
3128
3132
|
testId: string;
|
|
3129
3133
|
durationMs?: number | undefined;
|
|
3130
3134
|
evidence?: {
|
|
3131
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3132
3135
|
id: string;
|
|
3133
3136
|
label: string;
|
|
3137
|
+
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?: {
|
|
3148
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3149
3152
|
id: string;
|
|
3150
3153
|
label: string;
|
|
3154
|
+
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: {
|
|
3158
|
-
kind: "agent" | "human";
|
|
3159
3162
|
id: string;
|
|
3160
3163
|
label: string;
|
|
3164
|
+
kind: "agent" | "human";
|
|
3161
3165
|
};
|
|
3162
3166
|
note?: string | undefined;
|
|
3163
3167
|
evidence?: {
|
|
3164
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3165
3168
|
id: string;
|
|
3166
3169
|
label: string;
|
|
3170
|
+
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?: {
|
|
3176
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3177
3180
|
id: string;
|
|
3178
3181
|
label: string;
|
|
3182
|
+
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?: {
|
|
3191
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3192
3195
|
id: string;
|
|
3193
3196
|
label: string;
|
|
3197
|
+
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?: {
|
|
3206
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3207
3210
|
id: string;
|
|
3208
3211
|
label: string;
|
|
3212
|
+
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
|
-
kind: "mission_completed";
|
|
3214
3217
|
summary: string;
|
|
3218
|
+
kind: "mission_completed";
|
|
3215
3219
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3216
3220
|
evidence?: {
|
|
3217
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3218
3221
|
id: string;
|
|
3219
3222
|
label: string;
|
|
3223
|
+
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, {
|
|
3249
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3250
3253
|
id: string;
|
|
3251
3254
|
label: string;
|
|
3255
|
+
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
|
}, {
|
|
3255
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3256
3259
|
id: string;
|
|
3257
3260
|
label: string;
|
|
3261
|
+
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: {
|
|
3265
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3266
3269
|
id: string;
|
|
3267
3270
|
label: string;
|
|
3271
|
+
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?: {
|
|
3279
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3280
3283
|
id: string;
|
|
3281
3284
|
label: string;
|
|
3285
|
+
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, {
|
|
3297
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3298
3301
|
id: string;
|
|
3299
3302
|
label: string;
|
|
3303
|
+
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
|
}, {
|
|
3303
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3304
3307
|
id: string;
|
|
3305
3308
|
label: string;
|
|
3309
|
+
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, {
|
|
3317
|
+
label: string;
|
|
3318
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3313
3319
|
kind: "agent_status";
|
|
3314
3320
|
role: string;
|
|
3315
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3316
|
-
label: string;
|
|
3317
3321
|
agentId: string;
|
|
3318
3322
|
sessionId: string;
|
|
3319
3323
|
evidence: {
|
|
3320
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3321
3324
|
id: string;
|
|
3322
3325
|
label: string;
|
|
3326
|
+
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
|
}, {
|
|
3332
|
+
label: string;
|
|
3333
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3328
3334
|
kind: "agent_status";
|
|
3329
3335
|
role: string;
|
|
3330
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3331
|
-
label: string;
|
|
3332
3336
|
agentId: string;
|
|
3333
3337
|
sessionId: string;
|
|
3334
3338
|
detail?: string | undefined;
|
|
3335
3339
|
evidence?: {
|
|
3336
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3337
3340
|
id: string;
|
|
3338
3341
|
label: string;
|
|
3342
|
+
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, {
|
|
3352
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3353
3356
|
id: string;
|
|
3354
3357
|
label: string;
|
|
3358
|
+
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
|
}, {
|
|
3358
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3359
3362
|
id: string;
|
|
3360
3363
|
label: string;
|
|
3364
|
+
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
|
-
kind: "agent_output";
|
|
3369
3372
|
summary: string;
|
|
3373
|
+
kind: "agent_output";
|
|
3370
3374
|
agentId: string;
|
|
3371
3375
|
sessionId: string;
|
|
3372
3376
|
evidence: {
|
|
3373
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3374
3377
|
id: string;
|
|
3375
3378
|
label: string;
|
|
3379
|
+
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
|
-
kind: "agent_output";
|
|
3382
3385
|
summary: string;
|
|
3386
|
+
kind: "agent_output";
|
|
3383
3387
|
agentId: string;
|
|
3384
3388
|
sessionId: string;
|
|
3385
3389
|
outputId: string;
|
|
3386
3390
|
evidence?: {
|
|
3387
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3388
3391
|
id: string;
|
|
3389
3392
|
label: string;
|
|
3393
|
+
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, {
|
|
3405
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3406
3409
|
id: string;
|
|
3407
3410
|
label: string;
|
|
3411
|
+
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
|
}, {
|
|
3411
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3412
3415
|
id: string;
|
|
3413
3416
|
label: string;
|
|
3417
|
+
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: {
|
|
3426
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3427
3430
|
id: string;
|
|
3428
3431
|
label: string;
|
|
3432
|
+
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?: {
|
|
3444
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3445
3448
|
id: string;
|
|
3446
3449
|
label: string;
|
|
3450
|
+
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, {
|
|
3463
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3464
3467
|
id: string;
|
|
3465
3468
|
label: string;
|
|
3469
|
+
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
|
}, {
|
|
3469
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3470
3473
|
id: string;
|
|
3471
3474
|
label: string;
|
|
3475
|
+
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
|
-
kind: "conflict_detected";
|
|
3477
3480
|
summary: string;
|
|
3481
|
+
kind: "conflict_detected";
|
|
3478
3482
|
evidence: {
|
|
3479
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3480
3483
|
id: string;
|
|
3481
3484
|
label: string;
|
|
3485
|
+
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
|
-
kind: "conflict_detected";
|
|
3490
3493
|
summary: string;
|
|
3494
|
+
kind: "conflict_detected";
|
|
3491
3495
|
conflictId: string;
|
|
3492
3496
|
decisionIds: string[];
|
|
3493
3497
|
agentIds: string[];
|
|
3494
3498
|
evidence?: {
|
|
3495
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3496
3499
|
id: string;
|
|
3497
3500
|
label: string;
|
|
3501
|
+
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, {
|
|
3517
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3518
3521
|
id: string;
|
|
3519
3522
|
label: string;
|
|
3523
|
+
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
|
}, {
|
|
3523
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3524
3527
|
id: string;
|
|
3525
3528
|
label: string;
|
|
3529
|
+
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
|
-
kind: "test_result";
|
|
3531
3534
|
summary: string;
|
|
3532
|
-
command: string;
|
|
3533
3535
|
status: "error" | "failed" | "passed";
|
|
3536
|
+
kind: "test_result";
|
|
3537
|
+
command: string;
|
|
3534
3538
|
evidence: {
|
|
3535
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3536
3539
|
id: string;
|
|
3537
3540
|
label: string;
|
|
3541
|
+
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
|
-
kind: "test_result";
|
|
3547
3550
|
summary: string;
|
|
3548
|
-
command: string;
|
|
3549
3551
|
status: "error" | "failed" | "passed";
|
|
3552
|
+
kind: "test_result";
|
|
3553
|
+
command: string;
|
|
3550
3554
|
decisionId: string;
|
|
3551
3555
|
testId: string;
|
|
3552
3556
|
durationMs?: number | undefined;
|
|
3553
3557
|
evidence?: {
|
|
3554
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3555
3558
|
id: string;
|
|
3556
3559
|
label: string;
|
|
3560
|
+
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, {
|
|
3577
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3578
3581
|
id: string;
|
|
3579
3582
|
label: string;
|
|
3583
|
+
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
|
}, {
|
|
3583
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3584
3587
|
id: string;
|
|
3585
3588
|
label: string;
|
|
3589
|
+
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: {
|
|
3594
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3595
3598
|
id: string;
|
|
3596
3599
|
label: string;
|
|
3600
|
+
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?: {
|
|
3615
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3616
3619
|
id: string;
|
|
3617
3620
|
label: string;
|
|
3621
|
+
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, {
|
|
3629
|
-
kind: "agent" | "human";
|
|
3630
3633
|
id: string;
|
|
3631
3634
|
label: string;
|
|
3632
|
-
}, {
|
|
3633
3635
|
kind: "agent" | "human";
|
|
3636
|
+
}, {
|
|
3634
3637
|
id: string;
|
|
3635
3638
|
label: string;
|
|
3639
|
+
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, {
|
|
3645
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3646
3649
|
id: string;
|
|
3647
3650
|
label: string;
|
|
3651
|
+
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
|
}, {
|
|
3651
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3652
3655
|
id: string;
|
|
3653
3656
|
label: string;
|
|
3657
|
+
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: {
|
|
3660
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3661
3664
|
id: string;
|
|
3662
3665
|
label: string;
|
|
3666
|
+
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: {
|
|
3668
|
-
kind: "agent" | "human";
|
|
3669
3672
|
id: string;
|
|
3670
3673
|
label: string;
|
|
3674
|
+
kind: "agent" | "human";
|
|
3671
3675
|
};
|
|
3672
3676
|
note?: string | undefined;
|
|
3673
3677
|
}, {
|
|
3674
3678
|
kind: "correction_approved";
|
|
3675
3679
|
correctionId: string;
|
|
3676
3680
|
approvedBy: {
|
|
3677
|
-
kind: "agent" | "human";
|
|
3678
3681
|
id: string;
|
|
3679
3682
|
label: string;
|
|
3683
|
+
kind: "agent" | "human";
|
|
3680
3684
|
};
|
|
3681
3685
|
note?: string | undefined;
|
|
3682
3686
|
evidence?: {
|
|
3683
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3684
3687
|
id: string;
|
|
3685
3688
|
label: string;
|
|
3689
|
+
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, {
|
|
3701
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3702
3705
|
id: string;
|
|
3703
3706
|
label: string;
|
|
3707
|
+
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
|
}, {
|
|
3707
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3708
3711
|
id: string;
|
|
3709
3712
|
label: string;
|
|
3713
|
+
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: {
|
|
3716
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3717
3720
|
id: string;
|
|
3718
3721
|
label: string;
|
|
3722
|
+
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?: {
|
|
3731
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3732
3735
|
id: string;
|
|
3733
3736
|
label: string;
|
|
3737
|
+
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, {
|
|
3749
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3750
3753
|
id: string;
|
|
3751
3754
|
label: string;
|
|
3755
|
+
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
|
}, {
|
|
3755
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3756
3759
|
id: string;
|
|
3757
3760
|
label: string;
|
|
3761
|
+
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: {
|
|
3770
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3771
3774
|
id: string;
|
|
3772
3775
|
label: string;
|
|
3776
|
+
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?: {
|
|
3788
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3789
3792
|
id: string;
|
|
3790
3793
|
label: string;
|
|
3794
|
+
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, {
|
|
3806
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3807
3810
|
id: string;
|
|
3808
3811
|
label: string;
|
|
3812
|
+
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
|
}, {
|
|
3812
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3813
3816
|
id: string;
|
|
3814
3817
|
label: string;
|
|
3818
|
+
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: {
|
|
3826
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3827
3830
|
id: string;
|
|
3828
3831
|
label: string;
|
|
3832
|
+
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?: {
|
|
3845
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3846
3849
|
id: string;
|
|
3847
3850
|
label: string;
|
|
3851
|
+
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, {
|
|
3862
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3863
3866
|
id: string;
|
|
3864
3867
|
label: string;
|
|
3868
|
+
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
|
}, {
|
|
3868
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3869
3872
|
id: string;
|
|
3870
3873
|
label: string;
|
|
3874
|
+
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
|
-
kind: "mission_completed";
|
|
3876
3879
|
summary: string;
|
|
3880
|
+
kind: "mission_completed";
|
|
3877
3881
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3878
3882
|
evidence: {
|
|
3879
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3880
3883
|
id: string;
|
|
3881
3884
|
label: string;
|
|
3885
|
+
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
|
-
kind: "mission_completed";
|
|
3887
3890
|
summary: string;
|
|
3891
|
+
kind: "mission_completed";
|
|
3888
3892
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3889
3893
|
evidence?: {
|
|
3890
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3891
3894
|
id: string;
|
|
3892
3895
|
label: string;
|
|
3896
|
+
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: {
|
|
3900
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3901
3904
|
id: string;
|
|
3902
3905
|
label: string;
|
|
3906
|
+
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
|
} | {
|
|
3913
|
+
label: string;
|
|
3914
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3909
3915
|
kind: "agent_status";
|
|
3910
3916
|
role: string;
|
|
3911
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3912
|
-
label: string;
|
|
3913
3917
|
agentId: string;
|
|
3914
3918
|
sessionId: string;
|
|
3915
3919
|
evidence: {
|
|
3916
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3917
3920
|
id: string;
|
|
3918
3921
|
label: string;
|
|
3922
|
+
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
|
-
kind: "agent_output";
|
|
3925
3928
|
summary: string;
|
|
3929
|
+
kind: "agent_output";
|
|
3926
3930
|
agentId: string;
|
|
3927
3931
|
sessionId: string;
|
|
3928
3932
|
evidence: {
|
|
3929
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3930
3933
|
id: string;
|
|
3931
3934
|
label: string;
|
|
3935
|
+
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: {
|
|
3942
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3943
3946
|
id: string;
|
|
3944
3947
|
label: string;
|
|
3948
|
+
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
|
-
kind: "conflict_detected";
|
|
3953
3956
|
summary: string;
|
|
3957
|
+
kind: "conflict_detected";
|
|
3954
3958
|
evidence: {
|
|
3955
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3956
3959
|
id: string;
|
|
3957
3960
|
label: string;
|
|
3961
|
+
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
|
-
kind: "test_result";
|
|
3966
3969
|
summary: string;
|
|
3967
|
-
command: string;
|
|
3968
3970
|
status: "error" | "failed" | "passed";
|
|
3971
|
+
kind: "test_result";
|
|
3972
|
+
command: string;
|
|
3969
3973
|
evidence: {
|
|
3970
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3971
3974
|
id: string;
|
|
3972
3975
|
label: string;
|
|
3976
|
+
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: {
|
|
3985
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3986
3989
|
id: string;
|
|
3987
3990
|
label: string;
|
|
3991
|
+
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: {
|
|
3999
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4000
4003
|
id: string;
|
|
4001
4004
|
label: string;
|
|
4005
|
+
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: {
|
|
4007
|
-
kind: "agent" | "human";
|
|
4008
4011
|
id: string;
|
|
4009
4012
|
label: string;
|
|
4013
|
+
kind: "agent" | "human";
|
|
4010
4014
|
};
|
|
4011
4015
|
note?: string | undefined;
|
|
4012
4016
|
} | {
|
|
4013
4017
|
kind: "decision_superseded";
|
|
4014
4018
|
evidence: {
|
|
4015
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4016
4019
|
id: string;
|
|
4017
4020
|
label: string;
|
|
4021
|
+
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: {
|
|
4030
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4031
4034
|
id: string;
|
|
4032
4035
|
label: string;
|
|
4036
|
+
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: {
|
|
4044
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4045
4048
|
id: string;
|
|
4046
4049
|
label: string;
|
|
4050
|
+
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
|
-
kind: "mission_completed";
|
|
4056
4059
|
summary: string;
|
|
4060
|
+
kind: "mission_completed";
|
|
4057
4061
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4058
4062
|
evidence: {
|
|
4059
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4060
4063
|
id: string;
|
|
4061
4064
|
label: string;
|
|
4065
|
+
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?: {
|
|
4071
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4072
4075
|
id: string;
|
|
4073
4076
|
label: string;
|
|
4077
|
+
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
|
} | {
|
|
4082
|
+
label: string;
|
|
4083
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4078
4084
|
kind: "agent_status";
|
|
4079
4085
|
role: string;
|
|
4080
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4081
|
-
label: string;
|
|
4082
4086
|
agentId: string;
|
|
4083
4087
|
sessionId: string;
|
|
4084
4088
|
detail?: string | undefined;
|
|
4085
4089
|
evidence?: {
|
|
4086
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4087
4090
|
id: string;
|
|
4088
4091
|
label: string;
|
|
4092
|
+
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
|
-
kind: "agent_output";
|
|
4094
4097
|
summary: string;
|
|
4098
|
+
kind: "agent_output";
|
|
4095
4099
|
agentId: string;
|
|
4096
4100
|
sessionId: string;
|
|
4097
4101
|
outputId: string;
|
|
4098
4102
|
evidence?: {
|
|
4099
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4100
4103
|
id: string;
|
|
4101
4104
|
label: string;
|
|
4105
|
+
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?: {
|
|
4114
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4115
4118
|
id: string;
|
|
4116
4119
|
label: string;
|
|
4120
|
+
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
|
-
kind: "conflict_detected";
|
|
4122
4125
|
summary: string;
|
|
4126
|
+
kind: "conflict_detected";
|
|
4123
4127
|
conflictId: string;
|
|
4124
4128
|
decisionIds: string[];
|
|
4125
4129
|
agentIds: string[];
|
|
4126
4130
|
evidence?: {
|
|
4127
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4128
4131
|
id: string;
|
|
4129
4132
|
label: string;
|
|
4133
|
+
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
|
-
kind: "test_result";
|
|
4135
4138
|
summary: string;
|
|
4136
|
-
command: string;
|
|
4137
4139
|
status: "error" | "failed" | "passed";
|
|
4140
|
+
kind: "test_result";
|
|
4141
|
+
command: string;
|
|
4138
4142
|
decisionId: string;
|
|
4139
4143
|
testId: string;
|
|
4140
4144
|
durationMs?: number | undefined;
|
|
4141
4145
|
evidence?: {
|
|
4142
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4143
4146
|
id: string;
|
|
4144
4147
|
label: string;
|
|
4148
|
+
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?: {
|
|
4159
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4160
4163
|
id: string;
|
|
4161
4164
|
label: string;
|
|
4165
|
+
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: {
|
|
4169
|
-
kind: "agent" | "human";
|
|
4170
4173
|
id: string;
|
|
4171
4174
|
label: string;
|
|
4175
|
+
kind: "agent" | "human";
|
|
4172
4176
|
};
|
|
4173
4177
|
note?: string | undefined;
|
|
4174
4178
|
evidence?: {
|
|
4175
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4176
4179
|
id: string;
|
|
4177
4180
|
label: string;
|
|
4181
|
+
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?: {
|
|
4187
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4188
4191
|
id: string;
|
|
4189
4192
|
label: string;
|
|
4193
|
+
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?: {
|
|
4202
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4203
4206
|
id: string;
|
|
4204
4207
|
label: string;
|
|
4208
|
+
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,63 +4218,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4214
4218
|
recallReceiptId: string;
|
|
4215
4219
|
staleDecisionAbsent: boolean;
|
|
4216
4220
|
evidence?: {
|
|
4217
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4218
4221
|
id: string;
|
|
4219
4222
|
label: string;
|
|
4223
|
+
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
|
-
kind: "mission_completed";
|
|
4225
4228
|
summary: string;
|
|
4229
|
+
kind: "mission_completed";
|
|
4226
4230
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4227
4231
|
evidence?: {
|
|
4228
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4229
4232
|
id: string;
|
|
4230
4233
|
label: string;
|
|
4234
|
+
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
|
-
|
|
4240
|
+
namespace: string;
|
|
4237
4241
|
recordedAt: string;
|
|
4242
|
+
schemaVersion: "1";
|
|
4238
4243
|
payload: {
|
|
4239
4244
|
kind: "mission_started";
|
|
4240
4245
|
title: string;
|
|
4241
4246
|
evidence: {
|
|
4242
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4243
4247
|
id: string;
|
|
4244
4248
|
label: string;
|
|
4249
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4245
4250
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4246
4251
|
locator?: string | undefined;
|
|
4247
4252
|
}[];
|
|
4248
4253
|
objective: string;
|
|
4249
4254
|
runMode: "replay" | "fixture" | "live";
|
|
4250
4255
|
} | {
|
|
4256
|
+
label: string;
|
|
4257
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4251
4258
|
kind: "agent_status";
|
|
4252
4259
|
role: string;
|
|
4253
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4254
|
-
label: string;
|
|
4255
4260
|
agentId: string;
|
|
4256
4261
|
sessionId: string;
|
|
4257
4262
|
evidence: {
|
|
4258
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4259
4263
|
id: string;
|
|
4260
4264
|
label: string;
|
|
4265
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4261
4266
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4262
4267
|
locator?: string | undefined;
|
|
4263
4268
|
}[];
|
|
4264
4269
|
detail?: string | undefined;
|
|
4265
4270
|
} | {
|
|
4266
|
-
kind: "agent_output";
|
|
4267
4271
|
summary: string;
|
|
4272
|
+
kind: "agent_output";
|
|
4268
4273
|
agentId: string;
|
|
4269
4274
|
sessionId: string;
|
|
4270
4275
|
evidence: {
|
|
4271
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4272
4276
|
id: string;
|
|
4273
4277
|
label: string;
|
|
4278
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4274
4279
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4275
4280
|
locator?: string | undefined;
|
|
4276
4281
|
}[];
|
|
@@ -4281,9 +4286,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4281
4286
|
statement: string;
|
|
4282
4287
|
sessionId: string;
|
|
4283
4288
|
evidence: {
|
|
4284
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4285
4289
|
id: string;
|
|
4286
4290
|
label: string;
|
|
4291
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4287
4292
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4288
4293
|
locator?: string | undefined;
|
|
4289
4294
|
}[];
|
|
@@ -4291,12 +4296,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4291
4296
|
decisionId: string;
|
|
4292
4297
|
confidence?: number | undefined;
|
|
4293
4298
|
} | {
|
|
4294
|
-
kind: "conflict_detected";
|
|
4295
4299
|
summary: string;
|
|
4300
|
+
kind: "conflict_detected";
|
|
4296
4301
|
evidence: {
|
|
4297
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4298
4302
|
id: string;
|
|
4299
4303
|
label: string;
|
|
4304
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4300
4305
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4301
4306
|
locator?: string | undefined;
|
|
4302
4307
|
}[];
|
|
@@ -4304,14 +4309,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4304
4309
|
decisionIds: string[];
|
|
4305
4310
|
agentIds: string[];
|
|
4306
4311
|
} | {
|
|
4307
|
-
kind: "test_result";
|
|
4308
4312
|
summary: string;
|
|
4309
|
-
command: string;
|
|
4310
4313
|
status: "error" | "failed" | "passed";
|
|
4314
|
+
kind: "test_result";
|
|
4315
|
+
command: string;
|
|
4311
4316
|
evidence: {
|
|
4312
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4313
4317
|
id: string;
|
|
4314
4318
|
label: string;
|
|
4319
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4315
4320
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4316
4321
|
locator?: string | undefined;
|
|
4317
4322
|
}[];
|
|
@@ -4324,9 +4329,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4324
4329
|
rationale: string;
|
|
4325
4330
|
statement: string;
|
|
4326
4331
|
evidence: {
|
|
4327
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4328
4332
|
id: string;
|
|
4329
4333
|
label: string;
|
|
4334
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4330
4335
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4331
4336
|
locator?: string | undefined;
|
|
4332
4337
|
}[];
|
|
@@ -4338,25 +4343,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4338
4343
|
} | {
|
|
4339
4344
|
kind: "correction_approved";
|
|
4340
4345
|
evidence: {
|
|
4341
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4342
4346
|
id: string;
|
|
4343
4347
|
label: string;
|
|
4348
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4344
4349
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4345
4350
|
locator?: string | undefined;
|
|
4346
4351
|
}[];
|
|
4347
4352
|
correctionId: string;
|
|
4348
4353
|
approvedBy: {
|
|
4349
|
-
kind: "agent" | "human";
|
|
4350
4354
|
id: string;
|
|
4351
4355
|
label: string;
|
|
4356
|
+
kind: "agent" | "human";
|
|
4352
4357
|
};
|
|
4353
4358
|
note?: string | undefined;
|
|
4354
4359
|
} | {
|
|
4355
4360
|
kind: "decision_superseded";
|
|
4356
4361
|
evidence: {
|
|
4357
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4358
4362
|
id: string;
|
|
4359
4363
|
label: string;
|
|
4364
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4360
4365
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4361
4366
|
locator?: string | undefined;
|
|
4362
4367
|
}[];
|
|
@@ -4369,9 +4374,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4369
4374
|
agentId: string;
|
|
4370
4375
|
sessionId: string;
|
|
4371
4376
|
evidence: {
|
|
4372
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4373
4377
|
id: string;
|
|
4374
4378
|
label: string;
|
|
4379
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4375
4380
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4376
4381
|
locator?: string | undefined;
|
|
4377
4382
|
}[];
|
|
@@ -4383,9 +4388,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4383
4388
|
agentId: string;
|
|
4384
4389
|
sessionId: string;
|
|
4385
4390
|
evidence: {
|
|
4386
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4387
4391
|
id: string;
|
|
4388
4392
|
label: string;
|
|
4393
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4389
4394
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4390
4395
|
locator?: string | undefined;
|
|
4391
4396
|
}[];
|
|
@@ -4394,63 +4399,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4394
4399
|
recallReceiptId: string;
|
|
4395
4400
|
staleDecisionAbsent: boolean;
|
|
4396
4401
|
} | {
|
|
4397
|
-
kind: "mission_completed";
|
|
4398
4402
|
summary: string;
|
|
4403
|
+
kind: "mission_completed";
|
|
4399
4404
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4400
4405
|
evidence: {
|
|
4401
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4402
4406
|
id: string;
|
|
4403
4407
|
label: string;
|
|
4408
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4404
4409
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4405
4410
|
locator?: string | undefined;
|
|
4406
4411
|
}[];
|
|
4407
4412
|
};
|
|
4408
|
-
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
|
-
|
|
4419
|
+
namespace: string;
|
|
4416
4420
|
recordedAt: string;
|
|
4421
|
+
schemaVersion: "1";
|
|
4417
4422
|
payload: {
|
|
4418
4423
|
kind: "mission_started";
|
|
4419
4424
|
title: string;
|
|
4420
4425
|
objective: string;
|
|
4421
4426
|
runMode: "replay" | "fixture" | "live";
|
|
4422
4427
|
evidence?: {
|
|
4423
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4424
4428
|
id: string;
|
|
4425
4429
|
label: string;
|
|
4430
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4426
4431
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4427
4432
|
locator?: string | undefined;
|
|
4428
4433
|
}[] | undefined;
|
|
4429
4434
|
} | {
|
|
4435
|
+
label: string;
|
|
4436
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4430
4437
|
kind: "agent_status";
|
|
4431
4438
|
role: string;
|
|
4432
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4433
|
-
label: string;
|
|
4434
4439
|
agentId: string;
|
|
4435
4440
|
sessionId: string;
|
|
4436
4441
|
detail?: string | undefined;
|
|
4437
4442
|
evidence?: {
|
|
4438
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4439
4443
|
id: string;
|
|
4440
4444
|
label: string;
|
|
4445
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4441
4446
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4442
4447
|
locator?: string | undefined;
|
|
4443
4448
|
}[] | undefined;
|
|
4444
4449
|
} | {
|
|
4445
|
-
kind: "agent_output";
|
|
4446
4450
|
summary: string;
|
|
4451
|
+
kind: "agent_output";
|
|
4447
4452
|
agentId: string;
|
|
4448
4453
|
sessionId: string;
|
|
4449
4454
|
outputId: string;
|
|
4450
4455
|
evidence?: {
|
|
4451
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4452
4456
|
id: string;
|
|
4453
4457
|
label: string;
|
|
4458
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4454
4459
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4455
4460
|
locator?: string | undefined;
|
|
4456
4461
|
}[] | undefined;
|
|
@@ -4463,37 +4468,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4463
4468
|
decisionId: string;
|
|
4464
4469
|
confidence?: number | undefined;
|
|
4465
4470
|
evidence?: {
|
|
4466
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4467
4471
|
id: string;
|
|
4468
4472
|
label: string;
|
|
4473
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4469
4474
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4470
4475
|
locator?: string | undefined;
|
|
4471
4476
|
}[] | undefined;
|
|
4472
4477
|
} | {
|
|
4473
|
-
kind: "conflict_detected";
|
|
4474
4478
|
summary: string;
|
|
4479
|
+
kind: "conflict_detected";
|
|
4475
4480
|
conflictId: string;
|
|
4476
4481
|
decisionIds: string[];
|
|
4477
4482
|
agentIds: string[];
|
|
4478
4483
|
evidence?: {
|
|
4479
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4480
4484
|
id: string;
|
|
4481
4485
|
label: string;
|
|
4486
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4482
4487
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4483
4488
|
locator?: string | undefined;
|
|
4484
4489
|
}[] | undefined;
|
|
4485
4490
|
} | {
|
|
4486
|
-
kind: "test_result";
|
|
4487
4491
|
summary: string;
|
|
4488
|
-
command: string;
|
|
4489
4492
|
status: "error" | "failed" | "passed";
|
|
4493
|
+
kind: "test_result";
|
|
4494
|
+
command: string;
|
|
4490
4495
|
decisionId: string;
|
|
4491
4496
|
testId: string;
|
|
4492
4497
|
durationMs?: number | undefined;
|
|
4493
4498
|
evidence?: {
|
|
4494
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4495
4499
|
id: string;
|
|
4496
4500
|
label: string;
|
|
4501
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4497
4502
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4498
4503
|
locator?: string | undefined;
|
|
4499
4504
|
}[] | undefined;
|
|
@@ -4508,9 +4513,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4508
4513
|
supersedesDecisionIds: string[];
|
|
4509
4514
|
proposedBy: string;
|
|
4510
4515
|
evidence?: {
|
|
4511
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4512
4516
|
id: string;
|
|
4513
4517
|
label: string;
|
|
4518
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4514
4519
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4515
4520
|
locator?: string | undefined;
|
|
4516
4521
|
}[] | undefined;
|
|
@@ -4518,15 +4523,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4518
4523
|
kind: "correction_approved";
|
|
4519
4524
|
correctionId: string;
|
|
4520
4525
|
approvedBy: {
|
|
4521
|
-
kind: "agent" | "human";
|
|
4522
4526
|
id: string;
|
|
4523
4527
|
label: string;
|
|
4528
|
+
kind: "agent" | "human";
|
|
4524
4529
|
};
|
|
4525
4530
|
note?: string | undefined;
|
|
4526
4531
|
evidence?: {
|
|
4527
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4528
4532
|
id: string;
|
|
4529
4533
|
label: string;
|
|
4534
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4530
4535
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4531
4536
|
locator?: string | undefined;
|
|
4532
4537
|
}[] | undefined;
|
|
@@ -4536,9 +4541,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4536
4541
|
correctionId: string;
|
|
4537
4542
|
replacementDecisionId: string;
|
|
4538
4543
|
evidence?: {
|
|
4539
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4540
4544
|
id: string;
|
|
4541
4545
|
label: string;
|
|
4546
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4542
4547
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4543
4548
|
locator?: string | undefined;
|
|
4544
4549
|
}[] | undefined;
|
|
@@ -4551,9 +4556,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4551
4556
|
recallReceiptId: string;
|
|
4552
4557
|
capturedAtAction: boolean;
|
|
4553
4558
|
evidence?: {
|
|
4554
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4555
4559
|
id: string;
|
|
4556
4560
|
label: string;
|
|
4561
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4557
4562
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4558
4563
|
locator?: string | undefined;
|
|
4559
4564
|
}[] | undefined;
|
|
@@ -4566,25 +4571,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4566
4571
|
recallReceiptId: string;
|
|
4567
4572
|
staleDecisionAbsent: boolean;
|
|
4568
4573
|
evidence?: {
|
|
4569
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4570
4574
|
id: string;
|
|
4571
4575
|
label: string;
|
|
4576
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4572
4577
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4573
4578
|
locator?: string | undefined;
|
|
4574
4579
|
}[] | undefined;
|
|
4575
4580
|
} | {
|
|
4576
|
-
kind: "mission_completed";
|
|
4577
4581
|
summary: string;
|
|
4582
|
+
kind: "mission_completed";
|
|
4578
4583
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4579
4584
|
evidence?: {
|
|
4580
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4581
4585
|
id: string;
|
|
4582
4586
|
label: string;
|
|
4587
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4583
4588
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4584
4589
|
locator?: string | undefined;
|
|
4585
4590
|
}[] | undefined;
|
|
4586
4591
|
};
|
|
4587
|
-
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 };
|