@remnic/core 10.0.143 → 10.0.145
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 +177 -174
- package/dist/access-cli.js +177 -174
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush-preempt.js +177 -174
- package/dist/access-extraction-force-flush.js +177 -174
- package/dist/access-http-briefing.js +177 -174
- package/dist/access-http-query.js +177 -174
- package/dist/access-http.js +177 -174
- package/dist/access-identity-continuity-surface.js +177 -174
- package/dist/access-lcm-surface.js +177 -174
- package/dist/access-mcp.js +177 -174
- package/dist/access-observe-write-category.js +9 -9
- package/dist/access-observe-write-surface.d.ts.map +1 -1
- package/dist/access-observe-write-surface.js +177 -174
- package/dist/access-offline-manifest.js +6 -6
- package/dist/access-operations-batch.js +177 -174
- package/dist/access-operations.js +177 -174
- package/dist/access-recall-concurrency.js +177 -174
- package/dist/access-recall-diagnostics.js +2 -2
- package/dist/access-recall-response.js +177 -174
- package/dist/access-recall-surface.js +177 -174
- package/dist/access-schema.js +8 -8
- package/dist/access-service.js +177 -174
- package/dist/active-recall.js +30 -30
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/briefing.js +22 -22
- package/dist/buffer-add-turns-bounded.d.ts +27 -0
- package/dist/buffer-add-turns-bounded.d.ts.map +1 -0
- package/dist/buffer-add-turns-bounded.js +13 -0
- package/dist/buffer-admission-idempotency.d.ts +18 -0
- package/dist/buffer-admission-idempotency.d.ts.map +1 -0
- package/dist/buffer-admission-idempotency.js +18 -0
- package/dist/buffer-persistence.d.ts +4 -0
- package/dist/buffer-persistence.d.ts.map +1 -1
- package/dist/buffer-persistence.js +1 -1
- package/dist/buffer-turn-helpers.d.ts.map +1 -1
- package/dist/buffer-turn-helpers.js +1 -1
- package/dist/buffer-types.d.ts.map +1 -1
- package/dist/buffer.d.ts +11 -0
- package/dist/buffer.d.ts.map +1 -1
- package/dist/buffer.js +13 -8
- package/dist/calibration.js +3 -3
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-GWVG7LGC.js} +2 -2
- package/dist/capsule-crypto-GWVG7LGC.js.map +1 -0
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.js +25 -25
- 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-O5OFHBAP.js → chunk-2UOU6CZZ.js} +2 -2
- package/dist/{chunk-AZFQXYIJ.js → chunk-33VVVP57.js} +9 -2
- package/dist/{chunk-AZFQXYIJ.js.map → chunk-33VVVP57.js.map} +1 -1
- package/dist/{chunk-MX5VGD6C.js → chunk-3DJ6R4CC.js} +4 -4
- package/dist/chunk-3TKX7ZMV.js +27 -0
- package/dist/chunk-3TKX7ZMV.js.map +1 -0
- package/dist/{chunk-HXFIILGF.js → chunk-4RASUAN3.js} +4 -4
- package/dist/{chunk-MZCGHPIJ.js → chunk-4XINO77L.js} +2 -2
- package/dist/{chunk-AHUTHRTL.js → chunk-4Y4LPKFV.js} +6 -6
- package/dist/chunk-5EP2V675.js +60 -0
- package/dist/chunk-5EP2V675.js.map +1 -0
- package/dist/{chunk-2DXDHGLG.js → chunk-5JW2QIFH.js} +11 -11
- package/dist/{chunk-2642VLWP.js → chunk-5LL2X5SO.js} +2 -2
- package/dist/{chunk-YJUZ465J.js → chunk-63MKTHYT.js} +5 -5
- package/dist/{chunk-VKTZXJSR.js → chunk-64TIBZPZ.js} +2 -2
- package/dist/{chunk-4LF5E2LM.js → chunk-66DUCUOC.js} +4 -4
- package/dist/{chunk-LL7WIK2Z.js → chunk-6NPLVV6M.js} +2 -2
- package/dist/{chunk-GOZXQNIM.js → chunk-6P7U3HWG.js} +3 -3
- package/dist/{chunk-PKPW7MXT.js → chunk-7TDJZV2S.js} +2 -2
- package/dist/{chunk-TJE4LIVD.js → chunk-7TY5ZHFA.js} +2 -2
- package/dist/chunk-7ZFB4VZS.js +73 -0
- package/dist/chunk-7ZFB4VZS.js.map +1 -0
- package/dist/{chunk-B4I37XX6.js → chunk-ADBON4FI.js} +14 -14
- package/dist/{chunk-NFNH4ZPB.js → chunk-BKR2YCQ5.js} +2 -2
- package/dist/{chunk-KQAFEZQX.js → chunk-BUKK5SWA.js} +2 -2
- package/dist/{chunk-2JAT4S7N.js → chunk-CIEEYVUB.js} +2 -2
- package/dist/{chunk-CPWZGM4E.js → chunk-D3ZISMKY.js} +14 -14
- package/dist/{chunk-LYPBQHAX.js → chunk-DBNZYQCL.js} +2 -2
- package/dist/{chunk-MSVBNOFX.js → chunk-DCLOMXQL.js} +25 -22
- package/dist/chunk-DCLOMXQL.js.map +1 -0
- package/dist/{chunk-C7CP7OEG.js → chunk-DK3T3Q6A.js} +11 -11
- package/dist/{chunk-RJ5L6LRD.js → chunk-DLR3SBOM.js} +4 -4
- package/dist/{chunk-P3COXHWB.js → chunk-E7WMDXAW.js} +2 -2
- package/dist/{chunk-ZANNIXXE.js → chunk-ENPJX3BB.js} +3 -3
- package/dist/{chunk-DVC2OYLF.js → chunk-ETUMOYGL.js} +2 -2
- package/dist/{chunk-3DAWHP5K.js → chunk-F4ZHKDBW.js} +5 -5
- package/dist/{chunk-W236BAJR.js → chunk-FBV4QGXT.js} +2 -2
- package/dist/{chunk-GOT6G3C6.js → chunk-FZ6QUOTL.js} +2 -2
- package/dist/{chunk-OM2YWPFX.js → chunk-G2TK5YYU.js} +2 -2
- package/dist/{chunk-MBBRU5LJ.js → chunk-G3ZUQZGM.js} +2 -2
- package/dist/{chunk-IIVDGKMW.js → chunk-GA3Y7GZR.js} +2 -2
- package/dist/{chunk-AWKD2A73.js → chunk-GB442ZFG.js} +8 -8
- package/dist/{chunk-NIG54XKA.js → chunk-GDREJ32D.js} +3 -3
- package/dist/{chunk-VEFGHRKV.js → chunk-GKL6QYZO.js} +1 -1
- package/dist/{chunk-TD72RHHZ.js → chunk-GQDO6KHO.js} +2 -2
- package/dist/{chunk-HQV5GCMD.js → chunk-GTW6GPQU.js} +3 -3
- package/dist/{chunk-2M7F2I7I.js → chunk-HASIFVWH.js} +2 -2
- package/dist/{chunk-72QMGTDF.js → chunk-IBPE3Q5M.js} +2 -2
- package/dist/{chunk-YLTU2DC4.js → chunk-IHCXMYSE.js} +2 -2
- package/dist/{chunk-WWQMZBDI.js → chunk-IJVU4ILJ.js} +4 -4
- package/dist/{chunk-NKO4VZRO.js → chunk-JOQZRIL4.js} +2 -2
- package/dist/{chunk-PBE7NFB5.js → chunk-K3FH3LAQ.js} +7 -7
- package/dist/{chunk-HQJAQENN.js → chunk-KBMJWNSY.js} +2 -2
- package/dist/{chunk-GCQIXPWZ.js → chunk-KCU2ZWBS.js} +2 -2
- package/dist/{chunk-JVNGFQJN.js → chunk-KJ3Z7JHF.js} +1 -1
- package/dist/{chunk-JVNGFQJN.js.map → chunk-KJ3Z7JHF.js.map} +1 -1
- package/dist/{chunk-JKYAKDBP.js → chunk-KYZFW4LW.js} +2 -2
- package/dist/{chunk-L6CMR5OI.js → chunk-L2DACC2T.js} +2 -2
- package/dist/{chunk-SFHEIWIE.js → chunk-LMFINE37.js} +2 -2
- package/dist/{chunk-5XONJ5C4.js → chunk-LS5VJO5O.js} +2 -2
- package/dist/{chunk-CPYVH6LI.js → chunk-LYSE5FNF.js} +43 -48
- package/dist/chunk-LYSE5FNF.js.map +1 -0
- package/dist/{chunk-DC55RIEZ.js → chunk-M4IEZGCK.js} +4 -4
- package/dist/{chunk-7SUAHTGH.js → chunk-MEYPQLXV.js} +2 -2
- package/dist/{chunk-KETT3EZO.js → chunk-MONIOXEG.js} +2 -2
- package/dist/{chunk-5IGWEYNV.js → chunk-MVTMKFBW.js} +3 -3
- package/dist/{chunk-22M7NYJK.js → chunk-ODHFX5JX.js} +3 -3
- package/dist/{chunk-I3UBDUHO.js → chunk-OMPX3KLG.js} +2 -2
- package/dist/{chunk-2NLLXCJG.js → chunk-OWHERGF2.js} +2 -2
- package/dist/{chunk-YXPUQBHK.js → chunk-P4YYUDR5.js} +3 -3
- package/dist/{chunk-77SYM565.js → chunk-PDVEY4QS.js} +2 -2
- package/dist/{chunk-LE27GU4M.js → chunk-QCJ7Q5BM.js} +2 -2
- package/dist/{chunk-RVPISCKY.js → chunk-QFBBSKEU.js} +2 -2
- package/dist/{chunk-YCNSMVWG.js → chunk-SDGD6MYV.js} +64 -3
- package/dist/chunk-SDGD6MYV.js.map +1 -0
- package/dist/{chunk-CSZCLTIV.js → chunk-SEIFDQ6U.js} +6 -6
- package/dist/{chunk-ITT4SVVA.js → chunk-SV6OLWPF.js} +14 -14
- package/dist/{chunk-A7SU5ET7.js → chunk-T3M5KJRV.js} +2 -2
- package/dist/{chunk-QBNZLS3U.js → chunk-TFHL4WWY.js} +2 -2
- package/dist/{chunk-4Y26S76X.js → chunk-TRFSTCQK.js} +14 -2
- package/dist/chunk-TRFSTCQK.js.map +1 -0
- package/dist/{chunk-F3PTUQIK.js → chunk-U62EINFH.js} +3 -3
- package/dist/{chunk-OZNBZJ3S.js → chunk-UIFWZMO7.js} +23 -23
- package/dist/{chunk-X7Y7WX73.js → chunk-UVYI6VIX.js} +1 -1
- package/dist/{chunk-VNMJWFYR.js → chunk-UWP6PGWN.js} +2 -2
- package/dist/{chunk-2VS3DAXE.js → chunk-V3D2OOVE.js} +2 -2
- package/dist/{chunk-UH3FPX3L.js → chunk-W7K5BP3M.js} +2 -2
- package/dist/{chunk-TAUHAP5J.js → chunk-WN2DASTS.js} +5 -5
- package/dist/{chunk-TFA6HPOA.js → chunk-WQUGCOKF.js} +4 -4
- package/dist/{chunk-OOJMQV3L.js → chunk-X2FEUBKD.js} +2 -2
- package/dist/{chunk-XF2QQQXO.js → chunk-XIWRF7TG.js} +2 -2
- package/dist/{chunk-BFFKIME2.js → chunk-YGPRFYV6.js} +3 -3
- package/dist/{chunk-SU63UQPL.js → chunk-YIOP7IFD.js} +2 -2
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-ZNYOY2MM.js → chunk-Z2OKWO35.js} +381 -366
- package/dist/chunk-Z2OKWO35.js.map +1 -0
- package/dist/{chunk-FAPJG3OG.js → chunk-ZDZJNXL6.js} +4 -4
- package/dist/cli.js +177 -174
- package/dist/coding/export-okf-codegraph.js +21 -21
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/compounding/engine.js +23 -23
- package/dist/config.js +30 -30
- package/dist/connectors/codex-materialize-runner.js +22 -22
- package/dist/connectors/index.js +22 -22
- package/dist/convergence-refresh.js +24 -24
- package/dist/conversation-index/backend.js +2 -2
- package/dist/corpus-watermark.js +24 -24
- package/dist/dashboard-runtime.js +2 -2
- package/dist/deep-recall-http-glue.js +9 -9
- package/dist/deep-recall.js +2 -2
- package/dist/entity-retrieval.js +24 -24
- package/dist/event-order-recall.js +4 -4
- package/dist/explicit-capture.js +177 -174
- package/dist/extraction.js +30 -30
- package/dist/{graph-edge-decay-EKWXRBWF.js → graph-edge-decay-OEX5OGMI.js} +5 -5
- package/dist/graph-edge-decay-OEX5OGMI.js.map +1 -0
- package/dist/graph-jsonl.js +3 -3
- package/dist/graph-snapshot.js +3 -3
- package/dist/graph.js +2 -2
- package/dist/harmonic-retrieval.js +22 -22
- package/dist/index.js +247 -244
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.js +6 -6
- package/dist/lcm-summarize-budget.d.ts +13 -0
- package/dist/lcm-summarize-budget.d.ts.map +1 -0
- package/dist/lcm-summarize-budget.js +11 -0
- package/dist/lcm-summarize-budget.js.map +1 -0
- package/dist/local-llm.js +3 -3
- package/dist/location/index.js +23 -23
- package/dist/maintenance/memory-governance.js +22 -22
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +22 -22
- package/dist/maintenance/rebuild-memory-projection-runner.js +24 -24
- package/dist/maintenance/rebuild-memory-projection.js +23 -23
- package/dist/memory-browse.js +5 -5
- package/dist/namespaces/migrate.js +23 -23
- package/dist/namespaces/search.js +11 -11
- package/dist/namespaces/storage.js +22 -22
- package/dist/offline-sync-changeset-generations.js +4 -4
- package/dist/offline-sync-embedding-generation.js +3 -3
- package/dist/offline-sync-snapshot-stream.js +6 -6
- package/dist/offline-sync.js +8 -8
- package/dist/operator-doctor-corpus.js +25 -25
- package/dist/operator-toolkit.js +39 -39
- package/dist/orchestration/backlog-scheduler.js +178 -175
- package/dist/orchestration/backlog-scheduler.js.map +1 -1
- package/dist/orchestration/buffer-drain-runner.js +178 -175
- package/dist/orchestration/maintenance.js +33 -33
- package/dist/orchestration/turn-ingestion-buffered.d.ts +13 -0
- package/dist/orchestration/turn-ingestion-buffered.d.ts.map +1 -0
- package/dist/orchestration/turn-ingestion.d.ts +2 -2
- package/dist/orchestration/turn-ingestion.d.ts.map +1 -1
- package/dist/orchestrator.d.ts.map +1 -1
- package/dist/orchestrator.js +177 -174
- package/dist/qmd.js +4 -4
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-navigate-access.js +2 -2
- package/dist/recall-navigate-disclosure.js +2 -2
- package/dist/recall-navigate.js +2 -2
- package/dist/recall-navigation.js +177 -174
- package/dist/recall-state-view-admission.js +5 -5
- package/dist/recall-why-service.js +5 -5
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.js +2 -2
- package/dist/resume-bundles.js +31 -31
- package/dist/search/factory.js +10 -10
- package/dist/search/index.js +14 -14
- 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 +23 -23
- package/dist/semantic-rule-promotion.js +22 -22
- package/dist/semantic-rule-verifier.js +22 -22
- package/dist/source-agent-qualifier.js +25 -25
- package/dist/standup/build.js +22 -22
- package/dist/storage/buffer-drain-claims.js +2 -2
- package/dist/storage/buffer-session-files.d.ts +4 -0
- package/dist/storage/buffer-session-files.d.ts.map +1 -1
- package/dist/storage/buffer-session-files.js +2 -2
- package/dist/storage.d.ts +1 -0
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +22 -22
- package/dist/summarizer.js +4 -4
- package/dist/support-passport/index.js +4 -4
- 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 +23 -23
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/verified-recall.js +22 -22
- package/dist/who-knows-cli.js +23 -23
- package/dist/who-knows.js +22 -22
- package/package.json +2 -2
- package/src/access-observe-write-surface.ts +10 -0
- package/src/buffer-add-turns-bounded.ts +97 -0
- package/src/buffer-admission-idempotency.test.ts +297 -0
- package/src/buffer-admission-idempotency.ts +67 -0
- package/src/buffer-drain-handover.test.ts +1 -0
- package/src/buffer-persistence.ts +19 -1
- package/src/buffer-turn-helpers.ts +8 -1
- package/src/buffer-types.ts +1 -0
- package/src/buffer.ts +40 -43
- package/src/lcm-summarize-budget.test.ts +66 -0
- package/src/lcm-summarize-budget.ts +34 -0
- package/src/orchestration/turn-ingestion-buffered.ts +74 -0
- package/src/orchestration/turn-ingestion.ts +4 -78
- package/src/orchestrator.ts +8 -5
- package/src/storage/buffer-session-files.ts +71 -0
- package/src/storage.ts +1 -0
- package/src/types.ts +2 -0
- package/dist/chunk-4Y26S76X.js.map +0 -1
- package/dist/chunk-CPYVH6LI.js.map +0 -1
- package/dist/chunk-MSVBNOFX.js.map +0 -1
- package/dist/chunk-YCNSMVWG.js.map +0 -1
- package/dist/chunk-ZNYOY2MM.js.map +0 -1
- /package/dist/{capsule-crypto-7FJQINUR.js.map → buffer-add-turns-bounded.js.map} +0 -0
- /package/dist/{graph-edge-decay-EKWXRBWF.js.map → buffer-admission-idempotency.js.map} +0 -0
- /package/dist/{chunk-O5OFHBAP.js.map → chunk-2UOU6CZZ.js.map} +0 -0
- /package/dist/{chunk-MX5VGD6C.js.map → chunk-3DJ6R4CC.js.map} +0 -0
- /package/dist/{chunk-HXFIILGF.js.map → chunk-4RASUAN3.js.map} +0 -0
- /package/dist/{chunk-MZCGHPIJ.js.map → chunk-4XINO77L.js.map} +0 -0
- /package/dist/{chunk-AHUTHRTL.js.map → chunk-4Y4LPKFV.js.map} +0 -0
- /package/dist/{chunk-2DXDHGLG.js.map → chunk-5JW2QIFH.js.map} +0 -0
- /package/dist/{chunk-2642VLWP.js.map → chunk-5LL2X5SO.js.map} +0 -0
- /package/dist/{chunk-YJUZ465J.js.map → chunk-63MKTHYT.js.map} +0 -0
- /package/dist/{chunk-VKTZXJSR.js.map → chunk-64TIBZPZ.js.map} +0 -0
- /package/dist/{chunk-4LF5E2LM.js.map → chunk-66DUCUOC.js.map} +0 -0
- /package/dist/{chunk-LL7WIK2Z.js.map → chunk-6NPLVV6M.js.map} +0 -0
- /package/dist/{chunk-GOZXQNIM.js.map → chunk-6P7U3HWG.js.map} +0 -0
- /package/dist/{chunk-PKPW7MXT.js.map → chunk-7TDJZV2S.js.map} +0 -0
- /package/dist/{chunk-TJE4LIVD.js.map → chunk-7TY5ZHFA.js.map} +0 -0
- /package/dist/{chunk-B4I37XX6.js.map → chunk-ADBON4FI.js.map} +0 -0
- /package/dist/{chunk-NFNH4ZPB.js.map → chunk-BKR2YCQ5.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-BUKK5SWA.js.map} +0 -0
- /package/dist/{chunk-2JAT4S7N.js.map → chunk-CIEEYVUB.js.map} +0 -0
- /package/dist/{chunk-CPWZGM4E.js.map → chunk-D3ZISMKY.js.map} +0 -0
- /package/dist/{chunk-LYPBQHAX.js.map → chunk-DBNZYQCL.js.map} +0 -0
- /package/dist/{chunk-C7CP7OEG.js.map → chunk-DK3T3Q6A.js.map} +0 -0
- /package/dist/{chunk-RJ5L6LRD.js.map → chunk-DLR3SBOM.js.map} +0 -0
- /package/dist/{chunk-P3COXHWB.js.map → chunk-E7WMDXAW.js.map} +0 -0
- /package/dist/{chunk-ZANNIXXE.js.map → chunk-ENPJX3BB.js.map} +0 -0
- /package/dist/{chunk-DVC2OYLF.js.map → chunk-ETUMOYGL.js.map} +0 -0
- /package/dist/{chunk-3DAWHP5K.js.map → chunk-F4ZHKDBW.js.map} +0 -0
- /package/dist/{chunk-W236BAJR.js.map → chunk-FBV4QGXT.js.map} +0 -0
- /package/dist/{chunk-GOT6G3C6.js.map → chunk-FZ6QUOTL.js.map} +0 -0
- /package/dist/{chunk-OM2YWPFX.js.map → chunk-G2TK5YYU.js.map} +0 -0
- /package/dist/{chunk-MBBRU5LJ.js.map → chunk-G3ZUQZGM.js.map} +0 -0
- /package/dist/{chunk-IIVDGKMW.js.map → chunk-GA3Y7GZR.js.map} +0 -0
- /package/dist/{chunk-AWKD2A73.js.map → chunk-GB442ZFG.js.map} +0 -0
- /package/dist/{chunk-NIG54XKA.js.map → chunk-GDREJ32D.js.map} +0 -0
- /package/dist/{chunk-VEFGHRKV.js.map → chunk-GKL6QYZO.js.map} +0 -0
- /package/dist/{chunk-TD72RHHZ.js.map → chunk-GQDO6KHO.js.map} +0 -0
- /package/dist/{chunk-HQV5GCMD.js.map → chunk-GTW6GPQU.js.map} +0 -0
- /package/dist/{chunk-2M7F2I7I.js.map → chunk-HASIFVWH.js.map} +0 -0
- /package/dist/{chunk-72QMGTDF.js.map → chunk-IBPE3Q5M.js.map} +0 -0
- /package/dist/{chunk-YLTU2DC4.js.map → chunk-IHCXMYSE.js.map} +0 -0
- /package/dist/{chunk-WWQMZBDI.js.map → chunk-IJVU4ILJ.js.map} +0 -0
- /package/dist/{chunk-NKO4VZRO.js.map → chunk-JOQZRIL4.js.map} +0 -0
- /package/dist/{chunk-PBE7NFB5.js.map → chunk-K3FH3LAQ.js.map} +0 -0
- /package/dist/{chunk-HQJAQENN.js.map → chunk-KBMJWNSY.js.map} +0 -0
- /package/dist/{chunk-GCQIXPWZ.js.map → chunk-KCU2ZWBS.js.map} +0 -0
- /package/dist/{chunk-JKYAKDBP.js.map → chunk-KYZFW4LW.js.map} +0 -0
- /package/dist/{chunk-L6CMR5OI.js.map → chunk-L2DACC2T.js.map} +0 -0
- /package/dist/{chunk-SFHEIWIE.js.map → chunk-LMFINE37.js.map} +0 -0
- /package/dist/{chunk-5XONJ5C4.js.map → chunk-LS5VJO5O.js.map} +0 -0
- /package/dist/{chunk-DC55RIEZ.js.map → chunk-M4IEZGCK.js.map} +0 -0
- /package/dist/{chunk-7SUAHTGH.js.map → chunk-MEYPQLXV.js.map} +0 -0
- /package/dist/{chunk-KETT3EZO.js.map → chunk-MONIOXEG.js.map} +0 -0
- /package/dist/{chunk-5IGWEYNV.js.map → chunk-MVTMKFBW.js.map} +0 -0
- /package/dist/{chunk-22M7NYJK.js.map → chunk-ODHFX5JX.js.map} +0 -0
- /package/dist/{chunk-I3UBDUHO.js.map → chunk-OMPX3KLG.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-OWHERGF2.js.map} +0 -0
- /package/dist/{chunk-YXPUQBHK.js.map → chunk-P4YYUDR5.js.map} +0 -0
- /package/dist/{chunk-77SYM565.js.map → chunk-PDVEY4QS.js.map} +0 -0
- /package/dist/{chunk-LE27GU4M.js.map → chunk-QCJ7Q5BM.js.map} +0 -0
- /package/dist/{chunk-RVPISCKY.js.map → chunk-QFBBSKEU.js.map} +0 -0
- /package/dist/{chunk-CSZCLTIV.js.map → chunk-SEIFDQ6U.js.map} +0 -0
- /package/dist/{chunk-ITT4SVVA.js.map → chunk-SV6OLWPF.js.map} +0 -0
- /package/dist/{chunk-A7SU5ET7.js.map → chunk-T3M5KJRV.js.map} +0 -0
- /package/dist/{chunk-QBNZLS3U.js.map → chunk-TFHL4WWY.js.map} +0 -0
- /package/dist/{chunk-F3PTUQIK.js.map → chunk-U62EINFH.js.map} +0 -0
- /package/dist/{chunk-OZNBZJ3S.js.map → chunk-UIFWZMO7.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-UVYI6VIX.js.map} +0 -0
- /package/dist/{chunk-VNMJWFYR.js.map → chunk-UWP6PGWN.js.map} +0 -0
- /package/dist/{chunk-2VS3DAXE.js.map → chunk-V3D2OOVE.js.map} +0 -0
- /package/dist/{chunk-UH3FPX3L.js.map → chunk-W7K5BP3M.js.map} +0 -0
- /package/dist/{chunk-TAUHAP5J.js.map → chunk-WN2DASTS.js.map} +0 -0
- /package/dist/{chunk-TFA6HPOA.js.map → chunk-WQUGCOKF.js.map} +0 -0
- /package/dist/{chunk-OOJMQV3L.js.map → chunk-X2FEUBKD.js.map} +0 -0
- /package/dist/{chunk-XF2QQQXO.js.map → chunk-XIWRF7TG.js.map} +0 -0
- /package/dist/{chunk-BFFKIME2.js.map → chunk-YGPRFYV6.js.map} +0 -0
- /package/dist/{chunk-SU63UQPL.js.map → chunk-YIOP7IFD.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-FAPJG3OG.js.map → chunk-ZDZJNXL6.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runGraphEdgeDecayMaintenanceAcrossNamespaces
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6P7U3HWG.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeDreamsStatusWindowHours,
|
|
6
6
|
recordDreamsPhaseRun
|
|
@@ -25,6 +25,12 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
openclawReplayNormalizer
|
|
27
27
|
} from "./chunk-H4CKS5B2.js";
|
|
28
|
+
import {
|
|
29
|
+
importMarkdownBundle
|
|
30
|
+
} from "./chunk-HDDRVXX4.js";
|
|
31
|
+
import {
|
|
32
|
+
importSqlite
|
|
33
|
+
} from "./chunk-PYHOAXTI.js";
|
|
28
34
|
import {
|
|
29
35
|
exportWorkBoardMarkdown,
|
|
30
36
|
exportWorkBoardSnapshot,
|
|
@@ -33,22 +39,24 @@ import {
|
|
|
33
39
|
import {
|
|
34
40
|
WorkStorage
|
|
35
41
|
} from "./chunk-MPC7TYTZ.js";
|
|
42
|
+
import {
|
|
43
|
+
importCapsule
|
|
44
|
+
} from "./chunk-KCU2ZWBS.js";
|
|
36
45
|
import {
|
|
37
46
|
exportJsonBundle
|
|
38
47
|
} from "./chunk-UP6MOYCB.js";
|
|
39
48
|
import {
|
|
40
49
|
exportOkfBundle,
|
|
41
50
|
parseIncludeStatus
|
|
42
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-63MKTHYT.js";
|
|
43
52
|
import {
|
|
44
53
|
exportSqlite
|
|
45
54
|
} from "./chunk-BV2TIZ4F.js";
|
|
46
55
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./chunk-PYHOAXTI.js";
|
|
56
|
+
SupportPassportAccessSurface,
|
|
57
|
+
createSupportPassportModelAdapter,
|
|
58
|
+
supportsSupportPassportPrivateFiles
|
|
59
|
+
} from "./chunk-PDVEY4QS.js";
|
|
52
60
|
import {
|
|
53
61
|
detectImportFormat
|
|
54
62
|
} from "./chunk-OZKVVUJB.js";
|
|
@@ -57,13 +65,10 @@ import {
|
|
|
57
65
|
} from "./chunk-2DL3OFLD.js";
|
|
58
66
|
import {
|
|
59
67
|
backupMemoryDir
|
|
60
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-OWHERGF2.js";
|
|
61
69
|
import {
|
|
62
70
|
exportMarkdownBundle
|
|
63
71
|
} from "./chunk-765K3SAT.js";
|
|
64
|
-
import {
|
|
65
|
-
importCapsule
|
|
66
|
-
} from "./chunk-GCQIXPWZ.js";
|
|
67
72
|
import {
|
|
68
73
|
isSharedContextWriteInputError,
|
|
69
74
|
parseSharedWriteOutputControls
|
|
@@ -71,52 +76,47 @@ import {
|
|
|
71
76
|
import {
|
|
72
77
|
buildStandup,
|
|
73
78
|
parseStandupDate
|
|
74
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-G3ZUQZGM.js";
|
|
75
80
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
81
|
+
buildReplayNormalizerRegistry,
|
|
82
|
+
clampBatchSize,
|
|
83
|
+
runReplay
|
|
84
|
+
} from "./chunk-FGDKJJZS.js";
|
|
85
|
+
import {
|
|
86
|
+
isReplaySource,
|
|
87
|
+
normalizeReplaySessionKey
|
|
88
|
+
} from "./chunk-AJVLDJU6.js";
|
|
80
89
|
import {
|
|
81
90
|
RoutingRulesStore
|
|
82
91
|
} from "./chunk-TBUEE7XF.js";
|
|
92
|
+
import {
|
|
93
|
+
TailscaleHelper
|
|
94
|
+
} from "./chunk-SZDLX763.js";
|
|
95
|
+
import {
|
|
96
|
+
WebDavServer
|
|
97
|
+
} from "./chunk-PYIFUBRK.js";
|
|
83
98
|
import {
|
|
84
99
|
CompressionGuidelineCoordinator
|
|
85
100
|
} from "./chunk-5PHOU5QI.js";
|
|
86
101
|
import {
|
|
87
102
|
ActivityStore,
|
|
88
103
|
MaintenanceScheduler
|
|
89
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-SV6OLWPF.js";
|
|
90
105
|
import {
|
|
91
106
|
runPeerProfileReasoner
|
|
92
107
|
} from "./chunk-I74SUMNI.js";
|
|
93
108
|
import {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
runReplay
|
|
97
|
-
} from "./chunk-FGDKJJZS.js";
|
|
98
|
-
import {
|
|
99
|
-
isReplaySource,
|
|
100
|
-
normalizeReplaySessionKey
|
|
101
|
-
} from "./chunk-AJVLDJU6.js";
|
|
109
|
+
rebuildObservations
|
|
110
|
+
} from "./chunk-WHCD4Z3D.js";
|
|
102
111
|
import {
|
|
103
112
|
migrateFromEngram
|
|
104
113
|
} from "./chunk-VZAKYDMJ.js";
|
|
105
|
-
import {
|
|
106
|
-
TailscaleHelper
|
|
107
|
-
} from "./chunk-SZDLX763.js";
|
|
108
|
-
import {
|
|
109
|
-
WebDavServer
|
|
110
|
-
} from "./chunk-PYIFUBRK.js";
|
|
111
114
|
import {
|
|
112
115
|
migrateObservations
|
|
113
116
|
} from "./chunk-EDR6CVWZ.js";
|
|
114
117
|
import {
|
|
115
118
|
rebuildMemoryLifecycleLedger
|
|
116
|
-
} from "./chunk-
|
|
117
|
-
import {
|
|
118
|
-
rebuildObservations
|
|
119
|
-
} from "./chunk-WHCD4Z3D.js";
|
|
119
|
+
} from "./chunk-FZ6QUOTL.js";
|
|
120
120
|
import {
|
|
121
121
|
backfillMemoryStorage,
|
|
122
122
|
runLocationBackfill,
|
|
@@ -124,13 +124,13 @@ import {
|
|
|
124
124
|
runLocationDay,
|
|
125
125
|
runLocationStatus,
|
|
126
126
|
runLocationSync
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-GDREJ32D.js";
|
|
128
128
|
import {
|
|
129
129
|
archiveObservations
|
|
130
130
|
} from "./chunk-7IGMKQWK.js";
|
|
131
131
|
import {
|
|
132
132
|
LcmEngine
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-K3FH3LAQ.js";
|
|
134
134
|
import {
|
|
135
135
|
executeResolution,
|
|
136
136
|
isValidResolutionVerb,
|
|
@@ -142,14 +142,20 @@ import {
|
|
|
142
142
|
import {
|
|
143
143
|
cleanupConversationChunks
|
|
144
144
|
} from "./chunk-C5JF6EZ7.js";
|
|
145
|
+
import {
|
|
146
|
+
runCompatChecks
|
|
147
|
+
} from "./chunk-2524MOWK.js";
|
|
145
148
|
import {
|
|
146
149
|
CompoundingEngine,
|
|
147
150
|
defaultTierMigrationCycleBudget
|
|
148
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-U62EINFH.js";
|
|
149
152
|
import {
|
|
150
153
|
SharedContextManager,
|
|
151
154
|
UNATTRIBUTED_ACCESS_WRITE_ORIGIN
|
|
152
155
|
} from "./chunk-JVBAPAWZ.js";
|
|
156
|
+
import {
|
|
157
|
+
AdapterRegistry
|
|
158
|
+
} from "./chunk-IJVU4ILJ.js";
|
|
153
159
|
import {
|
|
154
160
|
getBulkImportSource,
|
|
155
161
|
listBulkImportSources,
|
|
@@ -181,18 +187,28 @@ import {
|
|
|
181
187
|
isCodingGraphInstalled
|
|
182
188
|
} from "./chunk-VQ7B2Q6M.js";
|
|
183
189
|
import {
|
|
184
|
-
|
|
185
|
-
} from "./chunk-
|
|
190
|
+
WriteQuarantineStore
|
|
191
|
+
} from "./chunk-BANSBRNX.js";
|
|
186
192
|
import {
|
|
187
193
|
WriteRateLimiter
|
|
188
194
|
} from "./chunk-TB6CBZ5V.js";
|
|
189
195
|
import {
|
|
190
|
-
|
|
191
|
-
|
|
196
|
+
applyUtilityPromotionRuntimePolicy,
|
|
197
|
+
applyUtilityRankingRuntimeDelta,
|
|
198
|
+
loadUtilityRuntimeValues
|
|
199
|
+
} from "./chunk-3Q3XD3NO.js";
|
|
200
|
+
import {
|
|
201
|
+
getUtilityLearningStatus,
|
|
202
|
+
learnUtilityPromotionWeights
|
|
203
|
+
} from "./chunk-WLT6LTQP.js";
|
|
204
|
+
import {
|
|
205
|
+
getUtilityTelemetryStatus,
|
|
206
|
+
recordUtilityTelemetryEvent
|
|
207
|
+
} from "./chunk-EOU6V4IN.js";
|
|
192
208
|
import {
|
|
193
209
|
compareVerifiedEpisodeResults,
|
|
194
210
|
searchVerifiedEpisodes
|
|
195
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-GQDO6KHO.js";
|
|
196
212
|
import {
|
|
197
213
|
WHO_KNOWS_DEFAULT_LIMIT,
|
|
198
214
|
WHO_KNOWS_MCP_TOOLS,
|
|
@@ -200,10 +216,17 @@ import {
|
|
|
200
216
|
handleWhoKnowsHttpQuery,
|
|
201
217
|
loadWhoKnowsEntities,
|
|
202
218
|
validateWhoKnowsInput
|
|
203
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-E7WMDXAW.js";
|
|
204
220
|
import {
|
|
205
|
-
|
|
206
|
-
|
|
221
|
+
applyTrustScoreStage,
|
|
222
|
+
buildTrustSignalsForRerank,
|
|
223
|
+
projectTrustForXray,
|
|
224
|
+
trustResultFor,
|
|
225
|
+
trustResultKey
|
|
226
|
+
} from "./chunk-GNVZQ5JN.js";
|
|
227
|
+
import {
|
|
228
|
+
renderEpistemicHedge
|
|
229
|
+
} from "./chunk-YN2UN7N3.js";
|
|
207
230
|
import {
|
|
208
231
|
getTrustZoneStoreStatus,
|
|
209
232
|
isTrustZoneName,
|
|
@@ -218,31 +241,14 @@ import {
|
|
|
218
241
|
cleanArchivedUserMessage
|
|
219
242
|
} from "./chunk-47DU4SGJ.js";
|
|
220
243
|
import {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
loadUtilityRuntimeValues
|
|
224
|
-
} from "./chunk-3Q3XD3NO.js";
|
|
225
|
-
import {
|
|
226
|
-
getUtilityLearningStatus,
|
|
227
|
-
learnUtilityPromotionWeights
|
|
228
|
-
} from "./chunk-WLT6LTQP.js";
|
|
229
|
-
import {
|
|
230
|
-
getUtilityTelemetryStatus,
|
|
231
|
-
recordUtilityTelemetryEvent
|
|
232
|
-
} from "./chunk-EOU6V4IN.js";
|
|
244
|
+
TmtBuilder
|
|
245
|
+
} from "./chunk-ECZU5BJH.js";
|
|
233
246
|
import {
|
|
234
247
|
extractTopics
|
|
235
248
|
} from "./chunk-KVDUKH5E.js";
|
|
236
249
|
import {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
projectTrustForXray,
|
|
240
|
-
trustResultFor,
|
|
241
|
-
trustResultKey
|
|
242
|
-
} from "./chunk-GNVZQ5JN.js";
|
|
243
|
-
import {
|
|
244
|
-
renderEpistemicHedge
|
|
245
|
-
} from "./chunk-YN2UN7N3.js";
|
|
250
|
+
buildTemporalTimelineRecallSection
|
|
251
|
+
} from "./chunk-VHF73MGU.js";
|
|
246
252
|
import {
|
|
247
253
|
CODEX_THREAD_KEY_PREFIX
|
|
248
254
|
} from "./chunk-4EX5WZ4M.js";
|
|
@@ -256,49 +262,32 @@ import {
|
|
|
256
262
|
decideTierTransition
|
|
257
263
|
} from "./chunk-OBPOIZNR.js";
|
|
258
264
|
import {
|
|
259
|
-
|
|
260
|
-
|
|
265
|
+
HourlySummarizer,
|
|
266
|
+
summarizeHourlyStatus
|
|
267
|
+
} from "./chunk-XIWRF7TG.js";
|
|
261
268
|
import {
|
|
262
269
|
buildTargetedFactRecallSection,
|
|
263
270
|
shouldRecallTargetedFactEvidence
|
|
264
271
|
} from "./chunk-77NTFICT.js";
|
|
265
|
-
import {
|
|
266
|
-
buildTemporalTimelineRecallSection
|
|
267
|
-
} from "./chunk-VHF73MGU.js";
|
|
268
|
-
import {
|
|
269
|
-
HourlySummarizer,
|
|
270
|
-
summarizeHourlyStatus
|
|
271
|
-
} from "./chunk-XF2QQQXO.js";
|
|
272
|
-
import {
|
|
273
|
-
migrateSessionTranscripts,
|
|
274
|
-
planSessionTranscriptMigration
|
|
275
|
-
} from "./chunk-WWDO7ZWM.js";
|
|
276
272
|
import {
|
|
277
273
|
memoriesToStandingEntries,
|
|
278
274
|
prefixStandingMemoryBlock,
|
|
279
275
|
renderStandingMemoryBlock
|
|
280
276
|
} from "./chunk-LJLGH2DE.js";
|
|
281
|
-
import {
|
|
282
|
-
promoteSemanticRuleFromMemory
|
|
283
|
-
} from "./chunk-HQJAQENN.js";
|
|
284
|
-
import {
|
|
285
|
-
compareVerifiedSemanticRuleResults,
|
|
286
|
-
searchVerifiedSemanticRules
|
|
287
|
-
} from "./chunk-RVPISCKY.js";
|
|
288
277
|
import {
|
|
289
278
|
SessionObserverState
|
|
290
279
|
} from "./chunk-ODZKV2F7.js";
|
|
291
280
|
import {
|
|
292
|
-
|
|
293
|
-
|
|
281
|
+
migrateSessionTranscripts,
|
|
282
|
+
planSessionTranscriptMigration
|
|
283
|
+
} from "./chunk-WWDO7ZWM.js";
|
|
294
284
|
import {
|
|
295
|
-
|
|
296
|
-
} from "./chunk-
|
|
285
|
+
promoteSemanticRuleFromMemory
|
|
286
|
+
} from "./chunk-KBMJWNSY.js";
|
|
297
287
|
import {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
} from "./chunk-WBOJMAAV.js";
|
|
288
|
+
compareVerifiedSemanticRuleResults,
|
|
289
|
+
searchVerifiedSemanticRules
|
|
290
|
+
} from "./chunk-QFBBSKEU.js";
|
|
302
291
|
import {
|
|
303
292
|
buildResponseGuidanceRecallSection,
|
|
304
293
|
shouldRecallResponseGuidance
|
|
@@ -307,7 +296,7 @@ import {
|
|
|
307
296
|
buildResumeBundleFromState,
|
|
308
297
|
getResumeBundleStatus,
|
|
309
298
|
recordResumeBundle
|
|
310
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-QCJ7Q5BM.js";
|
|
311
300
|
import {
|
|
312
301
|
getWorkProductLedgerStatus,
|
|
313
302
|
recordWorkProductLedgerEntry,
|
|
@@ -339,14 +328,28 @@ import {
|
|
|
339
328
|
resolvePromptTagPrefilterAsync
|
|
340
329
|
} from "./chunk-ZOKZIR5K.js";
|
|
341
330
|
import {
|
|
342
|
-
|
|
343
|
-
} from "./chunk-
|
|
331
|
+
applyRuntimeRetrievalPolicy
|
|
332
|
+
} from "./chunk-5IZL4DCV.js";
|
|
344
333
|
import {
|
|
345
|
-
|
|
346
|
-
} from "./chunk-
|
|
334
|
+
composeSalvagedEnvelope
|
|
335
|
+
} from "./chunk-5CO5G4MN.js";
|
|
347
336
|
import {
|
|
348
337
|
RelevanceStore
|
|
349
338
|
} from "./chunk-X7J56GPG.js";
|
|
339
|
+
import {
|
|
340
|
+
RerankCache,
|
|
341
|
+
reorderByRankedKeys,
|
|
342
|
+
rerankLocalOrNoop
|
|
343
|
+
} from "./chunk-WBOJMAAV.js";
|
|
344
|
+
import {
|
|
345
|
+
runRecallWhy
|
|
346
|
+
} from "./chunk-JOQZRIL4.js";
|
|
347
|
+
import {
|
|
348
|
+
parseXrayCliOptions
|
|
349
|
+
} from "./chunk-MVTMKFBW.js";
|
|
350
|
+
import {
|
|
351
|
+
findUnresolvedEntityRefs
|
|
352
|
+
} from "./chunk-X7XN6YU4.js";
|
|
350
353
|
import {
|
|
351
354
|
LastRecallStore,
|
|
352
355
|
RecallHandleHistoryStore,
|
|
@@ -360,13 +363,10 @@ import {
|
|
|
360
363
|
lastRecallTimingsFor,
|
|
361
364
|
recordRecallTiming
|
|
362
365
|
} from "./chunk-G4NKURT4.js";
|
|
363
|
-
import {
|
|
364
|
-
runRecallWhy
|
|
365
|
-
} from "./chunk-NKO4VZRO.js";
|
|
366
366
|
import {
|
|
367
367
|
indexStateViewAnnotatedResults,
|
|
368
368
|
resolveRecallStateViewActive
|
|
369
|
-
} from "./chunk-
|
|
369
|
+
} from "./chunk-G2TK5YYU.js";
|
|
370
370
|
import {
|
|
371
371
|
applyRecallStateViews
|
|
372
372
|
} from "./chunk-DBB5JPSL.js";
|
|
@@ -375,31 +375,34 @@ import {
|
|
|
375
375
|
filterRecentScanMemories,
|
|
376
376
|
stateViewPacketActive
|
|
377
377
|
} from "./chunk-G2DF5MI7.js";
|
|
378
|
+
import {
|
|
379
|
+
maybeRespondRecallNavigation
|
|
380
|
+
} from "./chunk-WXDTOE6F.js";
|
|
378
381
|
import {
|
|
379
382
|
RECALL_NAVIGATION_MCP_TOOLS
|
|
380
383
|
} from "./chunk-TE6S7KDF.js";
|
|
381
384
|
import {
|
|
382
385
|
renderNavigationResult
|
|
383
386
|
} from "./chunk-KIW3OOZE.js";
|
|
387
|
+
import {
|
|
388
|
+
planDisclosureStep
|
|
389
|
+
} from "./chunk-6NPLVV6M.js";
|
|
384
390
|
import {
|
|
385
391
|
DEFAULT_TRAVERSE_LIMIT,
|
|
386
392
|
selectTraverseNeighbors
|
|
387
393
|
} from "./chunk-YE4JBZO5.js";
|
|
394
|
+
import {
|
|
395
|
+
parseNavigateLinkType
|
|
396
|
+
} from "./chunk-7O5EW7KX.js";
|
|
388
397
|
import {
|
|
389
398
|
assertIdInNavigationWindow
|
|
390
399
|
} from "./chunk-5KVT6G5U.js";
|
|
391
400
|
import {
|
|
392
|
-
|
|
393
|
-
} from "./chunk-
|
|
401
|
+
reorderRecallResultsWithMmr
|
|
402
|
+
} from "./chunk-IIK2PD3F.js";
|
|
394
403
|
import {
|
|
395
404
|
takeNavigateBudget
|
|
396
405
|
} from "./chunk-VYDGHJIN.js";
|
|
397
|
-
import {
|
|
398
|
-
planDisclosureStep
|
|
399
|
-
} from "./chunk-LL7WIK2Z.js";
|
|
400
|
-
import {
|
|
401
|
-
parseNavigateLinkType
|
|
402
|
-
} from "./chunk-7O5EW7KX.js";
|
|
403
406
|
import {
|
|
404
407
|
decideDisclosureEscalation
|
|
405
408
|
} from "./chunk-H7XKCNR6.js";
|
|
@@ -408,18 +411,12 @@ import {
|
|
|
408
411
|
renderRecallExplain,
|
|
409
412
|
renderXray,
|
|
410
413
|
toRecallExplainJson
|
|
411
|
-
} from "./chunk-
|
|
414
|
+
} from "./chunk-OMPX3KLG.js";
|
|
412
415
|
import {
|
|
413
416
|
buildXraySnapshot,
|
|
414
417
|
estimateRecallTokens,
|
|
415
418
|
summarizeDisclosureTokens
|
|
416
|
-
} from "./chunk-
|
|
417
|
-
import {
|
|
418
|
-
reorderRecallResultsWithMmr
|
|
419
|
-
} from "./chunk-IIK2PD3F.js";
|
|
420
|
-
import {
|
|
421
|
-
applyReasoningTraceBoost
|
|
422
|
-
} from "./chunk-EVWDNKQA.js";
|
|
419
|
+
} from "./chunk-7TDJZV2S.js";
|
|
423
420
|
import {
|
|
424
421
|
compactRecallContextFromBuckets,
|
|
425
422
|
decideRecallContextComposition,
|
|
@@ -427,25 +424,16 @@ import {
|
|
|
427
424
|
recallFailureComposition
|
|
428
425
|
} from "./chunk-KAGLV5KH.js";
|
|
429
426
|
import {
|
|
430
|
-
|
|
431
|
-
} from "./chunk-
|
|
432
|
-
import {
|
|
433
|
-
collectPatternMemories,
|
|
434
|
-
explainPatternMemory,
|
|
435
|
-
parsePatternsExplainOptions,
|
|
436
|
-
parsePatternsListOptions,
|
|
437
|
-
parseStrictCliDate,
|
|
438
|
-
renderPatternExplain,
|
|
439
|
-
renderPatternsList
|
|
440
|
-
} from "./chunk-3T74IZB3.js";
|
|
427
|
+
applyReasoningTraceBoost
|
|
428
|
+
} from "./chunk-EVWDNKQA.js";
|
|
441
429
|
import {
|
|
442
430
|
PolicyRuntimeManager,
|
|
443
431
|
readRuntimePolicySnapshot,
|
|
444
432
|
sanitizeRuntimePolicyValues
|
|
445
433
|
} from "./chunk-2LA3H54D.js";
|
|
446
434
|
import {
|
|
447
|
-
|
|
448
|
-
} from "./chunk-
|
|
435
|
+
installPrioritizedEmbedding
|
|
436
|
+
} from "./chunk-ROI7BK7H.js";
|
|
449
437
|
import {
|
|
450
438
|
formatNamespaceMaintenanceHealthText,
|
|
451
439
|
readAggregateExtractionWatermark,
|
|
@@ -457,23 +445,32 @@ import {
|
|
|
457
445
|
runOperatorRepair,
|
|
458
446
|
runOperatorSetup,
|
|
459
447
|
summarizeNamespaceMaintenanceHealth
|
|
460
|
-
} from "./chunk-
|
|
448
|
+
} from "./chunk-D3ZISMKY.js";
|
|
461
449
|
import {
|
|
462
450
|
NamespaceCatalog,
|
|
463
451
|
isNamespaceKind,
|
|
464
452
|
planNamespaceMaintenance
|
|
465
|
-
} from "./chunk-
|
|
453
|
+
} from "./chunk-MEYPQLXV.js";
|
|
466
454
|
import {
|
|
467
455
|
analyzeSessionIntegrity,
|
|
468
456
|
applySessionRepair,
|
|
469
457
|
planSessionRepair
|
|
470
458
|
} from "./chunk-KFY3SGN7.js";
|
|
459
|
+
import {
|
|
460
|
+
collectPatternMemories,
|
|
461
|
+
explainPatternMemory,
|
|
462
|
+
parsePatternsExplainOptions,
|
|
463
|
+
parsePatternsListOptions,
|
|
464
|
+
parseStrictCliDate,
|
|
465
|
+
renderPatternExplain,
|
|
466
|
+
renderPatternsList
|
|
467
|
+
} from "./chunk-3T74IZB3.js";
|
|
468
|
+
import {
|
|
469
|
+
buildEmbeddingAwareSnapshotStream
|
|
470
|
+
} from "./chunk-ENPJX3BB.js";
|
|
471
471
|
import {
|
|
472
472
|
ReplicaDivergenceMonitor
|
|
473
473
|
} from "./chunk-7IWRLYFJ.js";
|
|
474
|
-
import {
|
|
475
|
-
recordMemoryOutcome
|
|
476
|
-
} from "./chunk-UD7UNYRD.js";
|
|
477
474
|
import {
|
|
478
475
|
NegativeExampleStore
|
|
479
476
|
} from "./chunk-23L3IXFD.js";
|
|
@@ -481,9 +478,22 @@ import {
|
|
|
481
478
|
applyMemoryWorthFilter,
|
|
482
479
|
buildMemoryWorthCounterMap
|
|
483
480
|
} from "./chunk-3GPTTA4J.js";
|
|
481
|
+
import {
|
|
482
|
+
recordMemoryOutcome
|
|
483
|
+
} from "./chunk-UD7UNYRD.js";
|
|
484
|
+
import {
|
|
485
|
+
applyRecencyBoost,
|
|
486
|
+
collectMtimeFallbackContext
|
|
487
|
+
} from "./chunk-M4DB6ZNN.js";
|
|
488
|
+
import {
|
|
489
|
+
maybeRespondMemoryBrowse
|
|
490
|
+
} from "./chunk-UYHDMCY2.js";
|
|
491
|
+
import {
|
|
492
|
+
MEMORY_BROWSE_MCP_TOOLS
|
|
493
|
+
} from "./chunk-EIB4FJVR.js";
|
|
484
494
|
import {
|
|
485
495
|
runMemoryBrowse
|
|
486
|
-
} from "./chunk-
|
|
496
|
+
} from "./chunk-HASIFVWH.js";
|
|
487
497
|
import {
|
|
488
498
|
filterRecallCandidates,
|
|
489
499
|
isGenericRecallExcludedPath,
|
|
@@ -491,7 +501,7 @@ import {
|
|
|
491
501
|
isTopLevelArchivePath,
|
|
492
502
|
journalPath,
|
|
493
503
|
writeJournalFile
|
|
494
|
-
} from "./chunk-
|
|
504
|
+
} from "./chunk-5LL2X5SO.js";
|
|
495
505
|
import {
|
|
496
506
|
REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE,
|
|
497
507
|
REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL,
|
|
@@ -504,15 +514,8 @@ import {
|
|
|
504
514
|
MCP_READ_ONLY_TOOL_SUFFIXES
|
|
505
515
|
} from "./chunk-MZUQVWVC.js";
|
|
506
516
|
import {
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
} from "./chunk-M4DB6ZNN.js";
|
|
510
|
-
import {
|
|
511
|
-
maybeRespondMemoryBrowse
|
|
512
|
-
} from "./chunk-UYHDMCY2.js";
|
|
513
|
-
import {
|
|
514
|
-
MEMORY_BROWSE_MCP_TOOLS
|
|
515
|
-
} from "./chunk-EIB4FJVR.js";
|
|
517
|
+
scaleLcmSummarizeBudget
|
|
518
|
+
} from "./chunk-3TKX7ZMV.js";
|
|
516
519
|
import {
|
|
517
520
|
GITHUB_CONNECTOR_ID,
|
|
518
521
|
GMAIL_CONNECTOR_ID,
|
|
@@ -531,23 +534,30 @@ import {
|
|
|
531
534
|
import {
|
|
532
535
|
listConnectorStates
|
|
533
536
|
} from "./chunk-MDPT6QFK.js";
|
|
537
|
+
import {
|
|
538
|
+
isAboveImportanceThreshold,
|
|
539
|
+
rescoreMemoryImportance,
|
|
540
|
+
scoreImportance
|
|
541
|
+
} from "./chunk-UOBPK2OS.js";
|
|
534
542
|
import {
|
|
535
543
|
coerceIncludedMemories
|
|
536
544
|
} from "./chunk-2YA5N2BY.js";
|
|
537
545
|
import {
|
|
538
546
|
serializeInlineScriptValue
|
|
539
547
|
} from "./chunk-3HSRWJTC.js";
|
|
548
|
+
import {
|
|
549
|
+
readProjectedHarmonicGraph,
|
|
550
|
+
searchHarmonicRetrieval
|
|
551
|
+
} from "./chunk-X2FEUBKD.js";
|
|
540
552
|
import {
|
|
541
553
|
classifyMemoryKind
|
|
542
554
|
} from "./chunk-YAZNBMNF.js";
|
|
543
555
|
import {
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
scoreImportance
|
|
547
|
-
} from "./chunk-UOBPK2OS.js";
|
|
556
|
+
scoreEvidencePathDetail
|
|
557
|
+
} from "./chunk-XXSOVESA.js";
|
|
548
558
|
import {
|
|
549
559
|
buildGraphSnapshot
|
|
550
|
-
} from "./chunk-
|
|
560
|
+
} from "./chunk-IHCXMYSE.js";
|
|
551
561
|
import {
|
|
552
562
|
deriveHarmonicRecords,
|
|
553
563
|
harmonicEntityReferenceMatches,
|
|
@@ -555,17 +565,10 @@ import {
|
|
|
555
565
|
normalizedHarmonicEntityIdentity,
|
|
556
566
|
persistHarmonicRecords
|
|
557
567
|
} from "./chunk-FJEYZSJD.js";
|
|
558
|
-
import {
|
|
559
|
-
readProjectedHarmonicGraph,
|
|
560
|
-
searchHarmonicRetrieval
|
|
561
|
-
} from "./chunk-OOJMQV3L.js";
|
|
562
568
|
import {
|
|
563
569
|
removeNodeEdgesForRewrite,
|
|
564
570
|
rollbackNodeEdgeRewrite
|
|
565
|
-
} from "./chunk-
|
|
566
|
-
import {
|
|
567
|
-
scoreEvidencePathDetail
|
|
568
|
-
} from "./chunk-XXSOVESA.js";
|
|
571
|
+
} from "./chunk-W7K5BP3M.js";
|
|
569
572
|
import {
|
|
570
573
|
chunkExtractionWindow,
|
|
571
574
|
classifyDrainResult,
|
|
@@ -575,13 +578,13 @@ import {
|
|
|
575
578
|
} from "./chunk-LEO4MQ3S.js";
|
|
576
579
|
import {
|
|
577
580
|
ExtractionEngine
|
|
578
|
-
} from "./chunk-
|
|
581
|
+
} from "./chunk-ODHFX5JX.js";
|
|
579
582
|
import {
|
|
580
583
|
wrapWorkLayerContext
|
|
581
584
|
} from "./chunk-EI6V5UXY.js";
|
|
582
585
|
import {
|
|
583
586
|
CONNECTOR_LABEL_MAX_LENGTH
|
|
584
|
-
} from "./chunk-
|
|
587
|
+
} from "./chunk-64TIBZPZ.js";
|
|
585
588
|
import {
|
|
586
589
|
isValidConnectorId
|
|
587
590
|
} from "./chunk-YAVIBVCU.js";
|
|
@@ -592,13 +595,13 @@ import {
|
|
|
592
595
|
import {
|
|
593
596
|
ModelRegistry
|
|
594
597
|
} from "./chunk-QNUNAXBE.js";
|
|
598
|
+
import {
|
|
599
|
+
parseMemoryActionEligibilityContext
|
|
600
|
+
} from "./chunk-JHU4EYDV.js";
|
|
595
601
|
import {
|
|
596
602
|
buildFocusedListRecallSection,
|
|
597
603
|
shouldRecallFocusedListEvidence
|
|
598
604
|
} from "./chunk-BPPUH5JM.js";
|
|
599
|
-
import {
|
|
600
|
-
parseMemoryActionEligibilityContext
|
|
601
|
-
} from "./chunk-JHU4EYDV.js";
|
|
602
605
|
import {
|
|
603
606
|
REDACTION_RULES_SUBDIR,
|
|
604
607
|
contentMatchesRedactionRules,
|
|
@@ -621,6 +624,12 @@ import {
|
|
|
621
624
|
import {
|
|
622
625
|
EXTERNAL_WIKI_MCP_TOOLS
|
|
623
626
|
} from "./chunk-A5KNZSNA.js";
|
|
627
|
+
import {
|
|
628
|
+
buildEventOrderRecallSection
|
|
629
|
+
} from "./chunk-ZDZJNXL6.js";
|
|
630
|
+
import {
|
|
631
|
+
shouldRecallEventOrderEvidence
|
|
632
|
+
} from "./chunk-BUYVPUEM.js";
|
|
624
633
|
import {
|
|
625
634
|
pickFactEventTimeAnchor,
|
|
626
635
|
resolveFactEventTime
|
|
@@ -628,36 +637,17 @@ import {
|
|
|
628
637
|
import {
|
|
629
638
|
buildExplicitCueRecallSection
|
|
630
639
|
} from "./chunk-NED7IR7B.js";
|
|
631
|
-
import {
|
|
632
|
-
externalWikiSearchOperation
|
|
633
|
-
} from "./chunk-3FBAEPCU.js";
|
|
634
|
-
import {
|
|
635
|
-
planEpisodeWindowsWithFallback
|
|
636
|
-
} from "./chunk-T3GIETKV.js";
|
|
637
|
-
import {
|
|
638
|
-
createEvalBaselineSnapshot,
|
|
639
|
-
getEvalHarnessStatus,
|
|
640
|
-
importEvalBenchmarkPack,
|
|
641
|
-
recordEvalShadowRecall,
|
|
642
|
-
runEvalBaselineDeltaReport,
|
|
643
|
-
runEvalBenchmarkCiGate,
|
|
644
|
-
runEvalStoredBaselineCiGate,
|
|
645
|
-
validateEvalBenchmarkPack
|
|
646
|
-
} from "./chunk-JKMIGCK6.js";
|
|
647
|
-
import {
|
|
648
|
-
buildEventOrderRecallSection
|
|
649
|
-
} from "./chunk-FAPJG3OG.js";
|
|
650
640
|
import {
|
|
651
641
|
lcmEvidenceIdentity
|
|
652
642
|
} from "./chunk-C37ZRXX7.js";
|
|
653
643
|
import {
|
|
654
|
-
|
|
655
|
-
} from "./chunk-
|
|
644
|
+
externalWikiSearchOperation
|
|
645
|
+
} from "./chunk-3FBAEPCU.js";
|
|
656
646
|
import {
|
|
657
647
|
buildEntityRecallSection,
|
|
658
648
|
entityRecentTranscriptLookbackHours,
|
|
659
649
|
readRecentEntityTranscriptEntries
|
|
660
|
-
} from "./chunk-
|
|
650
|
+
} from "./chunk-5JW2QIFH.js";
|
|
661
651
|
import {
|
|
662
652
|
boundRecallContextComposition,
|
|
663
653
|
composeMissingMemoryContext,
|
|
@@ -667,9 +657,31 @@ import {
|
|
|
667
657
|
renderAuthorityBoundContent,
|
|
668
658
|
selectCuriosityQuestion
|
|
669
659
|
} from "./chunk-NVKO5YKP.js";
|
|
660
|
+
import {
|
|
661
|
+
planEpisodeWindowsWithFallback
|
|
662
|
+
} from "./chunk-T3GIETKV.js";
|
|
663
|
+
import {
|
|
664
|
+
createEvalBaselineSnapshot,
|
|
665
|
+
getEvalHarnessStatus,
|
|
666
|
+
importEvalBenchmarkPack,
|
|
667
|
+
recordEvalShadowRecall,
|
|
668
|
+
runEvalBaselineDeltaReport,
|
|
669
|
+
runEvalBenchmarkCiGate,
|
|
670
|
+
runEvalStoredBaselineCiGate,
|
|
671
|
+
validateEvalBenchmarkPack
|
|
672
|
+
} from "./chunk-JKMIGCK6.js";
|
|
673
|
+
import {
|
|
674
|
+
tryDirectAnswer
|
|
675
|
+
} from "./chunk-OB72KNMF.js";
|
|
670
676
|
import {
|
|
671
677
|
EmbeddingFallback
|
|
672
678
|
} from "./chunk-SBRUTD5O.js";
|
|
679
|
+
import {
|
|
680
|
+
DEEP_RECALL_MCP_TOOLS
|
|
681
|
+
} from "./chunk-HUSTM6PU.js";
|
|
682
|
+
import {
|
|
683
|
+
callDeepRecallPolicyLlm
|
|
684
|
+
} from "./chunk-SPAKBUJY.js";
|
|
673
685
|
import {
|
|
674
686
|
renderDeepRecallResult
|
|
675
687
|
} from "./chunk-RF2SMMPP.js";
|
|
@@ -678,10 +690,19 @@ import {
|
|
|
678
690
|
} from "./chunk-3X5OPDPF.js";
|
|
679
691
|
import {
|
|
680
692
|
runBudgetedDeepRecall
|
|
681
|
-
} from "./chunk-
|
|
693
|
+
} from "./chunk-4RASUAN3.js";
|
|
682
694
|
import {
|
|
683
|
-
|
|
684
|
-
|
|
695
|
+
CorpusWatermarkCache,
|
|
696
|
+
computeServiceCorpusCensus
|
|
697
|
+
} from "./chunk-ETUMOYGL.js";
|
|
698
|
+
import {
|
|
699
|
+
listNamespaces,
|
|
700
|
+
runNamespaceMigration,
|
|
701
|
+
verifyNamespaces
|
|
702
|
+
} from "./chunk-YGPRFYV6.js";
|
|
703
|
+
import {
|
|
704
|
+
NamespaceStorageRouter
|
|
705
|
+
} from "./chunk-UWP6PGWN.js";
|
|
685
706
|
import {
|
|
686
707
|
CrossNamespaceBudget,
|
|
687
708
|
toBudgetWarning
|
|
@@ -692,27 +713,21 @@ import {
|
|
|
692
713
|
} from "./chunk-FYJYQ65N.js";
|
|
693
714
|
import {
|
|
694
715
|
GraphDashboardServer
|
|
695
|
-
} from "./chunk-
|
|
716
|
+
} from "./chunk-YNDLCWXS.js";
|
|
696
717
|
import {
|
|
697
718
|
formatDaySummaryMemories
|
|
698
719
|
} from "./chunk-7G5NTS7F.js";
|
|
699
720
|
import {
|
|
700
721
|
respondDeepRecall
|
|
701
|
-
} from "./chunk-
|
|
702
|
-
import {
|
|
703
|
-
DEEP_RECALL_MCP_TOOLS
|
|
704
|
-
} from "./chunk-HUSTM6PU.js";
|
|
705
|
-
import {
|
|
706
|
-
callDeepRecallPolicyLlm
|
|
707
|
-
} from "./chunk-SPAKBUJY.js";
|
|
722
|
+
} from "./chunk-BKR2YCQ5.js";
|
|
708
723
|
import {
|
|
709
724
|
refreshConvergedNamespaces
|
|
710
|
-
} from "./chunk-
|
|
725
|
+
} from "./chunk-7TY5ZHFA.js";
|
|
711
726
|
import {
|
|
712
727
|
rebuildMemoryProjection,
|
|
713
728
|
repairMemoryProjection,
|
|
714
729
|
verifyMemoryProjection
|
|
715
|
-
} from "./chunk-
|
|
730
|
+
} from "./chunk-GTW6GPQU.js";
|
|
716
731
|
import {
|
|
717
732
|
buildProposedActions,
|
|
718
733
|
buildQualityScore,
|
|
@@ -721,24 +736,12 @@ import {
|
|
|
721
736
|
readMemoryGovernanceRunArtifact,
|
|
722
737
|
restoreMemoryGovernanceRun,
|
|
723
738
|
runMemoryGovernance
|
|
724
|
-
} from "./chunk-
|
|
739
|
+
} from "./chunk-DBNZYQCL.js";
|
|
725
740
|
import {
|
|
726
741
|
collectNativeKnowledgeChunks,
|
|
727
742
|
formatNativeKnowledgeSection,
|
|
728
743
|
searchNativeKnowledge
|
|
729
744
|
} from "./chunk-2DQ2XREU.js";
|
|
730
|
-
import {
|
|
731
|
-
CorpusWatermarkCache,
|
|
732
|
-
computeServiceCorpusCensus
|
|
733
|
-
} from "./chunk-DVC2OYLF.js";
|
|
734
|
-
import {
|
|
735
|
-
listNamespaces,
|
|
736
|
-
runNamespaceMigration,
|
|
737
|
-
verifyNamespaces
|
|
738
|
-
} from "./chunk-BFFKIME2.js";
|
|
739
|
-
import {
|
|
740
|
-
NamespaceStorageRouter
|
|
741
|
-
} from "./chunk-VNMJWFYR.js";
|
|
742
745
|
import {
|
|
743
746
|
buildConnectorRowsFromDefinitions,
|
|
744
747
|
parseConnectorsListOptions,
|
|
@@ -748,6 +751,9 @@ import {
|
|
|
748
751
|
renderConnectorsRunResult,
|
|
749
752
|
runConnectorPollOnce
|
|
750
753
|
} from "./chunk-OKTXM5H4.js";
|
|
754
|
+
import {
|
|
755
|
+
buildCitationGuidance
|
|
756
|
+
} from "./chunk-D24OXEPB.js";
|
|
751
757
|
import {
|
|
752
758
|
applyCommitmentLedgerLifecycle,
|
|
753
759
|
getCommitmentLedgerStatus,
|
|
@@ -763,45 +769,29 @@ import {
|
|
|
763
769
|
materializeAfterSemanticConsolidation,
|
|
764
770
|
parseConsolidationResponse,
|
|
765
771
|
parseOperatorAwareConsolidationResponse
|
|
766
|
-
} from "./chunk-
|
|
772
|
+
} from "./chunk-LS5VJO5O.js";
|
|
767
773
|
import {
|
|
768
774
|
resolveNamespaceChildRoot
|
|
769
775
|
} from "./chunk-3UXOZBHV.js";
|
|
770
776
|
import {
|
|
771
777
|
GraphIndex,
|
|
772
778
|
analyzeGraphHealth
|
|
773
|
-
} from "./chunk-
|
|
774
|
-
import {
|
|
775
|
-
subscribeGraphEvents
|
|
776
|
-
} from "./chunk-DEUNUKTD.js";
|
|
779
|
+
} from "./chunk-M4IEZGCK.js";
|
|
777
780
|
import {
|
|
778
781
|
GraphEdgeAppendError
|
|
779
782
|
} from "./chunk-GKCXTSFF.js";
|
|
780
783
|
import {
|
|
781
|
-
|
|
782
|
-
} from "./chunk-
|
|
783
|
-
import {
|
|
784
|
-
isCapsuleImportArchiveInputError,
|
|
785
|
-
validateCapsuleImportArchive
|
|
786
|
-
} from "./chunk-FKBGK3NC.js";
|
|
787
|
-
import {
|
|
788
|
-
defaultCapsulesDir
|
|
789
|
-
} from "./chunk-ZY2MNJR6.js";
|
|
790
|
-
import {
|
|
791
|
-
semanticChunkContent
|
|
792
|
-
} from "./chunk-2GBFKHBZ.js";
|
|
793
|
-
import {
|
|
794
|
-
chunkContent
|
|
795
|
-
} from "./chunk-6TBIWIAG.js";
|
|
784
|
+
subscribeGraphEvents
|
|
785
|
+
} from "./chunk-DEUNUKTD.js";
|
|
796
786
|
import {
|
|
797
787
|
SmartBuffer
|
|
798
|
-
} from "./chunk-
|
|
788
|
+
} from "./chunk-LYSE5FNF.js";
|
|
799
789
|
import {
|
|
800
790
|
ExtractionDeadlineError,
|
|
801
791
|
ExtractionRunCoordinator,
|
|
802
792
|
ProviderCircuitBreaker,
|
|
803
793
|
classifyExtractionOrigin
|
|
804
|
-
} from "./chunk-
|
|
794
|
+
} from "./chunk-LMFINE37.js";
|
|
805
795
|
import {
|
|
806
796
|
ARTIFACT_STATUS_CACHE_TTL_MS,
|
|
807
797
|
BulkImportBatchPartialFailureError,
|
|
@@ -841,7 +831,7 @@ import {
|
|
|
841
831
|
throwIfRecallAborted,
|
|
842
832
|
tokenizeRecallQuery,
|
|
843
833
|
utcDateKeysForLocalDay
|
|
844
|
-
} from "./chunk-
|
|
834
|
+
} from "./chunk-MONIOXEG.js";
|
|
845
835
|
import {
|
|
846
836
|
inferIntentFromText,
|
|
847
837
|
intentCompatibilityScore,
|
|
@@ -850,7 +840,20 @@ import {
|
|
|
850
840
|
} from "./chunk-CSAKJVXW.js";
|
|
851
841
|
import {
|
|
852
842
|
LocalLlmClient
|
|
853
|
-
} from "./chunk-
|
|
843
|
+
} from "./chunk-GB442ZFG.js";
|
|
844
|
+
import {
|
|
845
|
+
isCapsuleImportArchiveInputError,
|
|
846
|
+
validateCapsuleImportArchive
|
|
847
|
+
} from "./chunk-FKBGK3NC.js";
|
|
848
|
+
import {
|
|
849
|
+
defaultCapsulesDir
|
|
850
|
+
} from "./chunk-ZY2MNJR6.js";
|
|
851
|
+
import {
|
|
852
|
+
semanticChunkContent
|
|
853
|
+
} from "./chunk-2GBFKHBZ.js";
|
|
854
|
+
import {
|
|
855
|
+
chunkContent
|
|
856
|
+
} from "./chunk-6TBIWIAG.js";
|
|
854
857
|
import {
|
|
855
858
|
FileCalendarSource,
|
|
856
859
|
buildBriefing,
|
|
@@ -859,11 +862,14 @@ import {
|
|
|
859
862
|
parseBriefingFocus,
|
|
860
863
|
parseBriefingWindow,
|
|
861
864
|
validateBriefingFormat
|
|
862
|
-
} from "./chunk-
|
|
865
|
+
} from "./chunk-TFHL4WWY.js";
|
|
863
866
|
import {
|
|
864
867
|
BriefingTimeoutError,
|
|
865
868
|
withBriefingDeadline
|
|
866
869
|
} from "./chunk-FNFURZBZ.js";
|
|
870
|
+
import {
|
|
871
|
+
scopeObserveBufferAdmissionIdempotencyKey
|
|
872
|
+
} from "./chunk-5EP2V675.js";
|
|
867
873
|
import {
|
|
868
874
|
ReplayAdmissionRefusedError,
|
|
869
875
|
StorageTargetRequiredError
|
|
@@ -924,7 +930,7 @@ import {
|
|
|
924
930
|
validateCorrectionAction,
|
|
925
931
|
validateCorrectionRequest,
|
|
926
932
|
validateRedactionPattern
|
|
927
|
-
} from "./chunk-
|
|
933
|
+
} from "./chunk-ADBON4FI.js";
|
|
928
934
|
import {
|
|
929
935
|
compileCorrectionRule,
|
|
930
936
|
correctionsFilePath,
|
|
@@ -1014,7 +1020,7 @@ import {
|
|
|
1014
1020
|
getCausalTrajectoryStoreStatus,
|
|
1015
1021
|
readCausalTrajectoryRecords,
|
|
1016
1022
|
searchCausalTrajectories
|
|
1017
|
-
} from "./chunk-
|
|
1023
|
+
} from "./chunk-GKL6QYZO.js";
|
|
1018
1024
|
import {
|
|
1019
1025
|
QmdResultResolver,
|
|
1020
1026
|
StorageManager,
|
|
@@ -1037,7 +1043,7 @@ import {
|
|
|
1037
1043
|
reconstructFusionInputs,
|
|
1038
1044
|
selfDeps,
|
|
1039
1045
|
serializeFusionDay
|
|
1040
|
-
} from "./chunk-
|
|
1046
|
+
} from "./chunk-DCLOMXQL.js";
|
|
1041
1047
|
import {
|
|
1042
1048
|
buildRetiredFactTombstoneInputs
|
|
1043
1049
|
} from "./chunk-QGVCFVX6.js";
|
|
@@ -1056,12 +1062,12 @@ import {
|
|
|
1056
1062
|
embeddingBacklogExceeds,
|
|
1057
1063
|
isSearchHealthDegraded,
|
|
1058
1064
|
namespaceCollectionName
|
|
1059
|
-
} from "./chunk-
|
|
1065
|
+
} from "./chunk-GA3Y7GZR.js";
|
|
1060
1066
|
import {
|
|
1061
1067
|
createConversationIndexRuntime,
|
|
1062
1068
|
createSearchBackend,
|
|
1063
1069
|
isSearchBackendEnabled
|
|
1064
|
-
} from "./chunk-
|
|
1070
|
+
} from "./chunk-DK3T3Q6A.js";
|
|
1065
1071
|
import {
|
|
1066
1072
|
NoopSearchBackend
|
|
1067
1073
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -1093,14 +1099,14 @@ import {
|
|
|
1093
1099
|
normalizeProjectionPreview,
|
|
1094
1100
|
normalizeProjectionTags
|
|
1095
1101
|
} from "./chunk-SCU65EZI.js";
|
|
1096
|
-
import {
|
|
1097
|
-
checkCorpusReadAbort
|
|
1098
|
-
} from "./chunk-P4GUQSK3.js";
|
|
1099
1102
|
import {
|
|
1100
1103
|
detectLanguageHint,
|
|
1101
1104
|
dominantCorpusLanguage,
|
|
1102
1105
|
planCrossScript
|
|
1103
1106
|
} from "./chunk-3WU7XOFN.js";
|
|
1107
|
+
import {
|
|
1108
|
+
checkCorpusReadAbort
|
|
1109
|
+
} from "./chunk-P4GUQSK3.js";
|
|
1104
1110
|
import {
|
|
1105
1111
|
createVersion,
|
|
1106
1112
|
getVersion,
|
|
@@ -1133,30 +1139,15 @@ import {
|
|
|
1133
1139
|
isValidityExpiredNow
|
|
1134
1140
|
} from "./chunk-6CIAGZ6X.js";
|
|
1135
1141
|
import {
|
|
1136
|
-
|
|
1137
|
-
} from "./chunk-
|
|
1138
|
-
import {
|
|
1139
|
-
buildExplicitCaptureDedupKey,
|
|
1140
|
-
normalizeExplicitCaptureContent
|
|
1141
|
-
} from "./chunk-Y33KJ556.js";
|
|
1142
|
+
mergeSearchQueryOptions
|
|
1143
|
+
} from "./chunk-B7HYXVME.js";
|
|
1142
1144
|
import {
|
|
1143
1145
|
renderQmdBacklogStatus
|
|
1144
1146
|
} from "./chunk-IUM3VSHI.js";
|
|
1145
|
-
import {
|
|
1146
|
-
mergeSearchQueryOptions
|
|
1147
|
-
} from "./chunk-B7HYXVME.js";
|
|
1148
1147
|
import {
|
|
1149
1148
|
isUntrustedOrigin,
|
|
1150
1149
|
parseOriginClass
|
|
1151
1150
|
} from "./chunk-23G5P7TA.js";
|
|
1152
|
-
import {
|
|
1153
|
-
bufferTurnsEqual,
|
|
1154
|
-
describeError,
|
|
1155
|
-
extractionScopeGroupKey,
|
|
1156
|
-
groupTurnsByExtractionScope,
|
|
1157
|
-
hasPinnedCaptureScope,
|
|
1158
|
-
scopeProfilePlanIdentity
|
|
1159
|
-
} from "./chunk-AZFQXYIJ.js";
|
|
1160
1151
|
import {
|
|
1161
1152
|
FallbackLlmClient,
|
|
1162
1153
|
gatewayTaskChainOptions
|
|
@@ -1164,6 +1155,21 @@ import {
|
|
|
1164
1155
|
import {
|
|
1165
1156
|
fallbackLlmRuntimeContextFromConfig
|
|
1166
1157
|
} from "./chunk-QSF5SJAM.js";
|
|
1158
|
+
import {
|
|
1159
|
+
withCaptureWriteLockBackoff
|
|
1160
|
+
} from "./chunk-7VLBZKNB.js";
|
|
1161
|
+
import {
|
|
1162
|
+
buildExplicitCaptureDedupKey,
|
|
1163
|
+
normalizeExplicitCaptureContent
|
|
1164
|
+
} from "./chunk-Y33KJ556.js";
|
|
1165
|
+
import {
|
|
1166
|
+
bufferTurnsEqual,
|
|
1167
|
+
describeError,
|
|
1168
|
+
extractionScopeGroupKey,
|
|
1169
|
+
groupTurnsByExtractionScope,
|
|
1170
|
+
hasPinnedCaptureScope,
|
|
1171
|
+
scopeProfilePlanIdentity
|
|
1172
|
+
} from "./chunk-33VVVP57.js";
|
|
1167
1173
|
import {
|
|
1168
1174
|
createBoundedCoreSectionRunner,
|
|
1169
1175
|
createRecallSectionMetricRecorder,
|
|
@@ -1199,7 +1205,7 @@ import {
|
|
|
1199
1205
|
} from "./chunk-UPE7TJWN.js";
|
|
1200
1206
|
import {
|
|
1201
1207
|
splitCanonicalWriteRequest
|
|
1202
|
-
} from "./chunk-
|
|
1208
|
+
} from "./chunk-T3M5KJRV.js";
|
|
1203
1209
|
import {
|
|
1204
1210
|
buildWithBriefingLocation,
|
|
1205
1211
|
daySummaryAutoOptions,
|
|
@@ -1242,10 +1248,10 @@ import {
|
|
|
1242
1248
|
retainedCategoryAlias,
|
|
1243
1249
|
suggestionSubmitRequestSchema,
|
|
1244
1250
|
validateRequest
|
|
1245
|
-
} from "./chunk-
|
|
1251
|
+
} from "./chunk-P4YYUDR5.js";
|
|
1246
1252
|
import {
|
|
1247
1253
|
exportCapsule
|
|
1248
|
-
} from "./chunk-
|
|
1254
|
+
} from "./chunk-BUKK5SWA.js";
|
|
1249
1255
|
import {
|
|
1250
1256
|
CAPSULE_ID_PATTERN
|
|
1251
1257
|
} from "./chunk-WEHSQBFR.js";
|
|
@@ -1263,7 +1269,7 @@ import {
|
|
|
1263
1269
|
} from "./chunk-BJMBJZ2Y.js";
|
|
1264
1270
|
import {
|
|
1265
1271
|
createOfflineSyncManifestStream
|
|
1266
|
-
} from "./chunk-
|
|
1272
|
+
} from "./chunk-YIOP7IFD.js";
|
|
1267
1273
|
import {
|
|
1268
1274
|
peerManifestRevision
|
|
1269
1275
|
} from "./chunk-FEUWI5QH.js";
|
|
@@ -1332,18 +1338,18 @@ import {
|
|
|
1332
1338
|
buildOfflineSyncSnapshotFromBase,
|
|
1333
1339
|
normalizeOfflineSyncChangeset,
|
|
1334
1340
|
readOfflineSyncFileContentChunk
|
|
1335
|
-
} from "./chunk-
|
|
1341
|
+
} from "./chunk-UIFWZMO7.js";
|
|
1336
1342
|
import {
|
|
1337
1343
|
storageBackedIndexStoreIo
|
|
1338
|
-
} from "./chunk-
|
|
1339
|
-
import {
|
|
1340
|
-
compileOfflineSyncExcludeGlobs
|
|
1341
|
-
} from "./chunk-63LFM77Z.js";
|
|
1344
|
+
} from "./chunk-WN2DASTS.js";
|
|
1342
1345
|
import {
|
|
1343
1346
|
assertIsDirectoryNotSymlink,
|
|
1344
1347
|
assertRealpathInsideRoot,
|
|
1345
1348
|
validateArchiveRelativePath
|
|
1346
1349
|
} from "./chunk-GCGJW34D.js";
|
|
1350
|
+
import {
|
|
1351
|
+
compileOfflineSyncExcludeGlobs
|
|
1352
|
+
} from "./chunk-63LFM77Z.js";
|
|
1347
1353
|
import {
|
|
1348
1354
|
serializeMutations,
|
|
1349
1355
|
withHeldFileLock
|
|
@@ -1356,7 +1362,7 @@ import {
|
|
|
1356
1362
|
RECALL_WHY_MCP_TOOLS,
|
|
1357
1363
|
handleRecallWhyHttpQuery,
|
|
1358
1364
|
handleRecallXrayHttpQuery
|
|
1359
|
-
} from "./chunk-
|
|
1365
|
+
} from "./chunk-V3D2OOVE.js";
|
|
1360
1366
|
import {
|
|
1361
1367
|
runContradictionScan
|
|
1362
1368
|
} from "./chunk-SX4BR26Y.js";
|
|
@@ -1370,7 +1376,7 @@ import {
|
|
|
1370
1376
|
RECALL_DISCLOSURE_LEVELS,
|
|
1371
1377
|
confidenceTier,
|
|
1372
1378
|
isRecallDisclosure
|
|
1373
|
-
} from "./chunk-
|
|
1379
|
+
} from "./chunk-KJ3Z7JHF.js";
|
|
1374
1380
|
import {
|
|
1375
1381
|
extractJsonCandidates
|
|
1376
1382
|
} from "./chunk-YBA52OKG.js";
|
|
@@ -20682,6 +20688,86 @@ var RecallSearchPipelineCoordinator = class {
|
|
|
20682
20688
|
// src/orchestration/turn-ingestion.ts
|
|
20683
20689
|
import { createHash as createHash10, randomBytes } from "crypto";
|
|
20684
20690
|
|
|
20691
|
+
// src/orchestration/extraction-task-queueing.ts
|
|
20692
|
+
function queueBufferedCaptureScopeGroups(queueBufferedExtraction, extractionTurns, bufferKey, options) {
|
|
20693
|
+
for (const group of groupTurnsByExtractionScope(extractionTurns)) {
|
|
20694
|
+
const groupIsAccepted = group.turns.some((turn) => turn.acceptedCapture === true);
|
|
20695
|
+
if (!groupIsAccepted) {
|
|
20696
|
+
void queueBufferedExtraction(group.turns, "trigger_mode", {
|
|
20697
|
+
bufferKey,
|
|
20698
|
+
clearMatchingTurns: true,
|
|
20699
|
+
preemptable: true
|
|
20700
|
+
}).catch((err) => log.error(`native trigger extraction failed: ${err}`));
|
|
20701
|
+
continue;
|
|
20702
|
+
}
|
|
20703
|
+
const { promise: extraction, resolve: resolve4, reject } = Promise.withResolvers();
|
|
20704
|
+
void queueBufferedExtraction(group.turns, "trigger_mode", {
|
|
20705
|
+
bufferKey,
|
|
20706
|
+
clearBufferAfterExtraction: true,
|
|
20707
|
+
clearMatchingTurns: true,
|
|
20708
|
+
skipDedupeCheck: true,
|
|
20709
|
+
skipCharThreshold: true,
|
|
20710
|
+
skipUserTurnThreshold: true,
|
|
20711
|
+
abortSignal: options.abortSignal,
|
|
20712
|
+
extractionDeadlineMs: options.deadlineMs,
|
|
20713
|
+
writeNamespaceOverride: group.writeNamespaceOverride,
|
|
20714
|
+
principalOverride: group.principalOverride,
|
|
20715
|
+
scopeProfileWritePlan: group.scopeProfileWritePlan ?? null,
|
|
20716
|
+
preemptable: true,
|
|
20717
|
+
onTaskSettled: (err) => err ? reject(err) : resolve4()
|
|
20718
|
+
}).catch(reject);
|
|
20719
|
+
if (options.onExtractionQueued) options.onExtractionQueued(extraction);
|
|
20720
|
+
else extraction.catch((err) => log.error(`buffered capture extraction failed: ${err}`));
|
|
20721
|
+
}
|
|
20722
|
+
}
|
|
20723
|
+
|
|
20724
|
+
// src/orchestration/turn-ingestion-buffered.ts
|
|
20725
|
+
async function ingestReplayBatchBuffered(deps, bySession, options) {
|
|
20726
|
+
const resolvedWriteTarget = options.writeNamespaceOverride ?? (resolveNamespaceCapabilities(deps.config).namespaces === true ? options.scopeProfileWritePlan?.writeNamespace : deps.config.defaultNamespace);
|
|
20727
|
+
if (!resolvedWriteTarget) {
|
|
20728
|
+
throw new StorageTargetRequiredError(
|
|
20729
|
+
"accepted capture requires an explicit storage target (writeNamespaceOverride or scopeProfileWritePlan.writeNamespace)"
|
|
20730
|
+
);
|
|
20731
|
+
}
|
|
20732
|
+
const pin = (turn) => {
|
|
20733
|
+
const pinned = { ...turn, acceptedCapture: true, writeNamespaceOverride: resolvedWriteTarget };
|
|
20734
|
+
if (options.codingContext) pinned.codingContext = options.codingContext;
|
|
20735
|
+
if (options.principalOverride) pinned.principalOverride = options.principalOverride;
|
|
20736
|
+
if (options.scopeProfileWritePlan) pinned.scopeProfileWritePlan = options.scopeProfileWritePlan;
|
|
20737
|
+
return pinned;
|
|
20738
|
+
};
|
|
20739
|
+
const admissionKey = options.bufferAdmissionIdempotencyKey?.trim();
|
|
20740
|
+
const batches = [...bySession].map(([bufferKey, sessionTurns]) => ({ bufferKey, turns: sessionTurns.map(pin) }));
|
|
20741
|
+
const outcomes = admissionKey ? await deps.buffer.addTurnsBoundedForObserveReplay(batches, admissionKey) : await deps.buffer.addTurnsBounded(batches);
|
|
20742
|
+
if (outcomes === "duplicate") return;
|
|
20743
|
+
if (outcomes === null) {
|
|
20744
|
+
const refusedKey = batches.find((batch) => batch.turns.length > 0)?.bufferKey ?? "unknown";
|
|
20745
|
+
throw new ReplayAdmissionRefusedError(
|
|
20746
|
+
`durable observe capture refused: extraction buffer at entry capacity for batch containing ${refusedKey}`
|
|
20747
|
+
);
|
|
20748
|
+
}
|
|
20749
|
+
await deps.buffer.flushPendingSave({ throwOnFailure: true });
|
|
20750
|
+
if (options.archiveLcm !== false && deps.lcmEngine?.enabled) {
|
|
20751
|
+
for (const [bufferKey, sessionTurns] of bySession) {
|
|
20752
|
+
await deps.lcmEngine.observeMessages(
|
|
20753
|
+
bufferKey,
|
|
20754
|
+
sessionTurns.map((turn) => ({
|
|
20755
|
+
role: turn.role,
|
|
20756
|
+
content: turn.content,
|
|
20757
|
+
parts: turn.parts,
|
|
20758
|
+
rawContent: turn.rawContent,
|
|
20759
|
+
sourceFormat: turn.sourceFormat
|
|
20760
|
+
}))
|
|
20761
|
+
);
|
|
20762
|
+
}
|
|
20763
|
+
}
|
|
20764
|
+
for (const { bufferKey, outcome } of outcomes) {
|
|
20765
|
+
if (outcome.decision !== "keep_buffering" && outcome.extractionTurns) {
|
|
20766
|
+
queueBufferedCaptureScopeGroups(deps.queueBufferedExtraction, outcome.extractionTurns, bufferKey, options);
|
|
20767
|
+
}
|
|
20768
|
+
}
|
|
20769
|
+
}
|
|
20770
|
+
|
|
20685
20771
|
// src/orchestration/extraction-drain.ts
|
|
20686
20772
|
import { createHash as createHash9 } from "crypto";
|
|
20687
20773
|
|
|
@@ -21145,39 +21231,6 @@ function skipClaimedSession(buffer, bufferKey, settle) {
|
|
|
21145
21231
|
return true;
|
|
21146
21232
|
}
|
|
21147
21233
|
|
|
21148
|
-
// src/orchestration/extraction-task-queueing.ts
|
|
21149
|
-
function queueBufferedCaptureScopeGroups(queueBufferedExtraction, extractionTurns, bufferKey, options) {
|
|
21150
|
-
for (const group of groupTurnsByExtractionScope(extractionTurns)) {
|
|
21151
|
-
const groupIsAccepted = group.turns.some((turn) => turn.acceptedCapture === true);
|
|
21152
|
-
if (!groupIsAccepted) {
|
|
21153
|
-
void queueBufferedExtraction(group.turns, "trigger_mode", {
|
|
21154
|
-
bufferKey,
|
|
21155
|
-
clearMatchingTurns: true,
|
|
21156
|
-
preemptable: true
|
|
21157
|
-
}).catch((err) => log.error(`native trigger extraction failed: ${err}`));
|
|
21158
|
-
continue;
|
|
21159
|
-
}
|
|
21160
|
-
const { promise: extraction, resolve: resolve4, reject } = Promise.withResolvers();
|
|
21161
|
-
void queueBufferedExtraction(group.turns, "trigger_mode", {
|
|
21162
|
-
bufferKey,
|
|
21163
|
-
clearBufferAfterExtraction: true,
|
|
21164
|
-
clearMatchingTurns: true,
|
|
21165
|
-
skipDedupeCheck: true,
|
|
21166
|
-
skipCharThreshold: true,
|
|
21167
|
-
skipUserTurnThreshold: true,
|
|
21168
|
-
abortSignal: options.abortSignal,
|
|
21169
|
-
extractionDeadlineMs: options.deadlineMs,
|
|
21170
|
-
writeNamespaceOverride: group.writeNamespaceOverride,
|
|
21171
|
-
principalOverride: group.principalOverride,
|
|
21172
|
-
scopeProfileWritePlan: group.scopeProfileWritePlan ?? null,
|
|
21173
|
-
preemptable: true,
|
|
21174
|
-
onTaskSettled: (err) => err ? reject(err) : resolve4()
|
|
21175
|
-
}).catch(reject);
|
|
21176
|
-
if (options.onExtractionQueued) options.onExtractionQueued(extraction);
|
|
21177
|
-
else extraction.catch((err) => log.error(`buffered capture extraction failed: ${err}`));
|
|
21178
|
-
}
|
|
21179
|
-
}
|
|
21180
|
-
|
|
21181
21234
|
// src/orchestration/extraction-queue-snapshot-sharing.ts
|
|
21182
21235
|
function automaticSnapshotSharingEligible(options) {
|
|
21183
21236
|
return options.execution === void 0 && options.preemptable === true && options.failOnExtractionFailure !== true && options.forceExtractionAttempt !== true && options.preemptRunning !== true;
|
|
@@ -21409,7 +21462,7 @@ var TurnIngestionCoordinator = class {
|
|
|
21409
21462
|
bySession.set(key, list);
|
|
21410
21463
|
}
|
|
21411
21464
|
if (options.extractionMode === "buffered") {
|
|
21412
|
-
return this.
|
|
21465
|
+
return ingestReplayBatchBuffered(this.deps, bySession, options);
|
|
21413
21466
|
}
|
|
21414
21467
|
if (options.abortSignal?.aborted) {
|
|
21415
21468
|
throw options.abortSignal.reason instanceof Error ? options.abortSignal.reason : new Error("ingestReplayBatch aborted");
|
|
@@ -21474,55 +21527,6 @@ var TurnIngestionCoordinator = class {
|
|
|
21474
21527
|
}
|
|
21475
21528
|
}
|
|
21476
21529
|
}
|
|
21477
|
-
/** #3251 buffered capture: durable scope-pinned admission; await settles at durability. */
|
|
21478
|
-
async ingestReplayBatchBuffered(bySession, options) {
|
|
21479
|
-
const resolvedWriteTarget = options.writeNamespaceOverride ?? (resolveNamespaceCapabilities(this.deps.config).namespaces === true ? options.scopeProfileWritePlan?.writeNamespace : this.deps.config.defaultNamespace);
|
|
21480
|
-
if (!resolvedWriteTarget) {
|
|
21481
|
-
throw new StorageTargetRequiredError(
|
|
21482
|
-
"accepted capture requires an explicit storage target (writeNamespaceOverride or scopeProfileWritePlan.writeNamespace)"
|
|
21483
|
-
);
|
|
21484
|
-
}
|
|
21485
|
-
const pin = (turn) => {
|
|
21486
|
-
const pinned = { ...turn, acceptedCapture: true, writeNamespaceOverride: resolvedWriteTarget };
|
|
21487
|
-
if (options.codingContext) pinned.codingContext = options.codingContext;
|
|
21488
|
-
if (options.principalOverride) pinned.principalOverride = options.principalOverride;
|
|
21489
|
-
if (options.scopeProfileWritePlan) pinned.scopeProfileWritePlan = options.scopeProfileWritePlan;
|
|
21490
|
-
return pinned;
|
|
21491
|
-
};
|
|
21492
|
-
const batches = [...bySession].map(([bufferKey, sessionTurns]) => ({ bufferKey, turns: sessionTurns.map(pin) }));
|
|
21493
|
-
const outcomes = await this.deps.buffer.addTurnsBounded(batches);
|
|
21494
|
-
if (outcomes === null) {
|
|
21495
|
-
const refusedKey = batches.find((batch) => batch.turns.length > 0)?.bufferKey ?? "unknown";
|
|
21496
|
-
throw new ReplayAdmissionRefusedError(
|
|
21497
|
-
`durable observe capture refused: extraction buffer at entry capacity for batch containing ${refusedKey}`
|
|
21498
|
-
);
|
|
21499
|
-
}
|
|
21500
|
-
await this.deps.buffer.flushPendingSave({ throwOnFailure: true });
|
|
21501
|
-
if (options.archiveLcm !== false && this.deps.lcmEngine?.enabled) {
|
|
21502
|
-
for (const [bufferKey, sessionTurns] of bySession) {
|
|
21503
|
-
await this.deps.lcmEngine.observeMessages(
|
|
21504
|
-
bufferKey,
|
|
21505
|
-
sessionTurns.map((turn) => ({
|
|
21506
|
-
role: turn.role,
|
|
21507
|
-
content: turn.content,
|
|
21508
|
-
parts: turn.parts,
|
|
21509
|
-
rawContent: turn.rawContent,
|
|
21510
|
-
sourceFormat: turn.sourceFormat
|
|
21511
|
-
}))
|
|
21512
|
-
);
|
|
21513
|
-
}
|
|
21514
|
-
}
|
|
21515
|
-
for (const { bufferKey, outcome } of outcomes) {
|
|
21516
|
-
if (outcome.decision !== "keep_buffering" && outcome.extractionTurns) {
|
|
21517
|
-
queueBufferedCaptureScopeGroups(
|
|
21518
|
-
this.deps.queueBufferedExtraction,
|
|
21519
|
-
outcome.extractionTurns,
|
|
21520
|
-
bufferKey,
|
|
21521
|
-
options
|
|
21522
|
-
);
|
|
21523
|
-
}
|
|
21524
|
-
}
|
|
21525
|
-
}
|
|
21526
21530
|
/**
|
|
21527
21531
|
* Ingest a batch of bulk-import turns (#460). Like ingestReplayBatch, this
|
|
21528
21532
|
* normalizes user/assistant turns into the extraction buffer and awaits
|
|
@@ -28890,21 +28894,23 @@ var Orchestrator = class {
|
|
|
28890
28894
|
});
|
|
28891
28895
|
if (resolvePipelineProcessingCapabilities(this.config).lcm) {
|
|
28892
28896
|
const summarizeFn = async (text, targetTokens, aggressive) => {
|
|
28893
|
-
const
|
|
28897
|
+
const budget = scaleLcmSummarizeBudget(text, targetTokens);
|
|
28898
|
+
const { promptText, effectiveTargetTokens, maxCompletionTokens } = budget;
|
|
28899
|
+
const instructionText = aggressive ? `Compress the following into bullet points. One bullet per distinct fact or decision. Maximum ${effectiveTargetTokens} tokens total. No prose.` : `Compress the following conversation segment into a dense summary. Preserve: decisions made, code artifacts mentioned, errors encountered, open questions, and any commitments or next-steps. Omit: pleasantries, restatements, and anything the agent would not need to recall later. Output a single paragraph, maximum ${effectiveTargetTokens} tokens.`;
|
|
28894
28900
|
try {
|
|
28895
28901
|
const messages = [
|
|
28896
28902
|
{ role: "system", content: instructionText },
|
|
28897
|
-
{ role: "user", content:
|
|
28903
|
+
{ role: "user", content: promptText }
|
|
28898
28904
|
];
|
|
28899
28905
|
const result = this.config.modelSource === "gateway" && this._fastGatewayLlm ? await this._fastGatewayLlm.chatCompletion(messages, {
|
|
28900
|
-
maxTokens:
|
|
28906
|
+
maxTokens: maxCompletionTokens,
|
|
28901
28907
|
timeoutMs: this.config.localLlmFastTimeoutMs,
|
|
28902
28908
|
// LCM is latency-sensitive. A configured fast persona is the
|
|
28903
28909
|
// explicit fast-tier route; otherwise use taskModelChain so LCM
|
|
28904
28910
|
// avoids falling to an expensive gateway default. Issue #1473.
|
|
28905
28911
|
...this.config.fastGatewayAgentId ? { agentId: this.config.fastGatewayAgentId } : gatewayTaskChainOptions(this.config)
|
|
28906
28912
|
}) : await this.fastLlm.chatCompletion(messages, {
|
|
28907
|
-
maxTokens:
|
|
28913
|
+
maxTokens: maxCompletionTokens,
|
|
28908
28914
|
operation: "lcm-summarize",
|
|
28909
28915
|
priority: "background"
|
|
28910
28916
|
});
|
|
@@ -51106,7 +51112,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
51106
51112
|
}
|
|
51107
51113
|
}
|
|
51108
51114
|
if (sourceArchive.endsWith(".enc")) {
|
|
51109
|
-
const { isEncryptedCapsuleFile } = await import("./capsule-crypto-
|
|
51115
|
+
const { isEncryptedCapsuleFile } = await import("./capsule-crypto-GWVG7LGC.js");
|
|
51110
51116
|
const encDetected = await isEncryptedCapsuleFile(sourceArchive).catch(() => true);
|
|
51111
51117
|
if (encDetected) {
|
|
51112
51118
|
throw new Error(
|
|
@@ -51269,7 +51275,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
51269
51275
|
const { parseExportBundle } = await import("./transfer/types.js");
|
|
51270
51276
|
let decryptedBuf;
|
|
51271
51277
|
try {
|
|
51272
|
-
const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-
|
|
51278
|
+
const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-GWVG7LGC.js");
|
|
51273
51279
|
decryptedBuf = await decryptCapsuleFileInMemory(archivePath, memoryDir);
|
|
51274
51280
|
} catch (decErr) {
|
|
51275
51281
|
const msg = decErr instanceof Error ? decErr.message : String(decErr);
|
|
@@ -61537,6 +61543,15 @@ var AccessObserveWriteSurface = class {
|
|
|
61537
61543
|
codingContext: this.deps.orchestrator.getCodingContextForSession(request.sessionKey) ?? void 0,
|
|
61538
61544
|
abortSignal: observeAbortController.signal
|
|
61539
61545
|
};
|
|
61546
|
+
const clientIdempotencyKey = request.idempotencyKey?.trim();
|
|
61547
|
+
if (clientIdempotencyKey) {
|
|
61548
|
+
ingestOptions.bufferAdmissionIdempotencyKey = scopeObserveBufferAdmissionIdempotencyKey({
|
|
61549
|
+
sessionKey: request.sessionKey,
|
|
61550
|
+
writeNamespace,
|
|
61551
|
+
principal: principalOverride,
|
|
61552
|
+
clientKey: clientIdempotencyKey
|
|
61553
|
+
});
|
|
61554
|
+
}
|
|
61540
61555
|
if (request.authenticatedPrincipal !== void 0 && request.authenticatedPrincipal.trim().length > 0) {
|
|
61541
61556
|
ingestOptions.sessionOwnerPrincipal = request.authenticatedPrincipal.trim();
|
|
61542
61557
|
}
|
|
@@ -67507,4 +67522,4 @@ export {
|
|
|
67507
67522
|
EngramAccessService,
|
|
67508
67523
|
AccessAdminOpsSurface
|
|
67509
67524
|
};
|
|
67510
|
-
//# sourceMappingURL=chunk-
|
|
67525
|
+
//# sourceMappingURL=chunk-Z2OKWO35.js.map
|