@remnic/core 9.69.73 → 9.69.75
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.js +37 -37
- package/dist/access-authorization-probe.js +38 -38
- package/dist/access-boundary.js +37 -37
- package/dist/access-cli.js +110 -108
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +37 -37
- package/dist/access-http-briefing.js +38 -38
- package/dist/access-http-query.js +39 -39
- package/dist/access-http.js +57 -57
- package/dist/access-identity-continuity-surface.js +37 -37
- package/dist/access-lcm-surface.js +37 -37
- package/dist/access-mcp.js +48 -48
- package/dist/access-namespace-preflight.js +37 -37
- package/dist/access-observe-write-category.js +6 -6
- package/dist/access-observe-write-surface.js +37 -37
- package/dist/access-offline-manifest.js +3 -3
- package/dist/access-operations-batch.js +40 -40
- package/dist/access-operations.js +47 -47
- package/dist/access-recall-concurrency.js +37 -37
- package/dist/access-recall-response.js +37 -37
- package/dist/access-recall-surface.js +37 -37
- package/dist/access-schema.js +5 -5
- package/dist/access-service.js +37 -37
- package/dist/access-surface-catalog.js +39 -39
- package/dist/active-recall.js +16 -15
- package/dist/active-recall.js.map +1 -1
- package/dist/briefing.js +8 -8
- package/dist/buffer.js +1 -1
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.js +11 -11
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.js +2 -2
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-TRLPF7ZP.js → chunk-25LKLNSJ.js} +2 -2
- package/dist/{chunk-GWK7FEUL.js → chunk-2U3R3DDH.js} +6 -6
- package/dist/{chunk-GWQVMKUJ.js → chunk-2UPTRDGM.js} +3 -3
- package/dist/{chunk-MQTCNXTG.js → chunk-4GPI3GVE.js} +7 -7
- package/dist/{chunk-H7BZBSP6.js → chunk-52II7PB6.js} +4 -4
- package/dist/{chunk-HRQWSXNB.js → chunk-5HP5F2SQ.js} +3 -3
- package/dist/{chunk-ICMXLHSC.js → chunk-5KNEOYTF.js} +2 -2
- package/dist/{chunk-5I63ZRIH.js → chunk-5LPDXYU3.js} +4 -4
- package/dist/{chunk-JDBZSRUA.js → chunk-62AE2EUZ.js} +2 -2
- package/dist/{chunk-D5F2Z6WO.js → chunk-6BFW7SGF.js} +2 -2
- package/dist/{chunk-HW4DKAAA.js → chunk-6BSPRNFF.js} +2 -2
- package/dist/{chunk-JX2NWPQ4.js → chunk-6JA22L5X.js} +10 -10
- package/dist/{chunk-JUOJGZPV.js → chunk-6OACG7JV.js} +3 -3
- package/dist/{chunk-NZUHZVHF.js → chunk-7COBZFUF.js} +2 -2
- package/dist/{chunk-XY25CPAO.js → chunk-AQJBFLUA.js} +5 -5
- package/dist/{chunk-SUI5JQVE.js → chunk-AWEMJYN2.js} +2 -2
- package/dist/{chunk-VQJ7UAKA.js → chunk-B6PY25JB.js} +1 -1
- package/dist/{chunk-W7PY7IIB.js → chunk-BXCZPPRO.js} +16 -16
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-DQFZOPDL.js → chunk-CGO3A7SR.js} +2 -2
- package/dist/{chunk-SF6RFI5Z.js → chunk-CHDGJJV6.js} +2 -2
- package/dist/{chunk-GUWH5SOO.js → chunk-COHJUEBQ.js} +2 -2
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/chunk-GBGLS44T.js +20 -0
- package/dist/chunk-GBGLS44T.js.map +1 -0
- package/dist/{chunk-5ID5RTHY.js → chunk-GFD7TWAZ.js} +2 -2
- package/dist/{chunk-G3QJVHFG.js → chunk-GH5YSAAI.js} +15 -12
- package/dist/chunk-GH5YSAAI.js.map +1 -0
- package/dist/{chunk-ZDTG7ALZ.js → chunk-HPK66ZM5.js} +2 -2
- package/dist/{chunk-5TC6MQOW.js → chunk-HS75MCQF.js} +4 -4
- package/dist/{chunk-BSCR5TEN.js → chunk-HZDOLAZV.js} +2 -2
- package/dist/{chunk-UBCVHKZQ.js → chunk-I6Y6QKWF.js} +2 -2
- package/dist/{chunk-YHU5XUF4.js → chunk-IFCKHPY4.js} +2 -2
- package/dist/{chunk-YEHKKZ5T.js → chunk-IGSVMAPQ.js} +2 -2
- package/dist/{chunk-2VV3XLZB.js → chunk-IXLHREAB.js} +4 -4
- package/dist/{chunk-266NJ2YF.js → chunk-JDES3G7T.js} +2 -2
- package/dist/{chunk-VVKLAB3Y.js → chunk-JOMGKV72.js} +2 -2
- package/dist/{chunk-YDMN7TUM.js → chunk-KMHE76A2.js} +2 -2
- package/dist/{chunk-CMAGVPS2.js → chunk-KPSJA45G.js} +2 -2
- package/dist/{chunk-2XGPN5TL.js → chunk-LBL77UXO.js} +7 -7
- package/dist/{chunk-ADWCQWK3.js → chunk-LDOURFFA.js} +2 -2
- package/dist/{chunk-B6RTKSOT.js → chunk-LH6UP5SR.js} +3 -3
- package/dist/chunk-LJLGH2DE.js +65 -0
- package/dist/chunk-LJLGH2DE.js.map +1 -0
- package/dist/{chunk-A7GQBJP5.js → chunk-LVFI5LG7.js} +7 -7
- package/dist/{chunk-6E5GYDIE.js → chunk-MFZACYZ6.js} +2 -2
- package/dist/{chunk-WXPIEWQW.js → chunk-MKNENZCK.js} +3 -3
- package/dist/{chunk-VDKZTNG5.js → chunk-MSRNAAWW.js} +2 -2
- package/dist/{chunk-RG7ZWG3M.js → chunk-NF6LF76X.js} +2 -2
- package/dist/{chunk-7FL25VH3.js → chunk-O4QH33GV.js} +6 -6
- package/dist/{chunk-BIKX37D2.js → chunk-OB2YI57R.js} +35 -35
- package/dist/{chunk-B2FMRNHA.js → chunk-ODP62HIA.js} +2 -2
- package/dist/{chunk-BGBW4H7C.js → chunk-OMYCECTS.js} +2 -2
- package/dist/{chunk-BICNRVEC.js → chunk-QWUJWBZ5.js} +2 -2
- package/dist/{chunk-NEARGPN7.js → chunk-S5FWSNLI.js} +2 -2
- package/dist/{chunk-FN6E373Q.js → chunk-SA2JMMMS.js} +2 -2
- package/dist/{chunk-QVWNNN64.js → chunk-TY5JOP2W.js} +139 -98
- package/dist/chunk-TY5JOP2W.js.map +1 -0
- package/dist/{chunk-WJPRWNZN.js → chunk-UFBHEMNR.js} +2 -2
- package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
- package/dist/{chunk-OVO545UE.js → chunk-VIRTAUJO.js} +2 -2
- package/dist/{chunk-ZHXSOMYH.js → chunk-VVX5PZFS.js} +2 -2
- package/dist/{chunk-AYDU5MJC.js → chunk-VXNWOHOR.js} +2 -2
- package/dist/{chunk-LMMQKZK3.js → chunk-VZBW6CDG.js} +1 -1
- package/dist/{chunk-KNPWG3VI.js → chunk-WDBKDYK2.js} +41 -41
- package/dist/{chunk-ADZLUBNE.js → chunk-WDP7CJZQ.js} +3 -3
- package/dist/{chunk-2ZU6CYTJ.js → chunk-WZKKI6S2.js} +2 -2
- package/dist/{chunk-GRSFFLUY.js → chunk-X2PBZOYZ.js} +2 -2
- package/dist/{chunk-ONEUTVGJ.js → chunk-Y52T5Y6B.js} +2 -2
- package/dist/{chunk-DDNML3YE.js → chunk-YCYFXA6P.js} +2 -2
- package/dist/{chunk-RDWVTUXZ.js → chunk-YMSPN4W4.js} +2 -2
- package/dist/{chunk-AJEUESNJ.js → chunk-YYRMOMX3.js} +2 -2
- package/dist/{chunk-2WMXZYMS.js → chunk-YZENVZWY.js} +2 -2
- package/dist/{chunk-WQZZDN5M.js → chunk-ZHOXXHT5.js} +4 -4
- package/dist/{chunk-GNC5X3J7.js → chunk-ZPED47SP.js} +11 -11
- package/dist/{chunk-RFVF5PLN.js → chunk-ZVTG7JTG.js} +2 -2
- package/dist/cli.js +84 -83
- package/dist/coding/export-okf-codegraph.js +7 -7
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/compounding/engine.js +8 -8
- package/dist/config-search-backend.d.ts +5 -0
- package/dist/config-search-backend.d.ts.map +1 -0
- package/dist/config-search-backend.js +8 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -15
- package/dist/connectors/codex-materialize-runner.js +8 -8
- package/dist/connectors/index.js +8 -8
- package/dist/convergence-refresh.js +10 -10
- package/dist/corpus-watermark.js +10 -10
- package/dist/deep-recall-http-glue.js +6 -6
- package/dist/deep-recall.js +2 -2
- package/dist/entity-retrieval.js +8 -8
- package/dist/event-order-recall.js +2 -2
- package/dist/external-wiki-access.js +38 -38
- package/dist/extraction.js +10 -10
- package/dist/{graph-edge-decay-ROSUPDX3.js → graph-edge-decay-PVKDKLQK.js} +5 -5
- package/dist/graph-edge-decay-PVKDKLQK.js.map +1 -0
- package/dist/graph-jsonl.js +3 -3
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.js +4 -4
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/index.js +124 -122
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.js +11 -11
- package/dist/location/index.js +10 -10
- package/dist/maintenance/memory-governance.js +8 -8
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +8 -8
- package/dist/maintenance/rebuild-memory-projection.js +9 -9
- package/dist/memory-browse-operations.js +38 -38
- package/dist/namespaces/migrate.js +9 -9
- package/dist/namespaces/search.js +4 -4
- package/dist/namespaces/storage.js +8 -8
- package/dist/offline-sync.js +2 -2
- package/dist/operator-doctor-corpus.js +11 -11
- package/dist/operator-toolkit.js +27 -26
- package/dist/orchestration/extraction-persist-citation.d.ts +4 -0
- package/dist/orchestration/extraction-persist-citation.d.ts.map +1 -0
- package/dist/orchestration/extraction-persist.d.ts +1 -3
- package/dist/orchestration/extraction-persist.d.ts.map +1 -1
- package/dist/orchestration/maintenance.js +16 -16
- package/dist/orchestration/recall-entry.d.ts.map +1 -1
- package/dist/orchestrator.js +110 -108
- package/dist/recall-navigation-operations.js +38 -38
- package/dist/recall-navigation.js +37 -37
- package/dist/resume-bundles.js +17 -16
- package/dist/search/factory.js +3 -3
- package/dist/search/index.js +7 -7
- package/dist/semantic-consolidation.js +9 -9
- package/dist/semantic-rule-promotion.js +8 -8
- package/dist/semantic-rule-verifier.js +8 -8
- package/dist/source-agent-qualifier.js +8 -8
- package/dist/standing-memory-recall.d.ts +22 -0
- package/dist/standing-memory-recall.d.ts.map +1 -0
- package/dist/standing-memory-recall.js +16 -0
- package/dist/standing-memory-recall.js.map +1 -0
- package/dist/standup/build.js +8 -8
- package/dist/storage.js +7 -7
- package/dist/support-passport/index.js +40 -40
- 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/export-okf.js +8 -8
- package/dist/verified-recall.js +8 -8
- package/dist/who-knows-cli.js +9 -9
- package/dist/who-knows.js +8 -8
- package/package.json +2 -2
- package/src/config-search-backend.test.ts +21 -0
- package/src/config-search-backend.ts +17 -0
- package/src/config.ts +2 -3
- package/src/orchestration/extraction-persist-citation.test.ts +9 -0
- package/src/orchestration/extraction-persist-citation.ts +37 -0
- package/src/orchestration/extraction-persist.ts +8 -42
- package/src/orchestration/recall-entry.ts +54 -13
- package/src/standing-memory-block.test.ts +4 -3
- package/src/standing-memory-recall.test.ts +30 -0
- package/src/standing-memory-recall.ts +87 -0
- package/dist/chunk-G3QJVHFG.js.map +0 -1
- package/dist/chunk-QVWNNN64.js.map +0 -1
- /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{chunk-TRLPF7ZP.js.map → chunk-25LKLNSJ.js.map} +0 -0
- /package/dist/{chunk-GWK7FEUL.js.map → chunk-2U3R3DDH.js.map} +0 -0
- /package/dist/{chunk-GWQVMKUJ.js.map → chunk-2UPTRDGM.js.map} +0 -0
- /package/dist/{chunk-MQTCNXTG.js.map → chunk-4GPI3GVE.js.map} +0 -0
- /package/dist/{chunk-H7BZBSP6.js.map → chunk-52II7PB6.js.map} +0 -0
- /package/dist/{chunk-HRQWSXNB.js.map → chunk-5HP5F2SQ.js.map} +0 -0
- /package/dist/{chunk-ICMXLHSC.js.map → chunk-5KNEOYTF.js.map} +0 -0
- /package/dist/{chunk-5I63ZRIH.js.map → chunk-5LPDXYU3.js.map} +0 -0
- /package/dist/{chunk-JDBZSRUA.js.map → chunk-62AE2EUZ.js.map} +0 -0
- /package/dist/{chunk-D5F2Z6WO.js.map → chunk-6BFW7SGF.js.map} +0 -0
- /package/dist/{chunk-HW4DKAAA.js.map → chunk-6BSPRNFF.js.map} +0 -0
- /package/dist/{chunk-JX2NWPQ4.js.map → chunk-6JA22L5X.js.map} +0 -0
- /package/dist/{chunk-JUOJGZPV.js.map → chunk-6OACG7JV.js.map} +0 -0
- /package/dist/{chunk-NZUHZVHF.js.map → chunk-7COBZFUF.js.map} +0 -0
- /package/dist/{chunk-XY25CPAO.js.map → chunk-AQJBFLUA.js.map} +0 -0
- /package/dist/{chunk-SUI5JQVE.js.map → chunk-AWEMJYN2.js.map} +0 -0
- /package/dist/{chunk-VQJ7UAKA.js.map → chunk-B6PY25JB.js.map} +0 -0
- /package/dist/{chunk-W7PY7IIB.js.map → chunk-BXCZPPRO.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-DQFZOPDL.js.map → chunk-CGO3A7SR.js.map} +0 -0
- /package/dist/{chunk-SF6RFI5Z.js.map → chunk-CHDGJJV6.js.map} +0 -0
- /package/dist/{chunk-GUWH5SOO.js.map → chunk-COHJUEBQ.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-5ID5RTHY.js.map → chunk-GFD7TWAZ.js.map} +0 -0
- /package/dist/{chunk-ZDTG7ALZ.js.map → chunk-HPK66ZM5.js.map} +0 -0
- /package/dist/{chunk-5TC6MQOW.js.map → chunk-HS75MCQF.js.map} +0 -0
- /package/dist/{chunk-BSCR5TEN.js.map → chunk-HZDOLAZV.js.map} +0 -0
- /package/dist/{chunk-UBCVHKZQ.js.map → chunk-I6Y6QKWF.js.map} +0 -0
- /package/dist/{chunk-YHU5XUF4.js.map → chunk-IFCKHPY4.js.map} +0 -0
- /package/dist/{chunk-YEHKKZ5T.js.map → chunk-IGSVMAPQ.js.map} +0 -0
- /package/dist/{chunk-2VV3XLZB.js.map → chunk-IXLHREAB.js.map} +0 -0
- /package/dist/{chunk-266NJ2YF.js.map → chunk-JDES3G7T.js.map} +0 -0
- /package/dist/{chunk-VVKLAB3Y.js.map → chunk-JOMGKV72.js.map} +0 -0
- /package/dist/{chunk-YDMN7TUM.js.map → chunk-KMHE76A2.js.map} +0 -0
- /package/dist/{chunk-CMAGVPS2.js.map → chunk-KPSJA45G.js.map} +0 -0
- /package/dist/{chunk-2XGPN5TL.js.map → chunk-LBL77UXO.js.map} +0 -0
- /package/dist/{chunk-ADWCQWK3.js.map → chunk-LDOURFFA.js.map} +0 -0
- /package/dist/{chunk-B6RTKSOT.js.map → chunk-LH6UP5SR.js.map} +0 -0
- /package/dist/{chunk-A7GQBJP5.js.map → chunk-LVFI5LG7.js.map} +0 -0
- /package/dist/{chunk-6E5GYDIE.js.map → chunk-MFZACYZ6.js.map} +0 -0
- /package/dist/{chunk-WXPIEWQW.js.map → chunk-MKNENZCK.js.map} +0 -0
- /package/dist/{chunk-VDKZTNG5.js.map → chunk-MSRNAAWW.js.map} +0 -0
- /package/dist/{chunk-RG7ZWG3M.js.map → chunk-NF6LF76X.js.map} +0 -0
- /package/dist/{chunk-7FL25VH3.js.map → chunk-O4QH33GV.js.map} +0 -0
- /package/dist/{chunk-BIKX37D2.js.map → chunk-OB2YI57R.js.map} +0 -0
- /package/dist/{chunk-B2FMRNHA.js.map → chunk-ODP62HIA.js.map} +0 -0
- /package/dist/{chunk-BGBW4H7C.js.map → chunk-OMYCECTS.js.map} +0 -0
- /package/dist/{chunk-BICNRVEC.js.map → chunk-QWUJWBZ5.js.map} +0 -0
- /package/dist/{chunk-NEARGPN7.js.map → chunk-S5FWSNLI.js.map} +0 -0
- /package/dist/{chunk-FN6E373Q.js.map → chunk-SA2JMMMS.js.map} +0 -0
- /package/dist/{chunk-WJPRWNZN.js.map → chunk-UFBHEMNR.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
- /package/dist/{chunk-OVO545UE.js.map → chunk-VIRTAUJO.js.map} +0 -0
- /package/dist/{chunk-ZHXSOMYH.js.map → chunk-VVX5PZFS.js.map} +0 -0
- /package/dist/{chunk-AYDU5MJC.js.map → chunk-VXNWOHOR.js.map} +0 -0
- /package/dist/{chunk-LMMQKZK3.js.map → chunk-VZBW6CDG.js.map} +0 -0
- /package/dist/{chunk-KNPWG3VI.js.map → chunk-WDBKDYK2.js.map} +0 -0
- /package/dist/{chunk-ADZLUBNE.js.map → chunk-WDP7CJZQ.js.map} +0 -0
- /package/dist/{chunk-2ZU6CYTJ.js.map → chunk-WZKKI6S2.js.map} +0 -0
- /package/dist/{chunk-GRSFFLUY.js.map → chunk-X2PBZOYZ.js.map} +0 -0
- /package/dist/{chunk-ONEUTVGJ.js.map → chunk-Y52T5Y6B.js.map} +0 -0
- /package/dist/{chunk-DDNML3YE.js.map → chunk-YCYFXA6P.js.map} +0 -0
- /package/dist/{chunk-RDWVTUXZ.js.map → chunk-YMSPN4W4.js.map} +0 -0
- /package/dist/{chunk-AJEUESNJ.js.map → chunk-YYRMOMX3.js.map} +0 -0
- /package/dist/{chunk-2WMXZYMS.js.map → chunk-YZENVZWY.js.map} +0 -0
- /package/dist/{chunk-WQZZDN5M.js.map → chunk-ZHOXXHT5.js.map} +0 -0
- /package/dist/{chunk-GNC5X3J7.js.map → chunk-ZPED47SP.js.map} +0 -0
- /package/dist/{chunk-RFVF5PLN.js.map → chunk-ZVTG7JTG.js.map} +0 -0
- /package/dist/{graph-edge-decay-ROSUPDX3.js.map → config-search-backend.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-KJTKLXTH.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZPED47SP.js";
|
|
7
7
|
import {
|
|
8
8
|
assertInjectedStorageRooted
|
|
9
9
|
} from "./chunk-JE334SIA.js";
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
backupExistingLedger,
|
|
261
261
|
rebuildMemoryLifecycleLedger
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-ODP62HIA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createSearchBackend
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4GPI3GVE.js";
|
|
4
4
|
import {
|
|
5
5
|
namespaceIdentityToken,
|
|
6
6
|
normalizeNamespaceIdentity
|
|
@@ -508,4 +508,4 @@ export {
|
|
|
508
508
|
NamespaceSearchRouter,
|
|
509
509
|
normalizeQmdResultPath
|
|
510
510
|
};
|
|
511
|
-
//# sourceMappingURL=chunk-
|
|
511
|
+
//# sourceMappingURL=chunk-OMYCECTS.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
readCausalTrajectoryRecordsStrict,
|
|
3
3
|
readCausalTrajectoryRevisionToken,
|
|
4
4
|
resolveCausalTrajectoryStoreDir
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VZBW6CDG.js";
|
|
6
6
|
|
|
7
7
|
// src/coding/pre-action-gate.ts
|
|
8
8
|
import { createHash } from "crypto";
|
|
@@ -221,4 +221,4 @@ export {
|
|
|
221
221
|
normalizeActionIntent,
|
|
222
222
|
PreActionFailureGate
|
|
223
223
|
};
|
|
224
|
-
//# sourceMappingURL=chunk-
|
|
224
|
+
//# sourceMappingURL=chunk-QWUJWBZ5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runLocationSync
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WDP7CJZQ.js";
|
|
4
4
|
import {
|
|
5
5
|
log
|
|
6
6
|
} from "./chunk-3WCASNQZ.js";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
LOCATION_SYNC_DEFAULT_INTERVAL_MS,
|
|
59
59
|
startLocationAutoSync
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=chunk-
|
|
61
|
+
//# sourceMappingURL=chunk-S5FWSNLI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZPED47SP.js";
|
|
4
4
|
import {
|
|
5
5
|
composeMemoryEnvelope
|
|
6
6
|
} from "./chunk-GDYU6VF4.js";
|
|
@@ -546,4 +546,4 @@ export {
|
|
|
546
546
|
setSemanticRulePromotionTestHooks,
|
|
547
547
|
promoteSemanticRuleFromMemory
|
|
548
548
|
};
|
|
549
|
-
//# sourceMappingURL=chunk-
|
|
549
|
+
//# sourceMappingURL=chunk-SA2JMMMS.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
ActivityStore,
|
|
15
15
|
MaintenanceScheduler
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AQJBFLUA.js";
|
|
17
17
|
import {
|
|
18
18
|
runPeerProfileReasoner
|
|
19
19
|
} from "./chunk-I74SUMNI.js";
|
|
@@ -22,20 +22,20 @@ import {
|
|
|
22
22
|
} from "./chunk-VZAKYDMJ.js";
|
|
23
23
|
import {
|
|
24
24
|
LcmEngine
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LVFI5LG7.js";
|
|
26
|
+
import {
|
|
27
|
+
chunkTranscriptEntries
|
|
28
|
+
} from "./chunk-TECVW3JP.js";
|
|
26
29
|
import {
|
|
27
30
|
cleanupConversationChunks
|
|
28
31
|
} from "./chunk-C5JF6EZ7.js";
|
|
29
32
|
import {
|
|
30
33
|
CompoundingEngine,
|
|
31
34
|
defaultTierMigrationCycleBudget
|
|
32
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-JDES3G7T.js";
|
|
33
36
|
import {
|
|
34
37
|
SharedContextManager
|
|
35
38
|
} from "./chunk-7CRUDH7G.js";
|
|
36
|
-
import {
|
|
37
|
-
chunkTranscriptEntries
|
|
38
|
-
} from "./chunk-TECVW3JP.js";
|
|
39
39
|
import {
|
|
40
40
|
cleanArchivedUserMessage
|
|
41
41
|
} from "./chunk-47DU4SGJ.js";
|
|
@@ -44,6 +44,9 @@ import {
|
|
|
44
44
|
applyUtilityRankingRuntimeDelta,
|
|
45
45
|
loadUtilityRuntimeValues
|
|
46
46
|
} from "./chunk-SWIKABKI.js";
|
|
47
|
+
import {
|
|
48
|
+
TmtBuilder
|
|
49
|
+
} from "./chunk-ECZU5BJH.js";
|
|
47
50
|
import {
|
|
48
51
|
extractTopics
|
|
49
52
|
} from "./chunk-KVDUKH5E.js";
|
|
@@ -59,16 +62,22 @@ import {
|
|
|
59
62
|
import {
|
|
60
63
|
decideTierTransition
|
|
61
64
|
} from "./chunk-GCBIXUPT.js";
|
|
62
|
-
import {
|
|
63
|
-
TmtBuilder
|
|
64
|
-
} from "./chunk-ECZU5BJH.js";
|
|
65
65
|
import {
|
|
66
66
|
buildTargetedFactRecallSection,
|
|
67
67
|
shouldRecallTargetedFactEvidence
|
|
68
68
|
} from "./chunk-T67LUYCR.js";
|
|
69
|
+
import {
|
|
70
|
+
memoriesToStandingEntries,
|
|
71
|
+
prefixStandingMemoryBlock,
|
|
72
|
+
renderStandingMemoryBlock
|
|
73
|
+
} from "./chunk-LJLGH2DE.js";
|
|
69
74
|
import {
|
|
70
75
|
SessionObserverState
|
|
71
76
|
} from "./chunk-ODZKV2F7.js";
|
|
77
|
+
import {
|
|
78
|
+
buildResponseGuidanceRecallSection,
|
|
79
|
+
shouldRecallResponseGuidance
|
|
80
|
+
} from "./chunk-6TCXIRP5.js";
|
|
72
81
|
import {
|
|
73
82
|
mergeWithAgentResults,
|
|
74
83
|
runDirectAgent,
|
|
@@ -93,6 +102,9 @@ import {
|
|
|
93
102
|
import {
|
|
94
103
|
applyRuntimeRetrievalPolicy
|
|
95
104
|
} from "./chunk-5IZL4DCV.js";
|
|
105
|
+
import {
|
|
106
|
+
findUnresolvedEntityRefs
|
|
107
|
+
} from "./chunk-X7XN6YU4.js";
|
|
96
108
|
import {
|
|
97
109
|
RelevanceStore
|
|
98
110
|
} from "./chunk-KATEWTQJ.js";
|
|
@@ -101,13 +113,6 @@ import {
|
|
|
101
113
|
reorderByRankedKeys,
|
|
102
114
|
rerankLocalOrNoop
|
|
103
115
|
} from "./chunk-LUDXM7MD.js";
|
|
104
|
-
import {
|
|
105
|
-
buildResponseGuidanceRecallSection,
|
|
106
|
-
shouldRecallResponseGuidance
|
|
107
|
-
} from "./chunk-6TCXIRP5.js";
|
|
108
|
-
import {
|
|
109
|
-
findUnresolvedEntityRefs
|
|
110
|
-
} from "./chunk-X7XN6YU4.js";
|
|
111
116
|
import {
|
|
112
117
|
indexStateViewAnnotatedResults,
|
|
113
118
|
resolveRecallStateViewActive
|
|
@@ -157,12 +162,6 @@ import {
|
|
|
157
162
|
import {
|
|
158
163
|
runLiveConnectorsOnce
|
|
159
164
|
} from "./chunk-YHLWPYHT.js";
|
|
160
|
-
import {
|
|
161
|
-
classifyMemoryKind
|
|
162
|
-
} from "./chunk-YAZNBMNF.js";
|
|
163
|
-
import {
|
|
164
|
-
scoreEvidencePathDetail
|
|
165
|
-
} from "./chunk-XXSOVESA.js";
|
|
166
165
|
import {
|
|
167
166
|
deriveHarmonicRecords,
|
|
168
167
|
harmonicEntityReferenceMatches,
|
|
@@ -171,15 +170,24 @@ import {
|
|
|
171
170
|
persistHarmonicRecords
|
|
172
171
|
} from "./chunk-LS2FHUML.js";
|
|
173
172
|
import {
|
|
174
|
-
|
|
175
|
-
} from "./chunk-
|
|
173
|
+
classifyMemoryKind
|
|
174
|
+
} from "./chunk-YAZNBMNF.js";
|
|
176
175
|
import {
|
|
177
|
-
|
|
178
|
-
} from "./chunk-
|
|
176
|
+
scoreEvidencePathDetail
|
|
177
|
+
} from "./chunk-XXSOVESA.js";
|
|
179
178
|
import {
|
|
180
179
|
buildFocusedListRecallSection,
|
|
181
180
|
shouldRecallFocusedListEvidence
|
|
182
181
|
} from "./chunk-OH7QLI6W.js";
|
|
182
|
+
import {
|
|
183
|
+
ExtractionEngine
|
|
184
|
+
} from "./chunk-IXLHREAB.js";
|
|
185
|
+
import {
|
|
186
|
+
parseMemoryActionEligibilityContext
|
|
187
|
+
} from "./chunk-JHU4EYDV.js";
|
|
188
|
+
import {
|
|
189
|
+
recordJudgeTrainingPair
|
|
190
|
+
} from "./chunk-PWFCHOB3.js";
|
|
183
191
|
import {
|
|
184
192
|
createDeferCountMap,
|
|
185
193
|
createVerdictCache,
|
|
@@ -187,15 +195,15 @@ import {
|
|
|
187
195
|
judgeFactDurability,
|
|
188
196
|
validateProcedureExtraction
|
|
189
197
|
} from "./chunk-DQISIT63.js";
|
|
190
|
-
import {
|
|
191
|
-
recordJudgeTrainingPair
|
|
192
|
-
} from "./chunk-PWFCHOB3.js";
|
|
193
198
|
import {
|
|
194
199
|
buildExplicitCueRecallSection
|
|
195
200
|
} from "./chunk-TVIVY7KU.js";
|
|
201
|
+
import {
|
|
202
|
+
planEpisodeWindowsWithFallback
|
|
203
|
+
} from "./chunk-T3GIETKV.js";
|
|
196
204
|
import {
|
|
197
205
|
buildEventOrderRecallSection
|
|
198
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-52II7PB6.js";
|
|
199
207
|
import {
|
|
200
208
|
shouldRecallEventOrderEvidence
|
|
201
209
|
} from "./chunk-BUYVPUEM.js";
|
|
@@ -207,10 +215,7 @@ import {
|
|
|
207
215
|
buildEntityRecallSection,
|
|
208
216
|
entityRecentTranscriptLookbackHours,
|
|
209
217
|
readRecentEntityTranscriptEntries
|
|
210
|
-
} from "./chunk-
|
|
211
|
-
import {
|
|
212
|
-
planEpisodeWindowsWithFallback
|
|
213
|
-
} from "./chunk-T3GIETKV.js";
|
|
218
|
+
} from "./chunk-YYRMOMX3.js";
|
|
214
219
|
import {
|
|
215
220
|
tryDirectAnswer
|
|
216
221
|
} from "./chunk-VY47VI2T.js";
|
|
@@ -222,7 +227,7 @@ import {
|
|
|
222
227
|
} from "./chunk-65I2LZEK.js";
|
|
223
228
|
import {
|
|
224
229
|
refreshConvergedNamespaces
|
|
225
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-JOMGKV72.js";
|
|
226
231
|
import {
|
|
227
232
|
builtInConnectorPackageSpecifier,
|
|
228
233
|
ensureBuiltInWearableConnectors,
|
|
@@ -231,7 +236,7 @@ import {
|
|
|
231
236
|
runTimelinePublishCli,
|
|
232
237
|
screenCandidateFact,
|
|
233
238
|
summarizeVaultPublish
|
|
234
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-WDBKDYK2.js";
|
|
235
240
|
import {
|
|
236
241
|
normalizeReplaySessionKey
|
|
237
242
|
} from "./chunk-AJVLDJU6.js";
|
|
@@ -241,14 +246,14 @@ import {
|
|
|
241
246
|
import {
|
|
242
247
|
compareVerifiedEpisodeResults,
|
|
243
248
|
searchVerifiedEpisodes
|
|
244
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-YCYFXA6P.js";
|
|
245
250
|
import {
|
|
246
251
|
ThreadingManager
|
|
247
252
|
} from "./chunk-OJP3N7UK.js";
|
|
248
253
|
import {
|
|
249
254
|
compareVerifiedSemanticRuleResults,
|
|
250
255
|
searchVerifiedSemanticRules
|
|
251
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-25LKLNSJ.js";
|
|
252
257
|
import {
|
|
253
258
|
searchWorkProductLedgerEntries
|
|
254
259
|
} from "./chunk-G7NYVKD6.js";
|
|
@@ -261,10 +266,10 @@ import {
|
|
|
261
266
|
import {
|
|
262
267
|
runNamespaceMaintenanceFanout,
|
|
263
268
|
summarizeNamespaceMaintenanceHealth
|
|
264
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-6JA22L5X.js";
|
|
265
270
|
import {
|
|
266
271
|
planNamespaceMaintenance
|
|
267
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-MKNENZCK.js";
|
|
268
273
|
import {
|
|
269
274
|
isAboveImportanceThreshold,
|
|
270
275
|
scoreImportance
|
|
@@ -293,7 +298,7 @@ import {
|
|
|
293
298
|
materializeAfterSemanticConsolidation,
|
|
294
299
|
parseConsolidationResponse,
|
|
295
300
|
parseOperatorAwareConsolidationResponse
|
|
296
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-I6Y6QKWF.js";
|
|
297
302
|
import {
|
|
298
303
|
semanticChunkContent
|
|
299
304
|
} from "./chunk-2GBFKHBZ.js";
|
|
@@ -332,7 +337,7 @@ import {
|
|
|
332
337
|
embeddingsFromCosineHits,
|
|
333
338
|
normalizeConnectorScope,
|
|
334
339
|
runSeedGraduationPass
|
|
335
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-GH5YSAAI.js";
|
|
336
341
|
import {
|
|
337
342
|
compileCorrectionRule,
|
|
338
343
|
correctionsFilePath,
|
|
@@ -358,7 +363,7 @@ import {
|
|
|
358
363
|
} from "./chunk-QW27DOHG.js";
|
|
359
364
|
import {
|
|
360
365
|
MeetingsInputError
|
|
361
|
-
} from "./chunk-
|
|
366
|
+
} from "./chunk-BXCZPPRO.js";
|
|
362
367
|
import {
|
|
363
368
|
WearablesInputError,
|
|
364
369
|
describeErrorForOperator
|
|
@@ -373,10 +378,10 @@ import {
|
|
|
373
378
|
import {
|
|
374
379
|
removeNodeEdgesForRewrite,
|
|
375
380
|
rollbackNodeEdgeRewrite
|
|
376
|
-
} from "./chunk-
|
|
381
|
+
} from "./chunk-MFZACYZ6.js";
|
|
377
382
|
import {
|
|
378
383
|
NamespaceCatalog
|
|
379
|
-
} from "./chunk-
|
|
384
|
+
} from "./chunk-UFBHEMNR.js";
|
|
380
385
|
import {
|
|
381
386
|
RecallResultFormatter,
|
|
382
387
|
SessionContextCoordinator,
|
|
@@ -385,13 +390,17 @@ import {
|
|
|
385
390
|
detectPassiveCorrections,
|
|
386
391
|
renderSessionExperiencePreview,
|
|
387
392
|
scoreSessionExperienceForPrompt
|
|
388
|
-
} from "./chunk-
|
|
393
|
+
} from "./chunk-OB2YI57R.js";
|
|
389
394
|
import {
|
|
390
395
|
importCapsule
|
|
391
|
-
} from "./chunk-
|
|
396
|
+
} from "./chunk-VVX5PZFS.js";
|
|
392
397
|
import {
|
|
393
398
|
isCodingGraphInstalled
|
|
394
399
|
} from "./chunk-VQ7B2Q6M.js";
|
|
400
|
+
import {
|
|
401
|
+
listTrustZoneRecords,
|
|
402
|
+
searchTrustZoneRecords
|
|
403
|
+
} from "./chunk-ROBHL3GL.js";
|
|
395
404
|
import {
|
|
396
405
|
applyTrustScoreStage,
|
|
397
406
|
buildTrustSignalsForRerank,
|
|
@@ -399,10 +408,6 @@ import {
|
|
|
399
408
|
trustResultFor,
|
|
400
409
|
trustResultKey
|
|
401
410
|
} from "./chunk-GNVZQ5JN.js";
|
|
402
|
-
import {
|
|
403
|
-
listTrustZoneRecords,
|
|
404
|
-
searchTrustZoneRecords
|
|
405
|
-
} from "./chunk-ROBHL3GL.js";
|
|
406
411
|
import {
|
|
407
412
|
HourlySummarizer
|
|
408
413
|
} from "./chunk-OAOBL6OY.js";
|
|
@@ -428,7 +433,7 @@ import {
|
|
|
428
433
|
} from "./chunk-SB4ZWVKI.js";
|
|
429
434
|
import {
|
|
430
435
|
searchHarmonicRetrieval
|
|
431
|
-
} from "./chunk-
|
|
436
|
+
} from "./chunk-B6PY25JB.js";
|
|
432
437
|
import {
|
|
433
438
|
ProfilingCollector
|
|
434
439
|
} from "./chunk-BLVHDY2U.js";
|
|
@@ -454,13 +459,13 @@ import {
|
|
|
454
459
|
} from "./chunk-NVKO5YKP.js";
|
|
455
460
|
import {
|
|
456
461
|
NamespaceStorageRouter
|
|
457
|
-
} from "./chunk-
|
|
462
|
+
} from "./chunk-7COBZFUF.js";
|
|
458
463
|
import {
|
|
459
464
|
pruneOrphanCueAnchors
|
|
460
465
|
} from "./chunk-BMWN7B3Y.js";
|
|
461
466
|
import {
|
|
462
467
|
GraphIndex
|
|
463
|
-
} from "./chunk-
|
|
468
|
+
} from "./chunk-2U3R3DDH.js";
|
|
464
469
|
import {
|
|
465
470
|
GraphEdgeAppendError
|
|
466
471
|
} from "./chunk-GKCXTSFF.js";
|
|
@@ -521,7 +526,7 @@ import {
|
|
|
521
526
|
} from "./chunk-TBBDFYXW.js";
|
|
522
527
|
import {
|
|
523
528
|
buildChainFollowupGenerator
|
|
524
|
-
} from "./chunk-
|
|
529
|
+
} from "./chunk-YMSPN4W4.js";
|
|
525
530
|
import {
|
|
526
531
|
estimateTokenCount
|
|
527
532
|
} from "./chunk-TOTT6S2V.js";
|
|
@@ -542,7 +547,7 @@ import {
|
|
|
542
547
|
} from "./chunk-QDW3E4RD.js";
|
|
543
548
|
import {
|
|
544
549
|
searchCausalTrajectories
|
|
545
|
-
} from "./chunk-
|
|
550
|
+
} from "./chunk-VZBW6CDG.js";
|
|
546
551
|
import {
|
|
547
552
|
QmdResultResolver,
|
|
548
553
|
StorageManager,
|
|
@@ -561,10 +566,7 @@ import {
|
|
|
561
566
|
reconstructFusionInputs,
|
|
562
567
|
selfDeps,
|
|
563
568
|
serializeFusionDay
|
|
564
|
-
} from "./chunk-
|
|
565
|
-
import {
|
|
566
|
-
buildRetiredFactTombstoneInputs
|
|
567
|
-
} from "./chunk-46WM6JX2.js";
|
|
569
|
+
} from "./chunk-ZPED47SP.js";
|
|
568
570
|
import {
|
|
569
571
|
bodyIsEscaped,
|
|
570
572
|
decodeTranscriptBody,
|
|
@@ -575,15 +577,18 @@ import {
|
|
|
575
577
|
saveSpeakerRegistry,
|
|
576
578
|
speakerRegistryKey
|
|
577
579
|
} from "./chunk-UHVXE24Y.js";
|
|
580
|
+
import {
|
|
581
|
+
buildRetiredFactTombstoneInputs
|
|
582
|
+
} from "./chunk-46WM6JX2.js";
|
|
578
583
|
import {
|
|
579
584
|
NamespaceSearchRouter,
|
|
580
585
|
namespaceCollectionName
|
|
581
|
-
} from "./chunk-
|
|
586
|
+
} from "./chunk-OMYCECTS.js";
|
|
582
587
|
import {
|
|
583
588
|
createConversationIndexRuntime,
|
|
584
589
|
createSearchBackend,
|
|
585
590
|
isSearchBackendEnabled
|
|
586
|
-
} from "./chunk-
|
|
591
|
+
} from "./chunk-4GPI3GVE.js";
|
|
587
592
|
import {
|
|
588
593
|
NoopSearchBackend
|
|
589
594
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -648,15 +653,15 @@ import {
|
|
|
648
653
|
isValidAsOf,
|
|
649
654
|
isValidityExpiredNow
|
|
650
655
|
} from "./chunk-6CIAGZ6X.js";
|
|
656
|
+
import {
|
|
657
|
+
isUntrustedOrigin,
|
|
658
|
+
parseOriginClass
|
|
659
|
+
} from "./chunk-23G5P7TA.js";
|
|
651
660
|
import {
|
|
652
661
|
buildQmdRecallCacheKey,
|
|
653
662
|
getCachedQmdRecall,
|
|
654
663
|
setCachedQmdRecall
|
|
655
664
|
} from "./chunk-42JKGUFJ.js";
|
|
656
|
-
import {
|
|
657
|
-
isUntrustedOrigin,
|
|
658
|
-
parseOriginClass
|
|
659
|
-
} from "./chunk-23G5P7TA.js";
|
|
660
665
|
import {
|
|
661
666
|
FallbackLlmClient,
|
|
662
667
|
gatewayTaskChainOptions
|
|
@@ -6250,6 +6255,24 @@ var ExtractionAnchorSnapshot = class {
|
|
|
6250
6255
|
}
|
|
6251
6256
|
};
|
|
6252
6257
|
|
|
6258
|
+
// src/orchestration/extraction-persist-citation.ts
|
|
6259
|
+
function normalizeStoredHashSource(raw, citationEnabled, citationTemplate) {
|
|
6260
|
+
return ContentHashIndex.normalizeContent(
|
|
6261
|
+
sanitizeMemoryContent(
|
|
6262
|
+
citationEnabled && hasCitationForTemplate(raw, citationTemplate) ? stripCitationForTemplate(raw, citationTemplate) : raw
|
|
6263
|
+
).text
|
|
6264
|
+
);
|
|
6265
|
+
}
|
|
6266
|
+
function applyInlineCitation(content, citationEnabled, citationTemplate, citationContextBase) {
|
|
6267
|
+
if (!citationEnabled) return content;
|
|
6268
|
+
if (typeof content !== "string" || content.length === 0) return content;
|
|
6269
|
+
const citationContext = {
|
|
6270
|
+
...citationContextBase,
|
|
6271
|
+
ts: (/* @__PURE__ */ new Date()).toISOString()
|
|
6272
|
+
};
|
|
6273
|
+
return attachCitation(content, citationContext, citationTemplate);
|
|
6274
|
+
}
|
|
6275
|
+
|
|
6253
6276
|
// src/orchestration/extraction-persist.ts
|
|
6254
6277
|
var ExtractionPersistCoordinator = class {
|
|
6255
6278
|
constructor(deps) {
|
|
@@ -6274,24 +6297,12 @@ var ExtractionPersistCoordinator = class {
|
|
|
6274
6297
|
const harmonicSourceInsertedAtBase = Date.now();
|
|
6275
6298
|
let harmonicSourceOrder = 0;
|
|
6276
6299
|
const promotedCopyProbe = createBatchPromotedCopyProbe(this.deps.config, this.deps.getStorageRouter, scopeProfileWritePlan);
|
|
6277
|
-
const
|
|
6278
|
-
sanitizeMemoryContent(
|
|
6279
|
-
citationEnabled && hasCitationForTemplate(raw, citationTemplate) ? stripCitationForTemplate(raw, citationTemplate) : raw
|
|
6280
|
-
).text
|
|
6281
|
-
);
|
|
6300
|
+
const normalizeStoredHashSource2 = (raw) => normalizeStoredHashSource(raw, citationEnabled, citationTemplate);
|
|
6282
6301
|
const citationContextBase = citationEnabled ? {
|
|
6283
6302
|
agent: sourceContext?.principal,
|
|
6284
6303
|
session: sourceContext?.sessionKey
|
|
6285
6304
|
} : {};
|
|
6286
|
-
const
|
|
6287
|
-
if (!citationEnabled) return content;
|
|
6288
|
-
if (typeof content !== "string" || content.length === 0) return content;
|
|
6289
|
-
const citationContext = {
|
|
6290
|
-
...citationContextBase,
|
|
6291
|
-
ts: (/* @__PURE__ */ new Date()).toISOString()
|
|
6292
|
-
};
|
|
6293
|
-
return attachCitation(content, citationContext, citationTemplate);
|
|
6294
|
-
};
|
|
6305
|
+
const applyInlineCitation2 = (content) => applyInlineCitation(content, citationEnabled, citationTemplate, citationContextBase);
|
|
6295
6306
|
const persistedIds = [];
|
|
6296
6307
|
const memoryPathById = /* @__PURE__ */ new Map();
|
|
6297
6308
|
const anchorSnapshots = new ExtractionAnchorSnapshot({
|
|
@@ -6387,7 +6398,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
6387
6398
|
);
|
|
6388
6399
|
if (targets.length === 0) return [];
|
|
6389
6400
|
const rawContent = citationEnabled && hasCitationForTemplate(options.content, citationTemplate) ? stripCitationForTemplate(options.content, citationTemplate) : options.content;
|
|
6390
|
-
const citedContent =
|
|
6401
|
+
const citedContent = applyInlineCitation2(rawContent);
|
|
6391
6402
|
const sanitizedBase = sanitizeMemoryContent(rawContent);
|
|
6392
6403
|
const writtenCopyIds = [];
|
|
6393
6404
|
for (const target of targets) {
|
|
@@ -6422,7 +6433,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
6422
6433
|
skipPromotion = allMems.some((m) => {
|
|
6423
6434
|
if (m.frontmatter.category !== options.category) return false;
|
|
6424
6435
|
if ((m.frontmatter.status ?? "active") !== "active") return false;
|
|
6425
|
-
if (
|
|
6436
|
+
if (normalizeStoredHashSource2(m.content ?? "") !== ContentHashIndex.normalizeContent(dedupContent)) return false;
|
|
6426
6437
|
return (m.frontmatter.sourceConnector?.trim() || void 0) === nc;
|
|
6427
6438
|
});
|
|
6428
6439
|
} catch (err) {
|
|
@@ -6541,7 +6552,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
6541
6552
|
this.deps.config.sharedNamespace
|
|
6542
6553
|
);
|
|
6543
6554
|
const rawContent = citationEnabled && hasCitationForTemplate(options.content, citationTemplate) ? stripCitationForTemplate(options.content, citationTemplate) : options.content;
|
|
6544
|
-
const citedContent =
|
|
6555
|
+
const citedContent = applyInlineCitation2(rawContent);
|
|
6545
6556
|
const sanitizedBase = sanitizeMemoryContent(rawContent);
|
|
6546
6557
|
const sharedPromotionEnvelope = composeSalvagedExtractionEnvelope(
|
|
6547
6558
|
{
|
|
@@ -6570,7 +6581,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
6570
6581
|
sharedSameConnector = sharedMems.some((m) => {
|
|
6571
6582
|
if (m.frontmatter.category !== "fact") return false;
|
|
6572
6583
|
if ((m.frontmatter.status ?? "active") !== "active") return false;
|
|
6573
|
-
if (
|
|
6584
|
+
if (normalizeStoredHashSource2(m.content ?? "") !== ContentHashIndex.normalizeContent(dedupContent)) return false;
|
|
6574
6585
|
return (m.frontmatter.sourceConnector?.trim() || void 0) === snc;
|
|
6575
6586
|
});
|
|
6576
6587
|
} catch (scanErr) {
|
|
@@ -6613,7 +6624,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
6613
6624
|
);
|
|
6614
6625
|
return false;
|
|
6615
6626
|
}
|
|
6616
|
-
if (
|
|
6627
|
+
if (normalizeStoredHashSource2(m.content ?? "") !== normalizedIncoming) return false;
|
|
6617
6628
|
const existingConnector = m.frontmatter.sourceConnector?.trim() || void 0;
|
|
6618
6629
|
const newConnector = sourceContext?.sourceConnector?.trim() || void 0;
|
|
6619
6630
|
if (existingConnector !== newConnector) return false;
|
|
@@ -6659,7 +6670,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
6659
6670
|
skipSharedPromotion = allSharedMems.some((m) => {
|
|
6660
6671
|
if (m.frontmatter.category !== "fact") return false;
|
|
6661
6672
|
if ((m.frontmatter.status ?? "active") !== "active") return false;
|
|
6662
|
-
if (
|
|
6673
|
+
if (normalizeStoredHashSource2(m.content ?? "") !== sharedNormalized) return false;
|
|
6663
6674
|
return (m.frontmatter.sourceConnector?.trim() || void 0) === snc;
|
|
6664
6675
|
});
|
|
6665
6676
|
} catch (err) {
|
|
@@ -7173,7 +7184,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
7173
7184
|
const matchesActiveDuplicate = (m) => {
|
|
7174
7185
|
if (m.frontmatter.category !== writeCategory) return false;
|
|
7175
7186
|
if ((m.frontmatter.status ?? "active") !== "active") return false;
|
|
7176
|
-
if (
|
|
7187
|
+
if (normalizeStoredHashSource2(stripAttributesSuffix(m.content ?? "")) !== ContentHashIndex.normalizeContent(contentHashDedupKey)) return false;
|
|
7177
7188
|
return (m.frontmatter.sourceConnector?.trim() || void 0) === nc;
|
|
7178
7189
|
};
|
|
7179
7190
|
exactDuplicate = hotMems.some(matchesActiveDuplicate) || coldMems.some(matchesActiveDuplicate);
|
|
@@ -7415,7 +7426,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
7415
7426
|
if (chunkResult.chunked && chunkResult.chunks.length > 1) {
|
|
7416
7427
|
const memoryKind2 = resolvePresentationCapabilities(this.deps.config).episodeNoteMode ? classifyMemoryKind(fact.content, fact.tags ?? [], writeCategory) : void 0;
|
|
7417
7428
|
const rawChunkedContent = citationEnabled && hasCitationForTemplate(fact.content, citationTemplate) ? stripCitationForTemplate(fact.content, citationTemplate) : fact.content;
|
|
7418
|
-
const citedChunkedContent =
|
|
7429
|
+
const citedChunkedContent = applyInlineCitation2(rawChunkedContent);
|
|
7419
7430
|
const parentWriteEnvelope = composeSalvagedExtractionEnvelope(
|
|
7420
7431
|
{
|
|
7421
7432
|
content: citedChunkedContent,
|
|
@@ -7479,7 +7490,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
7479
7490
|
writeCategory,
|
|
7480
7491
|
// Each chunk carries its own inline citation so provenance
|
|
7481
7492
|
// survives when a single chunk is quoted in isolation.
|
|
7482
|
-
|
|
7493
|
+
applyInlineCitation2(chunk.content),
|
|
7483
7494
|
{
|
|
7484
7495
|
// #2014 round 4: sealed parent's confidence — raw
|
|
7485
7496
|
// fact.confidence would let parent and chunk disagree.
|
|
@@ -7686,7 +7697,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
7686
7697
|
}
|
|
7687
7698
|
const memoryKind = writeCategory === "procedure" ? void 0 : resolvePresentationCapabilities(this.deps.config).episodeNoteMode ? classifyMemoryKind(fact.content, fact.tags ?? [], writeCategory) : void 0;
|
|
7688
7699
|
const rawPersistBody = writeCategory === "procedure" ? buildProcedurePersistBody(fact.content, fact.procedureSteps) : fact.content;
|
|
7689
|
-
const citedFactContent =
|
|
7700
|
+
const citedFactContent = applyInlineCitation2(rawPersistBody);
|
|
7690
7701
|
const semanticMerge = await applySemanticMergeAtPersist(this.deps, {
|
|
7691
7702
|
storage: targetStorage,
|
|
7692
7703
|
content: fact.content,
|
|
@@ -7705,7 +7716,7 @@ var ExtractionPersistCoordinator = class {
|
|
|
7705
7716
|
semanticMergedCount++;
|
|
7706
7717
|
await anchorSnapshots.replace(targetStorage, semanticMerge.targetId, writeCategory, memoryPathById);
|
|
7707
7718
|
const mergedPromotion = await buildMergedTargetPromotionPayload(targetStorage, semanticMerge);
|
|
7708
|
-
await promoteAndReconcileMergedTarget({ promote: (payload) => promoteMemoryToShared({ sourceStorage: targetStorage, ...payload }), config: this.deps.config, getStorageRouter: this.deps.getStorageRouter, scopeProfileWritePlan, sourceStorage: targetStorage, sourceMemoryId: semanticMerge.targetId, mergedPromotion: mergedPromotion.payload, mergedPromotionReadFailed: mergedPromotion.readFailed, normalize:
|
|
7719
|
+
await promoteAndReconcileMergedTarget({ promote: (payload) => promoteMemoryToShared({ sourceStorage: targetStorage, ...payload }), config: this.deps.config, getStorageRouter: this.deps.getStorageRouter, scopeProfileWritePlan, sourceStorage: targetStorage, sourceMemoryId: semanticMerge.targetId, mergedPromotion: mergedPromotion.payload, mergedPromotionReadFailed: mergedPromotion.readFailed, normalize: normalizeStoredHashSource2, onReconciled: () => promotedCopyProbe.invalidate() });
|
|
7709
7720
|
trackPersistedId(targetStorage, semanticMerge.targetId, { includeReturnedIds: false });
|
|
7710
7721
|
await persistMergedTargetThreadEpisode(this.deps.getThreading(), threadIdForExtraction, semanticMerge.targetId);
|
|
7711
7722
|
if (harmonicConstructionEnabled) {
|
|
@@ -21029,14 +21040,41 @@ var RecallEntryCoordinator = class {
|
|
|
21029
21040
|
log.warn("recall blocked: secure-store is locked");
|
|
21030
21041
|
return lockedMsg;
|
|
21031
21042
|
}
|
|
21043
|
+
let standingText = "";
|
|
21044
|
+
const standingBudget = typeof options.budgetCharsOverride === "number" && Number.isInteger(options.budgetCharsOverride) && options.budgetCharsOverride >= 0 ? options.budgetCharsOverride : this.deps.config.recallBudgetChars;
|
|
21045
|
+
if (this.deps.config.recallStandingBlock && !namespacesEnabled && standingBudget !== 0 && !options.asOf) {
|
|
21046
|
+
try {
|
|
21047
|
+
const memories = await this.deps.storage.readAllMemories({
|
|
21048
|
+
abortSignal: abortController.signal
|
|
21049
|
+
});
|
|
21050
|
+
standingText = renderStandingMemoryBlock(
|
|
21051
|
+
this.deps.config,
|
|
21052
|
+
memoriesToStandingEntries(memories, { requestingConnector: options.sourceConnector })
|
|
21053
|
+
);
|
|
21054
|
+
} catch (err) {
|
|
21055
|
+
log.warn(`standing memory block skipped: ${err}`);
|
|
21056
|
+
}
|
|
21057
|
+
}
|
|
21058
|
+
const innerObserver = options.onContextComposition;
|
|
21059
|
+
const innerBudget = standingText.length > 0 && standingBudget && standingBudget > 0 ? Math.max(0, standingBudget - standingText.length - 2) : options.budgetCharsOverride;
|
|
21060
|
+
const recallOptions = {
|
|
21061
|
+
...options,
|
|
21062
|
+
abortSignal: abortController.signal,
|
|
21063
|
+
budgetCharsOverride: innerBudget,
|
|
21064
|
+
onContextComposition: standingText.length > 0 ? (composition) => innerObserver?.({
|
|
21065
|
+
...composition,
|
|
21066
|
+
context: prefixStandingMemoryBlock(
|
|
21067
|
+
composition.context ?? "",
|
|
21068
|
+
standingText,
|
|
21069
|
+
standingBudget
|
|
21070
|
+
)
|
|
21071
|
+
}) : innerObserver
|
|
21072
|
+
};
|
|
21032
21073
|
try {
|
|
21033
|
-
const recallPromise = this.deps.recallInternal(prompt, sessionKey,
|
|
21034
|
-
...options,
|
|
21035
|
-
abortSignal: abortController.signal
|
|
21036
|
-
}, caps, graphCaps);
|
|
21074
|
+
const recallPromise = this.deps.recallInternal(prompt, sessionKey, recallOptions, caps, graphCaps);
|
|
21037
21075
|
const RECALL_TIMEOUT_MS = this.deps.config.recallOuterTimeoutMs ?? 75e3;
|
|
21038
21076
|
if (RECALL_TIMEOUT_MS <= 0) {
|
|
21039
|
-
return await recallPromise;
|
|
21077
|
+
return prefixStandingMemoryBlock(await recallPromise, standingText, standingBudget);
|
|
21040
21078
|
}
|
|
21041
21079
|
let timeoutHandle = null;
|
|
21042
21080
|
const timeoutPromise = new Promise((_, reject) => {
|
|
@@ -21065,12 +21103,15 @@ var RecallEntryCoordinator = class {
|
|
|
21065
21103
|
log.debug(`direct-answer observation setup failed: ${err}`);
|
|
21066
21104
|
}
|
|
21067
21105
|
}
|
|
21068
|
-
return recallResult;
|
|
21106
|
+
return prefixStandingMemoryBlock(recallResult, standingText, standingBudget);
|
|
21069
21107
|
} catch (err) {
|
|
21070
21108
|
this.deps.logRecallFailure(err);
|
|
21071
21109
|
this.deps.profiler.endTrace();
|
|
21072
21110
|
const missing = options.abortSignal?.aborted ? null : recallFailureComposition(err);
|
|
21073
21111
|
if (!missing) return "";
|
|
21112
|
+
if (standingText.length > 0) {
|
|
21113
|
+
missing.context = prefixStandingMemoryBlock(missing.context ?? "", standingText, standingBudget);
|
|
21114
|
+
}
|
|
21074
21115
|
notifyContextComposition(options.onContextComposition, missing, (observerErr) => {
|
|
21075
21116
|
log.warn("recall: context composition observer failed open", observerErr);
|
|
21076
21117
|
});
|
|
@@ -31019,4 +31060,4 @@ export {
|
|
|
31019
31060
|
qmdStartupCollectionChecksWithTimeout,
|
|
31020
31061
|
Orchestrator
|
|
31021
31062
|
};
|
|
31022
|
-
//# sourceMappingURL=chunk-
|
|
31063
|
+
//# sourceMappingURL=chunk-TY5JOP2W.js.map
|