@remnic/core 9.3.726 → 9.3.727
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-boundary.d.ts +5 -5
- package/dist/access-boundary.js +20 -20
- package/dist/access-cli.js +42 -42
- package/dist/access-http.d.ts +20 -5
- package/dist/access-http.js +25 -25
- package/dist/access-mcp.d.ts +5 -5
- package/dist/access-mcp.js +24 -24
- package/dist/access-operations-batch.js +21 -21
- package/dist/access-operations.d.ts +5 -5
- package/dist/access-operations.js +23 -23
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-B2PlPtxh.d.ts → access-service-Bgpjxo4f.d.ts} +36 -4
- package/dist/access-service.d.ts +5 -5
- package/dist/access-service.js +19 -19
- package/dist/access-surface-catalog.d.ts +5 -5
- 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 +3 -3
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +4 -4
- package/dist/briefing.d.ts +1 -1
- package/dist/briefing.js +7 -7
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +1 -1
- package/dist/calibration.d.ts +1 -1
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-crypto-GWVG7LGC.js → capsule-crypto-7FJQINUR.js} +2 -2
- package/dist/{catalog-CzUb-GyD.d.ts → catalog-bMczlO2G.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 +8 -8
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-Q6D75LVH.js → chunk-27QQC7ZX.js} +75 -14
- package/dist/{chunk-Q6D75LVH.js.map → chunk-27QQC7ZX.js.map} +1 -1
- package/dist/{chunk-53EEQYE5.js → chunk-2KAYTPPT.js} +7 -7
- package/dist/{chunk-OWHERGF2.js → chunk-2NLLXCJG.js} +2 -2
- package/dist/{chunk-BIA7ELIB.js → chunk-36SEDFAU.js} +3 -3
- package/dist/{chunk-UQSVUEN2.js → chunk-37436GML.js} +2 -2
- package/dist/{chunk-RRHHQYJS.js → chunk-3TSTGI6F.js} +2 -2
- package/dist/{chunk-FO3HO52S.js → chunk-4H4F3BFL.js} +2 -2
- package/dist/{chunk-BEUCACTV.js → chunk-4NOI577P.js} +2 -2
- package/dist/{chunk-BBIE7W52.js → chunk-4NR2PDZ5.js} +2 -2
- package/dist/{chunk-TQQH2FTX.js → chunk-6PY5YJAV.js} +101 -15
- package/dist/{chunk-TQQH2FTX.js.map → chunk-6PY5YJAV.js.map} +1 -1
- package/dist/{chunk-PKMQK2WY.js → chunk-773DPI6T.js} +4 -4
- package/dist/{chunk-MQVKHFIU.js → chunk-7RLCCNHU.js} +8 -8
- package/dist/{chunk-XGTBNVIU.js → chunk-AAD2ZS6P.js} +11 -1
- package/dist/chunk-AAD2ZS6P.js.map +1 -0
- package/dist/{chunk-EZNDNMRH.js → chunk-AQLOP5F4.js} +2 -2
- package/dist/{chunk-UNNDFYUX.js → chunk-ARV3AUOM.js} +5 -5
- package/dist/{chunk-NPL7VDM6.js → chunk-ASKXIAHD.js} +2 -2
- package/dist/{chunk-K4ZNARDO.js → chunk-CBWI22JN.js} +2 -2
- package/dist/{chunk-ZOHMPFOB.js → chunk-CKFLLAIS.js} +3 -3
- package/dist/{chunk-DCKNMLEQ.js → chunk-CSRXQ6NB.js} +2 -2
- package/dist/{chunk-6AFVIOVZ.js → chunk-CTOQEZSN.js} +2 -2
- package/dist/{chunk-7NS7AWMZ.js → chunk-DKJCRGWM.js} +3 -3
- package/dist/{chunk-JPUT5NGH.js → chunk-DMQWV6SQ.js} +2 -2
- package/dist/{chunk-F3XZN24Z.js → chunk-DRUDC2UX.js} +2 -2
- package/dist/{chunk-KJR66XOM.js → chunk-EY6MDMHK.js} +2 -2
- package/dist/{chunk-3TUT4PWB.js → chunk-FVZ2ISIX.js} +2 -2
- package/dist/{chunk-C4X4QGIO.js → chunk-G6NKALRN.js} +5 -2
- package/dist/chunk-G6NKALRN.js.map +1 -0
- package/dist/{chunk-6SQQOJ4U.js → chunk-GKRLPHPU.js} +2 -2
- package/dist/{chunk-5NWYQUQC.js → chunk-HOHVIVDR.js} +2 -2
- package/dist/{chunk-6WAJQKBS.js → chunk-JYLFZWUX.js} +2 -2
- package/dist/{chunk-5W7CTZ2E.js → chunk-KQAFEZQX.js} +4 -4
- package/dist/{chunk-YTZ3VGC7.js → chunk-M4V2JVSZ.js} +2 -2
- package/dist/{chunk-PLG6JHQS.js → chunk-MJIHJ7OG.js} +38 -38
- package/dist/{chunk-TA3Y6GEX.js → chunk-MLKWJOAJ.js} +2 -2
- package/dist/{chunk-2NBP25BG.js → chunk-N3VNUM4Z.js} +171 -79
- package/dist/chunk-N3VNUM4Z.js.map +1 -0
- package/dist/{chunk-UKTDXTWX.js → chunk-NSA5ZRUL.js} +6 -6
- package/dist/{chunk-DQXPJ6HD.js → chunk-OEEW4KJA.js} +4 -4
- package/dist/{chunk-7AG54AF3.js → chunk-PUR2CKX2.js} +1 -1
- package/dist/chunk-PUR2CKX2.js.map +1 -0
- package/dist/{chunk-5OOA7SGX.js → chunk-R7IYU5DZ.js} +2 -2
- package/dist/{chunk-WGTWGDR5.js → chunk-SNKPUJHR.js} +5 -5
- package/dist/{chunk-BB57OZWC.js → chunk-UVPL565C.js} +2 -2
- package/dist/{chunk-UVYI6VIX.js → chunk-X7Y7WX73.js} +1 -1
- package/dist/{chunk-OAHOL3ZC.js → chunk-XPHVAOBT.js} +111 -30
- package/dist/chunk-XPHVAOBT.js.map +1 -0
- package/dist/{chunk-V7CMKMHM.js → chunk-Y4YD5TYW.js} +3 -3
- package/dist/{chunk-MDBZTH7N.js → chunk-YKBHOBJK.js} +44 -10
- package/dist/chunk-YKBHOBJK.js.map +1 -0
- package/dist/{chunk-3MS3QVX6.js → chunk-YOLZS7NY.js} +2 -2
- package/dist/{chunk-6OIDDKAA.js → chunk-YTU7WKYN.js} +35 -9
- package/dist/chunk-YTU7WKYN.js.map +1 -0
- package/dist/{cli-IOlDHSBT.d.ts → cli-BLME420h.d.ts} +3 -3
- package/dist/cli.d.ts +6 -6
- package/dist/cli.js +47 -47
- package/dist/compat/codex-cli-fallback.d.ts +1 -0
- package/dist/compat/codex-cli-fallback.js +22 -0
- package/dist/compat/codex-cli-fallback.js.map +1 -0
- package/dist/compat/codex-thread-key.d.ts +1 -0
- package/dist/compat/codex-thread-key.js +18 -0
- package/dist/compat/codex-thread-key.js.map +1 -0
- package/dist/compounding/engine.d.ts +1 -1
- 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 +3 -3
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +7 -7
- 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 +1 -1
- package/dist/consolidation-undo.d.ts +1 -1
- package/dist/contradiction/index.d.ts +1 -1
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +1 -1
- package/dist/entity-retrieval.js +7 -7
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +4 -4
- 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.d.ts +1 -1
- package/dist/extraction.js +2 -2
- package/dist/faithfulness-config.d.ts +1 -0
- package/dist/faithfulness-config.js +1 -1
- package/dist/fallback-llm.d.ts +1 -1
- 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/index.d.ts +9 -9
- package/dist/index.js +61 -61
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +7 -7
- 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 +9 -4
- package/dist/local-model-endpoint.js +1 -1
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +7 -7
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -7
- package/dist/maintenance/rebuild-memory-projection.js +8 -8
- package/dist/mcp-memory-inspector-app.d.ts +5 -5
- 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 +1 -1
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +2 -2
- package/dist/namespaces/migrate.js +12 -12
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +4 -4
- package/dist/namespaces/storage.d.ts +2 -2
- package/dist/namespaces/storage.js +7 -7
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +1 -1
- package/dist/operator-toolkit.js +18 -18
- package/dist/orchestration/maintenance.d.ts +2 -2
- package/dist/orchestration/maintenance.js +9 -9
- package/dist/{orchestrator-C_OMSIMZ.d.ts → orchestrator-DqPAz8ot.d.ts} +3 -3
- package/dist/orchestrator.d.ts +4 -4
- package/dist/orchestrator.js +30 -30
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/provenance.js +1 -1
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-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/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +4 -4
- package/dist/retrieval-agents.d.ts +1 -1
- 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/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 +7 -7
- 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-B8LiYtvx.d.ts → semantic-consolidation-Cl15ksZy.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +8 -8
- package/dist/semantic-rule-promotion.js +7 -7
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +7 -7
- 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/signal.d.ts +1 -1
- package/dist/storage.d.ts +1 -1
- package/dist/storage.js +6 -6
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.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 +1 -1
- 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/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +2 -2
- 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-DmTaqob2.d.ts → types-ChQb9D6s.d.ts} +8 -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.js +7 -7
- package/package.json +26 -2
- package/src/access-http.ts +68 -1
- package/src/admin/admin-surfaces.test.ts +289 -0
- package/src/admin/admin-surfaces.ts +138 -7
- package/src/bitemporal-dedup-backfill.test.ts +294 -0
- package/src/chat/chat-engine.test.ts +66 -1
- package/src/chat/chat-http.test.ts +119 -1
- package/src/chat/chat-http.ts +252 -97
- package/src/chat/chat-session.ts +143 -7
- package/src/compat/codex-cli-fallback.ts +23 -0
- package/src/compat/codex-subpath-aliases.test.ts +93 -0
- package/src/compat/codex-thread-key.ts +23 -0
- package/src/extraction-faithfulness.test.ts +240 -0
- package/src/extraction-faithfulness.ts +58 -6
- package/src/faithfulness-config.ts +16 -1
- package/src/local-model-endpoint.ts +24 -3
- package/src/orchestrator.ts +200 -8
- package/src/provenance-extraction.test.ts +266 -0
- package/src/provenance.ts +66 -16
- package/src/types.ts +8 -0
- package/dist/chunk-2NBP25BG.js.map +0 -1
- package/dist/chunk-6OIDDKAA.js.map +0 -1
- package/dist/chunk-7AG54AF3.js.map +0 -1
- package/dist/chunk-C4X4QGIO.js.map +0 -1
- package/dist/chunk-MDBZTH7N.js.map +0 -1
- package/dist/chunk-OAHOL3ZC.js.map +0 -1
- package/dist/chunk-XGTBNVIU.js.map +0 -1
- /package/dist/{capsule-crypto-GWVG7LGC.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
- /package/dist/{chunk-53EEQYE5.js.map → chunk-2KAYTPPT.js.map} +0 -0
- /package/dist/{chunk-OWHERGF2.js.map → chunk-2NLLXCJG.js.map} +0 -0
- /package/dist/{chunk-BIA7ELIB.js.map → chunk-36SEDFAU.js.map} +0 -0
- /package/dist/{chunk-UQSVUEN2.js.map → chunk-37436GML.js.map} +0 -0
- /package/dist/{chunk-RRHHQYJS.js.map → chunk-3TSTGI6F.js.map} +0 -0
- /package/dist/{chunk-FO3HO52S.js.map → chunk-4H4F3BFL.js.map} +0 -0
- /package/dist/{chunk-BEUCACTV.js.map → chunk-4NOI577P.js.map} +0 -0
- /package/dist/{chunk-BBIE7W52.js.map → chunk-4NR2PDZ5.js.map} +0 -0
- /package/dist/{chunk-PKMQK2WY.js.map → chunk-773DPI6T.js.map} +0 -0
- /package/dist/{chunk-MQVKHFIU.js.map → chunk-7RLCCNHU.js.map} +0 -0
- /package/dist/{chunk-EZNDNMRH.js.map → chunk-AQLOP5F4.js.map} +0 -0
- /package/dist/{chunk-UNNDFYUX.js.map → chunk-ARV3AUOM.js.map} +0 -0
- /package/dist/{chunk-NPL7VDM6.js.map → chunk-ASKXIAHD.js.map} +0 -0
- /package/dist/{chunk-K4ZNARDO.js.map → chunk-CBWI22JN.js.map} +0 -0
- /package/dist/{chunk-ZOHMPFOB.js.map → chunk-CKFLLAIS.js.map} +0 -0
- /package/dist/{chunk-DCKNMLEQ.js.map → chunk-CSRXQ6NB.js.map} +0 -0
- /package/dist/{chunk-6AFVIOVZ.js.map → chunk-CTOQEZSN.js.map} +0 -0
- /package/dist/{chunk-7NS7AWMZ.js.map → chunk-DKJCRGWM.js.map} +0 -0
- /package/dist/{chunk-JPUT5NGH.js.map → chunk-DMQWV6SQ.js.map} +0 -0
- /package/dist/{chunk-F3XZN24Z.js.map → chunk-DRUDC2UX.js.map} +0 -0
- /package/dist/{chunk-KJR66XOM.js.map → chunk-EY6MDMHK.js.map} +0 -0
- /package/dist/{chunk-3TUT4PWB.js.map → chunk-FVZ2ISIX.js.map} +0 -0
- /package/dist/{chunk-6SQQOJ4U.js.map → chunk-GKRLPHPU.js.map} +0 -0
- /package/dist/{chunk-5NWYQUQC.js.map → chunk-HOHVIVDR.js.map} +0 -0
- /package/dist/{chunk-6WAJQKBS.js.map → chunk-JYLFZWUX.js.map} +0 -0
- /package/dist/{chunk-5W7CTZ2E.js.map → chunk-KQAFEZQX.js.map} +0 -0
- /package/dist/{chunk-YTZ3VGC7.js.map → chunk-M4V2JVSZ.js.map} +0 -0
- /package/dist/{chunk-PLG6JHQS.js.map → chunk-MJIHJ7OG.js.map} +0 -0
- /package/dist/{chunk-TA3Y6GEX.js.map → chunk-MLKWJOAJ.js.map} +0 -0
- /package/dist/{chunk-UKTDXTWX.js.map → chunk-NSA5ZRUL.js.map} +0 -0
- /package/dist/{chunk-DQXPJ6HD.js.map → chunk-OEEW4KJA.js.map} +0 -0
- /package/dist/{chunk-5OOA7SGX.js.map → chunk-R7IYU5DZ.js.map} +0 -0
- /package/dist/{chunk-WGTWGDR5.js.map → chunk-SNKPUJHR.js.map} +0 -0
- /package/dist/{chunk-BB57OZWC.js.map → chunk-UVPL565C.js.map} +0 -0
- /package/dist/{chunk-UVYI6VIX.js.map → chunk-X7Y7WX73.js.map} +0 -0
- /package/dist/{chunk-V7CMKMHM.js.map → chunk-Y4YD5TYW.js.map} +0 -0
- /package/dist/{chunk-3MS3QVX6.js.map → chunk-YOLZS7NY.js.map} +0 -0
|
@@ -7,26 +7,26 @@ import {
|
|
|
7
7
|
} from "./chunk-4T3BMHKD.js";
|
|
8
8
|
import {
|
|
9
9
|
MaintenanceScheduler
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MLKWJOAJ.js";
|
|
11
11
|
import {
|
|
12
12
|
migrateFromEngram
|
|
13
13
|
} from "./chunk-7HYPN2GC.js";
|
|
14
14
|
import {
|
|
15
15
|
LcmEngine
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-773DPI6T.js";
|
|
17
|
+
import {
|
|
18
|
+
chunkTranscriptEntries
|
|
19
|
+
} from "./chunk-TECVW3JP.js";
|
|
17
20
|
import {
|
|
18
21
|
cleanupConversationChunks
|
|
19
22
|
} from "./chunk-O7GOFAM3.js";
|
|
20
23
|
import {
|
|
21
24
|
CompoundingEngine,
|
|
22
25
|
defaultTierMigrationCycleBudget
|
|
23
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4NR2PDZ5.js";
|
|
24
27
|
import {
|
|
25
28
|
SharedContextManager
|
|
26
29
|
} from "./chunk-UFS7OXGL.js";
|
|
27
|
-
import {
|
|
28
|
-
chunkTranscriptEntries
|
|
29
|
-
} from "./chunk-TECVW3JP.js";
|
|
30
30
|
import {
|
|
31
31
|
applyTrustScoreStage,
|
|
32
32
|
buildTrustSignalsForRerank,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
} from "./chunk-LTHVM4XN.js";
|
|
155
155
|
import {
|
|
156
156
|
ExtractionEngine
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-CSRXQ6NB.js";
|
|
158
158
|
import {
|
|
159
159
|
parseMemoryActionEligibilityContext
|
|
160
160
|
} from "./chunk-5GSUBCZM.js";
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
buildEntityRecallSection,
|
|
193
193
|
entityRecentTranscriptLookbackHours,
|
|
194
194
|
readRecentEntityTranscriptEntries
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-YOLZS7NY.js";
|
|
196
196
|
import {
|
|
197
197
|
normalizeReplaySessionKey
|
|
198
198
|
} from "./chunk-2PRQG7PV.js";
|
|
@@ -202,14 +202,14 @@ import {
|
|
|
202
202
|
import {
|
|
203
203
|
compareVerifiedEpisodeResults,
|
|
204
204
|
searchVerifiedEpisodes
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-ASKXIAHD.js";
|
|
206
206
|
import {
|
|
207
207
|
ThreadingManager
|
|
208
208
|
} from "./chunk-QRDOSYOR.js";
|
|
209
209
|
import {
|
|
210
210
|
compareVerifiedSemanticRuleResults,
|
|
211
211
|
searchVerifiedSemanticRules
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-UVPL565C.js";
|
|
213
213
|
import {
|
|
214
214
|
searchWorkProductLedgerEntries
|
|
215
215
|
} from "./chunk-ZRWB5D4H.js";
|
|
@@ -222,14 +222,14 @@ import {
|
|
|
222
222
|
import {
|
|
223
223
|
runNamespaceMaintenanceFanout,
|
|
224
224
|
summarizeNamespaceMaintenanceHealth
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-CBWI22JN.js";
|
|
226
226
|
import {
|
|
227
227
|
NamespaceCatalog,
|
|
228
228
|
planNamespaceMaintenance
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-M4V2JVSZ.js";
|
|
230
230
|
import {
|
|
231
231
|
NamespaceStorageRouter
|
|
232
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-3TSTGI6F.js";
|
|
233
233
|
import {
|
|
234
234
|
searchHarmonicRetrieval
|
|
235
235
|
} from "./chunk-AV5ZEH4M.js";
|
|
@@ -267,7 +267,7 @@ import {
|
|
|
267
267
|
materializeAfterSemanticConsolidation,
|
|
268
268
|
parseConsolidationResponse,
|
|
269
269
|
parseOperatorAwareConsolidationResponse
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-DMQWV6SQ.js";
|
|
271
271
|
import {
|
|
272
272
|
buildRecallQueryPolicy
|
|
273
273
|
} from "./chunk-LBJBNWS2.js";
|
|
@@ -308,7 +308,7 @@ import {
|
|
|
308
308
|
clusterByKey,
|
|
309
309
|
createCorrectionService,
|
|
310
310
|
detectPassiveCorrections
|
|
311
|
-
} from "./chunk-
|
|
311
|
+
} from "./chunk-AQLOP5F4.js";
|
|
312
312
|
import {
|
|
313
313
|
listTrustZoneRecords,
|
|
314
314
|
searchTrustZoneRecords
|
|
@@ -318,7 +318,7 @@ import {
|
|
|
318
318
|
} from "./chunk-FF4KLI5W.js";
|
|
319
319
|
import {
|
|
320
320
|
buildXraySnapshot
|
|
321
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-DRUDC2UX.js";
|
|
322
322
|
import {
|
|
323
323
|
objectiveStateStoreOverrideForNamespace,
|
|
324
324
|
searchObjectiveStateSnapshots
|
|
@@ -333,11 +333,11 @@ import {
|
|
|
333
333
|
} from "./chunk-J6BH2OBA.js";
|
|
334
334
|
import {
|
|
335
335
|
NamespaceSearchRouter
|
|
336
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-CTOQEZSN.js";
|
|
337
337
|
import {
|
|
338
338
|
createConversationIndexRuntime,
|
|
339
339
|
createSearchBackend
|
|
340
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-2KAYTPPT.js";
|
|
341
341
|
import {
|
|
342
342
|
NoopSearchBackend
|
|
343
343
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -377,7 +377,7 @@ import {
|
|
|
377
377
|
} from "./chunk-TBBDFYXW.js";
|
|
378
378
|
import {
|
|
379
379
|
buildChainFollowupGenerator
|
|
380
|
-
} from "./chunk-
|
|
380
|
+
} from "./chunk-EY6MDMHK.js";
|
|
381
381
|
import {
|
|
382
382
|
ContentHashIndex,
|
|
383
383
|
StorageManager,
|
|
@@ -385,7 +385,10 @@ import {
|
|
|
385
385
|
fingerprintEntityStructuredFacts,
|
|
386
386
|
normalizeAttributePairs,
|
|
387
387
|
parseEntityFile
|
|
388
|
-
} from "./chunk-
|
|
388
|
+
} from "./chunk-7RLCCNHU.js";
|
|
389
|
+
import {
|
|
390
|
+
buildRetiredFactTombstoneInputs
|
|
391
|
+
} from "./chunk-L2B3EE7B.js";
|
|
389
392
|
import {
|
|
390
393
|
isValidTranscriptDate,
|
|
391
394
|
loadSpeakerRegistry,
|
|
@@ -393,9 +396,6 @@ import {
|
|
|
393
396
|
saveSpeakerRegistry,
|
|
394
397
|
speakerRegistryKey
|
|
395
398
|
} from "./chunk-M7XQSUBB.js";
|
|
396
|
-
import {
|
|
397
|
-
buildRetiredFactTombstoneInputs
|
|
398
|
-
} from "./chunk-L2B3EE7B.js";
|
|
399
399
|
import {
|
|
400
400
|
assertPathInsideRoot
|
|
401
401
|
} from "./chunk-5GPPACXK.js";
|
|
@@ -419,7 +419,7 @@ import {
|
|
|
419
419
|
} from "./chunk-J6A3CX5N.js";
|
|
420
420
|
import {
|
|
421
421
|
confidenceTier
|
|
422
|
-
} from "./chunk-
|
|
422
|
+
} from "./chunk-PUR2CKX2.js";
|
|
423
423
|
import {
|
|
424
424
|
buildQmdRecallCacheKey,
|
|
425
425
|
getCachedQmdRecall,
|
|
@@ -437,7 +437,7 @@ import {
|
|
|
437
437
|
applyFaithfulnessVerdict,
|
|
438
438
|
createFaithfulnessCounters,
|
|
439
439
|
runFaithfulnessGateBatch
|
|
440
|
-
} from "./chunk-
|
|
440
|
+
} from "./chunk-YTU7WKYN.js";
|
|
441
441
|
import {
|
|
442
442
|
FallbackLlmClient,
|
|
443
443
|
fallbackLlmRuntimeContextFromConfig,
|
|
@@ -3583,7 +3583,8 @@ var Orchestrator = class _Orchestrator {
|
|
|
3583
3583
|
* copy already carries.
|
|
3584
3584
|
*/
|
|
3585
3585
|
async backfillTemporalBoundsOnDedupHit(targetStorage, dedupContent, bounds, entityRef) {
|
|
3586
|
-
|
|
3586
|
+
const hasExtractedStart = bounds.validFrom !== void 0 && bounds.eventTimeSource === "extracted";
|
|
3587
|
+
if (!bounds.invalidAt && !hasExtractedStart) return;
|
|
3587
3588
|
try {
|
|
3588
3589
|
const incomingHash = ContentHashIndex.computeHash(dedupContent);
|
|
3589
3590
|
const normalizedIncoming = ContentHashIndex.normalizeContent(dedupContent);
|
|
@@ -3614,6 +3615,12 @@ var Orchestrator = class _Orchestrator {
|
|
|
3614
3615
|
if (bounds.eventTimeSource && (!fm.eventTimeSource || fm.eventTimeSource.length === 0)) {
|
|
3615
3616
|
patch.eventTimeSource = bounds.eventTimeSource;
|
|
3616
3617
|
}
|
|
3618
|
+
if (bounds.validFrom && bounds.eventTimeSource === "extracted" && fm.valid_at !== bounds.validFrom) {
|
|
3619
|
+
patch.valid_at = bounds.validFrom;
|
|
3620
|
+
if (fm.eventTimeSource !== "extracted") {
|
|
3621
|
+
patch.eventTimeSource = "extracted";
|
|
3622
|
+
}
|
|
3623
|
+
}
|
|
3617
3624
|
if (Object.keys(patch).length === 0) return;
|
|
3618
3625
|
const ok = await targetStorage.writeMemoryFrontmatter(existing, patch);
|
|
3619
3626
|
if (ok) {
|
|
@@ -11935,12 +11942,14 @@ ${normalized}`).digest("hex");
|
|
|
11935
11942
|
const targetStorage = await this.storageRouter.storageFor(target.namespace);
|
|
11936
11943
|
if (targetStorage.dir === options.sourceStorage.dir) continue;
|
|
11937
11944
|
if (options.category === "fact" && await targetStorage.hasFactContentHash(dedupContent)) {
|
|
11938
|
-
if (options.invalidAt) {
|
|
11945
|
+
if (options.invalidAt || options.validAt) {
|
|
11939
11946
|
await this.backfillTemporalBoundsOnDedupHit(
|
|
11940
11947
|
targetStorage,
|
|
11941
11948
|
dedupContent,
|
|
11942
11949
|
{
|
|
11943
11950
|
invalidAt: options.invalidAt,
|
|
11951
|
+
// #1707 thread 2 — carry the corrected start bound.
|
|
11952
|
+
validFrom: options.validAt,
|
|
11944
11953
|
...options.observedAt ? { observedAt: options.observedAt } : {},
|
|
11945
11954
|
...options.eventTimeSource ? { eventTimeSource: options.eventTimeSource } : {}
|
|
11946
11955
|
},
|
|
@@ -12029,12 +12038,14 @@ ${normalized}`).digest("hex");
|
|
|
12029
12038
|
const dedupContent = options.category === "fact" && options.structuredAttributes && Object.keys(options.structuredAttributes).length > 0 ? `${sanitizedBase.text}
|
|
12030
12039
|
[Attributes: ${normalizeAttributePairs(options.structuredAttributes)}]` : sanitizedBase.text;
|
|
12031
12040
|
if (options.category === "fact" && await sharedStorage.hasFactContentHash(dedupContent)) {
|
|
12032
|
-
if (options.invalidAt) {
|
|
12041
|
+
if (options.invalidAt || options.validAt) {
|
|
12033
12042
|
await this.backfillTemporalBoundsOnDedupHit(
|
|
12034
12043
|
sharedStorage,
|
|
12035
12044
|
dedupContent,
|
|
12036
12045
|
{
|
|
12037
12046
|
invalidAt: options.invalidAt,
|
|
12047
|
+
// #1707 thread 2 — carry the corrected start bound.
|
|
12048
|
+
validFrom: options.validAt,
|
|
12038
12049
|
...options.observedAt ? { observedAt: options.observedAt } : {},
|
|
12039
12050
|
...options.eventTimeSource ? { eventTimeSource: options.eventTimeSource } : {}
|
|
12040
12051
|
},
|
|
@@ -12157,6 +12168,60 @@ ${normalized}`).digest("hex");
|
|
|
12157
12168
|
);
|
|
12158
12169
|
}
|
|
12159
12170
|
};
|
|
12171
|
+
const backfillTemporalBoundsOnPromotionCopies = async (args) => {
|
|
12172
|
+
const hasExtractedStart = args.bounds.validFrom !== void 0 && args.bounds.eventTimeSource === "extracted";
|
|
12173
|
+
if (!args.bounds.invalidAt && !hasExtractedStart) return;
|
|
12174
|
+
const rawContent = citationEnabled && hasCitationForTemplate(args.content, citationTemplate) ? stripCitationForTemplate(args.content, citationTemplate) : args.content;
|
|
12175
|
+
const sanitizedBase = sanitizeMemoryContent(rawContent);
|
|
12176
|
+
const dedupContent = args.category === "fact" && args.structuredAttributes && Object.keys(args.structuredAttributes).length > 0 ? `${sanitizedBase.text}
|
|
12177
|
+
[Attributes: ${normalizeAttributePairs(args.structuredAttributes)}]` : sanitizedBase.text;
|
|
12178
|
+
if (scopeProfileWritePlan) {
|
|
12179
|
+
const autoTargets = new Set(
|
|
12180
|
+
scopeProfileWritePlan.profile.autoPromote.targets
|
|
12181
|
+
);
|
|
12182
|
+
const profileTargets = scopeProfileWritePlan.promotionTargets.filter(
|
|
12183
|
+
(target) => target.target !== "serverShared" && autoTargets.has(target.target) && target.authorized && target.namespace
|
|
12184
|
+
);
|
|
12185
|
+
for (const target of profileTargets) {
|
|
12186
|
+
if (!target.namespace) continue;
|
|
12187
|
+
try {
|
|
12188
|
+
const targetStorage = await this.storageRouter.storageFor(
|
|
12189
|
+
target.namespace
|
|
12190
|
+
);
|
|
12191
|
+
if (targetStorage.dir === args.sourceStorage.dir) continue;
|
|
12192
|
+
await this.backfillTemporalBoundsOnDedupHit(
|
|
12193
|
+
targetStorage,
|
|
12194
|
+
dedupContent,
|
|
12195
|
+
args.bounds,
|
|
12196
|
+
args.entityRef
|
|
12197
|
+
);
|
|
12198
|
+
} catch (err) {
|
|
12199
|
+
log.warn(
|
|
12200
|
+
`bitemporal-backfill: profile-target backfill failed open for ${target.target}: ${err}`
|
|
12201
|
+
);
|
|
12202
|
+
}
|
|
12203
|
+
}
|
|
12204
|
+
}
|
|
12205
|
+
if (profileAllowsSharedWrites) {
|
|
12206
|
+
try {
|
|
12207
|
+
const sharedStorage = await this.storageRouter.storageFor(
|
|
12208
|
+
this.config.sharedNamespace
|
|
12209
|
+
);
|
|
12210
|
+
if (sharedStorage.dir !== args.sourceStorage.dir) {
|
|
12211
|
+
await this.backfillTemporalBoundsOnDedupHit(
|
|
12212
|
+
sharedStorage,
|
|
12213
|
+
dedupContent,
|
|
12214
|
+
args.bounds,
|
|
12215
|
+
args.entityRef
|
|
12216
|
+
);
|
|
12217
|
+
}
|
|
12218
|
+
} catch (err) {
|
|
12219
|
+
log.warn(
|
|
12220
|
+
`bitemporal-backfill: shared-target backfill failed open: ${err}`
|
|
12221
|
+
);
|
|
12222
|
+
}
|
|
12223
|
+
}
|
|
12224
|
+
};
|
|
12160
12225
|
if (!result || !Array.isArray(result.facts)) {
|
|
12161
12226
|
log.warn(
|
|
12162
12227
|
"persistExtraction: result or result.facts is invalid, skipping",
|
|
@@ -12465,7 +12530,7 @@ ${normalized}`).digest("hex");
|
|
|
12465
12530
|
);
|
|
12466
12531
|
}
|
|
12467
12532
|
if (exactDuplicate) {
|
|
12468
|
-
if (biTemporal && biTemporal.validUntil) {
|
|
12533
|
+
if (biTemporal && writeCategory === "fact" && (biTemporal.validUntil || biTemporal.validFrom)) {
|
|
12469
12534
|
const fr = faithfulnessResultsByFactIndex?.get(factLoopIndex);
|
|
12470
12535
|
const faithfulnessWouldPending = faithfulnessMode === "enforce" && fr?.ok === true && (fr.verdict === "unsupported" || fr.verdict === "contradicted");
|
|
12471
12536
|
const requireSpansWouldPending = this.config.provenance?.requireSpans === true && fact.requireSpansPending === true;
|
|
@@ -12477,11 +12542,27 @@ ${normalized}`).digest("hex");
|
|
|
12477
12542
|
contentHashDedupKey,
|
|
12478
12543
|
{
|
|
12479
12544
|
invalidAt: biTemporal.validUntil,
|
|
12545
|
+
// #1707 thread 2 — carry the corrected start bound too.
|
|
12546
|
+
validFrom: biTemporal.validFrom,
|
|
12480
12547
|
observedAt: biTemporal.observedAt,
|
|
12481
12548
|
eventTimeSource: biTemporal.eventTimeSource
|
|
12482
12549
|
},
|
|
12483
12550
|
fact.entityRef
|
|
12484
12551
|
);
|
|
12552
|
+
await backfillTemporalBoundsOnPromotionCopies({
|
|
12553
|
+
sourceStorage: targetStorage,
|
|
12554
|
+
content: fact.content,
|
|
12555
|
+
category: writeCategory,
|
|
12556
|
+
confidence: fact.confidence,
|
|
12557
|
+
entityRef: fact.entityRef,
|
|
12558
|
+
structuredAttributes: fact.structuredAttributes,
|
|
12559
|
+
bounds: {
|
|
12560
|
+
invalidAt: biTemporal.validUntil,
|
|
12561
|
+
validFrom: biTemporal.validFrom,
|
|
12562
|
+
observedAt: biTemporal.observedAt,
|
|
12563
|
+
eventTimeSource: biTemporal.eventTimeSource
|
|
12564
|
+
}
|
|
12565
|
+
});
|
|
12485
12566
|
}
|
|
12486
12567
|
}
|
|
12487
12568
|
log.debug(
|
|
@@ -16232,4 +16313,4 @@ export {
|
|
|
16232
16313
|
resolvePersistedMemoryRelativePath,
|
|
16233
16314
|
Orchestrator
|
|
16234
16315
|
};
|
|
16235
|
-
//# sourceMappingURL=chunk-
|
|
16316
|
+
//# sourceMappingURL=chunk-XPHVAOBT.js.map
|