@remnic/core 9.69.56 → 9.69.57
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/abort-error.d.ts +5 -6
- package/dist/abort-error.d.ts.map +1 -0
- package/dist/abstraction-nodes.d.ts +12 -13
- package/dist/abstraction-nodes.d.ts.map +1 -0
- package/dist/access-admin-ops-surface.d.ts +20 -153
- package/dist/access-admin-ops-surface.d.ts.map +1 -0
- package/dist/access-admin-ops-surface.js +65 -60
- package/dist/access-audit.d.ts +6 -10
- package/dist/access-audit.d.ts.map +1 -0
- package/dist/access-audit.js +2 -2
- package/dist/access-authorization-probe.d.ts +7 -152
- package/dist/access-authorization-probe.d.ts.map +1 -0
- package/dist/access-authorization-probe.js +66 -61
- package/dist/access-boundary.d.ts +156 -145
- package/dist/access-boundary.d.ts.map +1 -0
- package/dist/access-boundary.js +65 -60
- package/dist/access-citation-namespace.d.ts +3 -3
- package/dist/access-citation-namespace.d.ts.map +1 -0
- package/dist/access-citation.d.ts +6 -7
- package/dist/access-citation.d.ts.map +1 -0
- package/dist/access-cli.d.ts +7 -7
- package/dist/access-cli.d.ts.map +1 -0
- package/dist/access-cli.js +157 -152
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +4 -23
- package/dist/access-coding-context-resolution.d.ts.map +1 -0
- package/dist/access-errors.d.ts +57 -5
- package/dist/access-errors.d.ts.map +1 -0
- package/dist/access-errors.js +13 -3
- package/dist/access-extraction-force-flush.d.ts +5 -150
- package/dist/access-extraction-force-flush.d.ts.map +1 -0
- package/dist/access-extraction-force-flush.js +65 -60
- package/dist/access-health-types.d.ts +7 -30
- package/dist/access-health-types.d.ts.map +1 -0
- package/dist/access-http-briefing.d.ts +5 -150
- package/dist/access-http-briefing.d.ts.map +1 -0
- package/dist/access-http-briefing.js +66 -61
- package/dist/access-http-lcm-compaction.d.ts +12 -156
- package/dist/access-http-lcm-compaction.d.ts.map +1 -0
- package/dist/access-http-lifecycle-flush.d.ts +6 -150
- package/dist/access-http-lifecycle-flush.d.ts.map +1 -0
- package/dist/access-http-offline-stream.d.ts +6 -151
- package/dist/access-http-offline-stream.d.ts.map +1 -0
- package/dist/access-http-query.d.ts +6 -26
- package/dist/access-http-query.d.ts.map +1 -0
- package/dist/access-http-query.js +67 -62
- package/dist/access-http.d.ts +22 -189
- package/dist/access-http.d.ts.map +1 -0
- package/dist/access-http.js +93 -89
- package/dist/access-idempotency.d.ts +5 -5
- package/dist/access-idempotency.d.ts.map +1 -0
- package/dist/access-identity-continuity-surface.d.ts +4 -115
- package/dist/access-identity-continuity-surface.d.ts.map +1 -0
- package/dist/access-identity-continuity-surface.js +65 -60
- package/dist/access-lcm-surface.d.ts +5 -151
- package/dist/access-lcm-surface.d.ts.map +1 -0
- package/dist/access-lcm-surface.js +65 -60
- package/dist/access-mcp-admin-tools.d.ts +4 -5
- package/dist/access-mcp-admin-tools.d.ts.map +1 -0
- package/dist/access-mcp-output-schemas.d.ts +2 -3
- package/dist/access-mcp-output-schemas.d.ts.map +1 -0
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp-shared-context-tools.d.ts +3 -150
- package/dist/access-mcp-shared-context-tools.d.ts.map +1 -0
- package/dist/access-mcp-sse.d.ts +3 -5
- package/dist/access-mcp-sse.d.ts.map +1 -0
- package/dist/access-mcp-tool-names.d.ts +9 -10
- package/dist/access-mcp-tool-names.d.ts.map +1 -0
- package/dist/access-mcp.d.ts +178 -145
- package/dist/access-mcp.d.ts.map +1 -0
- package/dist/access-mcp.js +80 -76
- package/dist/access-memory-search-fanout.d.ts +18 -37
- package/dist/access-memory-search-fanout.d.ts.map +1 -0
- package/dist/access-memory-search-fanout.js +2 -2
- package/dist/access-namespace-preflight.d.ts +18 -22
- package/dist/access-namespace-preflight.d.ts.map +1 -0
- package/dist/access-namespace-preflight.js +65 -60
- package/dist/access-observe-helpers.d.ts +4 -5
- package/dist/access-observe-helpers.d.ts.map +1 -0
- package/dist/access-observe-transcript.d.ts +5 -115
- package/dist/access-observe-transcript.d.ts.map +1 -0
- package/dist/access-observe-write-category.d.ts +5 -42
- package/dist/access-observe-write-category.d.ts.map +1 -0
- package/dist/access-observe-write-category.js +7 -7
- package/dist/access-observe-write-surface.d.ts +6 -151
- package/dist/access-observe-write-surface.d.ts.map +1 -0
- package/dist/access-observe-write-surface.js +65 -60
- package/dist/access-offline-manifest.d.ts +10 -124
- package/dist/access-offline-manifest.d.ts.map +1 -0
- package/dist/access-offline-manifest.js +7 -7
- package/dist/access-operations-batch.d.ts +12 -2
- package/dist/access-operations-batch.d.ts.map +1 -0
- package/dist/access-operations-batch.js +69 -66
- package/dist/access-operations.d.ts +66 -188
- package/dist/access-operations.d.ts.map +1 -0
- package/dist/access-operations.js +76 -73
- package/dist/access-recall-concurrency.d.ts +11 -156
- package/dist/access-recall-concurrency.d.ts.map +1 -0
- package/dist/access-recall-concurrency.js +65 -60
- package/dist/access-recall-diagnostics.d.ts +64 -0
- package/dist/access-recall-diagnostics.d.ts.map +1 -0
- package/dist/access-recall-diagnostics.js +26 -0
- package/dist/access-recall-response.d.ts +7 -151
- package/dist/access-recall-response.d.ts.map +1 -0
- package/dist/access-recall-response.js +65 -60
- package/dist/access-recall-surface.d.ts +11 -152
- package/dist/access-recall-surface.d.ts.map +1 -0
- package/dist/access-recall-surface.js +65 -60
- package/dist/access-schema.d.ts +203 -221
- package/dist/access-schema.d.ts.map +1 -0
- package/dist/access-schema.js +3 -3
- package/dist/access-service-helpers.d.ts +33 -145
- package/dist/access-service-helpers.d.ts.map +1 -0
- package/dist/access-service.d.ts +1825 -145
- package/dist/access-service.d.ts.map +1 -0
- package/dist/access-service.js +65 -60
- package/dist/access-surface-catalog.d.ts +7 -154
- package/dist/access-surface-catalog.d.ts.map +1 -0
- package/dist/access-surface-catalog.js +69 -62
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-token-capabilities.d.ts +19 -22
- package/dist/access-token-capabilities.d.ts.map +1 -0
- package/dist/access-token-capabilities.js +2 -2
- package/dist/access-wearables-meetings-surface.d.ts +14 -54
- package/dist/access-wearables-meetings-surface.d.ts.map +1 -0
- package/dist/action-confidence.d.ts +19 -40
- package/dist/action-confidence.d.ts.map +1 -0
- package/dist/active-context-config.d.ts +7 -8
- package/dist/active-context-config.d.ts.map +1 -0
- package/dist/active-context-transform.d.ts +31 -33
- package/dist/active-context-transform.d.ts.map +1 -0
- package/dist/active-memory-bridge.d.ts +10 -28
- package/dist/active-memory-bridge.d.ts.map +1 -0
- package/dist/active-recall.d.ts +11 -30
- package/dist/active-recall.d.ts.map +1 -0
- package/dist/active-recall.js +23 -23
- package/dist/activity/config.d.ts +24 -0
- package/dist/activity/config.d.ts.map +1 -0
- package/dist/activity/digest.d.ts +15 -35
- package/dist/activity/digest.d.ts.map +1 -0
- package/dist/activity/dwell.d.ts +14 -0
- package/dist/activity/dwell.d.ts.map +1 -0
- package/dist/activity/from-ms.d.ts +7 -0
- package/dist/activity/from-ms.d.ts.map +1 -0
- package/dist/activity/heading-level.d.ts +15 -0
- package/dist/activity/heading-level.d.ts.map +1 -0
- package/dist/activity/heading-title.d.ts +15 -0
- package/dist/activity/heading-title.d.ts.map +1 -0
- package/dist/activity/index.d.ts +46 -0
- package/dist/activity/index.d.ts.map +1 -0
- package/dist/activity/journal-extract.d.ts +68 -0
- package/dist/activity/journal-extract.d.ts.map +1 -0
- package/dist/activity/journal-heading.d.ts +26 -0
- package/dist/activity/journal-heading.d.ts.map +1 -0
- package/dist/activity/journal-path.d.ts +9 -0
- package/dist/activity/journal-path.d.ts.map +1 -0
- package/dist/activity/journal-read.d.ts +31 -0
- package/dist/activity/journal-read.d.ts.map +1 -0
- package/dist/activity/journal-section.d.ts +17 -0
- package/dist/activity/journal-section.d.ts.map +1 -0
- package/dist/activity/journal-source.d.ts +25 -0
- package/dist/activity/journal-source.d.ts.map +1 -0
- package/dist/activity/journal-state.d.ts +21 -0
- package/dist/activity/journal-state.d.ts.map +1 -0
- package/dist/activity/journal-state.lock-worker.d.ts +2 -0
- package/dist/activity/journal-state.lock-worker.d.ts.map +1 -0
- package/dist/activity/journal-strip.d.ts +6 -0
- package/dist/activity/journal-strip.d.ts.map +1 -0
- package/dist/activity/journal-vault-prereq.d.ts +23 -0
- package/dist/activity/journal-vault-prereq.d.ts.map +1 -0
- package/dist/activity/journal-vault-provenance.d.ts +12 -0
- package/dist/activity/journal-vault-provenance.d.ts.map +1 -0
- package/dist/activity/journal-vault-read.d.ts +32 -0
- package/dist/activity/journal-vault-read.d.ts.map +1 -0
- package/dist/activity/journal.d.ts +29 -0
- package/dist/activity/journal.d.ts.map +1 -0
- package/dist/activity/memory-gen.d.ts +71 -0
- package/dist/activity/memory-gen.d.ts.map +1 -0
- package/dist/activity/pipeline.d.ts +44 -0
- package/dist/activity/pipeline.d.ts.map +1 -0
- package/dist/activity/privacy-delete-plan.d.ts +22 -0
- package/dist/activity/privacy-delete-plan.d.ts.map +1 -0
- package/dist/activity/privacy-enabled.d.ts +16 -0
- package/dist/activity/privacy-enabled.d.ts.map +1 -0
- package/dist/activity/privacy-gate-resolve.d.ts +17 -0
- package/dist/activity/privacy-gate-resolve.d.ts.map +1 -0
- package/dist/activity/privacy-keys.d.ts +8 -0
- package/dist/activity/privacy-keys.d.ts.map +1 -0
- package/dist/activity/privacy-redact.d.ts +13 -0
- package/dist/activity/privacy-redact.d.ts.map +1 -0
- package/dist/activity/privacy-status.d.ts +30 -0
- package/dist/activity/privacy-status.d.ts.map +1 -0
- package/dist/activity/privacy-window.d.ts +15 -0
- package/dist/activity/privacy-window.d.ts.map +1 -0
- package/dist/activity/privacy.d.ts +17 -0
- package/dist/activity/privacy.d.ts.map +1 -0
- package/dist/activity/reindex.d.ts +23 -0
- package/dist/activity/reindex.d.ts.map +1 -0
- package/dist/activity/retain-days.d.ts +8 -0
- package/dist/activity/retain-days.d.ts.map +1 -0
- package/dist/activity/runner.d.ts +100 -0
- package/dist/activity/runner.d.ts.map +1 -0
- package/dist/activity/scheduler.d.ts +90 -0
- package/dist/activity/scheduler.d.ts.map +1 -0
- package/dist/activity/source-client.d.ts +24 -0
- package/dist/activity/source-client.d.ts.map +1 -0
- package/dist/activity/store.d.ts +53 -0
- package/dist/activity/store.d.ts.map +1 -0
- package/dist/activity/sync-registration.d.ts +83 -0
- package/dist/activity/sync-registration.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-batch-empty.d.ts +8 -0
- package/dist/activity/timeline/analysis-batch-empty.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-batch.d.ts +12 -0
- package/dist/activity/timeline/analysis-batch.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-claim.d.ts +14 -0
- package/dist/activity/timeline/analysis-claim.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-dup.d.ts +8 -0
- package/dist/activity/timeline/analysis-dup.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-empty.d.ts +8 -0
- package/dist/activity/timeline/analysis-empty.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-evidence.d.ts +12 -0
- package/dist/activity/timeline/analysis-evidence.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-failure.d.ts +19 -0
- package/dist/activity/timeline/analysis-failure.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-max.d.ts +8 -0
- package/dist/activity/timeline/analysis-max.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-metadata.d.ts +30 -0
- package/dist/activity/timeline/analysis-metadata.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-order.d.ts +8 -0
- package/dist/activity/timeline/analysis-order.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-overlap.d.ts +8 -0
- package/dist/activity/timeline/analysis-overlap.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-prompt.d.ts +13 -0
- package/dist/activity/timeline/analysis-prompt.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-provider.d.ts +84 -0
- package/dist/activity/timeline/analysis-provider.d.ts.map +1 -0
- package/dist/activity/timeline/analysis-run.d.ts +40 -0
- package/dist/activity/timeline/analysis-run.d.ts.map +1 -0
- package/dist/activity/timeline/analysis.d.ts +63 -0
- package/dist/activity/timeline/analysis.d.ts.map +1 -0
- package/dist/activity/timeline/build.d.ts +50 -0
- package/dist/activity/timeline/build.d.ts.map +1 -0
- package/dist/activity/timeline/categories.d.ts +27 -0
- package/dist/activity/timeline/categories.d.ts.map +1 -0
- package/dist/activity/timeline/classify.d.ts +20 -0
- package/dist/activity/timeline/classify.d.ts.map +1 -0
- package/dist/activity/timeline/corrections.d.ts +37 -0
- package/dist/activity/timeline/corrections.d.ts.map +1 -0
- package/dist/activity/timeline/index.d.ts +35 -0
- package/dist/activity/timeline/index.d.ts.map +1 -0
- package/dist/activity/timeline/journal-recap-persist.d.ts +14 -0
- package/dist/activity/timeline/journal-recap-persist.d.ts.map +1 -0
- package/dist/activity/timeline/journal-recap.d.ts +21 -0
- package/dist/activity/timeline/journal-recap.d.ts.map +1 -0
- package/dist/activity/timeline/publish-cli.d.ts +17 -0
- package/dist/activity/timeline/publish-cli.d.ts.map +1 -0
- package/dist/activity/timeline/query.d.ts +86 -0
- package/dist/activity/timeline/query.d.ts.map +1 -0
- package/dist/activity/timeline/recap-card-count.d.ts +7 -0
- package/dist/activity/timeline/recap-card-count.d.ts.map +1 -0
- package/dist/activity/timeline/recap-card-id.d.ts +14 -0
- package/dist/activity/timeline/recap-card-id.d.ts.map +1 -0
- package/dist/activity/timeline/recap-date.d.ts +15 -0
- package/dist/activity/timeline/recap-date.d.ts.map +1 -0
- package/dist/activity/timeline/recap-empty.d.ts +8 -0
- package/dist/activity/timeline/recap-empty.d.ts.map +1 -0
- package/dist/activity/timeline/recap-export-range.d.ts +55 -0
- package/dist/activity/timeline/recap-export-range.d.ts.map +1 -0
- package/dist/activity/timeline/recap-export.d.ts +48 -0
- package/dist/activity/timeline/recap-export.d.ts.map +1 -0
- package/dist/activity/timeline/recap-fallback.d.ts +47 -0
- package/dist/activity/timeline/recap-fallback.d.ts.map +1 -0
- package/dist/activity/timeline/recap-id.d.ts +8 -0
- package/dist/activity/timeline/recap-id.d.ts.map +1 -0
- package/dist/activity/timeline/recap-markdown.d.ts +15 -0
- package/dist/activity/timeline/recap-markdown.d.ts.map +1 -0
- package/dist/activity/timeline/recap-merge-edits.d.ts +24 -0
- package/dist/activity/timeline/recap-merge-edits.d.ts.map +1 -0
- package/dist/activity/timeline/recap-sort-key.d.ts +9 -0
- package/dist/activity/timeline/recap-sort-key.d.ts.map +1 -0
- package/dist/activity/timeline/recap-tz.d.ts +15 -0
- package/dist/activity/timeline/recap-tz.d.ts.map +1 -0
- package/dist/activity/timeline/recap-window.d.ts +19 -0
- package/dist/activity/timeline/recap-window.d.ts.map +1 -0
- package/dist/activity/timeline/regenerate.d.ts +84 -0
- package/dist/activity/timeline/regenerate.d.ts.map +1 -0
- package/dist/activity/timeline/types.d.ts +98 -0
- package/dist/activity/timeline/types.d.ts.map +1 -0
- package/dist/activity/timeline/week-config-hash.d.ts +13 -0
- package/dist/activity/timeline/week-config-hash.d.ts.map +1 -0
- package/dist/activity/timeline/week-count.d.ts +7 -0
- package/dist/activity/timeline/week-count.d.ts.map +1 -0
- package/dist/activity/timeline/week-dashboard.d.ts +79 -0
- package/dist/activity/timeline/week-dashboard.d.ts.map +1 -0
- package/dist/activity/timeline/week-days.d.ts +6 -0
- package/dist/activity/timeline/week-days.d.ts.map +1 -0
- package/dist/activity/timeline/week-export.d.ts +27 -0
- package/dist/activity/timeline/week-export.d.ts.map +1 -0
- package/dist/activity/timeline/week-iso.d.ts +16 -0
- package/dist/activity/timeline/week-iso.d.ts.map +1 -0
- package/dist/activity/timeline/week-monday.d.ts +3 -0
- package/dist/activity/timeline/week-monday.d.ts.map +1 -0
- package/dist/activity/timeline/week-previous.d.ts +39 -0
- package/dist/activity/timeline/week-previous.d.ts.map +1 -0
- package/dist/activity/timeline/week-range.d.ts +10 -0
- package/dist/activity/timeline/week-range.d.ts.map +1 -0
- package/dist/activity/timeline/week-recurring.d.ts +21 -0
- package/dist/activity/timeline/week-recurring.d.ts.map +1 -0
- package/dist/activity/timeline/week-snapshot.d.ts +17 -0
- package/dist/activity/timeline/week-snapshot.d.ts.map +1 -0
- package/dist/activity/timeline/week-span.d.ts +2 -0
- package/dist/activity/timeline/week-span.d.ts.map +1 -0
- package/dist/activity/timeline/week-sunday.d.ts +3 -0
- package/dist/activity/timeline/week-sunday.d.ts.map +1 -0
- package/dist/activity/timeline/weekly-persist.d.ts +18 -0
- package/dist/activity/timeline/weekly-persist.d.ts.map +1 -0
- package/dist/activity/timeline/weekly.d.ts +42 -0
- package/dist/activity/timeline/weekly.d.ts.map +1 -0
- package/dist/activity/to-ms.d.ts +7 -0
- package/dist/activity/to-ms.d.ts.map +1 -0
- package/dist/activity/types.d.ts +208 -0
- package/dist/activity/types.d.ts.map +1 -0
- package/dist/activity/vault-begin.d.ts +8 -0
- package/dist/activity/vault-begin.d.ts.map +1 -0
- package/dist/activity/vault-body-trim.d.ts +7 -0
- package/dist/activity/vault-body-trim.d.ts.map +1 -0
- package/dist/activity/vault-dry-run.d.ts +13 -0
- package/dist/activity/vault-dry-run.d.ts.map +1 -0
- package/dist/activity/vault-end.d.ts +8 -0
- package/dist/activity/vault-end.d.ts.map +1 -0
- package/dist/activity/vault-frontmatter.d.ts +41 -0
- package/dist/activity/vault-frontmatter.d.ts.map +1 -0
- package/dist/activity/vault-insert.d.ts +24 -0
- package/dist/activity/vault-insert.d.ts.map +1 -0
- package/dist/activity/vault-join.d.ts +2 -0
- package/dist/activity/vault-join.d.ts.map +1 -0
- package/dist/activity/vault-marker.d.ts +12 -0
- package/dist/activity/vault-marker.d.ts.map +1 -0
- package/dist/activity/vault-name-trim.d.ts +7 -0
- package/dist/activity/vault-name-trim.d.ts.map +1 -0
- package/dist/activity/vault-path.d.ts +20 -0
- package/dist/activity/vault-path.d.ts.map +1 -0
- package/dist/activity/vault-publish.d.ts +71 -0
- package/dist/activity/vault-publish.d.ts.map +1 -0
- package/dist/activity/vault-publisher.d.ts +58 -0
- package/dist/activity/vault-publisher.d.ts.map +1 -0
- package/dist/activity/vault-region-pair.d.ts +17 -0
- package/dist/activity/vault-region-pair.d.ts.map +1 -0
- package/dist/activity/vault-region.d.ts +24 -0
- package/dist/activity/vault-region.d.ts.map +1 -0
- package/dist/activity/vault-status.d.ts +32 -0
- package/dist/activity/vault-status.d.ts.map +1 -0
- package/dist/activity/vault-suffix.d.ts +7 -0
- package/dist/activity/vault-suffix.d.ts.map +1 -0
- package/dist/activity/vault-wikilink.d.ts +2 -0
- package/dist/activity/vault-wikilink.d.ts.map +1 -0
- package/dist/activity/window-order.d.ts +17 -0
- package/dist/activity/window-order.d.ts.map +1 -0
- package/dist/adapters/claude-code.d.ts +3 -5
- package/dist/adapters/claude-code.d.ts.map +1 -0
- package/dist/adapters/codex.d.ts +3 -5
- package/dist/adapters/codex.d.ts.map +1 -0
- package/dist/adapters/grok.d.ts +23 -0
- package/dist/adapters/grok.d.ts.map +1 -0
- package/dist/adapters/hermes.d.ts +3 -5
- package/dist/adapters/hermes.d.ts.map +1 -0
- package/dist/adapters/index.d.ts +9 -51
- package/dist/adapters/index.d.ts.map +1 -0
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/opencode.d.ts +22 -0
- package/dist/adapters/opencode.d.ts.map +1 -0
- package/dist/adapters/registry.d.ts +3 -5
- package/dist/adapters/registry.d.ts.map +1 -0
- package/dist/adapters/registry.js +2 -2
- package/dist/adapters/replit.d.ts +3 -5
- package/dist/adapters/replit.d.ts.map +1 -0
- package/dist/adapters/types.d.ts +5 -6
- package/dist/adapters/types.d.ts.map +1 -0
- package/dist/admin/admin-surfaces.d.ts +362 -0
- package/dist/admin/admin-surfaces.d.ts.map +1 -0
- package/dist/ambient-provenance.d.ts +10 -30
- package/dist/ambient-provenance.d.ts.map +1 -0
- package/dist/archive-mutation-version.d.ts +8 -9
- package/dist/archive-mutation-version.d.ts.map +1 -0
- package/dist/artifact-search.d.ts +5 -25
- package/dist/artifact-search.d.ts.map +1 -0
- package/dist/auto-sync-CWSZDLLW.js +1 -1
- package/dist/background-generation-config.d.ts +3 -4
- package/dist/background-generation-config.d.ts.map +1 -0
- package/dist/background-generation.d.ts +5 -24
- package/dist/background-generation.d.ts.map +1 -0
- package/dist/behavior-learner.d.ts +6 -25
- package/dist/behavior-learner.d.ts.map +1 -0
- package/dist/behavior-signals.d.ts +5 -24
- package/dist/behavior-signals.d.ts.map +1 -0
- package/dist/binary-lifecycle/backend.d.ts +46 -0
- package/dist/binary-lifecycle/backend.d.ts.map +1 -0
- package/dist/binary-lifecycle/index.d.ts +13 -0
- package/dist/binary-lifecycle/index.d.ts.map +1 -0
- package/dist/binary-lifecycle/manifest.d.ts +22 -0
- package/dist/binary-lifecycle/manifest.d.ts.map +1 -0
- package/dist/binary-lifecycle/pipeline.d.ts +33 -0
- package/dist/binary-lifecycle/pipeline.d.ts.map +1 -0
- package/dist/binary-lifecycle/scanner.d.ts +21 -0
- package/dist/binary-lifecycle/scanner.d.ts.map +1 -0
- package/dist/binary-lifecycle/types.d.ts +70 -0
- package/dist/binary-lifecycle/types.d.ts.map +1 -0
- package/dist/bootstrap.d.ts +6 -115
- package/dist/bootstrap.d.ts.map +1 -0
- package/dist/bounded-jsonl-state.d.ts +5 -5
- package/dist/bounded-jsonl-state.d.ts.map +1 -0
- package/dist/boxes.d.ts +9 -9
- package/dist/boxes.d.ts.map +1 -0
- package/dist/briefing-window.d.ts +8 -40
- package/dist/briefing-window.d.ts.map +1 -0
- package/dist/briefing.d.ts +28 -61
- package/dist/briefing.d.ts.map +1 -0
- package/dist/briefing.js +14 -14
- package/dist/buffer-surprise-report.d.ts +6 -26
- package/dist/buffer-surprise-report.d.ts.map +1 -0
- package/dist/buffer-surprise.d.ts +5 -6
- package/dist/buffer-surprise.d.ts.map +1 -0
- package/dist/buffer-turn-helpers.d.ts +32 -18
- package/dist/buffer-turn-helpers.d.ts.map +1 -0
- package/dist/buffer.d.ts +9 -41
- package/dist/buffer.d.ts.map +1 -0
- package/dist/buffer.js +3 -3
- package/dist/bulk-import/index.d.ts +4 -44
- package/dist/bulk-import/index.d.ts.map +1 -0
- package/dist/bulk-import/pipeline.d.ts +30 -0
- package/dist/bulk-import/pipeline.d.ts.map +1 -0
- package/dist/bulk-import/registry.d.ts +23 -0
- package/dist/bulk-import/registry.d.ts.map +1 -0
- package/dist/bulk-import/types.d.ts +83 -0
- package/dist/bulk-import/types.d.ts.map +1 -0
- package/dist/calibration.d.ts +14 -37
- package/dist/calibration.d.ts.map +1 -0
- package/dist/capabilities.d.ts +64 -84
- package/dist/capabilities.d.ts.map +1 -0
- package/dist/capsule-cli.d.ts +23 -24
- package/dist/capsule-cli.d.ts.map +1 -0
- package/dist/capsule-crypto-7FJQINUR.js +18 -0
- package/dist/causal-behavior.d.ts +9 -38
- package/dist/causal-behavior.d.ts.map +1 -0
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.d.ts +13 -17
- package/dist/causal-chain.d.ts.map +1 -0
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +10 -29
- package/dist/causal-consolidation.d.ts.map +1 -0
- package/dist/causal-consolidation.js +17 -17
- package/dist/causal-retrieval.d.ts +6 -11
- package/dist/causal-retrieval.d.ts.map +1 -0
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +7 -29
- package/dist/causal-trajectory-graph.d.ts.map +1 -0
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.d.ts +23 -25
- package/dist/causal-trajectory.d.ts.map +1 -0
- package/dist/causal-trajectory.js +1 -1
- package/dist/census-validation.d.ts +5 -6
- package/dist/census-validation.d.ts.map +1 -0
- package/dist/chat/chat-cli.d.ts +38 -0
- package/dist/chat/chat-cli.d.ts.map +1 -0
- package/dist/chat/chat-config.d.ts +25 -0
- package/dist/chat/chat-config.d.ts.map +1 -0
- package/dist/chat/chat-engine.d.ts +82 -0
- package/dist/chat/chat-engine.d.ts.map +1 -0
- package/dist/chat/chat-executor.d.ts +26 -0
- package/dist/chat/chat-executor.d.ts.map +1 -0
- package/dist/chat/chat-factory.d.ts +46 -0
- package/dist/chat/chat-factory.d.ts.map +1 -0
- package/dist/chat/chat-http.d.ts +83 -0
- package/dist/chat/chat-http.d.ts.map +1 -0
- package/dist/chat/chat-llm.d.ts +77 -0
- package/dist/chat/chat-llm.d.ts.map +1 -0
- package/dist/chat/chat-session.d.ts +118 -0
- package/dist/chat/chat-session.d.ts.map +1 -0
- package/dist/chat/chat-system-prompt.d.ts +23 -0
- package/dist/chat/chat-system-prompt.d.ts.map +1 -0
- package/dist/chat/chat-tools.d.ts +22 -0
- package/dist/chat/chat-tools.d.ts.map +1 -0
- package/dist/chat/chat-types.d.ts +134 -0
- package/dist/chat/chat-types.d.ts.map +1 -0
- package/dist/chunk-2CBWEIS4.js +1286 -0
- package/dist/chunk-2JQZSQXI.js +81 -0
- package/dist/chunk-2KHIBLO5.js +33 -0
- package/dist/chunk-2KHIBLO5.js.map +1 -0
- package/dist/chunk-2NLLXCJG.js +112 -0
- package/dist/chunk-2WMXZYMS.js +25 -0
- package/dist/chunk-34ZGBAGE.js +61 -0
- package/dist/chunk-36S7UHAW.js +623 -0
- package/dist/chunk-3JLWSFTV.js +801 -0
- package/dist/chunk-3MUKQQ7A.js +157 -0
- package/dist/chunk-3MUKQQ7A.js.map +1 -0
- package/dist/chunk-3RZOLUZT.js +140 -0
- package/dist/chunk-3SL52JKD.js +160 -0
- package/dist/chunk-4ALOINQ4.js +18512 -0
- package/dist/chunk-4ALOINQ4.js.map +1 -0
- package/dist/chunk-4QEZS7PK.js +502 -0
- package/dist/chunk-52VL6LCY.js +648 -0
- package/dist/chunk-52VL6LCY.js.map +1 -0
- package/dist/chunk-5HFVWYHL.js +111 -0
- package/dist/chunk-5HFVWYHL.js.map +1 -0
- package/dist/chunk-5QRYGLZN.js +35 -0
- package/dist/chunk-5R3C5LEZ.js +263 -0
- package/dist/chunk-634UKELB.js +77 -0
- package/dist/chunk-64JK4TL7.js +801 -0
- package/dist/chunk-6E5GYDIE.js +141 -0
- package/dist/chunk-6ISP2EN2.js +51 -0
- package/dist/chunk-6RD7MSIO.js +212 -0
- package/dist/chunk-6UDLN4IA.js +70 -0
- package/dist/chunk-754XN6LX.js +256 -0
- package/dist/chunk-7H2LEYYJ.js +256 -0
- package/dist/chunk-A7AISUJI.js +103 -0
- package/dist/chunk-AULKCNZW.js +727 -0
- package/dist/chunk-B7SSU55V.js +1686 -0
- package/dist/chunk-BICNRVEC.js +224 -0
- package/dist/chunk-BJI2D4SU.js +53 -0
- package/dist/chunk-BQB5ZMYO.js +28 -0
- package/dist/chunk-BSDBDFKZ.js +168 -0
- package/dist/chunk-BSDBDFKZ.js.map +1 -0
- package/dist/chunk-C5CPYMLX.js +315 -0
- package/dist/chunk-C6LRFPZL.js +4007 -0
- package/dist/chunk-C6LRFPZL.js.map +1 -0
- package/dist/chunk-CS2JO77A.js +95 -0
- package/dist/chunk-DTABICJ3.js +549 -0
- package/dist/chunk-DXODYQ7J.js +319 -0
- package/dist/chunk-DXODYQ7J.js.map +1 -0
- package/dist/chunk-E6UNM67F.js +432 -0
- package/dist/chunk-ENUI3IO7.js +271 -0
- package/dist/chunk-FF2XYADH.js +1084 -0
- package/dist/chunk-FF6N7BXC.js +389 -0
- package/dist/chunk-FNQEXI3D.js +22 -0
- package/dist/chunk-FNQEXI3D.js.map +1 -0
- package/dist/chunk-FSXD6Y4H.js +203 -0
- package/dist/chunk-GK6NOQE6.js +3400 -0
- package/dist/chunk-GRSFFLUY.js +43 -0
- package/dist/chunk-GWK7FEUL.js +761 -0
- package/dist/chunk-GWQVMKUJ.js +218 -0
- package/dist/chunk-H7O5L2IQ.js +3560 -0
- package/dist/chunk-H7O5L2IQ.js.map +1 -0
- package/dist/chunk-HKHZWJ3E.js +63 -0
- package/dist/chunk-IAZPYX6W.js +182 -0
- package/dist/chunk-IG747LRN.js +189 -0
- package/dist/chunk-IK63WA5A.js +30 -0
- package/dist/chunk-IRGQYQQ7.js +143 -0
- package/dist/chunk-IRGQYQQ7.js.map +1 -0
- package/dist/chunk-IUD6NLNM.js +24 -0
- package/dist/chunk-JSJZ2NXS.js +9782 -0
- package/dist/chunk-JUOJGZPV.js +566 -0
- package/dist/chunk-KA4U5GQN.js +960 -0
- package/dist/chunk-KQAFEZQX.js +264 -0
- package/dist/chunk-L4WBADKG.js +72 -0
- package/dist/chunk-LAL4B37X.js +275 -0
- package/dist/chunk-LELJRLPY.js +253 -0
- package/dist/chunk-LMMQKZK3.js +403 -0
- package/dist/chunk-LQ23DMTT.js +74 -0
- package/dist/chunk-LV6ZB6CA.js +285 -0
- package/dist/chunk-M5IJP3YW.js +5505 -0
- package/dist/chunk-MMMYRC7Q.js +606 -0
- package/dist/chunk-MMMYRC7Q.js.map +1 -0
- package/dist/chunk-MWZMVLXL.js +415 -0
- package/dist/chunk-MZUQVWVC.js +72 -0
- package/dist/chunk-MZUQVWVC.js.map +1 -0
- package/dist/chunk-N4VCHRLD.js +29 -0
- package/dist/chunk-NKXHCCLB.js +879 -0
- package/dist/chunk-NVCWA4QC.js +112 -0
- package/dist/chunk-ONWVMYHX.js +122 -0
- package/dist/chunk-P6P35FY4.js +54 -0
- package/dist/chunk-P7M22CYB.js +346 -0
- package/dist/chunk-QMWKENNK.js +111 -0
- package/dist/chunk-QOPB6KE3.js +1530 -0
- package/dist/chunk-RBULO7DO.js +223 -0
- package/dist/chunk-RDESQOEE.js +1008 -0
- package/dist/chunk-RMF763SX.js +115 -0
- package/dist/chunk-RN6ZCNM5.js +321 -0
- package/dist/chunk-S2OBXHMN.js +11341 -0
- package/dist/chunk-S3JPD4N7.js +216 -0
- package/dist/chunk-SF6RFI5Z.js +165 -0
- package/dist/chunk-SJV3AOZ2.js +2453 -0
- package/dist/chunk-SLULR4GC.js +202 -0
- package/dist/chunk-TFXXMTHV.js +1476 -0
- package/dist/chunk-TYP7GYRI.js +216 -0
- package/dist/chunk-TYZK56OA.js +2440 -0
- package/dist/chunk-VLDVNZQE.js +921 -0
- package/dist/chunk-W6YK672C.js +511 -0
- package/dist/chunk-X2NFFBTO.js +576 -0
- package/dist/chunk-X45KZOT2.js +1917 -0
- package/dist/chunk-X7Y7WX73.js +249 -0
- package/dist/chunk-XIXM6G7I.js +43 -0
- package/dist/chunk-XLXYARWC.js +210 -0
- package/dist/chunk-XVW52M6I.js +223 -0
- package/dist/chunk-YHU5XUF4.js +342 -0
- package/dist/chunk-YRH3C2OJ.js +73 -0
- package/dist/chunk-YXQE67A7.js +137 -0
- package/dist/chunk-ZHUVMSHI.js +731 -0
- package/dist/chunk-ZHXSOMYH.js +297 -0
- package/dist/chunk-ZIEZJMFW.js +768 -0
- package/dist/chunk-ZMT4ZVJU.js +31013 -0
- package/dist/chunk-ZMT4ZVJU.js.map +1 -0
- package/dist/chunk-ZOASYXBS.js +629 -0
- package/dist/chunk-ZOASYXBS.js.map +1 -0
- package/dist/chunk-ZSEFGDCI.js +98 -0
- package/dist/chunk-ZX5N5D6M.js +65 -0
- package/dist/chunking.d.ts +9 -10
- package/dist/chunking.d.ts.map +1 -0
- package/dist/citations.d.ts +8 -9
- package/dist/citations.d.ts.map +1 -0
- package/dist/cli/creation-ledger-commands.d.ts +24 -0
- package/dist/cli/creation-ledger-commands.d.ts.map +1 -0
- package/dist/cli/deep-recall-commands.d.ts +19 -0
- package/dist/cli/deep-recall-commands.d.ts.map +1 -0
- package/dist/cli/harmonic-search.d.ts +12 -0
- package/dist/cli/harmonic-search.d.ts.map +1 -0
- package/dist/cli/meetings-commands.d.ts +16 -0
- package/dist/cli/meetings-commands.d.ts.map +1 -0
- package/dist/cli/memory-browse-commands.d.ts +11 -0
- package/dist/cli/memory-browse-commands.d.ts.map +1 -0
- package/dist/cli/okf-commands.d.ts +5 -0
- package/dist/cli/okf-commands.d.ts.map +1 -0
- package/dist/cli/recall-navigation-commands.d.ts +11 -0
- package/dist/cli/recall-navigation-commands.d.ts.map +1 -0
- package/dist/cli/research-status-commands.d.ts +26 -0
- package/dist/cli/research-status-commands.d.ts.map +1 -0
- package/dist/cli/skills-commands.d.ts +14 -0
- package/dist/cli/skills-commands.d.ts.map +1 -0
- package/dist/cli/timeline-publish-commands.d.ts +11 -0
- package/dist/cli/timeline-publish-commands.d.ts.map +1 -0
- package/dist/cli-fallback.d.ts +13 -14
- package/dist/cli-fallback.d.ts.map +1 -0
- package/dist/cli.d.ts +1036 -165
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +120 -116
- package/dist/coding/action-gate.d.ts +176 -0
- package/dist/coding/action-gate.d.ts.map +1 -0
- package/dist/coding/architecture-card.d.ts +135 -0
- package/dist/coding/architecture-card.d.ts.map +1 -0
- package/dist/coding/architecture-surfaces.d.ts +166 -0
- package/dist/coding/architecture-surfaces.d.ts.map +1 -0
- package/dist/coding/codegraph-runtime.d.ts +321 -0
- package/dist/coding/codegraph-runtime.d.ts.map +1 -0
- package/dist/coding/codegraph-surfaces.d.ts +191 -0
- package/dist/coding/codegraph-surfaces.d.ts.map +1 -0
- package/dist/coding/coding-graph-types.d.ts +16 -17
- package/dist/coding/coding-graph-types.d.ts.map +1 -0
- package/dist/coding/coding-knowledge-config.d.ts +69 -0
- package/dist/coding/coding-knowledge-config.d.ts.map +1 -0
- package/dist/coding/coding-namespace.d.ts +214 -0
- package/dist/coding/coding-namespace.d.ts.map +1 -0
- package/dist/coding/decision-records.d.ts +120 -0
- package/dist/coding/decision-records.d.ts.map +1 -0
- package/dist/coding/decision-surfaces.d.ts +143 -0
- package/dist/coding/decision-surfaces.d.ts.map +1 -0
- package/dist/coding/export-okf-codegraph.d.ts +9 -28
- package/dist/coding/export-okf-codegraph.d.ts.map +1 -0
- package/dist/coding/export-okf-codegraph.js +13 -13
- package/dist/coding/git-context.d.ts +92 -0
- package/dist/coding/git-context.d.ts.map +1 -0
- package/dist/coding/optional-coding-graph.d.ts +9 -10
- package/dist/coding/optional-coding-graph.d.ts.map +1 -0
- package/dist/coding/pre-action-gate.d.ts +58 -18
- package/dist/coding/pre-action-gate.d.ts.map +1 -0
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/coding/review-context.d.ts +147 -0
- package/dist/coding/review-context.d.ts.map +1 -0
- package/dist/coding/session-delta-surfaces.d.ts +138 -0
- package/dist/coding/session-delta-surfaces.d.ts.map +1 -0
- package/dist/coding/session-delta.d.ts +201 -0
- package/dist/coding/session-delta.d.ts.map +1 -0
- package/dist/coding/structural-context.d.ts +194 -0
- package/dist/coding/structural-context.d.ts.map +1 -0
- package/dist/coding/structural-subprocess-provider.d.ts +50 -0
- package/dist/coding/structural-subprocess-provider.d.ts.map +1 -0
- package/dist/commitment-ledger.d.ts +13 -14
- package/dist/commitment-ledger.d.ts.map +1 -0
- package/dist/compat/checks.d.ts +3 -5
- package/dist/compat/checks.d.ts.map +1 -0
- package/dist/compat/codex-cli-fallback.d.ts +15 -1
- package/dist/compat/codex-cli-fallback.d.ts.map +1 -0
- package/dist/compat/codex-thread-key.d.ts +15 -1
- package/dist/compat/codex-thread-key.d.ts.map +1 -0
- package/dist/compat/types.d.ts +7 -8
- package/dist/compat/types.d.ts.map +1 -0
- package/dist/compounding/engine.d.ts +11 -44
- package/dist/compounding/engine.d.ts.map +1 -0
- package/dist/compounding/engine.js +14 -14
- package/dist/compounding/preference-consolidator.d.ts +10 -37
- package/dist/compounding/preference-consolidator.d.ts.map +1 -0
- package/dist/compression-optimizer.d.ts +10 -29
- package/dist/compression-optimizer.d.ts.map +1 -0
- package/dist/config-discovery.d.ts +4 -5
- package/dist/config-discovery.d.ts.map +1 -0
- package/dist/config-qmd.d.ts +7 -8
- package/dist/config-qmd.d.ts.map +1 -0
- package/dist/config-record.d.ts +2 -3
- package/dist/config-record.d.ts.map +1 -0
- package/dist/config-security.d.ts +2 -3
- package/dist/config-security.d.ts.map +1 -0
- package/dist/config.d.ts +7 -26
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +23 -23
- package/dist/connectors/codex-marketplace.d.ts +124 -0
- package/dist/connectors/codex-marketplace.d.ts.map +1 -0
- package/dist/connectors/codex-materialize-runner.d.ts +7 -27
- package/dist/connectors/codex-materialize-runner.d.ts.map +1 -0
- package/dist/connectors/codex-materialize-runner.js +14 -14
- package/dist/connectors/codex-materialize.d.ts +23 -41
- package/dist/connectors/codex-materialize.d.ts.map +1 -0
- package/dist/connectors/coerce.d.ts +73 -0
- package/dist/connectors/coerce.d.ts.map +1 -0
- package/dist/connectors/droid-mcp.d.ts +122 -0
- package/dist/connectors/droid-mcp.d.ts.map +1 -0
- package/dist/connectors/hermes-shim.d.ts +135 -0
- package/dist/connectors/hermes-shim.d.ts.map +1 -0
- package/dist/connectors/index.d.ts +42 -247
- package/dist/connectors/index.d.ts.map +1 -0
- package/dist/connectors/index.js +20 -20
- package/dist/connectors/label.d.ts +19 -0
- package/dist/connectors/label.d.ts.map +1 -0
- package/dist/connectors/live/framework.d.ts +169 -0
- package/dist/connectors/live/framework.d.ts.map +1 -0
- package/dist/connectors/live/github.d.ts +156 -0
- package/dist/connectors/live/github.d.ts.map +1 -0
- package/dist/connectors/live/gmail.d.ts +253 -0
- package/dist/connectors/live/gmail.d.ts.map +1 -0
- package/dist/connectors/live/google-drive.d.ts +198 -0
- package/dist/connectors/live/google-drive.d.ts.map +1 -0
- package/dist/connectors/live/index.d.ts +20 -0
- package/dist/connectors/live/index.d.ts.map +1 -0
- package/dist/connectors/live/notion.d.ts +146 -0
- package/dist/connectors/live/notion.d.ts.map +1 -0
- package/dist/connectors/live/registry.d.ts +53 -0
- package/dist/connectors/live/registry.d.ts.map +1 -0
- package/dist/connectors/live/state-store.d.ts +120 -0
- package/dist/connectors/live/state-store.d.ts.map +1 -0
- package/dist/connectors/live/transient-errors.d.ts +45 -0
- package/dist/connectors/live/transient-errors.d.ts.map +1 -0
- package/dist/connectors/materialize-paths.d.ts +15 -0
- package/dist/connectors/materialize-paths.d.ts.map +1 -0
- package/dist/connectors/materialize-skills.d.ts +52 -0
- package/dist/connectors/materialize-skills.d.ts.map +1 -0
- package/dist/connectors/paths.d.ts +78 -0
- package/dist/connectors/paths.d.ts.map +1 -0
- package/dist/connectors/prime-agent.d.ts +13 -0
- package/dist/connectors/prime-agent.d.ts.map +1 -0
- package/dist/connectors-cli.d.ts +170 -2
- package/dist/connectors-cli.d.ts.map +1 -0
- package/dist/console/state.d.ts +154 -0
- package/dist/console/state.d.ts.map +1 -0
- package/dist/console/trace.d.ts +199 -0
- package/dist/console/trace.d.ts.map +1 -0
- package/dist/console/tui.d.ts +106 -0
- package/dist/console/tui.d.ts.map +1 -0
- package/dist/consolidation-operator.d.ts +8 -9
- package/dist/consolidation-operator.d.ts.map +1 -0
- package/dist/consolidation-provenance-check.d.ts +5 -40
- package/dist/consolidation-provenance-check.d.ts.map +1 -0
- package/dist/consolidation-undo.d.ts +10 -44
- package/dist/consolidation-undo.d.ts.map +1 -0
- package/dist/content-hash.d.ts +6 -7
- package/dist/content-hash.d.ts.map +1 -0
- package/dist/context-summary.d.ts +8 -9
- package/dist/context-summary.d.ts.map +1 -0
- package/dist/contradiction/contradiction-judge.d.ts +65 -0
- package/dist/contradiction/contradiction-judge.d.ts.map +1 -0
- package/dist/contradiction/contradiction-review.d.ts +117 -0
- package/dist/contradiction/contradiction-review.d.ts.map +1 -0
- package/dist/contradiction/contradiction-scan.d.ts +74 -0
- package/dist/contradiction/contradiction-scan.d.ts.map +1 -0
- package/dist/contradiction/index.d.ts +12 -41
- package/dist/contradiction/index.d.ts.map +1 -0
- package/dist/contradiction/index.js +11 -11
- package/dist/contradiction/resolution.d.ts +57 -0
- package/dist/contradiction/resolution.d.ts.map +1 -0
- package/dist/contradiction-config.d.ts +5 -6
- package/dist/contradiction-config.d.ts.map +1 -0
- package/dist/converge-config.d.ts +9 -28
- package/dist/converge-config.d.ts.map +1 -0
- package/dist/convergence-refresh.d.ts +5 -40
- package/dist/convergence-refresh.d.ts.map +1 -0
- package/dist/convergence-refresh.js +16 -16
- package/dist/conversation-index/backend.d.ts +12 -31
- package/dist/conversation-index/backend.d.ts.map +1 -0
- package/dist/conversation-index/chunker.d.ts +4 -23
- package/dist/conversation-index/chunker.d.ts.map +1 -0
- package/dist/conversation-index/cleanup.d.ts +2 -3
- package/dist/conversation-index/cleanup.d.ts.map +1 -0
- package/dist/conversation-index/faiss-adapter.d.ts +63 -22
- package/dist/conversation-index/faiss-adapter.d.ts.map +1 -0
- package/dist/conversation-index/indexer.d.ts +9 -31
- package/dist/conversation-index/indexer.d.ts.map +1 -0
- package/dist/conversation-index/search.d.ts +10 -22
- package/dist/conversation-index/search.d.ts.map +1 -0
- package/dist/corpus-read-cancellation.d.ts +3 -4
- package/dist/corpus-read-cancellation.d.ts.map +1 -0
- package/dist/corpus-watermark.d.ts +19 -40
- package/dist/corpus-watermark.d.ts.map +1 -0
- package/dist/corpus-watermark.js +18 -18
- package/dist/correction/correction-access-wiring.d.ts +129 -0
- package/dist/correction/correction-access-wiring.d.ts.map +1 -0
- package/dist/correction/correction-contract.d.ts +220 -0
- package/dist/correction/correction-contract.d.ts.map +1 -0
- package/dist/correction/correction-executor.d.ts +174 -0
- package/dist/correction/correction-executor.d.ts.map +1 -0
- package/dist/correction/correction-planner.d.ts +162 -0
- package/dist/correction/correction-planner.d.ts.map +1 -0
- package/dist/correction/correction-service.d.ts +124 -0
- package/dist/correction/correction-service.d.ts.map +1 -0
- package/dist/correction/index.d.ts +23 -0
- package/dist/correction/index.d.ts.map +1 -0
- package/dist/correction/passive-capture.d.ts +107 -0
- package/dist/correction/passive-capture.d.ts.map +1 -0
- package/dist/correction/passive-correction-detector.d.ts +60 -0
- package/dist/correction/passive-correction-detector.d.ts.map +1 -0
- package/dist/correction/passive-correction-notifications.d.ts +36 -0
- package/dist/correction/passive-correction-notifications.d.ts.map +1 -0
- package/dist/cross-lingual-recall.d.ts +10 -29
- package/dist/cross-lingual-recall.d.ts.map +1 -0
- package/dist/cross-namespace-budget.d.ts +9 -10
- package/dist/cross-namespace-budget.d.ts.map +1 -0
- package/dist/cue-anchors.d.ts +11 -12
- package/dist/cue-anchors.d.ts.map +1 -0
- package/dist/curation/index.d.ts +98 -0
- package/dist/curation/index.d.ts.map +1 -0
- package/dist/dashboard-runtime.d.ts +4 -5
- package/dist/dashboard-runtime.d.ts.map +1 -0
- package/dist/day-summary.d.ts +5 -24
- package/dist/day-summary.d.ts.map +1 -0
- package/dist/dedup/connector-scope.d.ts +28 -0
- package/dist/dedup/connector-scope.d.ts.map +1 -0
- package/dist/dedup/index.d.ts +78 -0
- package/dist/dedup/index.d.ts.map +1 -0
- package/dist/dedup/merge-content.d.ts +24 -0
- package/dist/dedup/merge-content.d.ts.map +1 -0
- package/dist/dedup/merge-count.d.ts +7 -0
- package/dist/dedup/merge-count.d.ts.map +1 -0
- package/dist/dedup/merge-decision.d.ts +26 -0
- package/dist/dedup/merge-decision.d.ts.map +1 -0
- package/dist/dedup/merge-dup.d.ts +8 -0
- package/dist/dedup/merge-dup.d.ts.map +1 -0
- package/dist/dedup/merge-empty.d.ts +15 -0
- package/dist/dedup/merge-empty.d.ts.map +1 -0
- package/dist/dedup/merge-id.d.ts +8 -0
- package/dist/dedup/merge-id.d.ts.map +1 -0
- package/dist/dedup/merge-judge.d.ts +33 -0
- package/dist/dedup/merge-judge.d.ts.map +1 -0
- package/dist/dedup/merge-min-score.d.ts +2 -0
- package/dist/dedup/merge-min-score.d.ts.map +1 -0
- package/dist/dedup/merge-on-write-wire.d.ts +17 -0
- package/dist/dedup/merge-on-write-wire.d.ts.map +1 -0
- package/dist/dedup/merge-on-write.d.ts +32 -0
- package/dist/dedup/merge-on-write.d.ts.map +1 -0
- package/dist/dedup/merge-pair.d.ts +8 -0
- package/dist/dedup/merge-pair.d.ts.map +1 -0
- package/dist/dedup/merge-provenance.d.ts +43 -0
- package/dist/dedup/merge-provenance.d.ts.map +1 -0
- package/dist/dedup/merge-score.d.ts +7 -0
- package/dist/dedup/merge-score.d.ts.map +1 -0
- package/dist/dedup/merge-self.d.ts +13 -0
- package/dist/dedup/merge-self.d.ts.map +1 -0
- package/dist/dedup/merge-threshold.d.ts +13 -0
- package/dist/dedup/merge-threshold.d.ts.map +1 -0
- package/dist/dedup/merge-tie.d.ts +8 -0
- package/dist/dedup/merge-tie.d.ts.map +1 -0
- package/dist/dedup/merge-unique.d.ts +7 -0
- package/dist/dedup/merge-unique.d.ts.map +1 -0
- package/dist/dedup/merge-verdict.d.ts +19 -0
- package/dist/dedup/merge-verdict.d.ts.map +1 -0
- package/dist/dedup/merge.d.ts +122 -0
- package/dist/dedup/merge.d.ts.map +1 -0
- package/dist/dedup/novelty-gate.d.ts +60 -0
- package/dist/dedup/novelty-gate.d.ts.map +1 -0
- package/dist/dedup/semantic.d.ts +86 -0
- package/dist/dedup/semantic.d.ts.map +1 -0
- package/dist/deep-recall-config.d.ts +7 -8
- package/dist/deep-recall-config.d.ts.map +1 -0
- package/dist/deep-recall-config.js +2 -2
- package/dist/deep-recall-http-glue.d.ts +5 -151
- package/dist/deep-recall-http-glue.d.ts.map +1 -0
- package/dist/deep-recall-http-glue.js +6 -6
- package/dist/deep-recall-mcp-tools.d.ts +3 -150
- package/dist/deep-recall-mcp-tools.d.ts.map +1 -0
- package/dist/deep-recall-policy-llm.d.ts +6 -30
- package/dist/deep-recall-policy-llm.d.ts.map +1 -0
- package/dist/deep-recall-renderer.d.ts +3 -9
- package/dist/deep-recall-renderer.d.ts.map +1 -0
- package/dist/deep-recall-seeds.d.ts +7 -30
- package/dist/deep-recall-seeds.d.ts.map +1 -0
- package/dist/deep-recall.d.ts +15 -17
- package/dist/deep-recall.d.ts.map +1 -0
- package/dist/delinearize.d.ts +5 -25
- package/dist/delinearize.d.ts.map +1 -0
- package/dist/dependency-propagation-config.d.ts +3 -22
- package/dist/dependency-propagation-config.d.ts.map +1 -0
- package/dist/deterministic-order.d.ts +3 -4
- package/dist/deterministic-order.d.ts.map +1 -0
- package/dist/direct-answer-wiring.d.ts +8 -28
- package/dist/direct-answer-wiring.d.ts.map +1 -0
- package/dist/direct-answer.d.ts +10 -30
- package/dist/direct-answer.d.ts.map +1 -0
- package/dist/directory-sidecars.d.ts +17 -18
- package/dist/directory-sidecars.d.ts.map +1 -0
- package/dist/embedding-fallback.d.ts +6 -25
- package/dist/embedding-fallback.d.ts.map +1 -0
- package/dist/emit-legacy-tools.d.ts +3 -4
- package/dist/emit-legacy-tools.d.ts.map +1 -0
- package/dist/enrichment/audit.d.ts +27 -0
- package/dist/enrichment/audit.d.ts.map +1 -0
- package/dist/enrichment/index.d.ts +8 -177
- package/dist/enrichment/index.d.ts.map +1 -0
- package/dist/enrichment/pipeline.d.ts +15 -0
- package/dist/enrichment/pipeline.d.ts.map +1 -0
- package/dist/enrichment/provider-registry.d.ts +28 -0
- package/dist/enrichment/provider-registry.d.ts.map +1 -0
- package/dist/enrichment/types.d.ts +65 -0
- package/dist/enrichment/types.d.ts.map +1 -0
- package/dist/enrichment/web-search-provider.d.ts +26 -0
- package/dist/enrichment/web-search-provider.d.ts.map +1 -0
- package/dist/entity-id-normalization.d.ts +3 -4
- package/dist/entity-id-normalization.d.ts.map +1 -0
- package/dist/entity-origin-fields.d.ts +6 -24
- package/dist/entity-origin-fields.d.ts.map +1 -0
- package/dist/entity-recall-cancellation.d.ts +6 -7
- package/dist/entity-recall-cancellation.d.ts.map +1 -0
- package/dist/entity-retrieval-boundaries.d.ts +2 -3
- package/dist/entity-retrieval-boundaries.d.ts.map +1 -0
- package/dist/entity-retrieval-i18n.d.ts +5 -6
- package/dist/entity-retrieval-i18n.d.ts.map +1 -0
- package/dist/entity-retrieval.d.ts +8 -41
- package/dist/entity-retrieval.d.ts.map +1 -0
- package/dist/entity-retrieval.js +14 -14
- package/dist/entity-schema.d.ts +9 -28
- package/dist/entity-schema.d.ts.map +1 -0
- package/dist/episodic-context.d.ts +10 -30
- package/dist/episodic-context.d.ts.map +1 -0
- package/dist/eval-trajectory-contracts.d.ts +48 -68
- package/dist/eval-trajectory-contracts.d.ts.map +1 -0
- package/dist/eval-trajectory-store.d.ts +7 -28
- package/dist/eval-trajectory-store.d.ts.map +1 -0
- package/dist/eval-trajectory.d.ts +9 -30
- package/dist/eval-trajectory.d.ts.map +1 -0
- package/dist/evals.d.ts +29 -30
- package/dist/evals.d.ts.map +1 -0
- package/dist/event-order-query.d.ts +2 -3
- package/dist/event-order-query.d.ts.map +1 -0
- package/dist/event-order-recall.d.ts +6 -8
- package/dist/event-order-recall.d.ts.map +1 -0
- package/dist/event-time.d.ts +7 -8
- package/dist/event-time.d.ts.map +1 -0
- package/dist/evidence-pack.d.ts +7 -8
- package/dist/evidence-pack.d.ts.map +1 -0
- package/dist/experience/session-experience-config.d.ts +19 -0
- package/dist/experience/session-experience-config.d.ts.map +1 -0
- package/dist/experience/session-experience-mining.d.ts +31 -0
- package/dist/experience/session-experience-mining.d.ts.map +1 -0
- package/dist/experience/session-experience-recall.d.ts +19 -0
- package/dist/experience/session-experience-recall.d.ts.map +1 -0
- package/dist/experience/session-experience.d.ts +74 -0
- package/dist/experience/session-experience.d.ts.map +1 -0
- package/dist/explicit-capture.d.ts +20 -128
- package/dist/explicit-capture.d.ts.map +1 -0
- package/dist/explicit-capture.js +1 -1
- package/dist/explicit-cue-recall.d.ts +17 -19
- package/dist/explicit-cue-recall.d.ts.map +1 -0
- package/dist/external-wiki-access.d.ts +4 -152
- package/dist/external-wiki-access.d.ts.map +1 -0
- package/dist/external-wiki-access.js +66 -61
- package/dist/external-wiki-cli.d.ts +4 -5
- package/dist/external-wiki-cli.d.ts.map +1 -0
- package/dist/external-wiki-collection-registration.d.ts +7 -27
- package/dist/external-wiki-collection-registration.d.ts.map +1 -0
- package/dist/external-wiki-collection.d.ts +9 -29
- package/dist/external-wiki-collection.d.ts.map +1 -0
- package/dist/external-wiki-config.d.ts +3 -4
- package/dist/external-wiki-config.d.ts.map +1 -0
- package/dist/external-wiki-guard.d.ts +6 -7
- package/dist/external-wiki-guard.d.ts.map +1 -0
- package/dist/external-wiki-mcp-tools.d.ts +3 -149
- package/dist/external-wiki-mcp-tools.d.ts.map +1 -0
- package/dist/external-wiki-search.d.ts +12 -13
- package/dist/external-wiki-search.d.ts.map +1 -0
- package/dist/external-wiki.d.ts +12 -13
- package/dist/external-wiki.d.ts.map +1 -0
- package/dist/extraction-error-classification.d.ts +5 -24
- package/dist/extraction-error-classification.d.ts.map +1 -0
- package/dist/extraction-evidence-class.d.ts +13 -33
- package/dist/extraction-evidence-class.d.ts.map +1 -0
- package/dist/extraction-evidence-class.js +2 -2
- package/dist/extraction-faithfulness.d.ts +23 -46
- package/dist/extraction-faithfulness.d.ts.map +1 -0
- package/dist/extraction-judge-telemetry.d.ts +9 -36
- package/dist/extraction-judge-telemetry.d.ts.map +1 -0
- package/dist/extraction-judge-training.d.ts +9 -36
- package/dist/extraction-judge-training.d.ts.map +1 -0
- package/dist/extraction-judge.d.ts +20 -44
- package/dist/extraction-judge.d.ts.map +1 -0
- package/dist/extraction-liveness.d.ts +161 -18
- package/dist/extraction-liveness.d.ts.map +1 -0
- package/dist/extraction-normalization.d.ts +7 -26
- package/dist/extraction-normalization.d.ts.map +1 -0
- package/dist/extraction-prompt.d.ts +14 -34
- package/dist/extraction-prompt.d.ts.map +1 -0
- package/dist/extraction-redaction-rules.d.ts +6 -7
- package/dist/extraction-redaction-rules.d.ts.map +1 -0
- package/dist/extraction-source-grounding-helpers.d.ts +31 -32
- package/dist/extraction-source-grounding-helpers.d.ts.map +1 -0
- package/dist/extraction-source-grounding-rules.d.ts +6 -25
- package/dist/extraction-source-grounding-rules.d.ts.map +1 -0
- package/dist/extraction-source-grounding.d.ts +7 -25
- package/dist/extraction-source-grounding.d.ts.map +1 -0
- package/dist/extraction-source-grounding.js +3 -3
- package/dist/extraction-span-bench.d.ts +3 -4
- package/dist/extraction-span-bench.d.ts.map +1 -0
- package/dist/extraction-span-clip.d.ts +5 -6
- package/dist/extraction-span-clip.d.ts.map +1 -0
- package/dist/extraction-span-config.d.ts +40 -18
- package/dist/extraction-span-config.d.ts.map +1 -0
- package/dist/extraction-span-contains.d.ts +2 -3
- package/dist/extraction-span-contains.d.ts.map +1 -0
- package/dist/extraction-span-fallback.d.ts +5 -6
- package/dist/extraction-span-fallback.d.ts.map +1 -0
- package/dist/extraction-span-gap.d.ts +2 -3
- package/dist/extraction-span-gap.d.ts.map +1 -0
- package/dist/extraction-span-gate.d.ts +7 -8
- package/dist/extraction-span-gate.d.ts.map +1 -0
- package/dist/extraction-span-join.d.ts +5 -6
- package/dist/extraction-span-join.d.ts.map +1 -0
- package/dist/extraction-span-length.d.ts +2 -3
- package/dist/extraction-span-length.d.ts.map +1 -0
- package/dist/extraction-span-materialize.d.ts +18 -37
- package/dist/extraction-span-materialize.d.ts.map +1 -0
- package/dist/extraction-span-materialize.js +2 -2
- package/dist/extraction-span-overlap.d.ts +2 -3
- package/dist/extraction-span-overlap.d.ts.map +1 -0
- package/dist/extraction-span-provenance.d.ts +4 -5
- package/dist/extraction-span-provenance.d.ts.map +1 -0
- package/dist/extraction-span-shift.d.ts +2 -3
- package/dist/extraction-span-shift.d.ts.map +1 -0
- package/dist/extraction-span-slice.d.ts +2 -3
- package/dist/extraction-span-slice.d.ts.map +1 -0
- package/dist/extraction-span-source-hash.d.ts +5 -6
- package/dist/extraction-span-source-hash.d.ts.map +1 -0
- package/dist/extraction-span-tokens.d.ts +4 -5
- package/dist/extraction-span-tokens.d.ts.map +1 -0
- package/dist/extraction-span-validate.d.ts +5 -6
- package/dist/extraction-span-validate.d.ts.map +1 -0
- package/dist/extraction-span-wire.d.ts +5 -25
- package/dist/extraction-span-wire.d.ts.map +1 -0
- package/dist/extraction-span.d.ts +4 -5
- package/dist/extraction-span.d.ts.map +1 -0
- package/dist/extraction.d.ts +11 -44
- package/dist/extraction.d.ts.map +1 -0
- package/dist/extraction.js +26 -26
- package/dist/faithfulness-config.d.ts +3 -4
- package/dist/faithfulness-config.d.ts.map +1 -0
- package/dist/fallback-llm-codex-subscription.d.ts +23 -42
- package/dist/fallback-llm-codex-subscription.d.ts.map +1 -0
- package/dist/fallback-llm.d.ts +9 -30
- package/dist/fallback-llm.d.ts.map +1 -0
- package/dist/focused-list-recall.d.ts +5 -8
- package/dist/focused-list-recall.d.ts.map +1 -0
- package/dist/graph-append-error.d.ts +3 -27
- package/dist/graph-append-error.d.ts.map +1 -0
- package/dist/graph-dashboard-diff.d.ts +5 -28
- package/dist/graph-dashboard-diff.d.ts.map +1 -0
- package/dist/graph-dashboard-key.d.ts +3 -26
- package/dist/graph-dashboard-key.d.ts.map +1 -0
- package/dist/graph-dashboard-parser.d.ts +6 -29
- package/dist/graph-dashboard-parser.d.ts.map +1 -0
- package/dist/graph-edge-decay-ROSUPDX3.js +30 -0
- package/dist/graph-edge-reinforcement.d.ts +12 -36
- package/dist/graph-edge-reinforcement.d.ts.map +1 -0
- package/dist/graph-events.d.ts +13 -16
- package/dist/graph-events.d.ts.map +1 -0
- package/dist/graph-jsonl.d.ts +8 -31
- package/dist/graph-jsonl.d.ts.map +1 -0
- package/dist/graph-jsonl.js +3 -3
- package/dist/graph-path-reconstruction.d.ts +22 -22
- package/dist/graph-path-reconstruction.d.ts.map +1 -0
- package/dist/graph-path-scoring-config.d.ts +3 -4
- package/dist/graph-path-scoring-config.d.ts.map +1 -0
- package/dist/graph-path-scoring.d.ts +8 -30
- package/dist/graph-path-scoring.d.ts.map +1 -0
- package/dist/graph-recall.d.ts +7 -10
- package/dist/graph-recall.d.ts.map +1 -0
- package/dist/graph-retrieval.d.ts +19 -20
- package/dist/graph-retrieval.d.ts.map +1 -0
- package/dist/graph-snapshot.d.ts +14 -38
- package/dist/graph-snapshot.d.ts.map +1 -0
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph-write-lock.d.ts +7 -10
- package/dist/graph-write-lock.d.ts.map +1 -0
- package/dist/graph.d.ts +325 -22
- package/dist/graph.d.ts.map +1 -0
- package/dist/graph.js +2 -2
- package/dist/harmonic-construction.d.ts +11 -13
- package/dist/harmonic-construction.d.ts.map +1 -0
- package/dist/harmonic-retrieval.d.ts +10 -12
- package/dist/harmonic-retrieval.d.ts.map +1 -0
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/himem.d.ts +3 -4
- package/dist/himem.d.ts.map +1 -0
- package/dist/host-embedding-provider.d.ts +7 -8
- package/dist/host-embedding-provider.d.ts.map +1 -0
- package/dist/http-retry.d.ts +9 -10
- package/dist/http-retry.d.ts.map +1 -0
- package/dist/hygiene.d.ts +4 -5
- package/dist/hygiene.d.ts.map +1 -0
- package/dist/identity-continuity.d.ts +9 -11
- package/dist/identity-continuity.d.ts.map +1 -0
- package/dist/importance.d.ts +6 -26
- package/dist/importance.d.ts.map +1 -0
- package/dist/importers/base.d.ts +261 -0
- package/dist/importers/base.d.ts.map +1 -0
- package/dist/importers/index.d.ts +3 -280
- package/dist/importers/index.d.ts.map +1 -0
- package/dist/importers/test-utils.d.ts +5 -24
- package/dist/importers/test-utils.d.ts.map +1 -0
- package/dist/in-flight-reads.d.ts +10 -29
- package/dist/in-flight-reads.d.ts.map +1 -0
- package/dist/included-memories.d.ts +6 -7
- package/dist/included-memories.d.ts.map +1 -0
- package/dist/index.d.ts +185 -9836
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +275 -229
- package/dist/inline-script.d.ts +2 -3
- package/dist/inline-script.d.ts.map +1 -0
- package/dist/intent.d.ts +7 -26
- package/dist/intent.d.ts.map +1 -0
- package/dist/json-extract.d.ts +3 -4
- package/dist/json-extract.d.ts.map +1 -0
- package/dist/json-store.d.ts +9 -9
- package/dist/json-store.d.ts.map +1 -0
- package/dist/lcm/archive.d.ts +11 -13
- package/dist/lcm/archive.d.ts.map +1 -0
- package/dist/lcm/dag.d.ts +5 -7
- package/dist/lcm/dag.d.ts.map +1 -0
- package/dist/lcm/engine.d.ts +10 -32
- package/dist/lcm/engine.d.ts.map +1 -0
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/evidence-identity.d.ts +20 -0
- package/dist/lcm/evidence-identity.d.ts.map +1 -0
- package/dist/lcm/index.d.ts +9 -52
- package/dist/lcm/index.d.ts.map +1 -0
- package/dist/lcm/index.js +13 -13
- package/dist/lcm/queue.d.ts +7 -10
- package/dist/lcm/queue.d.ts.map +1 -0
- package/dist/lcm/recall.d.ts +8 -13
- package/dist/lcm/recall.d.ts.map +1 -0
- package/dist/lcm/schema.d.ts +5 -8
- package/dist/lcm/schema.d.ts.map +1 -0
- package/dist/lcm/summarizer.d.ts +7 -11
- package/dist/lcm/summarizer.d.ts.map +1 -0
- package/dist/lcm/tools.d.ts +4 -30
- package/dist/lcm/tools.d.ts.map +1 -0
- package/dist/lcm-fallback-read.d.ts +4 -5
- package/dist/lcm-fallback-read.d.ts.map +1 -0
- package/dist/lifecycle/seed-graduation-config-types.d.ts +21 -0
- package/dist/lifecycle/seed-graduation-config-types.d.ts.map +1 -0
- package/dist/lifecycle/seed-graduation.d.ts +97 -0
- package/dist/lifecycle/seed-graduation.d.ts.map +1 -0
- package/dist/lifecycle/tombstones.d.ts +389 -0
- package/dist/lifecycle/tombstones.d.ts.map +1 -0
- package/dist/lifecycle.d.ts +14 -33
- package/dist/lifecycle.d.ts.map +1 -0
- package/dist/live-connectors-runner.d.ts +11 -29
- package/dist/live-connectors-runner.d.ts.map +1 -0
- package/dist/local-llm-config.d.ts +5 -7
- package/dist/local-llm-config.d.ts.map +1 -0
- package/dist/local-llm-config.js +1 -1
- package/dist/local-llm-helpers.d.ts +102 -20
- package/dist/local-llm-helpers.d.ts.map +1 -0
- package/dist/local-llm-transport.d.ts +4 -6
- package/dist/local-llm-transport.d.ts.map +1 -0
- package/dist/local-llm.d.ts +145 -20
- package/dist/local-llm.d.ts.map +1 -0
- package/dist/local-model-endpoint.d.ts +10 -29
- package/dist/local-model-endpoint.d.ts.map +1 -0
- package/dist/location/access-operations.d.ts +9 -0
- package/dist/location/access-operations.d.ts.map +1 -0
- package/dist/location/backfill.d.ts +57 -0
- package/dist/location/backfill.d.ts.map +1 -0
- package/dist/location/cli.d.ts +67 -0
- package/dist/location/cli.d.ts.map +1 -0
- package/dist/location/config.d.ts +11 -0
- package/dist/location/config.d.ts.map +1 -0
- package/dist/location/http-glue.d.ts +20 -0
- package/dist/location/http-glue.d.ts.map +1 -0
- package/dist/location/index.d.ts +21 -534
- package/dist/location/index.d.ts.map +1 -0
- package/dist/location/index.js +17 -17
- package/dist/location/intervals.d.ts +61 -0
- package/dist/location/intervals.d.ts.map +1 -0
- package/dist/location/matching.d.ts +124 -0
- package/dist/location/matching.d.ts.map +1 -0
- package/dist/location/mcp-tools.d.ts +12 -0
- package/dist/location/mcp-tools.d.ts.map +1 -0
- package/dist/location/parse-companions.d.ts +7 -0
- package/dist/location/parse-companions.d.ts.map +1 -0
- package/dist/location/pipeline.d.ts +44 -0
- package/dist/location/pipeline.d.ts.map +1 -0
- package/dist/location/provider-setup.d.ts +33 -0
- package/dist/location/provider-setup.d.ts.map +1 -0
- package/dist/location/registry.d.ts +15 -0
- package/dist/location/registry.d.ts.map +1 -0
- package/dist/location/scheduler.d.ts +48 -0
- package/dist/location/scheduler.d.ts.map +1 -0
- package/dist/location/store.d.ts +95 -0
- package/dist/location/store.d.ts.map +1 -0
- package/dist/location/surfaces.d.ts +76 -0
- package/dist/location/surfaces.d.ts.map +1 -0
- package/dist/location/tagging.d.ts +116 -0
- package/dist/location/tagging.d.ts.map +1 -0
- package/dist/location/types.d.ts +109 -0
- package/dist/location/types.d.ts.map +1 -0
- package/dist/logger.d.ts +7 -8
- package/dist/logger.d.ts.map +1 -0
- package/dist/maintenance/archive-observations.d.ts +5 -5
- package/dist/maintenance/archive-observations.d.ts.map +1 -0
- package/dist/maintenance/atomic-file.d.ts +4 -5
- package/dist/maintenance/atomic-file.d.ts.map +1 -0
- package/dist/maintenance/backup-stamp.d.ts +2 -3
- package/dist/maintenance/backup-stamp.d.ts.map +1 -0
- package/dist/maintenance/day-summary-cron.d.ts +20 -0
- package/dist/maintenance/day-summary-cron.d.ts.map +1 -0
- package/dist/maintenance/dreams-ledger.d.ts +172 -0
- package/dist/maintenance/dreams-ledger.d.ts.map +1 -0
- package/dist/maintenance/first-start-migration.d.ts +61 -0
- package/dist/maintenance/first-start-migration.d.ts.map +1 -0
- package/dist/maintenance/forget.d.ts +59 -0
- package/dist/maintenance/forget.d.ts.map +1 -0
- package/dist/maintenance/graph-edge-decay.d.ts +122 -0
- package/dist/maintenance/graph-edge-decay.d.ts.map +1 -0
- package/dist/maintenance/memory-governance-cron.d.ts +9 -10
- package/dist/maintenance/memory-governance-cron.d.ts.map +1 -0
- package/dist/maintenance/memory-governance.d.ts +25 -43
- package/dist/maintenance/memory-governance.d.ts.map +1 -0
- package/dist/maintenance/memory-governance.js +14 -14
- package/dist/maintenance/migrate-observations.d.ts +4 -5
- package/dist/maintenance/migrate-observations.d.ts.map +1 -0
- package/dist/maintenance/namespace-maintenance-fanout.d.ts +132 -0
- package/dist/maintenance/namespace-maintenance-fanout.d.ts.map +1 -0
- package/dist/maintenance/namespace-planner.d.ts +96 -0
- package/dist/maintenance/namespace-planner.d.ts.map +1 -0
- package/dist/maintenance/observation-ledger-utils.d.ts +5 -6
- package/dist/maintenance/observation-ledger-utils.d.ts.map +1 -0
- package/dist/maintenance/pattern-reinforcement.d.ts +129 -0
- package/dist/maintenance/pattern-reinforcement.d.ts.map +1 -0
- package/dist/maintenance/projection-support.d.ts +76 -0
- package/dist/maintenance/projection-support.d.ts.map +1 -0
- package/dist/maintenance/purge.d.ts +85 -0
- package/dist/maintenance/purge.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger-cli.d.ts +24 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger-cli.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +11 -43
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +14 -14
- package/dist/maintenance/rebuild-memory-projection.d.ts +14 -72
- package/dist/maintenance/rebuild-memory-projection.d.ts.map +1 -0
- package/dist/maintenance/rebuild-memory-projection.js +15 -15
- package/dist/maintenance/rebuild-observations.d.ts +4 -5
- package/dist/maintenance/rebuild-observations.d.ts.map +1 -0
- package/dist/maintenance/tier-stats.d.ts +59 -0
- package/dist/maintenance/tier-stats.d.ts.map +1 -0
- package/dist/mcp-memory-inspector-app.d.ts +15 -158
- package/dist/mcp-memory-inspector-app.d.ts.map +1 -0
- package/dist/mcp-read-only-tools.d.ts +2 -3
- package/dist/mcp-read-only-tools.d.ts.map +1 -0
- package/dist/mcp-read-only-tools.js +1 -1
- package/dist/meetings/build-scheduler.d.ts +43 -0
- package/dist/meetings/build-scheduler.d.ts.map +1 -0
- package/dist/meetings/build.d.ts +137 -0
- package/dist/meetings/build.d.ts.map +1 -0
- package/dist/meetings/cli.d.ts +37 -0
- package/dist/meetings/cli.d.ts.map +1 -0
- package/dist/meetings/config.d.ts +18 -0
- package/dist/meetings/config.d.ts.map +1 -0
- package/dist/meetings/day-source.d.ts +103 -0
- package/dist/meetings/day-source.d.ts.map +1 -0
- package/dist/meetings/detect.d.ts +33 -0
- package/dist/meetings/detect.d.ts.map +1 -0
- package/dist/meetings/errors.d.ts +10 -0
- package/dist/meetings/errors.d.ts.map +1 -0
- package/dist/meetings/fuse.d.ts +30 -0
- package/dist/meetings/fuse.d.ts.map +1 -0
- package/dist/meetings/http-glue.d.ts +37 -0
- package/dist/meetings/http-glue.d.ts.map +1 -0
- package/dist/meetings/index.d.ts +20 -0
- package/dist/meetings/index.d.ts.map +1 -0
- package/dist/meetings/mcp-tools.d.ts +10 -0
- package/dist/meetings/mcp-tools.d.ts.map +1 -0
- package/dist/meetings/memory-gen.d.ts +157 -0
- package/dist/meetings/memory-gen.d.ts.map +1 -0
- package/dist/meetings/memory-generator.d.ts +113 -0
- package/dist/meetings/memory-generator.d.ts.map +1 -0
- package/dist/meetings/service.d.ts +80 -0
- package/dist/meetings/service.d.ts.map +1 -0
- package/dist/meetings/store.d.ts +121 -0
- package/dist/meetings/store.d.ts.map +1 -0
- package/dist/meetings/summary-extractor.d.ts +96 -0
- package/dist/meetings/summary-extractor.d.ts.map +1 -0
- package/dist/meetings/types.d.ts +155 -0
- package/dist/meetings/types.d.ts.map +1 -0
- package/dist/memory-action-policy.d.ts +6 -25
- package/dist/memory-action-policy.d.ts.map +1 -0
- package/dist/memory-age.d.ts +16 -17
- package/dist/memory-age.d.ts.map +1 -0
- package/dist/memory-browse-http-glue.d.ts +5 -151
- package/dist/memory-browse-http-glue.d.ts.map +1 -0
- package/dist/memory-browse-http-glue.js +2 -2
- package/dist/memory-browse-mcp-tools.d.ts +3 -150
- package/dist/memory-browse-mcp-tools.d.ts.map +1 -0
- package/dist/memory-browse-operations.d.ts +11 -2
- package/dist/memory-browse-operations.d.ts.map +1 -0
- package/dist/memory-browse-operations.js +66 -61
- package/dist/memory-browse.d.ts +16 -36
- package/dist/memory-browse.d.ts.map +1 -0
- package/dist/memory-browse.js +4 -4
- package/dist/memory-cache.d.ts +27 -46
- package/dist/memory-cache.d.ts.map +1 -0
- package/dist/memory-controller.d.ts +29 -50
- package/dist/memory-controller.d.ts.map +1 -0
- package/dist/memory-corpus-version.d.ts +3 -4
- package/dist/memory-corpus-version.d.ts.map +1 -0
- package/dist/memory-extension/claude-code-publisher.d.ts +18 -0
- package/dist/memory-extension/claude-code-publisher.d.ts.map +1 -0
- package/dist/memory-extension/codex-publisher.d.ts +22 -0
- package/dist/memory-extension/codex-publisher.d.ts.map +1 -0
- package/dist/memory-extension/hermes-publisher.d.ts +18 -0
- package/dist/memory-extension/hermes-publisher.d.ts.map +1 -0
- package/dist/memory-extension/index.d.ts +57 -0
- package/dist/memory-extension/index.d.ts.map +1 -0
- package/dist/memory-extension/shared-instructions.d.ts +30 -0
- package/dist/memory-extension/shared-instructions.d.ts.map +1 -0
- package/dist/memory-extension/types.d.ts +88 -0
- package/dist/memory-extension/types.d.ts.map +1 -0
- package/dist/memory-extension-host/host-discovery.d.ts +38 -0
- package/dist/memory-extension-host/host-discovery.d.ts.map +1 -0
- package/dist/memory-extension-host/index.d.ts +7 -0
- package/dist/memory-extension-host/index.d.ts.map +1 -0
- package/dist/memory-extension-host/render-extensions-block.d.ts +23 -0
- package/dist/memory-extension-host/render-extensions-block.d.ts.map +1 -0
- package/dist/memory-extension-host/types.d.ts +20 -0
- package/dist/memory-extension-host/types.d.ts.map +1 -0
- package/dist/memory-lifecycle-ledger-utils.d.ts +19 -38
- package/dist/memory-lifecycle-ledger-utils.d.ts.map +1 -0
- package/dist/memory-projection-format.d.ts +3 -4
- package/dist/memory-projection-format.d.ts.map +1 -0
- package/dist/memory-projection-mutations.d.ts +3 -4
- package/dist/memory-projection-mutations.d.ts.map +1 -0
- package/dist/memory-projection-store.d.ts +35 -54
- package/dist/memory-projection-store.d.ts.map +1 -0
- package/dist/memory-provenance.d.ts +10 -29
- package/dist/memory-provenance.d.ts.map +1 -0
- package/dist/memory-snapshot.d.ts +3 -22
- package/dist/memory-snapshot.d.ts.map +1 -0
- package/dist/memory-subject-cli.d.ts +9 -156
- package/dist/memory-subject-cli.d.ts.map +1 -0
- package/dist/memory-subject.d.ts +132 -145
- package/dist/memory-subject.d.ts.map +1 -0
- package/dist/memory-worth-bench.d.ts +4 -5
- package/dist/memory-worth-bench.d.ts.map +1 -0
- package/dist/memory-worth-filter.d.ts +8 -11
- package/dist/memory-worth-filter.d.ts.map +1 -0
- package/dist/memory-worth-outcomes.d.ts +11 -45
- package/dist/memory-worth-outcomes.d.ts.map +1 -0
- package/dist/memory-worth.d.ts +4 -5
- package/dist/memory-worth.d.ts.map +1 -0
- package/dist/message-parts/index.d.ts +15 -16
- package/dist/message-parts/index.d.ts.map +1 -0
- package/dist/migrate/from-engram.d.ts +6 -7
- package/dist/migrate/from-engram.d.ts.map +1 -0
- package/dist/model-registry.d.ts +3 -4
- package/dist/model-registry.d.ts.map +1 -0
- package/dist/models-json.d.ts +5 -24
- package/dist/models-json.d.ts.map +1 -0
- package/dist/namespaces/catalog.d.ts +473 -0
- package/dist/namespaces/catalog.d.ts.map +1 -0
- package/dist/namespaces/identity.d.ts +5 -0
- package/dist/namespaces/identity.d.ts.map +1 -0
- package/dist/namespaces/migrate.d.ts +11 -46
- package/dist/namespaces/migrate.d.ts.map +1 -0
- package/dist/namespaces/migrate.js +15 -15
- package/dist/namespaces/path.d.ts +3 -0
- package/dist/namespaces/path.d.ts.map +1 -0
- package/dist/namespaces/principal.d.ts +9 -28
- package/dist/namespaces/principal.d.ts.map +1 -0
- package/dist/namespaces/scope-profile-config.d.ts +5 -0
- package/dist/namespaces/scope-profile-config.d.ts.map +1 -0
- package/dist/namespaces/scope-profiles.d.ts +46 -0
- package/dist/namespaces/scope-profiles.d.ts.map +1 -0
- package/dist/namespaces/search.d.ts +10 -28
- package/dist/namespaces/search.d.ts.map +1 -0
- package/dist/namespaces/search.js +5 -5
- package/dist/namespaces/storage.d.ts +8 -41
- package/dist/namespaces/storage.d.ts.map +1 -0
- package/dist/namespaces/storage.js +14 -14
- package/dist/native-binding-hint.d.ts +3 -4
- package/dist/native-binding-hint.d.ts.map +1 -0
- package/dist/native-knowledge.d.ts +15 -34
- package/dist/native-knowledge.d.ts.map +1 -0
- package/dist/negative.d.ts +3 -4
- package/dist/negative.d.ts.map +1 -0
- package/dist/network/tailscale.d.ts +7 -8
- package/dist/network/tailscale.d.ts.map +1 -0
- package/dist/network/webdav.d.ts +9 -10
- package/dist/network/webdav.d.ts.map +1 -0
- package/dist/objective-state-writers.d.ts +8 -9
- package/dist/objective-state-writers.d.ts.map +1 -0
- package/dist/objective-state.d.ts +15 -16
- package/dist/objective-state.d.ts.map +1 -0
- package/dist/offline-sync-exclude-globs.d.ts +3 -4
- package/dist/offline-sync-exclude-globs.d.ts.map +1 -0
- package/dist/offline-sync-file-io.d.ts +8 -9
- package/dist/offline-sync-file-io.d.ts.map +1 -0
- package/dist/offline-sync-impression-drain.d.ts +8 -26
- package/dist/offline-sync-impression-drain.d.ts.map +1 -0
- package/dist/offline-sync-impression-drain.js +2 -2
- package/dist/offline-sync.d.ts +57 -58
- package/dist/offline-sync.d.ts.map +1 -0
- package/dist/okf/cli.d.ts +10 -0
- package/dist/okf/cli.d.ts.map +1 -0
- package/dist/okf/config.d.ts +11 -0
- package/dist/okf/config.d.ts.map +1 -0
- package/dist/okf/index-files.d.ts +7 -0
- package/dist/okf/index-files.d.ts.map +1 -0
- package/dist/okf/lint.d.ts +12 -0
- package/dist/okf/lint.d.ts.map +1 -0
- package/dist/okf/render.d.ts +29 -0
- package/dist/okf/render.d.ts.map +1 -0
- package/dist/okf/sweep.d.ts +9 -0
- package/dist/okf/sweep.d.ts.map +1 -0
- package/dist/okf/type-mapping.d.ts +30 -0
- package/dist/okf/type-mapping.d.ts.map +1 -0
- package/dist/onboarding/index.d.ts +63 -0
- package/dist/onboarding/index.d.ts.map +1 -0
- package/dist/openai-chat-compat.d.ts +6 -7
- package/dist/openai-chat-compat.d.ts.map +1 -0
- package/dist/operator-doctor-corpus.d.ts +8 -29
- package/dist/operator-doctor-corpus.d.ts.map +1 -0
- package/dist/operator-doctor-corpus.js +21 -21
- package/dist/operator-doctor-replica.d.ts +8 -29
- package/dist/operator-doctor-replica.d.ts.map +1 -0
- package/dist/operator-doctor-replica.js +4 -4
- package/dist/operator-doctor-types.d.ts +2 -3
- package/dist/operator-doctor-types.d.ts.map +1 -0
- package/dist/operator-toolkit.d.ts +43 -75
- package/dist/operator-toolkit.d.ts.map +1 -0
- package/dist/operator-toolkit.js +37 -37
- package/dist/opik-exporter.d.ts +6 -8
- package/dist/opik-exporter.d.ts.map +1 -0
- package/dist/orchestration/compression-guideline-coordinator.d.ts +6 -40
- package/dist/orchestration/compression-guideline-coordinator.d.ts.map +1 -0
- package/dist/orchestration/consolidation-run.d.ts +93 -0
- package/dist/orchestration/consolidation-run.d.ts.map +1 -0
- package/dist/orchestration/contradiction-linking-coordinator.d.ts +102 -0
- package/dist/orchestration/contradiction-linking-coordinator.d.ts.map +1 -0
- package/dist/orchestration/conversation-index-coordinator.d.ts +99 -0
- package/dist/orchestration/conversation-index-coordinator.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-delivery.d.ts +129 -0
- package/dist/orchestration/dependency-propagation-delivery.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-queue-state.d.ts +15 -0
- package/dist/orchestration/dependency-propagation-queue-state.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-recovery-replay.d.ts +49 -0
- package/dist/orchestration/dependency-propagation-recovery-replay.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation-replay-reconciliation.d.ts +25 -0
- package/dist/orchestration/dependency-propagation-replay-reconciliation.d.ts.map +1 -0
- package/dist/orchestration/dependency-propagation.d.ts +64 -0
- package/dist/orchestration/dependency-propagation.d.ts.map +1 -0
- package/dist/orchestration/dependency-revalidation.d.ts +45 -0
- package/dist/orchestration/dependency-revalidation.d.ts.map +1 -0
- package/dist/orchestration/entity-synthesis-coordinator.d.ts +64 -0
- package/dist/orchestration/entity-synthesis-coordinator.d.ts.map +1 -0
- package/dist/orchestration/episodic-context-section.d.ts +30 -0
- package/dist/orchestration/episodic-context-section.d.ts.map +1 -0
- package/dist/orchestration/extraction-anchor-snapshot.d.ts +20 -0
- package/dist/orchestration/extraction-anchor-snapshot.d.ts.map +1 -0
- package/dist/orchestration/extraction-envelope.d.ts +40 -0
- package/dist/orchestration/extraction-envelope.d.ts.map +1 -0
- package/dist/orchestration/extraction-injection-gate.d.ts +51 -0
- package/dist/orchestration/extraction-injection-gate.d.ts.map +1 -0
- package/dist/orchestration/extraction-origin-context.d.ts +19 -0
- package/dist/orchestration/extraction-origin-context.d.ts.map +1 -0
- package/dist/orchestration/extraction-persist-deps.d.ts +76 -0
- package/dist/orchestration/extraction-persist-deps.d.ts.map +1 -0
- package/dist/orchestration/extraction-persist-promotion.d.ts +203 -0
- package/dist/orchestration/extraction-persist-promotion.d.ts.map +1 -0
- package/dist/orchestration/extraction-persist.d.ts +19 -0
- package/dist/orchestration/extraction-persist.d.ts.map +1 -0
- package/dist/orchestration/extraction-queue-coordinator.d.ts +103 -0
- package/dist/orchestration/extraction-queue-coordinator.d.ts.map +1 -0
- package/dist/orchestration/extraction-run-helpers.d.ts +123 -0
- package/dist/orchestration/extraction-run-helpers.d.ts.map +1 -0
- package/dist/orchestration/extraction-run.d.ts +174 -0
- package/dist/orchestration/extraction-run.d.ts.map +1 -0
- package/dist/orchestration/extraction-shutdown.d.ts +6 -0
- package/dist/orchestration/extraction-shutdown.d.ts.map +1 -0
- package/dist/orchestration/extraction-watermark.d.ts +28 -0
- package/dist/orchestration/extraction-watermark.d.ts.map +1 -0
- package/dist/orchestration/generic-recall-paths.d.ts +36 -0
- package/dist/orchestration/generic-recall-paths.d.ts.map +1 -0
- package/dist/orchestration/graph-path-state-loader.d.ts +15 -0
- package/dist/orchestration/graph-path-state-loader.d.ts.map +1 -0
- package/dist/orchestration/graph-recall-coordinator.d.ts +107 -0
- package/dist/orchestration/graph-recall-coordinator.d.ts.map +1 -0
- package/dist/orchestration/harmonic-construction-persist.d.ts +58 -0
- package/dist/orchestration/harmonic-construction-persist.d.ts.map +1 -0
- package/dist/orchestration/lifecycle-policy-coordinator.d.ts +81 -0
- package/dist/orchestration/lifecycle-policy-coordinator.d.ts.map +1 -0
- package/dist/orchestration/maintenance.d.ts +229 -37
- package/dist/orchestration/maintenance.d.ts.map +1 -0
- package/dist/orchestration/maintenance.js +25 -25
- package/dist/orchestration/namespace-read-fanout.d.ts +95 -0
- package/dist/orchestration/namespace-read-fanout.d.ts.map +1 -0
- package/dist/orchestration/orchestrator-helpers.d.ts +408 -0
- package/dist/orchestration/orchestrator-helpers.d.ts.map +1 -0
- package/dist/orchestration/orchestrator-init.d.ts +124 -0
- package/dist/orchestration/orchestrator-init.d.ts.map +1 -0
- package/dist/orchestration/orchestrator-namespace-scope.d.ts +19 -0
- package/dist/orchestration/orchestrator-namespace-scope.d.ts.map +1 -0
- package/dist/orchestration/persistence-index.d.ts +141 -0
- package/dist/orchestration/persistence-index.d.ts.map +1 -0
- package/dist/orchestration/projection-rebuild-schedule.d.ts +21 -0
- package/dist/orchestration/projection-rebuild-schedule.d.ts.map +1 -0
- package/dist/orchestration/qmd-result-resolver.d.ts +75 -0
- package/dist/orchestration/qmd-result-resolver.d.ts.map +1 -0
- package/dist/orchestration/recall-background-writes.d.ts +3 -0
- package/dist/orchestration/recall-background-writes.d.ts.map +1 -0
- package/dist/orchestration/recall-entry.d.ts +78 -0
- package/dist/orchestration/recall-entry.d.ts.map +1 -0
- package/dist/orchestration/recall-internal-deps.d.ts +311 -0
- package/dist/orchestration/recall-internal-deps.d.ts.map +1 -0
- package/dist/orchestration/recall-internal.d.ts +30 -0
- package/dist/orchestration/recall-internal.d.ts.map +1 -0
- package/dist/orchestration/recall-introspection.d.ts +108 -0
- package/dist/orchestration/recall-introspection.d.ts.map +1 -0
- package/dist/orchestration/recall-profile-storage.d.ts +20 -0
- package/dist/orchestration/recall-profile-storage.d.ts.map +1 -0
- package/dist/orchestration/recall-recognition-index.d.ts +23 -0
- package/dist/orchestration/recall-recognition-index.d.ts.map +1 -0
- package/dist/orchestration/recall-recognition-search.d.ts +7 -0
- package/dist/orchestration/recall-recognition-search.d.ts.map +1 -0
- package/dist/orchestration/recall-rerank-coordinator.d.ts +126 -0
- package/dist/orchestration/recall-rerank-coordinator.d.ts.map +1 -0
- package/dist/orchestration/recall-result-formatter.d.ts +128 -0
- package/dist/orchestration/recall-result-formatter.d.ts.map +1 -0
- package/dist/orchestration/recall-search-pipeline.d.ts +284 -0
- package/dist/orchestration/recall-search-pipeline.d.ts.map +1 -0
- package/dist/orchestration/recall-search-prefilter.d.ts +31 -0
- package/dist/orchestration/recall-search-prefilter.d.ts.map +1 -0
- package/dist/orchestration/recall-section-coordinator.d.ts +92 -0
- package/dist/orchestration/recall-section-coordinator.d.ts.map +1 -0
- package/dist/orchestration/self-deps.d.ts +27 -0
- package/dist/orchestration/self-deps.d.ts.map +1 -0
- package/dist/orchestration/semantic-consolidation-coordinator.d.ts +64 -0
- package/dist/orchestration/semantic-consolidation-coordinator.d.ts.map +1 -0
- package/dist/orchestration/semantic-merge-commit-effects.d.ts +193 -0
- package/dist/orchestration/semantic-merge-commit-effects.d.ts.map +1 -0
- package/dist/orchestration/semantic-merge-persist.d.ts +318 -0
- package/dist/orchestration/semantic-merge-persist.d.ts.map +1 -0
- package/dist/orchestration/semantic-merge-promotion-payload.d.ts +132 -0
- package/dist/orchestration/semantic-merge-promotion-payload.d.ts.map +1 -0
- package/dist/orchestration/session-context.d.ts +225 -0
- package/dist/orchestration/session-context.d.ts.map +1 -0
- package/dist/orchestration/startup-collection-checks.d.ts +23 -0
- package/dist/orchestration/startup-collection-checks.d.ts.map +1 -0
- package/dist/orchestration/tier-migration-coordinator.d.ts +65 -0
- package/dist/orchestration/tier-migration-coordinator.d.ts.map +1 -0
- package/dist/orchestration/turn-ingestion.d.ts +227 -0
- package/dist/orchestration/turn-ingestion.d.ts.map +1 -0
- package/dist/orchestration/update-localization.d.ts +37 -0
- package/dist/orchestration/update-localization.d.ts.map +1 -0
- package/dist/orchestration/workspace-ops.d.ts +154 -0
- package/dist/orchestration/workspace-ops.d.ts.map +1 -0
- package/dist/orchestration/xray-capture-queue.d.ts +17 -0
- package/dist/orchestration/xray-capture-queue.d.ts.map +1 -0
- package/dist/orchestrator.d.ts +867 -109
- package/dist/orchestrator.d.ts.map +1 -0
- package/dist/orchestrator.js +157 -152
- package/dist/page-versioning.d.ts +16 -17
- package/dist/page-versioning.d.ts.map +1 -0
- package/dist/patterns-cli.d.ts +20 -40
- package/dist/patterns-cli.d.ts.map +1 -0
- package/dist/peers/index.d.ts +17 -327
- package/dist/peers/index.d.ts.map +1 -0
- package/dist/peers/migrate-from-identity-anchor.d.ts +119 -0
- package/dist/peers/migrate-from-identity-anchor.d.ts.map +1 -0
- package/dist/peers/profile-reasoner.d.ts +204 -0
- package/dist/peers/profile-reasoner.d.ts.map +1 -0
- package/dist/peers/storage.d.ts +163 -0
- package/dist/peers/storage.d.ts.map +1 -0
- package/dist/peers/types.d.ts +125 -0
- package/dist/peers/types.d.ts.map +1 -0
- package/dist/plugin-entry-resolver.d.ts +3 -4
- package/dist/plugin-entry-resolver.d.ts.map +1 -0
- package/dist/plugin-id.d.ts +4 -5
- package/dist/plugin-id.d.ts.map +1 -0
- package/dist/policy-runtime.d.ts +7 -26
- package/dist/policy-runtime.d.ts.map +1 -0
- package/dist/preferences/drift-config.d.ts +27 -0
- package/dist/preferences/drift-config.d.ts.map +1 -0
- package/dist/preferences/drift-recall.d.ts +74 -0
- package/dist/preferences/drift-recall.d.ts.map +1 -0
- package/dist/preferences/drift-types.d.ts +59 -0
- package/dist/preferences/drift-types.d.ts.map +1 -0
- package/dist/preferences/index.d.ts +12 -0
- package/dist/preferences/index.d.ts.map +1 -0
- package/dist/preferences/preference-drift.d.ts +144 -0
- package/dist/preferences/preference-drift.d.ts.map +1 -0
- package/dist/prioritized-embed.d.ts +3 -4
- package/dist/prioritized-embed.d.ts.map +1 -0
- package/dist/proactive-contention.d.ts +4 -24
- package/dist/proactive-contention.d.ts.map +1 -0
- package/dist/procedural/library-maintenance.d.ts +102 -0
- package/dist/procedural/library-maintenance.d.ts.map +1 -0
- package/dist/procedural/maintenance-config.d.ts +9 -0
- package/dist/procedural/maintenance-config.d.ts.map +1 -0
- package/dist/procedural/procedure-miner.d.ts +20 -0
- package/dist/procedural/procedure-miner.d.ts.map +1 -0
- package/dist/procedural/procedure-recall.d.ts +30 -0
- package/dist/procedural/procedure-recall.d.ts.map +1 -0
- package/dist/procedural/procedure-stats.d.ts +68 -0
- package/dist/procedural/procedure-stats.d.ts.map +1 -0
- package/dist/procedural/procedure-types.d.ts +26 -0
- package/dist/procedural/procedure-types.d.ts.map +1 -0
- package/dist/procedural/reinforcement-core.d.ts +39 -0
- package/dist/procedural/reinforcement-core.d.ts.map +1 -0
- package/dist/procedural/skill-io.d.ts +70 -0
- package/dist/procedural/skill-io.d.ts.map +1 -0
- package/dist/procedural/skill-projection.d.ts +98 -0
- package/dist/procedural/skill-projection.d.ts.map +1 -0
- package/dist/profiling.d.ts +10 -11
- package/dist/profiling.d.ts.map +1 -0
- package/dist/projection/index.d.ts +62 -0
- package/dist/projection/index.d.ts.map +1 -0
- package/dist/provenance.d.ts +13 -33
- package/dist/provenance.d.ts.map +1 -0
- package/dist/provenance.js +2 -2
- package/dist/providers/codex-subscription.d.ts +115 -0
- package/dist/providers/codex-subscription.d.ts.map +1 -0
- package/dist/qmd-preflight.d.ts +31 -21
- package/dist/qmd-preflight.d.ts.map +1 -0
- package/dist/qmd-recall-cache.d.ts +11 -30
- package/dist/qmd-recall-cache.d.ts.map +1 -0
- package/dist/qmd-status.d.ts +10 -11
- package/dist/qmd-status.d.ts.map +1 -0
- package/dist/qmd.d.ts +325 -21
- package/dist/qmd.d.ts.map +1 -0
- package/dist/reasoning-trace-recall.d.ts +7 -8
- package/dist/reasoning-trace-recall.d.ts.map +1 -0
- package/dist/reasoning-trace-types.d.ts +9 -10
- package/dist/reasoning-trace-types.d.ts.map +1 -0
- package/dist/recall-audit-anomaly.d.ts +11 -15
- package/dist/recall-audit-anomaly.d.ts.map +1 -0
- package/dist/recall-audit.d.ts +6 -8
- package/dist/recall-audit.d.ts.map +1 -0
- package/dist/recall-composition-decision.d.ts +9 -12
- package/dist/recall-composition-decision.d.ts.map +1 -0
- package/dist/recall-concurrency-config.d.ts +3 -22
- package/dist/recall-concurrency-config.d.ts.map +1 -0
- package/dist/recall-context-composition.d.ts +21 -22
- package/dist/recall-context-composition.d.ts.map +1 -0
- package/dist/recall-deep-access.d.ts +9 -12
- package/dist/recall-deep-access.d.ts.map +1 -0
- package/dist/recall-deep-budget-left.d.ts +2 -3
- package/dist/recall-deep-budget-left.d.ts.map +1 -0
- package/dist/recall-deep-budget.d.ts +2 -3
- package/dist/recall-deep-budget.d.ts.map +1 -0
- package/dist/recall-deep-expand-select.d.ts +4 -5
- package/dist/recall-deep-expand-select.d.ts.map +1 -0
- package/dist/recall-deep-expand.d.ts +2 -3
- package/dist/recall-deep-expand.d.ts.map +1 -0
- package/dist/recall-deep-frontier.d.ts +4 -5
- package/dist/recall-deep-frontier.d.ts.map +1 -0
- package/dist/recall-deep-policy.d.ts +5 -6
- package/dist/recall-deep-policy.d.ts.map +1 -0
- package/dist/recall-deep-query.d.ts +3 -4
- package/dist/recall-deep-query.d.ts.map +1 -0
- package/dist/recall-deep-refine.d.ts +2 -3
- package/dist/recall-deep-refine.d.ts.map +1 -0
- package/dist/recall-deep-render.d.ts +3 -6
- package/dist/recall-deep-render.d.ts.map +1 -0
- package/dist/recall-deep-rewrite.d.ts +4 -5
- package/dist/recall-deep-rewrite.d.ts.map +1 -0
- package/dist/recall-deep-step-count.d.ts +2 -3
- package/dist/recall-deep-step-count.d.ts.map +1 -0
- package/dist/recall-deep-stop-reason.d.ts +5 -6
- package/dist/recall-deep-stop-reason.d.ts.map +1 -0
- package/dist/recall-deep-stop.d.ts +6 -7
- package/dist/recall-deep-stop.d.ts.map +1 -0
- package/dist/recall-deep-trace-empty.d.ts +2 -3
- package/dist/recall-deep-trace-empty.d.ts.map +1 -0
- package/dist/recall-deep-working-set.d.ts +2 -3
- package/dist/recall-deep-working-set.d.ts.map +1 -0
- package/dist/recall-deep.d.ts +11 -12
- package/dist/recall-deep.d.ts.map +1 -0
- package/dist/recall-disclosure-escalation.d.ts +9 -29
- package/dist/recall-disclosure-escalation.d.ts.map +1 -0
- package/dist/recall-explain-renderer.d.ts +12 -38
- package/dist/recall-explain-renderer.d.ts.map +1 -0
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-handles.d.ts +23 -24
- package/dist/recall-handles.d.ts.map +1 -0
- package/dist/recall-memory-map.d.ts +8 -27
- package/dist/recall-memory-map.d.ts.map +1 -0
- package/dist/recall-mmr.d.ts +13 -14
- package/dist/recall-mmr.d.ts.map +1 -0
- package/dist/recall-navigate-access.d.ts +6 -27
- package/dist/recall-navigate-access.d.ts.map +1 -0
- package/dist/recall-navigate-access.js +2 -2
- package/dist/recall-navigate-action.d.ts +5 -5
- package/dist/recall-navigate-action.d.ts.map +1 -0
- package/dist/recall-navigate-budget.d.ts +3 -4
- package/dist/recall-navigate-budget.d.ts.map +1 -0
- package/dist/recall-navigate-cost.d.ts +2 -3
- package/dist/recall-navigate-cost.d.ts.map +1 -0
- package/dist/recall-navigate-depth.d.ts +2 -3
- package/dist/recall-navigate-depth.d.ts.map +1 -0
- package/dist/recall-navigate-disclosure.d.ts +5 -25
- package/dist/recall-navigate-disclosure.d.ts.map +1 -0
- package/dist/recall-navigate-disclosure.js +2 -2
- package/dist/recall-navigate-link.d.ts +5 -5
- package/dist/recall-navigate-link.d.ts.map +1 -0
- package/dist/recall-navigate-max-children.d.ts +2 -3
- package/dist/recall-navigate-max-children.d.ts.map +1 -0
- package/dist/recall-navigate-node.d.ts +3 -4
- package/dist/recall-navigate-node.d.ts.map +1 -0
- package/dist/recall-navigate-path.d.ts +2 -3
- package/dist/recall-navigate-path.d.ts.map +1 -0
- package/dist/recall-navigate-render.d.ts +3 -4
- package/dist/recall-navigate-render.d.ts.map +1 -0
- package/dist/recall-navigate-traverse.d.ts +5 -6
- package/dist/recall-navigate-traverse.d.ts.map +1 -0
- package/dist/recall-navigate-window.d.ts +5 -6
- package/dist/recall-navigate-window.d.ts.map +1 -0
- package/dist/recall-navigate.d.ts +13 -33
- package/dist/recall-navigate.d.ts.map +1 -0
- package/dist/recall-navigate.js +2 -2
- package/dist/recall-navigation-config.d.ts +7 -8
- package/dist/recall-navigation-config.d.ts.map +1 -0
- package/dist/recall-navigation-http-glue.d.ts +5 -151
- package/dist/recall-navigation-http-glue.d.ts.map +1 -0
- package/dist/recall-navigation-http-glue.js +2 -2
- package/dist/recall-navigation-mcp-tools.d.ts +3 -150
- package/dist/recall-navigation-mcp-tools.d.ts.map +1 -0
- package/dist/recall-navigation-operations.d.ts +11 -2
- package/dist/recall-navigation-operations.d.ts.map +1 -0
- package/dist/recall-navigation-operations.js +66 -61
- package/dist/recall-navigation-renderer.d.ts +4 -28
- package/dist/recall-navigation-renderer.d.ts.map +1 -0
- package/dist/recall-navigation.d.ts +13 -34
- package/dist/recall-navigation.d.ts.map +1 -0
- package/dist/recall-navigation.js +65 -60
- package/dist/recall-pipeline-stages.d.ts +6 -9
- package/dist/recall-pipeline-stages.d.ts.map +1 -0
- package/dist/recall-planner-i18n.d.ts +13 -14
- package/dist/recall-planner-i18n.d.ts.map +1 -0
- package/dist/recall-planner-llm.d.ts +8 -30
- package/dist/recall-planner-llm.d.ts.map +1 -0
- package/dist/recall-qos.d.ts +13 -15
- package/dist/recall-qos.d.ts.map +1 -0
- package/dist/recall-query-policy.d.ts +9 -10
- package/dist/recall-query-policy.d.ts.map +1 -0
- package/dist/recall-recognition-tier.d.ts +27 -28
- package/dist/recall-recognition-tier.d.ts.map +1 -0
- package/dist/recall-state-view-admission.d.ts +7 -26
- package/dist/recall-state-view-admission.d.ts.map +1 -0
- package/dist/recall-state-view-admission.js +3 -3
- package/dist/recall-state-view-anchors.d.ts +10 -29
- package/dist/recall-state-view-anchors.d.ts.map +1 -0
- package/dist/recall-state-view-current.d.ts +4 -5
- package/dist/recall-state-view-current.d.ts.map +1 -0
- package/dist/recall-state-view-inject.d.ts +3 -7
- package/dist/recall-state-view-inject.d.ts.map +1 -0
- package/dist/recall-state-view-kind.d.ts +5 -5
- package/dist/recall-state-view-kind.d.ts.map +1 -0
- package/dist/recall-state-view-label.d.ts +3 -6
- package/dist/recall-state-view-label.d.ts.map +1 -0
- package/dist/recall-state-view-packet.d.ts +7 -9
- package/dist/recall-state-view-packet.d.ts.map +1 -0
- package/dist/recall-state-view-render.d.ts +4 -7
- package/dist/recall-state-view-render.d.ts.map +1 -0
- package/dist/recall-state-view-successor.d.ts +3 -4
- package/dist/recall-state-view-successor.d.ts.map +1 -0
- package/dist/recall-state-view-superseded.d.ts +3 -4
- package/dist/recall-state-view-superseded.d.ts.map +1 -0
- package/dist/recall-state-view-transition.d.ts +4 -5
- package/dist/recall-state-view-transition.d.ts.map +1 -0
- package/dist/recall-state-view-widen.d.ts +3 -6
- package/dist/recall-state-view-widen.d.ts.map +1 -0
- package/dist/recall-state-view-wire.d.ts +3 -6
- package/dist/recall-state-view-wire.d.ts.map +1 -0
- package/dist/recall-state-view-zero-diff.d.ts +4 -5
- package/dist/recall-state-view-zero-diff.d.ts.map +1 -0
- package/dist/recall-state-view.d.ts +16 -17
- package/dist/recall-state-view.d.ts.map +1 -0
- package/dist/recall-state.d.ts +17 -35
- package/dist/recall-state.d.ts.map +1 -0
- package/dist/recall-tag-filter.d.ts +10 -33
- package/dist/recall-tag-filter.d.ts.map +1 -0
- package/dist/recall-timings.d.ts +10 -29
- package/dist/recall-timings.d.ts.map +1 -0
- package/dist/recall-tokenization.d.ts +7 -8
- package/dist/recall-tokenization.d.ts.map +1 -0
- package/dist/recall-why-cli.d.ts +25 -0
- package/dist/recall-why-cli.d.ts.map +1 -0
- package/dist/recall-why-cli.js +9 -0
- package/dist/recall-why-cli.js.map +1 -0
- package/dist/recall-why-renderer.d.ts +25 -0
- package/dist/recall-why-renderer.d.ts.map +1 -0
- package/dist/recall-why-renderer.js +18 -0
- package/dist/recall-why-renderer.js.map +1 -0
- package/dist/recall-why-service.d.ts +49 -0
- package/dist/recall-why-service.d.ts.map +1 -0
- package/dist/recall-why-service.js +46 -0
- package/dist/recall-why-service.js.map +1 -0
- package/dist/recall-why.d.ts +175 -0
- package/dist/recall-why.d.ts.map +1 -0
- package/dist/recall-why.js +25 -0
- package/dist/recall-why.js.map +1 -0
- package/dist/recall-xray-cli.d.ts +7 -31
- package/dist/recall-xray-cli.d.ts.map +1 -0
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +9 -33
- package/dist/recall-xray-renderer.d.ts.map +1 -0
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +19 -39
- package/dist/recall-xray.d.ts.map +1 -0
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/cursor.d.ts +15 -37
- package/dist/reconcile/cursor.d.ts.map +1 -0
- package/dist/reconcile/manifest.d.ts +19 -40
- package/dist/reconcile/manifest.d.ts.map +1 -0
- package/dist/reconcile/manifest.js +2 -2
- package/dist/reconcile/plan.d.ts +22 -42
- package/dist/reconcile/plan.d.ts.map +1 -0
- package/dist/reconstruct.d.ts +2 -3
- package/dist/reconstruct.d.ts.map +1 -0
- package/dist/relay/mission-access.d.ts +28 -0
- package/dist/relay/mission-access.d.ts.map +1 -0
- package/dist/relay/mission-fixture.d.ts +11 -0
- package/dist/relay/mission-fixture.d.ts.map +1 -0
- package/dist/relay/mission.d.ts +3952 -0
- package/dist/relay/mission.d.ts.map +1 -0
- package/dist/release-changelog.d.ts +3 -4
- package/dist/release-changelog.d.ts.map +1 -0
- package/dist/relevance.d.ts +3 -3
- package/dist/relevance.d.ts.map +1 -0
- package/dist/replay/normalizers/chatgpt.d.ts +3 -23
- package/dist/replay/normalizers/chatgpt.d.ts.map +1 -0
- package/dist/replay/normalizers/claude.d.ts +3 -23
- package/dist/replay/normalizers/claude.d.ts.map +1 -0
- package/dist/replay/normalizers/openclaw.d.ts +3 -23
- package/dist/replay/normalizers/openclaw.d.ts.map +1 -0
- package/dist/replay/normalizers/shared.d.ts +6 -25
- package/dist/replay/normalizers/shared.d.ts.map +1 -0
- package/dist/replay/runner.d.ts +10 -30
- package/dist/replay/runner.d.ts.map +1 -0
- package/dist/replay/types.d.ts +18 -37
- package/dist/replay/types.d.ts.map +1 -0
- package/dist/replica-divergence.d.ts +24 -45
- package/dist/replica-divergence.d.ts.map +1 -0
- package/dist/replica-divergence.js +3 -3
- package/dist/replica-peers-config.d.ts +50 -18
- package/dist/replica-peers-config.d.ts.map +1 -0
- package/dist/rerank.d.ts +8 -9
- package/dist/rerank.d.ts.map +1 -0
- package/dist/resolution-CHNISQJB.js +36 -0
- package/dist/resolution-CHNISQJB.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +9 -27
- package/dist/resolve-auth-token.d.ts.map +1 -0
- package/dist/resolve-provider-secret.d.ts +10 -11
- package/dist/resolve-provider-secret.d.ts.map +1 -0
- package/dist/response-guidance-recall.d.ts +5 -8
- package/dist/response-guidance-recall.d.ts.map +1 -0
- package/dist/resume-bundles.d.ts +9 -10
- package/dist/resume-bundles.d.ts.map +1 -0
- package/dist/resume-bundles.js +24 -24
- package/dist/retrieval-agents.d.ts +14 -36
- package/dist/retrieval-agents.d.ts.map +1 -0
- package/dist/retrieval-tiers.d.ts +4 -24
- package/dist/retrieval-tiers.d.ts.map +1 -0
- package/dist/retrieval.d.ts +5 -6
- package/dist/retrieval.d.ts.map +1 -0
- package/dist/review/frontmatter.d.ts +6 -0
- package/dist/review/frontmatter.d.ts.map +1 -0
- package/dist/review/index.d.ts +81 -0
- package/dist/review/index.d.ts.map +1 -0
- package/dist/review/review-deck-http-base.d.ts +10 -0
- package/dist/review/review-deck-http-base.d.ts.map +1 -0
- package/dist/review/review-deck-mutation.d.ts +51 -0
- package/dist/review/review-deck-mutation.d.ts.map +1 -0
- package/dist/review/review-deck-snapshot.d.ts +10 -0
- package/dist/review/review-deck-snapshot.d.ts.map +1 -0
- package/dist/review/review-deck-surface.d.ts +33 -0
- package/dist/review/review-deck-surface.d.ts.map +1 -0
- package/dist/review/review-deck.d.ts +107 -0
- package/dist/review/review-deck.d.ts.map +1 -0
- package/dist/routing/engine.d.ts +12 -31
- package/dist/routing/engine.d.ts.map +1 -0
- package/dist/routing/store.d.ts +3 -23
- package/dist/routing/store.d.ts.map +1 -0
- package/dist/runtime/better-sqlite.d.ts +9 -10
- package/dist/runtime/better-sqlite.d.ts.map +1 -0
- package/dist/runtime/child-process.d.ts +5 -5
- package/dist/runtime/child-process.d.ts.map +1 -0
- package/dist/runtime/daemon-health.d.ts +2 -0
- package/dist/runtime/daemon-health.d.ts.map +1 -0
- package/dist/runtime/env.d.ts +5 -6
- package/dist/runtime/env.d.ts.map +1 -0
- package/dist/runtime/http-transport.d.ts +3 -4
- package/dist/runtime/http-transport.d.ts.map +1 -0
- package/dist/salvage-envelope.d.ts +3 -23
- package/dist/salvage-envelope.d.ts.map +1 -0
- package/dist/sanitize.d.ts +5 -7
- package/dist/sanitize.d.ts.map +1 -0
- package/dist/schemas.d.ts +205 -207
- package/dist/schemas.d.ts.map +1 -0
- package/dist/scopes/scope-plan.d.ts +258 -0
- package/dist/scopes/scope-plan.d.ts.map +1 -0
- package/dist/sdk-compat.d.ts +4 -5
- package/dist/sdk-compat.d.ts.map +1 -0
- package/dist/search/abort.d.ts +5 -0
- package/dist/search/abort.d.ts.map +1 -0
- package/dist/search/document-scanner.d.ts +3 -4
- package/dist/search/document-scanner.d.ts.map +1 -0
- package/dist/search/embed-helper.d.ts +8 -26
- package/dist/search/embed-helper.d.ts.map +1 -0
- package/dist/search/factory.d.ts +10 -31
- package/dist/search/factory.d.ts.map +1 -0
- package/dist/search/factory.js +4 -4
- package/dist/search/index.d.ts +11 -32
- package/dist/search/index.d.ts.map +1 -0
- package/dist/search/index.js +10 -10
- package/dist/search/lancedb-backend.d.ts +5 -26
- package/dist/search/lancedb-backend.d.ts.map +1 -0
- package/dist/search/meilisearch-backend.d.ts +4 -24
- package/dist/search/meilisearch-backend.d.ts.map +1 -0
- package/dist/search/noop-backend.d.ts +3 -23
- package/dist/search/noop-backend.d.ts.map +1 -0
- package/dist/search/orama-backend.d.ts +6 -27
- package/dist/search/orama-backend.d.ts.map +1 -0
- package/dist/search/orama-cjk-tokenizer.d.ts +53 -0
- package/dist/search/orama-cjk-tokenizer.d.ts.map +1 -0
- package/dist/search/port.d.ts +10 -29
- package/dist/search/port.d.ts.map +1 -0
- package/dist/search/remote-backend.d.ts +4 -24
- package/dist/search/remote-backend.d.ts.map +1 -0
- package/dist/secure-store/cipher.d.ts +127 -0
- package/dist/secure-store/cipher.d.ts.map +1 -0
- package/dist/secure-store/cli-handlers.d.ts +134 -0
- package/dist/secure-store/cli-handlers.d.ts.map +1 -0
- package/dist/secure-store/cli-renderer.d.ts +16 -0
- package/dist/secure-store/cli-renderer.d.ts.map +1 -0
- package/dist/secure-store/header.d.ts +137 -0
- package/dist/secure-store/header.d.ts.map +1 -0
- package/dist/secure-store/index.d.ts +23 -899
- package/dist/secure-store/index.d.ts.map +1 -0
- package/dist/secure-store/kdf.d.ts +101 -0
- package/dist/secure-store/kdf.d.ts.map +1 -0
- package/dist/secure-store/keyring.d.ts +58 -0
- package/dist/secure-store/keyring.d.ts.map +1 -0
- package/dist/secure-store/metadata.d.ts +104 -0
- package/dist/secure-store/metadata.d.ts.map +1 -0
- package/dist/secure-store/passphrase-reader.d.ts +40 -0
- package/dist/secure-store/passphrase-reader.d.ts.map +1 -0
- package/dist/secure-store/secure-fs.d.ts +227 -0
- package/dist/secure-store/secure-fs.d.ts.map +1 -0
- package/dist/security/audit-memory-cli.d.ts +9 -0
- package/dist/security/audit-memory-cli.d.ts.map +1 -0
- package/dist/security/audit-memory.d.ts +48 -0
- package/dist/security/audit-memory.d.ts.map +1 -0
- package/dist/security/injection-screen.d.ts +19 -0
- package/dist/security/injection-screen.d.ts.map +1 -0
- package/dist/security/origin-authority.d.ts +30 -0
- package/dist/security/origin-authority.d.ts.map +1 -0
- package/dist/security/types.d.ts +13 -0
- package/dist/security/types.d.ts.map +1 -0
- package/dist/semantic-chunking.d.ts +13 -16
- package/dist/semantic-chunking.d.ts.map +1 -0
- package/dist/semantic-consolidation.d.ts +126 -22
- package/dist/semantic-consolidation.d.ts.map +1 -0
- package/dist/semantic-consolidation.js +15 -15
- package/dist/semantic-merge-config.d.ts +2 -3
- package/dist/semantic-merge-config.d.ts.map +1 -0
- package/dist/semantic-rule-promotion.d.ts +7 -7
- package/dist/semantic-rule-promotion.d.ts.map +1 -0
- package/dist/semantic-rule-promotion.js +14 -14
- package/dist/semantic-rule-verifier.d.ts +6 -25
- package/dist/semantic-rule-verifier.d.ts.map +1 -0
- package/dist/semantic-rule-verifier.js +14 -14
- package/dist/session-identity.d.ts +10 -11
- package/dist/session-identity.d.ts.map +1 -0
- package/dist/session-integrity.d.ts +14 -15
- package/dist/session-integrity.d.ts.map +1 -0
- package/dist/session-namespace-bindings.d.ts +10 -11
- package/dist/session-namespace-bindings.d.ts.map +1 -0
- package/dist/session-observer-bands.d.ts +4 -23
- package/dist/session-observer-bands.d.ts.map +1 -0
- package/dist/session-observer-state.d.ts +6 -25
- package/dist/session-observer-state.d.ts.map +1 -0
- package/dist/session-summaries/adapters.d.ts +5 -0
- package/dist/session-summaries/adapters.d.ts.map +1 -0
- package/dist/session-summaries/index.d.ts +7 -0
- package/dist/session-summaries/index.d.ts.map +1 -0
- package/dist/session-summaries/redaction.d.ts +8 -0
- package/dist/session-summaries/redaction.d.ts.map +1 -0
- package/dist/session-summaries/types.d.ts +113 -0
- package/dist/session-summaries/types.d.ts.map +1 -0
- package/dist/session-toggles.d.ts +4 -4
- package/dist/session-toggles.d.ts.map +1 -0
- package/dist/session-transcript-migration.d.ts +9 -10
- package/dist/session-transcript-migration.d.ts.map +1 -0
- package/dist/shared-context/authority-precedence.d.ts +22 -0
- package/dist/shared-context/authority-precedence.d.ts.map +1 -0
- package/dist/shared-context/authority.d.ts +18 -0
- package/dist/shared-context/authority.d.ts.map +1 -0
- package/dist/shared-context/claim-key.d.ts +14 -0
- package/dist/shared-context/claim-key.d.ts.map +1 -0
- package/dist/shared-context/contradictions.d.ts +20 -0
- package/dist/shared-context/contradictions.d.ts.map +1 -0
- package/dist/shared-context/curation-lint.d.ts +23 -0
- package/dist/shared-context/curation-lint.d.ts.map +1 -0
- package/dist/shared-context/envelope-actor.d.ts +14 -0
- package/dist/shared-context/envelope-actor.d.ts.map +1 -0
- package/dist/shared-context/envelope-at.d.ts +19 -0
- package/dist/shared-context/envelope-at.d.ts.map +1 -0
- package/dist/shared-context/envelope-id.d.ts +14 -0
- package/dist/shared-context/envelope-id.d.ts.map +1 -0
- package/dist/shared-context/envelope-io.d.ts +100 -0
- package/dist/shared-context/envelope-io.d.ts.map +1 -0
- package/dist/shared-context/envelope-required.d.ts +14 -0
- package/dist/shared-context/envelope-required.d.ts.map +1 -0
- package/dist/shared-context/envelope-ttl.d.ts +12 -0
- package/dist/shared-context/envelope-ttl.d.ts.map +1 -0
- package/dist/shared-context/governance.d.ts +28 -0
- package/dist/shared-context/governance.d.ts.map +1 -0
- package/dist/shared-context/iso-instant.d.ts +19 -0
- package/dist/shared-context/iso-instant.d.ts.map +1 -0
- package/dist/shared-context/manager.d.ts +21 -48
- package/dist/shared-context/manager.d.ts.map +1 -0
- package/dist/shared-context/provenance.d.ts +18 -0
- package/dist/shared-context/provenance.d.ts.map +1 -0
- package/dist/shared-context/staleness.d.ts +18 -0
- package/dist/shared-context/staleness.d.ts.map +1 -0
- package/dist/shared-context/supersession-chain.d.ts +41 -0
- package/dist/shared-context/supersession-chain.d.ts.map +1 -0
- package/dist/shared-context/trajectories.d.ts +24 -0
- package/dist/shared-context/trajectories.d.ts.map +1 -0
- package/dist/shared-context/write-output-controls.d.ts +4 -5
- package/dist/shared-context/write-output-controls.d.ts.map +1 -0
- package/dist/signal.d.ts +4 -23
- package/dist/signal.d.ts.map +1 -0
- package/dist/skills-registry.d.ts +4 -5
- package/dist/skills-registry.d.ts.map +1 -0
- package/dist/source-agent-qualifier.d.ts +8 -27
- package/dist/source-agent-qualifier.d.ts.map +1 -0
- package/dist/source-agent-qualifier.js +23 -23
- package/dist/source-attribution.d.ts +20 -21
- package/dist/source-attribution.d.ts.map +1 -0
- package/dist/spaces/index.d.ts +148 -0
- package/dist/spaces/index.d.ts.map +1 -0
- package/dist/standing-memory-block.d.ts +25 -26
- package/dist/standing-memory-block.d.ts.map +1 -0
- package/dist/standup/access-operations.d.ts +2 -0
- package/dist/standup/access-operations.d.ts.map +1 -0
- package/dist/standup/build.d.ts +6 -7
- package/dist/standup/build.d.ts.map +1 -0
- package/dist/standup/build.js +15 -15
- package/dist/standup/http-glue.d.ts +4 -0
- package/dist/standup/http-glue.d.ts.map +1 -0
- package/dist/standup/mcp-tools.d.ts +3 -0
- package/dist/standup/mcp-tools.d.ts.map +1 -0
- package/dist/storage/cas-revision-host.d.ts +34 -0
- package/dist/storage/cas-revision-host.d.ts.map +1 -0
- package/dist/storage/cas-revision-store.d.ts +176 -0
- package/dist/storage/cas-revision-store.d.ts.map +1 -0
- package/dist/storage/citation-hash-source.d.ts +3 -0
- package/dist/storage/citation-hash-source.d.ts.map +1 -0
- package/dist/storage/committed-invalidation.d.ts +9 -0
- package/dist/storage/committed-invalidation.d.ts.map +1 -0
- package/dist/storage/content-hash-index.d.ts +269 -0
- package/dist/storage/content-hash-index.d.ts.map +1 -0
- package/dist/storage/context-transform-ledger.d.ts +10 -0
- package/dist/storage/context-transform-ledger.d.ts.map +1 -0
- package/dist/storage/deletion-revision-store.d.ts +79 -0
- package/dist/storage/deletion-revision-store.d.ts.map +1 -0
- package/dist/storage/entity-alias-config.d.ts +2 -0
- package/dist/storage/entity-alias-config.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-lock.d.ts +4 -0
- package/dist/storage/entity-canonical-id-lock.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-migration-adapter.d.ts +24 -0
- package/dist/storage/entity-canonical-id-migration-adapter.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-migration-runner.d.ts +16 -0
- package/dist/storage/entity-canonical-id-migration-runner.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-migration.d.ts +44 -0
- package/dist/storage/entity-canonical-id-migration.d.ts.map +1 -0
- package/dist/storage/entity-canonical-id-references.d.ts +173 -0
- package/dist/storage/entity-canonical-id-references.d.ts.map +1 -0
- package/dist/storage/entity-id-safety.d.ts +2 -0
- package/dist/storage/entity-id-safety.d.ts.map +1 -0
- package/dist/storage/entity-ref-repair.d.ts +45 -0
- package/dist/storage/entity-ref-repair.d.ts.map +1 -0
- package/dist/storage/entity-store.d.ts +131 -0
- package/dist/storage/entity-store.d.ts.map +1 -0
- package/dist/storage/entity-timeline.d.ts +34 -0
- package/dist/storage/entity-timeline.d.ts.map +1 -0
- package/dist/storage/identity-continuity-store.d.ts +40 -0
- package/dist/storage/identity-continuity-store.d.ts.map +1 -0
- package/dist/storage/memory-frontmatter-metadata.d.ts +4 -0
- package/dist/storage/memory-frontmatter-metadata.d.ts.map +1 -0
- package/dist/storage/memory-lifecycle-ledger-access.d.ts +194 -0
- package/dist/storage/memory-lifecycle-ledger-access.d.ts.map +1 -0
- package/dist/storage/memory-migration-serialization.d.ts +5 -0
- package/dist/storage/memory-migration-serialization.d.ts.map +1 -0
- package/dist/storage/memory-read-store.d.ts +193 -0
- package/dist/storage/memory-read-store.d.ts.map +1 -0
- package/dist/storage/profile-header.d.ts +16 -0
- package/dist/storage/profile-header.d.ts.map +1 -0
- package/dist/storage/questions-file.d.ts +11 -0
- package/dist/storage/questions-file.d.ts.map +1 -0
- package/dist/storage/secure-line-reader.d.ts +53 -0
- package/dist/storage/secure-line-reader.d.ts.map +1 -0
- package/dist/storage/supersession-audit.d.ts +7 -0
- package/dist/storage/supersession-audit.d.ts.map +1 -0
- package/dist/storage/supersession-side-effects.d.ts +51 -0
- package/dist/storage/supersession-side-effects.d.ts.map +1 -0
- package/dist/storage/tombstone-blocked-capture-index.d.ts +93 -0
- package/dist/storage/tombstone-blocked-capture-index.d.ts.map +1 -0
- package/dist/storage/tombstone-blocked-capture-mutation.d.ts +53 -0
- package/dist/storage/tombstone-blocked-capture-mutation.d.ts.map +1 -0
- package/dist/storage/tombstone-blocked-capture-sync.d.ts +96 -0
- package/dist/storage/tombstone-blocked-capture-sync.d.ts.map +1 -0
- package/dist/storage/tombstone-migration-sources.d.ts +24 -0
- package/dist/storage/tombstone-migration-sources.d.ts.map +1 -0
- package/dist/storage/windowed-memory-read.d.ts +28 -0
- package/dist/storage/windowed-memory-read.d.ts.map +1 -0
- package/dist/storage-contract/harness.d.ts +59 -0
- package/dist/storage-contract/harness.d.ts.map +1 -0
- package/dist/storage-guards.d.ts +6 -7
- package/dist/storage-guards.d.ts.map +1 -0
- package/dist/storage-paths.d.ts +8 -9
- package/dist/storage-paths.d.ts.map +1 -0
- package/dist/storage.d.ts +1362 -33
- package/dist/storage.d.ts.map +1 -0
- package/dist/storage.js +15 -15
- package/dist/store-contract.d.ts +9 -10
- package/dist/store-contract.d.ts.map +1 -0
- package/dist/structured-attributes.d.ts +6 -7
- package/dist/structured-attributes.d.ts.map +1 -0
- package/dist/subject-config.d.ts +4 -24
- package/dist/subject-config.d.ts.map +1 -0
- package/dist/summarizer.d.ts +7 -27
- package/dist/summarizer.d.ts.map +1 -0
- package/dist/summarizer.js +3 -3
- package/dist/summary-snapshot.d.ts +6 -25
- package/dist/summary-snapshot.d.ts.map +1 -0
- package/dist/support-passport/access-http-base.d.ts +20 -0
- package/dist/support-passport/access-http-base.d.ts.map +1 -0
- package/dist/support-passport/access-http.d.ts +64 -0
- package/dist/support-passport/access-http.d.ts.map +1 -0
- package/dist/support-passport/access-operations.d.ts +197 -0
- package/dist/support-passport/access-operations.d.ts.map +1 -0
- package/dist/support-passport/access-service-base.d.ts +86 -0
- package/dist/support-passport/access-service-base.d.ts.map +1 -0
- package/dist/support-passport/access-surface.d.ts +118 -0
- package/dist/support-passport/access-surface.d.ts.map +1 -0
- package/dist/support-passport/card-projection.d.ts +83 -0
- package/dist/support-passport/card-projection.d.ts.map +1 -0
- package/dist/support-passport/card-replacement.d.ts +21 -0
- package/dist/support-passport/card-replacement.d.ts.map +1 -0
- package/dist/support-passport/card-service.d.ts +65 -0
- package/dist/support-passport/card-service.d.ts.map +1 -0
- package/dist/support-passport/card-state.d.ts +28 -0
- package/dist/support-passport/card-state.d.ts.map +1 -0
- package/dist/support-passport/config.d.ts +4 -0
- package/dist/support-passport/config.d.ts.map +1 -0
- package/dist/support-passport/contracts.d.ts +165 -0
- package/dist/support-passport/contracts.d.ts.map +1 -0
- package/dist/support-passport/errors.d.ts +7 -0
- package/dist/support-passport/errors.d.ts.map +1 -0
- package/dist/support-passport/generated-batch.d.ts +47 -0
- package/dist/support-passport/generated-batch.d.ts.map +1 -0
- package/dist/support-passport/grant-contracts.d.ts +443 -0
- package/dist/support-passport/grant-contracts.d.ts.map +1 -0
- package/dist/support-passport/grant-service.d.ts +48 -0
- package/dist/support-passport/grant-service.d.ts.map +1 -0
- package/dist/support-passport/grant-store.d.ts +84 -0
- package/dist/support-passport/grant-store.d.ts.map +1 -0
- package/dist/support-passport/index.d.ts +17 -571
- package/dist/support-passport/index.d.ts.map +1 -0
- package/dist/support-passport/index.js +75 -70
- package/dist/support-passport/mcp-tools.d.ts +16 -0
- package/dist/support-passport/mcp-tools.d.ts.map +1 -0
- package/dist/support-passport/model-adapter.d.ts +90 -0
- package/dist/support-passport/model-adapter.d.ts.map +1 -0
- package/dist/support-passport/model-audit.d.ts +115 -0
- package/dist/support-passport/model-audit.d.ts.map +1 -0
- package/dist/support-passport/model-bridge.d.ts +105 -0
- package/dist/support-passport/model-bridge.d.ts.map +1 -0
- package/dist/support-passport/model-contracts.d.ts +219 -0
- package/dist/support-passport/model-contracts.d.ts.map +1 -0
- package/dist/support-passport/model-service.d.ts +58 -0
- package/dist/support-passport/model-service.d.ts.map +1 -0
- package/dist/support-passport/offline-sync-guard.d.ts +46 -0
- package/dist/support-passport/offline-sync-guard.d.ts.map +1 -0
- package/dist/support-passport/owner-lock.d.ts +16 -0
- package/dist/support-passport/owner-lock.d.ts.map +1 -0
- package/dist/support-passport/private-file.d.ts +16 -0
- package/dist/support-passport/private-file.d.ts.map +1 -0
- package/dist/support-passport/public-http.d.ts +23 -0
- package/dist/support-passport/public-http.d.ts.map +1 -0
- package/dist/surfaces/dreams.d.ts +4 -5
- package/dist/surfaces/dreams.d.ts.map +1 -0
- package/dist/surfaces/heartbeat.d.ts +4 -5
- package/dist/surfaces/heartbeat.d.ts.map +1 -0
- package/dist/sync/index.d.ts +69 -0
- package/dist/sync/index.d.ts.map +1 -0
- package/dist/targeted-fact-recall.d.ts +5 -8
- package/dist/targeted-fact-recall.d.ts.map +1 -0
- package/dist/task-llm-config.d.ts +4 -5
- package/dist/task-llm-config.d.ts.map +1 -0
- package/dist/taxonomy/default-taxonomy.d.ts +7 -0
- package/dist/taxonomy/default-taxonomy.d.ts.map +1 -0
- package/dist/taxonomy/index.d.ts +11 -0
- package/dist/taxonomy/index.d.ts.map +1 -0
- package/dist/taxonomy/resolver-doc-generator.d.ts +17 -0
- package/dist/taxonomy/resolver-doc-generator.d.ts.map +1 -0
- package/dist/taxonomy/resolver.d.ts +25 -0
- package/dist/taxonomy/resolver.d.ts.map +1 -0
- package/dist/taxonomy/taxonomy-loader.d.ts +38 -0
- package/dist/taxonomy/taxonomy-loader.d.ts.map +1 -0
- package/dist/taxonomy/types.d.ts +49 -0
- package/dist/taxonomy/types.d.ts.map +1 -0
- package/dist/telemetry-transcript.d.ts +6 -7
- package/dist/telemetry-transcript.d.ts.map +1 -0
- package/dist/temporal-index-batch.d.ts +30 -1
- package/dist/temporal-index-batch.d.ts.map +1 -0
- package/dist/temporal-index-compat.d.ts +7 -267
- package/dist/temporal-index-compat.d.ts.map +1 -0
- package/dist/temporal-index.d.ts +230 -1
- package/dist/temporal-index.d.ts.map +1 -0
- package/dist/temporal-supersession.d.ts +14 -34
- package/dist/temporal-supersession.d.ts.map +1 -0
- package/dist/temporal-timeline-recall.d.ts +5 -24
- package/dist/temporal-timeline-recall.d.ts.map +1 -0
- package/dist/temporal-validity.d.ts +7 -27
- package/dist/temporal-validity.d.ts.map +1 -0
- package/dist/testing/lifecycle-matrix.d.ts +11 -12
- package/dist/testing/lifecycle-matrix.d.ts.map +1 -0
- package/dist/testing/orchestrator-lite.d.ts +80 -0
- package/dist/testing/orchestrator-lite.d.ts.map +1 -0
- package/dist/testing/subjects/meetings-namespace-harness.d.ts +32 -0
- package/dist/testing/subjects/meetings-namespace-harness.d.ts.map +1 -0
- package/dist/testing/tmp-dir.d.ts +9 -0
- package/dist/testing/tmp-dir.d.ts.map +1 -0
- package/dist/thread-key.d.ts +2 -3
- package/dist/thread-key.d.ts.map +1 -0
- package/dist/threading.d.ts +3 -23
- package/dist/threading.d.ts.map +1 -0
- package/dist/tier-migration.d.ts +10 -43
- package/dist/tier-migration.d.ts.map +1 -0
- package/dist/tier-routing.d.ts +8 -27
- package/dist/tier-routing.d.ts.map +1 -0
- package/dist/tmt.d.ts +18 -19
- package/dist/tmt.d.ts.map +1 -0
- package/dist/token-estimate.d.ts +2 -3
- package/dist/token-estimate.d.ts.map +1 -0
- package/dist/tokens.d.ts +15 -19
- package/dist/tokens.d.ts.map +1 -0
- package/dist/tokens.js +3 -3
- package/dist/tool-scoped-memory.d.ts +7 -8
- package/dist/tool-scoped-memory.d.ts.map +1 -0
- package/dist/topics.d.ts +4 -24
- package/dist/topics.d.ts.map +1 -0
- package/dist/training-export/converter.d.ts +18 -0
- package/dist/training-export/converter.d.ts.map +1 -0
- package/dist/training-export/date-parse.d.ts +38 -0
- package/dist/training-export/date-parse.d.ts.map +1 -0
- package/dist/training-export/index.d.ts +10 -0
- package/dist/training-export/index.d.ts.map +1 -0
- package/dist/training-export/registry.d.ts +27 -0
- package/dist/training-export/registry.d.ts.map +1 -0
- package/dist/training-export/types.d.ts +29 -0
- package/dist/training-export/types.d.ts.map +1 -0
- package/dist/transcript.d.ts +5 -24
- package/dist/transcript.d.ts.map +1 -0
- package/dist/transfer/autodetect.d.ts +3 -4
- package/dist/transfer/autodetect.d.ts.map +1 -0
- package/dist/transfer/backup.d.ts +3 -4
- package/dist/transfer/backup.d.ts.map +1 -0
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-crypto.d.ts +168 -0
- package/dist/transfer/capsule-crypto.d.ts.map +1 -0
- package/dist/transfer/capsule-export.d.ts +6 -9
- package/dist/transfer/capsule-export.d.ts.map +1 -0
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-fork.d.ts +117 -0
- package/dist/transfer/capsule-fork.d.ts.map +1 -0
- package/dist/transfer/capsule-import.d.ts +10 -13
- package/dist/transfer/capsule-import.d.ts.map +1 -0
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/capsule-merge.d.ts +124 -0
- package/dist/transfer/capsule-merge.d.ts.map +1 -0
- package/dist/transfer/conflict-policy.d.ts +5 -0
- package/dist/transfer/conflict-policy.d.ts.map +1 -0
- package/dist/transfer/constants.d.ts +4 -5
- package/dist/transfer/constants.d.ts.map +1 -0
- package/dist/transfer/exclusions.d.ts +8 -0
- package/dist/transfer/exclusions.d.ts.map +1 -0
- package/dist/transfer/export-json.d.ts +3 -4
- package/dist/transfer/export-json.d.ts.map +1 -0
- package/dist/transfer/export-md.d.ts +4 -5
- package/dist/transfer/export-md.d.ts.map +1 -0
- package/dist/transfer/export-okf.d.ts +11 -31
- package/dist/transfer/export-okf.d.ts.map +1 -0
- package/dist/transfer/export-okf.js +14 -14
- package/dist/transfer/export-sqlite.d.ts +3 -4
- package/dist/transfer/export-sqlite.d.ts.map +1 -0
- package/dist/transfer/fs-utils.d.ts +20 -21
- package/dist/transfer/fs-utils.d.ts.map +1 -0
- package/dist/transfer/import-json.d.ts +6 -7
- package/dist/transfer/import-json.d.ts.map +1 -0
- package/dist/transfer/import-md.d.ts +5 -6
- package/dist/transfer/import-md.d.ts.map +1 -0
- package/dist/transfer/import-sqlite.d.ts +5 -6
- package/dist/transfer/import-sqlite.d.ts.map +1 -0
- package/dist/transfer/integrity.d.ts +8 -0
- package/dist/transfer/integrity.d.ts.map +1 -0
- package/dist/transfer/sqlite-schema.d.ts +3 -4
- package/dist/transfer/sqlite-schema.d.ts.map +1 -0
- package/dist/transfer/types.d.ts +114 -116
- package/dist/transfer/types.d.ts.map +1 -0
- package/dist/trust-score-stage.d.ts +21 -40
- package/dist/trust-score-stage.d.ts.map +1 -0
- package/dist/trust-score.d.ts +15 -34
- package/dist/trust-score.d.ts.map +1 -0
- package/dist/trust-zones.d.ts +29 -30
- package/dist/trust-zones.d.ts.map +1 -0
- package/dist/types-continuity.d.ts +10 -11
- package/dist/types-continuity.d.ts.map +1 -0
- package/dist/types.d.ts +3500 -18
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +1 -1
- package/dist/user-message-cleaning.d.ts +3 -4
- package/dist/user-message-cleaning.d.ts.map +1 -0
- package/dist/user-model.d.ts +17 -18
- package/dist/user-model.d.ts.map +1 -0
- package/dist/utility-learner.d.ts +10 -12
- package/dist/utility-learner.d.ts.map +1 -0
- package/dist/utility-runtime.d.ts +6 -27
- package/dist/utility-runtime.d.ts.map +1 -0
- package/dist/utility-telemetry.d.ts +12 -13
- package/dist/utility-telemetry.d.ts.map +1 -0
- package/dist/utils/category-dir.d.ts +45 -0
- package/dist/utils/category-dir.d.ts.map +1 -0
- package/dist/utils/errno.d.ts +4 -0
- package/dist/utils/errno.d.ts.map +1 -0
- package/dist/utils/iso-timestamp.d.ts +18 -0
- package/dist/utils/iso-timestamp.d.ts.map +1 -0
- package/dist/utils/path-containment.d.ts +50 -0
- package/dist/utils/path-containment.d.ts.map +1 -0
- package/dist/utils/path.d.ts +2 -3
- package/dist/utils/path.d.ts.map +1 -0
- package/dist/utils/script-aware-text.d.ts +27 -0
- package/dist/utils/script-aware-text.d.ts.map +1 -0
- package/dist/utils/serialize-mutations.d.ts +6 -7
- package/dist/utils/serialize-mutations.d.ts.map +1 -0
- package/dist/utils/yaml-scalar.d.ts +9 -0
- package/dist/utils/yaml-scalar.d.ts.map +1 -0
- package/dist/verified-recall.d.ts +5 -7
- package/dist/verified-recall.d.ts.map +1 -0
- package/dist/verified-recall.js +14 -14
- package/dist/version-utils.d.ts +3 -4
- package/dist/version-utils.d.ts.map +1 -0
- package/dist/wearables/auto-sync.d.ts +63 -0
- package/dist/wearables/auto-sync.d.ts.map +1 -0
- package/dist/wearables/cleanup.d.ts +39 -0
- package/dist/wearables/cleanup.d.ts.map +1 -0
- package/dist/wearables/cli.d.ts +24 -0
- package/dist/wearables/cli.d.ts.map +1 -0
- package/dist/wearables/config.d.ts +22 -0
- package/dist/wearables/config.d.ts.map +1 -0
- package/dist/wearables/corrections.d.ts +46 -0
- package/dist/wearables/corrections.d.ts.map +1 -0
- package/dist/wearables/day-store.d.ts +152 -0
- package/dist/wearables/day-store.d.ts.map +1 -0
- package/dist/wearables/errors.d.ts +19 -0
- package/dist/wearables/errors.d.ts.map +1 -0
- package/dist/wearables/fusion/cluster.d.ts +70 -0
- package/dist/wearables/fusion/cluster.d.ts.map +1 -0
- package/dist/wearables/fusion/fuse.d.ts +40 -0
- package/dist/wearables/fusion/fuse.d.ts.map +1 -0
- package/dist/wearables/fusion/index.d.ts +16 -0
- package/dist/wearables/fusion/index.d.ts.map +1 -0
- package/dist/wearables/fusion/reconcile.d.ts +52 -0
- package/dist/wearables/fusion/reconcile.d.ts.map +1 -0
- package/dist/wearables/fusion/reconstruct.d.ts +37 -0
- package/dist/wearables/fusion/reconstruct.d.ts.map +1 -0
- package/dist/wearables/fusion/store.d.ts +131 -0
- package/dist/wearables/fusion/store.d.ts.map +1 -0
- package/dist/wearables/fusion/types.d.ts +219 -0
- package/dist/wearables/fusion/types.d.ts.map +1 -0
- package/dist/wearables/http-glue.d.ts +12 -0
- package/dist/wearables/http-glue.d.ts.map +1 -0
- package/dist/wearables/index.d.ts +23 -0
- package/dist/wearables/index.d.ts.map +1 -0
- package/dist/wearables/mcp-tools.d.ts +12 -0
- package/dist/wearables/mcp-tools.d.ts.map +1 -0
- package/dist/wearables/memory-gen.d.ts +139 -0
- package/dist/wearables/memory-gen.d.ts.map +1 -0
- package/dist/wearables/pipeline.d.ts +81 -0
- package/dist/wearables/pipeline.d.ts.map +1 -0
- package/dist/wearables/redaction.d.ts +75 -0
- package/dist/wearables/redaction.d.ts.map +1 -0
- package/dist/wearables/registry.d.ts +47 -0
- package/dist/wearables/registry.d.ts.map +1 -0
- package/dist/wearables/service.d.ts +225 -0
- package/dist/wearables/service.d.ts.map +1 -0
- package/dist/wearables/speakers.d.ts +83 -0
- package/dist/wearables/speakers.d.ts.map +1 -0
- package/dist/wearables/sync-state.d.ts +52 -0
- package/dist/wearables/sync-state.d.ts.map +1 -0
- package/dist/wearables/text-language.d.ts +41 -0
- package/dist/wearables/text-language.d.ts.map +1 -0
- package/dist/wearables/trust.d.ts +93 -0
- package/dist/wearables/trust.d.ts.map +1 -0
- package/dist/wearables/types.d.ts +389 -0
- package/dist/wearables/types.d.ts.map +1 -0
- package/dist/whitespace.d.ts +7 -8
- package/dist/whitespace.d.ts.map +1 -0
- package/dist/who-knows-cli.d.ts +8 -155
- package/dist/who-knows-cli.d.ts.map +1 -0
- package/dist/who-knows-cli.js +16 -16
- package/dist/who-knows.d.ts +97 -145
- package/dist/who-knows.d.ts.map +1 -0
- package/dist/who-knows.js +15 -15
- package/dist/work/board.d.ts +8 -10
- package/dist/work/board.d.ts.map +1 -0
- package/dist/work/boundary.d.ts +5 -6
- package/dist/work/boundary.d.ts.map +1 -0
- package/dist/work/storage.d.ts +4 -6
- package/dist/work/storage.d.ts.map +1 -0
- package/dist/work/types.d.ts +11 -12
- package/dist/work/types.d.ts.map +1 -0
- package/dist/work-product-ledger.d.ts +12 -13
- package/dist/work-product-ledger.d.ts.map +1 -0
- package/dist/write-envelope.d.ts +23 -42
- package/dist/write-envelope.d.ts.map +1 -0
- package/dist/write-quarantine.d.ts +8 -9
- package/dist/write-quarantine.d.ts.map +1 -0
- package/dist/write-rate-limiter.d.ts +4 -4
- package/dist/write-rate-limiter.d.ts.map +1 -0
- package/package.json +2 -2
- package/scripts/build-with-heap.mjs +40 -19
- package/src/access-boundary.ts +1 -0
- package/src/access-errors.test.ts +182 -0
- package/src/access-errors.ts +252 -1
- package/src/access-http.ts +36 -103
- package/src/access-mcp-output-schemas.ts +1 -0
- package/src/access-mcp.ts +21 -2
- package/src/access-operations-batch.ts +8 -0
- package/src/access-recall-diagnostics.ts +236 -0
- package/src/access-service.ts +6 -0
- package/src/access-surface-catalog.ts +2 -0
- package/src/index.ts +11 -0
- package/src/mcp-read-only-tools.ts +1 -0
- package/src/orchestration/orchestrator-helpers.ts +7 -0
- package/src/orchestration/recall-internal.ts +1 -1
- package/src/recall-degradation-sink.test.ts +144 -0
- package/src/recall-why-cli.ts +59 -0
- package/src/recall-why-renderer.ts +142 -0
- package/src/recall-why-service.test.ts +306 -0
- package/src/recall-why-service.ts +218 -0
- package/src/recall-why.test.ts +511 -0
- package/src/recall-why.ts +568 -0
- package/src/types.ts +1 -0
- package/dist/access-namespace-preflight-U9RAdxqZ.d.ts +0 -146
- package/dist/access-service-CUNM5RfA.d.ts +0 -4700
- package/dist/capsule-crypto-YO5QJ6L3.js +0 -18
- package/dist/catalog-BuMyYPUn.d.ts +0 -473
- package/dist/chunk-27MKMTBY.js +0 -342
- package/dist/chunk-2HJKAVAS.js +0 -216
- package/dist/chunk-2QZJ4P27.js +0 -203
- package/dist/chunk-2SIKTXWX.js +0 -502
- package/dist/chunk-2Z24E5W2.js +0 -22
- package/dist/chunk-2Z24E5W2.js.map +0 -1
- package/dist/chunk-3R23DDD3.js +0 -9782
- package/dist/chunk-3S6URXEH.js +0 -63
- package/dist/chunk-43IQRLEF.js +0 -256
- package/dist/chunk-4UVJ6EIT.js +0 -22
- package/dist/chunk-4UVJ6EIT.js.map +0 -1
- package/dist/chunk-5FAGCOZD.js +0 -761
- package/dist/chunk-75YZ5VAI.js +0 -140
- package/dist/chunk-7IRZK6MM.js +0 -256
- package/dist/chunk-7QVYVSEH.js +0 -285
- package/dist/chunk-7RGX7BMF.js +0 -103
- package/dist/chunk-7RKAE6Y4.js +0 -727
- package/dist/chunk-AH44WTLJ.js +0 -415
- package/dist/chunk-AHVJ6GLL.js +0 -95
- package/dist/chunk-AIVRD66I.js +0 -511
- package/dist/chunk-AQ55YKEV.js +0 -29
- package/dist/chunk-AQWGCHIV.js +0 -263
- package/dist/chunk-ARRKSBQU.js +0 -72
- package/dist/chunk-AYHNTYVG.js +0 -43
- package/dist/chunk-BSCNBIF4.js +0 -24
- package/dist/chunk-BXLOS5AJ.js +0 -112
- package/dist/chunk-BXOPUJ3W.js +0 -801
- package/dist/chunk-CEO4DONG.js +0 -28
- package/dist/chunk-CVILPI77.js +0 -432
- package/dist/chunk-D2N3PMAE.js +0 -51
- package/dist/chunk-D7VT2LED.js +0 -253
- package/dist/chunk-DAOMWGO2.js +0 -65
- package/dist/chunk-DGS34QSY.js +0 -141
- package/dist/chunk-DI52XAKG.js +0 -223
- package/dist/chunk-DQEMWVMT.js +0 -249
- package/dist/chunk-DZP2XMZC.js +0 -1084
- package/dist/chunk-EVQ33D3N.js +0 -731
- package/dist/chunk-FPB5LQWW.js +0 -71
- package/dist/chunk-FPB5LQWW.js.map +0 -1
- package/dist/chunk-FROKVQQY.js +0 -3997
- package/dist/chunk-FROKVQQY.js.map +0 -1
- package/dist/chunk-G7S37WD4.js +0 -801
- package/dist/chunk-GRDRVYXJ.js +0 -1917
- package/dist/chunk-H6WOFMOV.js +0 -346
- package/dist/chunk-HMDYSGY6.js +0 -54
- package/dist/chunk-HNHIHXSD.js +0 -879
- package/dist/chunk-HWLIMQE2.js +0 -165
- package/dist/chunk-IWO6QXWJ.js +0 -224
- package/dist/chunk-IYNCJKBM.js +0 -3602
- package/dist/chunk-IYNCJKBM.js.map +0 -1
- package/dist/chunk-J54B5DGD.js +0 -1530
- package/dist/chunk-JMZQS6OS.js +0 -81
- package/dist/chunk-K4KE5MYE.js +0 -648
- package/dist/chunk-K4KE5MYE.js.map +0 -1
- package/dist/chunk-KH2D26LQ.js +0 -2440
- package/dist/chunk-KIGC55FQ.js +0 -5505
- package/dist/chunk-KQVBR7BC.js +0 -1286
- package/dist/chunk-L63GFNKL.js +0 -403
- package/dist/chunk-LIAKZGOY.js +0 -25
- package/dist/chunk-LVFI5LG7.js +0 -576
- package/dist/chunk-MTWD4KMM.js +0 -223
- package/dist/chunk-MWVYHNSU.js +0 -623
- package/dist/chunk-MZWSOLMT.js +0 -189
- package/dist/chunk-NNEWBRUL.js +0 -271
- package/dist/chunk-NPX6WMFJ.js +0 -1686
- package/dist/chunk-O7OVWKT4.js +0 -768
- package/dist/chunk-PLJ2MQFT.js +0 -182
- package/dist/chunk-Q4AUIFUA.js +0 -111
- package/dist/chunk-QWQB7TOB.js +0 -11341
- package/dist/chunk-QZ4U67KO.js +0 -98
- package/dist/chunk-RMMVQQA6.js +0 -70
- package/dist/chunk-RSMNPYBM.js +0 -61
- package/dist/chunk-RUUJXAGT.js +0 -122
- package/dist/chunk-S45INSV3.js +0 -389
- package/dist/chunk-SCXURCVT.js +0 -218
- package/dist/chunk-SGUDMW2K.js +0 -3400
- package/dist/chunk-SLGD36MM.js +0 -53
- package/dist/chunk-SMBWBEE7.js +0 -73
- package/dist/chunk-SPFNGHHP.js +0 -115
- package/dist/chunk-SPWNCGSM.js +0 -77
- package/dist/chunk-SZ7IVZGD.js +0 -112
- package/dist/chunk-TJNDFNCU.js +0 -597
- package/dist/chunk-TJNDFNCU.js.map +0 -1
- package/dist/chunk-TQT4AOPO.js +0 -321
- package/dist/chunk-TTFJQ5B5.js +0 -43
- package/dist/chunk-U2SK45U3.js +0 -1476
- package/dist/chunk-UCH2RWFX.js +0 -216
- package/dist/chunk-UDJMJNBK.js +0 -549
- package/dist/chunk-UJBIWY5M.js +0 -212
- package/dist/chunk-ULQVG6G3.js +0 -275
- package/dist/chunk-VDX2J7OX.js +0 -264
- package/dist/chunk-VGO57TU7.js +0 -960
- package/dist/chunk-VUV472VH.js +0 -1008
- package/dist/chunk-VVX5PZFS.js +0 -297
- package/dist/chunk-WH7RINGG.js +0 -315
- package/dist/chunk-WUJD4CHZ.js +0 -137
- package/dist/chunk-X7WAM3IY.js +0 -30
- package/dist/chunk-XPFJSUOR.js +0 -921
- package/dist/chunk-XVZA6VXC.js +0 -160
- package/dist/chunk-XZRZJHBW.js +0 -31013
- package/dist/chunk-XZRZJHBW.js.map +0 -1
- package/dist/chunk-Y4G6LHJW.js +0 -35
- package/dist/chunk-Y7LZ5V7N.js +0 -202
- package/dist/chunk-YEIKOBOW.js +0 -628
- package/dist/chunk-YEIKOBOW.js.map +0 -1
- package/dist/chunk-YIIW2OH2.js +0 -566
- package/dist/chunk-ZBYVR5W4.js +0 -18504
- package/dist/chunk-ZBYVR5W4.js.map +0 -1
- package/dist/chunk-ZN7SMKAK.js +0 -210
- package/dist/chunk-ZP73EM2X.js +0 -74
- package/dist/chunk-ZXQPAYCS.js +0 -2453
- package/dist/cli-CCc34xV7.d.ts +0 -1136
- package/dist/conflict-policy-DyJ2wd-h.d.ts +0 -4
- package/dist/connectors-cli-2iaQ5tX2.d.ts +0 -263
- package/dist/dependency-propagation-delivery-BrhPjAHQ.d.ts +0 -41
- package/dist/faiss-adapter-BHecI1fF.d.ts +0 -73
- package/dist/framework-CNDn2164.d.ts +0 -170
- package/dist/generic-recall-paths-C0J1Oxb7.d.ts +0 -23
- package/dist/graph-DRkl22KE.d.ts +0 -347
- package/dist/graph-edge-decay-MKIRZ762.js +0 -30
- package/dist/index-B735x-tK.d.ts +0 -284
- package/dist/local-llm-BkkEK9rn.d.ts +0 -247
- package/dist/maintenance-CLBIvVxg.d.ts +0 -749
- package/dist/orchestrator-iexgVLow.d.ts +0 -2701
- package/dist/pipeline-DvtDtyo9.d.ts +0 -32
- package/dist/public-http-UWVcqMcb.d.ts +0 -25
- package/dist/qmd-CBYBJ6HW.d.ts +0 -353
- package/dist/resolution-LXFQQ4AE.js +0 -36
- package/dist/scope-profiles-BN1Dgfha.d.ts +0 -30
- package/dist/semantic-BalR6EXU.d.ts +0 -87
- package/dist/semantic-consolidation-D--qe0eE.d.ts +0 -180
- package/dist/service-VealHeqO.d.ts +0 -846
- package/dist/storage-BhS9gUx3.d.ts +0 -166
- package/dist/storage-CMm-3aD3.d.ts +0 -2421
- package/dist/tagging-BjsNFKWz.d.ts +0 -240
- package/dist/types-B1VHaf2w.d.ts +0 -126
- package/dist/types-DJhqDJUV.d.ts +0 -50
- package/dist/types-Du6VdoAg.d.ts +0 -5482
- /package/dist/{capsule-crypto-YO5QJ6L3.js.map → access-recall-diagnostics.js.map} +0 -0
- /package/dist/{graph-edge-decay-MKIRZ762.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-KQVBR7BC.js.map → chunk-2CBWEIS4.js.map} +0 -0
- /package/dist/{chunk-JMZQS6OS.js.map → chunk-2JQZSQXI.js.map} +0 -0
- /package/dist/{chunk-BXLOS5AJ.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-LIAKZGOY.js.map → chunk-2WMXZYMS.js.map} +0 -0
- /package/dist/{chunk-RSMNPYBM.js.map → chunk-34ZGBAGE.js.map} +0 -0
- /package/dist/{chunk-MWVYHNSU.js.map → chunk-36S7UHAW.js.map} +0 -0
- /package/dist/{chunk-G7S37WD4.js.map → chunk-3JLWSFTV.js.map} +0 -0
- /package/dist/{chunk-75YZ5VAI.js.map → chunk-3RZOLUZT.js.map} +0 -0
- /package/dist/{chunk-XVZA6VXC.js.map → chunk-3SL52JKD.js.map} +0 -0
- /package/dist/{chunk-2SIKTXWX.js.map → chunk-4QEZS7PK.js.map} +0 -0
- /package/dist/{chunk-Y4G6LHJW.js.map → chunk-5QRYGLZN.js.map} +0 -0
- /package/dist/{chunk-AQWGCHIV.js.map → chunk-5R3C5LEZ.js.map} +0 -0
- /package/dist/{chunk-SPWNCGSM.js.map → chunk-634UKELB.js.map} +0 -0
- /package/dist/{chunk-BXOPUJ3W.js.map → chunk-64JK4TL7.js.map} +0 -0
- /package/dist/{chunk-DGS34QSY.js.map → chunk-6E5GYDIE.js.map} +0 -0
- /package/dist/{chunk-D2N3PMAE.js.map → chunk-6ISP2EN2.js.map} +0 -0
- /package/dist/{chunk-UJBIWY5M.js.map → chunk-6RD7MSIO.js.map} +0 -0
- /package/dist/{chunk-RMMVQQA6.js.map → chunk-6UDLN4IA.js.map} +0 -0
- /package/dist/{chunk-7IRZK6MM.js.map → chunk-754XN6LX.js.map} +0 -0
- /package/dist/{chunk-43IQRLEF.js.map → chunk-7H2LEYYJ.js.map} +0 -0
- /package/dist/{chunk-7RGX7BMF.js.map → chunk-A7AISUJI.js.map} +0 -0
- /package/dist/{chunk-7RKAE6Y4.js.map → chunk-AULKCNZW.js.map} +0 -0
- /package/dist/{chunk-NPX6WMFJ.js.map → chunk-B7SSU55V.js.map} +0 -0
- /package/dist/{chunk-IWO6QXWJ.js.map → chunk-BICNRVEC.js.map} +0 -0
- /package/dist/{chunk-SLGD36MM.js.map → chunk-BJI2D4SU.js.map} +0 -0
- /package/dist/{chunk-CEO4DONG.js.map → chunk-BQB5ZMYO.js.map} +0 -0
- /package/dist/{chunk-WH7RINGG.js.map → chunk-C5CPYMLX.js.map} +0 -0
- /package/dist/{chunk-AHVJ6GLL.js.map → chunk-CS2JO77A.js.map} +0 -0
- /package/dist/{chunk-UDJMJNBK.js.map → chunk-DTABICJ3.js.map} +0 -0
- /package/dist/{chunk-CVILPI77.js.map → chunk-E6UNM67F.js.map} +0 -0
- /package/dist/{chunk-NNEWBRUL.js.map → chunk-ENUI3IO7.js.map} +0 -0
- /package/dist/{chunk-DZP2XMZC.js.map → chunk-FF2XYADH.js.map} +0 -0
- /package/dist/{chunk-S45INSV3.js.map → chunk-FF6N7BXC.js.map} +0 -0
- /package/dist/{chunk-2QZJ4P27.js.map → chunk-FSXD6Y4H.js.map} +0 -0
- /package/dist/{chunk-SGUDMW2K.js.map → chunk-GK6NOQE6.js.map} +0 -0
- /package/dist/{chunk-TTFJQ5B5.js.map → chunk-GRSFFLUY.js.map} +0 -0
- /package/dist/{chunk-5FAGCOZD.js.map → chunk-GWK7FEUL.js.map} +0 -0
- /package/dist/{chunk-SCXURCVT.js.map → chunk-GWQVMKUJ.js.map} +0 -0
- /package/dist/{chunk-3S6URXEH.js.map → chunk-HKHZWJ3E.js.map} +0 -0
- /package/dist/{chunk-PLJ2MQFT.js.map → chunk-IAZPYX6W.js.map} +0 -0
- /package/dist/{chunk-MZWSOLMT.js.map → chunk-IG747LRN.js.map} +0 -0
- /package/dist/{chunk-X7WAM3IY.js.map → chunk-IK63WA5A.js.map} +0 -0
- /package/dist/{chunk-BSCNBIF4.js.map → chunk-IUD6NLNM.js.map} +0 -0
- /package/dist/{chunk-3R23DDD3.js.map → chunk-JSJZ2NXS.js.map} +0 -0
- /package/dist/{chunk-YIIW2OH2.js.map → chunk-JUOJGZPV.js.map} +0 -0
- /package/dist/{chunk-VGO57TU7.js.map → chunk-KA4U5GQN.js.map} +0 -0
- /package/dist/{chunk-VDX2J7OX.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-ARRKSBQU.js.map → chunk-L4WBADKG.js.map} +0 -0
- /package/dist/{chunk-ULQVG6G3.js.map → chunk-LAL4B37X.js.map} +0 -0
- /package/dist/{chunk-D7VT2LED.js.map → chunk-LELJRLPY.js.map} +0 -0
- /package/dist/{chunk-L63GFNKL.js.map → chunk-LMMQKZK3.js.map} +0 -0
- /package/dist/{chunk-ZP73EM2X.js.map → chunk-LQ23DMTT.js.map} +0 -0
- /package/dist/{chunk-7QVYVSEH.js.map → chunk-LV6ZB6CA.js.map} +0 -0
- /package/dist/{chunk-KIGC55FQ.js.map → chunk-M5IJP3YW.js.map} +0 -0
- /package/dist/{chunk-AH44WTLJ.js.map → chunk-MWZMVLXL.js.map} +0 -0
- /package/dist/{chunk-AQ55YKEV.js.map → chunk-N4VCHRLD.js.map} +0 -0
- /package/dist/{chunk-HNHIHXSD.js.map → chunk-NKXHCCLB.js.map} +0 -0
- /package/dist/{chunk-SZ7IVZGD.js.map → chunk-NVCWA4QC.js.map} +0 -0
- /package/dist/{chunk-RUUJXAGT.js.map → chunk-ONWVMYHX.js.map} +0 -0
- /package/dist/{chunk-HMDYSGY6.js.map → chunk-P6P35FY4.js.map} +0 -0
- /package/dist/{chunk-H6WOFMOV.js.map → chunk-P7M22CYB.js.map} +0 -0
- /package/dist/{chunk-Q4AUIFUA.js.map → chunk-QMWKENNK.js.map} +0 -0
- /package/dist/{chunk-J54B5DGD.js.map → chunk-QOPB6KE3.js.map} +0 -0
- /package/dist/{chunk-DI52XAKG.js.map → chunk-RBULO7DO.js.map} +0 -0
- /package/dist/{chunk-VUV472VH.js.map → chunk-RDESQOEE.js.map} +0 -0
- /package/dist/{chunk-SPFNGHHP.js.map → chunk-RMF763SX.js.map} +0 -0
- /package/dist/{chunk-TQT4AOPO.js.map → chunk-RN6ZCNM5.js.map} +0 -0
- /package/dist/{chunk-QWQB7TOB.js.map → chunk-S2OBXHMN.js.map} +0 -0
- /package/dist/{chunk-UCH2RWFX.js.map → chunk-S3JPD4N7.js.map} +0 -0
- /package/dist/{chunk-HWLIMQE2.js.map → chunk-SF6RFI5Z.js.map} +0 -0
- /package/dist/{chunk-ZXQPAYCS.js.map → chunk-SJV3AOZ2.js.map} +0 -0
- /package/dist/{chunk-Y7LZ5V7N.js.map → chunk-SLULR4GC.js.map} +0 -0
- /package/dist/{chunk-U2SK45U3.js.map → chunk-TFXXMTHV.js.map} +0 -0
- /package/dist/{chunk-2HJKAVAS.js.map → chunk-TYP7GYRI.js.map} +0 -0
- /package/dist/{chunk-KH2D26LQ.js.map → chunk-TYZK56OA.js.map} +0 -0
- /package/dist/{chunk-XPFJSUOR.js.map → chunk-VLDVNZQE.js.map} +0 -0
- /package/dist/{chunk-AIVRD66I.js.map → chunk-W6YK672C.js.map} +0 -0
- /package/dist/{chunk-LVFI5LG7.js.map → chunk-X2NFFBTO.js.map} +0 -0
- /package/dist/{chunk-GRDRVYXJ.js.map → chunk-X45KZOT2.js.map} +0 -0
- /package/dist/{chunk-DQEMWVMT.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-AYHNTYVG.js.map → chunk-XIXM6G7I.js.map} +0 -0
- /package/dist/{chunk-ZN7SMKAK.js.map → chunk-XLXYARWC.js.map} +0 -0
- /package/dist/{chunk-MTWD4KMM.js.map → chunk-XVW52M6I.js.map} +0 -0
- /package/dist/{chunk-27MKMTBY.js.map → chunk-YHU5XUF4.js.map} +0 -0
- /package/dist/{chunk-SMBWBEE7.js.map → chunk-YRH3C2OJ.js.map} +0 -0
- /package/dist/{chunk-WUJD4CHZ.js.map → chunk-YXQE67A7.js.map} +0 -0
- /package/dist/{chunk-EVQ33D3N.js.map → chunk-ZHUVMSHI.js.map} +0 -0
- /package/dist/{chunk-VVX5PZFS.js.map → chunk-ZHXSOMYH.js.map} +0 -0
- /package/dist/{chunk-O7OVWKT4.js.map → chunk-ZIEZJMFW.js.map} +0 -0
- /package/dist/{chunk-QZ4U67KO.js.map → chunk-ZSEFGDCI.js.map} +0 -0
- /package/dist/{chunk-DAOMWGO2.js.map → chunk-ZX5N5D6M.js.map} +0 -0
- /package/dist/{resolution-LXFQQ4AE.js.map → graph-edge-decay-ROSUPDX3.js.map} +0 -0
package/dist/chunk-GRDRVYXJ.js
DELETED
|
@@ -1,1917 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
buildStandup,
|
|
3
|
-
parseStandupDate
|
|
4
|
-
} from "./chunk-Y7LZ5V7N.js";
|
|
5
|
-
import {
|
|
6
|
-
backfillMemoryStorage,
|
|
7
|
-
runLocationBackfill,
|
|
8
|
-
runLocationCheck,
|
|
9
|
-
runLocationDay,
|
|
10
|
-
runLocationStatus,
|
|
11
|
-
runLocationSync
|
|
12
|
-
} from "./chunk-EVQ33D3N.js";
|
|
13
|
-
import {
|
|
14
|
-
externalWikiSearchOperation
|
|
15
|
-
} from "./chunk-AQ55YKEV.js";
|
|
16
|
-
import {
|
|
17
|
-
DECISION_SUBCOMMANDS,
|
|
18
|
-
DELTA_SUBCOMMANDS,
|
|
19
|
-
defineOperation,
|
|
20
|
-
isCodegraphToolName
|
|
21
|
-
} from "./chunk-ZBYVR5W4.js";
|
|
22
|
-
import {
|
|
23
|
-
CorrectionContractError
|
|
24
|
-
} from "./chunk-QLK3SL7Q.js";
|
|
25
|
-
import {
|
|
26
|
-
memoryStoreRequestSchema,
|
|
27
|
-
retainedCategoryAlias
|
|
28
|
-
} from "./chunk-YIIW2OH2.js";
|
|
29
|
-
import {
|
|
30
|
-
serializeMutations,
|
|
31
|
-
withHeldFileLock
|
|
32
|
-
} from "./chunk-FFAZ2XFU.js";
|
|
33
|
-
import {
|
|
34
|
-
EngramAccessInputError
|
|
35
|
-
} from "./chunk-2Z24E5W2.js";
|
|
36
|
-
|
|
37
|
-
// src/access-operations.ts
|
|
38
|
-
import { z as z5 } from "zod";
|
|
39
|
-
|
|
40
|
-
// src/relay/mission-access.ts
|
|
41
|
-
import { z as z2 } from "zod";
|
|
42
|
-
|
|
43
|
-
// src/relay/mission.ts
|
|
44
|
-
import { createHash, randomUUID } from "crypto";
|
|
45
|
-
import { promises as fs, constants as fsConstants } from "fs";
|
|
46
|
-
import path from "path";
|
|
47
|
-
import { z } from "zod";
|
|
48
|
-
var RELAY_MISSION_SCHEMA_VERSION = "1";
|
|
49
|
-
var RELAY_MISSION_MAX_FILE_BYTES = 4 * 1024 * 1024;
|
|
50
|
-
var RELAY_MISSION_MAX_LINE_BYTES = 64 * 1024;
|
|
51
|
-
var RELAY_MISSION_MAX_EVENTS = 2e3;
|
|
52
|
-
var RELAY_MISSION_DEFAULT_EVENT_LIMIT = 200;
|
|
53
|
-
var RELAY_MISSION_MAX_EVENT_LIMIT = 500;
|
|
54
|
-
var RelayMissionIdSchema = z.string().min(1).max(64).regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, {
|
|
55
|
-
message: "must contain only lowercase letters, numbers, and single hyphens"
|
|
56
|
-
});
|
|
57
|
-
var identifierSchema = z.string().min(1).max(128).regex(/^[A-Za-z0-9](?:[A-Za-z0-9._:@-]{0,126}[A-Za-z0-9])?$/, {
|
|
58
|
-
message: "must be a bounded identifier"
|
|
59
|
-
});
|
|
60
|
-
var namespaceSchema = z.string().trim().min(1).max(128);
|
|
61
|
-
var authenticatedPrincipalSchema = z.string().trim().min(1).max(256);
|
|
62
|
-
var shortTextSchema = z.string().trim().min(1).max(240);
|
|
63
|
-
var statementSchema = z.string().trim().min(1).max(4e3);
|
|
64
|
-
var uniqueIdentifierListSchema = (minimum, maximum) => z.array(identifierSchema).min(minimum).max(maximum).refine((values) => new Set(values).size === values.length, "must not contain duplicate identifiers");
|
|
65
|
-
var RelayIsoDateTimeSchema = z.string().datetime({ offset: true }).refine((value) => Number.isFinite(Date.parse(value)), "must be a representable timestamp");
|
|
66
|
-
var RelayEvidenceRefSchema = z.object({
|
|
67
|
-
kind: z.enum(["memory", "recall_audit", "source", "test", "commit", "correction", "agent_output", "approval"]),
|
|
68
|
-
id: identifierSchema,
|
|
69
|
-
label: shortTextSchema,
|
|
70
|
-
locator: z.string().trim().min(1).max(2048).optional(),
|
|
71
|
-
capture: z.enum(["at_action", "historical_lookup", "fixture"])
|
|
72
|
-
}).strict();
|
|
73
|
-
var evidenceListSchema = z.array(RelayEvidenceRefSchema).max(16);
|
|
74
|
-
var agentIdentityFields = {
|
|
75
|
-
agentId: identifierSchema,
|
|
76
|
-
sessionId: identifierSchema
|
|
77
|
-
};
|
|
78
|
-
var RelayMissionPayloadUnionSchema = z.discriminatedUnion("kind", [
|
|
79
|
-
z.object({
|
|
80
|
-
kind: z.literal("mission_started"),
|
|
81
|
-
title: shortTextSchema,
|
|
82
|
-
objective: statementSchema,
|
|
83
|
-
runMode: z.enum(["live", "replay", "fixture"]),
|
|
84
|
-
evidence: evidenceListSchema.default([])
|
|
85
|
-
}).strict(),
|
|
86
|
-
z.object({
|
|
87
|
-
kind: z.literal("agent_status"),
|
|
88
|
-
...agentIdentityFields,
|
|
89
|
-
label: shortTextSchema,
|
|
90
|
-
role: shortTextSchema,
|
|
91
|
-
status: z.enum(["idle", "working", "blocked", "complete", "failed"]),
|
|
92
|
-
detail: statementSchema.optional(),
|
|
93
|
-
evidence: evidenceListSchema.default([])
|
|
94
|
-
}).strict(),
|
|
95
|
-
z.object({
|
|
96
|
-
kind: z.literal("agent_output"),
|
|
97
|
-
...agentIdentityFields,
|
|
98
|
-
outputId: identifierSchema,
|
|
99
|
-
summary: statementSchema,
|
|
100
|
-
evidence: evidenceListSchema.default([])
|
|
101
|
-
}).strict(),
|
|
102
|
-
z.object({
|
|
103
|
-
kind: z.literal("belief_observed"),
|
|
104
|
-
...agentIdentityFields,
|
|
105
|
-
beliefId: identifierSchema,
|
|
106
|
-
decisionId: identifierSchema,
|
|
107
|
-
statement: statementSchema,
|
|
108
|
-
confidence: z.number().finite().min(0).max(1).optional(),
|
|
109
|
-
evidence: evidenceListSchema.default([])
|
|
110
|
-
}).strict(),
|
|
111
|
-
z.object({
|
|
112
|
-
kind: z.literal("conflict_detected"),
|
|
113
|
-
conflictId: identifierSchema,
|
|
114
|
-
decisionIds: uniqueIdentifierListSchema(2, 8),
|
|
115
|
-
agentIds: uniqueIdentifierListSchema(2, 16),
|
|
116
|
-
summary: statementSchema,
|
|
117
|
-
evidence: evidenceListSchema.default([])
|
|
118
|
-
}).strict(),
|
|
119
|
-
z.object({
|
|
120
|
-
kind: z.literal("test_result"),
|
|
121
|
-
testId: identifierSchema,
|
|
122
|
-
decisionId: identifierSchema,
|
|
123
|
-
correctionId: identifierSchema.optional(),
|
|
124
|
-
command: z.string().trim().min(1).max(1e3),
|
|
125
|
-
status: z.enum(["passed", "failed", "error"]),
|
|
126
|
-
summary: statementSchema,
|
|
127
|
-
durationMs: z.number().int().nonnegative().max(36e5).optional(),
|
|
128
|
-
evidence: evidenceListSchema.default([])
|
|
129
|
-
}).strict(),
|
|
130
|
-
z.object({
|
|
131
|
-
kind: z.literal("correction_proposed"),
|
|
132
|
-
correctionId: identifierSchema,
|
|
133
|
-
conflictId: identifierSchema,
|
|
134
|
-
proposedDecisionId: identifierSchema,
|
|
135
|
-
supersedesDecisionIds: uniqueIdentifierListSchema(1, 8),
|
|
136
|
-
statement: statementSchema,
|
|
137
|
-
rationale: statementSchema,
|
|
138
|
-
proposedBy: identifierSchema,
|
|
139
|
-
evidence: evidenceListSchema.default([])
|
|
140
|
-
}).strict(),
|
|
141
|
-
z.object({
|
|
142
|
-
kind: z.literal("correction_approved"),
|
|
143
|
-
correctionId: identifierSchema,
|
|
144
|
-
approvedBy: z.object({
|
|
145
|
-
kind: z.enum(["human", "agent"]),
|
|
146
|
-
id: identifierSchema,
|
|
147
|
-
label: shortTextSchema
|
|
148
|
-
}).strict(),
|
|
149
|
-
note: statementSchema.optional(),
|
|
150
|
-
evidence: evidenceListSchema.default([])
|
|
151
|
-
}).strict(),
|
|
152
|
-
z.object({
|
|
153
|
-
kind: z.literal("decision_superseded"),
|
|
154
|
-
decisionId: identifierSchema,
|
|
155
|
-
replacementDecisionId: identifierSchema,
|
|
156
|
-
correctionId: identifierSchema,
|
|
157
|
-
evidence: evidenceListSchema.default([])
|
|
158
|
-
}).strict(),
|
|
159
|
-
z.object({
|
|
160
|
-
kind: z.literal("recall_observed"),
|
|
161
|
-
...agentIdentityFields,
|
|
162
|
-
recallReceiptId: identifierSchema,
|
|
163
|
-
decisionId: identifierSchema,
|
|
164
|
-
query: statementSchema,
|
|
165
|
-
capturedAtAction: z.boolean(),
|
|
166
|
-
evidence: evidenceListSchema.default([])
|
|
167
|
-
}).strict(),
|
|
168
|
-
z.object({
|
|
169
|
-
kind: z.literal("propagation_verified"),
|
|
170
|
-
...agentIdentityFields,
|
|
171
|
-
correctionId: identifierSchema,
|
|
172
|
-
decisionId: identifierSchema,
|
|
173
|
-
recallReceiptId: identifierSchema,
|
|
174
|
-
staleDecisionAbsent: z.boolean(),
|
|
175
|
-
evidence: evidenceListSchema.default([])
|
|
176
|
-
}).strict(),
|
|
177
|
-
z.object({
|
|
178
|
-
kind: z.literal("mission_completed"),
|
|
179
|
-
outcome: z.enum(["recovered", "failed", "inconclusive"]),
|
|
180
|
-
summary: statementSchema,
|
|
181
|
-
evidence: evidenceListSchema.default([])
|
|
182
|
-
}).strict()
|
|
183
|
-
]);
|
|
184
|
-
var RelayMissionPayloadSchema = RelayMissionPayloadUnionSchema.superRefine((value, ctx) => {
|
|
185
|
-
if (value.kind === "decision_superseded" && value.decisionId === value.replacementDecisionId) {
|
|
186
|
-
ctx.addIssue({
|
|
187
|
-
code: z.ZodIssueCode.custom,
|
|
188
|
-
message: "a decision cannot supersede itself",
|
|
189
|
-
path: ["replacementDecisionId"]
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
if (value.kind === "correction_approved" && !value.evidence.some((item) => item.kind === "approval")) {
|
|
193
|
-
ctx.addIssue({
|
|
194
|
-
code: z.ZodIssueCode.custom,
|
|
195
|
-
message: "correction approval requires approval evidence",
|
|
196
|
-
path: ["evidence"]
|
|
197
|
-
});
|
|
198
|
-
}
|
|
199
|
-
if (value.kind === "decision_superseded" && !value.evidence.some((item) => item.kind === "correction" && item.id === value.correctionId)) {
|
|
200
|
-
ctx.addIssue({
|
|
201
|
-
code: z.ZodIssueCode.custom,
|
|
202
|
-
message: "decision supersession requires matching correction evidence",
|
|
203
|
-
path: ["evidence"]
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
if (value.kind !== "recall_observed" && value.kind !== "propagation_verified") return;
|
|
207
|
-
const matchingRecallEvidence = value.evidence.find(
|
|
208
|
-
(item) => item.kind === "recall_audit" && item.id === value.recallReceiptId
|
|
209
|
-
);
|
|
210
|
-
if (!matchingRecallEvidence) {
|
|
211
|
-
ctx.addIssue({
|
|
212
|
-
code: z.ZodIssueCode.custom,
|
|
213
|
-
message: "recall proof requires a matching recall-audit reference",
|
|
214
|
-
path: ["evidence"]
|
|
215
|
-
});
|
|
216
|
-
return;
|
|
217
|
-
}
|
|
218
|
-
if (value.kind === "recall_observed") {
|
|
219
|
-
const expectedCapture = value.capturedAtAction ? "at_action" : "historical_lookup";
|
|
220
|
-
if (matchingRecallEvidence.capture !== expectedCapture && matchingRecallEvidence.capture !== "fixture") {
|
|
221
|
-
ctx.addIssue({
|
|
222
|
-
code: z.ZodIssueCode.custom,
|
|
223
|
-
message: `recall evidence must be labeled ${expectedCapture}`,
|
|
224
|
-
path: ["evidence", value.evidence.indexOf(matchingRecallEvidence), "capture"]
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
});
|
|
229
|
-
var RelayMissionEventInputSchema = z.object({
|
|
230
|
-
occurredAt: RelayIsoDateTimeSchema.optional(),
|
|
231
|
-
idempotencyKey: identifierSchema.optional(),
|
|
232
|
-
payload: RelayMissionPayloadSchema
|
|
233
|
-
}).strict();
|
|
234
|
-
var RelayMissionEventSchema = z.object({
|
|
235
|
-
schemaVersion: z.literal(RELAY_MISSION_SCHEMA_VERSION),
|
|
236
|
-
eventId: identifierSchema,
|
|
237
|
-
missionId: RelayMissionIdSchema,
|
|
238
|
-
namespace: namespaceSchema,
|
|
239
|
-
authenticatedPrincipal: authenticatedPrincipalSchema.optional(),
|
|
240
|
-
recordedAt: RelayIsoDateTimeSchema,
|
|
241
|
-
occurredAt: RelayIsoDateTimeSchema,
|
|
242
|
-
idempotencyKey: identifierSchema.optional(),
|
|
243
|
-
payload: RelayMissionPayloadSchema
|
|
244
|
-
}).strict();
|
|
245
|
-
var RelayMissionReadOptionsSchema = z.object({
|
|
246
|
-
since: RelayIsoDateTimeSchema.optional(),
|
|
247
|
-
until: RelayIsoDateTimeSchema.optional(),
|
|
248
|
-
limit: z.number().int().min(1).max(RELAY_MISSION_MAX_EVENT_LIMIT).default(RELAY_MISSION_DEFAULT_EVENT_LIMIT)
|
|
249
|
-
}).strict().refine(
|
|
250
|
-
(value) => value.since === void 0 || value.until === void 0 || Date.parse(value.since) < Date.parse(value.until),
|
|
251
|
-
{ message: "since must be earlier than until", path: ["until"] }
|
|
252
|
-
);
|
|
253
|
-
var RelayMissionStoreError = class extends Error {
|
|
254
|
-
constructor(code, message, options) {
|
|
255
|
-
super(message, options);
|
|
256
|
-
this.code = code;
|
|
257
|
-
this.name = "RelayMissionStoreError";
|
|
258
|
-
}
|
|
259
|
-
code;
|
|
260
|
-
};
|
|
261
|
-
var RelayMissionStore = class {
|
|
262
|
-
rootDir;
|
|
263
|
-
namespace;
|
|
264
|
-
now;
|
|
265
|
-
createEventId;
|
|
266
|
-
maxFileBytes;
|
|
267
|
-
maxEvents;
|
|
268
|
-
lockMaxWaitMs;
|
|
269
|
-
constructor(options) {
|
|
270
|
-
if (typeof options.rootDir !== "string" || options.rootDir.trim().length === 0) {
|
|
271
|
-
throw new TypeError("RelayMissionStore rootDir must be a non-empty string");
|
|
272
|
-
}
|
|
273
|
-
this.rootDir = path.resolve(options.rootDir);
|
|
274
|
-
this.namespace = namespaceSchema.parse(options.namespace);
|
|
275
|
-
this.now = options.now ?? (() => /* @__PURE__ */ new Date());
|
|
276
|
-
this.createEventId = options.createEventId ?? (() => `relay-${randomUUID()}`);
|
|
277
|
-
this.maxFileBytes = positiveIntegerOption(options.maxFileBytes, "maxFileBytes", RELAY_MISSION_MAX_FILE_BYTES);
|
|
278
|
-
this.maxEvents = positiveIntegerOption(options.maxEvents, "maxEvents", RELAY_MISSION_MAX_EVENTS);
|
|
279
|
-
this.lockMaxWaitMs = positiveIntegerOption(options.lockMaxWaitMs, "lockMaxWaitMs", 5e3);
|
|
280
|
-
}
|
|
281
|
-
async append(missionIdValue, inputValue, hooks = {}) {
|
|
282
|
-
const missionId = RelayMissionIdSchema.parse(missionIdValue);
|
|
283
|
-
const input = RelayMissionEventInputSchema.parse(inputValue);
|
|
284
|
-
const authenticatedPrincipal = hooks.authenticatedPrincipal === void 0 ? void 0 : authenticatedPrincipalSchema.parse(hooks.authenticatedPrincipal);
|
|
285
|
-
const missionDir = await this.openMissionDirectory(true);
|
|
286
|
-
const filePath = path.join(missionDir.accessPath, `${missionId}.jsonl`);
|
|
287
|
-
const logicalFilePath = path.join(missionDir.logicalPath, `${missionId}.jsonl`);
|
|
288
|
-
const lockPath = `${filePath}.lock`;
|
|
289
|
-
try {
|
|
290
|
-
return await serializeMutations(
|
|
291
|
-
`relay-mission:${logicalFilePath}`,
|
|
292
|
-
() => withHeldFileLock(
|
|
293
|
-
lockPath,
|
|
294
|
-
{ staleMs: 3e4, maxWaitMs: this.lockMaxWaitMs, heartbeatMs: 1e4 },
|
|
295
|
-
async (acquired) => {
|
|
296
|
-
if (!acquired) {
|
|
297
|
-
throw new RelayMissionStoreError("lock_unavailable", "could not acquire Relay mission lock");
|
|
298
|
-
}
|
|
299
|
-
const existing = await this.readFile(filePath, missionId);
|
|
300
|
-
if (input.idempotencyKey) {
|
|
301
|
-
const replay = existing.events.find((event2) => event2.idempotencyKey === input.idempotencyKey);
|
|
302
|
-
if (replay) {
|
|
303
|
-
if (!sameIdempotentInput(replay, input, authenticatedPrincipal)) {
|
|
304
|
-
throw new RelayMissionStoreError(
|
|
305
|
-
"idempotency_conflict",
|
|
306
|
-
`idempotency key ${input.idempotencyKey} was already used for different input`
|
|
307
|
-
);
|
|
308
|
-
}
|
|
309
|
-
return { appended: false, replayed: true, event: replay };
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
if (existing.events.length >= this.maxEvents) {
|
|
313
|
-
throw new RelayMissionStoreError(
|
|
314
|
-
"limit_exceeded",
|
|
315
|
-
`mission ${missionId} reached the ${this.maxEvents}-event limit`
|
|
316
|
-
);
|
|
317
|
-
}
|
|
318
|
-
await hooks.beforeAppend?.();
|
|
319
|
-
const recordedAt = validNow(this.now);
|
|
320
|
-
const event = RelayMissionEventSchema.parse({
|
|
321
|
-
schemaVersion: RELAY_MISSION_SCHEMA_VERSION,
|
|
322
|
-
eventId: this.createEventId(),
|
|
323
|
-
missionId,
|
|
324
|
-
namespace: this.namespace,
|
|
325
|
-
...authenticatedPrincipal === void 0 ? {} : { authenticatedPrincipal },
|
|
326
|
-
recordedAt,
|
|
327
|
-
occurredAt: input.occurredAt ?? recordedAt,
|
|
328
|
-
...input.idempotencyKey ? { idempotencyKey: input.idempotencyKey } : {},
|
|
329
|
-
payload: input.payload
|
|
330
|
-
});
|
|
331
|
-
const line = `${JSON.stringify(event)}
|
|
332
|
-
`;
|
|
333
|
-
const lineBytes = Buffer.byteLength(line, "utf8");
|
|
334
|
-
if (lineBytes > RELAY_MISSION_MAX_LINE_BYTES) {
|
|
335
|
-
throw new RelayMissionStoreError(
|
|
336
|
-
"limit_exceeded",
|
|
337
|
-
`Relay mission event exceeds ${RELAY_MISSION_MAX_LINE_BYTES} bytes`
|
|
338
|
-
);
|
|
339
|
-
}
|
|
340
|
-
if (existing.rawBytes + lineBytes > this.maxFileBytes) {
|
|
341
|
-
throw new RelayMissionStoreError(
|
|
342
|
-
"limit_exceeded",
|
|
343
|
-
`mission ${missionId} would exceed the ${this.maxFileBytes}-byte limit`
|
|
344
|
-
);
|
|
345
|
-
}
|
|
346
|
-
await this.appendFile(filePath, line);
|
|
347
|
-
return { appended: true, replayed: false, event };
|
|
348
|
-
}
|
|
349
|
-
)
|
|
350
|
-
);
|
|
351
|
-
} finally {
|
|
352
|
-
await missionDir.handle.close().catch(() => void 0);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
async read(missionIdValue, readOptions = {}) {
|
|
356
|
-
const missionId = RelayMissionIdSchema.parse(missionIdValue);
|
|
357
|
-
const options = RelayMissionReadOptionsSchema.parse(readOptions);
|
|
358
|
-
const missionDir = await this.openMissionDirectory(false);
|
|
359
|
-
if (missionDir === null) {
|
|
360
|
-
return reduceRelayMission({
|
|
361
|
-
missionId,
|
|
362
|
-
namespace: this.namespace,
|
|
363
|
-
events: [],
|
|
364
|
-
fileExists: false,
|
|
365
|
-
options
|
|
366
|
-
});
|
|
367
|
-
}
|
|
368
|
-
const filePath = path.join(missionDir.accessPath, `${missionId}.jsonl`);
|
|
369
|
-
const logicalFilePath = path.join(missionDir.logicalPath, `${missionId}.jsonl`);
|
|
370
|
-
try {
|
|
371
|
-
return await serializeMutations(`relay-mission:${logicalFilePath}`, async () => {
|
|
372
|
-
const read = await this.readFile(filePath, missionId);
|
|
373
|
-
return reduceRelayMission({
|
|
374
|
-
missionId,
|
|
375
|
-
namespace: this.namespace,
|
|
376
|
-
events: read.events,
|
|
377
|
-
corruptLines: read.corruptLines,
|
|
378
|
-
fileExists: read.exists,
|
|
379
|
-
options
|
|
380
|
-
});
|
|
381
|
-
});
|
|
382
|
-
} finally {
|
|
383
|
-
await missionDir.handle.close().catch(() => void 0);
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
async openMissionDirectory(create) {
|
|
387
|
-
let currentHandle;
|
|
388
|
-
try {
|
|
389
|
-
currentHandle = await openVerifiedDirectory(this.rootDir, "Relay root must be a real directory");
|
|
390
|
-
let logicalPath = this.rootDir;
|
|
391
|
-
for (const segment of ["state", "relay", "missions"]) {
|
|
392
|
-
let childHandle;
|
|
393
|
-
try {
|
|
394
|
-
childHandle = create ? await openOrCreatePinnedChildDirectory(currentHandle, segment) : await openVerifiedDirectory(
|
|
395
|
-
path.join(pinnedDirectoryPath(currentHandle), segment),
|
|
396
|
-
"Relay directory symlinks are rejected"
|
|
397
|
-
);
|
|
398
|
-
} catch (error) {
|
|
399
|
-
if (!create && error.code === "ENOENT") {
|
|
400
|
-
await currentHandle.close();
|
|
401
|
-
return null;
|
|
402
|
-
}
|
|
403
|
-
throw error;
|
|
404
|
-
}
|
|
405
|
-
await currentHandle.close();
|
|
406
|
-
currentHandle = childHandle;
|
|
407
|
-
logicalPath = path.join(logicalPath, segment);
|
|
408
|
-
}
|
|
409
|
-
return {
|
|
410
|
-
logicalPath,
|
|
411
|
-
accessPath: pinnedDirectoryPath(currentHandle),
|
|
412
|
-
handle: currentHandle
|
|
413
|
-
};
|
|
414
|
-
} catch (error) {
|
|
415
|
-
await currentHandle?.close().catch(() => void 0);
|
|
416
|
-
if (error instanceof RelayMissionStoreError) throw error;
|
|
417
|
-
throw new RelayMissionStoreError("unsafe_path", "Relay mission directory is unavailable or unsafe", {
|
|
418
|
-
cause: error
|
|
419
|
-
});
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
async readFile(filePath, missionId) {
|
|
423
|
-
let handle;
|
|
424
|
-
try {
|
|
425
|
-
handle = await fs.open(filePath, fsConstants.O_RDONLY | fsConstants.O_NOFOLLOW);
|
|
426
|
-
const info = await handle.stat();
|
|
427
|
-
if (!info.isFile()) {
|
|
428
|
-
throw new RelayMissionStoreError("unsafe_path", "Relay mission path is not a file");
|
|
429
|
-
}
|
|
430
|
-
if (info.nlink !== 1) {
|
|
431
|
-
throw new RelayMissionStoreError("unsafe_path", "Relay mission hard links are rejected");
|
|
432
|
-
}
|
|
433
|
-
if (info.size > this.maxFileBytes) {
|
|
434
|
-
throw new RelayMissionStoreError(
|
|
435
|
-
"limit_exceeded",
|
|
436
|
-
`mission ${missionId} exceeds the ${this.maxFileBytes}-byte read limit`
|
|
437
|
-
);
|
|
438
|
-
}
|
|
439
|
-
const raw = await handle.readFile("utf8");
|
|
440
|
-
const parsed = parseMissionJsonl(raw, missionId, this.namespace, this.maxEvents);
|
|
441
|
-
return { exists: true, rawBytes: Buffer.byteLength(raw, "utf8"), ...parsed };
|
|
442
|
-
} catch (error) {
|
|
443
|
-
if (error.code === "ENOENT") {
|
|
444
|
-
return { exists: false, events: [], corruptLines: 0, rawBytes: 0 };
|
|
445
|
-
}
|
|
446
|
-
if (error instanceof RelayMissionStoreError) throw error;
|
|
447
|
-
throw new RelayMissionStoreError("read_failed", "failed to read Relay mission", {
|
|
448
|
-
cause: error
|
|
449
|
-
});
|
|
450
|
-
} finally {
|
|
451
|
-
await handle?.close().catch(() => void 0);
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
async appendFile(filePath, line) {
|
|
455
|
-
let handle;
|
|
456
|
-
try {
|
|
457
|
-
handle = await fs.open(
|
|
458
|
-
filePath,
|
|
459
|
-
fsConstants.O_WRONLY | fsConstants.O_CREAT | fsConstants.O_APPEND | fsConstants.O_NOFOLLOW,
|
|
460
|
-
384
|
|
461
|
-
);
|
|
462
|
-
const info = await handle.stat();
|
|
463
|
-
if (!info.isFile()) {
|
|
464
|
-
throw new RelayMissionStoreError("unsafe_path", "Relay mission path is not a file");
|
|
465
|
-
}
|
|
466
|
-
if (info.nlink !== 1) {
|
|
467
|
-
throw new RelayMissionStoreError("unsafe_path", "Relay mission hard links are rejected");
|
|
468
|
-
}
|
|
469
|
-
await handle.chmod(384);
|
|
470
|
-
await handle.writeFile(line, "utf8");
|
|
471
|
-
await handle.sync();
|
|
472
|
-
} catch (error) {
|
|
473
|
-
if (error instanceof RelayMissionStoreError) throw error;
|
|
474
|
-
if (error.code === "ELOOP") {
|
|
475
|
-
throw new RelayMissionStoreError("unsafe_path", "Relay mission symlink is rejected", {
|
|
476
|
-
cause: error
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
throw new RelayMissionStoreError("write_failed", "failed to append Relay mission", {
|
|
480
|
-
cause: error
|
|
481
|
-
});
|
|
482
|
-
} finally {
|
|
483
|
-
await handle?.close().catch(() => void 0);
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
};
|
|
487
|
-
function reduceRelayMission(input) {
|
|
488
|
-
const missionId = RelayMissionIdSchema.parse(input.missionId);
|
|
489
|
-
const namespace = namespaceSchema.parse(input.namespace);
|
|
490
|
-
const options = RelayMissionReadOptionsSchema.parse(input.options ?? {});
|
|
491
|
-
const corruptLines = input.corruptLines ?? 0;
|
|
492
|
-
const sinceMs = options.since ? Date.parse(options.since) : void 0;
|
|
493
|
-
const untilMs = options.until ? Date.parse(options.until) : void 0;
|
|
494
|
-
const appendPositions = new Map(input.events.map((event, index) => [event, index]));
|
|
495
|
-
const orderedEvents = [...input.events].sort(compareRelayEvents);
|
|
496
|
-
const firstStartEvent = input.events.find((event) => event.payload.kind === "mission_started");
|
|
497
|
-
const firstCompletionEvent = input.events.find((event) => event.payload.kind === "mission_completed");
|
|
498
|
-
const firstStartPosition = firstStartEvent === void 0 ? -1 : appendPositions.get(firstStartEvent) ?? -1;
|
|
499
|
-
const firstCompletionPosition = firstCompletionEvent === void 0 ? -1 : appendPositions.get(firstCompletionEvent) ?? -1;
|
|
500
|
-
const filteredEvents = orderedEvents.filter((event) => {
|
|
501
|
-
const occurredAt = Date.parse(event.occurredAt);
|
|
502
|
-
return (sinceMs === void 0 || occurredAt >= sinceMs) && (untilMs === void 0 || occurredAt < untilMs);
|
|
503
|
-
});
|
|
504
|
-
const agents = /* @__PURE__ */ new Map();
|
|
505
|
-
const decisions = /* @__PURE__ */ new Map();
|
|
506
|
-
const conflicts = /* @__PURE__ */ new Map();
|
|
507
|
-
const corrections = /* @__PURE__ */ new Map();
|
|
508
|
-
const tests = [];
|
|
509
|
-
const propagation = [];
|
|
510
|
-
const beliefAppendPositions = /* @__PURE__ */ new Map();
|
|
511
|
-
const conflictAppendPositions = /* @__PURE__ */ new Map();
|
|
512
|
-
const correctionProposalAppendPositions = /* @__PURE__ */ new Map();
|
|
513
|
-
const correctionApprovalAppendPositions = /* @__PURE__ */ new Map();
|
|
514
|
-
const correctionAppliedAppendPositions = /* @__PURE__ */ new Map();
|
|
515
|
-
const recallAppendPositions = /* @__PURE__ */ new Map();
|
|
516
|
-
const propagationAppendPositions = /* @__PURE__ */ new Map();
|
|
517
|
-
const testAppendPositions = /* @__PURE__ */ new Map();
|
|
518
|
-
const missingEvidence = /* @__PURE__ */ new Set();
|
|
519
|
-
if (corruptLines > 0) missingEvidence.add("mission:corrupt-events");
|
|
520
|
-
const substantiveAgentIds = /* @__PURE__ */ new Set();
|
|
521
|
-
const substantiveSessionIds = /* @__PURE__ */ new Set();
|
|
522
|
-
const conflictDisagreementIds = /* @__PURE__ */ new Set();
|
|
523
|
-
const groundedCorrectionIds = /* @__PURE__ */ new Set();
|
|
524
|
-
let title = null;
|
|
525
|
-
let objective = null;
|
|
526
|
-
let runMode = null;
|
|
527
|
-
let startedAt = null;
|
|
528
|
-
let completedAt = null;
|
|
529
|
-
let status = "not_started";
|
|
530
|
-
let outcome = null;
|
|
531
|
-
const ensureAgent = (agentId, sessionId, occurredAt) => {
|
|
532
|
-
const existing = agents.get(agentId);
|
|
533
|
-
if (existing) {
|
|
534
|
-
if (!existing.sessionIds.includes(sessionId)) existing.sessionIds.push(sessionId);
|
|
535
|
-
existing.lastSeenAt = occurredAt;
|
|
536
|
-
return existing;
|
|
537
|
-
}
|
|
538
|
-
const created = {
|
|
539
|
-
agentId,
|
|
540
|
-
label: agentId,
|
|
541
|
-
role: "Codex agent",
|
|
542
|
-
status: "working",
|
|
543
|
-
sessionIds: [sessionId],
|
|
544
|
-
outputs: [],
|
|
545
|
-
recalls: [],
|
|
546
|
-
lastSeenAt: occurredAt
|
|
547
|
-
};
|
|
548
|
-
agents.set(agentId, created);
|
|
549
|
-
return created;
|
|
550
|
-
};
|
|
551
|
-
const markSubstantiveParticipation = (agentId, sessionId) => {
|
|
552
|
-
substantiveAgentIds.add(agentId);
|
|
553
|
-
if (sessionId) substantiveSessionIds.add(sessionId);
|
|
554
|
-
};
|
|
555
|
-
for (const event of orderedEvents) {
|
|
556
|
-
const payload = event.payload;
|
|
557
|
-
const appendPosition = appendPositions.get(event) ?? -1;
|
|
558
|
-
if (payload.kind !== "mission_started" && firstStartEvent !== void 0 && (appendPosition < firstStartPosition || compareRelayEvents(event, firstStartEvent) < 0)) {
|
|
559
|
-
missingEvidence.add(`mission:event-before-start:${event.eventId}`);
|
|
560
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
561
|
-
continue;
|
|
562
|
-
}
|
|
563
|
-
if (payload.kind !== "mission_completed" && (outcome !== null || firstCompletionPosition >= 0 && appendPosition > firstCompletionPosition)) {
|
|
564
|
-
missingEvidence.add(`mission:event-after-completion:${event.eventId}`);
|
|
565
|
-
if (payload.kind === "mission_started") missingEvidence.add("mission:lifecycle-order");
|
|
566
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
567
|
-
continue;
|
|
568
|
-
}
|
|
569
|
-
switch (payload.kind) {
|
|
570
|
-
case "mission_started":
|
|
571
|
-
if (startedAt !== null) {
|
|
572
|
-
missingEvidence.add("mission:duplicate-start");
|
|
573
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
574
|
-
break;
|
|
575
|
-
}
|
|
576
|
-
title = payload.title;
|
|
577
|
-
objective = payload.objective;
|
|
578
|
-
runMode = payload.runMode;
|
|
579
|
-
startedAt = event.occurredAt;
|
|
580
|
-
if (outcome === null) status = "active";
|
|
581
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
582
|
-
break;
|
|
583
|
-
case "agent_status": {
|
|
584
|
-
const agent = ensureAgent(payload.agentId, payload.sessionId, event.occurredAt);
|
|
585
|
-
markSubstantiveParticipation(payload.agentId, payload.sessionId);
|
|
586
|
-
agent.label = payload.label;
|
|
587
|
-
agent.role = payload.role;
|
|
588
|
-
agent.status = payload.status;
|
|
589
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
590
|
-
break;
|
|
591
|
-
}
|
|
592
|
-
case "agent_output": {
|
|
593
|
-
const agent = ensureAgent(payload.agentId, payload.sessionId, event.occurredAt);
|
|
594
|
-
markSubstantiveParticipation(payload.agentId, payload.sessionId);
|
|
595
|
-
agent.outputs.push({
|
|
596
|
-
outputId: payload.outputId,
|
|
597
|
-
summary: payload.summary,
|
|
598
|
-
occurredAt: event.occurredAt,
|
|
599
|
-
evidence: payload.evidence
|
|
600
|
-
});
|
|
601
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
602
|
-
break;
|
|
603
|
-
}
|
|
604
|
-
case "belief_observed": {
|
|
605
|
-
ensureAgent(payload.agentId, payload.sessionId, event.occurredAt);
|
|
606
|
-
markSubstantiveParticipation(payload.agentId, payload.sessionId);
|
|
607
|
-
recordEarliestAppendPosition(
|
|
608
|
-
beliefAppendPositions,
|
|
609
|
-
beliefAppendPositionKey(payload.agentId, payload.decisionId),
|
|
610
|
-
appendPosition
|
|
611
|
-
);
|
|
612
|
-
const existing = decisions.get(payload.decisionId);
|
|
613
|
-
if (existing) {
|
|
614
|
-
if (!decisionStatementsMatch(existing.statement, payload.statement)) {
|
|
615
|
-
missingEvidence.add(`decision:${payload.decisionId}:statement-consistency`);
|
|
616
|
-
}
|
|
617
|
-
if (!existing.heldByAgentIds.includes(payload.agentId)) {
|
|
618
|
-
existing.heldByAgentIds.push(payload.agentId);
|
|
619
|
-
}
|
|
620
|
-
if (!existing.beliefIds.includes(payload.beliefId)) existing.beliefIds.push(payload.beliefId);
|
|
621
|
-
existing.evidence.push(...payload.evidence);
|
|
622
|
-
} else {
|
|
623
|
-
decisions.set(payload.decisionId, {
|
|
624
|
-
decisionId: payload.decisionId,
|
|
625
|
-
statement: payload.statement,
|
|
626
|
-
status: "active",
|
|
627
|
-
heldByAgentIds: [payload.agentId],
|
|
628
|
-
beliefIds: [payload.beliefId],
|
|
629
|
-
evidence: [...payload.evidence],
|
|
630
|
-
firstObservedAt: event.occurredAt
|
|
631
|
-
});
|
|
632
|
-
}
|
|
633
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
634
|
-
break;
|
|
635
|
-
}
|
|
636
|
-
case "conflict_detected": {
|
|
637
|
-
recordEarliestAppendPosition(conflictAppendPositions, payload.conflictId, appendPosition);
|
|
638
|
-
const normalizedDecisionStatements = payload.decisionIds.map((decisionId) => decisions.get(decisionId)?.statement).filter((statement) => statement !== void 0).map(normalizeDecisionStatement);
|
|
639
|
-
if (normalizedDecisionStatements.length !== payload.decisionIds.length || new Set(normalizedDecisionStatements).size < 2) {
|
|
640
|
-
missingEvidence.add(`conflict:${payload.conflictId}:distinct-decision-statements`);
|
|
641
|
-
} else {
|
|
642
|
-
conflictDisagreementIds.add(payload.conflictId);
|
|
643
|
-
}
|
|
644
|
-
const participantHoldings = payload.agentIds.map((agentId) => ({
|
|
645
|
-
agentId,
|
|
646
|
-
decisionIds: uniqueSorted(
|
|
647
|
-
payload.decisionIds.filter((decisionId) => decisions.get(decisionId)?.heldByAgentIds.includes(agentId))
|
|
648
|
-
)
|
|
649
|
-
}));
|
|
650
|
-
for (const participant of participantHoldings) {
|
|
651
|
-
if (participant.decisionIds.length === 0) {
|
|
652
|
-
missingEvidence.add(`conflict:${payload.conflictId}:participant:${participant.agentId}:decision-link`);
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
for (const decisionId of payload.decisionIds) {
|
|
656
|
-
if (!participantHoldings.some((participant) => participant.decisionIds.includes(decisionId))) {
|
|
657
|
-
missingEvidence.add(`conflict:${payload.conflictId}:decision:${decisionId}:participant-link`);
|
|
658
|
-
}
|
|
659
|
-
if (!payload.agentIds.some(
|
|
660
|
-
(agentId) => (beliefAppendPositions.get(beliefAppendPositionKey(agentId, decisionId)) ?? Number.POSITIVE_INFINITY) < appendPosition
|
|
661
|
-
)) {
|
|
662
|
-
missingEvidence.add(`conflict:${payload.conflictId}:decision:${decisionId}:append-order`);
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
for (const agentId of payload.agentIds) {
|
|
666
|
-
if (!payload.decisionIds.some(
|
|
667
|
-
(decisionId) => (beliefAppendPositions.get(beliefAppendPositionKey(agentId, decisionId)) ?? Number.POSITIVE_INFINITY) < appendPosition
|
|
668
|
-
)) {
|
|
669
|
-
missingEvidence.add(`conflict:${payload.conflictId}:participant:${agentId}:append-order`);
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
if (participantHoldings.every((participant) => participant.decisionIds.length > 0) && new Set(participantHoldings.map((participant) => participant.decisionIds.join("\0"))).size < 2) {
|
|
673
|
-
missingEvidence.add(`conflict:${payload.conflictId}:distinct-participant-beliefs`);
|
|
674
|
-
}
|
|
675
|
-
if (conflicts.has(payload.conflictId)) {
|
|
676
|
-
missingEvidence.add(`conflict:${payload.conflictId}:duplicate`);
|
|
677
|
-
} else {
|
|
678
|
-
conflicts.set(payload.conflictId, {
|
|
679
|
-
conflictId: payload.conflictId,
|
|
680
|
-
decisionIds: uniqueSorted(payload.decisionIds),
|
|
681
|
-
agentIds: uniqueSorted(payload.agentIds),
|
|
682
|
-
summary: payload.summary,
|
|
683
|
-
status: "open",
|
|
684
|
-
occurredAt: event.occurredAt,
|
|
685
|
-
evidence: payload.evidence
|
|
686
|
-
});
|
|
687
|
-
}
|
|
688
|
-
for (const agentId of payload.agentIds) substantiveAgentIds.add(agentId);
|
|
689
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
690
|
-
break;
|
|
691
|
-
}
|
|
692
|
-
case "test_result": {
|
|
693
|
-
const testSnapshot = {
|
|
694
|
-
testId: payload.testId,
|
|
695
|
-
decisionId: payload.decisionId,
|
|
696
|
-
...payload.correctionId === void 0 ? {} : { correctionId: payload.correctionId },
|
|
697
|
-
command: payload.command,
|
|
698
|
-
status: payload.status,
|
|
699
|
-
summary: payload.summary,
|
|
700
|
-
...payload.durationMs === void 0 ? {} : { durationMs: payload.durationMs },
|
|
701
|
-
occurredAt: event.occurredAt,
|
|
702
|
-
evidence: payload.evidence
|
|
703
|
-
};
|
|
704
|
-
tests.push(testSnapshot);
|
|
705
|
-
testAppendPositions.set(testSnapshot, appendPosition);
|
|
706
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
707
|
-
break;
|
|
708
|
-
}
|
|
709
|
-
case "correction_proposed": {
|
|
710
|
-
if (corrections.has(payload.correctionId)) {
|
|
711
|
-
missingEvidence.add(`correction:${payload.correctionId}:duplicate-proposal`);
|
|
712
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
713
|
-
break;
|
|
714
|
-
}
|
|
715
|
-
substantiveAgentIds.add(payload.proposedBy);
|
|
716
|
-
const correction = {
|
|
717
|
-
correctionId: payload.correctionId,
|
|
718
|
-
conflictId: payload.conflictId,
|
|
719
|
-
proposedDecisionId: payload.proposedDecisionId,
|
|
720
|
-
supersedesDecisionIds: uniqueSorted(payload.supersedesDecisionIds),
|
|
721
|
-
statement: payload.statement,
|
|
722
|
-
rationale: payload.rationale,
|
|
723
|
-
proposedBy: payload.proposedBy,
|
|
724
|
-
status: "proposed",
|
|
725
|
-
proposedAt: event.occurredAt,
|
|
726
|
-
evidence: [...payload.evidence]
|
|
727
|
-
};
|
|
728
|
-
corrections.set(payload.correctionId, correction);
|
|
729
|
-
correctionProposalAppendPositions.set(payload.correctionId, appendPosition);
|
|
730
|
-
const existingProposedDecision = decisions.get(payload.proposedDecisionId);
|
|
731
|
-
const replacementStatementMatches = existingProposedDecision === void 0 || decisionStatementsMatch(existingProposedDecision.statement, payload.statement);
|
|
732
|
-
if (!replacementStatementMatches) {
|
|
733
|
-
missingEvidence.add(`correction:${payload.correctionId}:replacement-statement`);
|
|
734
|
-
}
|
|
735
|
-
if (existingProposedDecision === void 0) {
|
|
736
|
-
decisions.set(payload.proposedDecisionId, {
|
|
737
|
-
decisionId: payload.proposedDecisionId,
|
|
738
|
-
statement: payload.statement,
|
|
739
|
-
status: "proposed",
|
|
740
|
-
heldByAgentIds: [],
|
|
741
|
-
beliefIds: [],
|
|
742
|
-
evidence: [...payload.evidence],
|
|
743
|
-
firstObservedAt: event.occurredAt
|
|
744
|
-
});
|
|
745
|
-
}
|
|
746
|
-
const conflict = conflicts.get(payload.conflictId);
|
|
747
|
-
const conflictAppendPosition = conflictAppendPositions.get(payload.conflictId);
|
|
748
|
-
const conflictPredatesProposal = conflictAppendPosition !== void 0 && conflictAppendPosition < appendPosition;
|
|
749
|
-
if (!conflictPredatesProposal) {
|
|
750
|
-
missingEvidence.add(`correction:${payload.correctionId}:conflict-append-order`);
|
|
751
|
-
}
|
|
752
|
-
const correctionSourceIds = sourceEvidenceIds(payload.evidence);
|
|
753
|
-
if (correctionSourceIds.size === 0) {
|
|
754
|
-
missingEvidence.add(`correction:${payload.correctionId}:source`);
|
|
755
|
-
}
|
|
756
|
-
if (conflict) {
|
|
757
|
-
const conflictSourceIds = sourceEvidenceIds(conflict.evidence);
|
|
758
|
-
if (conflictSourceIds.size === 0) {
|
|
759
|
-
missingEvidence.add(`conflict:${payload.conflictId}:source`);
|
|
760
|
-
}
|
|
761
|
-
const sourceLinked = [...correctionSourceIds].some((sourceId) => conflictSourceIds.has(sourceId));
|
|
762
|
-
if (!sourceLinked) {
|
|
763
|
-
missingEvidence.add(`correction:${payload.correctionId}:source-link`);
|
|
764
|
-
}
|
|
765
|
-
if (!correctionCoversConflict(correction, conflict)) {
|
|
766
|
-
missingEvidence.add(`conflict:${payload.conflictId}:decision-link`);
|
|
767
|
-
} else if (sourceLinked && conflictPredatesProposal && conflictDisagreementIds.has(payload.conflictId) && replacementStatementMatches) {
|
|
768
|
-
groundedCorrectionIds.add(payload.correctionId);
|
|
769
|
-
conflict.status = "proposed";
|
|
770
|
-
conflict.correctionId = payload.correctionId;
|
|
771
|
-
}
|
|
772
|
-
} else {
|
|
773
|
-
missingEvidence.add(`conflict:${payload.conflictId}:observation`);
|
|
774
|
-
}
|
|
775
|
-
status = "awaiting_approval";
|
|
776
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
777
|
-
break;
|
|
778
|
-
}
|
|
779
|
-
case "correction_approved": {
|
|
780
|
-
if (payload.approvedBy.kind === "agent") substantiveAgentIds.add(payload.approvedBy.id);
|
|
781
|
-
const correction = corrections.get(payload.correctionId);
|
|
782
|
-
if (correction) {
|
|
783
|
-
const proposalAppendPosition = correctionProposalAppendPositions.get(payload.correctionId);
|
|
784
|
-
const proposalPredatesApproval = proposalAppendPosition !== void 0 && proposalAppendPosition < appendPosition;
|
|
785
|
-
const authenticatedHumanApproval = payload.approvedBy.kind !== "human" || runMode !== "live" || event.authenticatedPrincipal === payload.approvedBy.id;
|
|
786
|
-
if (!proposalPredatesApproval) {
|
|
787
|
-
missingEvidence.add(`correction:${payload.correctionId}:approval-append-order`);
|
|
788
|
-
} else if (!authenticatedHumanApproval) {
|
|
789
|
-
missingEvidence.add(`correction:${payload.correctionId}:authenticated-human-approval`);
|
|
790
|
-
} else if (correction.approvedAt === void 0) {
|
|
791
|
-
correction.approvedAt = event.occurredAt;
|
|
792
|
-
correction.approvedBy = payload.approvedBy;
|
|
793
|
-
correction.approvalNote = payload.note;
|
|
794
|
-
if (event.authenticatedPrincipal !== void 0) {
|
|
795
|
-
correction.approvalPrincipal = event.authenticatedPrincipal;
|
|
796
|
-
}
|
|
797
|
-
correctionApprovalAppendPositions.set(payload.correctionId, appendPosition);
|
|
798
|
-
if (correction.status === "proposed") correction.status = "approved";
|
|
799
|
-
status = "correcting";
|
|
800
|
-
} else {
|
|
801
|
-
missingEvidence.add(`correction:${payload.correctionId}:duplicate-approval`);
|
|
802
|
-
}
|
|
803
|
-
correction.evidence.push(...payload.evidence);
|
|
804
|
-
} else {
|
|
805
|
-
missingEvidence.add(`correction:${payload.correctionId}:proposal`);
|
|
806
|
-
}
|
|
807
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
808
|
-
break;
|
|
809
|
-
}
|
|
810
|
-
case "decision_superseded": {
|
|
811
|
-
const correction = corrections.get(payload.correctionId);
|
|
812
|
-
if (!correction) {
|
|
813
|
-
missingEvidence.add(`correction:${payload.correctionId}:proposal`);
|
|
814
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
815
|
-
break;
|
|
816
|
-
}
|
|
817
|
-
if (correction.approvedAt === void 0 || correction.approvedBy === void 0) {
|
|
818
|
-
missingEvidence.add(`correction:${payload.correctionId}:approval`);
|
|
819
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
820
|
-
break;
|
|
821
|
-
}
|
|
822
|
-
const approvalAppendPosition = correctionApprovalAppendPositions.get(payload.correctionId);
|
|
823
|
-
if (approvalAppendPosition === void 0 || approvalAppendPosition >= appendPosition) {
|
|
824
|
-
missingEvidence.add(`correction:${payload.correctionId}:approval-append-order`);
|
|
825
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
826
|
-
break;
|
|
827
|
-
}
|
|
828
|
-
const conflict = conflicts.get(correction.conflictId);
|
|
829
|
-
if (!conflict || !correctionCoversConflict(correction, conflict)) {
|
|
830
|
-
missingEvidence.add(`conflict:${correction.conflictId}:decision-link`);
|
|
831
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
832
|
-
break;
|
|
833
|
-
}
|
|
834
|
-
if (!groundedCorrectionIds.has(payload.correctionId)) {
|
|
835
|
-
missingEvidence.add(`correction:${payload.correctionId}:source-link`);
|
|
836
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
837
|
-
break;
|
|
838
|
-
}
|
|
839
|
-
if (!correction.supersedesDecisionIds.includes(payload.decisionId) || correction.proposedDecisionId !== payload.replacementDecisionId) {
|
|
840
|
-
missingEvidence.add(`correction:${payload.correctionId}:supersession-link`);
|
|
841
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
842
|
-
break;
|
|
843
|
-
}
|
|
844
|
-
const stale = decisions.get(payload.decisionId);
|
|
845
|
-
const replacement = decisions.get(payload.replacementDecisionId);
|
|
846
|
-
if (!stale) missingEvidence.add(`decision:${payload.decisionId}:observation`);
|
|
847
|
-
if (!replacement) missingEvidence.add(`decision:${payload.replacementDecisionId}:replacement`);
|
|
848
|
-
if (!stale || !replacement) {
|
|
849
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
850
|
-
break;
|
|
851
|
-
}
|
|
852
|
-
stale.status = "superseded";
|
|
853
|
-
stale.supersededAt = event.occurredAt;
|
|
854
|
-
stale.supersededBy = payload.replacementDecisionId;
|
|
855
|
-
stale.correctionId = payload.correctionId;
|
|
856
|
-
stale.evidence.push(...payload.evidence);
|
|
857
|
-
replacement.status = "active";
|
|
858
|
-
replacement.evidence.push(...payload.evidence);
|
|
859
|
-
correction.evidence.push(...payload.evidence);
|
|
860
|
-
if (correctionSupersessionComplete(correction, decisions)) {
|
|
861
|
-
correction.appliedAt ??= event.occurredAt;
|
|
862
|
-
recordEarliestAppendPosition(correctionAppliedAppendPositions, payload.correctionId, appendPosition);
|
|
863
|
-
if (correction.status !== "propagated") correction.status = "applied";
|
|
864
|
-
conflict.status = "resolved";
|
|
865
|
-
}
|
|
866
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
867
|
-
break;
|
|
868
|
-
}
|
|
869
|
-
case "recall_observed": {
|
|
870
|
-
const agent = ensureAgent(payload.agentId, payload.sessionId, event.occurredAt);
|
|
871
|
-
const coldStart = !substantiveAgentIds.has(payload.agentId) && !substantiveSessionIds.has(payload.sessionId) && agent.recalls.length === 0;
|
|
872
|
-
const recallSnapshot = {
|
|
873
|
-
recallReceiptId: payload.recallReceiptId,
|
|
874
|
-
sessionId: payload.sessionId,
|
|
875
|
-
decisionId: payload.decisionId,
|
|
876
|
-
query: payload.query,
|
|
877
|
-
capturedAtAction: payload.capturedAtAction,
|
|
878
|
-
coldStart,
|
|
879
|
-
occurredAt: event.occurredAt,
|
|
880
|
-
evidence: payload.evidence
|
|
881
|
-
};
|
|
882
|
-
agent.recalls.push(recallSnapshot);
|
|
883
|
-
recallAppendPositions.set(recallSnapshot, appendPosition);
|
|
884
|
-
markSubstantiveParticipation(payload.agentId, payload.sessionId);
|
|
885
|
-
const decision = decisions.get(payload.decisionId);
|
|
886
|
-
if (decision && !decision.heldByAgentIds.includes(payload.agentId)) {
|
|
887
|
-
decision.heldByAgentIds.push(payload.agentId);
|
|
888
|
-
}
|
|
889
|
-
if (!decision) missingEvidence.add(`decision:${payload.decisionId}:recall-target`);
|
|
890
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
891
|
-
break;
|
|
892
|
-
}
|
|
893
|
-
case "propagation_verified": {
|
|
894
|
-
const agent = ensureAgent(payload.agentId, payload.sessionId, event.occurredAt);
|
|
895
|
-
const correction = corrections.get(payload.correctionId);
|
|
896
|
-
if (!correction) {
|
|
897
|
-
missingEvidence.add(`correction:${payload.correctionId}:proposal`);
|
|
898
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
899
|
-
break;
|
|
900
|
-
}
|
|
901
|
-
if (correction.approvedAt === void 0 || correction.approvedBy === void 0) {
|
|
902
|
-
missingEvidence.add(`correction:${payload.correctionId}:approval`);
|
|
903
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
904
|
-
break;
|
|
905
|
-
}
|
|
906
|
-
if (correction.status !== "applied" && correction.status !== "propagated" || correction.appliedAt === void 0 || correction.proposedDecisionId !== payload.decisionId) {
|
|
907
|
-
missingEvidence.add(`correction:${payload.correctionId}:supersession`);
|
|
908
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
909
|
-
break;
|
|
910
|
-
}
|
|
911
|
-
const recalled = agent.recalls.find(
|
|
912
|
-
(recall) => recall.recallReceiptId === payload.recallReceiptId && recall.sessionId === payload.sessionId && recall.decisionId === payload.decisionId
|
|
913
|
-
);
|
|
914
|
-
if (!recalled) {
|
|
915
|
-
missingEvidence.add(`recall:${payload.recallReceiptId}:observation`);
|
|
916
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
917
|
-
break;
|
|
918
|
-
}
|
|
919
|
-
const appliedAppendPosition = correctionAppliedAppendPositions.get(payload.correctionId);
|
|
920
|
-
const recallAppendPosition = recallAppendPositions.get(recalled);
|
|
921
|
-
if (appliedAppendPosition === void 0 || recallAppendPosition === void 0 || appliedAppendPosition >= recallAppendPosition) {
|
|
922
|
-
missingEvidence.add(`recall:${payload.recallReceiptId}:post-application-append-order`);
|
|
923
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
924
|
-
break;
|
|
925
|
-
}
|
|
926
|
-
if (recallAppendPosition >= appendPosition) {
|
|
927
|
-
missingEvidence.add(`recall:${payload.recallReceiptId}:propagation-append-order`);
|
|
928
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
929
|
-
break;
|
|
930
|
-
}
|
|
931
|
-
if (!recalled.capturedAtAction) {
|
|
932
|
-
missingEvidence.add(`recall:${payload.recallReceiptId}:at-action`);
|
|
933
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
934
|
-
break;
|
|
935
|
-
}
|
|
936
|
-
if (!recalled.coldStart) {
|
|
937
|
-
missingEvidence.add(`recall:${payload.recallReceiptId}:cold-start`);
|
|
938
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
939
|
-
break;
|
|
940
|
-
}
|
|
941
|
-
if (compareInstants(correction.appliedAt, recalled.occurredAt) >= 0) {
|
|
942
|
-
missingEvidence.add(`recall:${payload.recallReceiptId}:post-application`);
|
|
943
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
944
|
-
break;
|
|
945
|
-
}
|
|
946
|
-
if (compareInstants(recalled.occurredAt, event.occurredAt) >= 0) {
|
|
947
|
-
missingEvidence.add(`recall:${payload.recallReceiptId}:propagation-order`);
|
|
948
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
949
|
-
break;
|
|
950
|
-
}
|
|
951
|
-
const propagationSnapshot = {
|
|
952
|
-
correctionId: payload.correctionId,
|
|
953
|
-
agentId: payload.agentId,
|
|
954
|
-
sessionId: payload.sessionId,
|
|
955
|
-
decisionId: payload.decisionId,
|
|
956
|
-
recallReceiptId: payload.recallReceiptId,
|
|
957
|
-
staleDecisionAbsent: payload.staleDecisionAbsent,
|
|
958
|
-
occurredAt: event.occurredAt,
|
|
959
|
-
evidence: payload.evidence
|
|
960
|
-
};
|
|
961
|
-
propagation.push(propagationSnapshot);
|
|
962
|
-
propagationAppendPositions.set(propagationSnapshot, appendPosition);
|
|
963
|
-
correction.evidence.push(...payload.evidence);
|
|
964
|
-
if (payload.staleDecisionAbsent) {
|
|
965
|
-
correction.status = "propagated";
|
|
966
|
-
correction.propagatedAt = event.occurredAt;
|
|
967
|
-
}
|
|
968
|
-
status = payload.staleDecisionAbsent ? "verified" : "correcting";
|
|
969
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
970
|
-
break;
|
|
971
|
-
}
|
|
972
|
-
case "mission_completed":
|
|
973
|
-
if (outcome !== null) {
|
|
974
|
-
missingEvidence.add("mission:duplicate-completion");
|
|
975
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
976
|
-
break;
|
|
977
|
-
}
|
|
978
|
-
if (startedAt === null) missingEvidence.add("mission:start");
|
|
979
|
-
outcome = {
|
|
980
|
-
result: payload.outcome,
|
|
981
|
-
summary: payload.summary,
|
|
982
|
-
occurredAt: event.occurredAt,
|
|
983
|
-
evidence: payload.evidence
|
|
984
|
-
};
|
|
985
|
-
completedAt = event.occurredAt;
|
|
986
|
-
status = payload.outcome === "failed" ? "failed" : "completed";
|
|
987
|
-
collectMissingEvidence(missingEvidence, event, payload.evidence);
|
|
988
|
-
break;
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
for (const conflict of conflicts.values()) {
|
|
992
|
-
if (sourceEvidenceIds(conflict.evidence).size === 0) {
|
|
993
|
-
missingEvidence.add(`conflict:${conflict.conflictId}:source`);
|
|
994
|
-
}
|
|
995
|
-
for (const decisionId of conflict.decisionIds) {
|
|
996
|
-
if (!decisions.has(decisionId)) missingEvidence.add(`decision:${decisionId}:conflict-target`);
|
|
997
|
-
}
|
|
998
|
-
for (const agentId of conflict.agentIds) {
|
|
999
|
-
if (!agents.has(agentId)) missingEvidence.add(`agent:${agentId}:conflict-participant`);
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
for (const correction of corrections.values()) {
|
|
1003
|
-
if (sourceEvidenceIds(correction.evidence).size === 0) {
|
|
1004
|
-
missingEvidence.add(`correction:${correction.correctionId}:source`);
|
|
1005
|
-
}
|
|
1006
|
-
if (correction.approvedAt === void 0 || correction.approvedBy === void 0) {
|
|
1007
|
-
missingEvidence.add(`correction:${correction.correctionId}:approval`);
|
|
1008
|
-
} else if (correction.approvedBy.kind !== "human") {
|
|
1009
|
-
missingEvidence.add(`correction:${correction.correctionId}:human-approval`);
|
|
1010
|
-
} else if (runMode === "live" && correction.approvalPrincipal !== correction.approvedBy.id) {
|
|
1011
|
-
missingEvidence.add(`correction:${correction.correctionId}:authenticated-human-approval`);
|
|
1012
|
-
}
|
|
1013
|
-
if (correction.status === "approved" || correction.status === "proposed") {
|
|
1014
|
-
missingEvidence.add(`correction:${correction.correctionId}:supersession`);
|
|
1015
|
-
}
|
|
1016
|
-
if (correction.status === "applied") {
|
|
1017
|
-
missingEvidence.add(`correction:${correction.correctionId}:propagation`);
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
const liveFixtureEvidenceEventIds = runMode === "live" ? orderedEvents.filter((event) => event.payload.evidence.some((item) => item.capture === "fixture")).map((event) => event.eventId) : [];
|
|
1021
|
-
for (const eventId of liveFixtureEvidenceEventIds) {
|
|
1022
|
-
missingEvidence.add(`mission:live-fixture-evidence:${eventId}`);
|
|
1023
|
-
}
|
|
1024
|
-
const captureTrustValid = liveFixtureEvidenceEventIds.length === 0;
|
|
1025
|
-
const sortedDecisions = [...decisions.values()].map((decision) => ({
|
|
1026
|
-
...decision,
|
|
1027
|
-
heldByAgentIds: uniqueSorted(decision.heldByAgentIds),
|
|
1028
|
-
beliefIds: uniqueSorted(decision.beliefIds),
|
|
1029
|
-
evidence: uniqueEvidence(decision.evidence)
|
|
1030
|
-
})).sort((a, b) => compareText(a.decisionId, b.decisionId));
|
|
1031
|
-
const coldStartVerified = captureTrustValid && propagation.some((item) => item.staleDecisionAbsent);
|
|
1032
|
-
const passingOutcomeVerified = captureTrustValid && outcome?.result === "recovered" && tests.some((test) => {
|
|
1033
|
-
const testAppendPosition = testAppendPositions.get(test);
|
|
1034
|
-
if (test.status !== "passed" || test.correctionId === void 0 || testAppendPosition === void 0 || firstCompletionPosition < 0 || testAppendPosition >= firstCompletionPosition || compareInstants(test.occurredAt, outcome.occurredAt) >= 0) {
|
|
1035
|
-
return false;
|
|
1036
|
-
}
|
|
1037
|
-
const correction = corrections.get(test.correctionId);
|
|
1038
|
-
if (correction?.status !== "propagated" || correction.proposedDecisionId !== test.decisionId || !test.evidence.some((item) => item.kind === "correction" && item.id === correction.correctionId) || !test.evidence.some((item) => item.kind === "test")) {
|
|
1039
|
-
return false;
|
|
1040
|
-
}
|
|
1041
|
-
return propagation.some((item) => {
|
|
1042
|
-
const propagationAppendPosition = propagationAppendPositions.get(item);
|
|
1043
|
-
return item.staleDecisionAbsent && item.correctionId === correction.correctionId && item.decisionId === test.decisionId && propagationAppendPosition !== void 0 && propagationAppendPosition < testAppendPosition && compareInstants(item.occurredAt, test.occurredAt) < 0;
|
|
1044
|
-
});
|
|
1045
|
-
});
|
|
1046
|
-
if (outcome && !passingOutcomeVerified) missingEvidence.add("outcome:passing-test");
|
|
1047
|
-
if (outcome?.result === "recovered" && !coldStartVerified) {
|
|
1048
|
-
missingEvidence.add("outcome:cold-start-propagation");
|
|
1049
|
-
}
|
|
1050
|
-
if (input.events.length > 0 && startedAt === null) missingEvidence.add("mission:start");
|
|
1051
|
-
if (startedAt !== null && completedAt !== null && compareInstants(startedAt, completedAt) >= 0) {
|
|
1052
|
-
missingEvidence.add("mission:lifecycle-order");
|
|
1053
|
-
}
|
|
1054
|
-
if (firstStartEvent !== void 0 && firstCompletionEvent !== void 0 && (firstStartPosition >= firstCompletionPosition || compareRelayEvents(firstStartEvent, firstCompletionEvent) >= 0)) {
|
|
1055
|
-
missingEvidence.add("mission:lifecycle-order");
|
|
1056
|
-
}
|
|
1057
|
-
const eventWindow = filteredEvents.slice(Math.max(0, filteredEvents.length - options.limit));
|
|
1058
|
-
const found = input.events.length > 0;
|
|
1059
|
-
return {
|
|
1060
|
-
schemaVersion: RELAY_MISSION_SCHEMA_VERSION,
|
|
1061
|
-
missionId,
|
|
1062
|
-
namespace,
|
|
1063
|
-
found,
|
|
1064
|
-
readHealth: corruptLines > 0 ? "partial" : found || input.fileExists ? "ok" : "empty",
|
|
1065
|
-
status,
|
|
1066
|
-
mission: { title, objective, runMode, startedAt, completedAt },
|
|
1067
|
-
agents: [...agents.values()].map((agent) => ({
|
|
1068
|
-
...agent,
|
|
1069
|
-
sessionIds: uniqueSorted(agent.sessionIds),
|
|
1070
|
-
outputs: agent.outputs.sort((a, b) => compareTimedIds(a, b, "outputId")),
|
|
1071
|
-
recalls: agent.recalls.sort((a, b) => compareTimedIds(a, b, "recallReceiptId"))
|
|
1072
|
-
})).sort((a, b) => compareText(a.agentId, b.agentId)),
|
|
1073
|
-
decisions: sortedDecisions,
|
|
1074
|
-
conflicts: [...conflicts.values()].sort((a, b) => compareText(a.conflictId, b.conflictId)),
|
|
1075
|
-
corrections: [...corrections.values()].map((correction) => ({ ...correction, evidence: uniqueEvidence(correction.evidence) })).sort((a, b) => compareText(a.correctionId, b.correctionId)),
|
|
1076
|
-
tests: tests.sort((a, b) => compareTimedIds(a, b, "testId")),
|
|
1077
|
-
propagation: propagation.sort((a, b) => {
|
|
1078
|
-
const byTime = compareInstants(a.occurredAt, b.occurredAt);
|
|
1079
|
-
if (byTime !== 0) return byTime;
|
|
1080
|
-
const byAgent = compareText(a.agentId, b.agentId);
|
|
1081
|
-
return byAgent !== 0 ? byAgent : compareText(a.recallReceiptId, b.recallReceiptId);
|
|
1082
|
-
}),
|
|
1083
|
-
outcome,
|
|
1084
|
-
receipt: {
|
|
1085
|
-
complete: status === "completed" && outcome?.result === "recovered" && passingOutcomeVerified && coldStartVerified && missingEvidence.size === 0,
|
|
1086
|
-
missingEvidence: [...missingEvidence].sort(compareText),
|
|
1087
|
-
activeDecisionIds: sortedDecisions.filter((decision) => decision.status === "active").map((decision) => decision.decisionId),
|
|
1088
|
-
supersededDecisionIds: sortedDecisions.filter((decision) => decision.status === "superseded").map((decision) => decision.decisionId),
|
|
1089
|
-
coldStartVerified,
|
|
1090
|
-
passingOutcomeVerified
|
|
1091
|
-
},
|
|
1092
|
-
bounds: {
|
|
1093
|
-
totalEvents: filteredEvents.length,
|
|
1094
|
-
returnedEvents: eventWindow.length,
|
|
1095
|
-
corruptLines,
|
|
1096
|
-
truncated: filteredEvents.length > eventWindow.length,
|
|
1097
|
-
since: options.since ?? null,
|
|
1098
|
-
until: options.until ?? null
|
|
1099
|
-
},
|
|
1100
|
-
events: eventWindow
|
|
1101
|
-
};
|
|
1102
|
-
}
|
|
1103
|
-
function compareRelayEvents(a, b) {
|
|
1104
|
-
const byOccurrence = compareInstants(a.occurredAt, b.occurredAt);
|
|
1105
|
-
if (byOccurrence !== 0) return byOccurrence;
|
|
1106
|
-
const byRecord = compareInstants(a.recordedAt, b.recordedAt);
|
|
1107
|
-
if (byRecord !== 0) return byRecord;
|
|
1108
|
-
return compareText(a.eventId, b.eventId);
|
|
1109
|
-
}
|
|
1110
|
-
function parseMissionJsonl(raw, missionId, namespace, maxEvents) {
|
|
1111
|
-
const events = [];
|
|
1112
|
-
let corruptLines = 0;
|
|
1113
|
-
for (const line of raw.split("\n")) {
|
|
1114
|
-
if (line.trim().length === 0) continue;
|
|
1115
|
-
if (Buffer.byteLength(line, "utf8") > RELAY_MISSION_MAX_LINE_BYTES) {
|
|
1116
|
-
corruptLines += 1;
|
|
1117
|
-
continue;
|
|
1118
|
-
}
|
|
1119
|
-
let candidate;
|
|
1120
|
-
try {
|
|
1121
|
-
candidate = JSON.parse(line);
|
|
1122
|
-
} catch {
|
|
1123
|
-
corruptLines += 1;
|
|
1124
|
-
continue;
|
|
1125
|
-
}
|
|
1126
|
-
const parsed = RelayMissionEventSchema.safeParse(candidate);
|
|
1127
|
-
if (!parsed.success || parsed.data.missionId !== missionId || parsed.data.namespace !== namespace) {
|
|
1128
|
-
corruptLines += 1;
|
|
1129
|
-
continue;
|
|
1130
|
-
}
|
|
1131
|
-
if (events.length >= maxEvents) {
|
|
1132
|
-
throw new RelayMissionStoreError(
|
|
1133
|
-
"limit_exceeded",
|
|
1134
|
-
`mission ${missionId} exceeds the ${maxEvents}-event read limit`
|
|
1135
|
-
);
|
|
1136
|
-
}
|
|
1137
|
-
events.push(parsed.data);
|
|
1138
|
-
}
|
|
1139
|
-
return { events, corruptLines };
|
|
1140
|
-
}
|
|
1141
|
-
function collectMissingEvidence(missing, event, evidence) {
|
|
1142
|
-
if (evidence.length === 0) missing.add(`event:${event.eventId}:evidence`);
|
|
1143
|
-
}
|
|
1144
|
-
function sameIdempotentInput(event, input, authenticatedPrincipal) {
|
|
1145
|
-
if (event.authenticatedPrincipal !== authenticatedPrincipal) return false;
|
|
1146
|
-
if (input.occurredAt !== void 0 && event.occurredAt !== input.occurredAt) return false;
|
|
1147
|
-
return stableJson(event.payload) === stableJson(input.payload);
|
|
1148
|
-
}
|
|
1149
|
-
function stableJson(value) {
|
|
1150
|
-
if (Array.isArray(value)) return `[${value.map(stableJson).join(",")}]`;
|
|
1151
|
-
if (value && typeof value === "object") {
|
|
1152
|
-
const entries = Object.entries(value).sort(([a], [b]) => compareText(a, b)).map(([key, child]) => `${JSON.stringify(key)}:${stableJson(child)}`);
|
|
1153
|
-
return `{${entries.join(",")}}`;
|
|
1154
|
-
}
|
|
1155
|
-
return JSON.stringify(value) ?? "null";
|
|
1156
|
-
}
|
|
1157
|
-
function uniqueEvidence(evidence) {
|
|
1158
|
-
const byKey = /* @__PURE__ */ new Map();
|
|
1159
|
-
for (const item of evidence) byKey.set(`${item.kind}\0${item.id}`, item);
|
|
1160
|
-
return [...byKey.values()].sort((a, b) => {
|
|
1161
|
-
const byKind = compareText(a.kind, b.kind);
|
|
1162
|
-
return byKind !== 0 ? byKind : compareText(a.id, b.id);
|
|
1163
|
-
});
|
|
1164
|
-
}
|
|
1165
|
-
function uniqueSorted(values) {
|
|
1166
|
-
return [...new Set(values)].sort(compareText);
|
|
1167
|
-
}
|
|
1168
|
-
function compareText(a, b) {
|
|
1169
|
-
if (a < b) return -1;
|
|
1170
|
-
if (a > b) return 1;
|
|
1171
|
-
return 0;
|
|
1172
|
-
}
|
|
1173
|
-
function compareInstants(a, b) {
|
|
1174
|
-
const aMs = Date.parse(a);
|
|
1175
|
-
const bMs = Date.parse(b);
|
|
1176
|
-
if (aMs < bMs) return -1;
|
|
1177
|
-
if (aMs > bMs) return 1;
|
|
1178
|
-
return 0;
|
|
1179
|
-
}
|
|
1180
|
-
function compareTimedIds(a, b, idKey) {
|
|
1181
|
-
const byTime = compareInstants(a.occurredAt, b.occurredAt);
|
|
1182
|
-
if (byTime !== 0) return byTime;
|
|
1183
|
-
return compareText(String(a[idKey]), String(b[idKey]));
|
|
1184
|
-
}
|
|
1185
|
-
function beliefAppendPositionKey(agentId, decisionId) {
|
|
1186
|
-
return `${agentId}\0${decisionId}`;
|
|
1187
|
-
}
|
|
1188
|
-
function normalizeDecisionStatement(statement) {
|
|
1189
|
-
return statement.normalize("NFKC").trim().toLowerCase().replace(/\s+/g, " ").replace(/[.!?]+$/, "");
|
|
1190
|
-
}
|
|
1191
|
-
function decisionStatementsMatch(left, right) {
|
|
1192
|
-
return normalizeDecisionStatement(left) === normalizeDecisionStatement(right);
|
|
1193
|
-
}
|
|
1194
|
-
function recordEarliestAppendPosition(positions, key, position) {
|
|
1195
|
-
const current = positions.get(key);
|
|
1196
|
-
if (current === void 0 || position < current) positions.set(key, position);
|
|
1197
|
-
}
|
|
1198
|
-
function correctionSupersessionComplete(correction, decisions) {
|
|
1199
|
-
return correction.supersedesDecisionIds.every((decisionId) => {
|
|
1200
|
-
const decision = decisions.get(decisionId);
|
|
1201
|
-
return decision?.status === "superseded" && decision.supersededBy === correction.proposedDecisionId && decision.correctionId === correction.correctionId;
|
|
1202
|
-
});
|
|
1203
|
-
}
|
|
1204
|
-
function correctionCoversConflict(correction, conflict) {
|
|
1205
|
-
const expectedSuperseded = uniqueSorted(
|
|
1206
|
-
conflict.decisionIds.filter((decisionId) => decisionId !== correction.proposedDecisionId)
|
|
1207
|
-
);
|
|
1208
|
-
const declaredSuperseded = uniqueSorted(correction.supersedesDecisionIds);
|
|
1209
|
-
return expectedSuperseded.length === declaredSuperseded.length && expectedSuperseded.every((decisionId, index) => decisionId === declaredSuperseded[index]);
|
|
1210
|
-
}
|
|
1211
|
-
function sourceEvidenceIds(evidence) {
|
|
1212
|
-
return new Set(evidence.filter((item) => item.kind === "source").map((item) => item.id));
|
|
1213
|
-
}
|
|
1214
|
-
function positiveIntegerOption(value, name, fallback) {
|
|
1215
|
-
if (value === void 0) return fallback;
|
|
1216
|
-
if (!Number.isInteger(value) || value <= 0) {
|
|
1217
|
-
throw new TypeError(`RelayMissionStore ${name} must be a positive integer`);
|
|
1218
|
-
}
|
|
1219
|
-
return value;
|
|
1220
|
-
}
|
|
1221
|
-
function validNow(now) {
|
|
1222
|
-
const value = now();
|
|
1223
|
-
if (!(value instanceof Date) || !Number.isFinite(value.getTime())) {
|
|
1224
|
-
throw new TypeError("RelayMissionStore now() must return a valid Date");
|
|
1225
|
-
}
|
|
1226
|
-
return value.toISOString();
|
|
1227
|
-
}
|
|
1228
|
-
async function openOrCreatePinnedChildDirectory(parentHandle, segment) {
|
|
1229
|
-
const directory = path.join(pinnedDirectoryPath(parentHandle), segment);
|
|
1230
|
-
try {
|
|
1231
|
-
await fs.mkdir(directory, { mode: 448 });
|
|
1232
|
-
} catch (error) {
|
|
1233
|
-
if (error.code !== "EEXIST") throw error;
|
|
1234
|
-
}
|
|
1235
|
-
return openVerifiedDirectory(directory, "Relay directory symlinks are rejected");
|
|
1236
|
-
}
|
|
1237
|
-
async function openVerifiedDirectory(directory, unsafeMessage) {
|
|
1238
|
-
const before = await fs.lstat(directory);
|
|
1239
|
-
if (before.isSymbolicLink() || !before.isDirectory()) {
|
|
1240
|
-
throw new RelayMissionStoreError("unsafe_path", unsafeMessage);
|
|
1241
|
-
}
|
|
1242
|
-
const handle = await fs.open(directory, fsConstants.O_RDONLY | fsConstants.O_DIRECTORY | fsConstants.O_NOFOLLOW);
|
|
1243
|
-
try {
|
|
1244
|
-
const openInfo = await handle.stat();
|
|
1245
|
-
const after = await fs.lstat(directory);
|
|
1246
|
-
if (after.isSymbolicLink() || !after.isDirectory() || before.dev !== openInfo.dev || before.ino !== openInfo.ino || after.dev !== openInfo.dev || after.ino !== openInfo.ino) {
|
|
1247
|
-
throw new RelayMissionStoreError("unsafe_path", "Relay directory changed during validation");
|
|
1248
|
-
}
|
|
1249
|
-
return handle;
|
|
1250
|
-
} catch (error) {
|
|
1251
|
-
await handle.close().catch(() => void 0);
|
|
1252
|
-
throw error;
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
function pinnedDirectoryPath(handle) {
|
|
1256
|
-
if (process.platform === "linux") return `/proc/self/fd/${handle.fd}`;
|
|
1257
|
-
if (process.platform === "darwin" || process.platform === "freebsd" || process.platform === "openbsd") {
|
|
1258
|
-
return `/dev/fd/${handle.fd}`;
|
|
1259
|
-
}
|
|
1260
|
-
throw new RelayMissionStoreError(
|
|
1261
|
-
"unsafe_path",
|
|
1262
|
-
`Relay pinned directory access is unsupported on ${process.platform}`
|
|
1263
|
-
);
|
|
1264
|
-
}
|
|
1265
|
-
function relayMissionReceiptDigest(snapshot) {
|
|
1266
|
-
const receipt = {
|
|
1267
|
-
schemaVersion: snapshot.schemaVersion,
|
|
1268
|
-
missionId: snapshot.missionId,
|
|
1269
|
-
namespace: snapshot.namespace,
|
|
1270
|
-
status: snapshot.status,
|
|
1271
|
-
decisions: snapshot.decisions,
|
|
1272
|
-
corrections: snapshot.corrections,
|
|
1273
|
-
propagation: snapshot.propagation,
|
|
1274
|
-
tests: snapshot.tests,
|
|
1275
|
-
outcome: snapshot.outcome,
|
|
1276
|
-
receipt: snapshot.receipt
|
|
1277
|
-
};
|
|
1278
|
-
return createHash("sha256").update(stableJson(receipt)).digest("hex");
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
// src/relay/mission-access.ts
|
|
1282
|
-
var namespaceSchema2 = z2.string().trim().min(1).max(128).nullable().optional();
|
|
1283
|
-
var RelayMissionAppendAccessSchema = z2.object({
|
|
1284
|
-
missionId: RelayMissionIdSchema,
|
|
1285
|
-
namespace: namespaceSchema2,
|
|
1286
|
-
event: RelayMissionEventInputSchema
|
|
1287
|
-
}).strict();
|
|
1288
|
-
var optionalLimitSchema = z2.preprocess((value) => {
|
|
1289
|
-
if (value === void 0 || value === null) return void 0;
|
|
1290
|
-
if (typeof value === "string" && /^(?:0|[1-9]\d*)$/.test(value)) return Number(value);
|
|
1291
|
-
return value;
|
|
1292
|
-
}, z2.number().int().min(1).max(RELAY_MISSION_MAX_EVENT_LIMIT).optional());
|
|
1293
|
-
var RelayMissionReadAccessSchema = z2.object({
|
|
1294
|
-
missionId: RelayMissionIdSchema,
|
|
1295
|
-
namespace: namespaceSchema2,
|
|
1296
|
-
since: RelayIsoDateTimeSchema.optional(),
|
|
1297
|
-
until: RelayIsoDateTimeSchema.optional(),
|
|
1298
|
-
limit: optionalLimitSchema
|
|
1299
|
-
}).strict().refine(
|
|
1300
|
-
(value) => value.since === void 0 || value.until === void 0 || Date.parse(value.since) < Date.parse(value.until),
|
|
1301
|
-
{ message: "since must be earlier than until", path: ["until"] }
|
|
1302
|
-
);
|
|
1303
|
-
async function appendRelayMissionEvent(service, input, authenticatedPrincipal, beforeAppend) {
|
|
1304
|
-
const event = RelayMissionEventInputSchema.parse(input.event);
|
|
1305
|
-
const approvalPrincipal = authenticatedPrincipal?.trim() || void 0;
|
|
1306
|
-
if (event.payload.kind === "correction_approved" && event.payload.approvedBy.kind === "human") {
|
|
1307
|
-
if (!approvalPrincipal) {
|
|
1308
|
-
throw new EngramAccessInputError(
|
|
1309
|
-
"Relay human approval requires a server-resolved authenticated principal"
|
|
1310
|
-
);
|
|
1311
|
-
}
|
|
1312
|
-
if (event.payload.approvedBy.id !== approvalPrincipal) {
|
|
1313
|
-
throw new EngramAccessInputError(
|
|
1314
|
-
"Relay human approval identity must match the server-resolved authenticated principal"
|
|
1315
|
-
);
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
|
-
const resolved = await service.getWritableStorageForNamespace(input.namespace ?? void 0, approvalPrincipal);
|
|
1319
|
-
const store = new RelayMissionStore({
|
|
1320
|
-
rootDir: resolved.storage.dir,
|
|
1321
|
-
namespace: resolved.namespace
|
|
1322
|
-
});
|
|
1323
|
-
return store.append(input.missionId, event, { authenticatedPrincipal: approvalPrincipal, beforeAppend });
|
|
1324
|
-
}
|
|
1325
|
-
async function readRelayMission(service, input, authenticatedPrincipal) {
|
|
1326
|
-
const resolved = await service.getReadableStorageForNamespace(input.namespace ?? void 0, authenticatedPrincipal);
|
|
1327
|
-
const store = new RelayMissionStore({
|
|
1328
|
-
rootDir: resolved.storage.dir,
|
|
1329
|
-
namespace: resolved.namespace
|
|
1330
|
-
});
|
|
1331
|
-
const options = RelayMissionReadOptionsSchema.parse({
|
|
1332
|
-
...input.since === void 0 ? {} : { since: input.since },
|
|
1333
|
-
...input.until === void 0 ? {} : { until: input.until },
|
|
1334
|
-
...input.limit === void 0 ? {} : { limit: input.limit }
|
|
1335
|
-
});
|
|
1336
|
-
return store.read(input.missionId, options);
|
|
1337
|
-
}
|
|
1338
|
-
var relayMissionAppendOperation = defineOperation({
|
|
1339
|
-
name: "relay_mission_append",
|
|
1340
|
-
description: "Append one evidence-backed event to an isolated Relay mission.",
|
|
1341
|
-
schema: RelayMissionAppendAccessSchema,
|
|
1342
|
-
handler: async (input, ctx) => ({
|
|
1343
|
-
result: await appendRelayMissionEvent(ctx.service, input, ctx.authenticatedPrincipal, ctx.hooks?.enforceWriteQuota)
|
|
1344
|
-
})
|
|
1345
|
-
});
|
|
1346
|
-
var relayMissionReadOperation = defineOperation({
|
|
1347
|
-
name: "relay_mission_read",
|
|
1348
|
-
description: "Read one bounded, browser-ready Relay mission receipt.",
|
|
1349
|
-
schema: RelayMissionReadAccessSchema,
|
|
1350
|
-
handler: async (input, ctx) => ({
|
|
1351
|
-
result: await readRelayMission(ctx.service, input, ctx.authenticatedPrincipal)
|
|
1352
|
-
})
|
|
1353
|
-
});
|
|
1354
|
-
|
|
1355
|
-
// src/location/access-operations.ts
|
|
1356
|
-
import { z as z3 } from "zod";
|
|
1357
|
-
var dateField = z3.union([z3.string(), z3.null()]).optional();
|
|
1358
|
-
var daysField = z3.union([z3.number(), z3.string(), z3.null()]).optional();
|
|
1359
|
-
var dryRunField = z3.union([z3.boolean(), z3.null()]).optional();
|
|
1360
|
-
function locationDeps(service) {
|
|
1361
|
-
return {
|
|
1362
|
-
config: service.configRef.location,
|
|
1363
|
-
memoryDir: service.memoryDir,
|
|
1364
|
-
getMemoryStorage: () => backfillMemoryStorage(service.configRef)
|
|
1365
|
-
};
|
|
1366
|
-
}
|
|
1367
|
-
defineOperation({
|
|
1368
|
-
name: "location_status",
|
|
1369
|
-
description: "Location sync status (gates, providers, last sync, day counts).",
|
|
1370
|
-
fleetWide: true,
|
|
1371
|
-
schema: z3.object({}).passthrough(),
|
|
1372
|
-
handler: async (_input, ctx) => ({
|
|
1373
|
-
result: await runLocationStatus(locationDeps(ctx.service))
|
|
1374
|
-
})
|
|
1375
|
-
});
|
|
1376
|
-
defineOperation({
|
|
1377
|
-
name: "location_check",
|
|
1378
|
-
description: "Probe every enabled location provider.",
|
|
1379
|
-
fleetWide: true,
|
|
1380
|
-
schema: z3.object({}).passthrough(),
|
|
1381
|
-
handler: async (_input, ctx) => ({
|
|
1382
|
-
result: await runLocationCheck(locationDeps(ctx.service))
|
|
1383
|
-
})
|
|
1384
|
-
});
|
|
1385
|
-
defineOperation({
|
|
1386
|
-
name: "location_sync",
|
|
1387
|
-
description: "Sync location days (default window: syncDays ending yesterday).",
|
|
1388
|
-
fleetWide: true,
|
|
1389
|
-
schema: z3.object({ date: dateField, days: daysField }).passthrough(),
|
|
1390
|
-
handler: async (input, ctx) => ({
|
|
1391
|
-
result: {
|
|
1392
|
-
days: await runLocationSync(locationDeps(ctx.service), {
|
|
1393
|
-
...input.date !== void 0 && input.date !== null && input.date !== "" ? { endDate: input.date } : {},
|
|
1394
|
-
...input.days !== void 0 && input.days !== null && input.days !== "" ? { days: Number(input.days) } : {}
|
|
1395
|
-
})
|
|
1396
|
-
}
|
|
1397
|
-
})
|
|
1398
|
-
});
|
|
1399
|
-
defineOperation({
|
|
1400
|
-
name: "location_backfill",
|
|
1401
|
-
description: "Sync an explicit historical day range (\u2264 90 days) and re-tag overlapping memories (issue #2046).",
|
|
1402
|
-
fleetWide: true,
|
|
1403
|
-
schema: z3.object({ from: dateField, to: dateField, dryRun: dryRunField }).passthrough(),
|
|
1404
|
-
handler: async (input, ctx) => ({
|
|
1405
|
-
result: await runLocationBackfill(locationDeps(ctx.service), {
|
|
1406
|
-
from: input.from ?? null,
|
|
1407
|
-
to: input.to ?? null,
|
|
1408
|
-
dryRun: input.dryRun === true
|
|
1409
|
-
})
|
|
1410
|
-
})
|
|
1411
|
-
});
|
|
1412
|
-
defineOperation({
|
|
1413
|
-
name: "location_day",
|
|
1414
|
-
description: "Read one stored location day.",
|
|
1415
|
-
fleetWide: true,
|
|
1416
|
-
schema: z3.object({ date: dateField }).passthrough(),
|
|
1417
|
-
handler: async (input, ctx) => ({
|
|
1418
|
-
result: await runLocationDay(locationDeps(ctx.service).memoryDir, input.date)
|
|
1419
|
-
})
|
|
1420
|
-
});
|
|
1421
|
-
|
|
1422
|
-
// src/standup/access-operations.ts
|
|
1423
|
-
import { z as z4 } from "zod";
|
|
1424
|
-
defineOperation({
|
|
1425
|
-
name: "standup",
|
|
1426
|
-
description: "Deterministic yesterday/today/blockers standup brief.",
|
|
1427
|
-
fleetWide: true,
|
|
1428
|
-
schema: z4.object({ date: z4.string().optional() }).strict(),
|
|
1429
|
-
handler: async (input, ctx) => ({
|
|
1430
|
-
result: buildStandup(ctx.service.memoryDir, parseStandupDate(input.date))
|
|
1431
|
-
})
|
|
1432
|
-
});
|
|
1433
|
-
|
|
1434
|
-
// src/access-operations.ts
|
|
1435
|
-
var memoryGetSchema = z5.object({
|
|
1436
|
-
memoryId: z5.string().trim().min(1, "memoryId is required").max(512),
|
|
1437
|
-
// Issue #1582 — when memoryId is a `[m:xxxx]` handle, sessionKey scopes the
|
|
1438
|
-
// resolution to this session's recent recall history.
|
|
1439
|
-
sessionKey: z5.string().trim().min(1).max(512).nullable().optional(),
|
|
1440
|
-
namespace: z5.string().trim().max(256).nullable().optional()
|
|
1441
|
-
});
|
|
1442
|
-
var memoryGetOperation = defineOperation({
|
|
1443
|
-
name: "memory_get",
|
|
1444
|
-
description: "Fetch one memory by id.",
|
|
1445
|
-
schema: memoryGetSchema,
|
|
1446
|
-
handler: async (input, ctx) => {
|
|
1447
|
-
const result = await ctx.service.memoryGet(
|
|
1448
|
-
input.memoryId,
|
|
1449
|
-
input.namespace ?? void 0,
|
|
1450
|
-
ctx.authenticatedPrincipal,
|
|
1451
|
-
input.sessionKey ?? void 0
|
|
1452
|
-
);
|
|
1453
|
-
return { result };
|
|
1454
|
-
}
|
|
1455
|
-
});
|
|
1456
|
-
var memorySearchSchema = z5.object({
|
|
1457
|
-
query: z5.string().trim().min(1, "query is required").max(2048),
|
|
1458
|
-
namespace: z5.string().trim().max(256).nullable().optional(),
|
|
1459
|
-
// No upper cap: the pre-boundary MCP handler forwarded any finite number to
|
|
1460
|
-
// memorySearch, and the QMD/search backends honor large limits. Capping at
|
|
1461
|
-
// 100 would reject existing clients that request larger result sets.
|
|
1462
|
-
maxResults: z5.number().int().min(1).nullable().optional(),
|
|
1463
|
-
collection: z5.string().trim().min(1).max(256).nullable().optional(),
|
|
1464
|
-
// Ranking mode. Mirrors the in-process manager's override so a host that
|
|
1465
|
-
// asks for vector or lexical ranking gets the same semantics whether it
|
|
1466
|
-
// talks to an embedded orchestrator or a standalone daemon (issue #2120).
|
|
1467
|
-
mode: z5.enum(["search", "hybrid", "bm25", "vector"]).nullable().optional()
|
|
1468
|
-
});
|
|
1469
|
-
var memorySearchOperation = defineOperation({
|
|
1470
|
-
name: "memory_search",
|
|
1471
|
-
description: "Search memories across readable namespaces.",
|
|
1472
|
-
schema: memorySearchSchema,
|
|
1473
|
-
handler: async (input, ctx) => {
|
|
1474
|
-
const result = await ctx.service.memorySearch({
|
|
1475
|
-
query: input.query,
|
|
1476
|
-
namespace: input.namespace ?? void 0,
|
|
1477
|
-
maxResults: input.maxResults ?? void 0,
|
|
1478
|
-
collection: input.collection ?? void 0,
|
|
1479
|
-
mode: input.mode ?? void 0,
|
|
1480
|
-
principal: ctx.authenticatedPrincipal
|
|
1481
|
-
});
|
|
1482
|
-
return { result };
|
|
1483
|
-
}
|
|
1484
|
-
});
|
|
1485
|
-
var memoryStoreOperation = defineOperation({
|
|
1486
|
-
name: "memory_store",
|
|
1487
|
-
description: "Store an explicit memory through the access layer.",
|
|
1488
|
-
// The canonical wire schema (issue #2482): its category transform already
|
|
1489
|
-
// mapped compat aliases to "fact", so `input.category` is finite here. The
|
|
1490
|
-
// raw spelling survives on `ctx.rawInput` for the coercion note (#2829).
|
|
1491
|
-
schema: memoryStoreRequestSchema,
|
|
1492
|
-
handler: async (input, ctx) => {
|
|
1493
|
-
const rawCategory = retainedCategoryAlias(ctx.rawInput);
|
|
1494
|
-
const result = await ctx.service.memoryStore(
|
|
1495
|
-
{
|
|
1496
|
-
...input,
|
|
1497
|
-
authenticatedPrincipal: ctx.authenticatedPrincipal,
|
|
1498
|
-
...ctx.sourceConnector ? { sourceConnector: ctx.sourceConnector } : {},
|
|
1499
|
-
...rawCategory ? { rawCategory } : {}
|
|
1500
|
-
},
|
|
1501
|
-
// Forward transport-level hooks (e.g. HTTP's atomic write-quota gate)
|
|
1502
|
-
// so the hook still fires inside the service's idempotent-write lock —
|
|
1503
|
-
// never before, never on a replay (#1434 invariant preserved by the
|
|
1504
|
-
// boundary migration).
|
|
1505
|
-
ctx.hooks
|
|
1506
|
-
);
|
|
1507
|
-
return { result };
|
|
1508
|
-
}
|
|
1509
|
-
});
|
|
1510
|
-
var codingDecisionSchema = z5.preprocess(
|
|
1511
|
-
(data) => {
|
|
1512
|
-
if (data && typeof data === "object" && !Array.isArray(data)) {
|
|
1513
|
-
const out = {};
|
|
1514
|
-
for (const [k, v] of Object.entries(data)) {
|
|
1515
|
-
if (v !== null) out[k] = v;
|
|
1516
|
-
}
|
|
1517
|
-
return out;
|
|
1518
|
-
}
|
|
1519
|
-
return data;
|
|
1520
|
-
},
|
|
1521
|
-
z5.object({
|
|
1522
|
-
subcommand: z5.enum(DECISION_SUBCOMMANDS),
|
|
1523
|
-
sessionKey: z5.string().trim().max(512).optional(),
|
|
1524
|
-
namespace: z5.string().trim().max(256).optional(),
|
|
1525
|
-
id: z5.string().trim().max(512).optional(),
|
|
1526
|
-
title: z5.string().trim().max(512).optional(),
|
|
1527
|
-
status: z5.string().trim().max(64).optional(),
|
|
1528
|
-
context: z5.string().trim().max(8192).optional(),
|
|
1529
|
-
decision: z5.string().trim().max(8192).optional(),
|
|
1530
|
-
consequences: z5.string().trim().max(8192).optional(),
|
|
1531
|
-
entityRefs: z5.array(z5.string().trim().min(1).max(256)).optional(),
|
|
1532
|
-
supersedesId: z5.string().trim().max(512).optional()
|
|
1533
|
-
})
|
|
1534
|
-
);
|
|
1535
|
-
var codingDecisionOperation = defineOperation({
|
|
1536
|
-
name: "coding_decision",
|
|
1537
|
-
description: "List, get, record, or supersede decision records in the session's coding namespace (issue #1548 Track A).",
|
|
1538
|
-
schema: codingDecisionSchema,
|
|
1539
|
-
handler: async (input, ctx) => {
|
|
1540
|
-
const result = await ctx.service.codingDecision(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1541
|
-
return { result };
|
|
1542
|
-
}
|
|
1543
|
-
});
|
|
1544
|
-
var codingArchitectureSchema = z5.preprocess(
|
|
1545
|
-
(data) => {
|
|
1546
|
-
if (data !== null && typeof data === "object" && !Array.isArray(data)) {
|
|
1547
|
-
const obj = data;
|
|
1548
|
-
const cleaned = {};
|
|
1549
|
-
for (const [key, value] of Object.entries(obj)) {
|
|
1550
|
-
if (value !== null) cleaned[key] = value;
|
|
1551
|
-
}
|
|
1552
|
-
return cleaned;
|
|
1553
|
-
}
|
|
1554
|
-
return data;
|
|
1555
|
-
},
|
|
1556
|
-
z5.object({
|
|
1557
|
-
subcommand: z5.enum(["get", "refresh"]),
|
|
1558
|
-
sessionKey: z5.string().optional(),
|
|
1559
|
-
namespace: z5.string().optional()
|
|
1560
|
-
})
|
|
1561
|
-
);
|
|
1562
|
-
var codingArchitectureOperation = defineOperation({
|
|
1563
|
-
name: "coding_architecture",
|
|
1564
|
-
description: "Get or refresh the architecture card for the session's coding namespace (issue #1548 Track A PR 3).",
|
|
1565
|
-
schema: codingArchitectureSchema,
|
|
1566
|
-
handler: async (input, ctx) => {
|
|
1567
|
-
const result = await ctx.service.codingArchitecture(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1568
|
-
return { result };
|
|
1569
|
-
}
|
|
1570
|
-
});
|
|
1571
|
-
var codegraphSurfaceSchema = z5.preprocess(
|
|
1572
|
-
(data) => {
|
|
1573
|
-
if (data !== null && typeof data === "object" && !Array.isArray(data)) {
|
|
1574
|
-
const obj = data;
|
|
1575
|
-
const cleaned = {};
|
|
1576
|
-
for (const [key, value] of Object.entries(obj)) {
|
|
1577
|
-
if (value !== null) cleaned[key] = value;
|
|
1578
|
-
}
|
|
1579
|
-
return cleaned;
|
|
1580
|
-
}
|
|
1581
|
-
return data;
|
|
1582
|
-
},
|
|
1583
|
-
z5.object({
|
|
1584
|
-
tool: z5.string().refine(isCodegraphToolName, {
|
|
1585
|
-
message: "tool must be one of the codegraph tool names"
|
|
1586
|
-
}),
|
|
1587
|
-
sessionKey: z5.string().max(512).optional(),
|
|
1588
|
-
principal: z5.string().max(256).optional(),
|
|
1589
|
-
project: z5.string().max(256).optional(),
|
|
1590
|
-
query: z5.string().max(2048).optional(),
|
|
1591
|
-
limit: z5.number().int().positive().max(200).optional(),
|
|
1592
|
-
start: z5.string().max(512).optional(),
|
|
1593
|
-
direction: z5.string().max(64).optional(),
|
|
1594
|
-
depth: z5.number().int().positive().max(10).optional(),
|
|
1595
|
-
qualifiedName: z5.string().max(1024).optional(),
|
|
1596
|
-
path: z5.string().max(2048).optional(),
|
|
1597
|
-
structuredQuery: z5.record(z5.string(), z5.unknown()).optional(),
|
|
1598
|
-
head: z5.string().max(256).optional(),
|
|
1599
|
-
repoRoot: z5.string().max(2048).optional(),
|
|
1600
|
-
mode: z5.string().max(64).optional(),
|
|
1601
|
-
confirm: z5.boolean().optional(),
|
|
1602
|
-
subcommand: z5.string().max(64).optional(),
|
|
1603
|
-
id: z5.string().max(512).optional(),
|
|
1604
|
-
title: z5.string().max(512).optional(),
|
|
1605
|
-
status: z5.string().max(64).optional(),
|
|
1606
|
-
context: z5.string().max(8192).optional(),
|
|
1607
|
-
decision: z5.string().max(8192).optional(),
|
|
1608
|
-
consequences: z5.string().max(8192).optional(),
|
|
1609
|
-
entityRefs: z5.array(z5.string().max(256)).optional(),
|
|
1610
|
-
supersedesId: z5.string().max(512).optional(),
|
|
1611
|
-
traces: z5.array(z5.unknown()).optional()
|
|
1612
|
-
})
|
|
1613
|
-
);
|
|
1614
|
-
var codingDeltaSchema = z5.preprocess(
|
|
1615
|
-
(data) => {
|
|
1616
|
-
if (data !== null && typeof data === "object" && !Array.isArray(data)) {
|
|
1617
|
-
const obj = data;
|
|
1618
|
-
const cleaned = {};
|
|
1619
|
-
for (const [key, value] of Object.entries(obj)) {
|
|
1620
|
-
if (value !== null) cleaned[key] = value;
|
|
1621
|
-
}
|
|
1622
|
-
return cleaned;
|
|
1623
|
-
}
|
|
1624
|
-
return data;
|
|
1625
|
-
},
|
|
1626
|
-
z5.object({
|
|
1627
|
-
subcommand: z5.enum(DELTA_SUBCOMMANDS),
|
|
1628
|
-
sessionKey: z5.string().trim().max(512).optional(),
|
|
1629
|
-
namespace: z5.string().trim().max(256).optional()
|
|
1630
|
-
})
|
|
1631
|
-
);
|
|
1632
|
-
var codingDeltaOperation = defineOperation({
|
|
1633
|
-
name: "coding_delta",
|
|
1634
|
-
description: "Get the session delta (commits + touched files since last seen) for the session's coding namespace (issue #1548 Track A PR 4).",
|
|
1635
|
-
schema: codingDeltaSchema,
|
|
1636
|
-
handler: async (input, ctx) => {
|
|
1637
|
-
const result = await ctx.service.codingDelta(input, ctx.authenticatedPrincipal);
|
|
1638
|
-
return { result };
|
|
1639
|
-
}
|
|
1640
|
-
});
|
|
1641
|
-
var memoryCorrectPlanSchema = z5.preprocess(
|
|
1642
|
-
(data) => {
|
|
1643
|
-
if (data && typeof data === "object" && !Array.isArray(data)) {
|
|
1644
|
-
const out = {};
|
|
1645
|
-
for (const [k, v] of Object.entries(data)) {
|
|
1646
|
-
if (v !== null) out[k] = v;
|
|
1647
|
-
}
|
|
1648
|
-
return out;
|
|
1649
|
-
}
|
|
1650
|
-
return data;
|
|
1651
|
-
},
|
|
1652
|
-
z5.object({
|
|
1653
|
-
text: z5.string().trim().min(1).max(1e4),
|
|
1654
|
-
targetIds: z5.array(z5.string().trim().min(1).max(512)).optional(),
|
|
1655
|
-
sessionKey: z5.string().trim().max(512).optional(),
|
|
1656
|
-
namespace: z5.string().trim().max(256).optional()
|
|
1657
|
-
})
|
|
1658
|
-
);
|
|
1659
|
-
var memoryCorrectPlanOperation = defineOperation({
|
|
1660
|
-
name: "memory_correct_plan",
|
|
1661
|
-
description: "Plan a memory correction from a plain-language statement (issue #1580). Returns a CorrectionPlan with a diff preview; apply via memory_correct_apply.",
|
|
1662
|
-
schema: memoryCorrectPlanSchema,
|
|
1663
|
-
handler: async (input, ctx) => {
|
|
1664
|
-
try {
|
|
1665
|
-
const result = await ctx.service.correctionPlan(
|
|
1666
|
-
{
|
|
1667
|
-
text: input.text,
|
|
1668
|
-
...input.targetIds ? { targetIds: input.targetIds } : {},
|
|
1669
|
-
...input.sessionKey ? { sessionKey: input.sessionKey } : {},
|
|
1670
|
-
...input.namespace ? { namespace: input.namespace } : {},
|
|
1671
|
-
...ctx.authenticatedPrincipal ? { principal: ctx.authenticatedPrincipal } : {}
|
|
1672
|
-
},
|
|
1673
|
-
ctx.abortSignal ? { abortSignal: ctx.abortSignal } : void 0
|
|
1674
|
-
);
|
|
1675
|
-
return { result };
|
|
1676
|
-
} catch (err) {
|
|
1677
|
-
if (err instanceof CorrectionContractError) throw new EngramAccessInputError(err.message);
|
|
1678
|
-
throw err;
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
});
|
|
1682
|
-
var memoryCorrectApplySchema = z5.preprocess(
|
|
1683
|
-
(data) => {
|
|
1684
|
-
if (data && typeof data === "object" && !Array.isArray(data)) {
|
|
1685
|
-
const out = {};
|
|
1686
|
-
for (const [k, v] of Object.entries(data)) {
|
|
1687
|
-
if (v !== null) out[k] = v;
|
|
1688
|
-
}
|
|
1689
|
-
return out;
|
|
1690
|
-
}
|
|
1691
|
-
return data;
|
|
1692
|
-
},
|
|
1693
|
-
z5.object({
|
|
1694
|
-
planId: z5.string().trim().min(1).max(512),
|
|
1695
|
-
confirm: z5.boolean().optional(),
|
|
1696
|
-
sessionKey: z5.string().trim().max(512).optional(),
|
|
1697
|
-
namespace: z5.string().trim().max(256).optional()
|
|
1698
|
-
})
|
|
1699
|
-
);
|
|
1700
|
-
var memoryCorrectApplyOperation = defineOperation({
|
|
1701
|
-
name: "memory_correct_apply",
|
|
1702
|
-
description: "Apply a planned memory correction by planId (issue #1580). Requires confirm: true when correction.applyRequiresConfirm is on (default).",
|
|
1703
|
-
schema: memoryCorrectApplySchema,
|
|
1704
|
-
handler: async (input, ctx) => {
|
|
1705
|
-
try {
|
|
1706
|
-
const result = await ctx.service.correctionApply(input.planId, {
|
|
1707
|
-
confirm: input.confirm === true,
|
|
1708
|
-
...input.sessionKey ? { sessionKey: input.sessionKey } : {},
|
|
1709
|
-
...input.namespace ? { namespace: input.namespace } : {},
|
|
1710
|
-
...ctx.authenticatedPrincipal ? { principal: ctx.authenticatedPrincipal } : {},
|
|
1711
|
-
...ctx.abortSignal ? { abortSignal: ctx.abortSignal } : {}
|
|
1712
|
-
});
|
|
1713
|
-
return { result };
|
|
1714
|
-
} catch (err) {
|
|
1715
|
-
if (err instanceof CorrectionContractError) throw new EngramAccessInputError(err.message);
|
|
1716
|
-
throw err;
|
|
1717
|
-
}
|
|
1718
|
-
}
|
|
1719
|
-
});
|
|
1720
|
-
var codegraphIndexOperation = defineOperation({
|
|
1721
|
-
name: "codegraph_index",
|
|
1722
|
-
description: "Codegraph parity tool (issue #1554): index. Delegates to the shared codegraph surface handler.",
|
|
1723
|
-
schema: codegraphSurfaceSchema,
|
|
1724
|
-
handler: async (input, ctx) => {
|
|
1725
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1726
|
-
return { result };
|
|
1727
|
-
}
|
|
1728
|
-
});
|
|
1729
|
-
var codegraphListProjectsOperation = defineOperation({
|
|
1730
|
-
name: "codegraph_list_projects",
|
|
1731
|
-
description: "Codegraph parity tool (issue #1554): list_projects. Delegates to the shared codegraph surface handler.",
|
|
1732
|
-
schema: codegraphSurfaceSchema,
|
|
1733
|
-
handler: async (input, ctx) => {
|
|
1734
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1735
|
-
return { result };
|
|
1736
|
-
}
|
|
1737
|
-
});
|
|
1738
|
-
var codegraphDeleteProjectOperation = defineOperation({
|
|
1739
|
-
name: "codegraph_delete_project",
|
|
1740
|
-
description: "Codegraph parity tool (issue #1554): delete_project. Delegates to the shared codegraph surface handler.",
|
|
1741
|
-
schema: codegraphSurfaceSchema,
|
|
1742
|
-
handler: async (input, ctx) => {
|
|
1743
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1744
|
-
return { result };
|
|
1745
|
-
}
|
|
1746
|
-
});
|
|
1747
|
-
var codegraphIndexStatusOperation = defineOperation({
|
|
1748
|
-
name: "codegraph_index_status",
|
|
1749
|
-
description: "Codegraph parity tool (issue #1554): index_status. Delegates to the shared codegraph surface handler.",
|
|
1750
|
-
schema: codegraphSurfaceSchema,
|
|
1751
|
-
handler: async (input, ctx) => {
|
|
1752
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1753
|
-
return { result };
|
|
1754
|
-
}
|
|
1755
|
-
});
|
|
1756
|
-
var codegraphSearchGraphOperation = defineOperation({
|
|
1757
|
-
name: "codegraph_search_graph",
|
|
1758
|
-
description: "Codegraph parity tool (issue #1554): search_graph. Delegates to the shared codegraph surface handler.",
|
|
1759
|
-
schema: codegraphSurfaceSchema,
|
|
1760
|
-
handler: async (input, ctx) => {
|
|
1761
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1762
|
-
return { result };
|
|
1763
|
-
}
|
|
1764
|
-
});
|
|
1765
|
-
var codegraphTracePathOperation = defineOperation({
|
|
1766
|
-
name: "codegraph_trace_path",
|
|
1767
|
-
description: "Codegraph parity tool (issue #1554): trace_path. Delegates to the shared codegraph surface handler.",
|
|
1768
|
-
schema: codegraphSurfaceSchema,
|
|
1769
|
-
handler: async (input, ctx) => {
|
|
1770
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1771
|
-
return { result };
|
|
1772
|
-
}
|
|
1773
|
-
});
|
|
1774
|
-
var codegraphDetectChangesOperation = defineOperation({
|
|
1775
|
-
name: "codegraph_detect_changes",
|
|
1776
|
-
description: "Codegraph parity tool (issue #1554): detect_changes. Delegates to the shared codegraph surface handler.",
|
|
1777
|
-
schema: codegraphSurfaceSchema,
|
|
1778
|
-
handler: async (input, ctx) => {
|
|
1779
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1780
|
-
return { result };
|
|
1781
|
-
}
|
|
1782
|
-
});
|
|
1783
|
-
var codegraphQueryGraphOperation = defineOperation({
|
|
1784
|
-
name: "codegraph_query_graph",
|
|
1785
|
-
description: "Codegraph parity tool (issue #1554): query_graph. Delegates to the shared codegraph surface handler.",
|
|
1786
|
-
schema: codegraphSurfaceSchema,
|
|
1787
|
-
handler: async (input, ctx) => {
|
|
1788
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1789
|
-
return { result };
|
|
1790
|
-
}
|
|
1791
|
-
});
|
|
1792
|
-
var codegraphGetSchemaOperation = defineOperation({
|
|
1793
|
-
name: "codegraph_get_schema",
|
|
1794
|
-
description: "Codegraph parity tool (issue #1554): get_schema. Delegates to the shared codegraph surface handler.",
|
|
1795
|
-
schema: codegraphSurfaceSchema,
|
|
1796
|
-
handler: async (input, ctx) => {
|
|
1797
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1798
|
-
return { result };
|
|
1799
|
-
}
|
|
1800
|
-
});
|
|
1801
|
-
var codegraphGetSnippetOperation = defineOperation({
|
|
1802
|
-
name: "codegraph_get_snippet",
|
|
1803
|
-
description: "Codegraph parity tool (issue #1554): get_snippet. Delegates to the shared codegraph surface handler.",
|
|
1804
|
-
schema: codegraphSurfaceSchema,
|
|
1805
|
-
handler: async (input, ctx) => {
|
|
1806
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1807
|
-
return { result };
|
|
1808
|
-
}
|
|
1809
|
-
});
|
|
1810
|
-
var codegraphGetArchitectureOperation = defineOperation({
|
|
1811
|
-
name: "codegraph_get_architecture",
|
|
1812
|
-
description: "Codegraph parity tool (issue #1554): get_architecture. Delegates to the shared codegraph surface handler.",
|
|
1813
|
-
schema: codegraphSurfaceSchema,
|
|
1814
|
-
handler: async (input, ctx) => {
|
|
1815
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1816
|
-
return { result };
|
|
1817
|
-
}
|
|
1818
|
-
});
|
|
1819
|
-
var codegraphSearchCodeOperation = defineOperation({
|
|
1820
|
-
name: "codegraph_search_code",
|
|
1821
|
-
description: "Codegraph parity tool (issue #1554): search_code. Delegates to the shared codegraph surface handler.",
|
|
1822
|
-
schema: codegraphSurfaceSchema,
|
|
1823
|
-
handler: async (input, ctx) => {
|
|
1824
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1825
|
-
return { result };
|
|
1826
|
-
}
|
|
1827
|
-
});
|
|
1828
|
-
var codegraphManageAdrOperation = defineOperation({
|
|
1829
|
-
name: "codegraph_manage_adr",
|
|
1830
|
-
description: "Codegraph parity tool (issue #1554): manage_adr. Delegates to the shared codegraph surface handler.",
|
|
1831
|
-
schema: codegraphSurfaceSchema,
|
|
1832
|
-
handler: async (input, ctx) => {
|
|
1833
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1834
|
-
return { result };
|
|
1835
|
-
}
|
|
1836
|
-
});
|
|
1837
|
-
var codegraphIngestTracesOperation = defineOperation({
|
|
1838
|
-
name: "codegraph_ingest_traces",
|
|
1839
|
-
description: "Codegraph parity tool (issue #1554): ingest_traces. Delegates to the shared codegraph surface handler.",
|
|
1840
|
-
schema: codegraphSurfaceSchema,
|
|
1841
|
-
handler: async (input, ctx) => {
|
|
1842
|
-
const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal, ctx.sourceConnector);
|
|
1843
|
-
return { result };
|
|
1844
|
-
}
|
|
1845
|
-
});
|
|
1846
|
-
var REGISTERED_OPERATIONS = [
|
|
1847
|
-
memoryGetOperation.spec.name,
|
|
1848
|
-
memorySearchOperation.spec.name,
|
|
1849
|
-
externalWikiSearchOperation.spec.name,
|
|
1850
|
-
memoryStoreOperation.spec.name,
|
|
1851
|
-
codingDecisionOperation.spec.name,
|
|
1852
|
-
codingArchitectureOperation.spec.name,
|
|
1853
|
-
codegraphIndexOperation.spec.name,
|
|
1854
|
-
codegraphListProjectsOperation.spec.name,
|
|
1855
|
-
codegraphDeleteProjectOperation.spec.name,
|
|
1856
|
-
codegraphIndexStatusOperation.spec.name,
|
|
1857
|
-
codegraphSearchGraphOperation.spec.name,
|
|
1858
|
-
codegraphTracePathOperation.spec.name,
|
|
1859
|
-
codegraphDetectChangesOperation.spec.name,
|
|
1860
|
-
codegraphQueryGraphOperation.spec.name,
|
|
1861
|
-
codegraphGetSchemaOperation.spec.name,
|
|
1862
|
-
codegraphGetSnippetOperation.spec.name,
|
|
1863
|
-
codegraphGetArchitectureOperation.spec.name,
|
|
1864
|
-
codegraphSearchCodeOperation.spec.name,
|
|
1865
|
-
codegraphManageAdrOperation.spec.name,
|
|
1866
|
-
codegraphIngestTracesOperation.spec.name,
|
|
1867
|
-
codingDeltaOperation.spec.name,
|
|
1868
|
-
memoryCorrectPlanOperation.spec.name,
|
|
1869
|
-
memoryCorrectApplyOperation.spec.name
|
|
1870
|
-
];
|
|
1871
|
-
|
|
1872
|
-
export {
|
|
1873
|
-
RELAY_MISSION_SCHEMA_VERSION,
|
|
1874
|
-
RELAY_MISSION_MAX_FILE_BYTES,
|
|
1875
|
-
RELAY_MISSION_MAX_LINE_BYTES,
|
|
1876
|
-
RELAY_MISSION_MAX_EVENTS,
|
|
1877
|
-
RELAY_MISSION_DEFAULT_EVENT_LIMIT,
|
|
1878
|
-
RELAY_MISSION_MAX_EVENT_LIMIT,
|
|
1879
|
-
RelayEvidenceRefSchema,
|
|
1880
|
-
RelayMissionPayloadSchema,
|
|
1881
|
-
RelayMissionEventInputSchema,
|
|
1882
|
-
RelayMissionEventSchema,
|
|
1883
|
-
RelayMissionReadOptionsSchema,
|
|
1884
|
-
RelayMissionStoreError,
|
|
1885
|
-
RelayMissionStore,
|
|
1886
|
-
reduceRelayMission,
|
|
1887
|
-
compareRelayEvents,
|
|
1888
|
-
relayMissionReceiptDigest,
|
|
1889
|
-
appendRelayMissionEvent,
|
|
1890
|
-
readRelayMission,
|
|
1891
|
-
relayMissionAppendOperation,
|
|
1892
|
-
relayMissionReadOperation,
|
|
1893
|
-
memoryGetOperation,
|
|
1894
|
-
memorySearchOperation,
|
|
1895
|
-
memoryStoreOperation,
|
|
1896
|
-
codingDecisionOperation,
|
|
1897
|
-
codingArchitectureOperation,
|
|
1898
|
-
codingDeltaOperation,
|
|
1899
|
-
memoryCorrectPlanOperation,
|
|
1900
|
-
memoryCorrectApplyOperation,
|
|
1901
|
-
codegraphIndexOperation,
|
|
1902
|
-
codegraphListProjectsOperation,
|
|
1903
|
-
codegraphDeleteProjectOperation,
|
|
1904
|
-
codegraphIndexStatusOperation,
|
|
1905
|
-
codegraphSearchGraphOperation,
|
|
1906
|
-
codegraphTracePathOperation,
|
|
1907
|
-
codegraphDetectChangesOperation,
|
|
1908
|
-
codegraphQueryGraphOperation,
|
|
1909
|
-
codegraphGetSchemaOperation,
|
|
1910
|
-
codegraphGetSnippetOperation,
|
|
1911
|
-
codegraphGetArchitectureOperation,
|
|
1912
|
-
codegraphSearchCodeOperation,
|
|
1913
|
-
codegraphManageAdrOperation,
|
|
1914
|
-
codegraphIngestTracesOperation,
|
|
1915
|
-
REGISTERED_OPERATIONS
|
|
1916
|
-
};
|
|
1917
|
-
//# sourceMappingURL=chunk-GRDRVYXJ.js.map
|