@remnic/core 9.69.40 → 9.69.41
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 +13 -13
- package/dist/access-admin-ops-surface.js +69 -68
- package/dist/access-audit.js +2 -2
- package/dist/access-authorization-probe.d.ts +13 -13
- package/dist/access-authorization-probe.js +70 -69
- package/dist/access-boundary.d.ts +13 -13
- package/dist/access-boundary.js +69 -68
- package/dist/access-cli.js +157 -155
- package/dist/access-cli.js.map +1 -1
- package/dist/access-coding-context-resolution.d.ts +1 -1
- package/dist/access-extraction-force-flush.d.ts +13 -13
- package/dist/access-extraction-force-flush.js +69 -68
- package/dist/access-health-types.d.ts +1 -1
- package/dist/access-http-briefing.d.ts +13 -13
- package/dist/access-http-briefing.js +70 -69
- package/dist/access-http-lcm-compaction.d.ts +13 -13
- package/dist/access-http-lifecycle-flush.d.ts +13 -13
- package/dist/access-http-offline-stream.d.ts +13 -13
- package/dist/access-http-query.d.ts +2 -2
- package/dist/access-http-query.js +71 -70
- package/dist/access-http.d.ts +14 -14
- package/dist/access-http.js +90 -87
- package/dist/access-identity-continuity-surface.d.ts +11 -11
- package/dist/access-identity-continuity-surface.js +69 -68
- package/dist/access-lcm-surface.d.ts +13 -13
- package/dist/access-lcm-surface.js +69 -68
- package/dist/access-mcp-shared-context-tools.d.ts +156 -0
- package/dist/access-mcp-shared-context-tools.js +8 -0
- package/dist/access-mcp.d.ts +13 -13
- package/dist/access-mcp.js +81 -78
- package/dist/access-memory-search-fanout.d.ts +2 -2
- package/dist/{access-namespace-preflight-CKBumJ8W.d.ts → access-namespace-preflight-DWsMc9Dh.d.ts} +1 -1
- package/dist/access-namespace-preflight.d.ts +3 -3
- package/dist/access-namespace-preflight.js +69 -68
- package/dist/access-observe-transcript.d.ts +11 -11
- package/dist/access-observe-write-category.d.ts +1 -1
- package/dist/access-observe-write-category.js +4 -4
- package/dist/access-observe-write-surface.d.ts +13 -13
- package/dist/access-observe-write-surface.js +69 -68
- package/dist/access-offline-manifest.d.ts +11 -11
- package/dist/access-offline-manifest.js +9 -9
- package/dist/access-operations-batch.js +74 -72
- package/dist/access-operations.d.ts +13 -13
- package/dist/access-operations.js +79 -77
- package/dist/access-recall-concurrency.d.ts +13 -13
- package/dist/access-recall-concurrency.js +69 -68
- package/dist/access-recall-response.d.ts +13 -13
- package/dist/access-recall-response.js +69 -68
- package/dist/access-recall-surface.d.ts +13 -13
- package/dist/access-recall-surface.js +69 -68
- package/dist/access-schema.d.ts +1 -1
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-DJ3qogNt.d.ts → access-service-Cisy5YDq.d.ts} +14 -9
- package/dist/access-service-helpers.d.ts +13 -13
- package/dist/access-service.d.ts +13 -13
- package/dist/access-service.js +69 -68
- package/dist/access-surface-catalog.d.ts +13 -13
- package/dist/access-surface-catalog.js +71 -70
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/access-wearables-meetings-surface.d.ts +4 -4
- package/dist/action-confidence.d.ts +1 -1
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-memory-bridge.js +3 -3
- package/dist/active-recall.d.ts +1 -1
- package/dist/active-recall.js +6 -6
- package/dist/activity/digest.d.ts +1 -1
- package/dist/ambient-provenance.d.ts +1 -1
- package/dist/artifact-search.d.ts +1 -1
- package/dist/{auto-sync-D6BAPIJV.js → auto-sync-7PGUFY7U.js} +7 -7
- package/dist/background-generation.d.ts +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +11 -11
- package/dist/briefing-window.d.ts +2 -2
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +17 -17
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer-turn-helpers.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/buffer.js +5 -5
- package/dist/bulk-import/index.d.ts +3 -3
- package/dist/calibration.d.ts +1 -1
- package/dist/calibration.js +2 -2
- package/dist/capabilities.d.ts +1 -1
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/{capsule-merge-IPG4IOFP.js → capsule-merge-3MNURAQ3.js} +2 -2
- package/dist/{catalog-BHXkBVhg.d.ts → catalog-wcX1QhtQ.d.ts} +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +1 -1
- package/dist/causal-consolidation.js +20 -20
- package/dist/causal-trajectory-graph.d.ts +1 -1
- package/dist/{chunk-M6RORUO5.js → chunk-2EYZ32LH.js} +24 -2
- package/dist/{chunk-M6RORUO5.js.map → chunk-2EYZ32LH.js.map} +1 -1
- package/dist/{chunk-VHKXRYQN.js → chunk-2HQPE2NM.js} +2 -2
- package/dist/{chunk-RDLPFM7I.js → chunk-2ZG2LLZT.js} +2 -2
- package/dist/{chunk-IMBQFHRV.js → chunk-3BLHPQHT.js} +5 -5
- package/dist/{chunk-6L2II3KS.js → chunk-3D75XIYO.js} +2 -2
- package/dist/{chunk-J272ODKJ.js → chunk-42DJ235G.js} +2 -2
- package/dist/{chunk-RJQAP333.js → chunk-46RII65S.js} +2 -2
- package/dist/{chunk-JUDT33RX.js → chunk-4AX5OYKC.js} +2 -2
- package/dist/{chunk-GSSDHAYH.js → chunk-4IGOLIWM.js} +2 -2
- package/dist/{chunk-4CMXI55L.js → chunk-54QPOE45.js} +2 -2
- package/dist/{chunk-LKFVVN7R.js → chunk-563X6JJX.js} +2 -2
- package/dist/{chunk-VQWBUPSJ.js → chunk-5EQT62HH.js} +2 -2
- package/dist/{chunk-BYQX4IOG.js → chunk-6MQMYXSQ.js} +2 -2
- package/dist/{chunk-TVVEYCNW.js → chunk-7K5Q6COX.js} +4 -4
- package/dist/{chunk-K75A5XWU.js → chunk-7ZLC4DTZ.js} +4 -4
- package/dist/{chunk-7Z54NXVS.js → chunk-A4OIJYCV.js} +2 -2
- package/dist/{chunk-QS5Q5RBV.js → chunk-AFJHNHAM.js} +8 -8
- package/dist/{chunk-TZ44E732.js → chunk-AIVRD66I.js} +2 -2
- package/dist/{chunk-OEDW4ER7.js → chunk-AJBWVDRV.js} +2 -1
- package/dist/chunk-AJBWVDRV.js.map +1 -0
- package/dist/{chunk-IOPIGX7Y.js → chunk-AKABVXFS.js} +2 -2
- package/dist/{chunk-KOTG3RXE.js → chunk-AUSRUOMQ.js} +2 -2
- package/dist/{chunk-K4A6UVPB.js → chunk-BTPCP535.js} +8 -8
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-TEMKBSV6.js → chunk-C3G6MW4W.js} +3 -3
- package/dist/{chunk-3QEVOQF5.js → chunk-D6PY63OM.js} +2 -2
- package/dist/{chunk-DFVSJFHK.js → chunk-DBB5JPSL.js} +2 -2
- package/dist/{chunk-HJUP3K6L.js → chunk-DIXZQTGY.js} +2 -2
- package/dist/{chunk-ZX3AYNNV.js → chunk-DM5CU5J7.js} +2 -2
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/{chunk-BGRTZOJB.js → chunk-E3I3NDUP.js} +4 -4
- package/dist/{chunk-ZAEPD4C2.js → chunk-E4LMQTST.js} +2 -2
- package/dist/{chunk-NETQXOPY.js → chunk-EH3HNCAM.js} +12 -7
- package/dist/{chunk-NETQXOPY.js.map → chunk-EH3HNCAM.js.map} +1 -1
- package/dist/{chunk-7D6SER6A.js → chunk-EMSYMYXO.js} +14 -14
- package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
- package/dist/{chunk-V2ZA4YWE.js → chunk-F5H6YG5P.js} +2 -2
- package/dist/{chunk-YTK5MVNF.js → chunk-FGFC2EFR.js} +14 -13
- package/dist/chunk-FGFC2EFR.js.map +1 -0
- package/dist/{chunk-ZMWSYUUL.js → chunk-GCBIXUPT.js} +2 -2
- package/dist/{chunk-IS2IDFJP.js → chunk-GMH5QPUU.js} +22 -22
- package/dist/chunk-GMH5QPUU.js.map +1 -0
- package/dist/{chunk-LFVZD5EC.js → chunk-GWNSKQDA.js} +3 -3
- package/dist/{chunk-JDX2OA4R.js → chunk-HNHIHXSD.js} +2 -2
- package/dist/{chunk-2SNCQHJZ.js → chunk-I33QYUAF.js} +6 -6
- package/dist/{chunk-UZ6JYPJ6.js → chunk-I46BYY7U.js} +193 -150
- package/dist/chunk-I46BYY7U.js.map +1 -0
- package/dist/{chunk-MVG3KXON.js → chunk-ICN37XHG.js} +15 -15
- package/dist/chunk-IFBSZGW3.js +42 -0
- package/dist/chunk-IFBSZGW3.js.map +1 -0
- package/dist/{chunk-ICNJ6J46.js → chunk-IYIPXAIJ.js} +2 -2
- package/dist/{chunk-AEOOGXMQ.js → chunk-J2MGTGKC.js} +4 -4
- package/dist/chunk-JATHBCAV.js +94 -0
- package/dist/chunk-JATHBCAV.js.map +1 -0
- package/dist/{chunk-5U7K4W6K.js → chunk-JDOBQPJY.js} +3 -3
- package/dist/{chunk-TG3FAM2S.js → chunk-JL4TQYM5.js} +48 -1
- package/dist/{chunk-TG3FAM2S.js.map → chunk-JL4TQYM5.js.map} +1 -1
- package/dist/{chunk-NVVZPBKI.js → chunk-JMWUPUE6.js} +2 -2
- package/dist/{chunk-QPVNK2VE.js → chunk-JSD7Q7LD.js} +2 -2
- package/dist/{chunk-RLU2Y5GV.js → chunk-K5D2XVNN.js} +4 -4
- package/dist/{chunk-YTZN2UZO.js → chunk-KJLLPG26.js} +2 -2
- package/dist/{chunk-2SKMZUOW.js → chunk-KLUC2GSG.js} +6 -6
- package/dist/{chunk-YRIFXXMI.js → chunk-KZJM7R4F.js} +3 -3
- package/dist/{chunk-46Z3VGWF.js → chunk-LE2KZ72G.js} +3 -3
- package/dist/{chunk-HIP6DKJJ.js → chunk-LQVXSRAJ.js} +2 -2
- package/dist/{chunk-A7GQBJP5.js → chunk-LVFI5LG7.js} +7 -7
- package/dist/{chunk-5LYSEZOF.js → chunk-MCMS4VUK.js} +9 -8
- package/dist/chunk-MCMS4VUK.js.map +1 -0
- package/dist/{chunk-ROEFLU37.js → chunk-N6XTC56E.js} +13 -81
- package/dist/chunk-N6XTC56E.js.map +1 -0
- package/dist/{chunk-PKUJNICO.js → chunk-ND7MAIJC.js} +2 -2
- package/dist/{chunk-DAZANIYU.js → chunk-NYWCFC3K.js} +76 -77
- package/dist/{chunk-DAZANIYU.js.map → chunk-NYWCFC3K.js.map} +1 -1
- package/dist/{chunk-W23JARAQ.js → chunk-P66QH6R6.js} +2 -2
- package/dist/{chunk-62D2PAAM.js → chunk-PAAJWQH5.js} +4 -4
- package/dist/{chunk-XM46Y66S.js → chunk-PFKIOYJH.js} +2 -2
- package/dist/{chunk-C5R73BON.js → chunk-PGGPRF6J.js} +2 -2
- package/dist/{chunk-V6EGNVUT.js → chunk-PIWFNPQT.js} +4 -4
- package/dist/{chunk-JOP7W24J.js → chunk-PLJ2MQFT.js} +4 -4
- package/dist/{chunk-MJC7UKH7.js → chunk-PQ42DJNG.js} +2 -2
- package/dist/{chunk-37CAEC7E.js → chunk-PWPIERBM.js} +4 -4
- package/dist/{chunk-BXIJSPCL.js → chunk-Q62GA5U2.js} +2 -2
- package/dist/{chunk-CC37E3QM.js → chunk-QKCXRS5A.js} +16 -1
- package/dist/chunk-QKCXRS5A.js.map +1 -0
- package/dist/{chunk-VKWFNPBH.js → chunk-RQQO3ORQ.js} +2 -2
- package/dist/{chunk-SFHLQPBF.js → chunk-S4MJTIPG.js} +85 -81
- package/dist/chunk-S4MJTIPG.js.map +1 -0
- package/dist/{chunk-THTF2W7M.js → chunk-TRTLWUDD.js} +19 -18
- package/dist/chunk-TRTLWUDD.js.map +1 -0
- package/dist/{chunk-KTOXQMW3.js → chunk-UHSOPTNB.js} +14 -4
- package/dist/chunk-UHSOPTNB.js.map +1 -0
- package/dist/{chunk-ES5BUPYB.js → chunk-UZGHKD3T.js} +2 -2
- package/dist/{chunk-62HFZNCJ.js → chunk-V2EXYQEQ.js} +11 -10
- package/dist/{chunk-62HFZNCJ.js.map → chunk-V2EXYQEQ.js.map} +1 -1
- package/dist/{chunk-QE6YVNP5.js → chunk-V2TOGJPM.js} +49 -16
- package/dist/chunk-V2TOGJPM.js.map +1 -0
- package/dist/{chunk-J4WGTN2N.js → chunk-V62YYBBY.js} +4 -4
- package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
- package/dist/{chunk-Z4GUX2M6.js → chunk-VSN2DMQK.js} +2 -2
- package/dist/{chunk-ZHXSOMYH.js → chunk-VVX5PZFS.js} +2 -2
- package/dist/{chunk-KY236SP5.js → chunk-W7UV2ZCA.js} +3 -3
- package/dist/{chunk-TO36VPZI.js → chunk-WBQ4ONQJ.js} +2 -2
- package/dist/{chunk-WZYHPAG5.js → chunk-WFMQN7JE.js} +3 -3
- package/dist/{chunk-G2XZFGYN.js → chunk-WGZHSQDV.js} +4 -4
- package/dist/{chunk-MDIEES23.js → chunk-WN2OXGGH.js} +1 -1
- package/dist/chunk-WN2OXGGH.js.map +1 -0
- package/dist/{chunk-SUEOG2S4.js → chunk-WPGA4RYI.js} +2 -2
- package/dist/{chunk-SV4Z2S67.js → chunk-WUUGE7QC.js} +54 -21
- package/dist/chunk-WUUGE7QC.js.map +1 -0
- package/dist/{chunk-J7FVMLBR.js → chunk-WZIO3TW6.js} +2 -2
- package/dist/{chunk-ZZUVBZL2.js → chunk-X2QPKLPL.js} +2 -2
- package/dist/{chunk-JAJIMTFB.js → chunk-XRS65T4O.js} +9 -9
- package/dist/{chunk-GO5LOHCD.js → chunk-YFXAWGMR.js} +2 -2
- package/dist/{chunk-ZRMMXWYI.js → chunk-YR5QT4SR.js} +32 -9
- package/dist/chunk-YR5QT4SR.js.map +1 -0
- package/dist/{chunk-CARRTDKC.js → chunk-Z22M4JCY.js} +4 -3
- package/dist/chunk-Z22M4JCY.js.map +1 -0
- package/dist/{chunk-K4JKAXMO.js → chunk-Z535ADTC.js} +3 -3
- package/dist/{chunk-23HFXQ5J.js → chunk-Z7NBT6AK.js} +3 -3
- package/dist/{chunk-VQYWKCDR.js → chunk-ZX6NNFSY.js} +3 -3
- package/dist/{chunk-3XPN7AVY.js → chunk-ZYSOT6HD.js} +2 -2
- package/dist/{chunk-ZZCR2QYL.js → chunk-ZZEIL3MI.js} +2 -2
- package/dist/{cli-BWri5-am.d.ts → cli-CUlMlS2N.d.ts} +5 -5
- package/dist/cli.d.ts +15 -15
- package/dist/cli.js +116 -114
- package/dist/coding/export-okf-codegraph.d.ts +1 -1
- package/dist/coding/export-okf-codegraph.js +16 -16
- package/dist/coding/pre-action-gate.d.ts +1 -1
- package/dist/compounding/engine.d.ts +2 -2
- package/dist/compounding/engine.js +19 -19
- package/dist/compounding/preference-consolidator.d.ts +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +6 -6
- package/dist/connectors/codex-materialize-runner.d.ts +1 -1
- package/dist/connectors/codex-materialize-runner.js +19 -19
- package/dist/connectors/codex-materialize.d.ts +1 -1
- package/dist/connectors/codex-materialize.js +2 -2
- package/dist/connectors/index.d.ts +1 -1
- package/dist/connectors/index.js +19 -19
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/contradiction/index.d.ts +4 -4
- package/dist/contradiction/index.js +4 -4
- package/dist/{contradiction-scan-BSGKZHYJ.js → contradiction-scan-GVD4JJ7B.js} +4 -4
- package/dist/converge-config.d.ts +1 -1
- package/dist/convergence-refresh.d.ts +2 -2
- package/dist/convergence-refresh.js +20 -20
- package/dist/conversation-index/backend.d.ts +1 -1
- package/dist/conversation-index/chunker.d.ts +1 -1
- package/dist/conversation-index/faiss-adapter.d.ts +1 -1
- package/dist/conversation-index/indexer.d.ts +1 -1
- package/dist/conversation-index/search.d.ts +1 -1
- package/dist/corpus-watermark.d.ts +1 -1
- package/dist/corpus-watermark.js +19 -19
- package/dist/cross-lingual-recall.d.ts +1 -1
- package/dist/dashboard-runtime.js +2 -2
- package/dist/day-summary.d.ts +1 -1
- package/dist/deep-recall-config.d.ts +12 -1
- package/dist/deep-recall-config.js +5 -3
- package/dist/deep-recall-http-glue.d.ts +16 -14
- package/dist/deep-recall-http-glue.js +7 -4
- package/dist/deep-recall-mcp-tools.d.ts +13 -13
- package/dist/deep-recall-policy-llm.d.ts +12 -2
- package/dist/deep-recall-policy-llm.js +3 -3
- package/dist/deep-recall-seeds.d.ts +4 -1
- package/dist/deep-recall-seeds.js +1 -1
- package/dist/deep-recall.d.ts +12 -1
- package/dist/deep-recall.js +3 -2
- package/dist/delinearize.d.ts +1 -1
- package/dist/dependency-propagation-config.d.ts +1 -1
- package/dist/{dependency-propagation-delivery-ueZlKTQB.d.ts → dependency-propagation-delivery-BDDjImQn.d.ts} +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/enrichment/index.d.ts +1 -1
- package/dist/entity-origin-fields.d.ts +1 -1
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +18 -18
- package/dist/entity-schema.d.ts +1 -1
- package/dist/episodic-context.d.ts +1 -1
- package/dist/eval-trajectory-contracts.d.ts +1 -1
- package/dist/eval-trajectory-store.d.ts +1 -1
- package/dist/eval-trajectory.d.ts +1 -1
- package/dist/explicit-capture.d.ts +11 -11
- package/dist/explicit-capture.js +3 -3
- package/dist/external-wiki-access.d.ts +13 -13
- package/dist/external-wiki-access.js +70 -69
- package/dist/external-wiki-collection-registration.d.ts +1 -1
- package/dist/external-wiki-collection.d.ts +1 -1
- package/dist/external-wiki-mcp-tools.d.ts +13 -13
- package/dist/extraction-error-classification.d.ts +1 -1
- package/dist/extraction-faithfulness.d.ts +2 -2
- package/dist/extraction-faithfulness.js +3 -3
- package/dist/extraction-judge-telemetry.d.ts +2 -2
- package/dist/extraction-judge-training.d.ts +2 -2
- package/dist/extraction-judge.d.ts +2 -2
- package/dist/extraction-judge.js +3 -3
- package/dist/extraction-liveness.d.ts +1 -1
- package/dist/extraction-normalization.d.ts +1 -1
- package/dist/extraction-prompt.d.ts +1 -1
- package/dist/extraction-source-grounding-rules.d.ts +1 -1
- package/dist/extraction-source-grounding.d.ts +1 -1
- package/dist/extraction-span-config.d.ts +1 -1
- package/dist/extraction-span-materialize.d.ts +1 -1
- package/dist/extraction.d.ts +2 -2
- package/dist/extraction.js +30 -30
- package/dist/fallback-llm-codex-subscription.d.ts +15 -5
- package/dist/fallback-llm-codex-subscription.js +3 -1
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/fallback-llm.js +2 -2
- package/dist/{first-start-migration-ZWMV5CX4.js → first-start-migration-L3UFX5CU.js} +4 -4
- package/dist/{generic-recall-paths-CpyVmA88.d.ts → generic-recall-paths-CpDzNO_I.d.ts} +1 -1
- package/dist/graph-append-error.d.ts +1 -1
- package/dist/graph-dashboard-diff.d.ts +1 -1
- package/dist/graph-dashboard-key.d.ts +1 -1
- package/dist/graph-dashboard-parser.d.ts +1 -1
- package/dist/graph-edge-reinforcement.d.ts +1 -1
- package/dist/graph-jsonl.d.ts +1 -1
- package/dist/graph-path-reconstruction.d.ts +1 -1
- package/dist/graph-path-scoring.d.ts +1 -1
- package/dist/graph-snapshot.d.ts +1 -1
- package/dist/graph.d.ts +1 -1
- package/dist/harmonic-retrieval.js +3 -3
- package/dist/importance.d.ts +1 -1
- package/dist/importers/index.d.ts +1 -1
- package/dist/importers/test-utils.d.ts +1 -1
- package/dist/in-flight-reads.d.ts +1 -1
- package/dist/{index-BvUA4S7M.d.ts → index-CtmmCJoo.d.ts} +3 -3
- package/dist/index.d.ts +26 -26
- package/dist/index.js +279 -275
- package/dist/intent.d.ts +1 -1
- package/dist/lcm/engine.d.ts +1 -1
- package/dist/lcm/engine.js +3 -3
- package/dist/lcm/index.d.ts +1 -1
- package/dist/lcm/index.js +8 -8
- package/dist/lcm/tools.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/{local-llm-BsJGulur.d.ts → local-llm-DpXIvm6F.d.ts} +1 -1
- package/dist/local-llm-helpers.d.ts +2 -2
- package/dist/local-llm.d.ts +2 -2
- package/dist/local-llm.js +2 -2
- package/dist/local-model-endpoint.d.ts +1 -1
- package/dist/location/index.d.ts +3 -3
- package/dist/location/index.js +19 -19
- package/dist/maintenance/memory-governance.d.ts +1 -1
- package/dist/maintenance/memory-governance.js +18 -18
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +17 -17
- package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
- package/dist/maintenance/rebuild-memory-projection.js +19 -19
- package/dist/{maintenance-CYubtIRr.d.ts → maintenance-CNgoLsoM.d.ts} +7 -6
- package/dist/mcp-memory-inspector-app.d.ts +13 -13
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/memory-controller.d.ts +1 -1
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/memory-projection-store.d.ts +1 -1
- package/dist/memory-provenance.d.ts +1 -1
- package/dist/memory-snapshot.d.ts +1 -1
- package/dist/memory-subject-cli.d.ts +13 -13
- package/dist/memory-subject.d.ts +13 -13
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/namespaces/migrate.d.ts +3 -3
- package/dist/namespaces/migrate.js +18 -18
- package/dist/namespaces/principal.d.ts +1 -1
- package/dist/namespaces/search.d.ts +1 -1
- package/dist/namespaces/search.js +3 -3
- package/dist/namespaces/storage.d.ts +3 -3
- package/dist/namespaces/storage.js +17 -17
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/offline-sync-impression-drain.d.ts +1 -1
- package/dist/operator-doctor-corpus.d.ts +1 -1
- package/dist/operator-doctor-corpus.js +20 -20
- package/dist/operator-doctor-replica.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +3 -3
- package/dist/operator-toolkit.js +35 -35
- package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
- package/dist/orchestration/maintenance.d.ts +4 -4
- package/dist/orchestration/maintenance.js +29 -29
- package/dist/{orchestrator-BWDRJ_0d.d.ts → orchestrator-DT7ybIFz.d.ts} +18 -10
- package/dist/orchestrator.d.ts +11 -11
- package/dist/orchestrator.js +157 -155
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/{pipeline-7JMn2yMH.d.ts → pipeline-CgBEmHcz.d.ts} +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/proactive-contention.d.ts +2 -2
- package/dist/provenance.d.ts +1 -1
- package/dist/{public-http-CJWs3mo9.d.ts → public-http-C8P8fyiO.d.ts} +1 -1
- package/dist/{qmd-CxCH9G9m.d.ts → qmd-BkY8KpCh.d.ts} +1 -1
- package/dist/qmd-preflight.d.ts +2 -2
- package/dist/qmd-recall-cache.d.ts +1 -1
- package/dist/qmd.d.ts +2 -2
- package/dist/recall-concurrency-config.d.ts +1 -1
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-memory-map.d.ts +1 -1
- package/dist/recall-navigate-access.d.ts +1 -1
- package/dist/recall-navigate-access.js +2 -2
- package/dist/recall-navigate-disclosure.d.ts +1 -1
- package/dist/recall-navigate-disclosure.js +1 -1
- package/dist/recall-navigate.d.ts +1 -1
- package/dist/recall-navigate.js +2 -2
- package/dist/recall-planner-llm.d.ts +1 -1
- package/dist/recall-planner-llm.js +2 -2
- package/dist/recall-state-view-admission.d.ts +2 -2
- package/dist/recall-state-view-admission.js +7 -7
- package/dist/recall-state-view-anchors.d.ts +1 -1
- package/dist/recall-state-view-anchors.js +2 -2
- package/dist/recall-state-view-inject.js +2 -2
- package/dist/recall-state-view-render.js +2 -2
- package/dist/recall-state-view-widen.js +2 -2
- package/dist/recall-state-view-wire.js +3 -3
- package/dist/recall-state-view.d.ts +9 -1
- package/dist/recall-state-view.js +5 -3
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-timings.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +1 -1
- package/dist/recall-xray.js +2 -2
- package/dist/reconcile/cursor.d.ts +1 -1
- package/dist/reconcile/cursor.js +2 -2
- package/dist/reconcile/manifest.d.ts +1 -1
- package/dist/reconcile/manifest.js +4 -4
- package/dist/reconcile/plan.d.ts +1 -1
- package/dist/reconcile/plan.js +2 -2
- package/dist/replay/normalizers/chatgpt.d.ts +1 -1
- package/dist/replay/normalizers/claude.d.ts +1 -1
- package/dist/replay/normalizers/openclaw.d.ts +1 -1
- package/dist/replay/normalizers/shared.d.ts +1 -1
- package/dist/replay/runner.d.ts +1 -1
- package/dist/replay/types.d.ts +1 -1
- package/dist/replica-divergence.d.ts +1 -1
- package/dist/replica-peers-config.d.ts +1 -1
- package/dist/{resolution-4GG3QZRJ.js → resolution-LXFQQ4AE.js} +5 -5
- package/dist/resolution-LXFQQ4AE.js.map +1 -0
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +8 -8
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/routing/engine.d.ts +1 -1
- package/dist/routing/store.d.ts +1 -1
- package/dist/salvage-envelope.d.ts +1 -1
- package/dist/{scope-profiles-BGAUqhBR.d.ts → scope-profiles-BBPjZ9jb.d.ts} +1 -1
- package/dist/search/embed-helper.d.ts +1 -1
- package/dist/search/factory.d.ts +1 -1
- package/dist/search/factory.js +2 -2
- package/dist/search/index.d.ts +1 -1
- package/dist/search/index.js +4 -4
- package/dist/search/lancedb-backend.d.ts +1 -1
- package/dist/search/meilisearch-backend.d.ts +1 -1
- package/dist/search/noop-backend.d.ts +1 -1
- package/dist/search/orama-backend.d.ts +1 -1
- package/dist/search/port.d.ts +1 -1
- package/dist/search/remote-backend.d.ts +1 -1
- package/dist/{semantic-consolidation-CCeRD9pV.d.ts → semantic-consolidation-BPFFVO84.d.ts} +1 -1
- package/dist/semantic-consolidation.d.ts +2 -2
- package/dist/semantic-consolidation.js +20 -20
- package/dist/semantic-rule-promotion.js +17 -17
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +17 -17
- package/dist/{service-BwpzRduk.d.ts → service-jKcr6Jvr.d.ts} +2 -2
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/shared-context/manager.d.ts +1 -1
- package/dist/shared-context/manager.js +2 -2
- package/dist/shared-context/write-output-controls.d.ts +34 -0
- package/dist/shared-context/write-output-controls.js +10 -0
- package/dist/shared-context/write-output-controls.js.map +1 -0
- package/dist/signal.d.ts +1 -1
- package/dist/source-agent-qualifier.d.ts +1 -1
- package/dist/source-agent-qualifier.js +25 -25
- package/dist/source-attribution.d.ts +23 -1
- package/dist/source-attribution.js +13 -3
- package/dist/standup/build.js +17 -17
- package/dist/{storage-BprAGBG0.d.ts → storage-C-0Ah5OY.d.ts} +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +16 -16
- package/dist/subject-config.d.ts +1 -1
- package/dist/summarizer.d.ts +1 -1
- package/dist/summarizer.js +6 -6
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/support-passport/index.d.ts +16 -16
- package/dist/support-passport/index.js +72 -71
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-timeline-recall.d.ts +1 -1
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +2 -2
- package/dist/tier-routing.d.ts +1 -1
- package/dist/tier-routing.js +3 -3
- package/dist/{tier-stats-LUSUUNU6.js → tier-stats-VK5PCO2L.js} +4 -4
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +3 -3
- package/dist/transfer/export-okf.d.ts +1 -1
- package/dist/transfer/export-okf.js +17 -17
- package/dist/trust-score-stage.d.ts +1 -1
- package/dist/trust-score.d.ts +1 -1
- package/dist/{types-nJV23pa3.d.ts → types-cK5LydjL.d.ts} +5 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +17 -17
- package/dist/who-knows-cli.d.ts +13 -13
- package/dist/who-knows-cli.js +18 -18
- package/dist/who-knows.d.ts +13 -13
- package/dist/who-knows.js +17 -17
- package/dist/write-envelope.d.ts +1 -1
- package/package.json +12 -2
- package/src/access-http.ts +1 -1
- package/src/access-mcp-shared-context-tools.ts +103 -0
- package/src/access-mcp.ts +4 -74
- package/src/access-operations-batch.ts +45 -2
- package/src/access-service.ts +14 -7
- package/src/activity/timeline/regenerate.test.ts +48 -0
- package/src/activity/timeline/regenerate.ts +7 -5
- package/src/cli/deep-recall-commands.ts +22 -10
- package/src/config.ts +5 -0
- package/src/dedup/merge.test.ts +283 -0
- package/src/deep-recall-boundary.test.ts +66 -0
- package/src/deep-recall-cli.test.ts +82 -0
- package/src/deep-recall-config.test.ts +56 -0
- package/src/deep-recall-config.ts +32 -0
- package/src/deep-recall-http-glue.ts +10 -10
- package/src/deep-recall-policy-llm.test.ts +242 -0
- package/src/deep-recall-policy-llm.ts +37 -7
- package/src/deep-recall-seeds.test.ts +53 -0
- package/src/deep-recall-seeds.ts +7 -1
- package/src/deep-recall-surface.test.ts +93 -0
- package/src/deep-recall.test.ts +121 -0
- package/src/deep-recall.ts +88 -28
- package/src/fallback-llm-codex-subscription.ts +27 -5
- package/src/fallback-llm.test.ts +120 -0
- package/src/fallback-llm.ts +17 -16
- package/src/meetings/config.test.ts +58 -0
- package/src/orchestration/extraction-persist.ts +1 -1
- package/src/orchestration/recall-entry.ts +15 -1
- package/src/orchestration/recall-internal.ts +1 -0
- package/src/orchestration/recall-section-coordinator.ts +65 -28
- package/src/orchestration/recall-state-view-pipeline.test.ts +8 -2
- package/src/orchestration/semantic-merge-commit-effects.ts +45 -16
- package/src/orchestration/semantic-merge-persist.ts +23 -36
- package/src/providers/codex-subscription.test.ts +127 -0
- package/src/providers/codex-subscription.ts +1 -1
- package/src/recall-state-view-budget.test.ts +424 -0
- package/src/recall-state-view.ts +30 -16
- package/src/shared-context/envelope-io.ts +25 -0
- package/src/shared-context/envelope-wiring.test.ts +4 -2
- package/src/shared-context/manager.ts +1 -0
- package/src/shared-context/write-output-controls.test.ts +192 -0
- package/src/shared-context/write-output-controls.ts +72 -0
- package/src/source-attribution.test.ts +39 -0
- package/src/source-attribution.ts +72 -0
- package/src/types.ts +5 -0
- package/dist/chunk-5LYSEZOF.js.map +0 -1
- package/dist/chunk-CARRTDKC.js.map +0 -1
- package/dist/chunk-CC37E3QM.js.map +0 -1
- package/dist/chunk-IS2IDFJP.js.map +0 -1
- package/dist/chunk-KTOXQMW3.js.map +0 -1
- package/dist/chunk-MDIEES23.js.map +0 -1
- package/dist/chunk-OEDW4ER7.js.map +0 -1
- package/dist/chunk-QE6YVNP5.js.map +0 -1
- package/dist/chunk-ROEFLU37.js.map +0 -1
- package/dist/chunk-SFHLQPBF.js.map +0 -1
- package/dist/chunk-SV4Z2S67.js.map +0 -1
- package/dist/chunk-THTF2W7M.js.map +0 -1
- package/dist/chunk-UZ6JYPJ6.js.map +0 -1
- package/dist/chunk-YTK5MVNF.js.map +0 -1
- package/dist/chunk-ZRMMXWYI.js.map +0 -1
- /package/dist/{capsule-crypto-7FJQINUR.js.map → access-mcp-shared-context-tools.js.map} +0 -0
- /package/dist/{auto-sync-D6BAPIJV.js.map → auto-sync-7PGUFY7U.js.map} +0 -0
- /package/dist/{contradiction-scan-BSGKZHYJ.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{capsule-merge-IPG4IOFP.js.map → capsule-merge-3MNURAQ3.js.map} +0 -0
- /package/dist/{chunk-VHKXRYQN.js.map → chunk-2HQPE2NM.js.map} +0 -0
- /package/dist/{chunk-RDLPFM7I.js.map → chunk-2ZG2LLZT.js.map} +0 -0
- /package/dist/{chunk-IMBQFHRV.js.map → chunk-3BLHPQHT.js.map} +0 -0
- /package/dist/{chunk-6L2II3KS.js.map → chunk-3D75XIYO.js.map} +0 -0
- /package/dist/{chunk-J272ODKJ.js.map → chunk-42DJ235G.js.map} +0 -0
- /package/dist/{chunk-RJQAP333.js.map → chunk-46RII65S.js.map} +0 -0
- /package/dist/{chunk-JUDT33RX.js.map → chunk-4AX5OYKC.js.map} +0 -0
- /package/dist/{chunk-GSSDHAYH.js.map → chunk-4IGOLIWM.js.map} +0 -0
- /package/dist/{chunk-4CMXI55L.js.map → chunk-54QPOE45.js.map} +0 -0
- /package/dist/{chunk-LKFVVN7R.js.map → chunk-563X6JJX.js.map} +0 -0
- /package/dist/{chunk-VQWBUPSJ.js.map → chunk-5EQT62HH.js.map} +0 -0
- /package/dist/{chunk-BYQX4IOG.js.map → chunk-6MQMYXSQ.js.map} +0 -0
- /package/dist/{chunk-TVVEYCNW.js.map → chunk-7K5Q6COX.js.map} +0 -0
- /package/dist/{chunk-K75A5XWU.js.map → chunk-7ZLC4DTZ.js.map} +0 -0
- /package/dist/{chunk-7Z54NXVS.js.map → chunk-A4OIJYCV.js.map} +0 -0
- /package/dist/{chunk-QS5Q5RBV.js.map → chunk-AFJHNHAM.js.map} +0 -0
- /package/dist/{chunk-TZ44E732.js.map → chunk-AIVRD66I.js.map} +0 -0
- /package/dist/{chunk-IOPIGX7Y.js.map → chunk-AKABVXFS.js.map} +0 -0
- /package/dist/{chunk-KOTG3RXE.js.map → chunk-AUSRUOMQ.js.map} +0 -0
- /package/dist/{chunk-K4A6UVPB.js.map → chunk-BTPCP535.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-TEMKBSV6.js.map → chunk-C3G6MW4W.js.map} +0 -0
- /package/dist/{chunk-3QEVOQF5.js.map → chunk-D6PY63OM.js.map} +0 -0
- /package/dist/{chunk-DFVSJFHK.js.map → chunk-DBB5JPSL.js.map} +0 -0
- /package/dist/{chunk-HJUP3K6L.js.map → chunk-DIXZQTGY.js.map} +0 -0
- /package/dist/{chunk-ZX3AYNNV.js.map → chunk-DM5CU5J7.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-BGRTZOJB.js.map → chunk-E3I3NDUP.js.map} +0 -0
- /package/dist/{chunk-ZAEPD4C2.js.map → chunk-E4LMQTST.js.map} +0 -0
- /package/dist/{chunk-7D6SER6A.js.map → chunk-EMSYMYXO.js.map} +0 -0
- /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
- /package/dist/{chunk-V2ZA4YWE.js.map → chunk-F5H6YG5P.js.map} +0 -0
- /package/dist/{chunk-ZMWSYUUL.js.map → chunk-GCBIXUPT.js.map} +0 -0
- /package/dist/{chunk-LFVZD5EC.js.map → chunk-GWNSKQDA.js.map} +0 -0
- /package/dist/{chunk-JDX2OA4R.js.map → chunk-HNHIHXSD.js.map} +0 -0
- /package/dist/{chunk-2SNCQHJZ.js.map → chunk-I33QYUAF.js.map} +0 -0
- /package/dist/{chunk-MVG3KXON.js.map → chunk-ICN37XHG.js.map} +0 -0
- /package/dist/{chunk-ICNJ6J46.js.map → chunk-IYIPXAIJ.js.map} +0 -0
- /package/dist/{chunk-AEOOGXMQ.js.map → chunk-J2MGTGKC.js.map} +0 -0
- /package/dist/{chunk-5U7K4W6K.js.map → chunk-JDOBQPJY.js.map} +0 -0
- /package/dist/{chunk-NVVZPBKI.js.map → chunk-JMWUPUE6.js.map} +0 -0
- /package/dist/{chunk-QPVNK2VE.js.map → chunk-JSD7Q7LD.js.map} +0 -0
- /package/dist/{chunk-RLU2Y5GV.js.map → chunk-K5D2XVNN.js.map} +0 -0
- /package/dist/{chunk-YTZN2UZO.js.map → chunk-KJLLPG26.js.map} +0 -0
- /package/dist/{chunk-2SKMZUOW.js.map → chunk-KLUC2GSG.js.map} +0 -0
- /package/dist/{chunk-YRIFXXMI.js.map → chunk-KZJM7R4F.js.map} +0 -0
- /package/dist/{chunk-46Z3VGWF.js.map → chunk-LE2KZ72G.js.map} +0 -0
- /package/dist/{chunk-HIP6DKJJ.js.map → chunk-LQVXSRAJ.js.map} +0 -0
- /package/dist/{chunk-A7GQBJP5.js.map → chunk-LVFI5LG7.js.map} +0 -0
- /package/dist/{chunk-PKUJNICO.js.map → chunk-ND7MAIJC.js.map} +0 -0
- /package/dist/{chunk-W23JARAQ.js.map → chunk-P66QH6R6.js.map} +0 -0
- /package/dist/{chunk-62D2PAAM.js.map → chunk-PAAJWQH5.js.map} +0 -0
- /package/dist/{chunk-XM46Y66S.js.map → chunk-PFKIOYJH.js.map} +0 -0
- /package/dist/{chunk-C5R73BON.js.map → chunk-PGGPRF6J.js.map} +0 -0
- /package/dist/{chunk-V6EGNVUT.js.map → chunk-PIWFNPQT.js.map} +0 -0
- /package/dist/{chunk-JOP7W24J.js.map → chunk-PLJ2MQFT.js.map} +0 -0
- /package/dist/{chunk-MJC7UKH7.js.map → chunk-PQ42DJNG.js.map} +0 -0
- /package/dist/{chunk-37CAEC7E.js.map → chunk-PWPIERBM.js.map} +0 -0
- /package/dist/{chunk-BXIJSPCL.js.map → chunk-Q62GA5U2.js.map} +0 -0
- /package/dist/{chunk-VKWFNPBH.js.map → chunk-RQQO3ORQ.js.map} +0 -0
- /package/dist/{chunk-ES5BUPYB.js.map → chunk-UZGHKD3T.js.map} +0 -0
- /package/dist/{chunk-J4WGTN2N.js.map → chunk-V62YYBBY.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
- /package/dist/{chunk-Z4GUX2M6.js.map → chunk-VSN2DMQK.js.map} +0 -0
- /package/dist/{chunk-ZHXSOMYH.js.map → chunk-VVX5PZFS.js.map} +0 -0
- /package/dist/{chunk-KY236SP5.js.map → chunk-W7UV2ZCA.js.map} +0 -0
- /package/dist/{chunk-TO36VPZI.js.map → chunk-WBQ4ONQJ.js.map} +0 -0
- /package/dist/{chunk-WZYHPAG5.js.map → chunk-WFMQN7JE.js.map} +0 -0
- /package/dist/{chunk-G2XZFGYN.js.map → chunk-WGZHSQDV.js.map} +0 -0
- /package/dist/{chunk-SUEOG2S4.js.map → chunk-WPGA4RYI.js.map} +0 -0
- /package/dist/{chunk-J7FVMLBR.js.map → chunk-WZIO3TW6.js.map} +0 -0
- /package/dist/{chunk-ZZUVBZL2.js.map → chunk-X2QPKLPL.js.map} +0 -0
- /package/dist/{chunk-JAJIMTFB.js.map → chunk-XRS65T4O.js.map} +0 -0
- /package/dist/{chunk-GO5LOHCD.js.map → chunk-YFXAWGMR.js.map} +0 -0
- /package/dist/{chunk-K4JKAXMO.js.map → chunk-Z535ADTC.js.map} +0 -0
- /package/dist/{chunk-23HFXQ5J.js.map → chunk-Z7NBT6AK.js.map} +0 -0
- /package/dist/{chunk-VQYWKCDR.js.map → chunk-ZX6NNFSY.js.map} +0 -0
- /package/dist/{chunk-3XPN7AVY.js.map → chunk-ZYSOT6HD.js.map} +0 -0
- /package/dist/{chunk-ZZCR2QYL.js.map → chunk-ZZEIL3MI.js.map} +0 -0
- /package/dist/{resolution-4GG3QZRJ.js.map → contradiction-scan-GVD4JJ7B.js.map} +0 -0
- /package/dist/{first-start-migration-ZWMV5CX4.js.map → first-start-migration-L3UFX5CU.js.map} +0 -0
- /package/dist/{tier-stats-LUSUUNU6.js.map → tier-stats-VK5PCO2L.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveDefaultNamespaceRoot,
|
|
3
3
|
resolveNamespaceStorageRoot
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-I33QYUAF.js";
|
|
5
5
|
import {
|
|
6
6
|
MutationSerializer,
|
|
7
7
|
withHeldFileLock
|
|
@@ -1473,4 +1473,4 @@ export {
|
|
|
1473
1473
|
isNamespaceKind,
|
|
1474
1474
|
NamespaceCatalog
|
|
1475
1475
|
};
|
|
1476
|
-
//# sourceMappingURL=chunk-
|
|
1476
|
+
//# sourceMappingURL=chunk-P66QH6R6.js.map
|
|
@@ -2,9 +2,6 @@ import {
|
|
|
2
2
|
CONVERGE_CONFLICT_POLICIES,
|
|
3
3
|
DEFAULT_CONVERGE_CONFLICT_POLICY
|
|
4
4
|
} from "./chunk-6MINUTGJ.js";
|
|
5
|
-
import {
|
|
6
|
-
normalizeNamespaceIdentity
|
|
7
|
-
} from "./chunk-VUFL7X3H.js";
|
|
8
5
|
import {
|
|
9
6
|
validateArchiveRelativePath
|
|
10
7
|
} from "./chunk-GCGJW34D.js";
|
|
@@ -13,6 +10,9 @@ import {
|
|
|
13
10
|
isCensusMtimeMs,
|
|
14
11
|
isSha256Hex
|
|
15
12
|
} from "./chunk-LQWOFU6L.js";
|
|
13
|
+
import {
|
|
14
|
+
normalizeNamespaceIdentity
|
|
15
|
+
} from "./chunk-VUFL7X3H.js";
|
|
16
16
|
|
|
17
17
|
// src/reconcile/plan.ts
|
|
18
18
|
var ReconcilePlanInputError = class extends Error {
|
|
@@ -435,4 +435,4 @@ export {
|
|
|
435
435
|
summarizeReconcilePlan,
|
|
436
436
|
planReconciliation
|
|
437
437
|
};
|
|
438
|
-
//# sourceMappingURL=chunk-
|
|
438
|
+
//# sourceMappingURL=chunk-PAAJWQH5.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-KJTKLXTH.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ICN37XHG.js";
|
|
7
7
|
import {
|
|
8
8
|
copyExistingFileToBackup,
|
|
9
9
|
writeFileAtomically
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
backupExistingLedger,
|
|
261
261
|
rebuildMemoryLifecycleLedger
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-PFKIOYJH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runLocationSync
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KZJM7R4F.js";
|
|
4
4
|
import {
|
|
5
5
|
log
|
|
6
6
|
} from "./chunk-3WCASNQZ.js";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
LOCATION_SYNC_DEFAULT_INTERVAL_MS,
|
|
59
59
|
startLocationAutoSync
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=chunk-
|
|
61
|
+
//# sourceMappingURL=chunk-PGGPRF6J.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
estimateTokenCount
|
|
3
|
+
} from "./chunk-TOTT6S2V.js";
|
|
1
4
|
import {
|
|
2
5
|
SKILL_FILE_NAME,
|
|
3
6
|
renderSkillBundle
|
|
@@ -5,9 +8,6 @@ import {
|
|
|
5
8
|
import {
|
|
6
9
|
isValidSkillSlug
|
|
7
10
|
} from "./chunk-ZCUTSMR2.js";
|
|
8
|
-
import {
|
|
9
|
-
estimateTokenCount
|
|
10
|
-
} from "./chunk-TOTT6S2V.js";
|
|
11
11
|
import {
|
|
12
12
|
pathIsInside
|
|
13
13
|
} from "./chunk-C7HJ3NEI.js";
|
|
@@ -800,4 +800,4 @@ export {
|
|
|
800
800
|
truncateToTokenBudget,
|
|
801
801
|
describeMemoriesDir
|
|
802
802
|
};
|
|
803
|
-
//# sourceMappingURL=chunk-
|
|
803
|
+
//# sourceMappingURL=chunk-PIWFNPQT.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MeilisearchBackend
|
|
3
|
+
} from "./chunk-KVO2BTA4.js";
|
|
1
4
|
import {
|
|
2
5
|
NoopSearchBackend
|
|
3
6
|
} from "./chunk-CYEPCZN5.js";
|
|
@@ -13,9 +16,6 @@ import {
|
|
|
13
16
|
import {
|
|
14
17
|
LanceDbBackend
|
|
15
18
|
} from "./chunk-D7MAYFQP.js";
|
|
16
|
-
import {
|
|
17
|
-
MeilisearchBackend
|
|
18
|
-
} from "./chunk-KVO2BTA4.js";
|
|
19
19
|
import {
|
|
20
20
|
createConversationIndexBackend
|
|
21
21
|
} from "./chunk-TFA6HPOA.js";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
createConversationSearchBackend,
|
|
180
180
|
createConversationIndexRuntime
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-PLJ2MQFT.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-H3FZVNRN.js";
|
|
14
14
|
import {
|
|
15
15
|
ExtractionDeadlineError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3BLHPQHT.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePrincipal
|
|
19
19
|
} from "./chunk-MRV7VSQK.js";
|
|
@@ -798,4 +798,4 @@ var SmartBuffer = class {
|
|
|
798
798
|
export {
|
|
799
799
|
SmartBuffer
|
|
800
800
|
};
|
|
801
|
-
//# sourceMappingURL=chunk-
|
|
801
|
+
//# sourceMappingURL=chunk-PQ42DJNG.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
stripAttributesSuffix
|
|
3
3
|
} from "./chunk-JDSVLVCG.js";
|
|
4
|
-
import {
|
|
5
|
-
normalizeNamespaceIdentity
|
|
6
|
-
} from "./chunk-VUFL7X3H.js";
|
|
7
4
|
import {
|
|
8
5
|
parseIsoOffsetTimestamp
|
|
9
6
|
} from "./chunk-P7FMDTKL.js";
|
|
7
|
+
import {
|
|
8
|
+
normalizeNamespaceIdentity
|
|
9
|
+
} from "./chunk-VUFL7X3H.js";
|
|
10
10
|
|
|
11
11
|
// src/support-passport/contracts.ts
|
|
12
12
|
import { createHash } from "crypto";
|
|
@@ -400,4 +400,4 @@ export {
|
|
|
400
400
|
hasLiveSupportPassportCard,
|
|
401
401
|
projectSupportPassportCard
|
|
402
402
|
};
|
|
403
|
-
//# sourceMappingURL=chunk-
|
|
403
|
+
//# sourceMappingURL=chunk-PWPIERBM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isRecallDisclosure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WN2OXGGH.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-Q62GA5U2.js.map
|
|
@@ -121,6 +121,18 @@ function optionalEnvelopeAt(expiresAt) {
|
|
|
121
121
|
}
|
|
122
122
|
return parsed.at;
|
|
123
123
|
}
|
|
124
|
+
var MAX_WRITE_EXPIRES_AT_TTL_MS = 3650 * 24 * 60 * 60 * 1e3;
|
|
125
|
+
function assertBoundedFutureExpiry(expiresAt, nowMs) {
|
|
126
|
+
const expiresAtMs = Date.parse(expiresAt);
|
|
127
|
+
if (expiresAtMs <= nowMs) {
|
|
128
|
+
throw new Error("composeWriteEnvelope: expiresAt must be an instant strictly after the write time");
|
|
129
|
+
}
|
|
130
|
+
if (expiresAtMs - nowMs > MAX_WRITE_EXPIRES_AT_TTL_MS) {
|
|
131
|
+
throw new Error(
|
|
132
|
+
`composeWriteEnvelope: expiresAt exceeds the maximum TTL of ${MAX_WRITE_EXPIRES_AT_TTL_MS}ms`
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
124
136
|
function optionalEnvelopeId(supersedes) {
|
|
125
137
|
if (supersedes === void 0) return void 0;
|
|
126
138
|
const parsed = parseEnvelopeId(supersedes);
|
|
@@ -162,6 +174,9 @@ function requireProducer(value) {
|
|
|
162
174
|
function composeWriteEnvelope(input) {
|
|
163
175
|
const sharedBy = requireEnvelopeActor(input.origin);
|
|
164
176
|
const expiresAt = optionalEnvelopeAt(input.expiresAt);
|
|
177
|
+
if (expiresAt !== void 0 && Number.isFinite(input.nowMs ?? Number.NaN)) {
|
|
178
|
+
assertBoundedFutureExpiry(expiresAt, input.nowMs);
|
|
179
|
+
}
|
|
165
180
|
const supersedes = optionalEnvelopeId(input.supersedes);
|
|
166
181
|
return applyDefaultEnvelope(
|
|
167
182
|
{ sharedBy, authority: input.authority, expiresAt, supersedes },
|
|
@@ -195,4 +210,4 @@ export {
|
|
|
195
210
|
envelopeFromScalars,
|
|
196
211
|
resolveReadAuthority
|
|
197
212
|
};
|
|
198
|
-
//# sourceMappingURL=chunk-
|
|
213
|
+
//# sourceMappingURL=chunk-QKCXRS5A.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/shared-context/governance.ts","../src/shared-context/authority-precedence.ts","../src/shared-context/envelope-actor.ts","../src/shared-context/iso-instant.ts","../src/shared-context/envelope-at.ts","../src/shared-context/envelope-id.ts","../src/shared-context/envelope-io.ts"],"sourcesContent":["/**\n * Shared-item authority envelope (issue #1957).\n *\n * Pure parse/default/expiry helpers over the authority classes. Binding is\n * never inferred, and the authority token is validated exactly as supplied\n * or stored — a padded value never resolves to a privileged class.\n */\n\nexport const SHARED_AUTHORITIES = [\"informational\", \"advisory\", \"binding\"] as const;\nexport type SharedAuthority = (typeof SHARED_AUTHORITIES)[number];\n\nexport interface SharedEnvelope {\n sharedBy?: string;\n authority: SharedAuthority;\n expiresAt?: string;\n supersedes?: string;\n}\n\nexport interface SharedEnvelopeInput {\n sharedBy?: string;\n authority?: string;\n expiresAt?: string;\n supersedes?: string;\n}\n\nexport interface ApplyDefaultEnvelopeOptions {\n binding?: boolean;\n}\n\nfunction isSharedAuthority(value: string): value is SharedAuthority {\n return (SHARED_AUTHORITIES as readonly string[]).includes(value);\n}\n\nfunction optionalString(value: unknown): string | undefined {\n if (typeof value !== \"string\") return undefined;\n const trimmed = value.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n}\n\ntype AuthorityToken =\n | { kind: \"absent\" }\n | { kind: \"invalid\"; raw: string }\n | { kind: \"valid\"; authority: SharedAuthority };\n\n/**\n * Read the authority token EXACTLY as supplied or stored. A padded value\n * such as `\" binding \"` is malformed data, never a normalized match for a\n * privileged class: trimming first would let stored whitespace resolve as\n * binding/advisory (AGENTS.md rule 45). Only the empty string counts as\n * \"unspecified\"; whitespace-only is invalid.\n */\nfunction readExactAuthority(value: unknown): AuthorityToken {\n if (typeof value !== \"string\" || value.length === 0) return { kind: \"absent\" };\n if (!isSharedAuthority(value)) return { kind: \"invalid\", raw: value };\n return { kind: \"valid\", authority: value };\n}\n\nfunction withOptionalFields(\n authority: SharedAuthority,\n source: { sharedBy?: unknown; expiresAt?: unknown; supersedes?: unknown },\n): SharedEnvelope {\n const envelope: SharedEnvelope = { authority };\n const sharedBy = optionalString(source.sharedBy);\n const expiresAt = optionalString(source.expiresAt);\n const supersedes = optionalString(source.supersedes);\n if (sharedBy) envelope.sharedBy = sharedBy;\n if (expiresAt) envelope.expiresAt = expiresAt;\n if (supersedes) envelope.supersedes = supersedes;\n return envelope;\n}\n\nexport function applyDefaultEnvelope(\n input: SharedEnvelopeInput = {},\n options: ApplyDefaultEnvelopeOptions = {},\n): SharedEnvelope {\n const requested = readExactAuthority(input.authority);\n if (requested.kind === \"invalid\") {\n throw new Error(\n `applyDefaultEnvelope: authority must be informational, advisory, or binding; got ${JSON.stringify(requested.raw)}`,\n );\n }\n if (requested.kind === \"valid\" && requested.authority === \"binding\" && options.binding !== true) {\n throw new Error(\"applyDefaultEnvelope: authority \\\"binding\\\" requires an explicit binding flag\");\n }\n return withOptionalFields(requested.kind === \"valid\" ? requested.authority : \"informational\", input);\n}\n\nexport function parseSharedEnvelope(raw: unknown): SharedEnvelope {\n if (typeof raw !== \"object\" || raw === null || Array.isArray(raw)) {\n return { authority: \"informational\" };\n }\n const record = raw as Record<string, unknown>;\n const requested = readExactAuthority(record.authority);\n const authority = requested.kind === \"valid\" ? requested.authority : \"informational\";\n return withOptionalFields(authority, record);\n}\n\nexport function isExpired(envelope: Pick<SharedEnvelope, \"expiresAt\">, nowMs: number): boolean {\n if (!Number.isFinite(nowMs)) return false;\n const expiresAt = envelope.expiresAt?.trim();\n if (!expiresAt) return false;\n const expiresAtMs = Date.parse(expiresAt);\n if (!Number.isFinite(expiresAtMs)) return false;\n return expiresAtMs <= nowMs;\n}\n","/**\n * Shared-item authority precedence (issue #1957).\n *\n * Pure helpers over the authority classes owned by `governance.ts`\n * (`SHARED_AUTHORITIES`). Resolution is least-privilege: an absent,\n * malformed, or unrecognized authority never resolves above\n * `informational`, and `binding` additionally requires the explicit\n * `allowBinding` flag. The helpers are exported for callers; wiring them\n * into the shared-context read and write paths is a later slice.\n */\n\nimport { SHARED_AUTHORITIES, type SharedAuthority } from \"./governance.js\";\n\nexport { SHARED_AUTHORITIES as SHARED_AUTHORITY_CLASSES };\nexport type { SharedAuthority as SharedAuthorityClass };\n\nexport interface ResolveSharedAuthorityInput {\n /** Raw authority value from an item's envelope, if any. */\n authority?: unknown;\n /** Explicit opt-in required before \"binding\" is honored. */\n allowBinding?: boolean;\n}\n\nconst AUTHORITY_RANK: Readonly<Record<SharedAuthority, number>> = {\n informational: 0,\n advisory: 1,\n binding: 2,\n};\n\nfunction isKnownAuthority(value: string): value is SharedAuthority {\n return (SHARED_AUTHORITIES as readonly string[]).includes(value);\n}\n\n\nexport function resolveSharedAuthority(input: ResolveSharedAuthorityInput): SharedAuthority {\n // Read the security switch ONCE. A getter (or a Proxy) can return undefined\n // during validation and true at the decision, which would let binding\n // through without a validated opt-in.\n const allowBinding = input.allowBinding;\n if (allowBinding !== undefined && typeof allowBinding !== \"boolean\") {\n // The flag is the security switch, so a truthy string or number must\n // not enable binding: reject it instead of coercing.\n throw new TypeError(\n `resolveSharedAuthority: allowBinding must be a boolean when supplied, got ${typeof allowBinding}`,\n );\n }\n const authority = input.authority;\n // Absent (missing key, undefined, null) and present-but-invalid both land\n // on informational — the least-privileged class — so an unmarked or\n // malformed legacy item can never be treated as binding. Validate the\n // exact value: no trim, no case-fold, because \" binding\" and \"BINDING\"\n // are unrecognized data, not normalized matches for a known class.\n if (typeof authority !== \"string\") return \"informational\";\n if (!isKnownAuthority(authority)) return \"informational\";\n if (authority === \"binding\" && allowBinding !== true) {\n // Downgrade rather than throw: a legacy item already carrying \"binding\"\n // is stored data, not a caller bug, so it resolves to the highest class\n // that does not require the explicit opt-in.\n return \"advisory\";\n }\n return authority;\n}\n\nexport function compareSharedAuthority(a: string, b: string): number {\n const rankA = isKnownAuthority(a) ? AUTHORITY_RANK[a] : AUTHORITY_RANK.informational;\n const rankB = isKnownAuthority(b) ? AUTHORITY_RANK[b] : AUTHORITY_RANK.informational;\n return Math.sign(rankA - rankB);\n}\n","/**\n * Shared-item envelope actor parse (issue #1957 leftover).\n *\n * Pure. Empty is missing_actor. Newline is invalid_actor.\n */\n\nexport type ParseEnvelopeActorResult =\n | { ok: true; actor: string }\n | { ok: false; error: \"missing_actor\" | \"invalid_actor\" };\n\nexport function parseEnvelopeActor(value: string): ParseEnvelopeActorResult {\n const actor = value.trim();\n if (actor.length === 0) return { ok: false, error: \"missing_actor\" };\n if (actor.includes(\"\\n\")) return { ok: false, error: \"invalid_actor\" };\n return { ok: true, actor };\n}\n","/**\n * Strict ISO-8601 instant validation for shared-context envelopes\n * (issue #1957 review round 3).\n *\n * `Date.parse` is permissive: under the supported Node runtime it reads\n * `\"2026-02-30\"` as March 2 and `\"1\"` as January 1 2001. A caller-supplied\n * expiry would therefore be silently reinterpreted into a governance deadline\n * the caller never asked for. Validate the ISO shape AND the calendar\n * components against the exact input, and reject rather than normalize.\n *\n * Extracted from `provenance.ts` so the envelope write path and the\n * provenance stamp share one validator instead of two copies.\n */\n\n// Linear ISO instant. No nested quantifiers.\nconst ISO_INSTANT =\n /^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2})(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$/;\n\n/**\n * True only for a calendar-valid ISO-8601 instant carrying an explicit zone.\n * Non-strings and non-finite parses are rejected explicitly, never coerced.\n */\nexport function isStrictIsoInstant(value: unknown): boolean {\n if (typeof value !== \"string\") return false;\n const match = ISO_INSTANT.exec(value);\n if (!match) return false;\n const year = Number(match[1]);\n const month = Number(match[2]);\n const day = Number(match[3]);\n const hour = Number(match[4]);\n const minute = Number(match[5]);\n const second = Number(match[6]);\n const utc = new Date(Date.UTC(year, month - 1, day, hour, minute, second));\n return (\n Number.isFinite(Date.parse(value)) &&\n utc.getUTCFullYear() === year &&\n utc.getUTCMonth() === month - 1 &&\n utc.getUTCDate() === day &&\n utc.getUTCHours() === hour &&\n utc.getUTCMinutes() === minute &&\n utc.getUTCSeconds() === second\n );\n}\n","/**\n * Shared-item envelope at parse (issue #1957 leftover).\n *\n * Pure. Blank is missing_at. Anything that is not a calendar-valid ISO-8601\n * instant is invalid_at — including values permissive `Date.parse` would\n * silently reinterpret (`\"2026-02-30\"` -> March 2, `\"1\"` -> January 1 2001),\n * a whitespace-padded timestamp, and any non-string or non-finite input\n * (review round 3). `trim()` only detects blankness; validation reads the\n * exact value, so normalization can never widen what passes.\n */\n\nimport { isStrictIsoInstant } from \"./iso-instant.js\";\n\nexport type ParseEnvelopeAtResult =\n | { ok: true; at: string }\n | { ok: false; error: \"missing_at\" | \"invalid_at\" };\n\nexport function parseEnvelopeAt(value: string): ParseEnvelopeAtResult {\n if (typeof value !== \"string\") return { ok: false, error: \"invalid_at\" };\n if (value.trim().length === 0) return { ok: false, error: \"missing_at\" };\n if (!isStrictIsoInstant(value)) return { ok: false, error: \"invalid_at\" };\n return { ok: true, at: new Date(Date.parse(value)).toISOString() };\n}\n","/**\n * Shared-item envelope id parse (issue #1957 leftover).\n *\n * Pure. Empty is missing_id. Newline is invalid_id.\n */\n\nexport type ParseEnvelopeIdResult =\n | { ok: true; id: string }\n | { ok: false; error: \"missing_id\" | \"invalid_id\" };\n\nexport function parseEnvelopeId(value: string): ParseEnvelopeIdResult {\n const id = value.trim();\n if (id.length === 0) return { ok: false, error: \"missing_id\" };\n if (id.includes(\"\\n\")) return { ok: false, error: \"invalid_id\" };\n return { ok: true, id };\n}\n","/**\n * Shared-item envelope wiring (issue #1957, control 1: origin + authority).\n *\n * Bridges the pure envelope helpers onto the markdown frontmatter the\n * shared-context manager reads and writes.\n *\n * Write side rejects invalid input (an unrecognized authority or a binding\n * request without the config opt-in throws — never silently reinterpreted).\n * Read side resolves least privilege: a missing, malformed, or unrecognized\n * authority never resolves above informational, and stored binding\n * downgrades to advisory unless config opted in.\n */\n\nimport { applyDefaultEnvelope, parseSharedEnvelope, type SharedEnvelope } from \"./governance.js\";\nimport { resolveSharedAuthority } from \"./authority-precedence.js\";\nimport type { SharedAuthority } from \"./governance.js\";\nimport { parseEnvelopeActor } from \"./envelope-actor.js\";\nimport { parseEnvelopeAt } from \"./envelope-at.js\";\nimport { parseEnvelopeId } from \"./envelope-id.js\";\n\nexport interface ComposeWriteEnvelopeInput {\n /** Governance origin. Becomes the envelope's `sharedBy`. */\n origin: string;\n /** Requested authority class. Unrecognized values throw. */\n authority?: string;\n /** Optional ISO-8601 expiry. Invalid timestamps throw. */\n expiresAt?: string;\n /** Optional id of the item this one supersedes. */\n supersedes?: string;\n /** Config opt-in (`sharedContextAllowBindingAuthority`). Binding throws without it. */\n allowBinding: boolean;\n /**\n * Write instant for the expiry TTL policy (issue #2920). When finite, an\n * `expiresAt` must land strictly after it and within the maximum TTL —\n * a past or effectively-immortal expiry is a client input error, never a\n * silently accepted stamp.\n */\n nowMs?: number;\n}\n\nfunction requireEnvelopeActor(agentId: string): string {\n const parsed = parseEnvelopeActor(agentId);\n if (!parsed.ok) {\n throw new Error(`composeWriteEnvelope: agentId must be a non-blank single-line string (${parsed.error})`);\n }\n return parsed.actor;\n}\n\nfunction optionalEnvelopeAt(expiresAt: string | undefined): string | undefined {\n if (expiresAt === undefined) return undefined;\n const parsed = parseEnvelopeAt(expiresAt);\n if (!parsed.ok) {\n throw new Error(`composeWriteEnvelope: expiresAt must be a valid ISO-8601 timestamp (${parsed.error})`);\n }\n return parsed.at;\n}\n\n/** Maximum write-side TTL: 10 years. A farther `expiresAt` is rejected. */\nexport const MAX_WRITE_EXPIRES_AT_TTL_MS = 3650 * 24 * 60 * 60 * 1000;\n\nfunction assertBoundedFutureExpiry(expiresAt: string, nowMs: number): void {\n const expiresAtMs = Date.parse(expiresAt);\n if (expiresAtMs <= nowMs) {\n throw new Error(\"composeWriteEnvelope: expiresAt must be an instant strictly after the write time\");\n }\n if (expiresAtMs - nowMs > MAX_WRITE_EXPIRES_AT_TTL_MS) {\n throw new Error(\n `composeWriteEnvelope: expiresAt exceeds the maximum TTL of ${MAX_WRITE_EXPIRES_AT_TTL_MS}ms`,\n );\n }\n}\n\nfunction optionalEnvelopeId(supersedes: string | undefined): string | undefined {\n if (supersedes === undefined) return undefined;\n const parsed = parseEnvelopeId(supersedes);\n if (!parsed.ok) {\n throw new Error(`composeWriteEnvelope: supersedes must be a non-blank single-line id (${parsed.error})`);\n }\n return parsed.id;\n}\n\n/**\n * Reserved governance origin for an authenticated external access write that\n * resolved no principal (`agentAccessHttp.principal` unset, no adapter\n * identity). Server-owned: the caller cannot mint or influence it, and the\n * caller-supplied `agentId` never becomes audit metadata on that path.\n */\nexport const UNATTRIBUTED_ACCESS_WRITE_ORIGIN = \"unattributed:access-surface\";\n\nexport interface ResolvedWriteIdentity {\n /**\n * Producer identity: frontmatter `agent`, on-disk segment, and the\n * cross-signals grouping key. Self-declared by the caller only on\n * surfaces that resolved no server identity; never decides authority.\n */\n agent: string;\n /** Governance origin stamped as the envelope's `sharedBy`. */\n origin: string;\n}\n\n/**\n * Resolve the producer identity and governance origin for a shared-context\n * write. They are different fields with different trust requirements:\n *\n * - The origin (`sharedBy`) is audit metadata and is always server-derived.\n * When the surface resolved an authenticated identity, that identity IS the\n * origin; when it resolved none but the write crosses an external\n * boundary, the caller-supplied `unattributedOrigin` token is stamped\n * instead — never the caller's value. Only a trusted in-process caller\n * (no identity, no token) may stamp its own id as the origin.\n * - The producer (`agent`) drives grouping and display only. When an\n * authenticated identity exists it is also the producer, and a\n * caller-supplied `agentId` naming a different agent is REJECTED, so a\n * caller can never publish an item attributed to another agent. Without a\n * server identity the caller's label stands as the producer — collapsing\n * it instead would merge every writer into one agent and erase\n * multi-agent overlaps from `synthesizeCrossSignals`.\n */\nexport function resolveWriteOrigin(input: {\n agentId: string;\n authenticatedIdentity?: string;\n unattributedOrigin?: string;\n}): ResolvedWriteIdentity {\n const identity = input.authenticatedIdentity?.trim() ?? \"\";\n if (identity.length > 0) {\n const requested = input.agentId.trim();\n if (requested.length > 0 && requested !== identity) {\n throw new Error(\n `shared-context write origin mismatch: authenticated identity ${JSON.stringify(identity)} cannot publish as ${JSON.stringify(requested)}`,\n );\n }\n return { agent: identity, origin: identity };\n }\n const unattributed = input.unattributedOrigin?.trim() ?? \"\";\n if (unattributed.length > 0) {\n const label = input.agentId.trim();\n return {\n agent: label.length > 0 ? requireProducer(label) : requireProducer(unattributed),\n origin: requireProducer(unattributed),\n };\n }\n const actor = requireProducer(input.agentId);\n return { agent: actor, origin: actor };\n}\n\nfunction requireProducer(value: string): string {\n const parsed = parseEnvelopeActor(value);\n if (!parsed.ok) {\n throw new Error(`shared-context write producer must be a non-blank single-line string (${parsed.error})`);\n }\n return parsed.actor;\n}\n\n/**\n * Validate and compose the envelope for a shared-context write.\n * `sharedBy` is stamped from the server-derived origin — provenance is\n * never injected through item content or the caller's producer label.\n */\nexport function composeWriteEnvelope(input: ComposeWriteEnvelopeInput): SharedEnvelope {\n const sharedBy = requireEnvelopeActor(input.origin);\n const expiresAt = optionalEnvelopeAt(input.expiresAt);\n if (expiresAt !== undefined && Number.isFinite(input.nowMs ?? Number.NaN)) {\n assertBoundedFutureExpiry(expiresAt, input.nowMs as number);\n }\n const supersedes = optionalEnvelopeId(input.supersedes);\n return applyDefaultEnvelope(\n { sharedBy, authority: input.authority, expiresAt, supersedes },\n { binding: input.allowBinding },\n );\n}\n\n/** Serialize an envelope into frontmatter lines (caller adds the `---` fences). */\nexport function envelopeToFrontmatterLines(envelope: SharedEnvelope): string[] {\n const line = (key: string, value: string) => `${key}: ${JSON.stringify(value)}`;\n const lines = [line(\"sharedBy\", envelope.sharedBy ?? \"\"), line(\"authority\", envelope.authority)];\n if (envelope.expiresAt !== undefined) lines.push(line(\"expiresAt\", envelope.expiresAt));\n if (envelope.supersedes !== undefined) lines.push(line(\"supersedes\", envelope.supersedes));\n return lines;\n}\n\n/**\n * Build an envelope from frontmatter scalars already read off a stored item.\n * Missing scalars (legacy items) compose to informational with no expiry.\n */\nexport function envelopeFromScalars(scalars: {\n sharedBy: string | null;\n authority: string | null;\n expiresAt: string | null;\n supersedes: string | null;\n}): SharedEnvelope {\n const record: Record<string, string> = {};\n if (scalars.sharedBy !== null) record.sharedBy = scalars.sharedBy;\n if (scalars.authority !== null) record.authority = scalars.authority;\n if (scalars.expiresAt !== null) record.expiresAt = scalars.expiresAt;\n if (scalars.supersedes !== null) record.supersedes = scalars.supersedes;\n return parseSharedEnvelope(record);\n}\n\n/**\n * Resolve a stored envelope's authority for read-side consumption.\n * Least privilege: unrecognized/missing stays informational; binding\n * requires the config opt-in or downgrades to advisory.\n */\nexport function resolveReadAuthority(\n envelope: Pick<SharedEnvelope, \"authority\">,\n allowBinding: boolean,\n): SharedAuthority {\n return resolveSharedAuthority({ authority: envelope.authority, allowBinding });\n}\n"],"m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I,QAAQ,eAAe,KAAM,QAAO,aAAa,QAAQ;AAC7D,SAAO,oBAAoB,MAAM;AACnC;AAOO,SAAS,qBACd,UACA,cACiB;AACjB,SAAO,uBAAuB,EAAE,WAAW,SAAS,WAAW,aAAa,CAAC;AAC/E;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getVerdictKind
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4AX5OYKC.js";
|
|
4
4
|
import {
|
|
5
5
|
scoreImportance
|
|
6
6
|
} from "./chunk-UOBPK2OS.js";
|
|
@@ -1320,4 +1320,4 @@ export {
|
|
|
1320
1320
|
syncWearableSource,
|
|
1321
1321
|
defaultTimezone
|
|
1322
1322
|
};
|
|
1323
|
-
//# sourceMappingURL=chunk-
|
|
1323
|
+
//# sourceMappingURL=chunk-RQQO3ORQ.js.map
|
|
@@ -8,10 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-MPC7TYTZ.js";
|
|
9
9
|
import {
|
|
10
10
|
importCapsule
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VVX5PZFS.js";
|
|
12
|
+
import {
|
|
13
|
+
isSharedContextWriteInputError
|
|
14
|
+
} from "./chunk-IFBSZGW3.js";
|
|
12
15
|
import {
|
|
13
16
|
UNATTRIBUTED_ACCESS_WRITE_ORIGIN
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QKCXRS5A.js";
|
|
15
18
|
import {
|
|
16
19
|
ACTIVE_DECISION_STATUSES,
|
|
17
20
|
CodegraphRuntimeError,
|
|
@@ -35,16 +38,10 @@ import {
|
|
|
35
38
|
computeWhoKnows,
|
|
36
39
|
loadWhoKnowsEntities,
|
|
37
40
|
validateWhoKnowsInput
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-2ZG2LLZT.js";
|
|
39
42
|
import {
|
|
40
43
|
WriteQuarantineStore
|
|
41
44
|
} from "./chunk-PJSK6OJM.js";
|
|
42
|
-
import {
|
|
43
|
-
trustResultFor
|
|
44
|
-
} from "./chunk-GNVZQ5JN.js";
|
|
45
|
-
import {
|
|
46
|
-
renderEpistemicHedge
|
|
47
|
-
} from "./chunk-YN2UN7N3.js";
|
|
48
45
|
import {
|
|
49
46
|
getTrustZoneStoreStatus,
|
|
50
47
|
isTrustZoneName,
|
|
@@ -54,27 +51,33 @@ import {
|
|
|
54
51
|
seedTrustZoneDemoDataset,
|
|
55
52
|
summarizeTrustZonePromotionReadiness
|
|
56
53
|
} from "./chunk-ROBHL3GL.js";
|
|
54
|
+
import {
|
|
55
|
+
trustResultFor
|
|
56
|
+
} from "./chunk-GNVZQ5JN.js";
|
|
57
|
+
import {
|
|
58
|
+
renderEpistemicHedge
|
|
59
|
+
} from "./chunk-YN2UN7N3.js";
|
|
57
60
|
import {
|
|
58
61
|
summarizeHourlyStatus
|
|
59
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-J2MGTGKC.js";
|
|
60
63
|
import {
|
|
61
64
|
planSessionTranscriptMigration
|
|
62
65
|
} from "./chunk-P5FPO2BR.js";
|
|
63
66
|
import {
|
|
64
67
|
isSearchExcludedPath
|
|
65
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-JMWUPUE6.js";
|
|
66
69
|
import {
|
|
67
70
|
decideDisclosureEscalation
|
|
68
71
|
} from "./chunk-H7XKCNR6.js";
|
|
69
72
|
import {
|
|
70
73
|
toRecallExplainJson
|
|
71
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-AUSRUOMQ.js";
|
|
72
75
|
import {
|
|
73
76
|
estimateRecallTokens
|
|
74
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-Q62GA5U2.js";
|
|
75
78
|
import {
|
|
76
79
|
readAggregateExtractionWatermark
|
|
77
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-563X6JJX.js";
|
|
78
81
|
import {
|
|
79
82
|
ReplicaDivergenceMonitor
|
|
80
83
|
} from "./chunk-CVILPI77.js";
|
|
@@ -95,7 +98,7 @@ import {
|
|
|
95
98
|
} from "./chunk-HWLIMQE2.js";
|
|
96
99
|
import {
|
|
97
100
|
readProjectedHarmonicGraph
|
|
98
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-AKABVXFS.js";
|
|
99
102
|
import {
|
|
100
103
|
wrapWorkLayerContext
|
|
101
104
|
} from "./chunk-EI6V5UXY.js";
|
|
@@ -110,7 +113,7 @@ import {
|
|
|
110
113
|
} from "./chunk-NLE6TSLG.js";
|
|
111
114
|
import {
|
|
112
115
|
LocalLlmClient
|
|
113
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-WGZHSQDV.js";
|
|
114
117
|
import {
|
|
115
118
|
REDACTION_RULES_SUBDIR
|
|
116
119
|
} from "./chunk-LTHVM4XN.js";
|
|
@@ -118,7 +121,7 @@ import {
|
|
|
118
121
|
persistExplicitCapture,
|
|
119
122
|
queueExplicitCaptureForReview,
|
|
120
123
|
validateExplicitCaptureInput
|
|
121
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-LQVXSRAJ.js";
|
|
122
125
|
import {
|
|
123
126
|
lcmEvidenceIdentity
|
|
124
127
|
} from "./chunk-C37ZRXX7.js";
|
|
@@ -129,24 +132,16 @@ import {
|
|
|
129
132
|
} from "./chunk-7ZNJN5WZ.js";
|
|
130
133
|
import {
|
|
131
134
|
callDeepRecallPolicyLlm
|
|
132
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-YR5QT4SR.js";
|
|
133
136
|
import {
|
|
134
137
|
renderDeepRecallResult
|
|
135
138
|
} from "./chunk-RF2SMMPP.js";
|
|
136
139
|
import {
|
|
137
140
|
createDeepRecallSeedSearch
|
|
138
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-AJBWVDRV.js";
|
|
139
142
|
import {
|
|
140
143
|
runBudgetedDeepRecall
|
|
141
|
-
} from "./chunk-
|
|
142
|
-
import {
|
|
143
|
-
CorpusWatermarkCache,
|
|
144
|
-
computeServiceCorpusCensus
|
|
145
|
-
} from "./chunk-VQWBUPSJ.js";
|
|
146
|
-
import {
|
|
147
|
-
CrossNamespaceBudget,
|
|
148
|
-
toBudgetWarning
|
|
149
|
-
} from "./chunk-UFGFMWAD.js";
|
|
144
|
+
} from "./chunk-WUUGE7QC.js";
|
|
150
145
|
import {
|
|
151
146
|
buildProposedActions,
|
|
152
147
|
buildQualityScore,
|
|
@@ -154,10 +149,18 @@ import {
|
|
|
154
149
|
listMemoryGovernanceRuns,
|
|
155
150
|
readMemoryGovernanceRunArtifact,
|
|
156
151
|
runMemoryGovernance
|
|
157
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-KLUC2GSG.js";
|
|
153
|
+
import {
|
|
154
|
+
CorpusWatermarkCache,
|
|
155
|
+
computeServiceCorpusCensus
|
|
156
|
+
} from "./chunk-5EQT62HH.js";
|
|
157
|
+
import {
|
|
158
|
+
CrossNamespaceBudget,
|
|
159
|
+
toBudgetWarning
|
|
160
|
+
} from "./chunk-UFGFMWAD.js";
|
|
158
161
|
import {
|
|
159
162
|
ExtractionDeadlineError
|
|
160
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-3BLHPQHT.js";
|
|
161
164
|
import {
|
|
162
165
|
defaultCapsulesDir
|
|
163
166
|
} from "./chunk-ZY2MNJR6.js";
|
|
@@ -167,21 +170,21 @@ import {
|
|
|
167
170
|
enqueuePassiveCorrectionNotification,
|
|
168
171
|
parseBriefingFocus,
|
|
169
172
|
parseBriefingWindow
|
|
170
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-ZX6NNFSY.js";
|
|
171
174
|
import {
|
|
172
175
|
parseEntityFile,
|
|
173
176
|
parseFrontmatter,
|
|
174
177
|
qmdCollectionPathParts,
|
|
175
178
|
qmdResultPathCandidates,
|
|
176
179
|
selfDeps
|
|
177
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-ICN37XHG.js";
|
|
178
181
|
import {
|
|
179
182
|
namespaceCollectionName
|
|
180
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-AIVRD66I.js";
|
|
181
184
|
import {
|
|
182
185
|
DEFAULT_RECALL_DISCLOSURE,
|
|
183
186
|
isRecallDisclosure
|
|
184
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-WN2OXGGH.js";
|
|
185
188
|
import {
|
|
186
189
|
normalizeProjectionPreview,
|
|
187
190
|
normalizeProjectionTags
|
|
@@ -217,7 +220,7 @@ import {
|
|
|
217
220
|
} from "./chunk-BT7NVCML.js";
|
|
218
221
|
import {
|
|
219
222
|
FallbackLlmClient
|
|
220
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-TRTLWUDD.js";
|
|
221
224
|
import {
|
|
222
225
|
CORRECTION_TEXT_MAX,
|
|
223
226
|
CorrectionContractError,
|
|
@@ -232,7 +235,7 @@ import {
|
|
|
232
235
|
} from "./chunk-FEHIOYML.js";
|
|
233
236
|
import {
|
|
234
237
|
formatSupersededPrefix
|
|
235
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-EH3HNCAM.js";
|
|
236
239
|
import {
|
|
237
240
|
ExtractionLivenessWarnThrottle,
|
|
238
241
|
computeExtractionLivenessStatus
|
|
@@ -265,9 +268,21 @@ import {
|
|
|
265
268
|
wearablesTranscriptMemories,
|
|
266
269
|
wearablesTranscriptSearch
|
|
267
270
|
} from "./chunk-SYOIVK7K.js";
|
|
271
|
+
import {
|
|
272
|
+
splitCanonicalWriteRequest
|
|
273
|
+
} from "./chunk-ZZEIL3MI.js";
|
|
274
|
+
import {
|
|
275
|
+
reapplyCategoryCoercion
|
|
276
|
+
} from "./chunk-DM5CU5J7.js";
|
|
277
|
+
import {
|
|
278
|
+
exportCapsule
|
|
279
|
+
} from "./chunk-VDX2J7OX.js";
|
|
280
|
+
import {
|
|
281
|
+
evaluateActionConfidence
|
|
282
|
+
} from "./chunk-Z2YFLXHU.js";
|
|
268
283
|
import {
|
|
269
284
|
createOfflineSyncManifestStream
|
|
270
|
-
} from "./chunk-
|
|
285
|
+
} from "./chunk-Z7NBT6AK.js";
|
|
271
286
|
import {
|
|
272
287
|
offlineSyncStorageForSnapshot
|
|
273
288
|
} from "./chunk-XVDZFTN5.js";
|
|
@@ -311,7 +326,7 @@ import {
|
|
|
311
326
|
encodeSupportPassportNamespaceAttributes,
|
|
312
327
|
isSupportPassportPrivateMemory,
|
|
313
328
|
projectSupportPassportCard
|
|
314
|
-
} from "./chunk-
|
|
329
|
+
} from "./chunk-PWPIERBM.js";
|
|
315
330
|
import {
|
|
316
331
|
inferMemoryStatus,
|
|
317
332
|
isActiveMemoryStatus,
|
|
@@ -341,6 +356,25 @@ import {
|
|
|
341
356
|
isNamespaceAllowed,
|
|
342
357
|
tokenCapabilityStore
|
|
343
358
|
} from "./chunk-MZWSOLMT.js";
|
|
359
|
+
import {
|
|
360
|
+
OFFLINE_SYNC_SNAPSHOT_FORMAT,
|
|
361
|
+
applyOfflineSyncChangeset,
|
|
362
|
+
applyOfflineSyncFileContentChunk,
|
|
363
|
+
buildOfflineSyncSnapshot,
|
|
364
|
+
buildOfflineSyncSnapshotForPaths,
|
|
365
|
+
buildOfflineSyncSnapshotFromBase,
|
|
366
|
+
compileOfflineSyncExcludeGlobs,
|
|
367
|
+
filterOfflineSyncDeletionRevisions,
|
|
368
|
+
iterateOfflineSyncSnapshotFileRecords,
|
|
369
|
+
normalizeOfflineSyncChangeset,
|
|
370
|
+
readOfflineSyncFileContentChunk
|
|
371
|
+
} from "./chunk-WQZZDN5M.js";
|
|
372
|
+
import {
|
|
373
|
+
validateArchiveRelativePath
|
|
374
|
+
} from "./chunk-GCGJW34D.js";
|
|
375
|
+
import {
|
|
376
|
+
parseIsoOffsetTimestamp
|
|
377
|
+
} from "./chunk-P7FMDTKL.js";
|
|
344
378
|
import {
|
|
345
379
|
defaultNamespaceAtFlatRoot,
|
|
346
380
|
memorySearchThroughScope,
|
|
@@ -383,37 +417,6 @@ import {
|
|
|
383
417
|
ObserveTranscriptPersister,
|
|
384
418
|
observeTranscriptSessionKey
|
|
385
419
|
} from "./chunk-T2JSUEH6.js";
|
|
386
|
-
import {
|
|
387
|
-
splitCanonicalWriteRequest
|
|
388
|
-
} from "./chunk-ZZCR2QYL.js";
|
|
389
|
-
import {
|
|
390
|
-
reapplyCategoryCoercion
|
|
391
|
-
} from "./chunk-ZX3AYNNV.js";
|
|
392
|
-
import {
|
|
393
|
-
exportCapsule
|
|
394
|
-
} from "./chunk-KQAFEZQX.js";
|
|
395
|
-
import {
|
|
396
|
-
evaluateActionConfidence
|
|
397
|
-
} from "./chunk-Z2YFLXHU.js";
|
|
398
|
-
import {
|
|
399
|
-
OFFLINE_SYNC_SNAPSHOT_FORMAT,
|
|
400
|
-
applyOfflineSyncChangeset,
|
|
401
|
-
applyOfflineSyncFileContentChunk,
|
|
402
|
-
buildOfflineSyncSnapshot,
|
|
403
|
-
buildOfflineSyncSnapshotForPaths,
|
|
404
|
-
buildOfflineSyncSnapshotFromBase,
|
|
405
|
-
compileOfflineSyncExcludeGlobs,
|
|
406
|
-
filterOfflineSyncDeletionRevisions,
|
|
407
|
-
iterateOfflineSyncSnapshotFileRecords,
|
|
408
|
-
normalizeOfflineSyncChangeset,
|
|
409
|
-
readOfflineSyncFileContentChunk
|
|
410
|
-
} from "./chunk-WQZZDN5M.js";
|
|
411
|
-
import {
|
|
412
|
-
validateArchiveRelativePath
|
|
413
|
-
} from "./chunk-GCGJW34D.js";
|
|
414
|
-
import {
|
|
415
|
-
parseIsoOffsetTimestamp
|
|
416
|
-
} from "./chunk-P7FMDTKL.js";
|
|
417
420
|
import {
|
|
418
421
|
AccessIdempotencyStore,
|
|
419
422
|
hashAccessIdempotencyPayload
|
|
@@ -450,7 +453,7 @@ import {
|
|
|
450
453
|
} from "./chunk-B6O2YLUR.js";
|
|
451
454
|
import {
|
|
452
455
|
AccessAuditAdapter
|
|
453
|
-
} from "./chunk-
|
|
456
|
+
} from "./chunk-7K5Q6COX.js";
|
|
454
457
|
import {
|
|
455
458
|
decodeCitationNamespace
|
|
456
459
|
} from "./chunk-YRLHEEQT.js";
|
|
@@ -15347,11 +15350,13 @@ var EngramAccessService = class extends SupportPassportAccessServiceBase {
|
|
|
15347
15350
|
const result = await runBudgetedDeepRecall(
|
|
15348
15351
|
{
|
|
15349
15352
|
config: effective,
|
|
15353
|
+
...request.abortSignal ? { signal: request.abortSignal } : {},
|
|
15350
15354
|
searchSeed: createDeepRecallSeedSearch({
|
|
15351
15355
|
namespace: resolvedNamespace,
|
|
15352
15356
|
storage,
|
|
15353
15357
|
router: this.orchestrator,
|
|
15354
|
-
resolver: this.orchestrator.qmdResultResolver
|
|
15358
|
+
resolver: this.orchestrator.qmdResultResolver,
|
|
15359
|
+
...request.abortSignal ? { signal: request.abortSignal } : {}
|
|
15355
15360
|
}),
|
|
15356
15361
|
// Nodes and anchors are projected against the namespace's CURRENT
|
|
15357
15362
|
// active memories through the SAME helper searchHarmonicRetrieval
|
|
@@ -15362,7 +15367,8 @@ var EngramAccessService = class extends SupportPassportAccessServiceBase {
|
|
|
15362
15367
|
loadGraph: async () => readProjectedHarmonicGraph({
|
|
15363
15368
|
memoryDir: storage.dir,
|
|
15364
15369
|
abstractionNodeStoreDir: graphStoreDir,
|
|
15365
|
-
anchorsEnabled: true
|
|
15370
|
+
anchorsEnabled: true,
|
|
15371
|
+
...request.abortSignal ? { abortSignal: request.abortSignal } : {}
|
|
15366
15372
|
}),
|
|
15367
15373
|
loadMemory: async (memoryId) => {
|
|
15368
15374
|
const memory = await storage.getMemoryById(memoryId);
|
|
@@ -15379,7 +15385,8 @@ var EngramAccessService = class extends SupportPassportAccessServiceBase {
|
|
|
15379
15385
|
config,
|
|
15380
15386
|
localLlm: this.orchestrator.localLlm ?? null,
|
|
15381
15387
|
fallbackLlm: this.orchestrator.fastGatewayLlm ?? null,
|
|
15382
|
-
timeoutMs
|
|
15388
|
+
timeoutMs,
|
|
15389
|
+
...request.abortSignal ? { signal: request.abortSignal } : {}
|
|
15383
15390
|
})
|
|
15384
15391
|
},
|
|
15385
15392
|
query
|
|
@@ -16598,17 +16605,14 @@ var EngramAccessService = class extends SupportPassportAccessServiceBase {
|
|
|
16598
16605
|
agentId: request.agentId,
|
|
16599
16606
|
title: request.title,
|
|
16600
16607
|
content: request.content,
|
|
16601
|
-
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
// authenticated request must never stamp the client's `agentId`
|
|
16605
|
-
// as audit metadata. The client label survives only as the
|
|
16606
|
-
// producer, which feeds grouping and display, never authority.
|
|
16608
|
+
authority: request.authority,
|
|
16609
|
+
expiresAt: request.expiresAt,
|
|
16610
|
+
supersedes: request.supersedes,
|
|
16607
16611
|
...request.principal ? { authenticatedIdentity: request.principal } : { unattributedOrigin: UNATTRIBUTED_ACCESS_WRITE_ORIGIN }
|
|
16608
16612
|
});
|
|
16609
16613
|
} catch (error) {
|
|
16610
16614
|
const message = error instanceof Error ? error.message : String(error);
|
|
16611
|
-
if (message
|
|
16615
|
+
if (isSharedContextWriteInputError(message)) {
|
|
16612
16616
|
throw new EngramAccessInputError(message);
|
|
16613
16617
|
}
|
|
16614
16618
|
throw error;
|
|
@@ -17982,4 +17986,4 @@ export {
|
|
|
17982
17986
|
EngramAccessService,
|
|
17983
17987
|
AccessAdminOpsSurface
|
|
17984
17988
|
};
|
|
17985
|
-
//# sourceMappingURL=chunk-
|
|
17989
|
+
//# sourceMappingURL=chunk-S4MJTIPG.js.map
|