@remnic/core 9.69.36 → 9.69.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-admin-ops-surface.d.ts +14 -12
- package/dist/access-admin-ops-surface.js +77 -74
- package/dist/access-authorization-probe.d.ts +14 -12
- package/dist/access-authorization-probe.js +78 -75
- package/dist/access-boundary.d.ts +14 -12
- package/dist/access-boundary.js +77 -74
- package/dist/access-cli.js +180 -170
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +2 -1
- package/dist/access-extraction-force-flush.d.ts +14 -12
- package/dist/access-extraction-force-flush.js +77 -74
- package/dist/access-health-types.d.ts +2 -1
- package/dist/access-http-briefing.d.ts +14 -12
- package/dist/access-http-briefing.js +78 -75
- package/dist/access-http-lcm-compaction.d.ts +14 -12
- package/dist/access-http-lifecycle-flush.d.ts +14 -12
- package/dist/access-http-offline-stream.d.ts +14 -12
- package/dist/access-http-query.d.ts +3 -2
- package/dist/access-http-query.js +79 -76
- package/dist/access-http.d.ts +15 -13
- package/dist/access-http.js +97 -94
- package/dist/access-identity-continuity-surface.d.ts +12 -10
- package/dist/access-identity-continuity-surface.js +77 -74
- package/dist/access-lcm-surface.d.ts +14 -12
- package/dist/access-lcm-surface.js +77 -74
- package/dist/access-mcp.d.ts +14 -12
- package/dist/access-mcp.js +86 -83
- package/dist/access-memory-search-fanout.d.ts +3 -2
- package/dist/{access-namespace-preflight-D8qri11P.d.ts → access-namespace-preflight-DY4z6L5X.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +4 -3
- package/dist/access-namespace-preflight.js +77 -74
- package/dist/access-observe-transcript.d.ts +12 -10
- package/dist/access-observe-write-category.d.ts +37 -0
- package/dist/access-observe-write-category.js +34 -0
- package/dist/access-observe-write-surface.d.ts +17 -15
- package/dist/access-observe-write-surface.js +77 -74
- package/dist/access-offline-manifest.d.ts +12 -10
- package/dist/access-offline-manifest.js +15 -15
- package/dist/access-operations-batch.js +80 -77
- package/dist/access-operations.d.ts +17 -30
- package/dist/access-operations.js +85 -82
- package/dist/access-recall-concurrency.d.ts +14 -12
- package/dist/access-recall-concurrency.js +77 -74
- package/dist/access-recall-response.d.ts +14 -12
- package/dist/access-recall-response.js +77 -74
- package/dist/access-recall-surface.d.ts +14 -12
- package/dist/access-recall-surface.js +77 -74
- package/dist/access-schema.d.ts +214 -111
- package/dist/access-schema.js +7 -13
- package/dist/{access-service-Cl_x57xR.d.ts → access-service-gBcdRUHY.d.ts} +101 -77
- package/dist/access-service-helpers.d.ts +14 -12
- package/dist/access-service.d.ts +14 -12
- package/dist/access-service.js +77 -74
- package/dist/access-surface-catalog.d.ts +14 -12
- package/dist/access-surface-catalog.js +79 -76
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-wearables-meetings-surface.d.ts +5 -3
- package/dist/action-confidence.d.ts +2 -1
- package/dist/active-memory-bridge.d.ts +2 -1
- package/dist/active-memory-bridge.js +3 -3
- package/dist/active-recall.d.ts +2 -1
- package/dist/active-recall.js +20 -16
- package/dist/active-recall.js.map +1 -1
- package/dist/activity/digest.d.ts +2 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/ambient-provenance.d.ts +2 -1
- package/dist/artifact-search.d.ts +2 -1
- package/dist/{auto-sync-4YFATLFQ.js → auto-sync-RP4C6ZPF.js} +12 -10
- package/dist/{auto-sync-4YFATLFQ.js.map → auto-sync-RP4C6ZPF.js.map} +1 -1
- package/dist/background-generation-config.d.ts +10 -0
- package/dist/background-generation-config.js +9 -0
- package/dist/background-generation.d.ts +25 -0
- package/dist/background-generation.js +11 -0
- package/dist/background-generation.js.map +1 -0
- package/dist/behavior-learner.d.ts +2 -1
- package/dist/behavior-signals.d.ts +2 -1
- package/dist/bootstrap.d.ts +12 -10
- package/dist/briefing-window.d.ts +3 -2
- package/dist/briefing.d.ts +3 -2
- package/dist/briefing.js +25 -24
- package/dist/buffer-surprise-report.d.ts +2 -1
- package/dist/buffer-turn-helpers.d.ts +2 -1
- package/dist/buffer.d.ts +3 -2
- package/dist/buffer.js +8 -8
- package/dist/bulk-import/index.d.ts +4 -3
- package/dist/calibration.d.ts +3 -1
- package/dist/calibration.js +5 -3
- package/dist/calibration.js.map +1 -1
- package/dist/capabilities.d.ts +2 -1
- package/dist/{capsule-merge-ZCXUPLNJ.js → capsule-merge-IPG4IOFP.js} +2 -2
- package/dist/{catalog-Bq1AxZwF.d.ts → catalog-CW87xGx8.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +2 -1
- package/dist/causal-behavior.js +2 -2
- package/dist/causal-chain.js +2 -2
- package/dist/causal-consolidation.d.ts +2 -1
- package/dist/causal-consolidation.js +27 -26
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/causal-retrieval.js +2 -2
- package/dist/causal-trajectory-graph.d.ts +2 -1
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-LO4UKPKX.js → chunk-27MKMTBY.js} +2 -2
- package/dist/{chunk-TK4FHQRN.js → chunk-2J3V5QEO.js} +4 -4
- package/dist/{chunk-DVOBLPSQ.js → chunk-2MT4ADLQ.js} +15 -39
- package/dist/chunk-2MT4ADLQ.js.map +1 -0
- package/dist/{chunk-JSRVXI6E.js → chunk-2OGTN37H.js} +10 -10
- package/dist/{chunk-DK4X5B6I.js → chunk-2PTNJTBE.js} +2 -2
- package/dist/chunk-2QG4SLZI.js +44 -0
- package/dist/chunk-2QG4SLZI.js.map +1 -0
- package/dist/{chunk-27IOSH2W.js → chunk-375ARKRS.js} +32 -11
- package/dist/chunk-375ARKRS.js.map +1 -0
- package/dist/{chunk-PWPIERBM.js → chunk-37CAEC7E.js} +4 -4
- package/dist/{chunk-S2ULTQZR.js → chunk-3N3PBBEH.js} +2 -2
- package/dist/{chunk-ZTG4P7NZ.js → chunk-3OYSIVOO.js} +168 -168
- package/dist/{chunk-ZBEGS7OB.js → chunk-474DL7UB.js} +3 -3
- package/dist/{chunk-YNN26CIZ.js → chunk-4B3HBIFX.js} +2 -2
- package/dist/{chunk-HC4GFLMQ.js → chunk-4BCHFSC7.js} +3 -3
- package/dist/{chunk-YEDVOYL2.js → chunk-4RX5O34R.js} +2 -2
- package/dist/{chunk-W6IJMWTZ.js → chunk-5AERZWJD.js} +2 -2
- package/dist/{chunk-XPJNT6PI.js → chunk-5N4MZLEH.js} +10 -6
- package/dist/chunk-5N4MZLEH.js.map +1 -0
- package/dist/{chunk-UBG4GAEP.js → chunk-5U7K4W6K.js} +6 -2
- package/dist/chunk-5U7K4W6K.js.map +1 -0
- package/dist/{chunk-PAAJWQH5.js → chunk-62D2PAAM.js} +4 -4
- package/dist/{chunk-JHZCXUQI.js → chunk-62QIQEUC.js} +157 -154
- package/dist/chunk-62QIQEUC.js.map +1 -0
- package/dist/{chunk-52II7PB6.js → chunk-645WOU5I.js} +4 -4
- package/dist/{chunk-326KUXIR.js → chunk-6EHM2AV7.js} +6 -6
- package/dist/{chunk-YM7YN37H.js → chunk-6ET2VII7.js} +2 -2
- package/dist/chunk-6H2G7RFT.js +58 -0
- package/dist/chunk-6H2G7RFT.js.map +1 -0
- package/dist/{chunk-A2YQL2FF.js → chunk-6P4REYKL.js} +5 -5
- package/dist/{chunk-FVJ4D6L7.js → chunk-6PRY6CLC.js} +4 -4
- package/dist/{chunk-GLZH5VEN.js → chunk-6ZMNTRU3.js} +2 -2
- package/dist/{chunk-Z7ACR6MJ.js → chunk-74AHCL56.js} +3 -3
- package/dist/{chunk-5VAF4ID4.js → chunk-7S53BPTU.js} +25 -25
- package/dist/{chunk-EEBQFG5E.js → chunk-A6CKMIPK.js} +14 -14
- package/dist/chunk-A6CXG5WI.js +51 -0
- package/dist/chunk-A6CXG5WI.js.map +1 -0
- package/dist/{chunk-JR6PP7UM.js → chunk-ACY4ZPF7.js} +28 -2
- package/dist/chunk-ACY4ZPF7.js.map +1 -0
- package/dist/{chunk-2YLMUME2.js → chunk-AECJY3GJ.js} +2 -2
- package/dist/{chunk-NPNSKE76.js → chunk-B36GUU6T.js} +4 -4
- package/dist/{chunk-Y63ZFP4X.js → chunk-BJEJUOGM.js} +2 -2
- package/dist/{chunk-7CBKAQIG.js → chunk-BOADKFN4.js} +28 -4
- package/dist/chunk-BOADKFN4.js.map +1 -0
- package/dist/{chunk-TLHNF6GA.js → chunk-BV4ZKIZH.js} +1 -1
- package/dist/{chunk-3FJKJ5UZ.js → chunk-BX4EOMKT.js} +2 -2
- package/dist/{chunk-6J6K3STG.js → chunk-BYZKLEWG.js} +15 -12
- package/dist/chunk-BYZKLEWG.js.map +1 -0
- package/dist/{chunk-BJETIR53.js → chunk-CBFYCDYO.js} +3 -3
- package/dist/{chunk-ZWEZXVYH.js → chunk-CEO4DONG.js} +2 -2
- package/dist/chunk-CWTCMZGE.js +858 -0
- package/dist/chunk-CWTCMZGE.js.map +1 -0
- package/dist/{chunk-WPDKBUWX.js → chunk-DPMTLJCT.js} +2 -2
- package/dist/{chunk-65RENJGB.js → chunk-E2AWJ7KQ.js} +8 -4
- package/dist/chunk-E2AWJ7KQ.js.map +1 -0
- package/dist/{chunk-LYDJRF45.js → chunk-EY5JAWZC.js} +2 -2
- package/dist/{chunk-R4OCGPSH.js → chunk-FJMYMJLR.js} +2 -2
- package/dist/{chunk-OS2AT2JU.js → chunk-G43PMSME.js} +27 -10
- package/dist/chunk-G43PMSME.js.map +1 -0
- package/dist/{chunk-YXLUTALO.js → chunk-GAS7KYC7.js} +5 -5
- package/dist/{chunk-LSLCFCCQ.js → chunk-GDYU6VF4.js} +1 -1
- package/dist/chunk-GDYU6VF4.js.map +1 -0
- package/dist/{chunk-UDZYNIDJ.js → chunk-GGAXFTNH.js} +2 -2
- package/dist/{chunk-QURNMKME.js → chunk-GQQVEH6V.js} +6 -6
- package/dist/{chunk-J7PB5UQ4.js → chunk-GT4ZHOKT.js} +3 -3
- package/dist/{chunk-WIKO4SCR.js → chunk-H3TKENU4.js} +5 -5
- package/dist/{chunk-ZLN7AROH.js → chunk-HIP6DKJJ.js} +5 -5
- package/dist/{chunk-UYUCCQ46.js → chunk-HVS7TH2Y.js} +2 -2
- package/dist/{chunk-Z3O53WZR.js → chunk-IWO6QXWJ.js} +2 -2
- package/dist/{chunk-4MDKNUV4.js → chunk-IYKZJVL5.js} +1 -1
- package/dist/chunk-IYKZJVL5.js.map +1 -0
- package/dist/{chunk-42DJ235G.js → chunk-J272ODKJ.js} +2 -2
- package/dist/{chunk-JR6H5CYS.js → chunk-JA2QJOAX.js} +2 -2
- package/dist/{chunk-R3TLVTWW.js → chunk-JDX2OA4R.js} +3 -3
- package/dist/chunk-JE26AUX6.js +16 -0
- package/dist/chunk-JE26AUX6.js.map +1 -0
- package/dist/{chunk-AJTG3CP7.js → chunk-JHU4EYDV.js} +11 -1
- package/dist/chunk-JHU4EYDV.js.map +1 -0
- package/dist/{chunk-HXSAWV3A.js → chunk-JNSENHV5.js} +6 -6
- package/dist/{chunk-RRZKTSFG.js → chunk-JPOX2AJB.js} +2 -2
- package/dist/{chunk-TKFSXDOB.js → chunk-K5DA5TRG.js} +9 -9
- package/dist/{chunk-AZSKROVQ.js → chunk-KDFDXEXZ.js} +2 -2
- package/dist/{chunk-AKE4GGQ3.js → chunk-KQW3YGEN.js} +2 -2
- package/dist/{chunk-B3O3IRZN.js → chunk-L63GFNKL.js} +1 -1
- package/dist/{chunk-YEN4TREG.js → chunk-LQNRVPTV.js} +54 -567
- package/dist/chunk-LQNRVPTV.js.map +1 -0
- package/dist/{chunk-YJ6VCDMZ.js → chunk-M6HBPLBA.js} +2 -2
- package/dist/chunk-MCRVQ5YQ.js +14 -0
- package/dist/chunk-MCRVQ5YQ.js.map +1 -0
- package/dist/{chunk-L2WQVSKP.js → chunk-MLWMR2GE.js} +2 -2
- package/dist/{chunk-WHHEPAO3.js → chunk-NWMUSKED.js} +8 -8
- package/dist/chunk-OEBLZZKK.js +53 -0
- package/dist/chunk-OEBLZZKK.js.map +1 -0
- package/dist/{chunk-JRWW7GM6.js → chunk-OKO57IXB.js} +7 -7
- package/dist/{chunk-L2QLDZJC.js → chunk-P4ZAEYKG.js} +67 -33
- package/dist/chunk-P4ZAEYKG.js.map +1 -0
- package/dist/{chunk-MPAJFFP3.js → chunk-PGAB2V53.js} +5 -5
- package/dist/{chunk-MPAJFFP3.js.map → chunk-PGAB2V53.js.map} +1 -1
- package/dist/{chunk-VYXDUPYE.js → chunk-PPQEP4OH.js} +2 -2
- package/dist/{chunk-LEMD7WZJ.js → chunk-QHT7MOUF.js} +70 -25
- package/dist/chunk-QHT7MOUF.js.map +1 -0
- package/dist/chunk-QJ2AX6DU.js +19 -0
- package/dist/chunk-QJ2AX6DU.js.map +1 -0
- package/dist/{chunk-Q4AUIFUA.js → chunk-QMWKENNK.js} +4 -4
- package/dist/{chunk-XCOV45MO.js → chunk-R4VAUNNC.js} +3 -3
- package/dist/{chunk-353KGBKY.js → chunk-RW4QNB4J.js} +4 -4
- package/dist/{chunk-FQXJAC3T.js → chunk-SGUDMW2K.js} +4 -4
- package/dist/{chunk-S5G2LAL7.js → chunk-SV4Z2S67.js} +4 -4
- package/dist/{chunk-HUT2JR6I.js → chunk-T32B72QX.js} +3 -3
- package/dist/{chunk-OQ7SSRXP.js → chunk-TRHBQVVO.js} +23 -17
- package/dist/chunk-TRHBQVVO.js.map +1 -0
- package/dist/{chunk-LMCD5W5B.js → chunk-TRLOFIQC.js} +2 -2
- package/dist/{chunk-JZ2CHRLB.js → chunk-TTSJ7WUC.js} +2 -2
- package/dist/{chunk-CNV2A557.js → chunk-TUKGXQ5T.js} +3 -3
- package/dist/{chunk-QATYVTP7.js → chunk-UIOIDW3L.js} +2 -2
- package/dist/{chunk-776GVKL7.js → chunk-ULDBGA5W.js} +2 -2
- package/dist/{chunk-NN4JEFON.js → chunk-UQNYPK7G.js} +3 -3
- package/dist/{chunk-A5UQ52YQ.js → chunk-UZZ7SQT3.js} +5 -5
- package/dist/{chunk-F6IVBYFS.js → chunk-V6G2PSXA.js} +72 -72
- package/dist/{chunk-RUXPVSML.js → chunk-VHOSM5G4.js} +6 -6
- package/dist/{chunk-QBLDCI6E.js → chunk-VMNCZ627.js} +2 -2
- package/dist/{chunk-P3ONDDIJ.js → chunk-VV4ZVUE6.js} +2 -2
- package/dist/{chunk-A7GQBJP5.js → chunk-X2NFFBTO.js} +4 -4
- package/dist/{chunk-ECKG5WSI.js → chunk-XGRXQR6T.js} +2 -2
- package/dist/{chunk-LNDLXMH6.js → chunk-XN6XT6GR.js} +3 -3
- package/dist/{chunk-C6KRO3SU.js → chunk-XVDZFTN5.js} +4 -4
- package/dist/chunk-XVZA6VXC.js +160 -0
- package/dist/chunk-XVZA6VXC.js.map +1 -0
- package/dist/{chunk-2BQ4ZIWC.js → chunk-XWLLFKHM.js} +8 -8
- package/dist/chunk-YFTNZMGR.js +71 -0
- package/dist/chunk-YFTNZMGR.js.map +1 -0
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-BNGHPYZU.js → chunk-YUW66UAH.js} +3 -3
- package/dist/{chunk-5JG5EBVL.js → chunk-ZEGL7YCC.js} +2 -2
- package/dist/{chunk-PHP3MUGF.js → chunk-ZKZFFWLV.js} +2 -2
- package/dist/{chunk-GCBIXUPT.js → chunk-ZMWSYUUL.js} +2 -2
- package/dist/{chunk-X2QPKLPL.js → chunk-ZZUVBZL2.js} +2 -2
- package/dist/{cli-p813oxbm.d.ts → cli-BNg-TAlz.d.ts} +5 -5
- package/dist/cli-fallback.d.ts +4 -2
- package/dist/cli-fallback.js +3 -1
- package/dist/cli.d.ts +16 -14
- package/dist/cli.js +125 -119
- package/dist/coding/export-okf-codegraph.d.ts +2 -1
- package/dist/coding/export-okf-codegraph.js +24 -23
- package/dist/coding/export-okf-codegraph.js.map +1 -1
- package/dist/coding/pre-action-gate.d.ts +2 -1
- package/dist/coding/pre-action-gate.js +2 -2
- package/dist/compat/codex-cli-fallback.d.ts +1 -1
- package/dist/compat/codex-cli-fallback.js +3 -1
- package/dist/compat/codex-cli-fallback.js.map +1 -1
- package/dist/compounding/engine.d.ts +3 -2
- package/dist/compounding/engine.js +25 -24
- package/dist/compounding/preference-consolidator.d.ts +2 -1
- package/dist/compression-optimizer.d.ts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/config.js +18 -14
- package/dist/connectors/codex-materialize-runner.d.ts +2 -1
- package/dist/connectors/codex-materialize-runner.js +24 -23
- package/dist/connectors/codex-materialize.d.ts +2 -1
- package/dist/connectors/index.d.ts +2 -1
- package/dist/connectors/index.js +27 -26
- package/dist/consolidation-provenance-check.d.ts +3 -2
- package/dist/consolidation-undo.d.ts +3 -2
- package/dist/contradiction/index.d.ts +5 -3
- package/dist/contradiction/index.js +7 -7
- package/dist/{contradiction-scan-GVD4JJ7B.js → contradiction-scan-BSGKZHYJ.js} +4 -4
- package/dist/contradiction-scan-BSGKZHYJ.js.map +1 -0
- package/dist/converge-config.d.ts +2 -1
- package/dist/convergence-refresh.d.ts +3 -2
- package/dist/convergence-refresh.js +27 -26
- package/dist/conversation-index/backend.d.ts +2 -1
- package/dist/conversation-index/chunker.d.ts +2 -1
- package/dist/conversation-index/faiss-adapter.d.ts +2 -1
- package/dist/conversation-index/indexer.d.ts +2 -1
- package/dist/conversation-index/search.d.ts +2 -1
- package/dist/corpus-watermark.d.ts +2 -1
- package/dist/corpus-watermark.js +27 -26
- package/dist/cross-lingual-recall.d.ts +2 -1
- package/dist/dashboard-runtime.js +2 -2
- package/dist/day-summary.d.ts +2 -1
- package/dist/deep-recall-http-glue.d.ts +14 -12
- package/dist/deep-recall-http-glue.js +2 -12
- package/dist/deep-recall-mcp-tools.d.ts +14 -12
- package/dist/deep-recall-policy-llm.d.ts +3 -1
- package/dist/deep-recall-policy-llm.js +5 -3
- package/dist/deep-recall-seeds.d.ts +2 -1
- package/dist/deep-recall.js +2 -2
- package/dist/delinearize.d.ts +2 -1
- package/dist/dependency-propagation-config.d.ts +2 -1
- package/dist/{dependency-propagation-delivery-DLiAtj25.d.ts → dependency-propagation-delivery-Cq1ekOwV.d.ts} +1 -1
- package/dist/direct-answer-wiring.d.ts +2 -1
- package/dist/direct-answer.d.ts +2 -1
- package/dist/embedding-fallback.d.ts +2 -1
- package/dist/enrichment/index.d.ts +2 -1
- package/dist/entity-origin-fields.d.ts +2 -1
- package/dist/entity-retrieval.d.ts +3 -2
- package/dist/entity-retrieval.js +26 -25
- package/dist/entity-schema.d.ts +2 -1
- package/dist/episodic-context.d.ts +2 -1
- package/dist/eval-trajectory-contracts.d.ts +2 -1
- package/dist/eval-trajectory-store.d.ts +2 -1
- package/dist/eval-trajectory.d.ts +2 -1
- package/dist/event-order-recall.js +3 -3
- package/dist/explicit-capture.d.ts +12 -10
- package/dist/explicit-capture.js +6 -6
- package/dist/external-wiki-access.d.ts +14 -12
- package/dist/external-wiki-access.js +78 -75
- package/dist/external-wiki-collection-registration.d.ts +2 -1
- package/dist/external-wiki-collection.d.ts +2 -1
- package/dist/external-wiki-mcp-tools.d.ts +14 -12
- package/dist/extraction-error-classification.d.ts +2 -1
- package/dist/extraction-faithfulness.d.ts +3 -1
- package/dist/extraction-faithfulness.js +5 -3
- package/dist/extraction-judge-telemetry.d.ts +3 -1
- package/dist/extraction-judge-training.d.ts +3 -1
- package/dist/extraction-judge.d.ts +3 -1
- package/dist/extraction-judge.js +6 -4
- package/dist/extraction-liveness.d.ts +2 -1
- package/dist/extraction-normalization.d.ts +2 -1
- package/dist/extraction-normalization.js +2 -2
- package/dist/extraction-prompt.d.ts +12 -2
- package/dist/extraction-prompt.js +7 -3
- package/dist/extraction-source-grounding-rules.d.ts +4 -2
- package/dist/extraction-source-grounding-rules.js +1 -1
- package/dist/extraction-source-grounding.d.ts +3 -2
- package/dist/extraction-source-grounding.js +4 -4
- package/dist/extraction-span-config.d.ts +16 -0
- package/dist/extraction-span-config.js +15 -0
- package/dist/extraction-span-config.js.map +1 -0
- package/dist/extraction-span-materialize.d.ts +106 -0
- package/dist/extraction-span-materialize.js +30 -0
- package/dist/extraction-span-materialize.js.map +1 -0
- package/dist/extraction-span-slice.js +3 -12
- package/dist/extraction-span-slice.js.map +1 -1
- package/dist/extraction-span-source-hash.js +4 -46
- package/dist/extraction-span-source-hash.js.map +1 -1
- package/dist/extraction-span-validate.js +3 -15
- package/dist/extraction-span-validate.js.map +1 -1
- package/dist/extraction.d.ts +8 -1
- package/dist/extraction.js +48 -43
- package/dist/fallback-llm-codex-subscription.d.ts +79 -0
- package/dist/fallback-llm-codex-subscription.js +22 -0
- package/dist/fallback-llm-codex-subscription.js.map +1 -0
- package/dist/fallback-llm.d.ts +5 -1
- package/dist/fallback-llm.js +4 -2
- package/dist/{first-start-migration-L3UFX5CU.js → first-start-migration-ZWMV5CX4.js} +4 -4
- package/dist/{generic-recall-paths-DbitKJI5.d.ts → generic-recall-paths-BcySh_f9.d.ts} +1 -1
- package/dist/graph-append-error.d.ts +2 -1
- package/dist/graph-dashboard-diff.d.ts +2 -1
- package/dist/graph-dashboard-key.d.ts +2 -1
- package/dist/graph-dashboard-parser.d.ts +2 -1
- package/dist/graph-edge-reinforcement.d.ts +2 -1
- package/dist/graph-jsonl.d.ts +2 -1
- package/dist/graph-path-reconstruction.d.ts +2 -1
- package/dist/graph-path-scoring.d.ts +2 -1
- package/dist/graph-snapshot.d.ts +2 -1
- package/dist/graph.d.ts +2 -1
- package/dist/harmonic-retrieval.js +3 -3
- package/dist/importance.d.ts +2 -1
- package/dist/importers/index.d.ts +2 -1
- package/dist/importers/test-utils.d.ts +2 -1
- package/dist/in-flight-reads.d.ts +2 -1
- package/dist/{index-BINUgPFo.d.ts → index-DWOb4wz9.d.ts} +2 -2
- package/dist/index.d.ts +712 -704
- package/dist/index.js +368 -299
- package/dist/intent.d.ts +2 -1
- package/dist/lcm/engine.d.ts +2 -1
- package/dist/lcm/engine.js +2 -2
- package/dist/lcm/index.d.ts +2 -1
- package/dist/lcm/index.js +7 -7
- package/dist/lcm/tools.d.ts +2 -1
- package/dist/lifecycle.d.ts +2 -1
- package/dist/live-connectors-runner.d.ts +2 -1
- package/dist/local-llm-config.d.ts +7 -1
- package/dist/local-llm-config.js +12 -0
- package/dist/local-llm.d.ts +2 -1
- package/dist/local-model-endpoint.d.ts +2 -1
- package/dist/location/index.d.ts +4 -3
- package/dist/location/index.js +60 -59
- package/dist/maintenance/memory-governance.d.ts +2 -1
- package/dist/maintenance/memory-governance.js +24 -23
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +25 -24
- package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
- package/dist/maintenance/rebuild-memory-projection.js +26 -25
- package/dist/{maintenance-ag1gYztC.d.ts → maintenance-CW9wCzMP.d.ts} +3 -3
- package/dist/mcp-memory-inspector-app.d.ts +14 -12
- package/dist/memory-action-policy.d.ts +2 -1
- package/dist/memory-cache.d.ts +2 -1
- package/dist/memory-controller.d.ts +2 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +2 -1
- package/dist/memory-projection-store.d.ts +2 -1
- package/dist/memory-provenance.d.ts +2 -1
- package/dist/memory-snapshot.d.ts +2 -1
- package/dist/memory-subject-cli.d.ts +14 -12
- package/dist/memory-subject.d.ts +14 -12
- package/dist/memory-worth-outcomes.d.ts +3 -2
- package/dist/models-json.d.ts +2 -1
- package/dist/namespaces/migrate.d.ts +4 -3
- package/dist/namespaces/migrate.js +25 -24
- package/dist/namespaces/principal.d.ts +2 -1
- package/dist/namespaces/search.d.ts +2 -1
- package/dist/namespaces/search.js +4 -4
- package/dist/namespaces/storage.d.ts +4 -3
- package/dist/namespaces/storage.js +24 -23
- package/dist/native-knowledge.d.ts +2 -1
- package/dist/offline-sync-impression-drain.d.ts +2 -1
- package/dist/offline-sync-impression-drain.js +4 -4
- package/dist/operator-doctor-corpus.d.ts +2 -1
- package/dist/operator-doctor-corpus.js +28 -27
- package/dist/operator-doctor-replica.d.ts +2 -1
- package/dist/operator-toolkit.d.ts +4 -3
- package/dist/operator-toolkit.js +49 -44
- package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
- package/dist/orchestration/maintenance.d.ts +5 -4
- package/dist/orchestration/maintenance.js +37 -36
- package/dist/{orchestrator-Cf3G-3Ed.d.ts → orchestrator-DocO0_hw.d.ts} +9 -9
- package/dist/orchestrator.d.ts +12 -10
- package/dist/orchestrator.js +208 -198
- package/dist/patterns-cli.d.ts +2 -1
- package/dist/{pipeline-AwB03fw_.d.ts → pipeline-CiYcqqhl.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +2 -1
- package/dist/proactive-contention.d.ts +2 -1
- package/dist/provenance.d.ts +2 -1
- package/dist/provenance.js +2 -2
- package/dist/{public-http-C3bLjE-L.d.ts → public-http-C0FoTiL_.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +3 -2
- package/dist/{qmd-Bfaydrfm.d.ts → qmd-qXD4vatU.d.ts} +1 -1
- package/dist/qmd-recall-cache.d.ts +2 -1
- package/dist/qmd.d.ts +3 -2
- package/dist/recall-concurrency-config.d.ts +2 -1
- package/dist/recall-disclosure-escalation.d.ts +2 -1
- package/dist/recall-explain-renderer.d.ts +2 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +2 -1
- package/dist/recall-navigate-access.d.ts +2 -1
- package/dist/recall-navigate-access.js +2 -2
- package/dist/recall-navigate-disclosure.d.ts +2 -1
- package/dist/recall-navigate-disclosure.js +1 -1
- package/dist/recall-navigate.d.ts +2 -1
- package/dist/recall-navigate.js +2 -2
- package/dist/recall-planner-llm.d.ts +3 -1
- package/dist/recall-planner-llm.js +4 -2
- package/dist/recall-planner-llm.js.map +1 -1
- package/dist/recall-state-view-admission.d.ts +3 -2
- package/dist/recall-state-view-admission.js +6 -6
- package/dist/recall-state.d.ts +2 -1
- package/dist/recall-tag-filter.d.ts +2 -1
- package/dist/recall-timings.d.ts +2 -1
- package/dist/recall-xray-cli.d.ts +2 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +2 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +2 -1
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/cursor.d.ts +2 -1
- package/dist/reconcile/cursor.js +2 -2
- package/dist/reconcile/manifest.d.ts +12 -2
- package/dist/reconcile/manifest.js +8 -6
- package/dist/reconcile/plan.d.ts +2 -1
- package/dist/reconcile/plan.js +2 -2
- package/dist/replay/normalizers/chatgpt.d.ts +2 -1
- package/dist/replay/normalizers/claude.d.ts +2 -1
- package/dist/replay/normalizers/openclaw.d.ts +2 -1
- package/dist/replay/normalizers/shared.d.ts +2 -1
- package/dist/replay/runner.d.ts +2 -1
- package/dist/replay/types.d.ts +2 -1
- package/dist/replica-divergence.d.ts +2 -1
- package/dist/replica-peers-config.d.ts +2 -1
- package/dist/{resolution-OHJZG45O.js → resolution-4GG3QZRJ.js} +8 -8
- package/dist/resolution-4GG3QZRJ.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +2 -1
- package/dist/resume-bundles.js +19 -15
- package/dist/retrieval-agents.d.ts +3 -2
- package/dist/retrieval-tiers.d.ts +2 -1
- package/dist/routing/engine.d.ts +2 -1
- package/dist/routing/store.d.ts +2 -1
- package/dist/salvage-envelope.d.ts +2 -1
- package/dist/salvage-envelope.js +2 -2
- package/dist/schemas.d.ts +370 -160
- package/dist/schemas.js +1 -1
- package/dist/{scope-profiles-nxTKvjE-.d.ts → scope-profiles-BT9rqC3w.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +2 -1
- package/dist/search/factory.d.ts +2 -1
- package/dist/search/factory.js +3 -3
- package/dist/search/index.d.ts +2 -1
- package/dist/search/index.js +7 -7
- package/dist/search/lancedb-backend.d.ts +2 -1
- package/dist/search/meilisearch-backend.d.ts +2 -1
- package/dist/search/noop-backend.d.ts +2 -1
- package/dist/search/orama-backend.d.ts +2 -1
- package/dist/search/port.d.ts +2 -1
- package/dist/search/remote-backend.d.ts +2 -1
- package/dist/{semantic-consolidation-C83DVakV.d.ts → semantic-consolidation-CmZi7thY.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +3 -2
- package/dist/semantic-consolidation.js +25 -24
- package/dist/semantic-rule-promotion.js +24 -23
- package/dist/semantic-rule-verifier.d.ts +2 -1
- package/dist/semantic-rule-verifier.js +24 -23
- package/dist/{service-q-xtOoAr.d.ts → service-CLkA7AQB.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +2 -1
- package/dist/session-observer-state.d.ts +2 -1
- package/dist/shared-context/manager.d.ts +8 -7
- package/dist/signal.d.ts +2 -1
- package/dist/source-agent-qualifier.d.ts +2 -1
- package/dist/source-agent-qualifier.js +40 -39
- package/dist/standup/build.js +25 -24
- package/dist/{storage-Ca0MbTfm.d.ts → storage-wvX01lht.d.ts} +1 -1
- package/dist/storage.d.ts +3 -2
- package/dist/storage.js +23 -22
- package/dist/subject-config.d.ts +2 -1
- package/dist/subject-config.js +2 -2
- package/dist/summarizer.d.ts +2 -1
- package/dist/summarizer.js +6 -3
- package/dist/summary-snapshot.d.ts +2 -1
- package/dist/support-passport/index.d.ts +17 -15
- package/dist/support-passport/index.js +83 -80
- package/dist/temporal-supersession.d.ts +3 -2
- package/dist/temporal-timeline-recall.d.ts +2 -1
- package/dist/temporal-validity.d.ts +2 -1
- package/dist/threading.d.ts +2 -1
- package/dist/tier-migration.d.ts +3 -2
- package/dist/tier-routing.d.ts +2 -1
- package/dist/tier-routing.js +3 -3
- package/dist/{tier-stats-VK5PCO2L.js → tier-stats-LUSUUNU6.js} +4 -4
- package/dist/topics.d.ts +2 -1
- package/dist/transcript.d.ts +2 -1
- package/dist/transfer/capsule-import.js +1 -1
- package/dist/transfer/export-okf.d.ts +2 -1
- package/dist/transfer/export-okf.js +24 -23
- package/dist/transfer/types.d.ts +98 -98
- package/dist/trust-score-stage.d.ts +2 -1
- package/dist/trust-score.d.ts +2 -1
- package/dist/{types-yDgWDkrJ.d.ts → types-Cyr32ABj.d.ts} +51 -10
- package/dist/types.d.ts +2 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +2 -1
- package/dist/verified-recall.js +24 -23
- package/dist/who-knows-cli.d.ts +14 -12
- package/dist/who-knows-cli.js +25 -24
- package/dist/who-knows.d.ts +14 -12
- package/dist/who-knows.js +24 -23
- package/dist/write-envelope.d.ts +7 -1
- package/dist/write-envelope.js +1 -1
- package/package.json +42 -2
- package/src/access-boundary.ts +21 -6
- package/src/access-category-alias.test.ts +488 -51
- package/src/access-http.test.ts +292 -5
- package/src/access-http.ts +4 -0
- package/src/access-mcp.test.ts +2 -2
- package/src/access-observe-write-category.ts +25 -0
- package/src/access-observe-write-surface.ts +58 -57
- package/src/access-operations-batch.ts +28 -2
- package/src/access-operations.ts +6 -4
- package/src/access-schema.ts +106 -50
- package/src/access-service.ts +23 -9
- package/src/background-generation-config.ts +79 -0
- package/src/background-generation.test.ts +123 -0
- package/src/background-generation.ts +52 -0
- package/src/cli-fallback.ts +8 -2
- package/src/config.test.ts +172 -0
- package/src/config.ts +4 -45
- package/src/extraction-prompt.ts +37 -3
- package/src/extraction-source-grounding-rules.ts +46 -9
- package/src/extraction-source-grounding.ts +2 -1
- package/src/extraction-span-config.ts +81 -0
- package/src/extraction-span-materialize.test.ts +376 -0
- package/src/extraction-span-materialize.ts +241 -0
- package/src/extraction.ts +70 -25
- package/src/fallback-llm-codex-subscription.ts +168 -0
- package/src/fallback-llm.test.ts +46 -0
- package/src/fallback-llm.ts +60 -48
- package/src/index.ts +2 -16
- package/src/local-llm-config.ts +84 -0
- package/src/providers/codex-subscription.test.ts +804 -1
- package/src/providers/codex-subscription.ts +407 -65
- package/src/reconcile/manifest.test.ts +11 -1
- package/src/reconcile/manifest.ts +12 -0
- package/src/schemas.ts +14 -0
- package/src/source-agent-qualifier.ts +5 -1
- package/src/summarizer.ts +25 -0
- package/src/testing/subjects/extraction-lifecycle.test.ts +27 -10
- package/src/types.ts +12 -11
- package/src/write-envelope.ts +5 -0
- package/dist/chunk-27IOSH2W.js.map +0 -1
- package/dist/chunk-4MDKNUV4.js.map +0 -1
- package/dist/chunk-65RENJGB.js.map +0 -1
- package/dist/chunk-6J6K3STG.js.map +0 -1
- package/dist/chunk-7CBKAQIG.js.map +0 -1
- package/dist/chunk-AJTG3CP7.js.map +0 -1
- package/dist/chunk-DVOBLPSQ.js.map +0 -1
- package/dist/chunk-JHZCXUQI.js.map +0 -1
- package/dist/chunk-JR6PP7UM.js.map +0 -1
- package/dist/chunk-L2QLDZJC.js.map +0 -1
- package/dist/chunk-LEMD7WZJ.js.map +0 -1
- package/dist/chunk-LSLCFCCQ.js.map +0 -1
- package/dist/chunk-OQ7SSRXP.js.map +0 -1
- package/dist/chunk-OS2AT2JU.js.map +0 -1
- package/dist/chunk-UBG4GAEP.js.map +0 -1
- package/dist/chunk-XPJNT6PI.js.map +0 -1
- package/dist/chunk-YEN4TREG.js.map +0 -1
- /package/dist/{contradiction-scan-GVD4JJ7B.js.map → access-observe-write-category.js.map} +0 -0
- /package/dist/{resolution-OHJZG45O.js.map → background-generation-config.js.map} +0 -0
- /package/dist/{capsule-merge-ZCXUPLNJ.js.map → capsule-merge-IPG4IOFP.js.map} +0 -0
- /package/dist/{chunk-LO4UKPKX.js.map → chunk-27MKMTBY.js.map} +0 -0
- /package/dist/{chunk-TK4FHQRN.js.map → chunk-2J3V5QEO.js.map} +0 -0
- /package/dist/{chunk-JSRVXI6E.js.map → chunk-2OGTN37H.js.map} +0 -0
- /package/dist/{chunk-DK4X5B6I.js.map → chunk-2PTNJTBE.js.map} +0 -0
- /package/dist/{chunk-PWPIERBM.js.map → chunk-37CAEC7E.js.map} +0 -0
- /package/dist/{chunk-S2ULTQZR.js.map → chunk-3N3PBBEH.js.map} +0 -0
- /package/dist/{chunk-ZTG4P7NZ.js.map → chunk-3OYSIVOO.js.map} +0 -0
- /package/dist/{chunk-ZBEGS7OB.js.map → chunk-474DL7UB.js.map} +0 -0
- /package/dist/{chunk-YNN26CIZ.js.map → chunk-4B3HBIFX.js.map} +0 -0
- /package/dist/{chunk-HC4GFLMQ.js.map → chunk-4BCHFSC7.js.map} +0 -0
- /package/dist/{chunk-YEDVOYL2.js.map → chunk-4RX5O34R.js.map} +0 -0
- /package/dist/{chunk-W6IJMWTZ.js.map → chunk-5AERZWJD.js.map} +0 -0
- /package/dist/{chunk-PAAJWQH5.js.map → chunk-62D2PAAM.js.map} +0 -0
- /package/dist/{chunk-52II7PB6.js.map → chunk-645WOU5I.js.map} +0 -0
- /package/dist/{chunk-326KUXIR.js.map → chunk-6EHM2AV7.js.map} +0 -0
- /package/dist/{chunk-YM7YN37H.js.map → chunk-6ET2VII7.js.map} +0 -0
- /package/dist/{chunk-A2YQL2FF.js.map → chunk-6P4REYKL.js.map} +0 -0
- /package/dist/{chunk-FVJ4D6L7.js.map → chunk-6PRY6CLC.js.map} +0 -0
- /package/dist/{chunk-GLZH5VEN.js.map → chunk-6ZMNTRU3.js.map} +0 -0
- /package/dist/{chunk-Z7ACR6MJ.js.map → chunk-74AHCL56.js.map} +0 -0
- /package/dist/{chunk-5VAF4ID4.js.map → chunk-7S53BPTU.js.map} +0 -0
- /package/dist/{chunk-EEBQFG5E.js.map → chunk-A6CKMIPK.js.map} +0 -0
- /package/dist/{chunk-2YLMUME2.js.map → chunk-AECJY3GJ.js.map} +0 -0
- /package/dist/{chunk-NPNSKE76.js.map → chunk-B36GUU6T.js.map} +0 -0
- /package/dist/{chunk-Y63ZFP4X.js.map → chunk-BJEJUOGM.js.map} +0 -0
- /package/dist/{chunk-TLHNF6GA.js.map → chunk-BV4ZKIZH.js.map} +0 -0
- /package/dist/{chunk-3FJKJ5UZ.js.map → chunk-BX4EOMKT.js.map} +0 -0
- /package/dist/{chunk-BJETIR53.js.map → chunk-CBFYCDYO.js.map} +0 -0
- /package/dist/{chunk-ZWEZXVYH.js.map → chunk-CEO4DONG.js.map} +0 -0
- /package/dist/{chunk-WPDKBUWX.js.map → chunk-DPMTLJCT.js.map} +0 -0
- /package/dist/{chunk-LYDJRF45.js.map → chunk-EY5JAWZC.js.map} +0 -0
- /package/dist/{chunk-R4OCGPSH.js.map → chunk-FJMYMJLR.js.map} +0 -0
- /package/dist/{chunk-YXLUTALO.js.map → chunk-GAS7KYC7.js.map} +0 -0
- /package/dist/{chunk-UDZYNIDJ.js.map → chunk-GGAXFTNH.js.map} +0 -0
- /package/dist/{chunk-QURNMKME.js.map → chunk-GQQVEH6V.js.map} +0 -0
- /package/dist/{chunk-J7PB5UQ4.js.map → chunk-GT4ZHOKT.js.map} +0 -0
- /package/dist/{chunk-WIKO4SCR.js.map → chunk-H3TKENU4.js.map} +0 -0
- /package/dist/{chunk-ZLN7AROH.js.map → chunk-HIP6DKJJ.js.map} +0 -0
- /package/dist/{chunk-UYUCCQ46.js.map → chunk-HVS7TH2Y.js.map} +0 -0
- /package/dist/{chunk-Z3O53WZR.js.map → chunk-IWO6QXWJ.js.map} +0 -0
- /package/dist/{chunk-42DJ235G.js.map → chunk-J272ODKJ.js.map} +0 -0
- /package/dist/{chunk-JR6H5CYS.js.map → chunk-JA2QJOAX.js.map} +0 -0
- /package/dist/{chunk-R3TLVTWW.js.map → chunk-JDX2OA4R.js.map} +0 -0
- /package/dist/{chunk-HXSAWV3A.js.map → chunk-JNSENHV5.js.map} +0 -0
- /package/dist/{chunk-RRZKTSFG.js.map → chunk-JPOX2AJB.js.map} +0 -0
- /package/dist/{chunk-TKFSXDOB.js.map → chunk-K5DA5TRG.js.map} +0 -0
- /package/dist/{chunk-AZSKROVQ.js.map → chunk-KDFDXEXZ.js.map} +0 -0
- /package/dist/{chunk-AKE4GGQ3.js.map → chunk-KQW3YGEN.js.map} +0 -0
- /package/dist/{chunk-B3O3IRZN.js.map → chunk-L63GFNKL.js.map} +0 -0
- /package/dist/{chunk-YJ6VCDMZ.js.map → chunk-M6HBPLBA.js.map} +0 -0
- /package/dist/{chunk-L2WQVSKP.js.map → chunk-MLWMR2GE.js.map} +0 -0
- /package/dist/{chunk-WHHEPAO3.js.map → chunk-NWMUSKED.js.map} +0 -0
- /package/dist/{chunk-JRWW7GM6.js.map → chunk-OKO57IXB.js.map} +0 -0
- /package/dist/{chunk-VYXDUPYE.js.map → chunk-PPQEP4OH.js.map} +0 -0
- /package/dist/{chunk-Q4AUIFUA.js.map → chunk-QMWKENNK.js.map} +0 -0
- /package/dist/{chunk-XCOV45MO.js.map → chunk-R4VAUNNC.js.map} +0 -0
- /package/dist/{chunk-353KGBKY.js.map → chunk-RW4QNB4J.js.map} +0 -0
- /package/dist/{chunk-FQXJAC3T.js.map → chunk-SGUDMW2K.js.map} +0 -0
- /package/dist/{chunk-S5G2LAL7.js.map → chunk-SV4Z2S67.js.map} +0 -0
- /package/dist/{chunk-HUT2JR6I.js.map → chunk-T32B72QX.js.map} +0 -0
- /package/dist/{chunk-LMCD5W5B.js.map → chunk-TRLOFIQC.js.map} +0 -0
- /package/dist/{chunk-JZ2CHRLB.js.map → chunk-TTSJ7WUC.js.map} +0 -0
- /package/dist/{chunk-CNV2A557.js.map → chunk-TUKGXQ5T.js.map} +0 -0
- /package/dist/{chunk-QATYVTP7.js.map → chunk-UIOIDW3L.js.map} +0 -0
- /package/dist/{chunk-776GVKL7.js.map → chunk-ULDBGA5W.js.map} +0 -0
- /package/dist/{chunk-NN4JEFON.js.map → chunk-UQNYPK7G.js.map} +0 -0
- /package/dist/{chunk-A5UQ52YQ.js.map → chunk-UZZ7SQT3.js.map} +0 -0
- /package/dist/{chunk-F6IVBYFS.js.map → chunk-V6G2PSXA.js.map} +0 -0
- /package/dist/{chunk-RUXPVSML.js.map → chunk-VHOSM5G4.js.map} +0 -0
- /package/dist/{chunk-QBLDCI6E.js.map → chunk-VMNCZ627.js.map} +0 -0
- /package/dist/{chunk-P3ONDDIJ.js.map → chunk-VV4ZVUE6.js.map} +0 -0
- /package/dist/{chunk-A7GQBJP5.js.map → chunk-X2NFFBTO.js.map} +0 -0
- /package/dist/{chunk-ECKG5WSI.js.map → chunk-XGRXQR6T.js.map} +0 -0
- /package/dist/{chunk-LNDLXMH6.js.map → chunk-XN6XT6GR.js.map} +0 -0
- /package/dist/{chunk-C6KRO3SU.js.map → chunk-XVDZFTN5.js.map} +0 -0
- /package/dist/{chunk-2BQ4ZIWC.js.map → chunk-XWLLFKHM.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-BNGHPYZU.js.map → chunk-YUW66UAH.js.map} +0 -0
- /package/dist/{chunk-5JG5EBVL.js.map → chunk-ZEGL7YCC.js.map} +0 -0
- /package/dist/{chunk-PHP3MUGF.js.map → chunk-ZKZFFWLV.js.map} +0 -0
- /package/dist/{chunk-GCBIXUPT.js.map → chunk-ZMWSYUUL.js.map} +0 -0
- /package/dist/{chunk-X2QPKLPL.js.map → chunk-ZZUVBZL2.js.map} +0 -0
- /package/dist/{first-start-migration-L3UFX5CU.js.map → first-start-migration-ZWMV5CX4.js.map} +0 -0
- /package/dist/{tier-stats-VK5PCO2L.js.map → tier-stats-LUSUUNU6.js.map} +0 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import {
|
|
2
|
+
sliceSpanText
|
|
3
|
+
} from "./chunk-JE26AUX6.js";
|
|
4
|
+
import {
|
|
5
|
+
stampSpanSource,
|
|
6
|
+
verifySpanSource
|
|
7
|
+
} from "./chunk-A6CXG5WI.js";
|
|
8
|
+
import {
|
|
9
|
+
validateSpanOffsets
|
|
10
|
+
} from "./chunk-QJ2AX6DU.js";
|
|
11
|
+
import {
|
|
12
|
+
log
|
|
13
|
+
} from "./chunk-3WCASNQZ.js";
|
|
14
|
+
|
|
15
|
+
// src/extraction-span-materialize.ts
|
|
16
|
+
var SPAN_MAX_SLICE_CHARS = 400;
|
|
17
|
+
var SPAN_MAX_FRAME_WORDS = 15;
|
|
18
|
+
function stripUntrustedFactSpans(facts) {
|
|
19
|
+
return facts.map((fact) => {
|
|
20
|
+
if (fact.span === void 0 || fact.span === null) return fact;
|
|
21
|
+
const { span: _span, ...rest } = fact;
|
|
22
|
+
return rest;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function buildSpanMaterializeTurns(texts) {
|
|
26
|
+
return texts.map((text) => ({ text, stamp: stampSpanSource(text) }));
|
|
27
|
+
}
|
|
28
|
+
function truncateLocalExtractionConversation(conversation, maxConversationChars) {
|
|
29
|
+
return conversation.length > maxConversationChars ? `${conversation.slice(0, maxConversationChars)}
|
|
30
|
+
|
|
31
|
+
[truncated]` : conversation;
|
|
32
|
+
}
|
|
33
|
+
function bindLocalExtractionPrompt(conversation, turns, maxConversationChars, renderedConversation = conversation) {
|
|
34
|
+
const promptConversation = truncateLocalExtractionConversation(conversation, maxConversationChars);
|
|
35
|
+
if (conversation.length <= maxConversationChars || !conversation.endsWith(renderedConversation)) {
|
|
36
|
+
return { promptConversation, spanTurns: buildSpanMaterializeTurns(turns.map((turn) => turn.content)) };
|
|
37
|
+
}
|
|
38
|
+
const renderedStart = conversation.length - renderedConversation.length;
|
|
39
|
+
const limit = maxConversationChars;
|
|
40
|
+
const texts = [];
|
|
41
|
+
let pos = 0;
|
|
42
|
+
for (let index = 0; index < turns.length; index += 1) {
|
|
43
|
+
const turn = turns[index];
|
|
44
|
+
if (turn === void 0) {
|
|
45
|
+
texts.push("");
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
if (index > 0) pos += 2;
|
|
49
|
+
const label = turn.extractionContextOnly === true ? `context ${turn.role}` : turn.role;
|
|
50
|
+
pos += `[${label}] `.length;
|
|
51
|
+
const absStart = renderedStart + pos;
|
|
52
|
+
const absEnd = absStart + turn.content.length;
|
|
53
|
+
texts.push(absEnd > absStart && limit > absStart ? conversation.slice(absStart, Math.min(absEnd, limit)) : "");
|
|
54
|
+
pos += turn.content.length;
|
|
55
|
+
}
|
|
56
|
+
return { promptConversation, spanTurns: buildSpanMaterializeTurns(texts) };
|
|
57
|
+
}
|
|
58
|
+
function factCarriesSpan(fact) {
|
|
59
|
+
return fact.span !== void 0 && fact.span !== null;
|
|
60
|
+
}
|
|
61
|
+
function materializeFactSpan(fact, turns, mode) {
|
|
62
|
+
const span = fact.span ?? null;
|
|
63
|
+
if (span === null) {
|
|
64
|
+
return { fact, outcome: "fallback" };
|
|
65
|
+
}
|
|
66
|
+
const { sourceMessageIndex, charStart, charEnd, frame, sourceHash, sourceLength } = span;
|
|
67
|
+
const turn = turns[sourceMessageIndex];
|
|
68
|
+
if (!Number.isInteger(sourceMessageIndex) || sourceMessageIndex < 0 || sourceMessageIndex >= turns.length || turn === void 0) {
|
|
69
|
+
return { fact: stripSpan(fact), outcome: "fallback" };
|
|
70
|
+
}
|
|
71
|
+
const stampCheck = verifySpanSource(turn.text, turn.stamp);
|
|
72
|
+
if (!stampCheck.ok) {
|
|
73
|
+
return { fact: stripSpan(fact), outcome: "fallback" };
|
|
74
|
+
}
|
|
75
|
+
if (sourceHash !== void 0 && sourceHash !== turn.stamp.hash || sourceLength !== void 0 && sourceLength !== turn.stamp.length) {
|
|
76
|
+
return { fact: stripSpan(fact), outcome: "fallback" };
|
|
77
|
+
}
|
|
78
|
+
const offsetCheck = validateSpanOffsets({ start: charStart, end: charEnd, textLength: turn.text.length });
|
|
79
|
+
if (!offsetCheck.ok) {
|
|
80
|
+
return { fact: stripSpan(fact), outcome: "fallback" };
|
|
81
|
+
}
|
|
82
|
+
const slice = sliceSpanText({ text: turn.text, start: charStart, end: charEnd });
|
|
83
|
+
if (slice.length > SPAN_MAX_SLICE_CHARS || slice.trim().length === 0) {
|
|
84
|
+
return { fact: stripSpan(fact), outcome: "fallback" };
|
|
85
|
+
}
|
|
86
|
+
const frameWords = frame.trim().split(/\s+/).filter(Boolean);
|
|
87
|
+
if (frameWords.length === 0 || frameWords.length > SPAN_MAX_FRAME_WORDS) {
|
|
88
|
+
return { fact: stripSpan(fact), outcome: "fallback" };
|
|
89
|
+
}
|
|
90
|
+
const trimmedFrame = frameWords.join(" ");
|
|
91
|
+
const materialized = /[:—-]$/.test(trimmedFrame) ? `${trimmedFrame} ${slice}` : `${trimmedFrame}: ${slice}`;
|
|
92
|
+
if (mode === "on") {
|
|
93
|
+
return {
|
|
94
|
+
fact: { ...stripSpan(fact), content: materialized, quote: slice },
|
|
95
|
+
outcome: "span",
|
|
96
|
+
materialized
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
return { fact: stripSpan(fact), outcome: "span", materialized };
|
|
100
|
+
}
|
|
101
|
+
function spanAgreesWithContent(materialized, content) {
|
|
102
|
+
const left = materialized.trim();
|
|
103
|
+
const right = content.trim();
|
|
104
|
+
return left === right || left.includes(right) || right.includes(left);
|
|
105
|
+
}
|
|
106
|
+
function applyExtractionSpanMaterialization(result, turns, mode) {
|
|
107
|
+
if (mode === "off") {
|
|
108
|
+
return { ...result, facts: stripUntrustedFactSpans(result.facts) };
|
|
109
|
+
}
|
|
110
|
+
let attempts = 0;
|
|
111
|
+
let fallbacks = 0;
|
|
112
|
+
let agreements = 0;
|
|
113
|
+
const facts = result.facts.flatMap((fact) => {
|
|
114
|
+
if (!factCarriesSpan(fact)) {
|
|
115
|
+
return mode === "on" ? [] : [fact];
|
|
116
|
+
}
|
|
117
|
+
attempts += 1;
|
|
118
|
+
const { fact: materialized, outcome, materialized: text } = materializeFactSpan(
|
|
119
|
+
fact,
|
|
120
|
+
turns,
|
|
121
|
+
mode
|
|
122
|
+
);
|
|
123
|
+
if (outcome === "fallback") {
|
|
124
|
+
fallbacks += 1;
|
|
125
|
+
} else if (mode === "shadow" && text !== void 0) {
|
|
126
|
+
if (spanAgreesWithContent(text, fact.content)) {
|
|
127
|
+
agreements += 1;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return [materialized];
|
|
131
|
+
});
|
|
132
|
+
if (mode === "shadow") {
|
|
133
|
+
log.info(
|
|
134
|
+
`extraction span-mode shadow: ${agreements}/${attempts} span facts agree with generated content (${fallbacks} span validation fallbacks)`
|
|
135
|
+
);
|
|
136
|
+
} else if (fallbacks > 0) {
|
|
137
|
+
log.info(
|
|
138
|
+
`extraction span-mode: ${fallbacks}/${attempts} span facts fell back to generated content`
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
return { ...result, facts };
|
|
142
|
+
}
|
|
143
|
+
function stripSpan(fact) {
|
|
144
|
+
const { span: _span, ...rest } = fact;
|
|
145
|
+
return rest;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export {
|
|
149
|
+
SPAN_MAX_SLICE_CHARS,
|
|
150
|
+
SPAN_MAX_FRAME_WORDS,
|
|
151
|
+
stripUntrustedFactSpans,
|
|
152
|
+
buildSpanMaterializeTurns,
|
|
153
|
+
truncateLocalExtractionConversation,
|
|
154
|
+
bindLocalExtractionPrompt,
|
|
155
|
+
factCarriesSpan,
|
|
156
|
+
materializeFactSpan,
|
|
157
|
+
spanAgreesWithContent,
|
|
158
|
+
applyExtractionSpanMaterialization
|
|
159
|
+
};
|
|
160
|
+
//# sourceMappingURL=chunk-XVZA6VXC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/extraction-span-materialize.ts"],"sourcesContent":["/**\n * Span-mode materialization for production extraction (issue #2333 Phase B).\n *\n * Runs immediately after the extraction result is parsed and BEFORE\n * sanitize/grounding/judge/dedup/persistence, so everything downstream sees\n * exactly one content form and the content-hash dedup invariant (checklist\n * §13) holds by construction. Offsets die here — nothing offset-based is\n * stored.\n *\n * Modes:\n * - \"off\": spans are never requested; a stray span is stripped untrusted.\n * - \"shadow\": spans are requested alongside full content; materialization\n * runs for comparison only, the generated content is persisted\n * unchanged (zero behavior change), agreement telemetry logged.\n * - \"on\": materialized frame+span content is persisted; per-fact fail-open\n * to the generated content (the frame) on any validation failure.\n *\n * Validation (identical to the Phase A bench contract):\n * - `0 <= charStart < charEnd <= turn.text.length`, end-exclusive, integers;\n * - slice length <= 400 chars and non-whitespace;\n * - frame 1..15 words;\n * - the turn text's stamp (sha256 + length of the exact in-memory string the\n * model saw) must verify — offset drift is rejected, never guessed around.\n */\n\nimport { log } from \"./logger.js\";\nimport { stampSpanSource, verifySpanSource, type SpanSourceStamp } from \"./extraction-span-source-hash.js\";\nimport { validateSpanOffsets } from \"./extraction-span-validate.js\";\nimport { sliceSpanText } from \"./extraction-span-slice.js\";\nimport type { ExtractionResult } from \"./types.js\";\nimport type { ExtractedFactSpanRef } from \"./extraction-span-config.js\";\n\nexport const SPAN_MAX_SLICE_CHARS = 400;\nexport const SPAN_MAX_FRAME_WORDS = 15;\n\nexport type SpanMode = \"off\" | \"shadow\" | \"on\";\n\n/** A source turn exactly as rendered into the extraction prompt. */\nexport interface SpanMaterializeTurn {\n text: string;\n stamp: SpanSourceStamp;\n}\n\nexport interface SpanMaterializeFact {\n content: string;\n span?: ExtractedFactSpanRef | null;\n quote?: string;\n}\n\nexport interface SpanMaterializeTelemetry {\n /** Facts that carried a span ref. */\n attempts: number;\n /** Spans that failed validation and fell back to generated content. */\n fallbacks: number;\n /** Shadow mode only: comparisons made / exact-or-containment agreements. */\n shadowComparisons: number;\n shadowAgreements: number;\n}\n\n/** Strip span refs from facts that were never given the span prompt\n * (e.g. the proactive second pass). Untrusted: never validated, never used.\n * The key is omitted entirely so no `span: undefined` reaches persistence. */\nexport function stripUntrustedFactSpans<T extends { span?: unknown }>(facts: readonly T[]): T[] {\n return facts.map((fact) => {\n if (fact.span === undefined || fact.span === null) return fact;\n const { span: _span, ...rest } = fact;\n return rest as T;\n });\n}\n\nexport function buildSpanMaterializeTurns(texts: readonly string[]): SpanMaterializeTurn[] {\n return texts.map((text) => ({ text, stamp: stampSpanSource(text) }));\n}\n\nexport function truncateLocalExtractionConversation(\n conversation: string,\n maxConversationChars: number,\n): string {\n return conversation.length > maxConversationChars\n ? `${conversation.slice(0, maxConversationChars)}\\n\\n[truncated]`\n : conversation;\n}\n\nexport function bindLocalExtractionPrompt(\n conversation: string,\n turns: readonly { role: string; content: string; extractionContextOnly?: boolean }[],\n maxConversationChars: number,\n renderedConversation: string = conversation,\n): { promptConversation: string; spanTurns: SpanMaterializeTurn[] } {\n const promptConversation = truncateLocalExtractionConversation(conversation, maxConversationChars);\n if (conversation.length <= maxConversationChars || !conversation.endsWith(renderedConversation)) {\n return { promptConversation, spanTurns: buildSpanMaterializeTurns(turns.map((turn) => turn.content)) };\n }\n const renderedStart = conversation.length - renderedConversation.length;\n const limit = maxConversationChars;\n const texts: string[] = [];\n let pos = 0;\n for (let index = 0; index < turns.length; index += 1) {\n const turn = turns[index];\n if (turn === undefined) {\n texts.push(\"\");\n continue;\n }\n if (index > 0) pos += 2;\n const label = turn.extractionContextOnly === true ? `context ${turn.role}` : turn.role;\n pos += `[${label}] `.length;\n const absStart = renderedStart + pos;\n const absEnd = absStart + turn.content.length;\n texts.push(absEnd > absStart && limit > absStart ? conversation.slice(absStart, Math.min(absEnd, limit)) : \"\");\n pos += turn.content.length;\n }\n return { promptConversation, spanTurns: buildSpanMaterializeTurns(texts) };\n}\n\nexport function factCarriesSpan(fact: { span?: ExtractedFactSpanRef | null }): boolean {\n return fact.span !== undefined && fact.span !== null;\n}\n\n/**\n * Materialize one fact's span. Never throws: any validation failure falls\n * open to the fact's generated content and is counted.\n */\nexport function materializeFactSpan<T extends SpanMaterializeFact>(\n fact: T,\n turns: readonly SpanMaterializeTurn[],\n mode: SpanMode,\n): { fact: T; outcome: \"span\" | \"fallback\"; materialized?: string } {\n const span = fact.span ?? null;\n if (span === null) {\n return { fact, outcome: \"fallback\" };\n }\n const { sourceMessageIndex, charStart, charEnd, frame, sourceHash, sourceLength } = span;\n const turn = turns[sourceMessageIndex];\n if (\n !Number.isInteger(sourceMessageIndex) ||\n sourceMessageIndex < 0 ||\n sourceMessageIndex >= turns.length ||\n turn === undefined\n ) {\n return { fact: stripSpan(fact), outcome: \"fallback\" };\n }\n const stampCheck = verifySpanSource(turn.text, turn.stamp);\n if (!stampCheck.ok) {\n return { fact: stripSpan(fact), outcome: \"fallback\" };\n }\n if (\n (sourceHash !== undefined && sourceHash !== turn.stamp.hash) ||\n (sourceLength !== undefined && sourceLength !== turn.stamp.length)\n ) {\n return { fact: stripSpan(fact), outcome: \"fallback\" };\n }\n const offsetCheck = validateSpanOffsets({ start: charStart, end: charEnd, textLength: turn.text.length });\n if (!offsetCheck.ok) {\n return { fact: stripSpan(fact), outcome: \"fallback\" };\n }\n const slice = sliceSpanText({ text: turn.text, start: charStart, end: charEnd });\n if (slice.length > SPAN_MAX_SLICE_CHARS || slice.trim().length === 0) {\n return { fact: stripSpan(fact), outcome: \"fallback\" };\n }\n const frameWords = frame.trim().split(/\\s+/).filter(Boolean);\n if (frameWords.length === 0 || frameWords.length > SPAN_MAX_FRAME_WORDS) {\n return { fact: stripSpan(fact), outcome: \"fallback\" };\n }\n\n const trimmedFrame = frameWords.join(\" \");\n const materialized = /[:—-]$/.test(trimmedFrame)\n ? `${trimmedFrame} ${slice}`\n : `${trimmedFrame}: ${slice}`;\n\n if (mode === \"on\") {\n return {\n fact: { ...stripSpan(fact), content: materialized, quote: slice },\n outcome: \"span\",\n materialized,\n };\n }\n // shadow: persist generated content unchanged; materialize for comparison.\n return { fact: stripSpan(fact), outcome: \"span\", materialized };\n}\n\n/** Shadow agreement: exact match or containment either way. */\nexport function spanAgreesWithContent(materialized: string, content: string): boolean {\n const left = materialized.trim();\n const right = content.trim();\n return left === right || left.includes(right) || right.includes(left);\n}\n\n/**\n * Whole-result span materialization pass (issue #2333 Phase B). Called from\n * `ExtractionEngine.applySpanMaterialization` after parse, before sanitize /\n * grounding / judge / dedup / persist. \"off\" strips stray spans untrusted.\n * Shadow logs agreement telemetry and persists generated content. \"on\"\n * persists materialized frame+span content; facts that omit the optional\n * span are dropped so a short frame cannot persist as a standalone memory.\n */\nexport function applyExtractionSpanMaterialization(\n result: ExtractionResult,\n turns: readonly SpanMaterializeTurn[],\n mode: SpanMode,\n): ExtractionResult {\n if (mode === \"off\") {\n return { ...result, facts: stripUntrustedFactSpans(result.facts) };\n }\n let attempts = 0;\n let fallbacks = 0;\n let agreements = 0;\n const facts = result.facts.flatMap((fact) => {\n if (!factCarriesSpan(fact)) {\n return mode === \"on\" ? [] : [fact];\n }\n attempts += 1;\n const { fact: materialized, outcome, materialized: text } = materializeFactSpan(\n fact,\n turns,\n mode,\n );\n if (outcome === \"fallback\") {\n fallbacks += 1;\n } else if (mode === \"shadow\" && text !== undefined) {\n if (spanAgreesWithContent(text, fact.content)) {\n agreements += 1;\n }\n }\n return [materialized];\n });\n if (mode === \"shadow\") {\n log.info(\n `extraction span-mode shadow: ${agreements}/${attempts} span facts agree with generated content (${fallbacks} span validation fallbacks)`,\n );\n } else if (fallbacks > 0) {\n log.info(\n `extraction span-mode: ${fallbacks}/${attempts} span facts fell back to generated content`,\n );\n }\n return { ...result, facts };\n}\n\nfunction stripSpan<T extends SpanMaterializeFact>(fact: T): T {\n const { span: _span, ...rest } = fact;\n return rest as T;\n}\n"],"mappings":"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","names":[]}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
startLocationAutoSync
|
|
3
|
-
} from "./chunk-776GVKL7.js";
|
|
4
1
|
import {
|
|
5
2
|
ensureContradictionScanCron,
|
|
6
3
|
ensureDaySummaryCron,
|
|
@@ -10,16 +7,19 @@ import {
|
|
|
10
7
|
ensureProceduralMiningCron,
|
|
11
8
|
graphEdgeDecayCadenceToCronExpr
|
|
12
9
|
} from "./chunk-666A3MOW.js";
|
|
10
|
+
import {
|
|
11
|
+
startLocationAutoSync
|
|
12
|
+
} from "./chunk-ULDBGA5W.js";
|
|
13
13
|
import {
|
|
14
14
|
rebuildMemoryLifecycleLedger
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GQQVEH6V.js";
|
|
16
16
|
import {
|
|
17
17
|
planNamespaceMaintenance,
|
|
18
18
|
runNamespaceMaintenanceBatchPlan
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-474DL7UB.js";
|
|
20
20
|
import {
|
|
21
21
|
rebuildMemoryProjection
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NWMUSKED.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_TIMELINE_CATEGORIES,
|
|
25
25
|
TIMELINE_RESERVED_IDLE,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
FallbackLlmClient,
|
|
39
39
|
fallbackLlmRuntimeContextFromConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LQNRVPTV.js";
|
|
41
41
|
import {
|
|
42
42
|
activityDateInTimezone,
|
|
43
43
|
activityDayWindow,
|
|
@@ -2442,4 +2442,4 @@ export {
|
|
|
2442
2442
|
ActivitySyncScheduler,
|
|
2443
2443
|
MaintenanceScheduler
|
|
2444
2444
|
};
|
|
2445
|
-
//# sourceMappingURL=chunk-
|
|
2445
|
+
//# sourceMappingURL=chunk-XWLLFKHM.js.map
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isLoopbackHost
|
|
3
|
+
} from "./chunk-C5C7IJ4Q.js";
|
|
4
|
+
|
|
5
|
+
// src/background-generation-config.ts
|
|
6
|
+
function stripTrailingSlashes(value) {
|
|
7
|
+
let end = value.length;
|
|
8
|
+
while (end > 0 && value.charCodeAt(end - 1) === 47) {
|
|
9
|
+
end -= 1;
|
|
10
|
+
}
|
|
11
|
+
return end === value.length ? value : value.slice(0, end);
|
|
12
|
+
}
|
|
13
|
+
function parseBackgroundEndpoint(value, keyName) {
|
|
14
|
+
const trimmed = stripTrailingSlashes(value.trim());
|
|
15
|
+
let parsed;
|
|
16
|
+
try {
|
|
17
|
+
parsed = new URL(trimmed);
|
|
18
|
+
} catch {
|
|
19
|
+
throw new Error(`${keyName} must be an absolute HTTP or HTTPS URL`);
|
|
20
|
+
}
|
|
21
|
+
if (parsed.protocol !== "https:" && parsed.protocol !== "http:") {
|
|
22
|
+
throw new Error(`${keyName} must use HTTP or HTTPS`);
|
|
23
|
+
}
|
|
24
|
+
if (parsed.protocol === "http:" && !isLoopbackHost(parsed.hostname)) {
|
|
25
|
+
throw new Error(`${keyName} must use HTTPS unless the host is loopback`);
|
|
26
|
+
}
|
|
27
|
+
if (parsed.username || parsed.password || parsed.search || parsed.hash) {
|
|
28
|
+
throw new Error(
|
|
29
|
+
`${keyName} must not include credentials, query parameters, or fragments`
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
return trimmed;
|
|
33
|
+
}
|
|
34
|
+
function parseBackgroundGenerationObject(raw, keyName) {
|
|
35
|
+
if (!raw || typeof raw !== "object" || Array.isArray(raw)) {
|
|
36
|
+
throw new Error(`${keyName} must be an object`);
|
|
37
|
+
}
|
|
38
|
+
const record = raw;
|
|
39
|
+
const endpointRaw = record.endpoint;
|
|
40
|
+
if (typeof endpointRaw !== "string" || endpointRaw.trim().length === 0) {
|
|
41
|
+
throw new Error(`${keyName} must include an endpoint URL`);
|
|
42
|
+
}
|
|
43
|
+
const tokenRaw = record.token;
|
|
44
|
+
if (typeof tokenRaw !== "string" || tokenRaw.length === 0) {
|
|
45
|
+
throw new Error(`${keyName} must include a token`);
|
|
46
|
+
}
|
|
47
|
+
const timeoutRaw = record.timeoutSeconds;
|
|
48
|
+
let timeoutSeconds = 120;
|
|
49
|
+
if (timeoutRaw !== void 0) {
|
|
50
|
+
const parsed = typeof timeoutRaw === "number" ? timeoutRaw : Number(timeoutRaw);
|
|
51
|
+
if (!Number.isFinite(parsed) || parsed <= 0) {
|
|
52
|
+
throw new Error(`${keyName} timeoutSeconds must be a finite number > 0`);
|
|
53
|
+
}
|
|
54
|
+
timeoutSeconds = parsed;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
endpoint: parseBackgroundEndpoint(endpointRaw, `${keyName}.endpoint`),
|
|
58
|
+
token: tokenRaw,
|
|
59
|
+
timeoutSeconds
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function parseBackgroundGeneration(cfg) {
|
|
63
|
+
const explicitRaw = cfg.backgroundGeneration;
|
|
64
|
+
if (explicitRaw === void 0 || explicitRaw === null) return void 0;
|
|
65
|
+
return parseBackgroundGenerationObject(explicitRaw, "backgroundGeneration");
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export {
|
|
69
|
+
parseBackgroundGeneration
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=chunk-YFTNZMGR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/background-generation-config.ts"],"sourcesContent":["import { isLoopbackHost } from \"./runtime/http-transport.js\";\n\nexport interface BackgroundGenerationConfig {\n /** Full chat-completions URL. Never used as the global OpenAI base URL. */\n endpoint: string;\n /** Loopback bearer from the generated client file. */\n token: string;\n timeoutSeconds: number;\n}\n\nfunction stripTrailingSlashes(value: string): string {\n let end = value.length;\n while (end > 0 && value.charCodeAt(end - 1) === 47) {\n end -= 1;\n }\n return end === value.length ? value : value.slice(0, end);\n}\n\nfunction parseBackgroundEndpoint(value: string, keyName: string): string {\n const trimmed = stripTrailingSlashes(value.trim());\n let parsed: URL;\n try {\n parsed = new URL(trimmed);\n } catch {\n throw new Error(`${keyName} must be an absolute HTTP or HTTPS URL`);\n }\n if (parsed.protocol !== \"https:\" && parsed.protocol !== \"http:\") {\n throw new Error(`${keyName} must use HTTP or HTTPS`);\n }\n if (parsed.protocol === \"http:\" && !isLoopbackHost(parsed.hostname)) {\n throw new Error(`${keyName} must use HTTPS unless the host is loopback`);\n }\n if (parsed.username || parsed.password || parsed.search || parsed.hash) {\n throw new Error(\n `${keyName} must not include credentials, query parameters, or fragments`,\n );\n }\n return trimmed;\n}\n\nfunction parseBackgroundGenerationObject(\n raw: unknown,\n keyName: string,\n): BackgroundGenerationConfig {\n if (!raw || typeof raw !== \"object\" || Array.isArray(raw)) {\n throw new Error(`${keyName} must be an object`);\n }\n const record = raw as Record<string, unknown>;\n const endpointRaw = record.endpoint;\n if (typeof endpointRaw !== \"string\" || endpointRaw.trim().length === 0) {\n throw new Error(`${keyName} must include an endpoint URL`);\n }\n const tokenRaw = record.token;\n if (typeof tokenRaw !== \"string\" || tokenRaw.length === 0) {\n throw new Error(`${keyName} must include a token`);\n }\n const timeoutRaw = record.timeoutSeconds;\n let timeoutSeconds = 120;\n if (timeoutRaw !== undefined) {\n const parsed = typeof timeoutRaw === \"number\" ? timeoutRaw : Number(timeoutRaw);\n if (!Number.isFinite(parsed) || parsed <= 0) {\n throw new Error(`${keyName} timeoutSeconds must be a finite number > 0`);\n }\n timeoutSeconds = parsed;\n }\n return {\n endpoint: parseBackgroundEndpoint(endpointRaw, `${keyName}.endpoint`),\n token: tokenRaw,\n timeoutSeconds,\n };\n}\n\nexport function parseBackgroundGeneration(\n cfg: Record<string, unknown>,\n): BackgroundGenerationConfig | undefined {\n const explicitRaw = cfg.backgroundGeneration;\n if (explicitRaw === undefined || explicitRaw === null) return undefined;\n return parseBackgroundGenerationObject(explicitRaw, \"backgroundGeneration\");\n}\n"],"mappings":";;;;;AAUA,SAAS,qBAAqB,OAAuB;AACnD,MAAI,MAAM,MAAM;AAChB,SAAO,MAAM,KAAK,MAAM,WAAW,MAAM,CAAC,MAAM,IAAI;AAClD,WAAO;AAAA,EACT;AACA,SAAO,QAAQ,MAAM,SAAS,QAAQ,MAAM,MAAM,GAAG,GAAG;AAC1D;AAEA,SAAS,wBAAwB,OAAe,SAAyB;AACvE,QAAM,UAAU,qBAAqB,MAAM,KAAK,CAAC;AACjD,MAAI;AACJ,MAAI;AACF,aAAS,IAAI,IAAI,OAAO;AAAA,EAC1B,QAAQ;AACN,UAAM,IAAI,MAAM,GAAG,OAAO,wCAAwC;AAAA,EACpE;AACA,MAAI,OAAO,aAAa,YAAY,OAAO,aAAa,SAAS;AAC/D,UAAM,IAAI,MAAM,GAAG,OAAO,yBAAyB;AAAA,EACrD;AACA,MAAI,OAAO,aAAa,WAAW,CAAC,eAAe,OAAO,QAAQ,GAAG;AACnE,UAAM,IAAI,MAAM,GAAG,OAAO,6CAA6C;AAAA,EACzE;AACA,MAAI,OAAO,YAAY,OAAO,YAAY,OAAO,UAAU,OAAO,MAAM;AACtE,UAAM,IAAI;AAAA,MACR,GAAG,OAAO;AAAA,IACZ;AAAA,EACF;AACA,SAAO;AACT;AAEA,SAAS,gCACP,KACA,SAC4B;AAC5B,MAAI,CAAC,OAAO,OAAO,QAAQ,YAAY,MAAM,QAAQ,GAAG,GAAG;AACzD,UAAM,IAAI,MAAM,GAAG,OAAO,oBAAoB;AAAA,EAChD;AACA,QAAM,SAAS;AACf,QAAM,cAAc,OAAO;AAC3B,MAAI,OAAO,gBAAgB,YAAY,YAAY,KAAK,EAAE,WAAW,GAAG;AACtE,UAAM,IAAI,MAAM,GAAG,OAAO,+BAA+B;AAAA,EAC3D;AACA,QAAM,WAAW,OAAO;AACxB,MAAI,OAAO,aAAa,YAAY,SAAS,WAAW,GAAG;AACzD,UAAM,IAAI,MAAM,GAAG,OAAO,uBAAuB;AAAA,EACnD;AACA,QAAM,aAAa,OAAO;AAC1B,MAAI,iBAAiB;AACrB,MAAI,eAAe,QAAW;AAC5B,UAAM,SAAS,OAAO,eAAe,WAAW,aAAa,OAAO,UAAU;AAC9E,QAAI,CAAC,OAAO,SAAS,MAAM,KAAK,UAAU,GAAG;AAC3C,YAAM,IAAI,MAAM,GAAG,OAAO,6CAA6C;AAAA,IACzE;AACA,qBAAiB;AAAA,EACnB;AACA,SAAO;AAAA,IACL,UAAU,wBAAwB,aAAa,GAAG,OAAO,WAAW;AAAA,IACpE,OAAO;AAAA,IACP;AAAA,EACF;AACF;AAEO,SAAS,0BACd,KACwC;AACxC,QAAM,cAAc,IAAI;AACxB,MAAI,gBAAgB,UAAa,gBAAgB,KAAM,QAAO;AAC9D,SAAO,gCAAgC,aAAa,sBAAsB;AAC5E;","names":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
graphSnapshotFromMemoryDir
|
|
3
|
-
} from "./chunk-44442YCH.js";
|
|
4
1
|
import {
|
|
5
2
|
diffGraphSnapshots
|
|
6
3
|
} from "./chunk-AUDJPF4N.js";
|
|
4
|
+
import {
|
|
5
|
+
graphSnapshotFromMemoryDir
|
|
6
|
+
} from "./chunk-44442YCH.js";
|
|
7
7
|
|
|
8
8
|
// src/dashboard-runtime.ts
|
|
9
9
|
import { createHash, timingSafeEqual } from "crypto";
|
|
@@ -370,4 +370,4 @@ var GraphDashboardServer = class {
|
|
|
370
370
|
export {
|
|
371
371
|
GraphDashboardServer
|
|
372
372
|
};
|
|
373
|
-
//# sourceMappingURL=chunk-
|
|
373
|
+
//# sourceMappingURL=chunk-YNDLCWXS.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OUTPUT_LANGUAGE_POLICY
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BOADKFN4.js";
|
|
4
4
|
import {
|
|
5
5
|
gatewayTaskChainOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LQNRVPTV.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeProcedureSteps
|
|
9
9
|
} from "./chunk-QDW3E4RD.js";
|
|
@@ -491,4 +491,4 @@ export {
|
|
|
491
491
|
createVerdictCache,
|
|
492
492
|
createDeferCountMap
|
|
493
493
|
};
|
|
494
|
-
//# sourceMappingURL=chunk-
|
|
494
|
+
//# sourceMappingURL=chunk-YUW66UAH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isRecallDisclosure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IYKZJVL5.js";
|
|
4
4
|
import {
|
|
5
5
|
estimateTokenCount
|
|
6
6
|
} from "./chunk-TOTT6S2V.js";
|
|
@@ -306,4 +306,4 @@ export {
|
|
|
306
306
|
RecallXrayBuilder,
|
|
307
307
|
summarizeDisclosureTokens
|
|
308
308
|
};
|
|
309
|
-
//# sourceMappingURL=chunk-
|
|
309
|
+
//# sourceMappingURL=chunk-ZEGL7YCC.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-B7RWBZXW.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7S53BPTU.js";
|
|
7
7
|
import {
|
|
8
8
|
getCachedEpisodeMap,
|
|
9
9
|
setCachedEpisodeMap
|
|
@@ -109,4 +109,4 @@ export {
|
|
|
109
109
|
compareVerifiedEpisodeResults,
|
|
110
110
|
searchVerifiedEpisodes
|
|
111
111
|
};
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
112
|
+
//# sourceMappingURL=chunk-ZKZFFWLV.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-TBBDFYXW.js";
|
|
6
6
|
import {
|
|
7
7
|
hasLiveSupportPassportCard
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-37CAEC7E.js";
|
|
9
9
|
|
|
10
10
|
// src/tier-routing.ts
|
|
11
11
|
function requiresHotTier(memory) {
|
|
@@ -80,4 +80,4 @@ export {
|
|
|
80
80
|
computeTierValueScore,
|
|
81
81
|
decideTierTransition
|
|
82
82
|
};
|
|
83
|
-
//# sourceMappingURL=chunk-
|
|
83
|
+
//# sourceMappingURL=chunk-ZMWSYUUL.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-PJKTFXE2.js";
|
|
5
5
|
import {
|
|
6
6
|
isSupportPassportPrivateMemory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-37CAEC7E.js";
|
|
8
8
|
import {
|
|
9
9
|
isHandleToken
|
|
10
10
|
} from "./chunk-JAKIDQB2.js";
|
|
@@ -189,4 +189,4 @@ export {
|
|
|
189
189
|
recallForActiveMemory,
|
|
190
190
|
getMemoryForActiveMemory
|
|
191
191
|
};
|
|
192
|
-
//# sourceMappingURL=chunk-
|
|
192
|
+
//# sourceMappingURL=chunk-ZZUVBZL2.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { CompoundingPromotionReport } from './compounding/engine.js';
|
|
2
2
|
import { ConversationIndexBackendInspection } from './conversation-index/backend.js';
|
|
3
3
|
import { MigrateObservationsResult } from './maintenance/migrate-observations.js';
|
|
4
|
-
import { M as MemoryFile, m as MemoryFrontmatter, x as MemoryStatus, ac as BehaviorSignalEvent, Q as QmdSearchResult, ah as BulkImportResult, am as MemoryActionEvent, K as MemoryLifecycleEvent } from './types-
|
|
5
|
-
import { C as ConversationIndexCoordinator, T as TierMigrationCoordinator, O as Orchestrator } from './orchestrator-
|
|
6
|
-
import { S as StorageManager } from './storage-
|
|
4
|
+
import { M as MemoryFile, m as MemoryFrontmatter, x as MemoryStatus, ac as BehaviorSignalEvent, Q as QmdSearchResult, ah as BulkImportResult, am as MemoryActionEvent, K as MemoryLifecycleEvent } from './types-Cyr32ABj.js';
|
|
5
|
+
import { C as ConversationIndexCoordinator, T as TierMigrationCoordinator, O as Orchestrator } from './orchestrator-DocO0_hw.js';
|
|
6
|
+
import { S as StorageManager } from './storage-wvX01lht.js';
|
|
7
7
|
import { TrustZoneDemoSeedResult, TrustZoneName, TrustZonePromotionResult, TrustZoneStoreStatus } from './trust-zones.js';
|
|
8
|
-
import { f as EngramAccessService } from './access-service-
|
|
8
|
+
import { f as EngramAccessService } from './access-service-gBcdRUHY.js';
|
|
9
9
|
import { Writable, Readable } from 'node:stream';
|
|
10
10
|
import { ResolveSecretRefFn } from './resolve-auth-token.js';
|
|
11
11
|
import { CausalTrajectoryStoreStatus } from './causal-trajectory.js';
|
|
12
12
|
import { C as ConnectorRunResult, a as ConnectorsOutputFormat } from './connectors-cli-2iaQ5tX2.js';
|
|
13
|
-
import { P as ProcessBatchFn } from './pipeline-
|
|
13
|
+
import { P as ProcessBatchFn } from './pipeline-CiYcqqhl.js';
|
|
14
14
|
import { RuntimePolicyValues } from './policy-runtime.js';
|
|
15
15
|
import { MemoryGovernanceRunResult, MemoryGovernanceSummary, MemoryGovernanceMetrics, MemoryGovernanceQualityScore, MemoryGovernanceReviewQueueEntry, MemoryGovernanceAppliedAction, MemoryGovernanceTransitionReport, MemoryGovernanceManifest, MemoryGovernanceRestoreManifest, RestoreMemoryGovernanceRunResult } from './maintenance/memory-governance.js';
|
|
16
16
|
import { RebuildMemoryProjectionResult, RepairMemoryProjectionResult, VerifyMemoryProjectionResult } from './maintenance/rebuild-memory-projection.js';
|
package/dist/cli-fallback.d.ts
CHANGED
|
@@ -37,16 +37,18 @@ type CodexCliFallbackRunner = (request: CodexCliFallbackRequest) => Promise<Code
|
|
|
37
37
|
* claimed the seam, so explicit registrations always win.
|
|
38
38
|
*/
|
|
39
39
|
declare function isCodexCliFallbackRunnerRegistered(): boolean;
|
|
40
|
+
/** Current process-local Codex CLI runner, if any. */
|
|
41
|
+
declare function getCodexCliFallbackRunnerForProcess(): CodexCliFallbackRunner | undefined;
|
|
40
42
|
/**
|
|
41
43
|
* Registers the process-local Codex CLI transport. Core itself stays free of
|
|
42
44
|
* child_process here; hosts and benchmark runtimes opt in, and the
|
|
43
45
|
* codex-subscription module registers a subprocess runner on demand.
|
|
44
46
|
*/
|
|
45
47
|
declare function setCodexCliFallbackRunnerForProcess(runner: CodexCliFallbackRunner | undefined): () => void;
|
|
46
|
-
declare function callCodexCliFallback(config: CodexCliFallbackConfig, modelId: string, messages: CodexCliFallbackMessage[], options?: CodexCliFallbackOptions): Promise<CodexCliFallbackResult>;
|
|
48
|
+
declare function callCodexCliFallback(config: CodexCliFallbackConfig, modelId: string, messages: CodexCliFallbackMessage[], options?: CodexCliFallbackOptions, runner?: CodexCliFallbackRunner | undefined): Promise<CodexCliFallbackResult>;
|
|
47
49
|
declare function normalizeCodexCliTimeoutMs(value: unknown): number;
|
|
48
50
|
declare const __codexCliFallbackTestHooks: {
|
|
49
51
|
setRunCodexCliForTest: typeof setCodexCliFallbackRunnerForProcess;
|
|
50
52
|
};
|
|
51
53
|
|
|
52
|
-
export { type CodexCliFallbackConfig, type CodexCliFallbackMessage, type CodexCliFallbackOptions, type CodexCliFallbackRequest, type CodexCliFallbackResult, type CodexCliFallbackRunner, __codexCliFallbackTestHooks, callCodexCliFallback, isCodexCliFallbackRunnerRegistered, normalizeCodexCliTimeoutMs, setCodexCliFallbackRunnerForProcess };
|
|
54
|
+
export { type CodexCliFallbackConfig, type CodexCliFallbackMessage, type CodexCliFallbackOptions, type CodexCliFallbackRequest, type CodexCliFallbackResult, type CodexCliFallbackRunner, __codexCliFallbackTestHooks, callCodexCliFallback, getCodexCliFallbackRunnerForProcess, isCodexCliFallbackRunnerRegistered, normalizeCodexCliTimeoutMs, setCodexCliFallbackRunnerForProcess };
|
package/dist/cli-fallback.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__codexCliFallbackTestHooks,
|
|
3
3
|
callCodexCliFallback,
|
|
4
|
+
getCodexCliFallbackRunnerForProcess,
|
|
4
5
|
isCodexCliFallbackRunnerRegistered,
|
|
5
6
|
normalizeCodexCliTimeoutMs,
|
|
6
7
|
setCodexCliFallbackRunnerForProcess
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-E2AWJ7KQ.js";
|
|
8
9
|
import "./chunk-PZ5AY32C.js";
|
|
9
10
|
export {
|
|
10
11
|
__codexCliFallbackTestHooks,
|
|
11
12
|
callCodexCliFallback,
|
|
13
|
+
getCodexCliFallbackRunnerForProcess,
|
|
12
14
|
isCodexCliFallbackRunnerRegistered,
|
|
13
15
|
normalizeCodexCliTimeoutMs,
|
|
14
16
|
setCodexCliFallbackRunnerForProcess
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import './compounding/engine.js';
|
|
2
2
|
import './conversation-index/backend.js';
|
|
3
3
|
import './maintenance/migrate-observations.js';
|
|
4
|
-
import './types-
|
|
5
|
-
import './orchestrator-
|
|
6
|
-
import './storage-
|
|
4
|
+
import './types-Cyr32ABj.js';
|
|
5
|
+
import './orchestrator-DocO0_hw.js';
|
|
6
|
+
import './storage-wvX01lht.js';
|
|
7
7
|
import './trust-zones.js';
|
|
8
|
-
export { c as AccessHttpServeCliCommandOptions, d as ArchiveObservationsCliCommandOptions, e as AuditMemoryCliCommandOptions, B as BulkImportCliCommandOptions, C as CliApi, g as CliCommand, h as CliProgram, i as CompatCliCommandOptions, j as ConnectorsRunCliOutputOptions, k as ConversationIndexHealthCliOrchestrator, D as DashboardStartCliCommandOptions, l as DedupeCandidate, E as ExactDedupePlan, G as GraphHealthCliCommandOptions, M as MemoryActionAuditCliCommandOptions, m as MemoryActionAuditCliNamespaceSummary, n as MemoryActionAuditCliReport, o as MemoryGovernanceCliCommandOptions, q as MemoryGovernanceReportCliCommandOptions, s as MemoryGovernanceRestoreCliCommandOptions, t as MemoryReviewDispositionCliCommandOptions, u as MemoryTimelineCliCommandOptions, v as MigrateCliOrchestrator, w as MigrateCliReport, x as MigrateObservationsCliCommandOptions, P as PolicyDiffCliReport, y as PolicyDiffEntry, z as PolicyRollbackCliReport, F as PolicyStatusCliReport, H as PolicyTuningCliOrchestrator, R as RebuildMemoryLifecycleLedgerCliCommandOptions, I as RebuildMemoryProjectionCliCommandOptions, J as RebuildObservationsCliCommandOptions, K as RepairMemoryProjectionCliCommandOptions, L as ReplayCliCommandOptions, N as ReplayCliOrchestrator, O as RouteCliCommandOptions, S as SessionIntegrityCliCommandOptions, Q as SessionRepairCliCommandOptions, T as TailscaleStatusCliCommandOptions, U as TailscaleSyncCliCommandOptions, V as TierMigrateCliAdapter, W as TierMigrateCoordinatorCliAdapter, X as TierMigrateLegacyCliAdapter, Y as TierStatusCliAdapter, Z as TierStatusCoordinatorCliAdapter, _ as TierStatusLegacyCliAdapter, $ as TrainingExportCliCommandOptions, a0 as VerifyMemoryProjectionCliCommandOptions, a1 as WebDavServeCliCommandOptions, a2 as WorkProjectCliCommandOptions, a3 as WorkTaskCliCommandOptions, a4 as emitConnectorsRunCliResult, a5 as filterNormalMemorySearchResults, a6 as hasDestructivePurgeFailures, a7 as isNormalRetrievalVisibleMemory, a8 as listMemoryMarkdownFilePaths, a9 as parseDurationToMs, aa as parseStrictCliDate, ab as planAggressiveDuplicateDeletions, ac as planExactDuplicateDeletions, ad as registerCli, ae as resolveAccessPrincipalOverride, af as resolveMemoryDirForNamespace, ag as runAbstractionNodeStatusCliCommand, ah as runAccessHttpServeCliCommand, ai as runAccessHttpStatusCliCommand, aj as runAccessHttpStopCliCommand, ak as runAccessMcpServeCliCommand, al as runArchiveObservationsCliCommand, r as runAuditMemoryCliCommand, am as runBenchmarkBaselineReportCliCommand, an as runBenchmarkBaselineSnapshotCliCommand, ao as runBenchmarkCiGateCliCommand, ap as runBenchmarkImportCliCommand, aq as runBenchmarkStatusCliCommand, ar as runBenchmarkStoredBaselineCiGateCliCommand, as as runBenchmarkValidateCliCommand, b as runBulkImportCliCommand, at as runCausalTrajectoryStatusCliCommand, au as runCommitmentLifecycleCliCommand, av as runCommitmentRecordCliCommand, aw as runCommitmentSetStateCliCommand, ax as runCommitmentStatusCliCommand, ay as runCompatCliCommand, az as runCompoundingPromoteCliCommand, aA as runConversationIndexHealthCliCommand, aB as runConversationIndexInspectCliCommand, aC as runConversationIndexRebuildCliCommand, aD as runCueAnchorStatusCliCommand, aE as runDashboardStartCliCommand, aF as runDashboardStatusCliCommand, aG as runDashboardStopCliCommand, aH as runGraphHealthCliCommand, aI as runHarmonicSearchCliCommand, aJ as runMemoryActionAuditCliCommand, aK as runMemoryGovernanceCliCommand, aL as runMemoryGovernanceReportCliCommand, aM as runMemoryGovernanceRestoreCliCommand, aN as runMemoryReviewDispositionCliCommand, aO as runMemoryTimelineCliCommand, aP as runMigrateNormalizeFrontmatterCliCommand, aQ as runMigrateObservationsCliCommand, aR as runMigrateRechunkCliCommand, aS as runMigrateReextractCliCommand, aT as runMigrateRescoreImportanceCliCommand, aU as runObjectiveStateStatusCliCommand, aV as runPolicyDiffCliCommand, aW as runPolicyRollbackCliCommand, aX as runPolicyStatusCliCommand, aY as runRebuildMemoryLifecycleLedgerCliCommand, aZ as runRebuildMemoryProjectionCliCommand, a_ as runRebuildObservationsCliCommand, a$ as runRepairMemoryProjectionCliCommand, b0 as runReplayCliCommand, b1 as runResumeBundleBuildCliCommand, b2 as runResumeBundleRecordCliCommand, b3 as runResumeBundleStatusCliCommand, b4 as runRouteCliCommand, b5 as runSemanticRulePromoteCliCommand, b6 as runSemanticRuleVerifyCliCommand, b7 as runSessionCheckCliCommand, b8 as runSessionRepairCliCommand, b9 as runTailscaleStatusCliCommand, ba as runTailscaleSyncCliCommand, bb as runTierMigrateCliCommand, bc as runTierStatusCliCommand, bd as runTrainingExportCliCommand, be as runTrustZoneDemoSeedCliCommand, bf as runTrustZonePromoteCliCommand, bg as runTrustZoneStatusCliCommand, bh as runUtilityLearningCliCommand, bi as runUtilityLearningStatusCliCommand, bj as runUtilityTelemetryRecordCliCommand, bk as runUtilityTelemetryStatusCliCommand, bl as runVerifiedRecallSearchCliCommand, bm as runVerifyMemoryProjectionCliCommand, bn as runWebDavServeCliCommand, bo as runWebDavStopCliCommand, bp as runWorkProductRecallSearchCliCommand, bq as runWorkProductRecordCliCommand, br as runWorkProductStatusCliCommand, bs as runWorkProjectCliCommand, bt as runWorkTaskCliCommand } from './cli-
|
|
9
|
-
import './access-service-
|
|
8
|
+
export { c as AccessHttpServeCliCommandOptions, d as ArchiveObservationsCliCommandOptions, e as AuditMemoryCliCommandOptions, B as BulkImportCliCommandOptions, C as CliApi, g as CliCommand, h as CliProgram, i as CompatCliCommandOptions, j as ConnectorsRunCliOutputOptions, k as ConversationIndexHealthCliOrchestrator, D as DashboardStartCliCommandOptions, l as DedupeCandidate, E as ExactDedupePlan, G as GraphHealthCliCommandOptions, M as MemoryActionAuditCliCommandOptions, m as MemoryActionAuditCliNamespaceSummary, n as MemoryActionAuditCliReport, o as MemoryGovernanceCliCommandOptions, q as MemoryGovernanceReportCliCommandOptions, s as MemoryGovernanceRestoreCliCommandOptions, t as MemoryReviewDispositionCliCommandOptions, u as MemoryTimelineCliCommandOptions, v as MigrateCliOrchestrator, w as MigrateCliReport, x as MigrateObservationsCliCommandOptions, P as PolicyDiffCliReport, y as PolicyDiffEntry, z as PolicyRollbackCliReport, F as PolicyStatusCliReport, H as PolicyTuningCliOrchestrator, R as RebuildMemoryLifecycleLedgerCliCommandOptions, I as RebuildMemoryProjectionCliCommandOptions, J as RebuildObservationsCliCommandOptions, K as RepairMemoryProjectionCliCommandOptions, L as ReplayCliCommandOptions, N as ReplayCliOrchestrator, O as RouteCliCommandOptions, S as SessionIntegrityCliCommandOptions, Q as SessionRepairCliCommandOptions, T as TailscaleStatusCliCommandOptions, U as TailscaleSyncCliCommandOptions, V as TierMigrateCliAdapter, W as TierMigrateCoordinatorCliAdapter, X as TierMigrateLegacyCliAdapter, Y as TierStatusCliAdapter, Z as TierStatusCoordinatorCliAdapter, _ as TierStatusLegacyCliAdapter, $ as TrainingExportCliCommandOptions, a0 as VerifyMemoryProjectionCliCommandOptions, a1 as WebDavServeCliCommandOptions, a2 as WorkProjectCliCommandOptions, a3 as WorkTaskCliCommandOptions, a4 as emitConnectorsRunCliResult, a5 as filterNormalMemorySearchResults, a6 as hasDestructivePurgeFailures, a7 as isNormalRetrievalVisibleMemory, a8 as listMemoryMarkdownFilePaths, a9 as parseDurationToMs, aa as parseStrictCliDate, ab as planAggressiveDuplicateDeletions, ac as planExactDuplicateDeletions, ad as registerCli, ae as resolveAccessPrincipalOverride, af as resolveMemoryDirForNamespace, ag as runAbstractionNodeStatusCliCommand, ah as runAccessHttpServeCliCommand, ai as runAccessHttpStatusCliCommand, aj as runAccessHttpStopCliCommand, ak as runAccessMcpServeCliCommand, al as runArchiveObservationsCliCommand, r as runAuditMemoryCliCommand, am as runBenchmarkBaselineReportCliCommand, an as runBenchmarkBaselineSnapshotCliCommand, ao as runBenchmarkCiGateCliCommand, ap as runBenchmarkImportCliCommand, aq as runBenchmarkStatusCliCommand, ar as runBenchmarkStoredBaselineCiGateCliCommand, as as runBenchmarkValidateCliCommand, b as runBulkImportCliCommand, at as runCausalTrajectoryStatusCliCommand, au as runCommitmentLifecycleCliCommand, av as runCommitmentRecordCliCommand, aw as runCommitmentSetStateCliCommand, ax as runCommitmentStatusCliCommand, ay as runCompatCliCommand, az as runCompoundingPromoteCliCommand, aA as runConversationIndexHealthCliCommand, aB as runConversationIndexInspectCliCommand, aC as runConversationIndexRebuildCliCommand, aD as runCueAnchorStatusCliCommand, aE as runDashboardStartCliCommand, aF as runDashboardStatusCliCommand, aG as runDashboardStopCliCommand, aH as runGraphHealthCliCommand, aI as runHarmonicSearchCliCommand, aJ as runMemoryActionAuditCliCommand, aK as runMemoryGovernanceCliCommand, aL as runMemoryGovernanceReportCliCommand, aM as runMemoryGovernanceRestoreCliCommand, aN as runMemoryReviewDispositionCliCommand, aO as runMemoryTimelineCliCommand, aP as runMigrateNormalizeFrontmatterCliCommand, aQ as runMigrateObservationsCliCommand, aR as runMigrateRechunkCliCommand, aS as runMigrateReextractCliCommand, aT as runMigrateRescoreImportanceCliCommand, aU as runObjectiveStateStatusCliCommand, aV as runPolicyDiffCliCommand, aW as runPolicyRollbackCliCommand, aX as runPolicyStatusCliCommand, aY as runRebuildMemoryLifecycleLedgerCliCommand, aZ as runRebuildMemoryProjectionCliCommand, a_ as runRebuildObservationsCliCommand, a$ as runRepairMemoryProjectionCliCommand, b0 as runReplayCliCommand, b1 as runResumeBundleBuildCliCommand, b2 as runResumeBundleRecordCliCommand, b3 as runResumeBundleStatusCliCommand, b4 as runRouteCliCommand, b5 as runSemanticRulePromoteCliCommand, b6 as runSemanticRuleVerifyCliCommand, b7 as runSessionCheckCliCommand, b8 as runSessionRepairCliCommand, b9 as runTailscaleStatusCliCommand, ba as runTailscaleSyncCliCommand, bb as runTierMigrateCliCommand, bc as runTierStatusCliCommand, bd as runTrainingExportCliCommand, be as runTrustZoneDemoSeedCliCommand, bf as runTrustZonePromoteCliCommand, bg as runTrustZoneStatusCliCommand, bh as runUtilityLearningCliCommand, bi as runUtilityLearningStatusCliCommand, bj as runUtilityTelemetryRecordCliCommand, bk as runUtilityTelemetryStatusCliCommand, bl as runVerifiedRecallSearchCliCommand, bm as runVerifyMemoryProjectionCliCommand, bn as runWebDavServeCliCommand, bo as runWebDavStopCliCommand, bp as runWorkProductRecallSearchCliCommand, bq as runWorkProductRecordCliCommand, br as runWorkProductStatusCliCommand, bs as runWorkProjectCliCommand, bt as runWorkTaskCliCommand } from './cli-BNg-TAlz.js';
|
|
9
|
+
import './access-service-gBcdRUHY.js';
|
|
10
10
|
import 'node:stream';
|
|
11
11
|
import './resolve-auth-token.js';
|
|
12
12
|
import './causal-trajectory.js';
|
|
13
13
|
import './connectors-cli-2iaQ5tX2.js';
|
|
14
|
-
import './pipeline-
|
|
14
|
+
import './pipeline-CiYcqqhl.js';
|
|
15
15
|
import './policy-runtime.js';
|
|
16
16
|
import './maintenance/memory-governance.js';
|
|
17
17
|
import './maintenance/rebuild-memory-projection.js';
|
|
@@ -48,6 +48,7 @@ import './external-wiki-config.js';
|
|
|
48
48
|
import './recall-state-view.js';
|
|
49
49
|
import './contradiction-config.js';
|
|
50
50
|
import './graph-path-scoring-config.js';
|
|
51
|
+
import './background-generation-config.js';
|
|
51
52
|
import './deep-recall-config.js';
|
|
52
53
|
import './active-context-config.js';
|
|
53
54
|
import './local-llm-config.js';
|
|
@@ -78,16 +79,17 @@ import './local-llm.js';
|
|
|
78
79
|
import './model-registry.js';
|
|
79
80
|
import './fallback-llm.js';
|
|
80
81
|
import './resolve-provider-secret.js';
|
|
82
|
+
import './cli-fallback.js';
|
|
81
83
|
import './transcript.js';
|
|
82
84
|
import './summarizer.js';
|
|
83
|
-
import './maintenance-
|
|
84
|
-
import './catalog-
|
|
85
|
+
import './maintenance-CW9wCzMP.js';
|
|
86
|
+
import './catalog-CW87xGx8.js';
|
|
85
87
|
import './namespaces/search.js';
|
|
86
88
|
import './utility-runtime.js';
|
|
87
89
|
import './tier-routing.js';
|
|
88
90
|
import './lifecycle.js';
|
|
89
91
|
import './orchestration/compression-guideline-coordinator.js';
|
|
90
|
-
import './semantic-consolidation-
|
|
92
|
+
import './semantic-consolidation-CmZi7thY.js';
|
|
91
93
|
import './connectors/codex-materialize.js';
|
|
92
94
|
import './logger.js';
|
|
93
95
|
import './embedding-fallback.js';
|
|
@@ -99,23 +101,23 @@ import './harmonic-retrieval.js';
|
|
|
99
101
|
import './trust-score-stage.js';
|
|
100
102
|
import './trust-score.js';
|
|
101
103
|
import './included-memories.js';
|
|
102
|
-
import './dependency-propagation-delivery-
|
|
104
|
+
import './dependency-propagation-delivery-Cq1ekOwV.js';
|
|
103
105
|
import './boxes.js';
|
|
104
106
|
import './namespaces/storage.js';
|
|
105
107
|
import './threading.js';
|
|
106
|
-
import './scope-profiles-
|
|
108
|
+
import './scope-profiles-BT9rqC3w.js';
|
|
107
109
|
import './recall-xray.js';
|
|
108
110
|
import './memory-provenance.js';
|
|
109
111
|
import './user-model.js';
|
|
110
112
|
import './recall-context-composition.js';
|
|
111
|
-
import './generic-recall-paths-
|
|
113
|
+
import './generic-recall-paths-BcySh_f9.js';
|
|
112
114
|
import './live-connectors-runner.js';
|
|
113
115
|
import './framework-CNDn2164.js';
|
|
114
116
|
import './relevance.js';
|
|
115
117
|
import './negative.js';
|
|
116
118
|
import './session-observer-state.js';
|
|
117
119
|
import './semantic-BalR6EXU.js';
|
|
118
|
-
import './service-
|
|
120
|
+
import './service-CLkA7AQB.js';
|
|
119
121
|
import './extraction-judge.js';
|
|
120
122
|
import './lcm/engine.js';
|
|
121
123
|
import './lcm/archive.js';
|
|
@@ -135,7 +137,7 @@ import './recall-audit.js';
|
|
|
135
137
|
import './types-B1VHaf2w.js';
|
|
136
138
|
import './transfer/capsule-import.js';
|
|
137
139
|
import './transfer/types.js';
|
|
138
|
-
import './access-namespace-preflight-
|
|
140
|
+
import './access-namespace-preflight-DY4z6L5X.js';
|
|
139
141
|
import './access-token-capabilities.js';
|
|
140
142
|
import 'node:async_hooks';
|
|
141
143
|
import './recall-explain-renderer.js';
|