@remnic/core 9.50.2 → 9.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +13 -11
- package/dist/access-admin-ops-surface.js +41 -39
- package/dist/access-authorization-probe.d.ts +13 -11
- package/dist/access-authorization-probe.js +42 -40
- package/dist/access-boundary.d.ts +13 -11
- package/dist/access-boundary.js +41 -39
- package/dist/access-cli.js +109 -104
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +3 -1
- package/dist/access-extraction-force-flush.d.ts +13 -11
- package/dist/access-extraction-force-flush.js +41 -39
- package/dist/access-health-types.d.ts +3 -1
- package/dist/access-http-lcm-compaction.d.ts +13 -11
- package/dist/access-http-lifecycle-flush.d.ts +13 -11
- package/dist/access-http-offline-stream.d.ts +13 -11
- package/dist/access-http-query.js +41 -39
- package/dist/access-http.d.ts +13 -11
- package/dist/access-http.js +52 -50
- package/dist/access-identity-continuity-surface.d.ts +11 -9
- package/dist/access-identity-continuity-surface.js +41 -39
- package/dist/access-lcm-surface.d.ts +13 -11
- package/dist/access-lcm-surface.js +41 -39
- package/dist/access-mcp.d.ts +13 -11
- package/dist/access-mcp.js +47 -45
- package/dist/access-memory-search-fanout.d.ts +4 -2
- package/dist/{access-namespace-preflight-Dj2QolFE.d.ts → access-namespace-preflight-Ds6CGlCP.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +5 -3
- package/dist/access-namespace-preflight.js +41 -39
- package/dist/access-observe-write-surface.d.ts +13 -11
- package/dist/access-observe-write-surface.js +41 -39
- package/dist/access-offline-manifest.d.ts +11 -9
- package/dist/access-operations-batch.js +43 -41
- package/dist/access-operations.d.ts +13 -11
- package/dist/access-operations.js +46 -44
- package/dist/access-recall-concurrency.d.ts +13 -11
- package/dist/access-recall-concurrency.js +41 -39
- package/dist/access-recall-response.d.ts +13 -11
- package/dist/access-recall-response.js +41 -39
- package/dist/access-recall-surface.d.ts +13 -11
- package/dist/access-recall-surface.js +41 -39
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-DesbnTSa.d.ts → access-service-BY0KJ44c.d.ts} +7 -7
- package/dist/access-service-helpers.d.ts +13 -11
- package/dist/access-service.d.ts +13 -11
- package/dist/access-service.js +41 -39
- package/dist/access-surface-catalog.d.ts +13 -11
- package/dist/access-wearables-meetings-surface.d.ts +5 -3
- package/dist/action-confidence.d.ts +3 -1
- package/dist/active-memory-bridge.d.ts +3 -1
- package/dist/active-recall.d.ts +3 -1
- package/dist/active-recall.js +5 -3
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/ambient-provenance.d.ts +3 -1
- package/dist/archive-mutation-version.d.ts +9 -0
- package/dist/archive-mutation-version.js +20 -0
- package/dist/artifact-search.d.ts +3 -1
- package/dist/behavior-learner.d.ts +3 -1
- package/dist/behavior-signals.d.ts +3 -1
- package/dist/bootstrap.d.ts +11 -9
- package/dist/briefing.d.ts +4 -2
- package/dist/briefing.js +10 -9
- package/dist/buffer-surprise-report.d.ts +3 -1
- package/dist/buffer-turn-helpers.d.ts +3 -1
- package/dist/buffer.d.ts +4 -2
- package/dist/buffer.js +5 -5
- package/dist/bulk-import/index.d.ts +5 -3
- package/dist/calibration.d.ts +3 -1
- package/dist/capabilities.d.ts +3 -1
- package/dist/{catalog-D-G7RgXR.d.ts → catalog-D3B4RDy1.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +3 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +3 -1
- package/dist/causal-consolidation.js +13 -12
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +4 -2
- package/dist/causal-trajectory-graph.js +2 -1
- package/dist/causal-trajectory-graph.js.map +1 -1
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-KDG2KTWW.js → chunk-33SV3E43.js} +4 -4
- package/dist/{chunk-2HGUDBRJ.js → chunk-37ZO6LLJ.js} +2 -2
- package/dist/{chunk-QW3WFHKU.js → chunk-45BRYON6.js} +2 -2
- package/dist/{chunk-GZICBRWK.js → chunk-4F6X3RXW.js} +2 -2
- package/dist/{chunk-7BAYBYY5.js → chunk-4PC4PRJE.js} +2 -2
- package/dist/{chunk-VJXY5ZCT.js → chunk-52UKFTUK.js} +2 -2
- package/dist/{chunk-ESG7Z255.js → chunk-5UDMFE3Q.js} +2 -2
- package/dist/{chunk-JPHEOE6Z.js → chunk-6MTSFX7A.js} +15 -15
- package/dist/chunk-6ZN34ISG.js +44 -0
- package/dist/chunk-6ZN34ISG.js.map +1 -0
- package/dist/{chunk-M4MP34AQ.js → chunk-AHZOMHWN.js} +1 -1
- package/dist/{chunk-Z3RHPGSY.js → chunk-AIUBBHSF.js} +3 -3
- package/dist/{chunk-S3AYIQCU.js → chunk-AXIDQG5A.js} +12 -12
- package/dist/{chunk-QN7NTKRC.js → chunk-AZ2QBGYB.js} +1 -1
- package/dist/{chunk-47J4EDGR.js → chunk-AZM4CCAC.js} +8 -8
- package/dist/{chunk-IXXABW5A.js → chunk-BHXYAVUM.js} +11 -5
- package/dist/chunk-BHXYAVUM.js.map +1 -0
- package/dist/{chunk-L2DPF4DF.js → chunk-BIJAWZYW.js} +54 -12
- package/dist/chunk-BIJAWZYW.js.map +1 -0
- package/dist/{chunk-LEJPSMKM.js → chunk-C5QLI33R.js} +3 -3
- package/dist/{chunk-SV3PSA7Y.js → chunk-CV6BBVYV.js} +5 -5
- package/dist/{chunk-V7X767RT.js → chunk-DCZBSE4F.js} +52 -52
- package/dist/chunk-FC67T4E6.js +70 -0
- package/dist/chunk-FC67T4E6.js.map +1 -0
- package/dist/{chunk-7PKFPLLZ.js → chunk-FXTYIA46.js} +2 -2
- package/dist/{chunk-64BHFFKZ.js → chunk-HLYR2TQL.js} +5 -5
- package/dist/{chunk-5C2HNJMO.js → chunk-J5LLX6IL.js} +32 -32
- package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
- package/dist/{chunk-PLKFO2HJ.js → chunk-JL43BVDE.js} +2 -2
- package/dist/{chunk-2S72LWKX.js → chunk-JYL3BVVZ.js} +2 -2
- package/dist/{chunk-IPLYGWQF.js → chunk-KQAFEZQX.js} +5 -5
- package/dist/chunk-LXY5VVGM.js +61 -0
- package/dist/chunk-LXY5VVGM.js.map +1 -0
- package/dist/{chunk-PYKKWQZ2.js → chunk-M7BXDKPR.js} +6 -6
- package/dist/{chunk-Z54EM5YZ.js → chunk-MAXVH44E.js} +7 -7
- package/dist/{chunk-LYMNZZIM.js → chunk-NIS256NW.js} +2 -2
- package/dist/{chunk-67QG75MJ.js → chunk-NLK2VZYZ.js} +2 -2
- package/dist/{chunk-A4QMKFFO.js → chunk-O5FFBO2M.js} +14 -28
- package/dist/chunk-O5FFBO2M.js.map +1 -0
- package/dist/{chunk-JYIFGGEM.js → chunk-OUKBMQ2O.js} +2 -2
- package/dist/{chunk-75XOWNRS.js → chunk-OYESWJ43.js} +4 -4
- package/dist/{chunk-TS4AJ2GI.js → chunk-PA45XCUD.js} +3 -3
- package/dist/{chunk-BJYET5TX.js → chunk-PRDJMOST.js} +7 -1
- package/dist/chunk-PRDJMOST.js.map +1 -0
- package/dist/{chunk-4MBPIL4V.js → chunk-PUSLMZBQ.js} +2 -2
- package/dist/{chunk-RVO6TCTU.js → chunk-QCECHYZL.js} +6 -6
- package/dist/{chunk-GFIKG4FR.js → chunk-QGR6OVGT.js} +2 -2
- package/dist/{chunk-NSGU76YO.js → chunk-QHFV6VNU.js} +6 -2
- package/dist/chunk-QHFV6VNU.js.map +1 -0
- package/dist/{chunk-PDEKQWDV.js → chunk-QT2FRYI4.js} +18 -2
- package/dist/chunk-QT2FRYI4.js.map +1 -0
- package/dist/{chunk-HNZKVLAN.js → chunk-S354QO4R.js} +2 -2
- package/dist/{chunk-NO37MR45.js → chunk-SOEN6KCF.js} +2 -2
- package/dist/{chunk-FXX6RQYC.js → chunk-TPTECFWR.js} +2 -2
- package/dist/{chunk-GDDGZVFI.js → chunk-UEVLYVNW.js} +2 -2
- package/dist/{chunk-YQ4IQ2GA.js → chunk-UT5BV5OG.js} +2 -2
- package/dist/{chunk-LAQ33B5D.js → chunk-UU3G6GUP.js} +1 -1
- package/dist/chunk-UU3G6GUP.js.map +1 -0
- package/dist/{chunk-LNTUXKBT.js → chunk-UYYW2KPU.js} +2 -2
- package/dist/{chunk-BOFVT6P3.js → chunk-VBHPOWBJ.js} +175 -98
- package/dist/chunk-VBHPOWBJ.js.map +1 -0
- package/dist/{chunk-QSYL5CXK.js → chunk-VKXWK44Q.js} +3 -3
- package/dist/{chunk-KMWYZTIE.js → chunk-VMMQDEN5.js} +2 -2
- package/dist/{chunk-JB6D7EFB.js → chunk-VVG2BOKA.js} +2 -2
- package/dist/chunk-W5BIQOAJ.js +69 -0
- package/dist/chunk-W5BIQOAJ.js.map +1 -0
- package/dist/{chunk-V5H6OJCR.js → chunk-W5XVQFLM.js} +2 -2
- package/dist/{chunk-OIOZ6MOP.js → chunk-W6FNX2LP.js} +2 -2
- package/dist/{chunk-6QPHF6RR.js → chunk-WQM326GS.js} +2 -2
- package/dist/{chunk-TQFHQPWD.js → chunk-XADV5IZ3.js} +8 -8
- package/dist/{chunk-DATDLJAO.js → chunk-XAPMEU3K.js} +2 -2
- package/dist/chunk-XXSOVESA.js +42 -0
- package/dist/chunk-XXSOVESA.js.map +1 -0
- package/dist/{chunk-IK6X5QPO.js → chunk-ZHY5TMJG.js} +1193 -443
- package/dist/chunk-ZHY5TMJG.js.map +1 -0
- package/dist/{chunk-N3LL5NEU.js → chunk-ZMYDYNI4.js} +2 -2
- package/dist/{cli-D4vvtxjY.d.ts → cli-CnOkH9hA.d.ts} +6 -6
- package/dist/cli.d.ts +15 -13
- package/dist/cli.js +74 -70
- package/dist/coding/pre-action-gate.d.ts +3 -1
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/compounding/engine.d.ts +4 -2
- package/dist/compounding/engine.js +10 -9
- package/dist/compounding/preference-consolidator.d.ts +3 -1
- package/dist/compression-optimizer.d.ts +3 -1
- package/dist/config.d.ts +3 -1
- package/dist/config.js +5 -3
- package/dist/connectors/codex-materialize-runner.d.ts +3 -1
- package/dist/connectors/codex-materialize-runner.js +10 -9
- package/dist/connectors/codex-materialize.d.ts +3 -1
- package/dist/connectors/index.d.ts +3 -1
- package/dist/connectors/index.js +10 -9
- package/dist/consolidation-provenance-check.d.ts +4 -2
- package/dist/consolidation-undo.d.ts +4 -2
- package/dist/contradiction/index.d.ts +4 -2
- package/dist/contradiction-config.d.ts +29 -0
- package/dist/contradiction-config.js +12 -0
- package/dist/contradiction-config.js.map +1 -0
- package/dist/converge-config.d.ts +3 -1
- package/dist/convergence-refresh.d.ts +4 -2
- package/dist/convergence-refresh.js +12 -11
- package/dist/conversation-index/backend.d.ts +3 -1
- package/dist/conversation-index/chunker.d.ts +3 -1
- package/dist/conversation-index/faiss-adapter.d.ts +3 -1
- package/dist/conversation-index/indexer.d.ts +3 -1
- package/dist/conversation-index/search.d.ts +3 -1
- package/dist/corpus-watermark.d.ts +3 -1
- package/dist/corpus-watermark.js +21 -20
- package/dist/day-summary.d.ts +3 -1
- package/dist/delinearize.d.ts +3 -1
- package/dist/dependency-propagation-config.d.ts +3 -1
- package/dist/direct-answer-wiring.d.ts +3 -1
- package/dist/direct-answer.d.ts +3 -1
- package/dist/embedding-fallback.d.ts +3 -1
- package/dist/enrichment/index.d.ts +3 -1
- package/dist/entity-retrieval.d.ts +4 -2
- package/dist/entity-retrieval.js +10 -9
- package/dist/entity-schema.d.ts +3 -1
- package/dist/explicit-capture.d.ts +11 -9
- package/dist/explicit-capture.js +3 -2
- package/dist/external-wiki-access.d.ts +13 -11
- package/dist/external-wiki-access.js +42 -40
- package/dist/external-wiki-collection-registration.d.ts +3 -1
- package/dist/external-wiki-collection.d.ts +3 -1
- package/dist/external-wiki-mcp-tools.d.ts +13 -11
- package/dist/extraction-error-classification.d.ts +3 -1
- package/dist/extraction-faithfulness.d.ts +3 -1
- package/dist/extraction-judge-telemetry.d.ts +3 -1
- package/dist/extraction-judge-training.d.ts +3 -1
- package/dist/extraction-judge.d.ts +3 -1
- package/dist/extraction-liveness.d.ts +3 -1
- package/dist/extraction-normalization.d.ts +3 -1
- package/dist/extraction-prompt.d.ts +3 -1
- package/dist/extraction-source-grounding-rules.d.ts +3 -1
- package/dist/extraction-source-grounding.d.ts +3 -1
- package/dist/extraction.d.ts +3 -1
- package/dist/extraction.js +22 -21
- package/dist/fallback-llm.d.ts +3 -1
- package/dist/graph-444E-DrF.d.ts +349 -0
- package/dist/graph-dashboard-diff.d.ts +4 -2
- package/dist/graph-dashboard-key.d.ts +4 -2
- package/dist/graph-dashboard-parser.d.ts +4 -2
- package/dist/{graph-edge-decay-Z6ENALU2.js → graph-edge-decay-65KMOJWY.js} +4 -3
- package/dist/graph-edge-decay-65KMOJWY.js.map +1 -0
- package/dist/graph-edge-reinforcement.d.ts +4 -2
- package/dist/graph-path-reconstruction.d.ts +10 -0
- package/dist/graph-path-reconstruction.js +12 -0
- package/dist/graph-path-reconstruction.js.map +1 -0
- package/dist/graph-path-scoring-config.d.ts +8 -0
- package/dist/graph-path-scoring-config.js +10 -0
- package/dist/graph-path-scoring-config.js.map +1 -0
- package/dist/graph-path-scoring.d.ts +36 -0
- package/dist/graph-path-scoring.js +11 -0
- package/dist/graph-path-scoring.js.map +1 -0
- package/dist/graph-snapshot.d.ts +4 -2
- package/dist/graph-snapshot.js +3 -2
- package/dist/graph.d.ts +5 -318
- package/dist/graph.js +5 -1
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/importance.d.ts +3 -1
- package/dist/importers/index.d.ts +3 -1
- package/dist/in-flight-reads.d.ts +3 -1
- package/dist/index.d.ts +22 -20
- package/dist/index.js +149 -144
- package/dist/intent.d.ts +3 -1
- package/dist/lcm/engine.d.ts +3 -1
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.d.ts +3 -1
- package/dist/lcm/index.js +6 -6
- package/dist/lcm/tools.d.ts +3 -1
- package/dist/lifecycle.d.ts +3 -1
- package/dist/live-connectors-runner.d.ts +3 -1
- package/dist/local-llm.d.ts +3 -1
- package/dist/local-model-endpoint.d.ts +3 -1
- package/dist/maintenance/memory-governance.d.ts +3 -1
- package/dist/maintenance/memory-governance.js +10 -9
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +4 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -9
- package/dist/maintenance/rebuild-memory-projection.d.ts +4 -2
- package/dist/maintenance/rebuild-memory-projection.js +11 -10
- package/dist/{maintenance-ClmUVpGI.d.ts → maintenance-CKwxpdRx.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +13 -11
- package/dist/memory-action-policy.d.ts +3 -1
- package/dist/memory-cache.d.ts +3 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +3 -1
- package/dist/memory-projection-store.d.ts +3 -1
- package/dist/memory-provenance.d.ts +3 -1
- package/dist/memory-snapshot.d.ts +3 -1
- package/dist/memory-worth-outcomes.d.ts +4 -2
- package/dist/models-json.d.ts +3 -1
- package/dist/namespaces/migrate.d.ts +5 -3
- package/dist/namespaces/migrate.js +20 -19
- package/dist/namespaces/principal.d.ts +3 -1
- package/dist/namespaces/search.d.ts +3 -1
- package/dist/namespaces/search.js +7 -7
- package/dist/namespaces/storage.d.ts +5 -3
- package/dist/namespaces/storage.js +10 -9
- package/dist/native-knowledge.d.ts +3 -1
- package/dist/offline-sync-impression-drain.d.ts +3 -1
- package/dist/operator-doctor-corpus.d.ts +3 -1
- package/dist/operator-doctor-corpus.js +22 -21
- package/dist/operator-doctor-replica.d.ts +3 -1
- package/dist/operator-toolkit.d.ts +6 -4
- package/dist/operator-toolkit.js +33 -29
- package/dist/orchestration/compression-guideline-coordinator.d.ts +4 -2
- package/dist/orchestration/maintenance.d.ts +6 -4
- package/dist/orchestration/maintenance.js +15 -14
- package/dist/{orchestrator-qJ07zI8H.d.ts → orchestrator-BshGam-o.d.ts} +45 -19
- package/dist/orchestrator.d.ts +11 -9
- package/dist/orchestrator.js +109 -104
- package/dist/patterns-cli.d.ts +3 -1
- package/dist/{pipeline-WFCxhHOn.d.ts → pipeline-D21Rs6gW.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +3 -1
- package/dist/proactive-contention.d.ts +3 -1
- package/dist/provenance.d.ts +3 -1
- package/dist/{qmd-5tzkQ44y.d.ts → qmd-Dhle1P4X.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +4 -2
- package/dist/qmd-recall-cache.d.ts +3 -1
- package/dist/qmd.d.ts +4 -2
- package/dist/qmd.js +4 -4
- package/dist/recall-concurrency-config.d.ts +3 -1
- package/dist/recall-disclosure-escalation.d.ts +3 -1
- package/dist/recall-explain-renderer.d.ts +3 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +3 -1
- package/dist/recall-planner-llm.d.ts +3 -1
- package/dist/recall-planner-llm.js +3 -3
- package/dist/recall-state.d.ts +7 -1
- package/dist/recall-state.js +1 -1
- package/dist/recall-tag-filter.d.ts +3 -1
- package/dist/recall-timings.d.ts +3 -1
- package/dist/recall-xray-cli.d.ts +3 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +3 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +7 -1
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/cursor.d.ts +3 -1
- package/dist/reconcile/manifest.d.ts +3 -1
- package/dist/reconcile/plan.d.ts +3 -1
- package/dist/replay/normalizers/chatgpt.d.ts +3 -1
- package/dist/replay/normalizers/claude.d.ts +3 -1
- package/dist/replay/normalizers/openclaw.d.ts +3 -1
- package/dist/replay/normalizers/shared.d.ts +3 -1
- package/dist/replay/runner.d.ts +3 -1
- package/dist/replay/types.d.ts +3 -1
- package/dist/replica-divergence.d.ts +3 -1
- package/dist/replica-peers-config.d.ts +3 -1
- package/dist/resolve-auth-token.d.ts +3 -1
- package/dist/resume-bundles.js +6 -4
- package/dist/retrieval-agents.d.ts +4 -2
- package/dist/retrieval-tiers.d.ts +3 -1
- package/dist/routing/engine.d.ts +3 -1
- package/dist/routing/store.d.ts +3 -1
- package/dist/salvage-envelope.d.ts +3 -1
- package/dist/{scope-profiles--vfXPl3X.d.ts → scope-profiles-NzGPDXLn.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +3 -1
- package/dist/search/factory.d.ts +3 -1
- package/dist/search/factory.js +6 -6
- package/dist/search/index.d.ts +3 -1
- package/dist/search/index.js +12 -12
- package/dist/search/lancedb-backend.d.ts +3 -1
- package/dist/search/meilisearch-backend.d.ts +3 -1
- package/dist/search/noop-backend.d.ts +3 -1
- package/dist/search/orama-backend.d.ts +3 -1
- package/dist/search/port.d.ts +3 -1
- package/dist/search/remote-backend.d.ts +3 -1
- package/dist/{semantic-consolidation-BBDuP9nJ.d.ts → semantic-consolidation-DLDKvyy5.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +4 -2
- package/dist/semantic-consolidation.js +11 -10
- package/dist/semantic-rule-promotion.js +10 -9
- package/dist/semantic-rule-verifier.d.ts +3 -1
- package/dist/semantic-rule-verifier.js +10 -9
- package/dist/{service-B8DtbpCM.d.ts → service-BIgVM7fL.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +3 -1
- package/dist/session-observer-state.d.ts +3 -1
- package/dist/shared-context/manager.d.ts +3 -1
- package/dist/signal.d.ts +3 -1
- package/dist/source-agent-qualifier.d.ts +3 -1
- package/dist/source-agent-qualifier.js +18 -17
- package/dist/{storage-BkYN1RIy.d.ts → storage-CVfGWqCI.d.ts} +7 -6
- package/dist/storage.d.ts +4 -2
- package/dist/storage.js +9 -8
- package/dist/summarizer.d.ts +3 -1
- package/dist/summary-snapshot.d.ts +3 -1
- package/dist/temporal-supersession.d.ts +4 -2
- package/dist/temporal-timeline-recall.d.ts +3 -1
- package/dist/temporal-validity.d.ts +3 -1
- package/dist/threading.d.ts +3 -1
- package/dist/tier-migration.d.ts +4 -2
- package/dist/tier-routing.d.ts +3 -1
- package/dist/topics.d.ts +3 -1
- package/dist/transcript.d.ts +3 -1
- package/dist/transfer/autodetect.js +1 -1
- package/dist/transfer/backup.js +1 -1
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/trust-score-stage.d.ts +3 -1
- package/dist/trust-score.d.ts +3 -1
- package/dist/{types-u2s9j1uD.d.ts → types-CkiDUorT.d.ts} +10 -16
- package/dist/types.d.ts +3 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +3 -1
- package/dist/verified-recall.js +10 -9
- package/dist/write-envelope.d.ts +3 -1
- package/package.json +2 -2
- package/src/archive-mutation-version.ts +59 -0
- package/src/config.test.ts +45 -0
- package/src/config.ts +10 -30
- package/src/contradiction/contradiction.test.ts +86 -1
- package/src/contradiction-config.ts +92 -0
- package/src/graph-path-reconstruction.ts +91 -0
- package/src/graph-path-scoring-config.ts +55 -0
- package/src/graph-path-scoring.test.ts +238 -0
- package/src/graph-path-scoring.ts +77 -0
- package/src/graph.test.ts +225 -5
- package/src/graph.ts +72 -5
- package/src/orchestration/contradiction-linking-coordinator.ts +246 -76
- package/src/orchestration/contradiction-localization.integration.test.ts +1953 -0
- package/src/orchestration/extraction-anchor-snapshot.ts +83 -0
- package/src/orchestration/extraction-persist-deps.ts +8 -2
- package/src/orchestration/extraction-persist.ts +43 -34
- package/src/orchestration/graph-path-state-loader.test.ts +801 -0
- package/src/orchestration/graph-path-state-loader.ts +318 -0
- package/src/orchestration/graph-recall-coordinator.integration.test.ts +1163 -0
- package/src/orchestration/graph-recall-coordinator.ts +206 -29
- package/src/orchestration/graph-recall-seam.ts +19 -0
- package/src/orchestration/recall-internal-deps.ts +7 -13
- package/src/orchestration/recall-internal.ts +5 -0
- package/src/orchestration/recall-introspection.ts +9 -1
- package/src/orchestration/recall-search-pipeline.ts +8 -13
- package/src/orchestration/update-localization.test.ts +784 -0
- package/src/orchestration/update-localization.ts +173 -0
- package/src/orchestrator.ts +19 -18
- package/src/recall-state.test.ts +29 -1
- package/src/recall-state.ts +13 -0
- package/src/recall-xray-renderer.test.ts +45 -0
- package/src/recall-xray-renderer.ts +16 -0
- package/src/recall-xray.ts +13 -0
- package/src/storage/supersession-side-effects.ts +97 -0
- package/src/storage/tombstone-blocked-capture-sync.ts +13 -5
- package/src/storage-contract/cache-coherence.test.ts +299 -0
- package/src/storage.ts +86 -88
- package/src/types.ts +12 -15
- package/dist/chunk-A4QMKFFO.js.map +0 -1
- package/dist/chunk-BJYET5TX.js.map +0 -1
- package/dist/chunk-BOFVT6P3.js.map +0 -1
- package/dist/chunk-IK6X5QPO.js.map +0 -1
- package/dist/chunk-IXXABW5A.js.map +0 -1
- package/dist/chunk-L2DPF4DF.js.map +0 -1
- package/dist/chunk-LAQ33B5D.js.map +0 -1
- package/dist/chunk-NSGU76YO.js.map +0 -1
- package/dist/chunk-PDEKQWDV.js.map +0 -1
- /package/dist/{graph-edge-decay-Z6ENALU2.js.map → archive-mutation-version.js.map} +0 -0
- /package/dist/{chunk-KDG2KTWW.js.map → chunk-33SV3E43.js.map} +0 -0
- /package/dist/{chunk-2HGUDBRJ.js.map → chunk-37ZO6LLJ.js.map} +0 -0
- /package/dist/{chunk-QW3WFHKU.js.map → chunk-45BRYON6.js.map} +0 -0
- /package/dist/{chunk-GZICBRWK.js.map → chunk-4F6X3RXW.js.map} +0 -0
- /package/dist/{chunk-7BAYBYY5.js.map → chunk-4PC4PRJE.js.map} +0 -0
- /package/dist/{chunk-VJXY5ZCT.js.map → chunk-52UKFTUK.js.map} +0 -0
- /package/dist/{chunk-ESG7Z255.js.map → chunk-5UDMFE3Q.js.map} +0 -0
- /package/dist/{chunk-JPHEOE6Z.js.map → chunk-6MTSFX7A.js.map} +0 -0
- /package/dist/{chunk-M4MP34AQ.js.map → chunk-AHZOMHWN.js.map} +0 -0
- /package/dist/{chunk-Z3RHPGSY.js.map → chunk-AIUBBHSF.js.map} +0 -0
- /package/dist/{chunk-S3AYIQCU.js.map → chunk-AXIDQG5A.js.map} +0 -0
- /package/dist/{chunk-QN7NTKRC.js.map → chunk-AZ2QBGYB.js.map} +0 -0
- /package/dist/{chunk-47J4EDGR.js.map → chunk-AZM4CCAC.js.map} +0 -0
- /package/dist/{chunk-LEJPSMKM.js.map → chunk-C5QLI33R.js.map} +0 -0
- /package/dist/{chunk-SV3PSA7Y.js.map → chunk-CV6BBVYV.js.map} +0 -0
- /package/dist/{chunk-V7X767RT.js.map → chunk-DCZBSE4F.js.map} +0 -0
- /package/dist/{chunk-7PKFPLLZ.js.map → chunk-FXTYIA46.js.map} +0 -0
- /package/dist/{chunk-64BHFFKZ.js.map → chunk-HLYR2TQL.js.map} +0 -0
- /package/dist/{chunk-5C2HNJMO.js.map → chunk-J5LLX6IL.js.map} +0 -0
- /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-PLKFO2HJ.js.map → chunk-JL43BVDE.js.map} +0 -0
- /package/dist/{chunk-2S72LWKX.js.map → chunk-JYL3BVVZ.js.map} +0 -0
- /package/dist/{chunk-IPLYGWQF.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-PYKKWQZ2.js.map → chunk-M7BXDKPR.js.map} +0 -0
- /package/dist/{chunk-Z54EM5YZ.js.map → chunk-MAXVH44E.js.map} +0 -0
- /package/dist/{chunk-LYMNZZIM.js.map → chunk-NIS256NW.js.map} +0 -0
- /package/dist/{chunk-67QG75MJ.js.map → chunk-NLK2VZYZ.js.map} +0 -0
- /package/dist/{chunk-JYIFGGEM.js.map → chunk-OUKBMQ2O.js.map} +0 -0
- /package/dist/{chunk-75XOWNRS.js.map → chunk-OYESWJ43.js.map} +0 -0
- /package/dist/{chunk-TS4AJ2GI.js.map → chunk-PA45XCUD.js.map} +0 -0
- /package/dist/{chunk-4MBPIL4V.js.map → chunk-PUSLMZBQ.js.map} +0 -0
- /package/dist/{chunk-RVO6TCTU.js.map → chunk-QCECHYZL.js.map} +0 -0
- /package/dist/{chunk-GFIKG4FR.js.map → chunk-QGR6OVGT.js.map} +0 -0
- /package/dist/{chunk-HNZKVLAN.js.map → chunk-S354QO4R.js.map} +0 -0
- /package/dist/{chunk-NO37MR45.js.map → chunk-SOEN6KCF.js.map} +0 -0
- /package/dist/{chunk-FXX6RQYC.js.map → chunk-TPTECFWR.js.map} +0 -0
- /package/dist/{chunk-GDDGZVFI.js.map → chunk-UEVLYVNW.js.map} +0 -0
- /package/dist/{chunk-YQ4IQ2GA.js.map → chunk-UT5BV5OG.js.map} +0 -0
- /package/dist/{chunk-LNTUXKBT.js.map → chunk-UYYW2KPU.js.map} +0 -0
- /package/dist/{chunk-QSYL5CXK.js.map → chunk-VKXWK44Q.js.map} +0 -0
- /package/dist/{chunk-KMWYZTIE.js.map → chunk-VMMQDEN5.js.map} +0 -0
- /package/dist/{chunk-JB6D7EFB.js.map → chunk-VVG2BOKA.js.map} +0 -0
- /package/dist/{chunk-V5H6OJCR.js.map → chunk-W5XVQFLM.js.map} +0 -0
- /package/dist/{chunk-OIOZ6MOP.js.map → chunk-W6FNX2LP.js.map} +0 -0
- /package/dist/{chunk-6QPHF6RR.js.map → chunk-WQM326GS.js.map} +0 -0
- /package/dist/{chunk-TQFHQPWD.js.map → chunk-XADV5IZ3.js.map} +0 -0
- /package/dist/{chunk-DATDLJAO.js.map → chunk-XAPMEU3K.js.map} +0 -0
- /package/dist/{chunk-N3LL5NEU.js.map → chunk-ZMYDYNI4.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-B7RWBZXW.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VBHPOWBJ.js";
|
|
7
7
|
import {
|
|
8
8
|
getCachedEpisodeMap,
|
|
9
9
|
setCachedEpisodeMap
|
|
@@ -109,4 +109,4 @@ export {
|
|
|
109
109
|
compareVerifiedEpisodeResults,
|
|
110
110
|
searchVerifiedEpisodes
|
|
111
111
|
};
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
112
|
+
//# sourceMappingURL=chunk-FXTYIA46.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
scanSignals
|
|
3
|
+
} from "./chunk-H3FZVNRN.js";
|
|
1
4
|
import {
|
|
2
5
|
bufferTurnArrayIsSuffixOfSnapshot,
|
|
3
6
|
bufferTurnArraysEqual,
|
|
@@ -8,12 +11,9 @@ import {
|
|
|
8
11
|
matchingQueuedExtractionPrefixLength,
|
|
9
12
|
probeWithTimeout
|
|
10
13
|
} from "./chunk-2AD5SXO4.js";
|
|
11
|
-
import {
|
|
12
|
-
scanSignals
|
|
13
|
-
} from "./chunk-H3FZVNRN.js";
|
|
14
14
|
import {
|
|
15
15
|
ExtractionDeadlineError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZMYDYNI4.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePrincipal
|
|
19
19
|
} from "./chunk-3GD2HFR6.js";
|
|
@@ -792,4 +792,4 @@ var SmartBuffer = class {
|
|
|
792
792
|
export {
|
|
793
793
|
SmartBuffer
|
|
794
794
|
};
|
|
795
|
-
//# sourceMappingURL=chunk-
|
|
795
|
+
//# sourceMappingURL=chunk-HLYR2TQL.js.map
|
|
@@ -30,37 +30,37 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
planSessionTranscriptMigration
|
|
32
32
|
} from "./chunk-P5FPO2BR.js";
|
|
33
|
+
import {
|
|
34
|
+
boundRecallContextComposition,
|
|
35
|
+
composeRecallContext
|
|
36
|
+
} from "./chunk-AHVEHR6K.js";
|
|
33
37
|
import {
|
|
34
38
|
decideDisclosureEscalation
|
|
35
39
|
} from "./chunk-H7XKCNR6.js";
|
|
36
40
|
import {
|
|
37
41
|
toRecallExplainJson
|
|
38
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-QT2FRYI4.js";
|
|
39
43
|
import {
|
|
40
44
|
estimateRecallTokens
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import {
|
|
43
|
-
boundRecallContextComposition,
|
|
44
|
-
composeRecallContext
|
|
45
|
-
} from "./chunk-AHVEHR6K.js";
|
|
45
|
+
} from "./chunk-QHFV6VNU.js";
|
|
46
46
|
import {
|
|
47
47
|
readAggregateExtractionWatermark
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import {
|
|
50
|
-
recordObjectiveStateSnapshotsFromObservedMessages
|
|
51
|
-
} from "./chunk-2HIJHXB3.js";
|
|
52
|
-
import {
|
|
53
|
-
objectiveStateStoreOverrideForNamespace
|
|
54
|
-
} from "./chunk-HTP6XRUI.js";
|
|
48
|
+
} from "./chunk-JYL3BVVZ.js";
|
|
55
49
|
import {
|
|
56
50
|
ReplicaDivergenceMonitor
|
|
57
51
|
} from "./chunk-CVILPI77.js";
|
|
58
52
|
import {
|
|
59
53
|
recordMemoryOutcome
|
|
60
54
|
} from "./chunk-EIR5VLIH.js";
|
|
55
|
+
import {
|
|
56
|
+
recordObjectiveStateSnapshotsFromObservedMessages
|
|
57
|
+
} from "./chunk-2HIJHXB3.js";
|
|
58
|
+
import {
|
|
59
|
+
objectiveStateStoreOverrideForNamespace
|
|
60
|
+
} from "./chunk-HTP6XRUI.js";
|
|
61
61
|
import {
|
|
62
62
|
buildGraphSnapshot
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-OUKBMQ2O.js";
|
|
64
64
|
import {
|
|
65
65
|
REDACTION_RULES_SUBDIR
|
|
66
66
|
} from "./chunk-LTHVM4XN.js";
|
|
@@ -84,54 +84,54 @@ import {
|
|
|
84
84
|
persistExplicitCapture,
|
|
85
85
|
queueExplicitCaptureForReview,
|
|
86
86
|
validateExplicitCaptureInput
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-37ZO6LLJ.js";
|
|
88
88
|
import {
|
|
89
89
|
lcmEvidenceIdentity
|
|
90
90
|
} from "./chunk-C37ZRXX7.js";
|
|
91
|
+
import {
|
|
92
|
+
buildProposedActions,
|
|
93
|
+
buildQualityScore,
|
|
94
|
+
groupActionsByStatus,
|
|
95
|
+
listMemoryGovernanceRuns,
|
|
96
|
+
readMemoryGovernanceRunArtifact,
|
|
97
|
+
runMemoryGovernance
|
|
98
|
+
} from "./chunk-TPTECFWR.js";
|
|
91
99
|
import {
|
|
92
100
|
CorpusWatermarkCache,
|
|
93
101
|
computeServiceCorpusCensus
|
|
94
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-NLK2VZYZ.js";
|
|
95
103
|
import {
|
|
96
104
|
namespaceCollectionName
|
|
97
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-VMMQDEN5.js";
|
|
98
106
|
import {
|
|
99
107
|
CrossNamespaceBudget,
|
|
100
108
|
toBudgetWarning
|
|
101
109
|
} from "./chunk-UFGFMWAD.js";
|
|
102
|
-
import {
|
|
103
|
-
buildProposedActions,
|
|
104
|
-
buildQualityScore,
|
|
105
|
-
groupActionsByStatus,
|
|
106
|
-
listMemoryGovernanceRuns,
|
|
107
|
-
readMemoryGovernanceRunArtifact,
|
|
108
|
-
runMemoryGovernance
|
|
109
|
-
} from "./chunk-FXX6RQYC.js";
|
|
110
110
|
import {
|
|
111
111
|
defaultCapsulesDir
|
|
112
112
|
} from "./chunk-ZY2MNJR6.js";
|
|
113
113
|
import {
|
|
114
114
|
filterTrajectoriesByLookbackDays,
|
|
115
115
|
readCausalTrajectoryRecords
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-AHZOMHWN.js";
|
|
117
117
|
import {
|
|
118
118
|
FileCalendarSource,
|
|
119
119
|
buildBriefing,
|
|
120
120
|
enqueuePassiveCorrectionNotification,
|
|
121
121
|
parseBriefingFocus,
|
|
122
122
|
parseBriefingWindow
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-52UKFTUK.js";
|
|
124
124
|
import {
|
|
125
125
|
parseEntityFile,
|
|
126
126
|
parseFrontmatter,
|
|
127
127
|
qmdCollectionPathParts,
|
|
128
128
|
qmdResultPathCandidates,
|
|
129
129
|
selfDeps
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-VBHPOWBJ.js";
|
|
131
131
|
import {
|
|
132
132
|
DEFAULT_RECALL_DISCLOSURE,
|
|
133
133
|
isRecallDisclosure
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-UU3G6GUP.js";
|
|
135
135
|
import {
|
|
136
136
|
normalizeProjectionPreview,
|
|
137
137
|
normalizeProjectionTags
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
isActivityDigestPath,
|
|
163
163
|
isArtifactMemoryPath,
|
|
164
164
|
isMeetingRecordPath
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-ZMYDYNI4.js";
|
|
166
166
|
import {
|
|
167
167
|
ExtractionLivenessWarnThrottle,
|
|
168
168
|
computeExtractionLivenessStatus
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
} from "./chunk-JAKIDQB2.js";
|
|
180
180
|
import {
|
|
181
181
|
exportCapsule
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-KQAFEZQX.js";
|
|
183
183
|
import {
|
|
184
184
|
evaluateActionConfidence
|
|
185
185
|
} from "./chunk-Z2YFLXHU.js";
|
|
@@ -13523,4 +13523,4 @@ export {
|
|
|
13523
13523
|
EngramAccessService,
|
|
13524
13524
|
AccessAdminOpsSurface
|
|
13525
13525
|
};
|
|
13526
|
-
//# sourceMappingURL=chunk-
|
|
13526
|
+
//# sourceMappingURL=chunk-J5LLX6IL.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ReplitAdapter
|
|
3
|
+
} from "./chunk-TMSXWOBZ.js";
|
|
1
4
|
import {
|
|
2
5
|
ClaudeCodeAdapter
|
|
3
6
|
} from "./chunk-J64TK33U.js";
|
|
@@ -7,9 +10,6 @@ import {
|
|
|
7
10
|
import {
|
|
8
11
|
HermesAdapter
|
|
9
12
|
} from "./chunk-42NQ7AVG.js";
|
|
10
|
-
import {
|
|
11
|
-
ReplitAdapter
|
|
12
|
-
} from "./chunk-TMSXWOBZ.js";
|
|
13
13
|
|
|
14
14
|
// src/adapters/registry.ts
|
|
15
15
|
var AdapterRegistry = class {
|
|
@@ -53,4 +53,4 @@ var AdapterRegistry = class {
|
|
|
53
53
|
export {
|
|
54
54
|
AdapterRegistry
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-JBPKEARU.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7T4TOGMS.js";
|
|
4
4
|
import {
|
|
5
5
|
defineOperation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J5LLX6IL.js";
|
|
7
7
|
|
|
8
8
|
// src/external-wiki-access.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -26,4 +26,4 @@ var externalWikiSearchOperation = defineOperation({
|
|
|
26
26
|
export {
|
|
27
27
|
externalWikiSearchOperation
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-JL43BVDE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCorpusNamespaceRoots
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NLK2VZYZ.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeNamespaceIdentity
|
|
6
6
|
} from "./chunk-EGGE52UU.js";
|
|
@@ -200,4 +200,4 @@ async function readAggregateExtractionWatermark(options) {
|
|
|
200
200
|
export {
|
|
201
201
|
readAggregateExtractionWatermark
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chunk-
|
|
203
|
+
//# sourceMappingURL=chunk-JYL3BVVZ.js.map
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CAPSULE_SCHEMA_VERSION,
|
|
3
|
-
EXPORT_FORMAT
|
|
4
|
-
} from "./chunk-J4EB7DNW.js";
|
|
5
1
|
import {
|
|
6
2
|
CAPSULE_ID_PATTERN,
|
|
7
3
|
CapsuleBlockSchema,
|
|
@@ -11,6 +7,10 @@ import {
|
|
|
11
7
|
import {
|
|
12
8
|
encryptCapsuleFile
|
|
13
9
|
} from "./chunk-X7Y7WX73.js";
|
|
10
|
+
import {
|
|
11
|
+
CAPSULE_SCHEMA_VERSION,
|
|
12
|
+
EXPORT_FORMAT
|
|
13
|
+
} from "./chunk-J4EB7DNW.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_TRANSFER_EXCLUDE_DIRS,
|
|
16
16
|
computeTransferOutputRel
|
|
@@ -261,4 +261,4 @@ export {
|
|
|
261
261
|
exportCapsule,
|
|
262
262
|
isValidCapsuleSince
|
|
263
263
|
};
|
|
264
|
-
//# sourceMappingURL=chunk-
|
|
264
|
+
//# sourceMappingURL=chunk-KQAFEZQX.js.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// src/graph-path-reconstruction.ts
|
|
2
|
+
function compareActivationPathCandidates(left, right) {
|
|
3
|
+
if (left.hopDepth !== right.hopDepth) return right.hopDepth - left.hopDepth;
|
|
4
|
+
if (left.landingStrength !== right.landingStrength) return left.landingStrength - right.landingStrength;
|
|
5
|
+
if (left.pathKey === right.pathKey) return 0;
|
|
6
|
+
return left.pathKey < right.pathKey ? 1 : -1;
|
|
7
|
+
}
|
|
8
|
+
var ActivationPathTracker = class {
|
|
9
|
+
predecessors = /* @__PURE__ */ new Map();
|
|
10
|
+
winners = /* @__PURE__ */ new Map();
|
|
11
|
+
pathKeys = /* @__PURE__ */ new Map();
|
|
12
|
+
constructor(seeds) {
|
|
13
|
+
for (const seed of seeds) {
|
|
14
|
+
this.pathKeys.set(`${seed}\0${seed}`, seed);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
consider(seed, node, neighbor, hopDepth, landingStrength, edgeConfidence, graphType) {
|
|
18
|
+
const sourcePathKey = this.pathKeys.get(`${seed}\0${node}`);
|
|
19
|
+
if (!sourcePathKey) return "";
|
|
20
|
+
const key = `${seed}\0${neighbor}`;
|
|
21
|
+
const pathKey = `${sourcePathKey}\0${neighbor}`;
|
|
22
|
+
const candidate = { hopDepth, landingStrength, pathKey };
|
|
23
|
+
const previous = this.winners.get(key);
|
|
24
|
+
if (!previous || compareActivationPathCandidates(candidate, previous) > 0) {
|
|
25
|
+
this.winners.set(key, candidate);
|
|
26
|
+
this.pathKeys.set(key, pathKey);
|
|
27
|
+
this.predecessors.set(key, { prev: node, edgeConfidence, graphType });
|
|
28
|
+
}
|
|
29
|
+
return pathKey;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
function reconstructActivationPath(seed, candidate, predecessors, maxSteps) {
|
|
33
|
+
const nodeIds = [candidate];
|
|
34
|
+
const edgeConfidences = [];
|
|
35
|
+
const graphTypes = [];
|
|
36
|
+
let current = candidate;
|
|
37
|
+
const stepCap = Number.isFinite(maxSteps) ? Math.max(0, Math.ceil(maxSteps)) : predecessors.size + 1;
|
|
38
|
+
for (let step = 0; step < stepCap && current !== seed; step += 1) {
|
|
39
|
+
const predecessor = predecessors.get(`${seed}\0${current}`);
|
|
40
|
+
if (!predecessor) return null;
|
|
41
|
+
nodeIds.push(predecessor.prev);
|
|
42
|
+
edgeConfidences.push(predecessor.edgeConfidence);
|
|
43
|
+
graphTypes.push(predecessor.graphType);
|
|
44
|
+
current = predecessor.prev;
|
|
45
|
+
}
|
|
46
|
+
if (current !== seed) return null;
|
|
47
|
+
nodeIds.reverse();
|
|
48
|
+
edgeConfidences.reverse();
|
|
49
|
+
graphTypes.reverse();
|
|
50
|
+
if (edgeConfidences.length !== nodeIds.length - 1 || graphTypes.length !== nodeIds.length - 1) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return { nodeIds, edgeConfidences, graphTypes };
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
compareActivationPathCandidates,
|
|
58
|
+
ActivationPathTracker,
|
|
59
|
+
reconstructActivationPath
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=chunk-LXY5VVGM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/graph-path-reconstruction.ts"],"sourcesContent":["import type { ActivationPath, GraphType } from \"./graph.js\";\n\nexport interface ActivationPredecessor {\n prev: string;\n edgeConfidence: number;\n graphType: GraphType;\n}\n\nexport interface ActivationPathCandidate {\n hopDepth: number;\n landingStrength: number;\n pathKey: string;\n}\n\n/** Compare path winners: fewer hops, stronger landing, then lexical path order. */\nexport function compareActivationPathCandidates(\n left: ActivationPathCandidate,\n right: ActivationPathCandidate,\n): number {\n if (left.hopDepth !== right.hopDepth) return right.hopDepth - left.hopDepth;\n if (left.landingStrength !== right.landingStrength) return left.landingStrength - right.landingStrength;\n if (left.pathKey === right.pathKey) return 0;\n return left.pathKey < right.pathKey ? 1 : -1;\n}\n\nexport class ActivationPathTracker {\n readonly predecessors = new Map<string, ActivationPredecessor>();\n private readonly winners = new Map<string, ActivationPathCandidate>();\n private readonly pathKeys = new Map<string, string>();\n\n constructor(seeds: Iterable<string>) {\n for (const seed of seeds) {\n this.pathKeys.set(`${seed}\\0${seed}`, seed);\n }\n }\n\n consider(\n seed: string,\n node: string,\n neighbor: string,\n hopDepth: number,\n landingStrength: number,\n edgeConfidence: number,\n graphType: GraphType,\n ): string {\n const sourcePathKey = this.pathKeys.get(`${seed}\\0${node}`);\n if (!sourcePathKey) return \"\";\n\n const key = `${seed}\\0${neighbor}`;\n const pathKey = `${sourcePathKey}\\0${neighbor}`;\n const candidate: ActivationPathCandidate = { hopDepth, landingStrength, pathKey };\n const previous = this.winners.get(key);\n if (!previous || compareActivationPathCandidates(candidate, previous) > 0) {\n this.winners.set(key, candidate);\n this.pathKeys.set(key, pathKey);\n this.predecessors.set(key, { prev: node, edgeConfidence, graphType });\n }\n return pathKey;\n }\n}\nexport function reconstructActivationPath(\n seed: string,\n candidate: string,\n predecessors: Map<string, ActivationPredecessor>,\n maxSteps: number,\n): ActivationPath | null {\n const nodeIds = [candidate];\n const edgeConfidences: number[] = [];\n const graphTypes: GraphType[] = [];\n let current = candidate;\n const stepCap = Number.isFinite(maxSteps)\n ? Math.max(0, Math.ceil(maxSteps))\n : predecessors.size + 1;\n for (let step = 0; step < stepCap && current !== seed; step += 1) {\n const predecessor = predecessors.get(`${seed}\\0${current}`);\n if (!predecessor) return null;\n nodeIds.push(predecessor.prev);\n edgeConfidences.push(predecessor.edgeConfidence);\n graphTypes.push(predecessor.graphType);\n current = predecessor.prev;\n }\n\n if (current !== seed) return null;\n nodeIds.reverse();\n edgeConfidences.reverse();\n graphTypes.reverse();\n if (edgeConfidences.length !== nodeIds.length - 1 || graphTypes.length !== nodeIds.length - 1) {\n return null;\n }\n return { nodeIds, edgeConfidences, graphTypes };\n}\n"],"mappings":";AAeO,SAAS,gCACd,MACA,OACQ;AACR,MAAI,KAAK,aAAa,MAAM,SAAU,QAAO,MAAM,WAAW,KAAK;AACnE,MAAI,KAAK,oBAAoB,MAAM,gBAAiB,QAAO,KAAK,kBAAkB,MAAM;AACxF,MAAI,KAAK,YAAY,MAAM,QAAS,QAAO;AAC3C,SAAO,KAAK,UAAU,MAAM,UAAU,IAAI;AAC5C;AAEO,IAAM,wBAAN,MAA4B;AAAA,EACxB,eAAe,oBAAI,IAAmC;AAAA,EAC9C,UAAU,oBAAI,IAAqC;AAAA,EACnD,WAAW,oBAAI,IAAoB;AAAA,EAEpD,YAAY,OAAyB;AACnC,eAAW,QAAQ,OAAO;AACxB,WAAK,SAAS,IAAI,GAAG,IAAI,KAAK,IAAI,IAAI,IAAI;AAAA,IAC5C;AAAA,EACF;AAAA,EAEA,SACE,MACA,MACA,UACA,UACA,iBACA,gBACA,WACQ;AACR,UAAM,gBAAgB,KAAK,SAAS,IAAI,GAAG,IAAI,KAAK,IAAI,EAAE;AAC1D,QAAI,CAAC,cAAe,QAAO;AAE3B,UAAM,MAAM,GAAG,IAAI,KAAK,QAAQ;AAChC,UAAM,UAAU,GAAG,aAAa,KAAK,QAAQ;AAC7C,UAAM,YAAqC,EAAE,UAAU,iBAAiB,QAAQ;AAChF,UAAM,WAAW,KAAK,QAAQ,IAAI,GAAG;AACrC,QAAI,CAAC,YAAY,gCAAgC,WAAW,QAAQ,IAAI,GAAG;AACzE,WAAK,QAAQ,IAAI,KAAK,SAAS;AAC/B,WAAK,SAAS,IAAI,KAAK,OAAO;AAC9B,WAAK,aAAa,IAAI,KAAK,EAAE,MAAM,MAAM,gBAAgB,UAAU,CAAC;AAAA,IACtE;AACA,WAAO;AAAA,EACT;AACF;AACO,SAAS,0BACd,MACA,WACA,cACA,UACuB;AACvB,QAAM,UAAU,CAAC,SAAS;AAC1B,QAAM,kBAA4B,CAAC;AACnC,QAAM,aAA0B,CAAC;AACjC,MAAI,UAAU;AACd,QAAM,UAAU,OAAO,SAAS,QAAQ,IACpC,KAAK,IAAI,GAAG,KAAK,KAAK,QAAQ,CAAC,IAC/B,aAAa,OAAO;AACxB,WAAS,OAAO,GAAG,OAAO,WAAW,YAAY,MAAM,QAAQ,GAAG;AAChE,UAAM,cAAc,aAAa,IAAI,GAAG,IAAI,KAAK,OAAO,EAAE;AAC1D,QAAI,CAAC,YAAa,QAAO;AACzB,YAAQ,KAAK,YAAY,IAAI;AAC7B,oBAAgB,KAAK,YAAY,cAAc;AAC/C,eAAW,KAAK,YAAY,SAAS;AACrC,cAAU,YAAY;AAAA,EACxB;AAEA,MAAI,YAAY,KAAM,QAAO;AAC7B,UAAQ,QAAQ;AAChB,kBAAgB,QAAQ;AACxB,aAAW,QAAQ;AACnB,MAAI,gBAAgB,WAAW,QAAQ,SAAS,KAAK,WAAW,WAAW,QAAQ,SAAS,GAAG;AAC7F,WAAO;AAAA,EACT;AACA,SAAO,EAAE,SAAS,iBAAiB,WAAW;AAChD;","names":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runGraphEdgeDecayMaintenanceAcrossNamespaces
|
|
3
|
+
} from "./chunk-S354QO4R.js";
|
|
1
4
|
import {
|
|
2
5
|
normalizeDreamsStatusWindowHours
|
|
3
6
|
} from "./chunk-EQWEIIKQ.js";
|
|
4
|
-
import {
|
|
5
|
-
runGraphEdgeDecayMaintenanceAcrossNamespaces
|
|
6
|
-
} from "./chunk-HNZKVLAN.js";
|
|
7
7
|
import {
|
|
8
8
|
runContradictionScan
|
|
9
9
|
} from "./chunk-UTRO5UJU.js";
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
defineOperation,
|
|
29
29
|
parseNamespacePreflightWriteOp,
|
|
30
30
|
resolveAuthorizedNamespaceWritablePreflight
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-J5LLX6IL.js";
|
|
32
32
|
import {
|
|
33
33
|
validateBriefingFormat
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-52UKFTUK.js";
|
|
35
35
|
import {
|
|
36
36
|
enforceNamespaceAllowList,
|
|
37
37
|
tokenCapabilityStore
|
|
@@ -494,4 +494,4 @@ defineOperation({ name: "graph_events", description: "SSE graph events.", schema
|
|
|
494
494
|
defineOperation({ name: "chat_message", description: "Chat message.", schema: strictSchema({ message: S.str, chatSessionId: S.str }), handler: async (_i, _ctx) => ({ result: { ok: true } }) });
|
|
495
495
|
defineOperation({ name: "chat_events", description: "SSE chat events.", schema: strictSchema({}), handler: async (_i, _ctx) => ({ result: { stream: "sse" } }) });
|
|
496
496
|
defineOperation({ name: "adapters_status", description: "Adapter registry metadata (issue #1850 round 5). Marker op: the HTTP transport builds the response from its own adapterRegistry, but the op still must be registered so it appears in listRegisteredOperations and enforceTokenOp can gate it for scoped tokens.", schema: strictSchema({}), handler: async (_i, _ctx) => ({ result: { ok: true } }) });
|
|
497
|
-
//# sourceMappingURL=chunk-
|
|
497
|
+
//# sourceMappingURL=chunk-M7BXDKPR.js.map
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LcmWorkQueue
|
|
3
|
-
} from "./chunk-TPDBFYEG.js";
|
|
4
|
-
import {
|
|
5
|
-
assembleCompressedHistoryWithTrace
|
|
6
|
-
} from "./chunk-UXPUUL3G.js";
|
|
7
1
|
import {
|
|
8
2
|
ensureLcmStateDir,
|
|
9
3
|
openLcmDatabase
|
|
@@ -17,6 +11,12 @@ import {
|
|
|
17
11
|
import {
|
|
18
12
|
LcmDag
|
|
19
13
|
} from "./chunk-7N4KAIGN.js";
|
|
14
|
+
import {
|
|
15
|
+
LcmWorkQueue
|
|
16
|
+
} from "./chunk-TPDBFYEG.js";
|
|
17
|
+
import {
|
|
18
|
+
assembleCompressedHistoryWithTrace
|
|
19
|
+
} from "./chunk-UXPUUL3G.js";
|
|
20
20
|
import {
|
|
21
21
|
log
|
|
22
22
|
} from "./chunk-3WCASNQZ.js";
|
|
@@ -526,4 +526,4 @@ export {
|
|
|
526
526
|
extractLcmConfig,
|
|
527
527
|
LcmEngine
|
|
528
528
|
};
|
|
529
|
-
//# sourceMappingURL=chunk-
|
|
529
|
+
//# sourceMappingURL=chunk-MAXVH44E.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isValidCapsuleSince
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KQAFEZQX.js";
|
|
4
4
|
import {
|
|
5
5
|
CAPSULE_ID_PATTERN
|
|
6
6
|
} from "./chunk-WEHSQBFR.js";
|
|
@@ -475,4 +475,4 @@ export {
|
|
|
475
475
|
actionConfidenceRequestSchema,
|
|
476
476
|
validateRequest
|
|
477
477
|
};
|
|
478
|
-
//# sourceMappingURL=chunk-
|
|
478
|
+
//# sourceMappingURL=chunk-NIS256NW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listNamespaces
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PA45XCUD.js";
|
|
4
4
|
import {
|
|
5
5
|
capabilityAllowsNamespace
|
|
6
6
|
} from "./chunk-MZWSOLMT.js";
|
|
@@ -282,4 +282,4 @@ export {
|
|
|
282
282
|
computeServiceCorpusWatermarks,
|
|
283
283
|
computeServiceCorpusCensus
|
|
284
284
|
};
|
|
285
|
-
//# sourceMappingURL=chunk-
|
|
285
|
+
//# sourceMappingURL=chunk-NLK2VZYZ.js.map
|
|
@@ -11,6 +11,9 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
parseRecallConcurrencyConfig
|
|
13
13
|
} from "./chunk-6ZMAMSHS.js";
|
|
14
|
+
import {
|
|
15
|
+
parseGraphPathScoringConfig
|
|
16
|
+
} from "./chunk-6ZN34ISG.js";
|
|
14
17
|
import {
|
|
15
18
|
parseCorrectionIntentConfig,
|
|
16
19
|
parseFaithfulnessGateConfig
|
|
@@ -18,13 +21,17 @@ import {
|
|
|
18
21
|
import {
|
|
19
22
|
parseExternalWikiRoots
|
|
20
23
|
} from "./chunk-NLDVVWCL.js";
|
|
24
|
+
import {
|
|
25
|
+
parseDependencyPropagationConfig
|
|
26
|
+
} from "./chunk-VUDMT5CP.js";
|
|
21
27
|
import {
|
|
22
28
|
resolveEmitLegacyTools,
|
|
23
29
|
resolveNamespaceCatalogEnabled
|
|
24
30
|
} from "./chunk-OO42R444.js";
|
|
25
31
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
32
|
+
parseContradictionLocalizationConfig,
|
|
33
|
+
parseContradictionScanConfig
|
|
34
|
+
} from "./chunk-FC67T4E6.js";
|
|
28
35
|
import {
|
|
29
36
|
parseQmdChunkStrategy,
|
|
30
37
|
parseQmdDaemonTimeoutMs,
|
|
@@ -1420,31 +1427,6 @@ function normalizeMemoryRelativeDir(raw, fallback) {
|
|
|
1420
1427
|
const normalized = trimmed.replace(/\\/g, "/").split("/").filter((segment) => segment.length > 0 && segment !== "." && segment !== "..").join("/");
|
|
1421
1428
|
return normalized.length > 0 ? normalized : fallback;
|
|
1422
1429
|
}
|
|
1423
|
-
function parseContradictionScanConfig(raw) {
|
|
1424
|
-
if (!raw || typeof raw !== "object") {
|
|
1425
|
-
return {
|
|
1426
|
-
enabled: false,
|
|
1427
|
-
similarityFloor: 0.82,
|
|
1428
|
-
topicOverlapFloor: 0.4,
|
|
1429
|
-
maxPairsPerRun: 500,
|
|
1430
|
-
cooldownDays: 14,
|
|
1431
|
-
autoMergeDuplicates: false
|
|
1432
|
-
};
|
|
1433
|
-
}
|
|
1434
|
-
const src = raw;
|
|
1435
|
-
const simFloor = coerceNumber(src.similarityFloor) ?? 0.82;
|
|
1436
|
-
const topicFloor = coerceNumber(src.topicOverlapFloor) ?? 0.4;
|
|
1437
|
-
const maxPairs = coerceNumber(src.maxPairsPerRun) ?? 500;
|
|
1438
|
-
const cooldown = coerceNumber(src.cooldownDays) ?? 14;
|
|
1439
|
-
return {
|
|
1440
|
-
enabled: coerceBool(src.enabled) === true,
|
|
1441
|
-
similarityFloor: Math.min(1, Math.max(0, simFloor)),
|
|
1442
|
-
topicOverlapFloor: Math.min(1, Math.max(0, topicFloor)),
|
|
1443
|
-
maxPairsPerRun: Math.max(1, maxPairs),
|
|
1444
|
-
cooldownDays: Math.max(0, cooldown),
|
|
1445
|
-
autoMergeDuplicates: coerceBool(src.autoMergeDuplicates) === true
|
|
1446
|
-
};
|
|
1447
|
-
}
|
|
1448
1430
|
function parseSemanticChunkingConfig(raw) {
|
|
1449
1431
|
if (!raw || typeof raw !== "object") return {};
|
|
1450
1432
|
const src = raw;
|
|
@@ -2144,6 +2126,7 @@ function parseConfig(raw, rawOperatorConfig, runtimeSet) {
|
|
|
2144
2126
|
// Off by default initially
|
|
2145
2127
|
contradictionSimilarityThreshold: typeof cfg.contradictionSimilarityThreshold === "number" ? cfg.contradictionSimilarityThreshold : 0.7,
|
|
2146
2128
|
contradictionMinConfidence: typeof cfg.contradictionMinConfidence === "number" ? cfg.contradictionMinConfidence : 0.9,
|
|
2129
|
+
contradictionLocalization: parseContradictionLocalizationConfig(cfg.contradictionLocalization),
|
|
2147
2130
|
contradictionAutoResolve: cfg.contradictionAutoResolve !== false,
|
|
2148
2131
|
// Contradiction Scan cron (issue #520)
|
|
2149
2132
|
contradictionScan: parseContradictionScanConfig(cfg.contradictionScan),
|
|
@@ -3301,6 +3284,9 @@ function parseConfig(raw, rawOperatorConfig, runtimeSet) {
|
|
|
3301
3284
|
causalGraphEnabled: cfg.causalGraphEnabled !== false,
|
|
3302
3285
|
maxGraphTraversalSteps: typeof cfg.maxGraphTraversalSteps === "number" ? Math.max(0, cfg.maxGraphTraversalSteps) : 3,
|
|
3303
3286
|
graphActivationDecay: typeof cfg.graphActivationDecay === "number" ? Math.min(1, Math.max(0, cfg.graphActivationDecay)) : 0.7,
|
|
3287
|
+
graphPathScoring: parseGraphPathScoringConfig(
|
|
3288
|
+
cfg.graphPathScoring
|
|
3289
|
+
),
|
|
3304
3290
|
graphExpansionActivationWeight: typeof cfg.graphExpansionActivationWeight === "number" ? Math.min(1, Math.max(0, cfg.graphExpansionActivationWeight)) : 0.65,
|
|
3305
3291
|
graphExpansionBlendMin: typeof cfg.graphExpansionBlendMin === "number" ? Math.min(1, Math.max(0, cfg.graphExpansionBlendMin)) : 0.05,
|
|
3306
3292
|
graphExpansionBlendMax: typeof cfg.graphExpansionBlendMax === "number" ? Math.min(1, Math.max(0, cfg.graphExpansionBlendMax)) : 0.95,
|
|
@@ -3979,4 +3965,4 @@ export {
|
|
|
3979
3965
|
VALID_MEMORY_CATEGORIES,
|
|
3980
3966
|
parseConfig
|
|
3981
3967
|
};
|
|
3982
|
-
//# sourceMappingURL=chunk-
|
|
3968
|
+
//# sourceMappingURL=chunk-O5FFBO2M.js.map
|