@remnic/core 9.6.39 → 9.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +6 -6
- package/dist/access-admin-ops-surface.js +16 -16
- package/dist/access-boundary.d.ts +6 -6
- package/dist/access-boundary.js +17 -17
- package/dist/access-cli.js +56 -55
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +6 -6
- package/dist/access-http.js +22 -22
- package/dist/access-identity-continuity-surface.d.ts +5 -5
- package/dist/access-identity-continuity-surface.js +16 -16
- package/dist/access-lcm-surface.d.ts +6 -6
- package/dist/access-lcm-surface.js +16 -16
- package/dist/access-mcp.d.ts +6 -6
- package/dist/access-mcp.js +21 -21
- package/dist/access-observe-write-surface.d.ts +6 -6
- package/dist/access-observe-write-surface.js +16 -16
- package/dist/access-operations-batch.js +19 -19
- package/dist/access-operations.d.ts +6 -6
- package/dist/access-operations.js +20 -20
- package/dist/access-recall-surface.d.ts +6 -6
- package/dist/access-recall-surface.js +16 -16
- package/dist/{access-service-Fw9AYEqG.d.ts → access-service-CJ5hrLqR.d.ts} +4 -4
- package/dist/access-service.d.ts +6 -6
- package/dist/access-service.js +16 -16
- 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-memory-bridge.js +3 -3
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +1 -1
- package/dist/{auto-sync-4A5YBWYO.js → auto-sync-676N6N6Y.js} +4 -4
- 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 +5 -5
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/buffer.js +2 -2
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/calibration.js +1 -1
- package/dist/capabilities.d.ts +4 -2
- package/dist/capabilities.js +1 -1
- package/dist/{catalog-CnS_MP-8.d.ts → catalog-XCOyxXKw.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 +7 -7
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-SFHI7JBE.js → chunk-2FSHROYK.js} +3 -3
- package/dist/{chunk-WHZ7MK72.js → chunk-4YUPLX7U.js} +3 -3
- package/dist/{chunk-ZIKJD6NL.js → chunk-53Y3TETS.js} +2 -2
- package/dist/{chunk-UI4FVU6T.js → chunk-5CJVLG3H.js} +2 -2
- package/dist/{chunk-BAVVI5GP.js → chunk-7PND4PUC.js} +3 -3
- package/dist/{chunk-NREKOGZ2.js → chunk-ARD5NE4M.js} +3 -3
- package/dist/{chunk-GCTJG5MP.js → chunk-AWHOZTF6.js} +4 -4
- package/dist/{chunk-VSF7AAGE.js → chunk-BFPETA3S.js} +3 -2
- package/dist/chunk-BFPETA3S.js.map +1 -0
- package/dist/{chunk-ZGPDSEKG.js → chunk-BFVEEB7W.js} +2 -2
- package/dist/{chunk-AZK3NEHL.js → chunk-BLXNPBJI.js} +2 -2
- package/dist/chunk-C7SRUWBW.js +54 -0
- package/dist/chunk-C7SRUWBW.js.map +1 -0
- package/dist/{chunk-VTRF5QBX.js → chunk-CBOHQNTJ.js} +2 -2
- package/dist/{chunk-ZSDRGPMV.js → chunk-D6KNJRGX.js} +2 -2
- package/dist/{chunk-2V6L3L56.js → chunk-DDHT5J5M.js} +33 -8
- package/dist/chunk-DDHT5J5M.js.map +1 -0
- package/dist/{chunk-3WULMX34.js → chunk-DSWYYEIK.js} +10 -1
- package/dist/chunk-DSWYYEIK.js.map +1 -0
- package/dist/{chunk-U5JP7FCM.js → chunk-E47TABDR.js} +2 -2
- package/dist/{chunk-7TEWOG3R.js → chunk-FMECZFUT.js} +2 -2
- package/dist/{chunk-QWGNDWKB.js → chunk-FNMFJWBY.js} +2 -2
- package/dist/{chunk-CZGIIADK.js → chunk-FXGC5UUH.js} +56 -11
- package/dist/chunk-FXGC5UUH.js.map +1 -0
- package/dist/{chunk-JIKJPDQJ.js → chunk-GKCCHHZK.js} +15 -5
- package/dist/chunk-GKCCHHZK.js.map +1 -0
- package/dist/{chunk-EDD2G35Z.js → chunk-GWMTFDHF.js} +4 -4
- package/dist/{chunk-VCW74PNH.js → chunk-H67QFYUK.js} +2 -2
- package/dist/{chunk-5ELELET5.js → chunk-HT2DQ27U.js} +3 -3
- package/dist/{chunk-VU3SVYMA.js → chunk-HTIIXNJQ.js} +2 -2
- package/dist/{chunk-I73G4UH7.js → chunk-IALLX7EE.js} +2 -2
- package/dist/{chunk-PE6XR4GG.js → chunk-IKQTFQMI.js} +2 -2
- package/dist/{chunk-XZ5I7OZR.js → chunk-KIPLG7S7.js} +4 -4
- package/dist/{chunk-QLVLW7UD.js → chunk-KSBEEMQF.js} +17 -5
- package/dist/chunk-KSBEEMQF.js.map +1 -0
- package/dist/{chunk-RU73ZROD.js → chunk-KWJP22WP.js} +12 -12
- package/dist/{chunk-MNUHL34L.js → chunk-LKT755LP.js} +2 -2
- package/dist/{chunk-PI23H7FV.js → chunk-M7VGG3ID.js} +3 -3
- package/dist/{chunk-PWSZNML3.js → chunk-NGJT7IW5.js} +284 -38
- package/dist/chunk-NGJT7IW5.js.map +1 -0
- package/dist/{chunk-HVE3UVAB.js → chunk-NS4GEMLR.js} +3 -3
- package/dist/{chunk-ZMXXHUEZ.js → chunk-O24E5CFS.js} +3 -3
- package/dist/{chunk-3BZDBG7U.js → chunk-PML3GU4Q.js} +3 -3
- package/dist/{chunk-DQ2CJYUM.js → chunk-PSQ32V5P.js} +3 -3
- package/dist/{chunk-7XY6TJLM.js → chunk-PUPQ2PMC.js} +3 -3
- package/dist/{chunk-EBVUFGJ4.js → chunk-QFOLNA2C.js} +2 -2
- package/dist/{chunk-METJNEIB.js → chunk-QMUERLZK.js} +1 -1
- package/dist/chunk-QMUERLZK.js.map +1 -0
- package/dist/{chunk-PQG2AOL4.js → chunk-QRYNEVHP.js} +28 -4
- package/dist/{chunk-PQG2AOL4.js.map → chunk-QRYNEVHP.js.map} +1 -1
- package/dist/{chunk-CVEEJKRD.js → chunk-RQTCDICG.js} +2 -2
- package/dist/{chunk-F7AE7L6G.js → chunk-RZEJDF3S.js} +2 -2
- package/dist/{chunk-YFBTVOMB.js → chunk-SYNYI4ZM.js} +2 -2
- package/dist/{chunk-BRDJ2HFP.js → chunk-TRWPCR6P.js} +2 -2
- package/dist/{chunk-YAN6NTJN.js → chunk-UKA7GNI2.js} +3 -3
- package/dist/{chunk-TQNRI55H.js → chunk-UR6PBX2J.js} +4 -51
- package/dist/chunk-UR6PBX2J.js.map +1 -0
- package/dist/{chunk-XH2Y6UIW.js → chunk-VD56CJRR.js} +4 -4
- package/dist/{chunk-J3XHPFEU.js → chunk-VXMWDXIJ.js} +2 -2
- package/dist/{chunk-QT2RZNRT.js → chunk-VY6LKKVN.js} +2 -2
- package/dist/{chunk-PRTA6444.js → chunk-W4PGTAS2.js} +2 -2
- package/dist/{chunk-WX4XTAOI.js → chunk-WGE3OYC3.js} +7 -7
- package/dist/{chunk-RVLE2SNP.js → chunk-X6FSCBJZ.js} +22 -22
- package/dist/{chunk-6MWGGPJJ.js → chunk-Y4EMHIQ5.js} +7 -7
- package/dist/{chunk-IGCQHJSQ.js → chunk-Z3HJ5L3Z.js} +2 -2
- package/dist/{chunk-O2EL7EGG.js → chunk-ZQ7UBUZ6.js} +2 -2
- package/dist/{chunk-5SORASJK.js → chunk-ZXUG3AFP.js} +2 -2
- package/dist/{cli-PGF41MN6.d.ts → cli-CtECZr1q.d.ts} +5 -5
- package/dist/cli.d.ts +8 -8
- package/dist/cli.js +37 -36
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +7 -7
- 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 +5 -5
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +7 -7
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/contradiction/index.d.ts +2 -2
- package/dist/contradiction/index.js +2 -2
- package/dist/{contradiction-scan-SSKCAMLX.js → contradiction-scan-J57T5QV7.js} +3 -3
- 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/day-summary.js +2 -2
- 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/embedding-fallback.js +2 -2
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +6 -6
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +5 -5
- package/dist/explicit-capture.js +2 -2
- package/dist/extraction-faithfulness.d.ts +1 -1
- package/dist/extraction-faithfulness.js +2 -2
- 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 +2 -2
- package/dist/extraction.d.ts +17 -2
- package/dist/extraction.js +12 -7
- package/dist/fallback-llm.d.ts +5 -2
- package/dist/fallback-llm.js +1 -1
- package/dist/{first-start-migration-4I3VDSYS.js → first-start-migration-TI67YMLG.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/index.d.ts +13 -13
- package/dist/index.js +56 -55
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/index.d.ts +1 -1
- 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/live-connectors-runner.js +3 -2
- package/dist/local-llm.d.ts +1 -1
- package/dist/local-llm.js +2 -2
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +5 -5
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
- package/dist/maintenance/rebuild-memory-projection.js +6 -6
- 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 +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +10 -10
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/principal.js +2 -2
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +4 -4
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +6 -6
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +2 -2
- package/dist/operator-toolkit.js +16 -16
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/compression-guideline-coordinator.js +2 -2
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +10 -10
- package/dist/{orchestrator-xePY-WPe.d.ts → orchestrator-CKctWsw9.d.ts} +51 -4
- package/dist/orchestrator.d.ts +5 -5
- package/dist/orchestrator.js +56 -55
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-Zgwz-Kne.d.ts → pipeline-BWwGIys5.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/{qmd-B6Xwfn5_.d.ts → qmd-DFuUrBWW.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/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 +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +2 -2
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/schemas.d.ts +22 -22
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/embed-helper.js +2 -2
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +3 -3
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +3 -3
- 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-ClfD_CWg.d.ts → semantic-consolidation-1Wlr7NWL.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +7 -7
- package/dist/semantic-rule-promotion.js +5 -5
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +5 -5
- 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 +1 -1
- package/dist/shared-context/manager.js +2 -2
- package/dist/signal.d.ts +1 -1
- package/dist/{storage-ZrHZ0dSM.d.ts → storage-BQwP90sb.d.ts} +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +4 -4
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +4 -4
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +2 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/{tier-stats-5XF4UBRQ.js → tier-stats-KV7IWCJR.js} +2 -2
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/types.d.ts +12 -12
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-BbtQZBq9.d.ts → types-DgIkyAsK.d.ts} +39 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +5 -5
- package/package.json +2 -2
- package/src/buffer-session.test.ts +40 -8
- package/src/buffer.ts +41 -17
- package/src/capabilities.test.ts +1 -0
- package/src/capabilities.ts +4 -0
- package/src/config.test.ts +19 -0
- package/src/config.ts +29 -0
- package/src/extraction.test.ts +39 -0
- package/src/extraction.ts +72 -2
- package/src/fallback-llm.ts +26 -5
- package/src/operator-toolkit.ts +53 -0
- package/src/orchestration/extraction-run.test.ts +639 -0
- package/src/orchestration/extraction-run.ts +366 -2
- package/src/orchestration/session-context.ts +2 -0
- package/src/orchestration/turn-ingestion.ts +5 -0
- package/src/orchestrator-flush.test.ts +36 -2
- package/src/orchestrator.ts +12 -1
- package/src/storage.ts +34 -0
- package/src/types.ts +40 -0
- package/dist/chunk-2V6L3L56.js.map +0 -1
- package/dist/chunk-3WULMX34.js.map +0 -1
- package/dist/chunk-CZGIIADK.js.map +0 -1
- package/dist/chunk-JIKJPDQJ.js.map +0 -1
- package/dist/chunk-METJNEIB.js.map +0 -1
- package/dist/chunk-PWSZNML3.js.map +0 -1
- package/dist/chunk-QLVLW7UD.js.map +0 -1
- package/dist/chunk-TQNRI55H.js.map +0 -1
- package/dist/chunk-VSF7AAGE.js.map +0 -1
- /package/dist/{auto-sync-4A5YBWYO.js.map → auto-sync-676N6N6Y.js.map} +0 -0
- /package/dist/{chunk-SFHI7JBE.js.map → chunk-2FSHROYK.js.map} +0 -0
- /package/dist/{chunk-WHZ7MK72.js.map → chunk-4YUPLX7U.js.map} +0 -0
- /package/dist/{chunk-ZIKJD6NL.js.map → chunk-53Y3TETS.js.map} +0 -0
- /package/dist/{chunk-UI4FVU6T.js.map → chunk-5CJVLG3H.js.map} +0 -0
- /package/dist/{chunk-BAVVI5GP.js.map → chunk-7PND4PUC.js.map} +0 -0
- /package/dist/{chunk-NREKOGZ2.js.map → chunk-ARD5NE4M.js.map} +0 -0
- /package/dist/{chunk-GCTJG5MP.js.map → chunk-AWHOZTF6.js.map} +0 -0
- /package/dist/{chunk-ZGPDSEKG.js.map → chunk-BFVEEB7W.js.map} +0 -0
- /package/dist/{chunk-AZK3NEHL.js.map → chunk-BLXNPBJI.js.map} +0 -0
- /package/dist/{chunk-VTRF5QBX.js.map → chunk-CBOHQNTJ.js.map} +0 -0
- /package/dist/{chunk-ZSDRGPMV.js.map → chunk-D6KNJRGX.js.map} +0 -0
- /package/dist/{chunk-U5JP7FCM.js.map → chunk-E47TABDR.js.map} +0 -0
- /package/dist/{chunk-7TEWOG3R.js.map → chunk-FMECZFUT.js.map} +0 -0
- /package/dist/{chunk-QWGNDWKB.js.map → chunk-FNMFJWBY.js.map} +0 -0
- /package/dist/{chunk-EDD2G35Z.js.map → chunk-GWMTFDHF.js.map} +0 -0
- /package/dist/{chunk-VCW74PNH.js.map → chunk-H67QFYUK.js.map} +0 -0
- /package/dist/{chunk-5ELELET5.js.map → chunk-HT2DQ27U.js.map} +0 -0
- /package/dist/{chunk-VU3SVYMA.js.map → chunk-HTIIXNJQ.js.map} +0 -0
- /package/dist/{chunk-I73G4UH7.js.map → chunk-IALLX7EE.js.map} +0 -0
- /package/dist/{chunk-PE6XR4GG.js.map → chunk-IKQTFQMI.js.map} +0 -0
- /package/dist/{chunk-XZ5I7OZR.js.map → chunk-KIPLG7S7.js.map} +0 -0
- /package/dist/{chunk-RU73ZROD.js.map → chunk-KWJP22WP.js.map} +0 -0
- /package/dist/{chunk-MNUHL34L.js.map → chunk-LKT755LP.js.map} +0 -0
- /package/dist/{chunk-PI23H7FV.js.map → chunk-M7VGG3ID.js.map} +0 -0
- /package/dist/{chunk-HVE3UVAB.js.map → chunk-NS4GEMLR.js.map} +0 -0
- /package/dist/{chunk-ZMXXHUEZ.js.map → chunk-O24E5CFS.js.map} +0 -0
- /package/dist/{chunk-3BZDBG7U.js.map → chunk-PML3GU4Q.js.map} +0 -0
- /package/dist/{chunk-DQ2CJYUM.js.map → chunk-PSQ32V5P.js.map} +0 -0
- /package/dist/{chunk-7XY6TJLM.js.map → chunk-PUPQ2PMC.js.map} +0 -0
- /package/dist/{chunk-EBVUFGJ4.js.map → chunk-QFOLNA2C.js.map} +0 -0
- /package/dist/{chunk-CVEEJKRD.js.map → chunk-RQTCDICG.js.map} +0 -0
- /package/dist/{chunk-F7AE7L6G.js.map → chunk-RZEJDF3S.js.map} +0 -0
- /package/dist/{chunk-YFBTVOMB.js.map → chunk-SYNYI4ZM.js.map} +0 -0
- /package/dist/{chunk-BRDJ2HFP.js.map → chunk-TRWPCR6P.js.map} +0 -0
- /package/dist/{chunk-YAN6NTJN.js.map → chunk-UKA7GNI2.js.map} +0 -0
- /package/dist/{chunk-XH2Y6UIW.js.map → chunk-VD56CJRR.js.map} +0 -0
- /package/dist/{chunk-J3XHPFEU.js.map → chunk-VXMWDXIJ.js.map} +0 -0
- /package/dist/{chunk-QT2RZNRT.js.map → chunk-VY6LKKVN.js.map} +0 -0
- /package/dist/{chunk-PRTA6444.js.map → chunk-W4PGTAS2.js.map} +0 -0
- /package/dist/{chunk-WX4XTAOI.js.map → chunk-WGE3OYC3.js.map} +0 -0
- /package/dist/{chunk-RVLE2SNP.js.map → chunk-X6FSCBJZ.js.map} +0 -0
- /package/dist/{chunk-6MWGGPJJ.js.map → chunk-Y4EMHIQ5.js.map} +0 -0
- /package/dist/{chunk-IGCQHJSQ.js.map → chunk-Z3HJ5L3Z.js.map} +0 -0
- /package/dist/{chunk-O2EL7EGG.js.map → chunk-ZQ7UBUZ6.js.map} +0 -0
- /package/dist/{chunk-5SORASJK.js.map → chunk-ZXUG3AFP.js.map} +0 -0
- /package/dist/{contradiction-scan-SSKCAMLX.js.map → contradiction-scan-J57T5QV7.js.map} +0 -0
- /package/dist/{first-start-migration-4I3VDSYS.js.map → first-start-migration-TI67YMLG.js.map} +0 -0
- /package/dist/{tier-stats-5XF4UBRQ.js.map → tier-stats-KV7IWCJR.js.map} +0 -0
package/dist/storage.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import './types-
|
|
1
|
+
import './types-DgIkyAsK.js';
|
|
2
2
|
import './page-versioning.js';
|
|
3
|
-
export { C as ContentHashIndex, w as MemoryLifecycleEventWriteOptions, M as MemoryWriteResult, R as ReextractJobRequest, S as StorageManager, x as buildEntitySchemaCacheKey, y as compareEntityTimestamps, z as compileEntityFacts, A as countEntityStructuredFacts, B as fingerprintEntityStructuredFacts, E as isEntitySynthesisStale, G as isValidBufferSurpriseEvent, r as normalizeAttributePairs, H as normalizeEntityName, I as normalizeFrontmatterForPath, J as normalizeStructuredSectionFacts, s as parseEntityFile, K as parseFrontmatter, L as parseFrontmatterStringValue, u as serializeEntityFile } from './storage-
|
|
3
|
+
export { C as ContentHashIndex, w as MemoryLifecycleEventWriteOptions, M as MemoryWriteResult, R as ReextractJobRequest, S as StorageManager, x as buildEntitySchemaCacheKey, y as compareEntityTimestamps, z as compileEntityFacts, A as countEntityStructuredFacts, B as fingerprintEntityStructuredFacts, E as isEntitySynthesisStale, G as isValidBufferSurpriseEvent, r as normalizeAttributePairs, H as normalizeEntityName, I as normalizeFrontmatterForPath, J as normalizeStructuredSectionFacts, s as parseEntityFile, K as parseFrontmatter, L as parseFrontmatterStringValue, u as serializeEntityFile } from './storage-BQwP90sb.js';
|
|
4
4
|
import './consolidation-operator.js';
|
|
5
5
|
import './memory-projection-store.js';
|
|
6
6
|
export { stripAttributesSuffix } from './structured-attributes.js';
|
package/dist/storage.js
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseFrontmatter,
|
|
17
17
|
parseFrontmatterStringValue,
|
|
18
18
|
serializeEntityFile
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QRYNEVHP.js";
|
|
20
20
|
import "./chunk-B3ABVQ36.js";
|
|
21
21
|
import "./chunk-L2B3EE7B.js";
|
|
22
22
|
import "./chunk-5UZXUTVO.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
stripAttributesSuffix
|
|
30
30
|
} from "./chunk-SVOZFLIQ.js";
|
|
31
31
|
import "./chunk-LTJAMRGI.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-QMUERLZK.js";
|
|
33
33
|
import "./chunk-RHOZ5LLO.js";
|
|
34
34
|
import "./chunk-RL6NEVXT.js";
|
|
35
35
|
import "./chunk-AWJ2FHCF.js";
|
|
@@ -38,12 +38,12 @@ import "./chunk-RULE4VG5.js";
|
|
|
38
38
|
import "./chunk-SCU65EZI.js";
|
|
39
39
|
import "./chunk-DM2T26WE.js";
|
|
40
40
|
import "./chunk-LDXUBPMO.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-LKT755LP.js";
|
|
42
42
|
import "./chunk-AAD2ZS6P.js";
|
|
43
43
|
import "./chunk-G7D6GZ5J.js";
|
|
44
44
|
import "./chunk-VF4XKTX3.js";
|
|
45
45
|
import "./chunk-W5H6ZRPT.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-GKCCHHZK.js";
|
|
47
47
|
import "./chunk-K2ZLHESQ.js";
|
|
48
48
|
import "./chunk-L2EXJQJP.js";
|
|
49
49
|
import "./chunk-VFSP73LP.js";
|
package/dist/summarizer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelRegistry } from './model-registry.js';
|
|
2
|
-
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-
|
|
2
|
+
import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-DgIkyAsK.js';
|
|
3
3
|
import { TranscriptManager } from './transcript.js';
|
|
4
4
|
import './message-parts/index.js';
|
|
5
5
|
import './session-integrity.js';
|
package/dist/summarizer.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HourlySummarizer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KIPLG7S7.js";
|
|
4
4
|
import "./chunk-3FAMU5TX.js";
|
|
5
5
|
import "./chunk-KAWTOYAW.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-VY6LKKVN.js";
|
|
7
7
|
import "./chunk-S4DDLTPX.js";
|
|
8
8
|
import "./chunk-FF4KLI5W.js";
|
|
9
9
|
import "./chunk-O75CRYGF.js";
|
|
10
10
|
import "./chunk-LTJAMRGI.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-GKCCHHZK.js";
|
|
12
12
|
import "./chunk-K2ZLHESQ.js";
|
|
13
13
|
import "./chunk-L2EXJQJP.js";
|
|
14
14
|
import "./chunk-VFSP73LP.js";
|
|
15
15
|
import "./chunk-RGMVMVMF.js";
|
|
16
16
|
import "./chunk-N7RWREIQ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-BFPETA3S.js";
|
|
18
18
|
import "./chunk-EYIEWJNI.js";
|
|
19
19
|
import "./chunk-JUC24CTX.js";
|
|
20
20
|
import "./chunk-37CTGERM.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as MemoryFrontmatter } from './types-
|
|
2
|
-
import { S as StorageManager } from './storage-
|
|
1
|
+
import { p as MemoryFrontmatter } from './types-DgIkyAsK.js';
|
|
2
|
+
import { S as StorageManager } from './storage-BQwP90sb.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
import './page-versioning.js';
|
|
5
5
|
import './consolidation-operator.js';
|
package/dist/threading.d.ts
CHANGED
package/dist/tier-migration.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MemoryFile } from './types-
|
|
2
|
-
import { S as StorageManager } from './storage-
|
|
1
|
+
import { M as MemoryFile } from './types-DgIkyAsK.js';
|
|
2
|
+
import { S as StorageManager } from './storage-BQwP90sb.js';
|
|
3
3
|
import { MemoryTier } from './tier-routing.js';
|
|
4
4
|
import { SearchBackend } from './search/port.js';
|
|
5
5
|
import './message-parts/index.js';
|
package/dist/tier-routing.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
resolveQmdCapabilities,
|
|
16
16
|
resolveUtilityLearningCapabilities
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BFPETA3S.js";
|
|
18
18
|
import "./chunk-A2IYSXDQ.js";
|
|
19
19
|
import "./chunk-LPSF4OQH.js";
|
|
20
20
|
import "./chunk-PZ5AY32C.js";
|
|
@@ -153,4 +153,4 @@ export {
|
|
|
153
153
|
formatTierSummaryText,
|
|
154
154
|
summarizeTiers
|
|
155
155
|
};
|
|
156
|
-
//# sourceMappingURL=tier-stats-
|
|
156
|
+
//# sourceMappingURL=tier-stats-KV7IWCJR.js.map
|
package/dist/topics.d.ts
CHANGED
package/dist/transcript.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginConfig, T as TranscriptEntry, q as Checkpoint } from './types-
|
|
1
|
+
import { P as PluginConfig, T as TranscriptEntry, q as Checkpoint } from './types-DgIkyAsK.js';
|
|
2
2
|
import { SessionIntegrityReport } from './session-integrity.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
|
package/dist/transfer/types.d.ts
CHANGED
|
@@ -313,13 +313,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
313
313
|
peerProfiles: boolean;
|
|
314
314
|
}>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
+
schemaVersion: string;
|
|
316
317
|
includes: {
|
|
317
318
|
procedural: boolean;
|
|
318
319
|
taxonomy: boolean;
|
|
319
320
|
identityAnchors: boolean;
|
|
320
321
|
peerProfiles: boolean;
|
|
321
322
|
};
|
|
322
|
-
schemaVersion: string;
|
|
323
323
|
id: string;
|
|
324
324
|
version: string;
|
|
325
325
|
description: string;
|
|
@@ -334,13 +334,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
334
334
|
forkRoot: string;
|
|
335
335
|
} | null;
|
|
336
336
|
}, {
|
|
337
|
+
schemaVersion: string;
|
|
337
338
|
includes: {
|
|
338
339
|
procedural: boolean;
|
|
339
340
|
taxonomy: boolean;
|
|
340
341
|
identityAnchors: boolean;
|
|
341
342
|
peerProfiles: boolean;
|
|
342
343
|
};
|
|
343
|
-
schemaVersion: string;
|
|
344
344
|
id: string;
|
|
345
345
|
version: string;
|
|
346
346
|
description: string;
|
|
@@ -464,13 +464,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
464
464
|
peerProfiles: boolean;
|
|
465
465
|
}>;
|
|
466
466
|
}, "strip", z.ZodTypeAny, {
|
|
467
|
+
schemaVersion: string;
|
|
467
468
|
includes: {
|
|
468
469
|
procedural: boolean;
|
|
469
470
|
taxonomy: boolean;
|
|
470
471
|
identityAnchors: boolean;
|
|
471
472
|
peerProfiles: boolean;
|
|
472
473
|
};
|
|
473
|
-
schemaVersion: string;
|
|
474
474
|
id: string;
|
|
475
475
|
version: string;
|
|
476
476
|
description: string;
|
|
@@ -485,13 +485,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
485
485
|
forkRoot: string;
|
|
486
486
|
} | null;
|
|
487
487
|
}, {
|
|
488
|
+
schemaVersion: string;
|
|
488
489
|
includes: {
|
|
489
490
|
procedural: boolean;
|
|
490
491
|
taxonomy: boolean;
|
|
491
492
|
identityAnchors: boolean;
|
|
492
493
|
peerProfiles: boolean;
|
|
493
494
|
};
|
|
494
|
-
schemaVersion: string;
|
|
495
495
|
id: string;
|
|
496
496
|
version: string;
|
|
497
497
|
description: string;
|
|
@@ -518,13 +518,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
518
518
|
pluginVersion: string;
|
|
519
519
|
includesTranscripts: boolean;
|
|
520
520
|
capsule: {
|
|
521
|
+
schemaVersion: string;
|
|
521
522
|
includes: {
|
|
522
523
|
procedural: boolean;
|
|
523
524
|
taxonomy: boolean;
|
|
524
525
|
identityAnchors: boolean;
|
|
525
526
|
peerProfiles: boolean;
|
|
526
527
|
};
|
|
527
|
-
schemaVersion: string;
|
|
528
528
|
id: string;
|
|
529
529
|
version: string;
|
|
530
530
|
description: string;
|
|
@@ -551,13 +551,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
551
551
|
pluginVersion: string;
|
|
552
552
|
includesTranscripts: boolean;
|
|
553
553
|
capsule: {
|
|
554
|
+
schemaVersion: string;
|
|
554
555
|
includes: {
|
|
555
556
|
procedural: boolean;
|
|
556
557
|
taxonomy: boolean;
|
|
557
558
|
identityAnchors: boolean;
|
|
558
559
|
peerProfiles: boolean;
|
|
559
560
|
};
|
|
560
|
-
schemaVersion: string;
|
|
561
561
|
id: string;
|
|
562
562
|
version: string;
|
|
563
563
|
description: string;
|
|
@@ -683,13 +683,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
683
683
|
peerProfiles: boolean;
|
|
684
684
|
}>;
|
|
685
685
|
}, "strip", z.ZodTypeAny, {
|
|
686
|
+
schemaVersion: string;
|
|
686
687
|
includes: {
|
|
687
688
|
procedural: boolean;
|
|
688
689
|
taxonomy: boolean;
|
|
689
690
|
identityAnchors: boolean;
|
|
690
691
|
peerProfiles: boolean;
|
|
691
692
|
};
|
|
692
|
-
schemaVersion: string;
|
|
693
693
|
id: string;
|
|
694
694
|
version: string;
|
|
695
695
|
description: string;
|
|
@@ -704,13 +704,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
704
704
|
forkRoot: string;
|
|
705
705
|
} | null;
|
|
706
706
|
}, {
|
|
707
|
+
schemaVersion: string;
|
|
707
708
|
includes: {
|
|
708
709
|
procedural: boolean;
|
|
709
710
|
taxonomy: boolean;
|
|
710
711
|
identityAnchors: boolean;
|
|
711
712
|
peerProfiles: boolean;
|
|
712
713
|
};
|
|
713
|
-
schemaVersion: string;
|
|
714
714
|
id: string;
|
|
715
715
|
version: string;
|
|
716
716
|
description: string;
|
|
@@ -737,13 +737,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
737
737
|
pluginVersion: string;
|
|
738
738
|
includesTranscripts: boolean;
|
|
739
739
|
capsule: {
|
|
740
|
+
schemaVersion: string;
|
|
740
741
|
includes: {
|
|
741
742
|
procedural: boolean;
|
|
742
743
|
taxonomy: boolean;
|
|
743
744
|
identityAnchors: boolean;
|
|
744
745
|
peerProfiles: boolean;
|
|
745
746
|
};
|
|
746
|
-
schemaVersion: string;
|
|
747
747
|
id: string;
|
|
748
748
|
version: string;
|
|
749
749
|
description: string;
|
|
@@ -770,13 +770,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
770
770
|
pluginVersion: string;
|
|
771
771
|
includesTranscripts: boolean;
|
|
772
772
|
capsule: {
|
|
773
|
+
schemaVersion: string;
|
|
773
774
|
includes: {
|
|
774
775
|
procedural: boolean;
|
|
775
776
|
taxonomy: boolean;
|
|
776
777
|
identityAnchors: boolean;
|
|
777
778
|
peerProfiles: boolean;
|
|
778
779
|
};
|
|
779
|
-
schemaVersion: string;
|
|
780
780
|
id: string;
|
|
781
781
|
version: string;
|
|
782
782
|
description: string;
|
|
@@ -815,13 +815,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
815
815
|
pluginVersion: string;
|
|
816
816
|
includesTranscripts: boolean;
|
|
817
817
|
capsule: {
|
|
818
|
+
schemaVersion: string;
|
|
818
819
|
includes: {
|
|
819
820
|
procedural: boolean;
|
|
820
821
|
taxonomy: boolean;
|
|
821
822
|
identityAnchors: boolean;
|
|
822
823
|
peerProfiles: boolean;
|
|
823
824
|
};
|
|
824
|
-
schemaVersion: string;
|
|
825
825
|
id: string;
|
|
826
826
|
version: string;
|
|
827
827
|
description: string;
|
|
@@ -854,13 +854,13 @@ declare const ExportBundleV2Schema: z.ZodObject<{
|
|
|
854
854
|
pluginVersion: string;
|
|
855
855
|
includesTranscripts: boolean;
|
|
856
856
|
capsule: {
|
|
857
|
+
schemaVersion: string;
|
|
857
858
|
includes: {
|
|
858
859
|
procedural: boolean;
|
|
859
860
|
taxonomy: boolean;
|
|
860
861
|
identityAnchors: boolean;
|
|
861
862
|
peerProfiles: boolean;
|
|
862
863
|
};
|
|
863
|
-
schemaVersion: string;
|
|
864
864
|
id: string;
|
|
865
865
|
version: string;
|
|
866
866
|
description: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TrustScoreResult, TrustSignals, TrustBand, TrustScoreComponent } from './trust-score.js';
|
|
2
|
-
import { F as FaithfulnessFrontmatter,
|
|
2
|
+
import { F as FaithfulnessFrontmatter, N as ProvenanceSource, O as TrustWeights } from './types-DgIkyAsK.js';
|
|
3
3
|
import './message-parts/index.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/trust-score.d.ts
CHANGED
|
@@ -1923,6 +1923,22 @@ interface PluginConfig {
|
|
|
1923
1923
|
localLlmRetryBackoffMs: number;
|
|
1924
1924
|
localLlm400TripThreshold: number;
|
|
1925
1925
|
localLlm400CooldownMs: number;
|
|
1926
|
+
/** Master gate. When false, restores pre-change behavior (extractor called on every triggered observe; no gate). */
|
|
1927
|
+
extractionRetryEnabled: boolean;
|
|
1928
|
+
/** Per-fingerprint exponential backoff schedule (ms), indexed by attempt number. */
|
|
1929
|
+
extractionRetryScheduleMs: number[];
|
|
1930
|
+
/** Upper bound on any single backoff interval (ms). */
|
|
1931
|
+
extractionRetryMaxBackoffMs: number;
|
|
1932
|
+
/** Jitter ratio applied to each backoff interval (±ratio). */
|
|
1933
|
+
extractionRetryJitterRatio: number;
|
|
1934
|
+
/** Max attempts for a `parse_empty` fingerprint before it is long-parked. */
|
|
1935
|
+
extractionParseEmptyMaxAttempts: number;
|
|
1936
|
+
/** Consecutive provider failures before the circuit breaker opens. */
|
|
1937
|
+
extractionBreakerFailureThreshold: number;
|
|
1938
|
+
/** Breaker open cooldown (ms) for transient provider failures. */
|
|
1939
|
+
extractionBreakerCooldownMs: number;
|
|
1940
|
+
/** Breaker open cooldown (ms) for auth/config failures (longer — provider is misconfigured). */
|
|
1941
|
+
extractionBreakerAuthCooldownMs: number;
|
|
1926
1942
|
localLlmFastEnabled: boolean;
|
|
1927
1943
|
localLlmFastModel: string;
|
|
1928
1944
|
localLlmFastUrl: string;
|
|
@@ -3368,6 +3384,14 @@ interface QuestionEntry {
|
|
|
3368
3384
|
resolved: boolean;
|
|
3369
3385
|
resolvedAt?: string;
|
|
3370
3386
|
}
|
|
3387
|
+
/**
|
|
3388
|
+
* Coarse failure class consumed by the extraction retry/backoff + circuit
|
|
3389
|
+
* breaker layer (extraction hot-loop hardening). Kept deliberately small:
|
|
3390
|
+
* - `provider_retryable`: transient provider failure (429/5xx/network) — back off and retry.
|
|
3391
|
+
* - `parse_empty`: provider responded but produced no parseable output — retry with a low attempt cap.
|
|
3392
|
+
* - `auth_config`: auth/config failure (401/403/"no models configured") — open the breaker immediately.
|
|
3393
|
+
*/
|
|
3394
|
+
type ExtractionFailureClass = "provider_retryable" | "parse_empty" | "auth_config";
|
|
3371
3395
|
interface ExtractionResult {
|
|
3372
3396
|
facts: ExtractedFact[];
|
|
3373
3397
|
profileUpdates: string[];
|
|
@@ -3376,6 +3400,8 @@ interface ExtractionResult {
|
|
|
3376
3400
|
identityReflection?: string;
|
|
3377
3401
|
relationships?: ExtractedRelationship[];
|
|
3378
3402
|
extractionFailure?: string;
|
|
3403
|
+
/** Coarse class used by the retry/backoff + circuit-breaker layer (extraction hot loop). */
|
|
3404
|
+
extractionFailureClass?: ExtractionFailureClass;
|
|
3379
3405
|
}
|
|
3380
3406
|
interface EntityMention {
|
|
3381
3407
|
name: string;
|
|
@@ -3508,6 +3534,18 @@ interface MetaState {
|
|
|
3508
3534
|
fingerprint: string;
|
|
3509
3535
|
observedAt: string;
|
|
3510
3536
|
}>;
|
|
3537
|
+
/**
|
|
3538
|
+
* Per-fingerprint extraction retry/backoff state (extraction hot-loop
|
|
3539
|
+
* hardening). Optional and default-safe: older meta files without it load
|
|
3540
|
+
* unchanged. Bounded to the newest entries at write time.
|
|
3541
|
+
*/
|
|
3542
|
+
extractionRetryState?: Array<{
|
|
3543
|
+
fingerprint: string;
|
|
3544
|
+
attempts: number;
|
|
3545
|
+
nextEligibleAt: string;
|
|
3546
|
+
firstFailedAt: string;
|
|
3547
|
+
lastFailureClass: ExtractionFailureClass;
|
|
3548
|
+
}>;
|
|
3511
3549
|
}
|
|
3512
3550
|
type MemoryActionType = "store_episode" | "store_note" | "update_note" | "create_artifact" | "summarize_node" | "discard" | "link_graph";
|
|
3513
3551
|
type MemoryActionOutcome = "applied" | "skipped" | "failed";
|
|
@@ -3829,4 +3867,4 @@ interface HourlySummary {
|
|
|
3829
3867
|
generatedAt: string;
|
|
3830
3868
|
}
|
|
3831
3869
|
|
|
3832
|
-
export { type
|
|
3870
|
+
export { type BulkImportOptions as $, type ActiveRecallChatType as A, type BehaviorSignalEvent as B, type CalendarSource as C, type DreamsPhase as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type DaySummaryResult as J, type ExtractionFailureClass as K, type LiveConnectorsConfig as L, type MemoryFile as M, type ProvenanceSource as N, type TrustWeights as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallDisclosure as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type ConversationThread as U, type LifecycleState as V, type VerificationState as W, type PolicyClass as X, type ImportanceLevel as Y, type BufferSurpriseEvent as Z, type ImportTurn as _, type DreamsRunResult as a, type WearableCleanupSettings as a$, type BulkImportSource as a0, type BulkImportResult as a1, type SecretRef as a2, type AgentAccessAuthToken as a3, type CompressionGuidelineOptimizerEventCounts as a4, type CompressionGuidelineOptimizerActionSummary as a5, type CompressionGuidelineOptimizerRuleUpdate as a6, type MemoryActionType as a7, type MemoryActionEvent as a8, type CompressionGuidelineOptimizerState as a9, type FileHygieneConfig as aA, type EntityRelationship as aB, type EntityActivityEntry as aC, type AccessTrackingEntry as aD, type MemorySummary as aE, type EntityTimelineEntry as aF, type CodingContext as aG, type DreamsStatusResult as aH, type ScopeProfileConfig as aI, type ScopeProfileLayerId as aJ, type ScopeProfilePromotionTarget as aK, type WearableConversation as aL, type WearableSourceSettings as aM, type WearableNativeMemory as aN, type WearableMemoryMode as aO, type WearableSourceConnector as aP, type WearablesConfig as aQ, type WearableSyncSummary as aR, type WearableSourceStatus as aS, type WearableDayTranscript as aT, type WearableCorrectionRule as aU, type RecallSectionConfig as aV, type BootstrapOptions as aW, type BootstrapResult as aX, type ConsolidationObservation as aY, type CodingModeConfig as aZ, type CodingKnowledgeConfig as a_, type EntityMention as aa, type EntitySchemaDefinition as ab, type EntitySchemaSectionDefinition as ac, type EntityStructuredSection as ad, type ContinuityIncidentRecord as ae, type ContinuityIncidentCloseInput as af, type ContinuityIncidentOpenInput as ag, type ContinuityImprovementLoop as ah, type ContinuityLoopReviewInput as ai, type ContinuityLoopUpsertInput as aj, type ImportanceScore as ak, type MemoryIntent as al, type MemoryActionEligibilityContext as am, type MemoryActionPolicyResult as an, type MemoryLifecycleEventType as ao, type MemoryLifecycleStateSummary as ap, type ModelProviderConfig as aq, type NativeKnowledgeConfig as ar, type ProvenanceConfig as as, type RetrievalTier as at, type SignalScanResult as au, type TopicScore as av, type QmdSearchExplain as aw, type MemoryLink as ax, type BufferState as ay, type MetaState as az, type RecallPlanMode as b, type ExtractionPassSource as b$, type WearableFusionConfig as b0, type WearableDayTranscriptMeta as b1, type BriefingConfig as b2, type BriefingOpenCommitment as b3, type BriefingWindow as b4, type BulkImportError as b5, type BulkImportSourceAdapter as b6, type CodexCompatConfig as b7, DEFAULT_RECALL_DISCLOSURE as b8, type ExtractedFact as b9, type CodexCompactionFlushMode as bA, type CodexConnectorConfig as bB, type CodingGraphLspConfig as bC, type CompressionGuidelineActivationState as bD, type CompressionGuidelineOptimizerSourceWindow as bE, type ConfidenceTier as bF, type ConsolidationAction as bG, type ConsolidationItem as bH, type ContinuityIncidentState as bI, type ContinuityLoopCadence as bJ, type ContinuityLoopStatus as bK, type ContradictionScanConfig as bL, type CronConversationRecallMode as bM, type CronRecallMode as bN, type DreamingConfig as bO, type DreamingNarrativePromptStyle as bP, type DreamsDeepSleepConfig as bQ, type DreamsLightSleepConfig as bR, type DreamsPhaseStatus as bS, type DreamsPhasesConfig as bT, type DreamsRemConfig as bU, type EngramTraceEvent as bV, type ExtractedProcedureStep as bW, type ExtractedQuestion as bX, type ExtractedReasoningTrace as bY, type ExtractedReasoningTraceStep as bZ, type ExtractedRelationship as b_, type ImportSourceRole as ba, type ImportTurnValidationIssue as bb, type MemoryActionEligibilitySource as bc, type MemoryObservation as bd, type MemoryScope as be, RECALL_DISCLOSURE_LEVELS as bf, type WearableAuthCheck as bg, type WearableFetchOptions as bh, type WearableFetchPage as bi, type WearableNativeMemoryPage as bj, type WearableTranscriptSegment as bk, isImportRole as bl, isRecallDisclosure as bm, parseIsoTimestamp as bn, validateImportTurn as bo, type AgentAccessHttpConfig as bp, type AgentDefaultsConfig as bq, type AgentPersona as br, type BehaviorLoopAdjustment as bs, type BehaviorSignalDirection as bt, type BehaviorSignalType as bu, type BriefingCalendarSourceError as bv, type BufferEntryState as bw, type CaptureMode as bx, type ChatConfig as by, type CodexCliReasoningEffort as bz, type ActiveRecallQueryMode as c, type GitHubLiveConnectorConfig as c0, type GmailLiveConnectorConfig as c1, type GoogleDriveLiveConnectorConfig as c2, type HeartbeatConfig as c3, type HeartbeatDetectionMode as c4, type LlmTraceCallback as c5, type LlmTraceEvent as c6, type MemoryActionOutcome as c7, type MemoryActionPolicyDecision as c8, type MemoryActionStatus as c9, type SlotMismatchMode as cA, type TriggerMode as cB, confidenceTier as cC, type MemoryLinkType as ca, type MemoryOsPresetName as cb, type ModelApi as cc, type ModelDefinitionConfig as cd, type ModelProviderAuthMode as ce, type NamespacePolicy as cf, type NativeKnowledgeFolderRuleConfig as cg, type NativeKnowledgeObsidianVaultConfig as ch, type NativeKnowledgeOpenClawWorkspaceConfig as ci, type NotionLiveConnectorConfig as cj, type PrincipalFromSessionKeyMode as ck, type PrincipalRule as cl, type ProceduralConfig as cm, type QuestionEntry as cn, type ReasoningEffort as co, type RecallPipelineConfig as cp, type RecallTraceEvent as cq, type RelevanceFeedback as cr, SPECULATIVE_TTL_DAYS as cs, type ScopeProfileAutoPromoteConfig as ct, type ScopeProfileTeamProjectConfig as cu, type ScopeTeamConfig as cv, type ScoredEntity as cw, type SemanticChunkingConfigShape as cx, type SignalLevel as cy, type SlotBehaviorConfig as cz, type ActiveRecallPromptStyle as d, type ActiveRecallThinking as e, type ActiveRecallModelFallbackPolicy as f, type BehaviorLoopPolicyState as g, type BriefingSections as h, type BriefingFollowup as i, type BriefingFocus as j, type CalendarEvent as k, type BriefingActiveThread as l, type BriefingResult as m, type BriefingRecentEntity as n, type BufferTurn as o, type MemoryFrontmatter as p, type Checkpoint as q, type AgentPersonaModelConfig as r, type RecallTierExplain as s, type SourceConnectorProvenance as t, type MemoryCategory as u, type MemoryStatus as v, type MemoryProjectionCurrentState as w, type MemoryLifecycleEvent as x, type ExtractionResult as y, type ConsolidationResult as z };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aD as AccessTrackingEntry, A as ActiveRecallChatType, f as ActiveRecallModelFallbackPolicy, d as ActiveRecallPromptStyle, c as ActiveRecallQueryMode, e as ActiveRecallThinking, a3 as AgentAccessAuthToken, bp as AgentAccessHttpConfig, bq as AgentDefaultsConfig, br as AgentPersona, r as AgentPersonaModelConfig, bs as BehaviorLoopAdjustment, g as BehaviorLoopPolicyState, bt as BehaviorSignalDirection, B as BehaviorSignalEvent, bu as BehaviorSignalType, aW as BootstrapOptions, aX as BootstrapResult, l as BriefingActiveThread, bv as BriefingCalendarSourceError, b2 as BriefingConfig, j as BriefingFocus, i as BriefingFollowup, b3 as BriefingOpenCommitment, n as BriefingRecentEntity, m as BriefingResult, h as BriefingSections, b4 as BriefingWindow, bw as BufferEntryState, ay as BufferState, Z as BufferSurpriseEvent, o as BufferTurn, k as CalendarEvent, C as CalendarSource, bx as CaptureMode, by as ChatConfig, q as Checkpoint, bz as CodexCliReasoningEffort, bA as CodexCompactionFlushMode, b7 as CodexCompatConfig, bB as CodexConnectorConfig, aG as CodingContext, bC as CodingGraphLspConfig, a_ as CodingKnowledgeConfig, aZ as CodingModeConfig, bD as CompressionGuidelineActivationState, a5 as CompressionGuidelineOptimizerActionSummary, a4 as CompressionGuidelineOptimizerEventCounts, a6 as CompressionGuidelineOptimizerRuleUpdate, bE as CompressionGuidelineOptimizerSourceWindow, a9 as CompressionGuidelineOptimizerState, bF as ConfidenceTier, bG as ConsolidationAction, bH as ConsolidationItem, aY as ConsolidationObservation, z as ConsolidationResult, ah as ContinuityImprovementLoop, af as ContinuityIncidentCloseInput, ag as ContinuityIncidentOpenInput, ae as ContinuityIncidentRecord, bI as ContinuityIncidentState, bJ as ContinuityLoopCadence, ai as ContinuityLoopReviewInput, bK as ContinuityLoopStatus, aj as ContinuityLoopUpsertInput, bL as ContradictionScanConfig, U as ConversationThread, bM as CronConversationRecallMode, bN as CronRecallMode, b8 as DEFAULT_RECALL_DISCLOSURE, J as DaySummaryResult, bO as DreamingConfig, bP as DreamingNarrativePromptStyle, bQ as DreamsDeepSleepConfig, bR as DreamsLightSleepConfig, D as DreamsPhase, bS as DreamsPhaseStatus, bT as DreamsPhasesConfig, bU as DreamsRemConfig, a as DreamsRunResult, aH as DreamsStatusResult, bV as EngramTraceEvent, aC as EntityActivityEntry, E as EntityFile, aa as EntityMention, aB as EntityRelationship, ab as EntitySchemaDefinition, ac as EntitySchemaSectionDefinition, ad as EntityStructuredSection, aF as EntityTimelineEntry, b9 as ExtractedFact, bW as ExtractedProcedureStep, bX as ExtractedQuestion, bY as ExtractedReasoningTrace, bZ as ExtractedReasoningTraceStep, b_ as ExtractedRelationship, K as ExtractionFailureClass, b$ as ExtractionPassSource, y as ExtractionResult, F as FaithfulnessFrontmatter, aA as FileHygieneConfig, G as GatewayConfig, c0 as GitHubLiveConnectorConfig, c1 as GmailLiveConnectorConfig, c2 as GoogleDriveLiveConnectorConfig, c3 as HeartbeatConfig, c4 as HeartbeatDetectionMode, H as HourlySummary, I as IdentityInjectionMode, Y as ImportanceLevel, ak as ImportanceScore, V as LifecycleState, L as LiveConnectorsConfig, c5 as LlmTraceCallback, c6 as LlmTraceEvent, am as MemoryActionEligibilityContext, bc as MemoryActionEligibilitySource, a8 as MemoryActionEvent, c7 as MemoryActionOutcome, c8 as MemoryActionPolicyDecision, an as MemoryActionPolicyResult, c9 as MemoryActionStatus, a7 as MemoryActionType, u as MemoryCategory, M as MemoryFile, p as MemoryFrontmatter, al as MemoryIntent, x as MemoryLifecycleEvent, ao as MemoryLifecycleEventType, ap as MemoryLifecycleStateSummary, ax as MemoryLink, ca as MemoryLinkType, bd as MemoryObservation, cb as MemoryOsPresetName, w as MemoryProjectionCurrentState, be as MemoryScope, v as MemoryStatus, aE as MemorySummary, az as MetaState, cc as ModelApi, cd as ModelDefinitionConfig, ce as ModelProviderAuthMode, aq as ModelProviderConfig, cf as NamespacePolicy, ar as NativeKnowledgeConfig, cg as NativeKnowledgeFolderRuleConfig, ch as NativeKnowledgeObsidianVaultConfig, ci as NativeKnowledgeOpenClawWorkspaceConfig, cj as NotionLiveConnectorConfig, P as PluginConfig, X as PolicyClass, ck as PrincipalFromSessionKeyMode, cl as PrincipalRule, cm as ProceduralConfig, as as ProvenanceConfig, N as ProvenanceSource, aw as QmdSearchExplain, Q as QmdSearchResult, cn as QuestionEntry, bf as RECALL_DISCLOSURE_LEVELS, co as ReasoningEffort, R as RecallDisclosure, cp as RecallPipelineConfig, b as RecallPlanMode, aV as RecallSectionConfig, s as RecallTierExplain, cq as RecallTraceEvent, cr as RelevanceFeedback, at as RetrievalTier, cs as SPECULATIVE_TTL_DAYS, ct as ScopeProfileAutoPromoteConfig, aI as ScopeProfileConfig, aJ as ScopeProfileLayerId, aK as ScopeProfilePromotionTarget, cu as ScopeProfileTeamProjectConfig, cv as ScopeTeamConfig, cw as ScoredEntity, a2 as SecretRef, cx as SemanticChunkingConfigShape, S as SessionObserverBandConfig, cy as SignalLevel, au as SignalScanResult, cz as SlotBehaviorConfig, cA as SlotMismatchMode, t as SourceConnectorProvenance, av as TopicScore, T as TranscriptEntry, cB as TriggerMode, O as TrustWeights, W as VerificationState, cC as confidenceTier, bm as isRecallDisclosure } from './types-DgIkyAsK.js';
|
|
2
2
|
import './message-parts/index.js';
|
package/dist/types.js
CHANGED
package/dist/verified-recall.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
compareVerifiedEpisodeResults,
|
|
3
3
|
searchVerifiedEpisodes
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FMECZFUT.js";
|
|
5
5
|
import "./chunk-2A3OXAP2.js";
|
|
6
6
|
import "./chunk-ZBJMUXZH.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-QRYNEVHP.js";
|
|
8
8
|
import "./chunk-B3ABVQ36.js";
|
|
9
9
|
import "./chunk-L2B3EE7B.js";
|
|
10
10
|
import "./chunk-5UZXUTVO.js";
|
|
@@ -15,7 +15,7 @@ import "./chunk-J6A3CX5N.js";
|
|
|
15
15
|
import "./chunk-4KJLYTLS.js";
|
|
16
16
|
import "./chunk-SVOZFLIQ.js";
|
|
17
17
|
import "./chunk-LTJAMRGI.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-QMUERLZK.js";
|
|
19
19
|
import "./chunk-RHOZ5LLO.js";
|
|
20
20
|
import "./chunk-RL6NEVXT.js";
|
|
21
21
|
import "./chunk-AWJ2FHCF.js";
|
|
@@ -24,12 +24,12 @@ import "./chunk-RULE4VG5.js";
|
|
|
24
24
|
import "./chunk-SCU65EZI.js";
|
|
25
25
|
import "./chunk-DM2T26WE.js";
|
|
26
26
|
import "./chunk-LDXUBPMO.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-LKT755LP.js";
|
|
28
28
|
import "./chunk-AAD2ZS6P.js";
|
|
29
29
|
import "./chunk-G7D6GZ5J.js";
|
|
30
30
|
import "./chunk-VF4XKTX3.js";
|
|
31
31
|
import "./chunk-W5H6ZRPT.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-GKCCHHZK.js";
|
|
33
33
|
import "./chunk-K2ZLHESQ.js";
|
|
34
34
|
import "./chunk-L2EXJQJP.js";
|
|
35
35
|
import "./chunk-VFSP73LP.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/core",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.7.1",
|
|
4
4
|
"description": "Framework-agnostic Remnic memory engine — orchestrator, storage, extraction, search, trust zones",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -3000,7 +3000,7 @@
|
|
|
3000
3000
|
"core"
|
|
3001
3001
|
],
|
|
3002
3002
|
"peerDependencies": {
|
|
3003
|
-
"@remnic/coding-graph": "^9.
|
|
3003
|
+
"@remnic/coding-graph": "^9.7.1"
|
|
3004
3004
|
},
|
|
3005
3005
|
"peerDependenciesMeta": {
|
|
3006
3006
|
"@remnic/coding-graph": {
|
|
@@ -492,13 +492,19 @@ test("getTurns prepends retained deferred turns before live turns", async () =>
|
|
|
492
492
|
assert.equal(all[1]?.content, "new live turn");
|
|
493
493
|
});
|
|
494
494
|
|
|
495
|
-
test("SmartBuffer
|
|
495
|
+
test("SmartBuffer prefers pruning empty entries and bounds pending-turn buffers at the cap (#1908 policy)", async () => {
|
|
496
|
+
// Pre-#1908 this contract was "never prune non-empty entries". With retry
|
|
497
|
+
// retention (failed extractions keep their turns), unbounded non-empty
|
|
498
|
+
// growth during a provider outage would eventually OOM the daemon — the
|
|
499
|
+
// documented policy (#1908 step 7) is: retain up to MAX_BUFFER_ENTRY_COUNT
|
|
500
|
+
// session entries, then prune the OLDEST sessions with a loud warning.
|
|
501
|
+
// Empty entries are still evicted first.
|
|
496
502
|
const entries = Object.fromEntries(
|
|
497
503
|
Array.from({ length: 205 }, (_, index) => [
|
|
498
504
|
`thread-${index}`,
|
|
499
505
|
{
|
|
500
506
|
turns: [makeTurn(`thread-${index}`, `memory ${index}`)],
|
|
501
|
-
lastExtractionAt:
|
|
507
|
+
lastExtractionAt: new Date(1_700_000_000_000 + index * 60_000).toISOString(),
|
|
502
508
|
extractionCount: 0,
|
|
503
509
|
},
|
|
504
510
|
]),
|
|
@@ -516,14 +522,40 @@ test("SmartBuffer never prunes logical session buffers that still have pending t
|
|
|
516
522
|
...entries,
|
|
517
523
|
},
|
|
518
524
|
});
|
|
519
|
-
const buffer = new SmartBuffer(parseConfig({}), storage as
|
|
525
|
+
const buffer = new SmartBuffer(parseConfig({}), storage as unknown as ConstructorParameters<typeof SmartBuffer>[1]);
|
|
520
526
|
|
|
521
527
|
await buffer.addTurn("active-thread", makeTurn("active-thread", "pending memory"));
|
|
522
528
|
|
|
523
529
|
const persistedKeys = Object.keys(storage.saved?.entries ?? {});
|
|
524
|
-
assert.
|
|
525
|
-
assert.ok(persistedKeys.includes("default"));
|
|
526
|
-
assert.ok(persistedKeys.includes("active-thread"));
|
|
527
|
-
assert.ok(persistedKeys.includes("thread-0"));
|
|
528
|
-
assert.ok(persistedKeys.includes("thread-204"));
|
|
530
|
+
assert.ok(persistedKeys.length <= 201, `bounded at the cap plus default (got ${persistedKeys.length})`);
|
|
531
|
+
assert.ok(persistedKeys.includes("default"), "default entry never pruned");
|
|
532
|
+
assert.ok(persistedKeys.includes("active-thread"), "the just-written key is retained");
|
|
533
|
+
assert.ok(!persistedKeys.includes("thread-0"), "oldest pending entry pruned once over the cap");
|
|
534
|
+
assert.ok(persistedKeys.includes("thread-204"), "newest pending entry survives");
|
|
535
|
+
});
|
|
536
|
+
|
|
537
|
+
test("pruneEntries evicts oldest NON-empty session entries past the cap (#1908 retry-retention bound)", async () => {
|
|
538
|
+
// Retained failed extractions keep their turns in the buffer, so during a
|
|
539
|
+
// provider outage non-empty entries can exceed MAX_BUFFER_ENTRY_COUNT (200).
|
|
540
|
+
// The cap is the documented bound: the oldest non-empty sessions must be
|
|
541
|
+
// evicted (loudly) rather than growing without bound (codex review).
|
|
542
|
+
const entries: NonNullable<BufferState["entries"]> = {};
|
|
543
|
+
for (let i = 0; i < 210; i += 1) {
|
|
544
|
+
const at = new Date(1_700_000_000_000 + i * 60_000).toISOString();
|
|
545
|
+
entries[`session-${String(i).padStart(3, "0")}`] = {
|
|
546
|
+
turns: [{ role: "user", content: `retained turn ${i}`, timestamp: at, sessionKey: `session-${i}` }],
|
|
547
|
+
lastExtractionAt: at,
|
|
548
|
+
extractionCount: 0,
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
const storage = new FakeStorage({ turns: [], lastExtractionAt: null, extractionCount: 0, entries });
|
|
552
|
+
const buffer = new SmartBuffer(parseConfig({}), storage as unknown as ConstructorParameters<typeof SmartBuffer>[1]);
|
|
553
|
+
await buffer.load();
|
|
554
|
+
await buffer.addTurn("session-newest", makeTurn("session-newest", "new turn"));
|
|
555
|
+
|
|
556
|
+
const savedKeys = Object.keys(storage.saved?.entries ?? {});
|
|
557
|
+
assert.ok(savedKeys.length <= 200, `entries bounded at MAX_BUFFER_ENTRY_COUNT (got ${savedKeys.length})`);
|
|
558
|
+
assert.ok(savedKeys.includes("session-newest"), "the just-written key is retained");
|
|
559
|
+
assert.equal(buffer.getTurns("session-000").length, 0, "oldest non-empty entry was evicted");
|
|
560
|
+
assert.ok(buffer.getTurns("session-209").length > 0, "newest pre-existing entry survives");
|
|
529
561
|
});
|