@remnic/core 10.0.156 → 10.0.158
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 +97 -96
- package/dist/access-cli.js +97 -96
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush-preempt.js +97 -96
- package/dist/access-extraction-force-flush.js +97 -96
- package/dist/access-http-briefing.js +97 -96
- package/dist/access-http-query.js +97 -96
- package/dist/access-http.js +97 -96
- package/dist/access-identity-continuity-surface.js +97 -96
- package/dist/access-lcm-surface.js +97 -96
- package/dist/access-mcp.js +97 -96
- package/dist/access-observe-write-category.js +7 -7
- package/dist/access-observe-write-surface.js +97 -96
- package/dist/access-offline-manifest.js +3 -3
- package/dist/access-operations-batch.js +97 -96
- package/dist/access-operations.js +97 -96
- package/dist/access-recall-concurrency.js +97 -96
- package/dist/access-recall-response.js +97 -96
- package/dist/access-recall-surface.js +97 -96
- package/dist/access-schema.js +4 -4
- package/dist/access-service.js +97 -96
- package/dist/active-recall.js +11 -11
- package/dist/{auto-sync-PSZJHHXB.js → auto-sync-L3M4RKJD.js} +4 -4
- package/dist/briefing.js +11 -11
- package/dist/buffer.js +4 -4
- package/dist/calibration.js +5 -5
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/causal-consolidation.js +12 -12
- package/dist/{chunk-BTNNL7ZW.js → chunk-2GJCSYSF.js} +3 -3
- package/dist/chunk-2GJCSYSF.js.map +1 -0
- package/dist/{chunk-ZZYJNT2J.js → chunk-2MWKUVHT.js} +2 -2
- package/dist/{chunk-WHCD4Z3D.js → chunk-2X4WP4GD.js} +2 -2
- package/dist/{chunk-V7IH24UG.js → chunk-2YJYBAR3.js} +3 -3
- package/dist/{chunk-MX5VGD6C.js → chunk-3DJ6R4CC.js} +4 -4
- package/dist/{chunk-SX6O25WK.js → chunk-3UKPFFMS.js} +2 -2
- package/dist/{chunk-V5NHW44X.js → chunk-52EM4UQU.js} +9 -9
- package/dist/{chunk-2G5XUS4S.js → chunk-5UE45DLK.js} +2 -2
- package/dist/{chunk-B57CAZPI.js → chunk-5V3IBSVB.js} +2 -2
- package/dist/{chunk-4LF5E2LM.js → chunk-66DUCUOC.js} +4 -4
- package/dist/{chunk-EDR6CVWZ.js → chunk-6PEEZSGL.js} +2 -2
- package/dist/{chunk-G5D5JKJJ.js → chunk-6PVS6JET.js} +2 -2
- package/dist/{chunk-DE6KQUAP.js → chunk-773QSFFN.js} +2 -2
- package/dist/{chunk-UI77UYQP.js → chunk-7IJ2H43M.js} +2 -2
- package/dist/{chunk-E4PME33M.js → chunk-7PCWJZXG.js} +2 -2
- package/dist/chunk-AMW3IDCO.js +45 -0
- package/dist/chunk-AMW3IDCO.js.map +1 -0
- package/dist/{chunk-4DCKLDYM.js → chunk-AQ6GV5MU.js} +18 -26
- package/dist/chunk-AQ6GV5MU.js.map +1 -0
- package/dist/{chunk-TE2SBFZD.js → chunk-B7F2G57I.js} +2 -2
- package/dist/{chunk-3BNWEHHC.js → chunk-BDFOBNLX.js} +2 -2
- package/dist/{chunk-PBE7NFB5.js → chunk-BNQJKWWZ.js} +4 -4
- package/dist/{chunk-EPTLYMQY.js → chunk-BT5TAOXG.js} +4 -4
- package/dist/{chunk-IMJKWVT7.js → chunk-BTCZVBV3.js} +3 -3
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-IUAWTN2B.js → chunk-CA7XVRHZ.js} +2 -2
- package/dist/{chunk-4IVRQMZW.js → chunk-DF4BC5MK.js} +2 -2
- package/dist/{chunk-MKJBZR7J.js → chunk-DFK6AQWM.js} +2 -2
- package/dist/{chunk-RJ5L6LRD.js → chunk-DLR3SBOM.js} +4 -4
- package/dist/{chunk-QWDXHBDY.js → chunk-DQ2N7IN6.js} +129 -129
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/{chunk-D7GZM7AD.js → chunk-DS24H6M4.js} +2 -2
- package/dist/{chunk-X7J56GPG.js → chunk-FEYPXEKE.js} +2 -2
- package/dist/{chunk-AGMMHT4P.js → chunk-GT2HWRST.js} +21 -3
- package/dist/chunk-GT2HWRST.js.map +1 -0
- package/dist/{chunk-VT75USBD.js → chunk-HDU3MIK3.js} +2 -2
- package/dist/{chunk-HIUIJ4AB.js → chunk-HIPHLFIQ.js} +2 -2
- package/dist/{chunk-OQGGJBXX.js → chunk-HKOGDSNS.js} +2 -2
- package/dist/{chunk-TNACU47L.js → chunk-I6IKSDUO.js} +2 -2
- package/dist/{chunk-S7U6PKKV.js → chunk-IEB6XYW6.js} +2 -2
- package/dist/{chunk-C6Z3H23R.js → chunk-JUYTXFDV.js} +2 -2
- package/dist/{chunk-SGD7PCHI.js → chunk-K3KSTSGM.js} +4 -4
- package/dist/{chunk-TS6UKENE.js → chunk-KTZNXQWL.js} +2 -2
- package/dist/{chunk-BDKLKX43.js → chunk-KYZMCH4I.js} +79 -6
- package/dist/{chunk-BDKLKX43.js.map → chunk-KYZMCH4I.js.map} +1 -1
- package/dist/{chunk-DHPGGMGL.js → chunk-MUMQWCE2.js} +2 -2
- package/dist/{chunk-GCVMCCX7.js → chunk-MWEJL436.js} +2 -2
- package/dist/{chunk-L56BEEKZ.js → chunk-MZETCZJF.js} +4 -4
- package/dist/{chunk-IML7HMMK.js → chunk-NBHMEYM4.js} +2 -2
- package/dist/{chunk-H6X7GNDW.js → chunk-NFTFMMKT.js} +2 -2
- package/dist/{chunk-5WZT6WQW.js → chunk-NZHZQGLB.js} +2 -2
- package/dist/{chunk-AO5LKFGO.js → chunk-OFSAKEZB.js} +2 -2
- package/dist/{chunk-6PE4O7UE.js → chunk-PCCNK3RX.js} +2 -2
- package/dist/{chunk-E2R5BTBB.js → chunk-PJFSSXXY.js} +2 -2
- package/dist/{chunk-YQJCWR4R.js → chunk-QO5WYRK2.js} +2 -2
- package/dist/{chunk-KQAFEZQX.js → chunk-R45L4TV6.js} +6 -6
- package/dist/{chunk-3OUGSOJP.js → chunk-RKJYVJZJ.js} +2 -2
- package/dist/{chunk-5O26UA6Z.js → chunk-RV7IYUBK.js} +5 -5
- package/dist/{chunk-7IGMKQWK.js → chunk-SBQOBY3S.js} +2 -2
- package/dist/{chunk-I7TR2OCU.js → chunk-SQXCUH4L.js} +2 -2
- package/dist/{chunk-XV3I7SLU.js → chunk-TBOCVPXL.js} +4 -4
- package/dist/{chunk-EKXMWUXE.js → chunk-TGH7AU5U.js} +8 -8
- package/dist/{chunk-2COHMHLQ.js → chunk-TLJV42SZ.js} +2 -2
- package/dist/{chunk-R4O4JDTS.js → chunk-TXVTNDQT.js} +2 -2
- package/dist/{chunk-U6CKHWUQ.js → chunk-UADAXWUJ.js} +15 -15
- package/dist/{chunk-TE46SBDJ.js → chunk-UR6COSJN.js} +4 -4
- package/dist/{chunk-4MZCWJVS.js → chunk-VE23DIBH.js} +2 -2
- package/dist/{chunk-PORCJ6NC.js → chunk-VGCK2RV3.js} +2 -2
- package/dist/{chunk-ZIXP27JK.js → chunk-VVVFT435.js} +2 -2
- package/dist/{chunk-GCOQDPOE.js → chunk-VXKPZ6BO.js} +2 -2
- package/dist/{chunk-SAMHDJSQ.js → chunk-XTAGZXOM.js} +2 -2
- package/dist/{chunk-NFLZMAIV.js → chunk-YAFMWQRL.js} +6 -6
- package/dist/{chunk-IYH6NQDI.js → chunk-YKAQKIPR.js} +2 -2
- package/dist/{chunk-5JZ5CYTR.js → chunk-YOR5QBEU.js} +63 -62
- package/dist/chunk-YOR5QBEU.js.map +1 -0
- package/dist/{chunk-7FUE2LSW.js → chunk-ZWSSUWKO.js} +2 -2
- package/dist/cli.js +97 -96
- package/dist/coding/export-okf-codegraph.js +11 -11
- package/dist/compounding/engine.js +12 -12
- package/dist/config.js +11 -11
- package/dist/connectors/codex-materialize-runner.js +11 -11
- package/dist/connectors/index.js +11 -11
- package/dist/convergence-refresh.js +13 -13
- package/dist/corpus-watermark.js +13 -13
- package/dist/deep-recall-http-glue.js +5 -5
- package/dist/directory-sidecars.js +2 -2
- package/dist/entity-recall-reads.d.ts +5 -0
- package/dist/entity-recall-reads.d.ts.map +1 -0
- package/dist/entity-recall-reads.js +16 -0
- package/dist/entity-recall-reads.js.map +1 -0
- package/dist/entity-retrieval.d.ts.map +1 -1
- package/dist/entity-retrieval.js +12 -11
- package/dist/explicit-capture.js +97 -96
- package/dist/extraction.js +21 -21
- package/dist/harmonic-retrieval.js +11 -11
- package/dist/index.js +133 -132
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.js +5 -5
- package/dist/local-llm-helpers.d.ts +22 -8
- package/dist/local-llm-helpers.d.ts.map +1 -1
- package/dist/local-llm-helpers.js +11 -1
- package/dist/local-llm-rate-limit.d.ts +1 -5
- package/dist/local-llm-rate-limit.d.ts.map +1 -1
- package/dist/local-llm-rate-limit.js +3 -1
- package/dist/local-llm.d.ts +2 -4
- package/dist/local-llm.d.ts.map +1 -1
- package/dist/local-llm.js +4 -4
- package/dist/location/index.js +13 -13
- package/dist/maintenance/archive-observations.js +2 -2
- package/dist/maintenance/atomic-file.d.ts +1 -1
- package/dist/maintenance/atomic-file.d.ts.map +1 -1
- package/dist/maintenance/atomic-file.js +1 -1
- package/dist/maintenance/memory-governance.js +11 -11
- package/dist/maintenance/migrate-observations.js +3 -3
- package/dist/maintenance/observation-ledger-utils.js +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +11 -11
- package/dist/maintenance/rebuild-memory-projection-runner.js +13 -13
- package/dist/maintenance/rebuild-memory-projection.js +12 -12
- package/dist/maintenance/rebuild-observations.js +3 -3
- package/dist/memory-browse.js +4 -4
- package/dist/namespaces/migrate.js +12 -12
- package/dist/namespaces/search.js +6 -6
- package/dist/namespaces/storage.js +11 -11
- package/dist/offline-sync-impression-drain.js +2 -2
- package/dist/operator-doctor-corpus.js +14 -14
- package/dist/operator-toolkit.js +18 -18
- package/dist/orchestration/backlog-scheduler.js +98 -97
- package/dist/orchestration/backlog-scheduler.js.map +1 -1
- package/dist/orchestration/buffer-drain-runner.js +98 -97
- package/dist/orchestration/maintenance.js +24 -24
- package/dist/orchestrator.js +97 -96
- package/dist/recall-navigation.js +97 -96
- package/dist/recall-state-view-admission.js +4 -4
- package/dist/recall-state.js +2 -2
- package/dist/recall-why-service.js +4 -4
- package/dist/relevance.js +2 -2
- package/dist/resume-bundles.js +12 -12
- package/dist/search/factory.js +5 -5
- package/dist/search/index.js +5 -5
- package/dist/search/lancedb-backend.js +2 -2
- package/dist/search/meilisearch-backend.js +2 -2
- package/dist/search/orama-backend.js +2 -2
- package/dist/semantic-consolidation.js +12 -12
- package/dist/semantic-rule-promotion.js +11 -11
- package/dist/semantic-rule-verifier.js +11 -11
- package/dist/source-agent-qualifier.js +14 -14
- package/dist/standup/build.js +11 -11
- package/dist/storage.js +10 -10
- package/dist/summarizer.js +5 -5
- package/dist/support-passport/index.js +5 -5
- package/dist/transfer/autodetect.js +1 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +3 -3
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/transfer/export-okf.js +12 -12
- package/dist/verified-recall.js +11 -11
- package/dist/who-knows-cli.js +12 -12
- package/dist/who-knows.js +11 -11
- package/package.json +12 -2
- package/src/entity-recall-reads.ts +40 -0
- package/src/entity-retrieval.ts +16 -22
- package/src/local-llm-helpers.ts +116 -14
- package/src/local-llm-rate-limit.test.ts +79 -1
- package/src/local-llm-rate-limit.ts +37 -1
- package/src/local-llm.ts +75 -74
- package/src/maintenance/atomic-file.ts +2 -1
- package/dist/chunk-4DCKLDYM.js.map +0 -1
- package/dist/chunk-5JZ5CYTR.js.map +0 -1
- package/dist/chunk-AGMMHT4P.js.map +0 -1
- package/dist/chunk-BTNNL7ZW.js.map +0 -1
- /package/dist/{auto-sync-PSZJHHXB.js.map → auto-sync-L3M4RKJD.js.map} +0 -0
- /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{chunk-ZZYJNT2J.js.map → chunk-2MWKUVHT.js.map} +0 -0
- /package/dist/{chunk-WHCD4Z3D.js.map → chunk-2X4WP4GD.js.map} +0 -0
- /package/dist/{chunk-V7IH24UG.js.map → chunk-2YJYBAR3.js.map} +0 -0
- /package/dist/{chunk-MX5VGD6C.js.map → chunk-3DJ6R4CC.js.map} +0 -0
- /package/dist/{chunk-SX6O25WK.js.map → chunk-3UKPFFMS.js.map} +0 -0
- /package/dist/{chunk-V5NHW44X.js.map → chunk-52EM4UQU.js.map} +0 -0
- /package/dist/{chunk-2G5XUS4S.js.map → chunk-5UE45DLK.js.map} +0 -0
- /package/dist/{chunk-B57CAZPI.js.map → chunk-5V3IBSVB.js.map} +0 -0
- /package/dist/{chunk-4LF5E2LM.js.map → chunk-66DUCUOC.js.map} +0 -0
- /package/dist/{chunk-EDR6CVWZ.js.map → chunk-6PEEZSGL.js.map} +0 -0
- /package/dist/{chunk-G5D5JKJJ.js.map → chunk-6PVS6JET.js.map} +0 -0
- /package/dist/{chunk-DE6KQUAP.js.map → chunk-773QSFFN.js.map} +0 -0
- /package/dist/{chunk-UI77UYQP.js.map → chunk-7IJ2H43M.js.map} +0 -0
- /package/dist/{chunk-E4PME33M.js.map → chunk-7PCWJZXG.js.map} +0 -0
- /package/dist/{chunk-TE2SBFZD.js.map → chunk-B7F2G57I.js.map} +0 -0
- /package/dist/{chunk-3BNWEHHC.js.map → chunk-BDFOBNLX.js.map} +0 -0
- /package/dist/{chunk-PBE7NFB5.js.map → chunk-BNQJKWWZ.js.map} +0 -0
- /package/dist/{chunk-EPTLYMQY.js.map → chunk-BT5TAOXG.js.map} +0 -0
- /package/dist/{chunk-IMJKWVT7.js.map → chunk-BTCZVBV3.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-IUAWTN2B.js.map → chunk-CA7XVRHZ.js.map} +0 -0
- /package/dist/{chunk-4IVRQMZW.js.map → chunk-DF4BC5MK.js.map} +0 -0
- /package/dist/{chunk-MKJBZR7J.js.map → chunk-DFK6AQWM.js.map} +0 -0
- /package/dist/{chunk-RJ5L6LRD.js.map → chunk-DLR3SBOM.js.map} +0 -0
- /package/dist/{chunk-QWDXHBDY.js.map → chunk-DQ2N7IN6.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-D7GZM7AD.js.map → chunk-DS24H6M4.js.map} +0 -0
- /package/dist/{chunk-X7J56GPG.js.map → chunk-FEYPXEKE.js.map} +0 -0
- /package/dist/{chunk-VT75USBD.js.map → chunk-HDU3MIK3.js.map} +0 -0
- /package/dist/{chunk-HIUIJ4AB.js.map → chunk-HIPHLFIQ.js.map} +0 -0
- /package/dist/{chunk-OQGGJBXX.js.map → chunk-HKOGDSNS.js.map} +0 -0
- /package/dist/{chunk-TNACU47L.js.map → chunk-I6IKSDUO.js.map} +0 -0
- /package/dist/{chunk-S7U6PKKV.js.map → chunk-IEB6XYW6.js.map} +0 -0
- /package/dist/{chunk-C6Z3H23R.js.map → chunk-JUYTXFDV.js.map} +0 -0
- /package/dist/{chunk-SGD7PCHI.js.map → chunk-K3KSTSGM.js.map} +0 -0
- /package/dist/{chunk-TS6UKENE.js.map → chunk-KTZNXQWL.js.map} +0 -0
- /package/dist/{chunk-DHPGGMGL.js.map → chunk-MUMQWCE2.js.map} +0 -0
- /package/dist/{chunk-GCVMCCX7.js.map → chunk-MWEJL436.js.map} +0 -0
- /package/dist/{chunk-L56BEEKZ.js.map → chunk-MZETCZJF.js.map} +0 -0
- /package/dist/{chunk-IML7HMMK.js.map → chunk-NBHMEYM4.js.map} +0 -0
- /package/dist/{chunk-H6X7GNDW.js.map → chunk-NFTFMMKT.js.map} +0 -0
- /package/dist/{chunk-5WZT6WQW.js.map → chunk-NZHZQGLB.js.map} +0 -0
- /package/dist/{chunk-AO5LKFGO.js.map → chunk-OFSAKEZB.js.map} +0 -0
- /package/dist/{chunk-6PE4O7UE.js.map → chunk-PCCNK3RX.js.map} +0 -0
- /package/dist/{chunk-E2R5BTBB.js.map → chunk-PJFSSXXY.js.map} +0 -0
- /package/dist/{chunk-YQJCWR4R.js.map → chunk-QO5WYRK2.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-R45L4TV6.js.map} +0 -0
- /package/dist/{chunk-3OUGSOJP.js.map → chunk-RKJYVJZJ.js.map} +0 -0
- /package/dist/{chunk-5O26UA6Z.js.map → chunk-RV7IYUBK.js.map} +0 -0
- /package/dist/{chunk-7IGMKQWK.js.map → chunk-SBQOBY3S.js.map} +0 -0
- /package/dist/{chunk-I7TR2OCU.js.map → chunk-SQXCUH4L.js.map} +0 -0
- /package/dist/{chunk-XV3I7SLU.js.map → chunk-TBOCVPXL.js.map} +0 -0
- /package/dist/{chunk-EKXMWUXE.js.map → chunk-TGH7AU5U.js.map} +0 -0
- /package/dist/{chunk-2COHMHLQ.js.map → chunk-TLJV42SZ.js.map} +0 -0
- /package/dist/{chunk-R4O4JDTS.js.map → chunk-TXVTNDQT.js.map} +0 -0
- /package/dist/{chunk-U6CKHWUQ.js.map → chunk-UADAXWUJ.js.map} +0 -0
- /package/dist/{chunk-TE46SBDJ.js.map → chunk-UR6COSJN.js.map} +0 -0
- /package/dist/{chunk-4MZCWJVS.js.map → chunk-VE23DIBH.js.map} +0 -0
- /package/dist/{chunk-PORCJ6NC.js.map → chunk-VGCK2RV3.js.map} +0 -0
- /package/dist/{chunk-ZIXP27JK.js.map → chunk-VVVFT435.js.map} +0 -0
- /package/dist/{chunk-GCOQDPOE.js.map → chunk-VXKPZ6BO.js.map} +0 -0
- /package/dist/{chunk-SAMHDJSQ.js.map → chunk-XTAGZXOM.js.map} +0 -0
- /package/dist/{chunk-NFLZMAIV.js.map → chunk-YAFMWQRL.js.map} +0 -0
- /package/dist/{chunk-IYH6NQDI.js.map → chunk-YKAQKIPR.js.map} +0 -0
- /package/dist/{chunk-7FUE2LSW.js.map → chunk-ZWSSUWKO.js.map} +0 -0
package/dist/calibration.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocalLlmClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-YOR5QBEU.js";
|
|
4
|
+
import "./chunk-MJFL75J6.js";
|
|
5
|
+
import "./chunk-GT2HWRST.js";
|
|
5
6
|
import "./chunk-U4LUIE6Y.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-KYZMCH4I.js";
|
|
7
8
|
import "./chunk-5YQXWVCP.js";
|
|
8
|
-
import "./chunk-MJFL75J6.js";
|
|
9
9
|
import {
|
|
10
10
|
OUTPUT_LANGUAGE_POLICY
|
|
11
11
|
} from "./chunk-YN2DQ2D6.js";
|
|
@@ -22,7 +22,7 @@ import "./chunk-QW27DOHG.js";
|
|
|
22
22
|
import "./chunk-YBA52OKG.js";
|
|
23
23
|
import {
|
|
24
24
|
writeFileAtomically
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2GJCSYSF.js";
|
|
26
26
|
import {
|
|
27
27
|
resolveLocalLlmCapabilities
|
|
28
28
|
} from "./chunk-C5LWPYS3.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
decryptCapsuleFileInMemory,
|
|
4
4
|
encryptCapsuleFile,
|
|
5
5
|
isEncryptedCapsuleFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DQEMWVMT.js";
|
|
7
7
|
import "./chunk-BJMBJZ2Y.js";
|
|
8
8
|
import "./chunk-UKJAGEXH.js";
|
|
9
9
|
import "./chunk-FP2373TW.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
encryptCapsuleFile,
|
|
16
16
|
isEncryptedCapsuleFile
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=capsule-crypto-
|
|
18
|
+
//# sourceMappingURL=capsule-crypto-YO5QJ6L3.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-RB7NXZ2E.js";
|
|
5
5
|
import {
|
|
6
6
|
buildExtensionsBlockForConsolidation
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PJFSSXXY.js";
|
|
8
8
|
import {
|
|
9
9
|
runPostConsolidationMaterialize
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YKAQKIPR.js";
|
|
11
11
|
import "./chunk-3UXOZBHV.js";
|
|
12
12
|
import "./chunk-AL3TCNSJ.js";
|
|
13
13
|
import "./chunk-5JMAGU26.js";
|
|
@@ -19,22 +19,22 @@ import "./chunk-QDW3E4RD.js";
|
|
|
19
19
|
import {
|
|
20
20
|
resolveCausalTrajectoryStoreDir
|
|
21
21
|
} from "./chunk-GMO3BGOF.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-YAFMWQRL.js";
|
|
23
23
|
import "./chunk-QGVCFVX6.js";
|
|
24
24
|
import "./chunk-UHVXE24Y.js";
|
|
25
25
|
import "./chunk-BL7WULM5.js";
|
|
26
26
|
import "./chunk-G6OFEGUR.js";
|
|
27
27
|
import "./chunk-SDGD6MYV.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-TLJV42SZ.js";
|
|
29
|
+
import "./chunk-MZETCZJF.js";
|
|
30
30
|
import "./chunk-YCK26VSL.js";
|
|
31
31
|
import "./chunk-EXYT52NR.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-3DJ6R4CC.js";
|
|
33
|
+
import "./chunk-66DUCUOC.js";
|
|
34
34
|
import "./chunk-CYEPCZN5.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-Y5NLBXPV.js";
|
|
35
|
+
import "./chunk-DLR3SBOM.js";
|
|
37
36
|
import "./chunk-WNEVEMJ3.js";
|
|
37
|
+
import "./chunk-Y5NLBXPV.js";
|
|
38
38
|
import "./chunk-TFA6HPOA.js";
|
|
39
39
|
import "./chunk-F4TWWUMP.js";
|
|
40
40
|
import "./chunk-72A4L5JJ.js";
|
|
@@ -44,14 +44,14 @@ import "./chunk-PPUNC7UX.js";
|
|
|
44
44
|
import "./chunk-X3724WL4.js";
|
|
45
45
|
import "./chunk-L76BQSWB.js";
|
|
46
46
|
import "./chunk-MRPOZBJC.js";
|
|
47
|
-
import "./chunk-LDXUBPMO.js";
|
|
48
47
|
import "./chunk-DM2T26WE.js";
|
|
48
|
+
import "./chunk-LDXUBPMO.js";
|
|
49
49
|
import "./chunk-UWVMD54T.js";
|
|
50
50
|
import "./chunk-JNDMIAJ4.js";
|
|
51
51
|
import "./chunk-AAD2ZS6P.js";
|
|
52
52
|
import "./chunk-ZIKENA2C.js";
|
|
53
53
|
import "./chunk-YXZG5TVN.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-RKJYVJZJ.js";
|
|
55
55
|
import "./chunk-SCU65EZI.js";
|
|
56
56
|
import "./chunk-3ONXXHQO.js";
|
|
57
57
|
import "./chunk-3WU7XOFN.js";
|
|
@@ -108,7 +108,7 @@ import "./chunk-TSUSHXBW.js";
|
|
|
108
108
|
import "./chunk-LEII44QG.js";
|
|
109
109
|
import "./chunk-HLUHEMN4.js";
|
|
110
110
|
import "./chunk-5FVVY2EB.js";
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-2GJCSYSF.js";
|
|
112
112
|
import "./chunk-JDSVLVCG.js";
|
|
113
113
|
import "./chunk-5GKPFL3S.js";
|
|
114
114
|
import "./chunk-JAKIDQB2.js";
|
|
@@ -26,14 +26,14 @@ async function copyExistingFileToBackup(sourcePath, backupPath) {
|
|
|
26
26
|
await copyFile(sourcePath, backupPath);
|
|
27
27
|
return backupPath;
|
|
28
28
|
}
|
|
29
|
-
async function writeFileAtomically(outputPath, content, backupPath) {
|
|
29
|
+
async function writeFileAtomically(outputPath, content, backupPath, mode) {
|
|
30
30
|
const dir = path.dirname(outputPath);
|
|
31
31
|
await mkdir(dir, { recursive: true });
|
|
32
32
|
const tempPath = tempPathFor(outputPath);
|
|
33
33
|
let handle;
|
|
34
34
|
let resolvedBackupPath;
|
|
35
35
|
try {
|
|
36
|
-
handle = await open(tempPath, "w");
|
|
36
|
+
handle = await open(tempPath, "w", mode);
|
|
37
37
|
if (typeof content === "string") {
|
|
38
38
|
await handle.writeFile(content, "utf-8");
|
|
39
39
|
} else {
|
|
@@ -76,4 +76,4 @@ export {
|
|
|
76
76
|
writeFileAtomically,
|
|
77
77
|
commitPreparedFileAtomically
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=chunk-
|
|
79
|
+
//# sourceMappingURL=chunk-2GJCSYSF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/maintenance/atomic-file.ts"],"sourcesContent":["import path from \"node:path\";\nimport { copyFile, mkdir, open, rename, rm, stat } from \"node:fs/promises\";\n\nasync function syncDirectory(dir: string): Promise<void> {\n let handle: Awaited<ReturnType<typeof open>> | undefined;\n try {\n handle = await open(dir, \"r\");\n await handle.sync();\n } catch {\n // Directory fsync is best-effort across platforms and filesystems.\n } finally {\n await handle?.close().catch(() => undefined);\n }\n}\n\nfunction tempPathFor(outputPath: string): string {\n const suffix = `${process.pid}.${Date.now()}.${Math.random().toString(36).slice(2)}`;\n return path.join(path.dirname(outputPath), `.${path.basename(outputPath)}.${suffix}.tmp`);\n}\n\nexport async function copyExistingFileToBackup(\n sourcePath: string,\n backupPath: string,\n): Promise<string | undefined> {\n try {\n await stat(sourcePath);\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === \"ENOENT\") return undefined;\n throw err;\n }\n\n await mkdir(path.dirname(backupPath), { recursive: true });\n await copyFile(sourcePath, backupPath);\n return backupPath;\n}\n\nexport async function writeFileAtomically(\n outputPath: string,\n content: string | Uint8Array,\n backupPath?: string,\n mode?: number,\n): Promise<string | undefined> {\n const dir = path.dirname(outputPath);\n await mkdir(dir, { recursive: true });\n const tempPath = tempPathFor(outputPath);\n let handle: Awaited<ReturnType<typeof open>> | undefined;\n let resolvedBackupPath: string | undefined;\n try {\n handle = await open(tempPath, \"w\", mode);\n if (typeof content === \"string\") {\n await handle.writeFile(content, \"utf-8\");\n } else {\n await handle.writeFile(content);\n }\n await handle.sync();\n await handle.close();\n handle = undefined;\n\n if (backupPath) {\n resolvedBackupPath = await copyExistingFileToBackup(outputPath, backupPath);\n }\n await rename(tempPath, outputPath);\n await syncDirectory(dir);\n return resolvedBackupPath;\n } catch (err) {\n await handle?.close().catch(() => undefined);\n await rm(tempPath, { force: true }).catch(() => undefined);\n throw err;\n }\n}\n\nexport async function commitPreparedFileAtomically(\n tempPath: string,\n outputPath: string,\n backupPath?: string,\n beforeRename?: () => void | Promise<void>,\n): Promise<string | undefined> {\n const dir = path.dirname(outputPath);\n let resolvedBackupPath: string | undefined;\n try {\n if (backupPath) {\n resolvedBackupPath = await copyExistingFileToBackup(outputPath, backupPath);\n }\n if (beforeRename) await beforeRename();\n await rename(tempPath, outputPath);\n await syncDirectory(dir);\n return resolvedBackupPath;\n } catch (err) {\n await rm(tempPath, { force: true }).catch(() => undefined);\n throw err;\n }\n}\n"],"mappings":";AAAA,OAAO,UAAU;AACjB,SAAS,UAAU,OAAO,MAAM,QAAQ,IAAI,YAAY;AAExD,eAAe,cAAc,KAA4B;AACvD,MAAI;AACJ,MAAI;AACF,aAAS,MAAM,KAAK,KAAK,GAAG;AAC5B,UAAM,OAAO,KAAK;AAAA,EACpB,QAAQ;AAAA,EAER,UAAE;AACA,UAAM,QAAQ,MAAM,EAAE,MAAM,MAAM,MAAS;AAAA,EAC7C;AACF;AAEA,SAAS,YAAY,YAA4B;AAC/C,QAAM,SAAS,GAAG,QAAQ,GAAG,IAAI,KAAK,IAAI,CAAC,IAAI,KAAK,OAAO,EAAE,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;AAClF,SAAO,KAAK,KAAK,KAAK,QAAQ,UAAU,GAAG,IAAI,KAAK,SAAS,UAAU,CAAC,IAAI,MAAM,MAAM;AAC1F;AAEA,eAAsB,yBACpB,YACA,YAC6B;AAC7B,MAAI;AACF,UAAM,KAAK,UAAU;AAAA,EACvB,SAAS,KAAK;AACZ,QAAK,IAA8B,SAAS,SAAU,QAAO;AAC7D,UAAM;AAAA,EACR;AAEA,QAAM,MAAM,KAAK,QAAQ,UAAU,GAAG,EAAE,WAAW,KAAK,CAAC;AACzD,QAAM,SAAS,YAAY,UAAU;AACrC,SAAO;AACT;AAEA,eAAsB,oBACpB,YACA,SACA,YACA,MAC6B;AAC7B,QAAM,MAAM,KAAK,QAAQ,UAAU;AACnC,QAAM,MAAM,KAAK,EAAE,WAAW,KAAK,CAAC;AACpC,QAAM,WAAW,YAAY,UAAU;AACvC,MAAI;AACJ,MAAI;AACJ,MAAI;AACF,aAAS,MAAM,KAAK,UAAU,KAAK,IAAI;AACvC,QAAI,OAAO,YAAY,UAAU;AAC/B,YAAM,OAAO,UAAU,SAAS,OAAO;AAAA,IACzC,OAAO;AACL,YAAM,OAAO,UAAU,OAAO;AAAA,IAChC;AACA,UAAM,OAAO,KAAK;AAClB,UAAM,OAAO,MAAM;AACnB,aAAS;AAET,QAAI,YAAY;AACd,2BAAqB,MAAM,yBAAyB,YAAY,UAAU;AAAA,IAC5E;AACA,UAAM,OAAO,UAAU,UAAU;AACjC,UAAM,cAAc,GAAG;AACvB,WAAO;AAAA,EACT,SAAS,KAAK;AACZ,UAAM,QAAQ,MAAM,EAAE,MAAM,MAAM,MAAS;AAC3C,UAAM,GAAG,UAAU,EAAE,OAAO,KAAK,CAAC,EAAE,MAAM,MAAM,MAAS;AACzD,UAAM;AAAA,EACR;AACF;AAEA,eAAsB,6BACpB,UACA,YACA,YACA,cAC6B;AAC7B,QAAM,MAAM,KAAK,QAAQ,UAAU;AACnC,MAAI;AACJ,MAAI;AACF,QAAI,YAAY;AACd,2BAAqB,MAAM,yBAAyB,YAAY,UAAU;AAAA,IAC5E;AACA,QAAI,aAAc,OAAM,aAAa;AACrC,UAAM,OAAO,UAAU,UAAU;AACjC,UAAM,cAAc,GAAG;AACvB,WAAO;AAAA,EACT,SAAS,KAAK;AACZ,UAAM,GAAG,UAAU,EAAE,OAAO,KAAK,CAAC,EAAE,MAAM,MAAM,MAAS;AACzD,UAAM;AAAA,EACR;AACF;","names":[]}
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk-QW27DOHG.js";
|
|
34
34
|
import {
|
|
35
35
|
fillWearableConversationLocations
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DF4BC5MK.js";
|
|
37
37
|
import {
|
|
38
38
|
composeMemoryEnvelope
|
|
39
39
|
} from "./chunk-X26YOFGS.js";
|
|
@@ -1344,4 +1344,4 @@ export {
|
|
|
1344
1344
|
syncWearableSource,
|
|
1345
1345
|
defaultTimezone
|
|
1346
1346
|
};
|
|
1347
|
-
//# sourceMappingURL=chunk-
|
|
1347
|
+
//# sourceMappingURL=chunk-2MWKUVHT.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backupAndWriteRebuiltObservations,
|
|
3
3
|
toHourBucketIso
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QO5WYRK2.js";
|
|
5
5
|
|
|
6
6
|
// src/maintenance/rebuild-observations.ts
|
|
7
7
|
import path from "path";
|
|
@@ -124,4 +124,4 @@ async function rebuildObservations(options) {
|
|
|
124
124
|
export {
|
|
125
125
|
rebuildObservations
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-2X4WP4GD.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-KJTKLXTH.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YAFMWQRL.js";
|
|
7
7
|
import {
|
|
8
8
|
assertInjectedStorageRooted
|
|
9
9
|
} from "./chunk-BNZAR6PO.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
copyExistingFileToBackup,
|
|
24
24
|
writeFileAtomically
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2GJCSYSF.js";
|
|
26
26
|
import {
|
|
27
27
|
withHeldFileLock
|
|
28
28
|
} from "./chunk-EBV6VXKF.js";
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
backupExistingLedger,
|
|
261
261
|
rebuildMemoryLifecycleLedger
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-2YJYBAR3.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
scanMemoryDir
|
|
3
|
+
} from "./chunk-WNEVEMJ3.js";
|
|
1
4
|
import {
|
|
2
5
|
isSearchAborted,
|
|
3
6
|
throwIfSearchAborted
|
|
4
7
|
} from "./chunk-Y5NLBXPV.js";
|
|
5
|
-
import {
|
|
6
|
-
scanMemoryDir
|
|
7
|
-
} from "./chunk-WNEVEMJ3.js";
|
|
8
8
|
import {
|
|
9
9
|
reportSearchDegradation,
|
|
10
10
|
resolveEnsureCollectionArgs
|
|
@@ -523,4 +523,4 @@ function isMissingVectorProviderColumnError(err) {
|
|
|
523
523
|
export {
|
|
524
524
|
LanceDbBackend
|
|
525
525
|
};
|
|
526
|
-
//# sourceMappingURL=chunk-
|
|
526
|
+
//# sourceMappingURL=chunk-3DJ6R4CC.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
computeCorpusWatermarks,
|
|
6
6
|
resolveCorpusNamespaceRoots
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VGCK2RV3.js";
|
|
8
8
|
|
|
9
9
|
// src/operator-doctor-corpus.ts
|
|
10
10
|
var DIGEST_PREFIX_LENGTH = 12;
|
|
@@ -78,4 +78,4 @@ export {
|
|
|
78
78
|
corpusWatermarksFromCheck,
|
|
79
79
|
summarizeCorpusAndReplica
|
|
80
80
|
};
|
|
81
|
-
//# sourceMappingURL=chunk-
|
|
81
|
+
//# sourceMappingURL=chunk-3UKPFFMS.js.map
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
headerConnector,
|
|
7
7
|
renderExtractionConversation,
|
|
8
8
|
resolveSourceConnector
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-773QSFFN.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizeReasoningTrace
|
|
12
12
|
} from "./chunk-54V4BZWP.js";
|
|
13
|
-
import {
|
|
14
|
-
shouldRunProactivePass
|
|
15
|
-
} from "./chunk-2CGLBUW3.js";
|
|
16
13
|
import {
|
|
17
14
|
ProfilingCollector
|
|
18
15
|
} from "./chunk-DOWACHYO.js";
|
|
16
|
+
import {
|
|
17
|
+
shouldRunProactivePass
|
|
18
|
+
} from "./chunk-2CGLBUW3.js";
|
|
19
19
|
import {
|
|
20
20
|
ModelRegistry
|
|
21
21
|
} from "./chunk-QNUNAXBE.js";
|
|
@@ -39,6 +39,9 @@ import {
|
|
|
39
39
|
stripUntrustedFactSpans,
|
|
40
40
|
truncateLocalExtractionConversation
|
|
41
41
|
} from "./chunk-3SL52JKD.js";
|
|
42
|
+
import {
|
|
43
|
+
attachExtractionProvenance
|
|
44
|
+
} from "./chunk-ULLGI6XR.js";
|
|
42
45
|
import {
|
|
43
46
|
containsExtractionPlaceholder,
|
|
44
47
|
extractionAttributes,
|
|
@@ -51,9 +54,6 @@ import {
|
|
|
51
54
|
formatUnusableReplyDiagnostic,
|
|
52
55
|
looksLikeExtractionResultPayload
|
|
53
56
|
} from "./chunk-V24YLFJW.js";
|
|
54
|
-
import {
|
|
55
|
-
attachExtractionProvenance
|
|
56
|
-
} from "./chunk-ULLGI6XR.js";
|
|
57
57
|
import {
|
|
58
58
|
LocalLlmRejectedError,
|
|
59
59
|
classifyExtractionThrownError,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "./chunk-7G5NTS7F.js";
|
|
72
72
|
import {
|
|
73
73
|
LocalLlmClient
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-YOR5QBEU.js";
|
|
75
75
|
import {
|
|
76
76
|
CONSOLIDATION_RESPONSE_SCHEMA,
|
|
77
77
|
CUE_ANCHOR_PROMPT_INSTRUCTION,
|
|
@@ -2449,4 +2449,4 @@ export {
|
|
|
2449
2449
|
shouldEnableLocalExtractionThinking,
|
|
2450
2450
|
ExtractionEngine
|
|
2451
2451
|
};
|
|
2452
|
-
//# sourceMappingURL=chunk-
|
|
2452
|
+
//# sourceMappingURL=chunk-52EM4UQU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseFrontmatter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YAFMWQRL.js";
|
|
4
4
|
import {
|
|
5
5
|
activityDigestPath,
|
|
6
6
|
isValidActivityDate
|
|
@@ -199,4 +199,4 @@ export {
|
|
|
199
199
|
buildStandup,
|
|
200
200
|
standupHelp
|
|
201
201
|
};
|
|
202
|
-
//# sourceMappingURL=chunk-
|
|
202
|
+
//# sourceMappingURL=chunk-5UE45DLK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocalLlmClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YOR5QBEU.js";
|
|
4
4
|
import {
|
|
5
5
|
FallbackLlmClient
|
|
6
6
|
} from "./chunk-MMRTPH3J.js";
|
|
@@ -4497,4 +4497,4 @@ export {
|
|
|
4497
4497
|
parseSupportPassportModelJob,
|
|
4498
4498
|
SupportPassportModelBridge
|
|
4499
4499
|
};
|
|
4500
|
-
//# sourceMappingURL=chunk-
|
|
4500
|
+
//# sourceMappingURL=chunk-5V3IBSVB.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
scanMemoryDir
|
|
3
|
+
} from "./chunk-WNEVEMJ3.js";
|
|
1
4
|
import {
|
|
2
5
|
isSearchAborted,
|
|
3
6
|
throwIfSearchAborted
|
|
4
7
|
} from "./chunk-Y5NLBXPV.js";
|
|
5
|
-
import {
|
|
6
|
-
scanMemoryDir
|
|
7
|
-
} from "./chunk-WNEVEMJ3.js";
|
|
8
8
|
import {
|
|
9
9
|
reportSearchDegradation,
|
|
10
10
|
resolveEnsureCollectionArgs
|
|
@@ -274,4 +274,4 @@ function isMeilisearchIndexNotFoundError(err) {
|
|
|
274
274
|
export {
|
|
275
275
|
MeilisearchBackend
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=chunk-
|
|
277
|
+
//# sourceMappingURL=chunk-66DUCUOC.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backupAndWriteRebuiltObservations,
|
|
3
3
|
toHourBucketIso
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QO5WYRK2.js";
|
|
5
5
|
|
|
6
6
|
// src/maintenance/migrate-observations.ts
|
|
7
7
|
import path from "path";
|
|
@@ -156,4 +156,4 @@ async function migrateObservations(options) {
|
|
|
156
156
|
export {
|
|
157
157
|
migrateObservations
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=chunk-
|
|
159
|
+
//# sourceMappingURL=chunk-6PEEZSGL.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YAFMWQRL.js";
|
|
4
4
|
import {
|
|
5
5
|
composeMemoryEnvelope
|
|
6
6
|
} from "./chunk-X26YOFGS.js";
|
|
@@ -546,4 +546,4 @@ export {
|
|
|
546
546
|
setSemanticRulePromotionTestHooks,
|
|
547
547
|
promoteSemanticRuleFromMemory
|
|
548
548
|
};
|
|
549
|
-
//# sourceMappingURL=chunk-
|
|
549
|
+
//# sourceMappingURL=chunk-6PVS6JET.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-ULLGI6XR.js";
|
|
9
9
|
import {
|
|
10
10
|
deriveSourceConnector
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PCCNK3RX.js";
|
|
12
12
|
import {
|
|
13
13
|
resolvePipelineProcessingCapabilities
|
|
14
14
|
} from "./chunk-C5LWPYS3.js";
|
|
@@ -130,4 +130,4 @@ export {
|
|
|
130
130
|
renderExtractionConversation,
|
|
131
131
|
applyGroundingWithConnector
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=chunk-
|
|
133
|
+
//# sourceMappingURL=chunk-773QSFFN.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
DIRECTORY_SIDECAR_BASENAME,
|
|
12
12
|
OKF_RESERVED_BASENAMES
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RKJYVJZJ.js";
|
|
14
14
|
import {
|
|
15
15
|
isValidActivityDate
|
|
16
16
|
} from "./chunk-353C5UNV.js";
|
|
@@ -228,4 +228,4 @@ export {
|
|
|
228
228
|
isGenericRecallExcludedPath,
|
|
229
229
|
filterRecallCandidates
|
|
230
230
|
};
|
|
231
|
-
//# sourceMappingURL=chunk-
|
|
231
|
+
//# sourceMappingURL=chunk-7IJ2H43M.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-TBBDFYXW.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YAFMWQRL.js";
|
|
7
7
|
import {
|
|
8
8
|
requestEntityCanonicalIdReconcile
|
|
9
9
|
} from "./chunk-KM4QO4LN.js";
|
|
@@ -769,4 +769,4 @@ export {
|
|
|
769
769
|
listMemoryGovernanceRuns,
|
|
770
770
|
readMemoryGovernanceRunArtifact
|
|
771
771
|
};
|
|
772
|
-
//# sourceMappingURL=chunk-
|
|
772
|
+
//# sourceMappingURL=chunk-7PCWJZXG.js.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
checkEntityRecallAbort
|
|
3
|
+
} from "./chunk-WJ6S54ES.js";
|
|
4
|
+
import {
|
|
5
|
+
collectNativeKnowledgeChunks
|
|
6
|
+
} from "./chunk-2DQ2XREU.js";
|
|
7
|
+
import {
|
|
8
|
+
resolveNamespaceCapabilities
|
|
9
|
+
} from "./chunk-C5LWPYS3.js";
|
|
10
|
+
import {
|
|
11
|
+
isAbortError,
|
|
12
|
+
raceAbort
|
|
13
|
+
} from "./chunk-R2MBW2S4.js";
|
|
14
|
+
|
|
15
|
+
// src/entity-recall-reads.ts
|
|
16
|
+
import { readFile } from "fs/promises";
|
|
17
|
+
async function readEntityIndexStateText(file, abortSignal) {
|
|
18
|
+
checkEntityRecallAbort(abortSignal);
|
|
19
|
+
const raw = await raceAbort(readFile(file, "utf-8"), abortSignal, "entity recall aborted").catch((err) => {
|
|
20
|
+
if (isAbortError(err)) throw err;
|
|
21
|
+
return "";
|
|
22
|
+
});
|
|
23
|
+
checkEntityRecallAbort(abortSignal);
|
|
24
|
+
return raw;
|
|
25
|
+
}
|
|
26
|
+
async function readNativeChunks(config, recallNamespaces, abortSignal) {
|
|
27
|
+
if (!config.nativeKnowledge?.enabled) return [];
|
|
28
|
+
return collectNativeKnowledgeChunks({
|
|
29
|
+
workspaceDir: config.workspaceDir,
|
|
30
|
+
memoryDir: config.memoryDir,
|
|
31
|
+
config: config.nativeKnowledge,
|
|
32
|
+
recallNamespaces: resolveNamespaceCapabilities(config).namespaces ? recallNamespaces : void 0,
|
|
33
|
+
defaultNamespace: config.defaultNamespace,
|
|
34
|
+
abortSignal
|
|
35
|
+
}).catch((err) => {
|
|
36
|
+
if (isAbortError(err)) throw err;
|
|
37
|
+
return [];
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export {
|
|
42
|
+
readEntityIndexStateText,
|
|
43
|
+
readNativeChunks
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=chunk-AMW3IDCO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/entity-recall-reads.ts"],"sourcesContent":["import { readFile } from \"node:fs/promises\";\nimport { isAbortError, raceAbort } from \"./abort-error.js\";\nimport { resolveNamespaceCapabilities } from \"./capabilities.js\";\nimport { checkEntityRecallAbort } from \"./entity-recall-cancellation.js\";\nimport { collectNativeKnowledgeChunks, type NativeKnowledgeChunk } from \"./native-knowledge.js\";\nimport type { PluginConfig } from \"./types.js\";\n\nexport async function readEntityIndexStateText(file: string, abortSignal?: AbortSignal): Promise<string> {\n checkEntityRecallAbort(abortSignal);\n // Release this waiter when cancelled; the underlying shared filesystem read\n // may still settle later. Ordinary read failures keep the existing fallback.\n const raw = await raceAbort(readFile(file, \"utf-8\"), abortSignal, \"entity recall aborted\")\n .catch((err) => {\n if (isAbortError(err)) throw err;\n return \"\";\n });\n checkEntityRecallAbort(abortSignal);\n return raw;\n}\n\nexport async function readNativeChunks(\n config: PluginConfig,\n recallNamespaces?: string[],\n abortSignal?: AbortSignal,\n): Promise<NativeKnowledgeChunk[]> {\n if (!config.nativeKnowledge?.enabled) return [];\n return collectNativeKnowledgeChunks({\n workspaceDir: config.workspaceDir,\n memoryDir: config.memoryDir,\n config: config.nativeKnowledge,\n recallNamespaces: resolveNamespaceCapabilities(config).namespaces ? recallNamespaces : undefined,\n defaultNamespace: config.defaultNamespace,\n abortSignal,\n }).catch((err) => {\n // Cancellation is the caller giving up (issue #2291); degrade only genuine\n // read/sync failures, never a cancellation.\n if (isAbortError(err)) throw err;\n return [];\n });\n}\n"],"mappings":";;;;;;;;;;;;;;;AAAA,SAAS,gBAAgB;AAOzB,eAAsB,yBAAyB,MAAc,aAA4C;AACvG,yBAAuB,WAAW;AAGlC,QAAM,MAAM,MAAM,UAAU,SAAS,MAAM,OAAO,GAAG,aAAa,uBAAuB,EACtF,MAAM,CAAC,QAAQ;AACd,QAAI,aAAa,GAAG,EAAG,OAAM;AAC7B,WAAO;AAAA,EACT,CAAC;AACH,yBAAuB,WAAW;AAClC,SAAO;AACT;AAEA,eAAsB,iBACpB,QACA,kBACA,aACiC;AACjC,MAAI,CAAC,OAAO,iBAAiB,QAAS,QAAO,CAAC;AAC9C,SAAO,6BAA6B;AAAA,IAClC,cAAc,OAAO;AAAA,IACrB,WAAW,OAAO;AAAA,IAClB,QAAQ,OAAO;AAAA,IACf,kBAAkB,6BAA6B,MAAM,EAAE,aAAa,mBAAmB;AAAA,IACvF,kBAAkB,OAAO;AAAA,IACzB;AAAA,EACF,CAAC,EAAE,MAAM,CAAC,QAAQ;AAGhB,QAAI,aAAa,GAAG,EAAG,OAAM;AAC7B,WAAO,CAAC;AAAA,EACV,CAAC;AACH;","names":[]}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderAuthorityBoundContent
|
|
3
3
|
} from "./chunk-NVKO5YKP.js";
|
|
4
|
+
import {
|
|
5
|
+
readEntityIndexStateText,
|
|
6
|
+
readNativeChunks
|
|
7
|
+
} from "./chunk-AMW3IDCO.js";
|
|
4
8
|
import {
|
|
5
9
|
detectEntityQueryMode,
|
|
6
10
|
isStructuralEntityFollowUpQuery
|
|
@@ -31,12 +35,9 @@ import {
|
|
|
31
35
|
yieldEntityRecallScan,
|
|
32
36
|
yieldEntityRecallScanEvery
|
|
33
37
|
} from "./chunk-WJ6S54ES.js";
|
|
34
|
-
import {
|
|
35
|
-
collectNativeKnowledgeChunks
|
|
36
|
-
} from "./chunk-2DQ2XREU.js";
|
|
37
38
|
import {
|
|
38
39
|
compareEntityTimestamps
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-YAFMWQRL.js";
|
|
40
41
|
import {
|
|
41
42
|
normalizeEntityText,
|
|
42
43
|
resolveRequestedEntitySectionKeys
|
|
@@ -56,7 +57,6 @@ import {
|
|
|
56
57
|
|
|
57
58
|
// src/entity-retrieval.ts
|
|
58
59
|
import { createHash } from "crypto";
|
|
59
|
-
import { readFile } from "fs/promises";
|
|
60
60
|
import path from "path";
|
|
61
61
|
var ENTITY_INDEX_VERSION = 3;
|
|
62
62
|
var RECENT_TRANSCRIPT_LOOKBACK_HOURS = 24;
|
|
@@ -186,16 +186,6 @@ function buildAliasIndex(entries) {
|
|
|
186
186
|
}
|
|
187
187
|
return index;
|
|
188
188
|
}
|
|
189
|
-
async function readNativeChunks(config, recallNamespaces) {
|
|
190
|
-
if (!config.nativeKnowledge?.enabled) return [];
|
|
191
|
-
return collectNativeKnowledgeChunks({
|
|
192
|
-
workspaceDir: config.workspaceDir,
|
|
193
|
-
memoryDir: config.memoryDir,
|
|
194
|
-
config: config.nativeKnowledge,
|
|
195
|
-
recallNamespaces: resolveNamespaceCapabilities(config).namespaces ? recallNamespaces : void 0,
|
|
196
|
-
defaultNamespace: config.defaultNamespace
|
|
197
|
-
}).catch(() => []);
|
|
198
|
-
}
|
|
199
189
|
async function resolveEntityIndexStorages(storage, config, recallNamespaces, namespaceStorage) {
|
|
200
190
|
if (!resolveNamespaceCapabilities(config).namespaces || !namespaceStorage || !recallNamespaces || recallNamespaces.length === 0) {
|
|
201
191
|
return [storage];
|
|
@@ -218,8 +208,8 @@ async function resolveEntityIndexStorages(storage, config, recallNamespaces, nam
|
|
|
218
208
|
function entityIndexStatePath(storage) {
|
|
219
209
|
return path.join(storage.dir, "state", "entity-mention-index.json");
|
|
220
210
|
}
|
|
221
|
-
async function readEntityIndexState(storage) {
|
|
222
|
-
const raw = await
|
|
211
|
+
async function readEntityIndexState(storage, abortSignal) {
|
|
212
|
+
const raw = await readEntityIndexStateText(entityIndexStatePath(storage), abortSignal);
|
|
223
213
|
if (!raw) return null;
|
|
224
214
|
try {
|
|
225
215
|
const parsed = JSON.parse(raw);
|
|
@@ -229,11 +219,12 @@ async function readEntityIndexState(storage) {
|
|
|
229
219
|
return null;
|
|
230
220
|
}
|
|
231
221
|
}
|
|
232
|
-
async function readCurrentPersistedEntityIndex(storage, config, recallNamespaces, namespaceStorage) {
|
|
222
|
+
async function readCurrentPersistedEntityIndex(storage, config, recallNamespaces, namespaceStorage, abortSignal) {
|
|
233
223
|
if (resolveNamespaceCapabilities(config).namespaces && namespaceStorage && recallNamespaces && recallNamespaces.length > 0) {
|
|
234
224
|
return null;
|
|
235
225
|
}
|
|
236
|
-
const index = await readEntityIndexState(storage);
|
|
226
|
+
const index = await readEntityIndexState(storage, abortSignal);
|
|
227
|
+
checkEntityRecallAbort(abortSignal);
|
|
237
228
|
if (!entityMentionPersistedIndexReadable(storage.dir) || !index || index.entityStatusVersion !== storage.getMemoryStatusVersion()) {
|
|
238
229
|
return null;
|
|
239
230
|
}
|
|
@@ -327,10 +318,10 @@ async function buildEntityMentionIndex(storage, config, recallNamespaces, namesp
|
|
|
327
318
|
const persistGeneration = entityMentionCacheGeneration(storage.dir);
|
|
328
319
|
const entityStatusVersionBefore = shouldPersistIndex ? storage.getMemoryStatusVersion() : void 0;
|
|
329
320
|
const [previousIndex, entityFileSets, memorySets, nativeChunks] = await Promise.all([
|
|
330
|
-
shouldPersistIndex ? readEntityIndexState(storage) : Promise.resolve(null),
|
|
321
|
+
shouldPersistIndex ? readEntityIndexState(storage, abortSignal) : Promise.resolve(null),
|
|
331
322
|
Promise.all(storages.map((scopedStorage) => scopedStorage.readAllEntityFiles({ abortSignal }))),
|
|
332
323
|
carrySnippets ? Promise.resolve([]) : Promise.all(storages.map((scopedStorage) => scopedStorage.readAllMemories({ abortSignal }))),
|
|
333
|
-
nativeChunksOverride ? Promise.resolve(nativeChunksOverride) : readNativeChunks(config, recallNamespaces)
|
|
324
|
+
nativeChunksOverride ? Promise.resolve(nativeChunksOverride) : readNativeChunks(config, recallNamespaces, abortSignal)
|
|
334
325
|
]);
|
|
335
326
|
checkEntityRecallAbort(abortSignal);
|
|
336
327
|
const entityRecords = entityFileSets.flatMap(
|
|
@@ -764,19 +755,20 @@ async function buildEntityRecallSection(options) {
|
|
|
764
755
|
options.storage,
|
|
765
756
|
options.config,
|
|
766
757
|
options.recallNamespaces,
|
|
767
|
-
options.namespaceStorage
|
|
758
|
+
options.namespaceStorage,
|
|
759
|
+
options.abortSignal
|
|
768
760
|
);
|
|
769
761
|
checkEntityRecallAbort(options.abortSignal);
|
|
770
762
|
let nativeChunks;
|
|
771
763
|
if (!earlyMode && persistedIndex && resolveLanguageIndependentExplicitCandidates(persistedIndex, options.query).length === 0) {
|
|
772
|
-
nativeChunks = await readNativeChunks(options.config, options.recallNamespaces);
|
|
764
|
+
nativeChunks = await readNativeChunks(options.config, options.recallNamespaces, options.abortSignal);
|
|
773
765
|
if (!hasFreshNativeExplicitMention(persistedIndex, nativeChunks, options.query)) {
|
|
774
766
|
return entityRecallSectionAbsent(options.abortSignal);
|
|
775
767
|
}
|
|
776
768
|
}
|
|
777
769
|
const namespaceScoped = resolveNamespaceCapabilities(options.config).namespaces && options.namespaceStorage !== void 0 && (options.recallNamespaces?.length ?? 0) > 0;
|
|
778
770
|
if (namespaceScoped) {
|
|
779
|
-
nativeChunks = await readNativeChunks(options.config, options.recallNamespaces);
|
|
771
|
+
nativeChunks = await readNativeChunks(options.config, options.recallNamespaces, options.abortSignal);
|
|
780
772
|
}
|
|
781
773
|
const resolvedStorages = namespaceScoped ? await resolveEntityIndexStorages(
|
|
782
774
|
options.storage,
|
|
@@ -785,7 +777,7 @@ async function buildEntityRecallSection(options) {
|
|
|
785
777
|
options.namespaceStorage
|
|
786
778
|
) : void 0;
|
|
787
779
|
if (!nativeChunks) {
|
|
788
|
-
nativeChunks = await readNativeChunks(options.config, options.recallNamespaces);
|
|
780
|
+
nativeChunks = await readNativeChunks(options.config, options.recallNamespaces, options.abortSignal);
|
|
789
781
|
}
|
|
790
782
|
const indexStorages = resolvedStorages ?? [options.storage];
|
|
791
783
|
const index = await resolveEntityMentionIndex({
|
|
@@ -877,4 +869,4 @@ export {
|
|
|
877
869
|
entityIndexVersion,
|
|
878
870
|
entityRecentTranscriptLookbackHours
|
|
879
871
|
};
|
|
880
|
-
//# sourceMappingURL=chunk-
|
|
872
|
+
//# sourceMappingURL=chunk-AQ6GV5MU.js.map
|