@remnic/core 9.7.8 → 9.7.10
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 +6 -6
- package/dist/access-admin-ops-surface.js +32 -30
- package/dist/access-audit.js +2 -2
- package/dist/access-boundary.d.ts +6 -6
- package/dist/access-boundary.js +33 -31
- package/dist/access-cli.js +92 -90
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +6 -6
- package/dist/access-http.js +40 -38
- package/dist/access-identity-continuity-surface.d.ts +5 -5
- package/dist/access-identity-continuity-surface.js +32 -30
- package/dist/access-lcm-surface.d.ts +6 -6
- package/dist/access-lcm-surface.js +32 -30
- package/dist/access-mcp.d.ts +6 -6
- package/dist/access-mcp.js +37 -35
- package/dist/access-observe-write-surface.d.ts +6 -6
- package/dist/access-observe-write-surface.js +32 -30
- package/dist/access-operations-batch.js +35 -33
- package/dist/access-operations.d.ts +9 -9
- package/dist/access-operations.js +36 -34
- package/dist/access-recall-surface.d.ts +6 -6
- package/dist/access-recall-surface.js +32 -30
- package/dist/access-schema.d.ts +64 -64
- package/dist/{access-service-CxDZXTKt.d.ts → access-service-DSuzikHQ.d.ts} +4 -4
- package/dist/access-service.d.ts +6 -6
- package/dist/access-service.js +32 -30
- package/dist/access-surface-catalog.d.ts +6 -6
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/{auto-sync-676N6N6Y.js → auto-sync-AAMTVZMK.js} +5 -5
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +5 -5
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +15 -13
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/calibration.js +2 -2
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-merge-GK5E647P.js → capsule-merge-Z2HUO6IK.js} +10 -2
- package/dist/capsule-merge-Z2HUO6IK.js.map +1 -0
- package/dist/{catalog-DzU9HowE.d.ts → catalog-BNwjACa5.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +16 -14
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-HHAA35A3.js → chunk-2VN4JAX7.js} +548 -161
- package/dist/chunk-2VN4JAX7.js.map +1 -0
- package/dist/{chunk-CNWC274T.js → chunk-3OQ4IZJN.js} +28 -28
- package/dist/{chunk-JO5AT6QT.js → chunk-3ZVFLMFQ.js} +1 -1
- package/dist/chunk-3ZVFLMFQ.js.map +1 -0
- package/dist/{chunk-7XH7VJN4.js → chunk-5S7Z5SHA.js} +2 -2
- package/dist/{chunk-WKE4VXSZ.js → chunk-673NPXE3.js} +2 -2
- package/dist/{chunk-Q6JPMCPO.js → chunk-7CKS4AXY.js} +63 -58
- package/dist/chunk-7CKS4AXY.js.map +1 -0
- package/dist/{chunk-UHGHTOR5.js → chunk-7EX4YOKH.js} +7 -7
- package/dist/{chunk-TVVEYCNW.js → chunk-7K5Q6COX.js} +4 -4
- package/dist/{chunk-EJCVMPIM.js → chunk-7LMEY5KZ.js} +15 -1
- package/dist/chunk-7LMEY5KZ.js.map +1 -0
- package/dist/{chunk-3F4N4WDH.js → chunk-AHLPZ2SF.js} +2 -2
- package/dist/{chunk-6C35R7P4.js → chunk-DJCKXI4M.js} +2 -2
- package/dist/{chunk-AD2KK5MT.js → chunk-DLWYAN6A.js} +9 -3
- package/dist/chunk-DLWYAN6A.js.map +1 -0
- package/dist/{chunk-TVRPRFUB.js → chunk-EQF5763Z.js} +9 -7
- package/dist/chunk-EQF5763Z.js.map +1 -0
- package/dist/{chunk-FYKIEOG6.js → chunk-FNJX2O6G.js} +3 -3
- package/dist/{chunk-DQPPRXFO.js → chunk-HQ7QZJM5.js} +2 -2
- package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
- package/dist/{chunk-KIPLG7S7.js → chunk-JKLJ6A7W.js} +2 -2
- package/dist/{chunk-O3BZ6PFY.js → chunk-JZM5QUTE.js} +2 -2
- package/dist/{chunk-KTOH7EJE.js → chunk-KXLRMM35.js} +312 -48
- package/dist/chunk-KXLRMM35.js.map +1 -0
- package/dist/{chunk-ZUFJ7ZTR.js → chunk-L4H6MQ7I.js} +6 -2
- package/dist/chunk-L4H6MQ7I.js.map +1 -0
- package/dist/{chunk-SYNYI4ZM.js → chunk-L5HJQC36.js} +2 -2
- package/dist/{chunk-VXMWDXIJ.js → chunk-LC7OODWZ.js} +2 -2
- package/dist/{chunk-ZW6OKHVX.js → chunk-LQKITFGB.js} +2 -2
- package/dist/{chunk-TZJVTH3F.js → chunk-MXRMNKSY.js} +14 -14
- package/dist/{chunk-GL3SMLMZ.js → chunk-N3LWQJ6Y.js} +150 -119
- package/dist/chunk-N3LWQJ6Y.js.map +1 -0
- package/dist/{chunk-M5QKGHCR.js → chunk-OC35KQIN.js} +6 -2
- package/dist/chunk-OC35KQIN.js.map +1 -0
- package/dist/chunk-OKUEZOGW.js +27 -0
- package/dist/chunk-OKUEZOGW.js.map +1 -0
- package/dist/{chunk-PKGWJFNR.js → chunk-OVMS3DCB.js} +2 -2
- package/dist/chunk-PDJTHRAW.js +36 -0
- package/dist/chunk-PDJTHRAW.js.map +1 -0
- package/dist/{chunk-LRGSLV7M.js → chunk-PYHOAXTI.js} +4 -4
- package/dist/{chunk-NMMKRVUF.js → chunk-QVALQE4P.js} +6 -6
- package/dist/{chunk-FXGC5UUH.js → chunk-RT7IP3D3.js} +2 -2
- package/dist/{chunk-AH3M6F4X.js → chunk-SBFDL2EQ.js} +2 -2
- package/dist/{chunk-UYZUJ4EB.js → chunk-SECMZACR.js} +2 -2
- package/dist/{chunk-HXDKC3BI.js → chunk-TGBJ2OMK.js} +2 -2
- package/dist/{chunk-DE6ENYLG.js → chunk-TXLGHDHS.js} +2 -2
- package/dist/{chunk-74MJH7I3.js → chunk-U4KHQTJ6.js} +12 -3
- package/dist/chunk-U4KHQTJ6.js.map +1 -0
- package/dist/{chunk-CRFTLUWT.js → chunk-UTDA43TB.js} +2 -2
- package/dist/{chunk-GKCCHHZK.js → chunk-UXKMMNJD.js} +4 -4
- package/dist/{chunk-57INMZ6F.js → chunk-UZRIKUFS.js} +2 -2
- package/dist/{chunk-2FSHROYK.js → chunk-V53GJUSL.js} +8 -8
- package/dist/{chunk-LKT755LP.js → chunk-VA4WSW54.js} +2 -2
- package/dist/{chunk-ZHKD4EZM.js → chunk-VCEH5UYS.js} +3 -3
- package/dist/{chunk-CHVU4RE5.js → chunk-VDLMAJXS.js} +3 -3
- package/dist/{chunk-XFTPUXCE.js → chunk-VRAD2FGO.js} +10 -10
- package/dist/{chunk-VF4XKTX3.js → chunk-VZ5OJE4X.js} +10 -2
- package/dist/chunk-VZ5OJE4X.js.map +1 -0
- package/dist/{chunk-UVIQHSS7.js → chunk-WUDBMLC6.js} +9 -3
- package/dist/chunk-WUDBMLC6.js.map +1 -0
- package/dist/{chunk-AWJ2FHCF.js → chunk-X47LWMKA.js} +49 -21
- package/dist/chunk-X47LWMKA.js.map +1 -0
- package/dist/{chunk-VMGMY2AI.js → chunk-XF4KOVDK.js} +8 -8
- package/dist/{chunk-VMGMY2AI.js.map → chunk-XF4KOVDK.js.map} +1 -1
- package/dist/{chunk-T7VNN3ZM.js → chunk-XVLEGMJI.js} +2 -2
- package/dist/{chunk-R2SJDIPO.js → chunk-YLTG6BO4.js} +9 -7
- package/dist/chunk-YLTG6BO4.js.map +1 -0
- package/dist/{chunk-QDCJNRKK.js → chunk-YXOAQAH2.js} +3 -3
- package/dist/{cli-BqyGVyOe.d.ts → cli-DACyuK8-.d.ts} +5 -5
- package/dist/cli.d.ts +8 -8
- package/dist/cli.js +66 -64
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +15 -13
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +15 -13
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +15 -13
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-provenance-check.js +6 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/consolidation-undo.js +8 -1
- package/dist/consolidation-undo.js.map +1 -1
- package/dist/contradiction/index.d.ts +2 -2
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +15 -13
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +5 -5
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-faithfulness.js +3 -3
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction-judge.js +3 -3
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +3 -3
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/fallback-llm.js +2 -2
- package/dist/{forget-KHF7A44H.js → forget-CQCLB5LB.js} +2 -2
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +19 -0
- package/dist/in-flight-reads.js +16 -0
- package/dist/in-flight-reads.js.map +1 -0
- package/dist/index.d.ts +13 -13
- package/dist/index.js +116 -114
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +13 -13
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +15 -13
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +15 -13
- package/dist/maintenance/rebuild-memory-projection.js +16 -14
- package/dist/mcp-memory-inspector-app.d.ts +6 -6
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +24 -13
- package/dist/memory-cache.js +3 -1
- package/dist/memory-corpus-version.d.ts +19 -0
- package/dist/memory-corpus-version.js +13 -0
- package/dist/memory-corpus-version.js.map +1 -0
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +22 -20
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +7 -7
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +15 -13
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +2 -2
- package/dist/operator-toolkit.js +27 -25
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +17 -15
- package/dist/{orchestrator-37Cx7yyw.d.ts → orchestrator-D83AvrPf.d.ts} +4 -4
- package/dist/orchestrator.d.ts +5 -5
- package/dist/orchestrator.js +92 -90
- package/dist/page-versioning.js +5 -1
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-C6onljHc.d.ts → pipeline-BSqGpYl1.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/{qmd-J08G7MEm.d.ts → qmd-CutnpRVe.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- package/dist/qmd.js +2 -2
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-planner-llm.js +2 -2
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +2 -2
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-agents.js +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/schemas.d.ts +52 -52
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +6 -6
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +12 -12
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-BFtoVosl.d.ts → semantic-consolidation-btIVRC4l.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +16 -14
- package/dist/semantic-rule-promotion.js +15 -13
- package/dist/semantic-rule-verifier.d.ts +5 -1
- package/dist/semantic-rule-verifier.js +15 -13
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +9 -9
- package/dist/signal.d.ts +1 -1
- package/dist/{storage-CXjwBr69.d.ts → storage-BVv_Mqa0.d.ts} +133 -3
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +14 -12
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +3 -3
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-index-compat.d.ts +1 -0
- package/dist/temporal-index-compat.js +16 -0
- package/dist/temporal-index-compat.js.map +1 -0
- package/dist/temporal-index.d.ts +58 -7
- package/dist/temporal-index.js +23 -3
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +2 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/capsule-import.js +6 -2
- package/dist/transfer/import-sqlite.js +2 -2
- package/dist/transfer/types.d.ts +66 -66
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-DpxqC8dI.d.ts → types-Cmkz7csa.d.ts} +27 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.d.ts +4 -0
- package/dist/verified-recall.js +15 -13
- package/package.json +12 -2
- package/src/binary-lifecycle/pipeline.ts +22 -0
- package/src/cli.ts +8 -0
- package/src/compounding/engine.ts +9 -1
- package/src/config.ts +14 -0
- package/src/consolidation-undo.ts +8 -0
- package/src/curation/index.ts +9 -0
- package/src/in-flight-reads.ts +63 -0
- package/src/maintenance/memory-governance.ts +6 -0
- package/src/memory-cache-hot.test.ts +131 -0
- package/src/memory-cache.ts +146 -22
- package/src/memory-corpus-version.ts +45 -0
- package/src/namespaces/storage.ts +20 -1
- package/src/operator-toolkit.ts +7 -1
- package/src/orchestration/consolidation-run.ts +5 -5
- package/src/orchestration/contradiction-linking-coordinator.ts +2 -2
- package/src/orchestration/lifecycle-policy-coordinator.ts +2 -2
- package/src/orchestration/persistence-index.ts +6 -6
- package/src/orchestration/recall-internal.ts +6 -3
- package/src/orchestration/recall-search-pipeline.ts +36 -21
- package/src/orchestration/semantic-consolidation-coordinator.ts +2 -2
- package/src/orchestrator.ts +25 -5
- package/src/page-versioning.ts +14 -1
- package/src/provenance-frontmatter.test.ts +6 -0
- package/src/review/index.ts +16 -8
- package/src/semantic-rule-promotion.ts +9 -1
- package/src/semantic-rule-verifier.ts +19 -6
- package/src/spaces/index.ts +10 -0
- package/src/storage/memory-read-store.ts +9 -2
- package/src/storage-contract/cache-coherence.test.ts +242 -0
- package/src/storage-contract/namespace-routing.test.ts +26 -1
- package/src/storage.ts +513 -31
- package/src/temporal-index-compat.ts +311 -0
- package/src/temporal-index.test.ts +273 -22
- package/src/temporal-index.ts +427 -178
- package/src/transfer/capsule-cache-coherence.test.ts +107 -0
- package/src/transfer/capsule-import.ts +8 -0
- package/src/transfer/capsule-merge.ts +7 -0
- package/src/types.ts +27 -0
- package/src/verified-recall.ts +20 -6
- package/dist/capsule-merge-GK5E647P.js.map +0 -1
- package/dist/chunk-74MJH7I3.js.map +0 -1
- package/dist/chunk-AD2KK5MT.js.map +0 -1
- package/dist/chunk-AWJ2FHCF.js.map +0 -1
- package/dist/chunk-EJCVMPIM.js.map +0 -1
- package/dist/chunk-GL3SMLMZ.js.map +0 -1
- package/dist/chunk-HHAA35A3.js.map +0 -1
- package/dist/chunk-JO5AT6QT.js.map +0 -1
- package/dist/chunk-KTOH7EJE.js.map +0 -1
- package/dist/chunk-M5QKGHCR.js.map +0 -1
- package/dist/chunk-Q6JPMCPO.js.map +0 -1
- package/dist/chunk-R2SJDIPO.js.map +0 -1
- package/dist/chunk-TVRPRFUB.js.map +0 -1
- package/dist/chunk-UVIQHSS7.js.map +0 -1
- package/dist/chunk-VF4XKTX3.js.map +0 -1
- package/dist/chunk-ZUFJ7ZTR.js.map +0 -1
- /package/dist/{auto-sync-676N6N6Y.js.map → auto-sync-AAMTVZMK.js.map} +0 -0
- /package/dist/{chunk-CNWC274T.js.map → chunk-3OQ4IZJN.js.map} +0 -0
- /package/dist/{chunk-7XH7VJN4.js.map → chunk-5S7Z5SHA.js.map} +0 -0
- /package/dist/{chunk-WKE4VXSZ.js.map → chunk-673NPXE3.js.map} +0 -0
- /package/dist/{chunk-UHGHTOR5.js.map → chunk-7EX4YOKH.js.map} +0 -0
- /package/dist/{chunk-TVVEYCNW.js.map → chunk-7K5Q6COX.js.map} +0 -0
- /package/dist/{chunk-3F4N4WDH.js.map → chunk-AHLPZ2SF.js.map} +0 -0
- /package/dist/{chunk-6C35R7P4.js.map → chunk-DJCKXI4M.js.map} +0 -0
- /package/dist/{chunk-FYKIEOG6.js.map → chunk-FNJX2O6G.js.map} +0 -0
- /package/dist/{chunk-DQPPRXFO.js.map → chunk-HQ7QZJM5.js.map} +0 -0
- /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-KIPLG7S7.js.map → chunk-JKLJ6A7W.js.map} +0 -0
- /package/dist/{chunk-O3BZ6PFY.js.map → chunk-JZM5QUTE.js.map} +0 -0
- /package/dist/{chunk-SYNYI4ZM.js.map → chunk-L5HJQC36.js.map} +0 -0
- /package/dist/{chunk-VXMWDXIJ.js.map → chunk-LC7OODWZ.js.map} +0 -0
- /package/dist/{chunk-ZW6OKHVX.js.map → chunk-LQKITFGB.js.map} +0 -0
- /package/dist/{chunk-TZJVTH3F.js.map → chunk-MXRMNKSY.js.map} +0 -0
- /package/dist/{chunk-PKGWJFNR.js.map → chunk-OVMS3DCB.js.map} +0 -0
- /package/dist/{chunk-LRGSLV7M.js.map → chunk-PYHOAXTI.js.map} +0 -0
- /package/dist/{chunk-NMMKRVUF.js.map → chunk-QVALQE4P.js.map} +0 -0
- /package/dist/{chunk-FXGC5UUH.js.map → chunk-RT7IP3D3.js.map} +0 -0
- /package/dist/{chunk-AH3M6F4X.js.map → chunk-SBFDL2EQ.js.map} +0 -0
- /package/dist/{chunk-UYZUJ4EB.js.map → chunk-SECMZACR.js.map} +0 -0
- /package/dist/{chunk-HXDKC3BI.js.map → chunk-TGBJ2OMK.js.map} +0 -0
- /package/dist/{chunk-DE6ENYLG.js.map → chunk-TXLGHDHS.js.map} +0 -0
- /package/dist/{chunk-CRFTLUWT.js.map → chunk-UTDA43TB.js.map} +0 -0
- /package/dist/{chunk-GKCCHHZK.js.map → chunk-UXKMMNJD.js.map} +0 -0
- /package/dist/{chunk-57INMZ6F.js.map → chunk-UZRIKUFS.js.map} +0 -0
- /package/dist/{chunk-2FSHROYK.js.map → chunk-V53GJUSL.js.map} +0 -0
- /package/dist/{chunk-LKT755LP.js.map → chunk-VA4WSW54.js.map} +0 -0
- /package/dist/{chunk-ZHKD4EZM.js.map → chunk-VCEH5UYS.js.map} +0 -0
- /package/dist/{chunk-CHVU4RE5.js.map → chunk-VDLMAJXS.js.map} +0 -0
- /package/dist/{chunk-XFTPUXCE.js.map → chunk-VRAD2FGO.js.map} +0 -0
- /package/dist/{chunk-T7VNN3ZM.js.map → chunk-XVLEGMJI.js.map} +0 -0
- /package/dist/{chunk-QDCJNRKK.js.map → chunk-YXOAQAH2.js.map} +0 -0
- /package/dist/{forget-KHF7A44H.js.map → forget-CQCLB5LB.js.map} +0 -0
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
loadSyncState,
|
|
5
5
|
syncWearableSource,
|
|
6
6
|
wearableSourceLabel
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LC7OODWZ.js";
|
|
8
8
|
import {
|
|
9
9
|
CompressionGuidelineCoordinator
|
|
10
10
|
} from "./chunk-TRWPCR6P.js";
|
|
11
11
|
import {
|
|
12
12
|
MaintenanceScheduler
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SECMZACR.js";
|
|
14
14
|
import {
|
|
15
15
|
runPeerProfileReasoner
|
|
16
16
|
} from "./chunk-I74SUMNI.js";
|
|
@@ -19,25 +19,36 @@ import {
|
|
|
19
19
|
} from "./chunk-7HYPN2GC.js";
|
|
20
20
|
import {
|
|
21
21
|
LcmEngine
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VRAD2FGO.js";
|
|
23
|
+
import {
|
|
24
|
+
chunkTranscriptEntries
|
|
25
|
+
} from "./chunk-TECVW3JP.js";
|
|
23
26
|
import {
|
|
24
27
|
cleanupConversationChunks
|
|
25
28
|
} from "./chunk-RP7YXA67.js";
|
|
26
29
|
import {
|
|
27
30
|
CompoundingEngine,
|
|
28
31
|
defaultTierMigrationCycleBudget
|
|
29
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DLWYAN6A.js";
|
|
30
33
|
import {
|
|
31
34
|
SharedContextManager
|
|
32
35
|
} from "./chunk-5CJVLG3H.js";
|
|
33
36
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
37
|
+
applyTrustScoreStage,
|
|
38
|
+
buildTrustSignalsForRerank,
|
|
39
|
+
projectTrustForXray
|
|
40
|
+
} from "./chunk-BCDKBDSY.js";
|
|
41
|
+
import {
|
|
42
|
+
renderEpistemicHedge
|
|
43
|
+
} from "./chunk-YN2UN7N3.js";
|
|
36
44
|
import {
|
|
37
45
|
applyUtilityPromotionRuntimePolicy,
|
|
38
46
|
applyUtilityRankingRuntimeDelta,
|
|
39
47
|
loadUtilityRuntimeValues
|
|
40
48
|
} from "./chunk-LXOM6IQU.js";
|
|
49
|
+
import {
|
|
50
|
+
CODEX_THREAD_KEY_PREFIX
|
|
51
|
+
} from "./chunk-4EX5WZ4M.js";
|
|
41
52
|
import {
|
|
42
53
|
TierMigrationExecutor
|
|
43
54
|
} from "./chunk-VOUOLGIP.js";
|
|
@@ -51,13 +62,8 @@ import {
|
|
|
51
62
|
extractTopics
|
|
52
63
|
} from "./chunk-UHGBNIOS.js";
|
|
53
64
|
import {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
projectTrustForXray
|
|
57
|
-
} from "./chunk-BCDKBDSY.js";
|
|
58
|
-
import {
|
|
59
|
-
renderEpistemicHedge
|
|
60
|
-
} from "./chunk-YN2UN7N3.js";
|
|
65
|
+
HourlySummarizer
|
|
66
|
+
} from "./chunk-JKLJ6A7W.js";
|
|
61
67
|
import {
|
|
62
68
|
buildTargetedFactRecallSection,
|
|
63
69
|
shouldRecallTargetedFactEvidence
|
|
@@ -65,63 +71,58 @@ import {
|
|
|
65
71
|
import {
|
|
66
72
|
buildTemporalTimelineRecallSection
|
|
67
73
|
} from "./chunk-I6WYQSX4.js";
|
|
68
|
-
import {
|
|
69
|
-
CODEX_THREAD_KEY_PREFIX
|
|
70
|
-
} from "./chunk-4EX5WZ4M.js";
|
|
71
|
-
import {
|
|
72
|
-
HourlySummarizer
|
|
73
|
-
} from "./chunk-KIPLG7S7.js";
|
|
74
74
|
import {
|
|
75
75
|
SessionObserverState
|
|
76
76
|
} from "./chunk-FDPZVY6D.js";
|
|
77
|
-
import {
|
|
78
|
-
applyRuntimeRetrievalPolicy
|
|
79
|
-
} from "./chunk-5IZL4DCV.js";
|
|
80
|
-
import {
|
|
81
|
-
RelevanceStore
|
|
82
|
-
} from "./chunk-2IZAGAJR.js";
|
|
83
|
-
import {
|
|
84
|
-
RerankCache,
|
|
85
|
-
rerankLocalOrNoop
|
|
86
|
-
} from "./chunk-E3VODCC3.js";
|
|
87
|
-
import {
|
|
88
|
-
buildResponseGuidanceRecallSection,
|
|
89
|
-
shouldRecallResponseGuidance
|
|
90
|
-
} from "./chunk-6TCXIRP5.js";
|
|
91
77
|
import {
|
|
92
78
|
mergeWithAgentResults,
|
|
93
79
|
runDirectAgent,
|
|
94
80
|
runTemporalAgent,
|
|
95
81
|
shouldRunAgent
|
|
96
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-TXLGHDHS.js";
|
|
97
83
|
import {
|
|
98
|
-
|
|
99
|
-
|
|
84
|
+
clearIndexesAsync,
|
|
85
|
+
deindexMemoryAsync,
|
|
100
86
|
extractTagsFromPrompt,
|
|
101
|
-
|
|
102
|
-
|
|
87
|
+
indexMemoriesBatchAsync,
|
|
88
|
+
indexesExistAsync,
|
|
103
89
|
isTemporalQuery,
|
|
104
90
|
queryByDateRangeAsync,
|
|
105
91
|
queryByTagsAsync,
|
|
106
92
|
queryTemporalTimelineAsync,
|
|
93
|
+
readIndexSnapshotAsync,
|
|
107
94
|
recencyWindowFromPrompt,
|
|
108
95
|
resolvePromptTagPrefilterAsync
|
|
109
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-2VN4JAX7.js";
|
|
97
|
+
import {
|
|
98
|
+
applyRuntimeRetrievalPolicy
|
|
99
|
+
} from "./chunk-5IZL4DCV.js";
|
|
110
100
|
import {
|
|
111
101
|
findUnresolvedEntityRefs
|
|
112
102
|
} from "./chunk-X7XN6YU4.js";
|
|
113
103
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
104
|
+
RelevanceStore
|
|
105
|
+
} from "./chunk-2IZAGAJR.js";
|
|
116
106
|
import {
|
|
117
|
-
|
|
118
|
-
|
|
107
|
+
RerankCache,
|
|
108
|
+
rerankLocalOrNoop
|
|
109
|
+
} from "./chunk-E3VODCC3.js";
|
|
110
|
+
import {
|
|
111
|
+
buildResponseGuidanceRecallSection,
|
|
112
|
+
shouldRecallResponseGuidance
|
|
113
|
+
} from "./chunk-6TCXIRP5.js";
|
|
119
114
|
import {
|
|
120
115
|
LastRecallStore,
|
|
121
116
|
RecallHandleHistoryStore,
|
|
122
117
|
TierMigrationStatusStore,
|
|
123
118
|
clampGraphRecallExpandedEntries
|
|
124
119
|
} from "./chunk-E5BK6CGV.js";
|
|
120
|
+
import {
|
|
121
|
+
reorderRecallResultsWithMmr
|
|
122
|
+
} from "./chunk-YDBIWGNI.js";
|
|
123
|
+
import {
|
|
124
|
+
createRecallSectionMetricRecorder
|
|
125
|
+
} from "./chunk-JZHHREBL.js";
|
|
125
126
|
import {
|
|
126
127
|
applyReasoningTraceBoost
|
|
127
128
|
} from "./chunk-ZZTOURJI.js";
|
|
@@ -157,14 +158,14 @@ import {
|
|
|
157
158
|
getVerdictKind,
|
|
158
159
|
judgeFactDurability,
|
|
159
160
|
validateProcedureExtraction
|
|
160
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-L5HJQC36.js";
|
|
161
162
|
import {
|
|
162
163
|
contentMatchesRedactionRules,
|
|
163
164
|
loadRedactionRules
|
|
164
165
|
} from "./chunk-LTHVM4XN.js";
|
|
165
166
|
import {
|
|
166
167
|
ExtractionEngine
|
|
167
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-RT7IP3D3.js";
|
|
168
169
|
import {
|
|
169
170
|
parseMemoryActionEligibilityContext
|
|
170
171
|
} from "./chunk-5GSUBCZM.js";
|
|
@@ -202,44 +203,44 @@ import {
|
|
|
202
203
|
buildEntityRecallSection,
|
|
203
204
|
entityRecentTranscriptLookbackHours,
|
|
204
205
|
readRecentEntityTranscriptEntries
|
|
205
|
-
} from "./chunk-
|
|
206
|
-
import {
|
|
207
|
-
normalizeReplaySessionKey
|
|
208
|
-
} from "./chunk-AJVLDJU6.js";
|
|
206
|
+
} from "./chunk-TGBJ2OMK.js";
|
|
209
207
|
import {
|
|
210
208
|
RoutingRulesStore
|
|
211
209
|
} from "./chunk-KQPJLK3X.js";
|
|
210
|
+
import {
|
|
211
|
+
normalizeReplaySessionKey
|
|
212
|
+
} from "./chunk-AJVLDJU6.js";
|
|
212
213
|
import {
|
|
213
214
|
compareVerifiedEpisodeResults,
|
|
214
215
|
searchVerifiedEpisodes
|
|
215
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-YLTG6BO4.js";
|
|
216
217
|
import {
|
|
217
218
|
ThreadingManager
|
|
218
219
|
} from "./chunk-DBRYEIGY.js";
|
|
219
220
|
import {
|
|
220
221
|
compareVerifiedSemanticRuleResults,
|
|
221
222
|
searchVerifiedSemanticRules
|
|
222
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-EQF5763Z.js";
|
|
223
224
|
import {
|
|
224
225
|
searchWorkProductLedgerEntries
|
|
225
226
|
} from "./chunk-ZRWB5D4H.js";
|
|
226
227
|
import {
|
|
227
228
|
TranscriptManager
|
|
228
229
|
} from "./chunk-5EZXHU36.js";
|
|
229
|
-
import {
|
|
230
|
-
PolicyRuntimeManager
|
|
231
|
-
} from "./chunk-33JBK2XP.js";
|
|
232
230
|
import {
|
|
233
231
|
runNamespaceMaintenanceFanout,
|
|
234
232
|
summarizeNamespaceMaintenanceHealth
|
|
235
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-XF4KOVDK.js";
|
|
236
234
|
import {
|
|
237
235
|
NamespaceCatalog,
|
|
238
236
|
planNamespaceMaintenance
|
|
239
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-JZM5QUTE.js";
|
|
240
238
|
import {
|
|
241
239
|
NamespaceStorageRouter
|
|
242
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-U4KHQTJ6.js";
|
|
241
|
+
import {
|
|
242
|
+
PolicyRuntimeManager
|
|
243
|
+
} from "./chunk-33JBK2XP.js";
|
|
243
244
|
import {
|
|
244
245
|
searchHarmonicRetrieval
|
|
245
246
|
} from "./chunk-AV5ZEH4M.js";
|
|
@@ -274,7 +275,7 @@ import {
|
|
|
274
275
|
materializeAfterSemanticConsolidation,
|
|
275
276
|
parseConsolidationResponse,
|
|
276
277
|
parseOperatorAwareConsolidationResponse
|
|
277
|
-
} from "./chunk-
|
|
278
|
+
} from "./chunk-LQKITFGB.js";
|
|
278
279
|
import {
|
|
279
280
|
buildRecallQueryPolicy
|
|
280
281
|
} from "./chunk-LBJBNWS2.js";
|
|
@@ -323,10 +324,10 @@ import {
|
|
|
323
324
|
createCorrectionService,
|
|
324
325
|
detectPassiveCorrections,
|
|
325
326
|
qmdCollectionPathParts
|
|
326
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-3OQ4IZJN.js";
|
|
327
328
|
import {
|
|
328
329
|
importCapsule
|
|
329
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-OC35KQIN.js";
|
|
330
331
|
import {
|
|
331
332
|
isCodingGraphInstalled
|
|
332
333
|
} from "./chunk-VQ7B2Q6M.js";
|
|
@@ -339,11 +340,7 @@ import {
|
|
|
339
340
|
} from "./chunk-FF4KLI5W.js";
|
|
340
341
|
import {
|
|
341
342
|
buildXraySnapshot
|
|
342
|
-
} from "./chunk-
|
|
343
|
-
import {
|
|
344
|
-
objectiveStateStoreOverrideForNamespace,
|
|
345
|
-
searchObjectiveStateSnapshots
|
|
346
|
-
} from "./chunk-6HMYUWXR.js";
|
|
343
|
+
} from "./chunk-HQ7QZJM5.js";
|
|
347
344
|
import {
|
|
348
345
|
combineNamespaces,
|
|
349
346
|
getConfiguredNamespaces,
|
|
@@ -354,11 +351,11 @@ import {
|
|
|
354
351
|
} from "./chunk-7PND4PUC.js";
|
|
355
352
|
import {
|
|
356
353
|
NamespaceSearchRouter
|
|
357
|
-
} from "./chunk-
|
|
354
|
+
} from "./chunk-XVLEGMJI.js";
|
|
358
355
|
import {
|
|
359
356
|
createConversationIndexRuntime,
|
|
360
357
|
createSearchBackend
|
|
361
|
-
} from "./chunk-
|
|
358
|
+
} from "./chunk-V53GJUSL.js";
|
|
362
359
|
import {
|
|
363
360
|
NoopSearchBackend
|
|
364
361
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -372,7 +369,11 @@ import {
|
|
|
372
369
|
} from "./chunk-R5VAVVHP.js";
|
|
373
370
|
import {
|
|
374
371
|
parseQmdExplain
|
|
375
|
-
} from "./chunk-
|
|
372
|
+
} from "./chunk-AHLPZ2SF.js";
|
|
373
|
+
import {
|
|
374
|
+
objectiveStateStoreOverrideForNamespace,
|
|
375
|
+
searchObjectiveStateSnapshots
|
|
376
|
+
} from "./chunk-6HMYUWXR.js";
|
|
376
377
|
import {
|
|
377
378
|
ProfilingCollector
|
|
378
379
|
} from "./chunk-MTWKDOVO.js";
|
|
@@ -394,7 +395,7 @@ import {
|
|
|
394
395
|
} from "./chunk-TBBDFYXW.js";
|
|
395
396
|
import {
|
|
396
397
|
buildChainFollowupGenerator
|
|
397
|
-
} from "./chunk-
|
|
398
|
+
} from "./chunk-UTDA43TB.js";
|
|
398
399
|
import {
|
|
399
400
|
ContentHashIndex,
|
|
400
401
|
StorageManager,
|
|
@@ -409,7 +410,10 @@ import {
|
|
|
409
410
|
reconstructFusionInputs,
|
|
410
411
|
selfDeps,
|
|
411
412
|
serializeFusionDay
|
|
412
|
-
} from "./chunk-
|
|
413
|
+
} from "./chunk-KXLRMM35.js";
|
|
414
|
+
import {
|
|
415
|
+
buildRetiredFactTombstoneInputs
|
|
416
|
+
} from "./chunk-L2B3EE7B.js";
|
|
413
417
|
import {
|
|
414
418
|
bodyIsEscaped,
|
|
415
419
|
decodeTranscriptBody,
|
|
@@ -420,9 +424,6 @@ import {
|
|
|
420
424
|
saveSpeakerRegistry,
|
|
421
425
|
speakerRegistryKey
|
|
422
426
|
} from "./chunk-B3ABVQ36.js";
|
|
423
|
-
import {
|
|
424
|
-
buildRetiredFactTombstoneInputs
|
|
425
|
-
} from "./chunk-L2B3EE7B.js";
|
|
426
427
|
import {
|
|
427
428
|
assertPathInsideRoot
|
|
428
429
|
} from "./chunk-VSMRDBFT.js";
|
|
@@ -446,12 +447,7 @@ import {
|
|
|
446
447
|
} from "./chunk-SVOZFLIQ.js";
|
|
447
448
|
import {
|
|
448
449
|
confidenceTier
|
|
449
|
-
} from "./chunk-
|
|
450
|
-
import {
|
|
451
|
-
buildQmdRecallCacheKey,
|
|
452
|
-
getCachedQmdRecall,
|
|
453
|
-
setCachedQmdRecall
|
|
454
|
-
} from "./chunk-42JKGUFJ.js";
|
|
450
|
+
} from "./chunk-3ZVFLMFQ.js";
|
|
455
451
|
import {
|
|
456
452
|
inferMemoryStatus,
|
|
457
453
|
isActiveMemoryStatus
|
|
@@ -464,12 +460,20 @@ import {
|
|
|
464
460
|
applyFaithfulnessVerdict,
|
|
465
461
|
createFaithfulnessCounters,
|
|
466
462
|
runFaithfulnessGateBatch
|
|
467
|
-
} from "./chunk-
|
|
463
|
+
} from "./chunk-VA4WSW54.js";
|
|
464
|
+
import {
|
|
465
|
+
bumpMemoryCorpusVersionForDir
|
|
466
|
+
} from "./chunk-OKUEZOGW.js";
|
|
467
|
+
import {
|
|
468
|
+
buildQmdRecallCacheKey,
|
|
469
|
+
getCachedQmdRecall,
|
|
470
|
+
setCachedQmdRecall
|
|
471
|
+
} from "./chunk-42JKGUFJ.js";
|
|
468
472
|
import {
|
|
469
473
|
FallbackLlmClient,
|
|
470
474
|
fallbackLlmRuntimeContextFromConfig,
|
|
471
475
|
gatewayTaskChainOptions
|
|
472
|
-
} from "./chunk-
|
|
476
|
+
} from "./chunk-UXKMMNJD.js";
|
|
473
477
|
import {
|
|
474
478
|
CAPSULE_ID_PATTERN
|
|
475
479
|
} from "./chunk-WEHSQBFR.js";
|
|
@@ -1041,7 +1045,7 @@ var SemanticConsolidationCoordinator = class {
|
|
|
1041
1045
|
try {
|
|
1042
1046
|
await this.deps.embeddingFallback.removeFromIndex(m.frontmatter.id);
|
|
1043
1047
|
if (resolveIndexingCapabilities(this.config).queryAwareIndexing && m.path && m.frontmatter?.created) {
|
|
1044
|
-
|
|
1048
|
+
await deindexMemoryAsync(
|
|
1045
1049
|
targetStorage.dir,
|
|
1046
1050
|
m.path,
|
|
1047
1051
|
m.frontmatter.created,
|
|
@@ -1313,7 +1317,7 @@ var LifecyclePolicyCoordinator = class {
|
|
|
1313
1317
|
);
|
|
1314
1318
|
await this.deps.embeddingFallback.removeFromIndex(memory.frontmatter.id);
|
|
1315
1319
|
if (resolveIndexingCapabilities(this.config).queryAwareIndexing && memory.path && memory.frontmatter?.created) {
|
|
1316
|
-
|
|
1320
|
+
await deindexMemoryAsync(
|
|
1317
1321
|
this.config.memoryDir,
|
|
1318
1322
|
memory.path,
|
|
1319
1323
|
memory.frontmatter.created,
|
|
@@ -2685,7 +2689,7 @@ var ContradictionLinkingCoordinator = class {
|
|
|
2685
2689
|
contradiction.reason
|
|
2686
2690
|
);
|
|
2687
2691
|
if (resolveIndexingCapabilities(config).queryAwareIndexing && contradiction.supersededPath) {
|
|
2688
|
-
|
|
2692
|
+
await deindexMemoryAsync(
|
|
2689
2693
|
config.memoryDir,
|
|
2690
2694
|
contradiction.supersededPath,
|
|
2691
2695
|
contradiction.supersededCreated,
|
|
@@ -4033,7 +4037,7 @@ var ConsolidationRunCoordinator = class {
|
|
|
4033
4037
|
memoryItemMutated = true;
|
|
4034
4038
|
await this.deps.embeddingFallback.removeFromIndex(item.existingId);
|
|
4035
4039
|
if (toInvalidate?.path && toInvalidate.frontmatter?.created) {
|
|
4036
|
-
|
|
4040
|
+
await deindexMemoryAsync(
|
|
4037
4041
|
config.memoryDir,
|
|
4038
4042
|
toInvalidate.path,
|
|
4039
4043
|
toInvalidate.frontmatter.created,
|
|
@@ -4074,7 +4078,7 @@ var ConsolidationRunCoordinator = class {
|
|
|
4074
4078
|
merged += 1;
|
|
4075
4079
|
await this.deps.embeddingFallback.removeFromIndex(item.mergeWith);
|
|
4076
4080
|
if (toMergeInvalidate?.path && toMergeInvalidate.frontmatter?.created) {
|
|
4077
|
-
|
|
4081
|
+
await deindexMemoryAsync(
|
|
4078
4082
|
config.memoryDir,
|
|
4079
4083
|
toMergeInvalidate.path,
|
|
4080
4084
|
toMergeInvalidate.frontmatter.created,
|
|
@@ -4126,7 +4130,7 @@ var ConsolidationRunCoordinator = class {
|
|
|
4126
4130
|
log.info(`cleaned ${deletedCommitments.length} expired commitments`);
|
|
4127
4131
|
if (resolveIndexingCapabilities(config).queryAwareIndexing) {
|
|
4128
4132
|
for (const m of deletedCommitments) {
|
|
4129
|
-
|
|
4133
|
+
await deindexMemoryAsync(
|
|
4130
4134
|
config.memoryDir,
|
|
4131
4135
|
m.path,
|
|
4132
4136
|
m.frontmatter.created,
|
|
@@ -4159,7 +4163,7 @@ var ConsolidationRunCoordinator = class {
|
|
|
4159
4163
|
log.info(`cleaned ${deletedTTL.length} TTL-expired memories`);
|
|
4160
4164
|
if (resolveIndexingCapabilities(config).queryAwareIndexing) {
|
|
4161
4165
|
for (const m of deletedTTL) {
|
|
4162
|
-
|
|
4166
|
+
await deindexMemoryAsync(
|
|
4163
4167
|
config.memoryDir,
|
|
4164
4168
|
m.path,
|
|
4165
4169
|
m.frontmatter.created,
|
|
@@ -7658,7 +7662,8 @@ ${rows.join("\n")}
|
|
|
7658
7662
|
memoryDir,
|
|
7659
7663
|
query: retrievalQuery,
|
|
7660
7664
|
maxResults,
|
|
7661
|
-
boxRecallDays: this.deps.config.boxRecallDays
|
|
7665
|
+
boxRecallDays: this.deps.config.boxRecallDays,
|
|
7666
|
+
hotMemoriesCacheEnabled: this.deps.config.hotMemoriesCacheEnabled
|
|
7662
7667
|
}).catch((err) => {
|
|
7663
7668
|
log.debug(`verified recall directory scan failed: ${err}`);
|
|
7664
7669
|
return [];
|
|
@@ -7737,7 +7742,8 @@ ${rows.join("\n")}
|
|
|
7737
7742
|
(memoryDir) => searchVerifiedSemanticRules({
|
|
7738
7743
|
memoryDir,
|
|
7739
7744
|
query: retrievalQuery,
|
|
7740
|
-
maxResults
|
|
7745
|
+
maxResults,
|
|
7746
|
+
hotMemoriesCacheEnabled: this.deps.config.hotMemoriesCacheEnabled
|
|
7741
7747
|
}).catch((err) => {
|
|
7742
7748
|
log.debug(`verified rules directory scan failed: ${err}`);
|
|
7743
7749
|
return [];
|
|
@@ -10697,16 +10703,19 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
10697
10703
|
};
|
|
10698
10704
|
}
|
|
10699
10705
|
const temporalFromDate = isTemporalQuery(prompt) ? recencyWindowFromPrompt(prompt, Date.now()) : null;
|
|
10700
|
-
const [rawTemporal, tagSignals] = await
|
|
10701
|
-
|
|
10702
|
-
|
|
10703
|
-
()
|
|
10704
|
-
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10706
|
+
const [rawTemporal, tagSignals] = await readIndexSnapshotAsync(
|
|
10707
|
+
this.deps.config.memoryDir,
|
|
10708
|
+
() => Promise.all([
|
|
10709
|
+
temporalFromDate ? queryByDateRangeAsync(this.deps.config.memoryDir, temporalFromDate) : Promise.resolve(null),
|
|
10710
|
+
resolvePromptTagPrefilterAsync(this.deps.config.memoryDir, prompt).catch(
|
|
10711
|
+
() => ({
|
|
10712
|
+
matchedTags: extractTagsFromPrompt(prompt),
|
|
10713
|
+
expandedTags: extractTagsFromPrompt(prompt),
|
|
10714
|
+
paths: null
|
|
10715
|
+
})
|
|
10716
|
+
)
|
|
10717
|
+
])
|
|
10718
|
+
);
|
|
10710
10719
|
const temporalCandidates = this.deps.scopeQueryAwarePaths(
|
|
10711
10720
|
rawTemporal,
|
|
10712
10721
|
recallNamespaces
|
|
@@ -11562,10 +11571,13 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
11562
11571
|
}
|
|
11563
11572
|
promptTags = extractTagsFromPrompt(prompt);
|
|
11564
11573
|
}
|
|
11565
|
-
const [rawTemporal, rawTags] = await
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
|
|
11574
|
+
const [rawTemporal, rawTags] = await readIndexSnapshotAsync(
|
|
11575
|
+
this.deps.config.memoryDir,
|
|
11576
|
+
() => Promise.all([
|
|
11577
|
+
temporalFromDate !== null ? queryByDateRangeAsync(this.deps.config.memoryDir, temporalFromDate) : Promise.resolve(null),
|
|
11578
|
+
promptTags.length > 0 ? queryByTagsAsync(this.deps.config.memoryDir, promptTags) : Promise.resolve(null)
|
|
11579
|
+
])
|
|
11580
|
+
);
|
|
11569
11581
|
const queryIntent = resolveConversationContextCapabilities(this.deps.config).intentRouting && prompt ? inferIntentFromText(prompt) : null;
|
|
11570
11582
|
let temporalCandidates = null;
|
|
11571
11583
|
let tagCandidates = null;
|
|
@@ -13228,7 +13240,7 @@ var OrchestratorInitCoordinator = class {
|
|
|
13228
13240
|
if (signal.aborted) return;
|
|
13229
13241
|
if (!this.deps.wearablesAutoSyncHandle && this.deps.config.wearables.enabled && this.deps.config.wearables.autoSyncEnabled && Object.values(this.deps.config.wearables.sources).some((source) => source.enabled)) {
|
|
13230
13242
|
try {
|
|
13231
|
-
const { startWearablesAutoSync } = await import("./auto-sync-
|
|
13243
|
+
const { startWearablesAutoSync } = await import("./auto-sync-AAMTVZMK.js");
|
|
13232
13244
|
if (signal.aborted) return;
|
|
13233
13245
|
this.deps.wearablesAutoSyncHandle = startWearablesAutoSync(
|
|
13234
13246
|
{
|
|
@@ -13560,7 +13572,7 @@ var PersistenceIndexCoordinator = class {
|
|
|
13560
13572
|
const caps = resolveCapabilities(this.deps.config);
|
|
13561
13573
|
if (!resolveIndexingCapabilities(this.deps.config).queryAwareIndexing && !caps.parallelRetrieval && !resolveRecallEnhancementCapabilities(this.deps.config).eventOrderRecall)
|
|
13562
13574
|
return;
|
|
13563
|
-
const needsFullRebuild = !
|
|
13575
|
+
const needsFullRebuild = !await indexesExistAsync(this.deps.config.memoryDir);
|
|
13564
13576
|
if (!needsFullRebuild && persistedIds.length === 0) return;
|
|
13565
13577
|
try {
|
|
13566
13578
|
const allMemories = needsFullRebuild && resolveNamespaceCapabilities(this.deps.config).namespaces ? await this.deps.readAllMemoriesForNamespaces(
|
|
@@ -13592,15 +13604,15 @@ var PersistenceIndexCoordinator = class {
|
|
|
13592
13604
|
}
|
|
13593
13605
|
}
|
|
13594
13606
|
if (needsFullRebuild) {
|
|
13595
|
-
|
|
13607
|
+
await clearIndexesAsync(this.deps.config.memoryDir);
|
|
13596
13608
|
if (entries.length > 0) {
|
|
13597
|
-
|
|
13609
|
+
await indexMemoriesBatchAsync(this.deps.config.memoryDir, entries);
|
|
13598
13610
|
}
|
|
13599
13611
|
log.info(
|
|
13600
13612
|
`temporal-index: bootstrapped from ${entries.length} active memories`
|
|
13601
13613
|
);
|
|
13602
13614
|
} else if (entries.length > 0) {
|
|
13603
|
-
|
|
13615
|
+
await indexMemoriesBatchAsync(this.deps.config.memoryDir, entries);
|
|
13604
13616
|
}
|
|
13605
13617
|
} catch (err) {
|
|
13606
13618
|
log.debug(`temporal-index update failed (non-fatal): ${err}`);
|
|
@@ -16436,6 +16448,12 @@ var Orchestrator = class {
|
|
|
16436
16448
|
}
|
|
16437
16449
|
constructor(config) {
|
|
16438
16450
|
this.config = config;
|
|
16451
|
+
const { hotMemoriesCacheEnabled } = config;
|
|
16452
|
+
StorageManager.setHotMemoriesCacheDefault(
|
|
16453
|
+
config.memoryDir,
|
|
16454
|
+
hotMemoriesCacheEnabled,
|
|
16455
|
+
config.hotMemoriesCacheTtlMs
|
|
16456
|
+
);
|
|
16439
16457
|
this.profiler = new ProfilingCollector({
|
|
16440
16458
|
enabled: resolvePipelineProcessingCapabilities(this.config).profiling,
|
|
16441
16459
|
storageDir: config.profilingStorageDir || path15.join(config.memoryDir, "profiling"),
|
|
@@ -16561,7 +16579,14 @@ var Orchestrator = class {
|
|
|
16561
16579
|
tierMigrationStatus: this.tierMigrationStatus,
|
|
16562
16580
|
getUtilityRuntimeValues: () => this.utilityRuntimeValues,
|
|
16563
16581
|
getCompounding: () => this.compounding,
|
|
16564
|
-
createColdStorage: (parentDir) =>
|
|
16582
|
+
createColdStorage: (parentDir) => {
|
|
16583
|
+
StorageManager.setHotMemoriesCacheDefault(
|
|
16584
|
+
parentDir,
|
|
16585
|
+
config.hotMemoriesCacheEnabled,
|
|
16586
|
+
config.hotMemoriesCacheTtlMs
|
|
16587
|
+
);
|
|
16588
|
+
return new StorageManager(parentDir, config.entitySchemas, config.hotMemoriesCacheEnabled);
|
|
16589
|
+
}
|
|
16565
16590
|
});
|
|
16566
16591
|
this.compressionGuidelineCoordinator = new CompressionGuidelineCoordinator({
|
|
16567
16592
|
config,
|
|
@@ -18920,6 +18945,12 @@ function emptyManifest() {
|
|
|
18920
18945
|
import fsp4 from "fs/promises";
|
|
18921
18946
|
import path19 from "path";
|
|
18922
18947
|
import crypto3 from "crypto";
|
|
18948
|
+
function isRecallCorpusMarkdown(mdPath, memoryDir) {
|
|
18949
|
+
const rel = path19.relative(memoryDir, mdPath);
|
|
18950
|
+
if (rel.startsWith("..") || path19.isAbsolute(rel)) return false;
|
|
18951
|
+
const top = rel.split(path19.sep)[0];
|
|
18952
|
+
return RECALL_FALLBACK_DIRS.includes(top);
|
|
18953
|
+
}
|
|
18923
18954
|
async function hashFile2(filePath) {
|
|
18924
18955
|
const content = await fsp4.readFile(filePath);
|
|
18925
18956
|
return crypto3.createHash("sha256").update(content).digest("hex");
|
|
@@ -19113,6 +19144,9 @@ async function stageRedirect(memoryDir, assets, log2, dryRun, readMarkdownFile,
|
|
|
19113
19144
|
for (const update of updates) {
|
|
19114
19145
|
try {
|
|
19115
19146
|
await writeMarkdownFile(update.mdPath, update.content);
|
|
19147
|
+
if (isRecallCorpusMarkdown(update.mdPath, memoryDir)) {
|
|
19148
|
+
bumpMemoryCorpusVersionForDir(memoryDir);
|
|
19149
|
+
}
|
|
19116
19150
|
} catch (err) {
|
|
19117
19151
|
writeFailCount++;
|
|
19118
19152
|
const msg = `redirect write failed for ${update.mdPath}: ${err instanceof Error ? err.message : String(err)}`;
|
|
@@ -20359,6 +20393,7 @@ function writeStatement(stmt, memoryDir) {
|
|
|
20359
20393
|
${stmt.content}
|
|
20360
20394
|
`;
|
|
20361
20395
|
fs3.writeFileSync(filePath, body);
|
|
20396
|
+
bumpMemoryCorpusVersionForDir(memoryDir);
|
|
20362
20397
|
return filePath;
|
|
20363
20398
|
}
|
|
20364
20399
|
function generateId() {
|
|
@@ -20779,14 +20814,9 @@ function listReviewItems(options) {
|
|
|
20779
20814
|
};
|
|
20780
20815
|
}
|
|
20781
20816
|
function performReview(memoryDir, itemId, action, options = {}) {
|
|
20782
|
-
|
|
20783
|
-
|
|
20784
|
-
|
|
20785
|
-
case "dismiss":
|
|
20786
|
-
return dismissItem(memoryDir, itemId, options);
|
|
20787
|
-
case "flag":
|
|
20788
|
-
return flagItem(memoryDir, itemId, options);
|
|
20789
|
-
}
|
|
20817
|
+
const result = action === "approve" ? approveItem(memoryDir, itemId, options) : action === "dismiss" ? dismissItem(memoryDir, itemId, options) : flagItem(memoryDir, itemId, options);
|
|
20818
|
+
if (result.updatedPath !== void 0) bumpMemoryCorpusVersionForDir(memoryDir);
|
|
20819
|
+
return result;
|
|
20790
20820
|
}
|
|
20791
20821
|
function approveItem(memoryDir, itemId, options) {
|
|
20792
20822
|
const rootReal = realMemoryRoot(memoryDir);
|
|
@@ -21885,6 +21915,7 @@ function copyMemories(sourceDir, targetDir, options) {
|
|
|
21885
21915
|
}
|
|
21886
21916
|
fs7.writeFileSync(targetPath, content);
|
|
21887
21917
|
merged++;
|
|
21918
|
+
bumpMemoryCorpusVersionForDir(targetRoot);
|
|
21888
21919
|
}
|
|
21889
21920
|
return { merged, conflicts, skipped };
|
|
21890
21921
|
}
|
|
@@ -23338,4 +23369,4 @@ export {
|
|
|
23338
23369
|
blendGraphExpandedRecallScore,
|
|
23339
23370
|
Orchestrator
|
|
23340
23371
|
};
|
|
23341
|
-
//# sourceMappingURL=chunk-
|
|
23372
|
+
//# sourceMappingURL=chunk-N3LWQJ6Y.js.map
|