@remnic/core 9.63.6 → 9.63.8
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 +3 -2
- package/dist/access-admin-ops-surface.js +31 -27
- package/dist/access-authorization-probe.d.ts +3 -2
- package/dist/access-authorization-probe.js +32 -28
- package/dist/access-boundary.d.ts +3 -2
- package/dist/access-boundary.js +31 -27
- package/dist/access-cli.js +98 -95
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.d.ts +3 -2
- package/dist/access-extraction-force-flush.js +31 -27
- package/dist/access-http-lcm-compaction.d.ts +3 -2
- package/dist/access-http-lifecycle-flush.d.ts +3 -2
- package/dist/access-http-offline-stream.d.ts +3 -2
- package/dist/access-http-query.js +33 -29
- package/dist/access-http.d.ts +4 -3
- package/dist/access-http.js +47 -43
- package/dist/access-identity-continuity-surface.d.ts +2 -1
- package/dist/access-identity-continuity-surface.js +31 -27
- package/dist/access-lcm-surface.d.ts +3 -2
- package/dist/access-lcm-surface.js +31 -27
- package/dist/access-mcp-output-schemas.js +1 -1
- package/dist/access-mcp.d.ts +3 -2
- package/dist/access-mcp.js +38 -34
- package/dist/access-namespace-preflight.js +31 -27
- package/dist/access-observe-write-surface.d.ts +3 -2
- package/dist/access-observe-write-surface.js +31 -27
- package/dist/access-offline-manifest.d.ts +2 -1
- package/dist/access-offline-manifest.js +5 -4
- package/dist/access-operations-batch.js +32 -28
- package/dist/access-operations.d.ts +3 -2
- package/dist/access-operations.js +36 -32
- package/dist/access-recall-concurrency.d.ts +3 -2
- package/dist/access-recall-concurrency.js +31 -27
- package/dist/access-recall-response.d.ts +3 -2
- package/dist/access-recall-response.js +31 -27
- package/dist/access-recall-surface.d.ts +3 -2
- package/dist/access-recall-surface.js +31 -27
- package/dist/access-schema.js +6 -5
- package/dist/{access-service-cKQrte9Z.d.ts → access-service-BaPa_km6.d.ts} +1 -1
- package/dist/access-service-helpers.d.ts +3 -2
- package/dist/access-service.d.ts +3 -2
- package/dist/access-service.js +31 -27
- package/dist/access-surface-catalog.d.ts +3 -2
- package/dist/access-surface-catalog.js +33 -29
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/active-recall.js +4 -2
- package/dist/active-recall.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/{auto-sync-BKRJDMKX.js → auto-sync-3SHMZVQS.js} +5 -3
- package/dist/{auto-sync-BKRJDMKX.js.map → auto-sync-3SHMZVQS.js.map} +1 -1
- package/dist/bootstrap.d.ts +2 -1
- package/dist/briefing.js +10 -10
- package/dist/calibration.d.ts +2 -1
- package/dist/calibration.js +7 -0
- package/dist/calibration.js.map +1 -1
- package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
- package/dist/causal-consolidation.js +11 -11
- package/dist/census-validation.d.ts +19 -0
- package/dist/census-validation.js +14 -0
- package/dist/census-validation.js.map +1 -0
- package/dist/{chunk-LEPOP46W.js → chunk-227UFSEQ.js} +4 -4
- package/dist/chunk-2YA5N2BY.js +65 -0
- package/dist/chunk-2YA5N2BY.js.map +1 -0
- package/dist/{chunk-PB4WVYGC.js → chunk-3IMYRX3W.js} +2 -2
- package/dist/{chunk-R6UMNP5C.js → chunk-3T6HIIKA.js} +2 -2
- package/dist/{chunk-77QZW2D6.js → chunk-3TDAA7VA.js} +2 -2
- package/dist/{chunk-TWTUGCTY.js → chunk-3YTTAGPB.js} +6 -1
- package/dist/chunk-3YTTAGPB.js.map +1 -0
- package/dist/{chunk-DXDAQZ2K.js → chunk-42TIIO2M.js} +2 -2
- package/dist/{chunk-Y7COCXY2.js → chunk-4F67JJPG.js} +2 -2
- package/dist/{chunk-OW7NVMGQ.js → chunk-5OOTHWGJ.js} +2 -2
- package/dist/{chunk-KYTRF64R.js → chunk-5SCFDQEJ.js} +2 -2
- package/dist/{chunk-DYZR3Z6D.js → chunk-5TF5STAV.js} +4 -4
- package/dist/{chunk-GG4DN63W.js → chunk-62Y5AGCM.js} +2 -2
- package/dist/{chunk-PMVPCZJZ.js → chunk-6433HV72.js} +2 -2
- package/dist/{chunk-KHCUVYCY.js → chunk-6UKSOXAO.js} +3 -3
- package/dist/{chunk-GF7RQWXC.js → chunk-AJRJDXYR.js} +2 -2
- package/dist/{chunk-YEQCMA5L.js → chunk-BOSIHHOH.js} +2 -2
- package/dist/{chunk-IVXVLDNT.js → chunk-BPQ7L27U.js} +77 -92
- package/dist/chunk-BPQ7L27U.js.map +1 -0
- package/dist/{chunk-7LF2OHIJ.js → chunk-BRHKW7GY.js} +2 -2
- package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
- package/dist/{chunk-LX4TNSAE.js → chunk-CBY54QYW.js} +4 -4
- package/dist/{chunk-CIAI24TQ.js → chunk-DGUVXXAU.js} +3 -3
- package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
- package/dist/{chunk-QI5RDDEL.js → chunk-EDZNW3HE.js} +3 -3
- package/dist/chunk-FEHIOYML.js +168 -0
- package/dist/chunk-FEHIOYML.js.map +1 -0
- package/dist/{chunk-Z4N7SVVF.js → chunk-FZEEWOI2.js} +9 -4
- package/dist/chunk-FZEEWOI2.js.map +1 -0
- package/dist/{chunk-6YMEU6OQ.js → chunk-G72IPMR7.js} +2 -2
- package/dist/{chunk-7AF243WZ.js → chunk-GBVRVYF4.js} +1 -1
- package/dist/{chunk-FPEZ74F7.js → chunk-I2HTKOOP.js} +3 -3
- package/dist/{chunk-R7TZ2HCS.js → chunk-JG22O53B.js} +58 -3
- package/dist/chunk-JG22O53B.js.map +1 -0
- package/dist/{chunk-VPHSMJ2E.js → chunk-JPWSYHLB.js} +2 -2
- package/dist/{chunk-X7LEDA74.js → chunk-KFB4YNXM.js} +2 -2
- package/dist/{chunk-I5FLIB2J.js → chunk-KXWE62IH.js} +2 -2
- package/dist/chunk-LQWOFU6L.js +17 -0
- package/dist/chunk-LQWOFU6L.js.map +1 -0
- package/dist/{chunk-TSTI6A3A.js → chunk-LTYH2L6E.js} +13 -13
- package/dist/{chunk-ZUPKNWRZ.js → chunk-MIUL6AUZ.js} +3 -3
- package/dist/{chunk-EJY3HJMT.js → chunk-MYI3RKI6.js} +2 -2
- package/dist/{chunk-UCLMKNHA.js → chunk-N7V3P4V5.js} +2 -2
- package/dist/{chunk-NA56NSKL.js → chunk-O52TB5SL.js} +2 -2
- package/dist/{chunk-7KQB4EBS.js → chunk-OPPBTPUU.js} +4 -4
- package/dist/{chunk-ERPBRXVZ.js → chunk-PHKU6BZ2.js} +2 -2
- package/dist/{chunk-GTD4Q62X.js → chunk-PQHNZ63P.js} +4 -4
- package/dist/{chunk-FHKXVTM5.js → chunk-Q5XKKDFQ.js} +16 -16
- package/dist/{chunk-QRWMS6SI.js → chunk-Q6OL23WM.js} +2 -2
- package/dist/{chunk-V3KIRICY.js → chunk-QQYHYW2N.js} +3 -3
- package/dist/{chunk-YFCEBB5P.js → chunk-QTXNS3HB.js} +2 -2
- package/dist/{chunk-2QSZNTDO.js → chunk-RKNJBZ55.js} +4 -4
- package/dist/{chunk-E4KMY4KR.js → chunk-SNEUAZ6B.js} +2 -2
- package/dist/{chunk-F6JYBVL6.js → chunk-SY5JUJ2X.js} +52 -52
- package/dist/{chunk-EFKZT6AY.js → chunk-T42L3S6A.js} +6 -11
- package/dist/chunk-T42L3S6A.js.map +1 -0
- package/dist/{chunk-YXMHUBN2.js → chunk-TOP3FSDW.js} +25 -102
- package/dist/chunk-TOP3FSDW.js.map +1 -0
- package/dist/{chunk-PBRCYYO7.js → chunk-ULZFZL7K.js} +2 -2
- package/dist/{chunk-YYQAKIDJ.js → chunk-VD2OT77P.js} +2 -2
- package/dist/chunk-VD2OT77P.js.map +1 -0
- package/dist/{chunk-IPLYGWQF.js → chunk-VDX2J7OX.js} +6 -6
- package/dist/{chunk-UGHCZS6K.js → chunk-VFZQXYN5.js} +2 -2
- package/dist/{chunk-NKB43PGI.js → chunk-VYMICVRA.js} +2 -2
- package/dist/{chunk-OETHJBAL.js → chunk-WBPD6SBZ.js} +109 -116
- package/dist/chunk-WBPD6SBZ.js.map +1 -0
- package/dist/{chunk-2UM6WHME.js → chunk-XE2QCCT2.js} +2 -2
- package/dist/{chunk-SYVGVK4S.js → chunk-XTMYB2HY.js} +2 -2
- package/dist/{chunk-AYVCKGA6.js → chunk-YTXNDEUS.js} +2 -2
- package/dist/{chunk-3Z5TGRFA.js → chunk-ZOAAY2OE.js} +9 -9
- package/dist/{chunk-L3CHRBHE.js → chunk-ZRUEP4IK.js} +17 -11
- package/dist/chunk-ZRUEP4IK.js.map +1 -0
- package/dist/{chunk-PRDJMOST.js → chunk-ZVZHG7AI.js} +65 -15
- package/dist/chunk-ZVZHG7AI.js.map +1 -0
- package/dist/{chunk-RYST72N5.js → chunk-ZWYXSF2T.js} +4 -154
- package/dist/chunk-ZWYXSF2T.js.map +1 -0
- package/dist/{cli-BFBDYV0D.d.ts → cli-D0tV7eeU.d.ts} +2 -2
- package/dist/cli.d.ts +4 -3
- package/dist/cli.js +69 -65
- package/dist/compounding/engine.js +10 -10
- package/dist/config.js +4 -2
- package/dist/connectors/codex-materialize-runner.js +10 -10
- package/dist/connectors/index.js +10 -10
- package/dist/consolidation-provenance-check.js +2 -2
- package/dist/convergence-refresh.js +12 -12
- package/dist/conversation-index/backend.js +2 -2
- package/dist/corpus-watermark.js +12 -12
- package/dist/entity-retrieval.js +10 -10
- package/dist/explicit-capture.d.ts +2 -1
- package/dist/external-wiki-access.d.ts +3 -2
- package/dist/external-wiki-access.js +32 -28
- package/dist/external-wiki-mcp-tools.d.ts +3 -2
- package/dist/extraction-judge.d.ts +2 -1
- package/dist/extraction-judge.js +6 -1
- package/dist/extraction-normalization.js +2 -2
- package/dist/extraction-prompt.d.ts +20 -1
- package/dist/extraction-prompt.js +11 -1
- package/dist/extraction.js +13 -13
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/included-memories.d.ts +11 -0
- package/dist/included-memories.js +14 -0
- package/dist/included-memories.js.map +1 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.js +117 -114
- package/dist/lcm/index.js +3 -3
- package/dist/maintenance/memory-governance.js +10 -10
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -10
- package/dist/maintenance/rebuild-memory-projection.js +11 -11
- package/dist/mcp-memory-inspector-app.d.ts +3 -2
- package/dist/namespaces/migrate.js +11 -11
- package/dist/namespaces/search.js +4 -4
- package/dist/namespaces/storage.js +10 -10
- package/dist/offline-sync.js +2 -1
- package/dist/operator-doctor-corpus.js +13 -13
- package/dist/operator-toolkit.js +23 -21
- package/dist/orchestration/maintenance.js +16 -16
- package/dist/{orchestrator-CSc9GfQv.d.ts → orchestrator-Bay_AofR.d.ts} +2 -3
- package/dist/orchestrator.d.ts +2 -1
- package/dist/orchestrator.js +100 -97
- package/dist/{public-http-8PcrDIYi.d.ts → public-http-BtjiyKah.d.ts} +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -0
- package/dist/recall-state.d.ts +6 -2
- package/dist/recall-state.js +6 -2
- package/dist/reconcile/cursor.js +7 -3
- package/dist/reconcile/cursor.js.map +1 -1
- package/dist/reconcile/manifest.js +3 -7
- package/dist/reconcile/plan.d.ts +15 -1
- package/dist/reconcile/plan.js +6 -10
- package/dist/resume-bundles.js +5 -3
- package/dist/search/factory.js +3 -3
- package/dist/search/index.js +3 -3
- package/dist/semantic-consolidation.js +16 -16
- package/dist/semantic-rule-promotion.js +10 -10
- package/dist/semantic-rule-verifier.js +10 -10
- package/dist/source-agent-qualifier.js +10 -10
- package/dist/storage.js +9 -9
- package/dist/support-passport/index.d.ts +6 -5
- package/dist/support-passport/index.js +34 -30
- package/dist/transfer/autodetect.js +1 -1
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +3 -3
- package/dist/transfer/capsule-import.js +2 -2
- package/dist/verified-recall.js +10 -10
- package/package.json +2 -2
- package/src/access-mcp-output-schemas.ts +1 -1
- package/src/access-recall-response.ts +4 -2
- package/src/access-recall-surface.ts +9 -9
- package/src/access-service-namespace.test.ts +9 -9
- package/src/access-service-raw-excerpt-read-gate.test.ts +1 -1
- package/src/calibration.ts +3 -1
- package/src/census-validation.ts +25 -0
- package/src/coding/architecture-surfaces.test.ts +9 -10
- package/src/coding/architecture-surfaces.ts +2 -35
- package/src/coding/codegraph-runtime-loader.test.ts +228 -0
- package/src/coding/codegraph-runtime.ts +30 -50
- package/src/coding/codegraph-surfaces.ts +2 -2
- package/src/coding/coding-knowledge-config.ts +35 -1
- package/src/coding/decision-surfaces.test.ts +9 -10
- package/src/coding/decision-surfaces.ts +2 -40
- package/src/coding/session-delta-surfaces.test.ts +9 -10
- package/src/coding/session-delta-surfaces.ts +2 -33
- package/src/extraction-judge.ts +3 -1
- package/src/extraction-output-language.test.ts +116 -0
- package/src/extraction-prompt.ts +70 -1
- package/src/extraction.ts +23 -95
- package/src/included-memories.ts +88 -0
- package/src/offline-sync.ts +4 -4
- package/src/orchestration/recall-internal-deps.ts +2 -4
- package/src/orchestration/recall-internal.ts +9 -13
- package/src/orchestration/recall-result-formatter-display-safe.test.ts +13 -16
- package/src/orchestration/recall-result-formatter.ts +32 -45
- package/src/orchestration/recall-section-coordinator.ts +20 -26
- package/src/orchestrator.ts +2 -4
- package/src/recall-explain-renderer.test.ts +4 -0
- package/src/recall-state.test.ts +108 -5
- package/src/recall-state.ts +85 -23
- package/src/recall-token-budget.test.ts +1 -1
- package/src/reconcile/census-parity.test.ts +152 -0
- package/src/reconcile/cursor.ts +5 -5
- package/src/reconcile/manifest.ts +4 -11
- package/src/reconcile/plan.ts +18 -15
- package/dist/chunk-EFKZT6AY.js.map +0 -1
- package/dist/chunk-IVXVLDNT.js.map +0 -1
- package/dist/chunk-L3CHRBHE.js.map +0 -1
- package/dist/chunk-OETHJBAL.js.map +0 -1
- package/dist/chunk-PRDJMOST.js.map +0 -1
- package/dist/chunk-R7TZ2HCS.js.map +0 -1
- package/dist/chunk-RYST72N5.js.map +0 -1
- package/dist/chunk-TWTUGCTY.js.map +0 -1
- package/dist/chunk-YXMHUBN2.js.map +0 -1
- package/dist/chunk-YYQAKIDJ.js.map +0 -1
- package/dist/chunk-Z4N7SVVF.js.map +0 -1
- /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
- /package/dist/{chunk-LEPOP46W.js.map → chunk-227UFSEQ.js.map} +0 -0
- /package/dist/{chunk-PB4WVYGC.js.map → chunk-3IMYRX3W.js.map} +0 -0
- /package/dist/{chunk-R6UMNP5C.js.map → chunk-3T6HIIKA.js.map} +0 -0
- /package/dist/{chunk-77QZW2D6.js.map → chunk-3TDAA7VA.js.map} +0 -0
- /package/dist/{chunk-DXDAQZ2K.js.map → chunk-42TIIO2M.js.map} +0 -0
- /package/dist/{chunk-Y7COCXY2.js.map → chunk-4F67JJPG.js.map} +0 -0
- /package/dist/{chunk-OW7NVMGQ.js.map → chunk-5OOTHWGJ.js.map} +0 -0
- /package/dist/{chunk-KYTRF64R.js.map → chunk-5SCFDQEJ.js.map} +0 -0
- /package/dist/{chunk-DYZR3Z6D.js.map → chunk-5TF5STAV.js.map} +0 -0
- /package/dist/{chunk-GG4DN63W.js.map → chunk-62Y5AGCM.js.map} +0 -0
- /package/dist/{chunk-PMVPCZJZ.js.map → chunk-6433HV72.js.map} +0 -0
- /package/dist/{chunk-KHCUVYCY.js.map → chunk-6UKSOXAO.js.map} +0 -0
- /package/dist/{chunk-GF7RQWXC.js.map → chunk-AJRJDXYR.js.map} +0 -0
- /package/dist/{chunk-YEQCMA5L.js.map → chunk-BOSIHHOH.js.map} +0 -0
- /package/dist/{chunk-7LF2OHIJ.js.map → chunk-BRHKW7GY.js.map} +0 -0
- /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
- /package/dist/{chunk-LX4TNSAE.js.map → chunk-CBY54QYW.js.map} +0 -0
- /package/dist/{chunk-CIAI24TQ.js.map → chunk-DGUVXXAU.js.map} +0 -0
- /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
- /package/dist/{chunk-QI5RDDEL.js.map → chunk-EDZNW3HE.js.map} +0 -0
- /package/dist/{chunk-6YMEU6OQ.js.map → chunk-G72IPMR7.js.map} +0 -0
- /package/dist/{chunk-7AF243WZ.js.map → chunk-GBVRVYF4.js.map} +0 -0
- /package/dist/{chunk-FPEZ74F7.js.map → chunk-I2HTKOOP.js.map} +0 -0
- /package/dist/{chunk-VPHSMJ2E.js.map → chunk-JPWSYHLB.js.map} +0 -0
- /package/dist/{chunk-X7LEDA74.js.map → chunk-KFB4YNXM.js.map} +0 -0
- /package/dist/{chunk-I5FLIB2J.js.map → chunk-KXWE62IH.js.map} +0 -0
- /package/dist/{chunk-TSTI6A3A.js.map → chunk-LTYH2L6E.js.map} +0 -0
- /package/dist/{chunk-ZUPKNWRZ.js.map → chunk-MIUL6AUZ.js.map} +0 -0
- /package/dist/{chunk-EJY3HJMT.js.map → chunk-MYI3RKI6.js.map} +0 -0
- /package/dist/{chunk-UCLMKNHA.js.map → chunk-N7V3P4V5.js.map} +0 -0
- /package/dist/{chunk-NA56NSKL.js.map → chunk-O52TB5SL.js.map} +0 -0
- /package/dist/{chunk-7KQB4EBS.js.map → chunk-OPPBTPUU.js.map} +0 -0
- /package/dist/{chunk-ERPBRXVZ.js.map → chunk-PHKU6BZ2.js.map} +0 -0
- /package/dist/{chunk-GTD4Q62X.js.map → chunk-PQHNZ63P.js.map} +0 -0
- /package/dist/{chunk-FHKXVTM5.js.map → chunk-Q5XKKDFQ.js.map} +0 -0
- /package/dist/{chunk-QRWMS6SI.js.map → chunk-Q6OL23WM.js.map} +0 -0
- /package/dist/{chunk-V3KIRICY.js.map → chunk-QQYHYW2N.js.map} +0 -0
- /package/dist/{chunk-YFCEBB5P.js.map → chunk-QTXNS3HB.js.map} +0 -0
- /package/dist/{chunk-2QSZNTDO.js.map → chunk-RKNJBZ55.js.map} +0 -0
- /package/dist/{chunk-E4KMY4KR.js.map → chunk-SNEUAZ6B.js.map} +0 -0
- /package/dist/{chunk-F6JYBVL6.js.map → chunk-SY5JUJ2X.js.map} +0 -0
- /package/dist/{chunk-PBRCYYO7.js.map → chunk-ULZFZL7K.js.map} +0 -0
- /package/dist/{chunk-IPLYGWQF.js.map → chunk-VDX2J7OX.js.map} +0 -0
- /package/dist/{chunk-UGHCZS6K.js.map → chunk-VFZQXYN5.js.map} +0 -0
- /package/dist/{chunk-NKB43PGI.js.map → chunk-VYMICVRA.js.map} +0 -0
- /package/dist/{chunk-2UM6WHME.js.map → chunk-XE2QCCT2.js.map} +0 -0
- /package/dist/{chunk-SYVGVK4S.js.map → chunk-XTMYB2HY.js.map} +0 -0
- /package/dist/{chunk-AYVCKGA6.js.map → chunk-YTXNDEUS.js.map} +0 -0
- /package/dist/{chunk-3Z5TGRFA.js.map → chunk-ZOAAY2OE.js.map} +0 -0
|
@@ -8,10 +8,20 @@ import {
|
|
|
8
8
|
} from "./chunk-GDB4J2H3.js";
|
|
9
9
|
import {
|
|
10
10
|
importCapsule
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6433HV72.js";
|
|
12
|
+
import {
|
|
13
|
+
buildCodingGraphInstallHint,
|
|
14
|
+
tryLoadCodingGraphModule
|
|
15
|
+
} from "./chunk-VQ7B2Q6M.js";
|
|
12
16
|
import {
|
|
13
17
|
WriteQuarantineStore
|
|
14
18
|
} from "./chunk-PJSK6OJM.js";
|
|
19
|
+
import {
|
|
20
|
+
trustResultFor
|
|
21
|
+
} from "./chunk-GNVZQ5JN.js";
|
|
22
|
+
import {
|
|
23
|
+
renderEpistemicHedge
|
|
24
|
+
} from "./chunk-YN2UN7N3.js";
|
|
15
25
|
import {
|
|
16
26
|
getTrustZoneStoreStatus,
|
|
17
27
|
isTrustZoneName,
|
|
@@ -21,12 +31,6 @@ import {
|
|
|
21
31
|
seedTrustZoneDemoDataset,
|
|
22
32
|
summarizeTrustZonePromotionReadiness
|
|
23
33
|
} from "./chunk-5QZR2RA3.js";
|
|
24
|
-
import {
|
|
25
|
-
trustResultFor
|
|
26
|
-
} from "./chunk-GNVZQ5JN.js";
|
|
27
|
-
import {
|
|
28
|
-
renderEpistemicHedge
|
|
29
|
-
} from "./chunk-YN2UN7N3.js";
|
|
30
34
|
import {
|
|
31
35
|
planSessionTranscriptMigration
|
|
32
36
|
} from "./chunk-P5FPO2BR.js";
|
|
@@ -41,10 +45,13 @@ import {
|
|
|
41
45
|
} from "./chunk-QICOU4RY.js";
|
|
42
46
|
import {
|
|
43
47
|
readAggregateExtractionWatermark
|
|
44
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-QTXNS3HB.js";
|
|
45
49
|
import {
|
|
46
50
|
ReplicaDivergenceMonitor
|
|
47
51
|
} from "./chunk-CVILPI77.js";
|
|
52
|
+
import {
|
|
53
|
+
recordMemoryOutcome
|
|
54
|
+
} from "./chunk-EIR5VLIH.js";
|
|
48
55
|
import {
|
|
49
56
|
recordObjectiveStateSnapshotsFromObservedMessages
|
|
50
57
|
} from "./chunk-2HIJHXB3.js";
|
|
@@ -52,8 +59,8 @@ import {
|
|
|
52
59
|
objectiveStateStoreOverrideForNamespace
|
|
53
60
|
} from "./chunk-HTP6XRUI.js";
|
|
54
61
|
import {
|
|
55
|
-
|
|
56
|
-
} from "./chunk-
|
|
62
|
+
coerceIncludedMemories
|
|
63
|
+
} from "./chunk-2YA5N2BY.js";
|
|
57
64
|
import {
|
|
58
65
|
buildGraphSnapshot
|
|
59
66
|
} from "./chunk-PD66CVSD.js";
|
|
@@ -99,11 +106,11 @@ import {
|
|
|
99
106
|
listMemoryGovernanceRuns,
|
|
100
107
|
readMemoryGovernanceRunArtifact,
|
|
101
108
|
runMemoryGovernance
|
|
102
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-3TDAA7VA.js";
|
|
103
110
|
import {
|
|
104
111
|
CorpusWatermarkCache,
|
|
105
112
|
computeServiceCorpusCensus
|
|
106
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-MYI3RKI6.js";
|
|
107
114
|
import {
|
|
108
115
|
CrossNamespaceBudget,
|
|
109
116
|
toBudgetWarning
|
|
@@ -127,17 +134,17 @@ import {
|
|
|
127
134
|
enqueuePassiveCorrectionNotification,
|
|
128
135
|
parseBriefingFocus,
|
|
129
136
|
parseBriefingWindow
|
|
130
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-YTXNDEUS.js";
|
|
131
138
|
import {
|
|
132
139
|
parseEntityFile,
|
|
133
140
|
parseFrontmatter,
|
|
134
141
|
qmdCollectionPathParts,
|
|
135
142
|
qmdResultPathCandidates,
|
|
136
143
|
selfDeps
|
|
137
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-Q5XKKDFQ.js";
|
|
138
145
|
import {
|
|
139
146
|
namespaceCollectionName
|
|
140
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-AJRJDXYR.js";
|
|
141
148
|
import {
|
|
142
149
|
DEFAULT_RECALL_DISCLOSURE,
|
|
143
150
|
isRecallDisclosure
|
|
@@ -170,6 +177,9 @@ import {
|
|
|
170
177
|
import {
|
|
171
178
|
extractJsonCandidates
|
|
172
179
|
} from "./chunk-RGMVMVMF.js";
|
|
180
|
+
import {
|
|
181
|
+
isCodingKnowledgeFeatureEnabled
|
|
182
|
+
} from "./chunk-FEHIOYML.js";
|
|
173
183
|
import {
|
|
174
184
|
ExtractionLivenessWarnThrottle,
|
|
175
185
|
computeExtractionLivenessStatus
|
|
@@ -179,7 +189,7 @@ import {
|
|
|
179
189
|
} from "./chunk-JV3C2MNQ.js";
|
|
180
190
|
import {
|
|
181
191
|
exportCapsule
|
|
182
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-VDX2J7OX.js";
|
|
183
193
|
import {
|
|
184
194
|
evaluateActionConfidence
|
|
185
195
|
} from "./chunk-Z2YFLXHU.js";
|
|
@@ -208,7 +218,7 @@ import {
|
|
|
208
218
|
} from "./chunk-LNEWDF2A.js";
|
|
209
219
|
import {
|
|
210
220
|
createOfflineSyncManifestStream
|
|
211
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-I2HTKOOP.js";
|
|
212
222
|
import {
|
|
213
223
|
offlineSyncStorageForSnapshot
|
|
214
224
|
} from "./chunk-HZNYJN77.js";
|
|
@@ -286,7 +296,7 @@ import {
|
|
|
286
296
|
iterateOfflineSyncSnapshotFileRecords,
|
|
287
297
|
normalizeOfflineSyncChangeset,
|
|
288
298
|
readOfflineSyncFileContentChunk
|
|
289
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-FZEEWOI2.js";
|
|
290
300
|
import {
|
|
291
301
|
validateArchiveRelativePath
|
|
292
302
|
} from "./chunk-GCGJW34D.js";
|
|
@@ -775,14 +785,11 @@ function clampSummaryToBytes(text, maxBytes) {
|
|
|
775
785
|
}
|
|
776
786
|
|
|
777
787
|
// src/coding/architecture-surfaces.ts
|
|
778
|
-
function isArchitectureCardSurfaceEnabled(config, codingContext) {
|
|
779
|
-
return config.enabled === true && config.architectureCard === true && codingContext !== null && codingContext !== void 0;
|
|
780
|
-
}
|
|
781
788
|
var ARCHITECTURE_CARD_TAG = "architecture-card";
|
|
782
789
|
var ARCHITECTURE_CARD_KIND = "architecture";
|
|
783
790
|
async function handleCodingArchitecture(request, ctx) {
|
|
784
791
|
const codingContext = request.sessionKey ? ctx.getCodingContext(request.sessionKey) : null;
|
|
785
|
-
if (codingContext === null || !
|
|
792
|
+
if (codingContext === null || !isCodingKnowledgeFeatureEnabled(ctx.codingKnowledge, "architectureCard", codingContext)) {
|
|
786
793
|
ctx.throwInputError(
|
|
787
794
|
"coding_architecture requires codingKnowledge.enabled, codingKnowledge.architectureCard, and an attached coding context"
|
|
788
795
|
);
|
|
@@ -958,7 +965,6 @@ import { readFile as readFile2, realpath } from "fs/promises";
|
|
|
958
965
|
import { readFileSync, realpathSync } from "fs";
|
|
959
966
|
import { pathToFileURL } from "url";
|
|
960
967
|
import { createHash } from "crypto";
|
|
961
|
-
var CODEGRAPH_SPECIFIER = "@remnic/coding-graph";
|
|
962
968
|
function codegraphSurfaceVisible(config) {
|
|
963
969
|
const ck = config.codingKnowledge;
|
|
964
970
|
if (ck === void 0 || ck === null) return false;
|
|
@@ -989,30 +995,19 @@ function sanitizePathSegment(input) {
|
|
|
989
995
|
return sanitized.replace(/^\.+/, "").replace(/[/\\]+/g, "_") || "_";
|
|
990
996
|
}
|
|
991
997
|
var storeCache = /* @__PURE__ */ new Map();
|
|
992
|
-
var cachedModule;
|
|
993
|
-
var moduleLoadPromise = null;
|
|
994
998
|
function storeCacheKey(principalSafe, projectSafe, dbPath) {
|
|
995
999
|
return `${principalSafe}::${projectSafe}::${dbPath}`;
|
|
996
1000
|
}
|
|
997
|
-
|
|
998
|
-
if (
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
cachedModule = null;
|
|
1008
|
-
return null;
|
|
1009
|
-
} catch {
|
|
1010
|
-
cachedModule = null;
|
|
1011
|
-
return null;
|
|
1012
|
-
}
|
|
1013
|
-
})();
|
|
1014
|
-
}
|
|
1015
|
-
return moduleLoadPromise;
|
|
1001
|
+
function isCodegraphModule(value) {
|
|
1002
|
+
if (!value || typeof value !== "object") return false;
|
|
1003
|
+
const candidate = value;
|
|
1004
|
+
const graphStore = candidate.GraphStore;
|
|
1005
|
+
return graphStore !== void 0 && typeof graphStore.open === "function";
|
|
1006
|
+
}
|
|
1007
|
+
async function resolveCodegraphModule() {
|
|
1008
|
+
const mod = await tryLoadCodingGraphModule();
|
|
1009
|
+
if (mod === null || !isCodegraphModule(mod)) return null;
|
|
1010
|
+
return mod;
|
|
1016
1011
|
}
|
|
1017
1012
|
async function getCodegraphStore(params) {
|
|
1018
1013
|
const { config, memoryDir, principal, projectId, repoRoot } = params;
|
|
@@ -1022,12 +1017,9 @@ async function getCodegraphStore(params) {
|
|
|
1022
1017
|
"codegraph tools are disabled (codingKnowledge.enabled or codingKnowledge.codegraphTools is false)"
|
|
1023
1018
|
);
|
|
1024
1019
|
}
|
|
1025
|
-
const mod = await
|
|
1020
|
+
const mod = await resolveCodegraphModule();
|
|
1026
1021
|
if (mod === null) {
|
|
1027
|
-
throw new CodegraphRuntimeError(
|
|
1028
|
-
"package_missing",
|
|
1029
|
-
"The @remnic/coding-graph package is not installed; install it to use codegraph tools."
|
|
1030
|
-
);
|
|
1022
|
+
throw new CodegraphRuntimeError("package_missing", buildCodingGraphInstallHint());
|
|
1031
1023
|
}
|
|
1032
1024
|
const principalSafe = sanitizePathSegment(principal);
|
|
1033
1025
|
const projectSafe = sanitizePathSegment(projectId);
|
|
@@ -1129,7 +1121,7 @@ function makeCodegraphRuntimeDelegates() {
|
|
|
1129
1121
|
};
|
|
1130
1122
|
}
|
|
1131
1123
|
async function runCodegraphReindex(params) {
|
|
1132
|
-
const mod = await
|
|
1124
|
+
const mod = await resolveCodegraphModule();
|
|
1133
1125
|
if (mod === null) {
|
|
1134
1126
|
return { ok: false, code: "package_missing", message: "The @remnic/coding-graph package is not installed." };
|
|
1135
1127
|
}
|
|
@@ -1204,7 +1196,7 @@ var DEFAULT_LSP_SERVERS = {
|
|
|
1204
1196
|
rust: { command: "rust-analyzer", args: [] }
|
|
1205
1197
|
};
|
|
1206
1198
|
async function runCodegraphLspResolution(params) {
|
|
1207
|
-
const mod = await
|
|
1199
|
+
const mod = await resolveCodegraphModule();
|
|
1208
1200
|
if (mod === null) {
|
|
1209
1201
|
return { ok: false, code: "package_missing", message: "@remnic/coding-graph is not installed." };
|
|
1210
1202
|
}
|
|
@@ -1487,7 +1479,7 @@ async function runCodegraphLspResolution(params) {
|
|
|
1487
1479
|
};
|
|
1488
1480
|
}
|
|
1489
1481
|
async function reportCodegraphIndexStatus(params) {
|
|
1490
|
-
const mod = await
|
|
1482
|
+
const mod = await resolveCodegraphModule();
|
|
1491
1483
|
if (mod === null) {
|
|
1492
1484
|
return { ok: false, code: "package_missing", message: "The @remnic/coding-graph package is not installed." };
|
|
1493
1485
|
}
|
|
@@ -1504,7 +1496,7 @@ async function reportCodegraphIndexStatus(params) {
|
|
|
1504
1496
|
}
|
|
1505
1497
|
}
|
|
1506
1498
|
async function detectCodegraphChanges(params) {
|
|
1507
|
-
const mod = await
|
|
1499
|
+
const mod = await resolveCodegraphModule();
|
|
1508
1500
|
if (mod === null) {
|
|
1509
1501
|
return { ok: false, code: "package_missing", message: "The @remnic/coding-graph package is not installed." };
|
|
1510
1502
|
}
|
|
@@ -1833,12 +1825,9 @@ var DECISION_SUBCOMMANDS = [
|
|
|
1833
1825
|
"record",
|
|
1834
1826
|
"supersede"
|
|
1835
1827
|
];
|
|
1836
|
-
function isDecisionRecordSurfaceEnabled(config, codingContext) {
|
|
1837
|
-
return config.enabled === true && config.decisionRecords === true && codingContext != null;
|
|
1838
|
-
}
|
|
1839
1828
|
async function handleCodingDecision(request, ctx) {
|
|
1840
1829
|
const codingContext = request.sessionKey ? ctx.getCodingContext(request.sessionKey) : null;
|
|
1841
|
-
if (!
|
|
1830
|
+
if (!isCodingKnowledgeFeatureEnabled(ctx.codingKnowledge, "decisionRecords", codingContext)) {
|
|
1842
1831
|
ctx.throwInputError(
|
|
1843
1832
|
"coding_decision requires codingKnowledge.enabled, codingKnowledge.decisionRecords, and an attached coding context"
|
|
1844
1833
|
);
|
|
@@ -2363,7 +2352,7 @@ async function handleManageAdr(request, ctx) {
|
|
|
2363
2352
|
);
|
|
2364
2353
|
}
|
|
2365
2354
|
const codingContext = resolveCodingContext(request, ctx);
|
|
2366
|
-
if (!
|
|
2355
|
+
if (!isCodingKnowledgeFeatureEnabled(ctx.config.codingKnowledge, "decisionRecords", codingContext)) {
|
|
2367
2356
|
return disabledResponse(
|
|
2368
2357
|
request.tool,
|
|
2369
2358
|
"manage_adr requires codingKnowledge.enabled + decisionRecords + an attached coding context"
|
|
@@ -2607,12 +2596,9 @@ function parseLogOutput(stdout, sep2) {
|
|
|
2607
2596
|
|
|
2608
2597
|
// src/coding/session-delta-surfaces.ts
|
|
2609
2598
|
var DELTA_SUBCOMMANDS = ["get"];
|
|
2610
|
-
function isSessionDeltaSurfaceEnabled(config, codingContext) {
|
|
2611
|
-
return config.enabled === true && config.sessionDelta === true && codingContext !== null && codingContext !== void 0;
|
|
2612
|
-
}
|
|
2613
2599
|
async function handleCodingDelta(request, ctx) {
|
|
2614
2600
|
const codingContext = request.sessionKey ? ctx.getCodingContext(request.sessionKey) : null;
|
|
2615
|
-
if (codingContext === null || !
|
|
2601
|
+
if (codingContext === null || !isCodingKnowledgeFeatureEnabled(ctx.codingKnowledge, "sessionDelta", codingContext)) {
|
|
2616
2602
|
ctx.throwInputError(
|
|
2617
2603
|
"coding_delta requires codingKnowledge.enabled, codingKnowledge.sessionDelta, and an attached coding context"
|
|
2618
2604
|
);
|
|
@@ -8721,28 +8707,15 @@ function displayResultPath(resultPath, memoryDir, namespace) {
|
|
|
8721
8707
|
const rel = path10.relative(root, resultPath);
|
|
8722
8708
|
return rel && !rel.startsWith("..") && !path10.isAbsolute(rel) ? rel.split(path10.sep).join("/") : resultPath;
|
|
8723
8709
|
}
|
|
8724
|
-
function displaySafeBudgetsApplied(budgetsApplied, memoryDir) {
|
|
8725
|
-
if (!budgetsApplied?.includedMemoryPaths) return budgetsApplied;
|
|
8726
|
-
return {
|
|
8727
|
-
...budgetsApplied,
|
|
8728
|
-
includedMemoryPaths: budgetsApplied.includedMemoryPaths.map(
|
|
8729
|
-
(p, i) => displayResultPath(p, memoryDir, budgetsApplied.includedMemoryNamespaces?.[i])
|
|
8730
|
-
)
|
|
8731
|
-
};
|
|
8732
|
-
}
|
|
8733
8710
|
function displaySafeRecallSnapshot(snapshot, memoryDir) {
|
|
8734
|
-
const
|
|
8735
|
-
|
|
8736
|
-
|
|
8711
|
+
const includedMemories = coerceIncludedMemories(snapshot).map((memory) => ({
|
|
8712
|
+
...memory,
|
|
8713
|
+
path: displayResultPath(memory.path, memoryDir, memory.namespace)
|
|
8714
|
+
}));
|
|
8737
8715
|
const namespaceByPath = /* @__PURE__ */ new Map();
|
|
8738
|
-
|
|
8739
|
-
if (!namespaceByPath.has(
|
|
8740
|
-
}
|
|
8741
|
-
snapshot.budgetsApplied?.includedMemoryPaths?.forEach((p, i) => {
|
|
8742
|
-
if (!namespaceByPath.has(p)) {
|
|
8743
|
-
namespaceByPath.set(p, snapshot.budgetsApplied?.includedMemoryNamespaces?.[i]);
|
|
8744
|
-
}
|
|
8745
|
-
});
|
|
8716
|
+
for (const memory of coerceIncludedMemories(snapshot)) {
|
|
8717
|
+
if (!namespaceByPath.has(memory.path)) namespaceByPath.set(memory.path, memory.namespace);
|
|
8718
|
+
}
|
|
8746
8719
|
const tierExplain = snapshot.tierExplain?.sourceAnchors ? {
|
|
8747
8720
|
...snapshot.tierExplain,
|
|
8748
8721
|
sourceAnchors: snapshot.tierExplain.sourceAnchors.map((anchor) => ({
|
|
@@ -8750,10 +8723,20 @@ function displaySafeRecallSnapshot(snapshot, memoryDir) {
|
|
|
8750
8723
|
path: displayResultPath(anchor.path, memoryDir, namespaceByPath.get(anchor.path))
|
|
8751
8724
|
}))
|
|
8752
8725
|
} : void 0;
|
|
8726
|
+
const resultPaths = includedMemories.map((memory) => memory.path);
|
|
8727
|
+
const resultNamespaces = includedMemories.map((memory) => memory.namespace);
|
|
8753
8728
|
return {
|
|
8754
8729
|
...snapshot,
|
|
8755
|
-
|
|
8756
|
-
|
|
8730
|
+
includedMemories,
|
|
8731
|
+
resultPaths,
|
|
8732
|
+
resultNamespaces,
|
|
8733
|
+
...snapshot.budgetsApplied ? {
|
|
8734
|
+
budgetsApplied: {
|
|
8735
|
+
...snapshot.budgetsApplied,
|
|
8736
|
+
includedMemoryPaths: resultPaths,
|
|
8737
|
+
includedMemoryNamespaces: resultNamespaces
|
|
8738
|
+
}
|
|
8739
|
+
} : {},
|
|
8757
8740
|
...tierExplain ? { tierExplain } : {}
|
|
8758
8741
|
};
|
|
8759
8742
|
}
|
|
@@ -9244,7 +9227,7 @@ async function assembleRecallResponse(deps, params) {
|
|
|
9244
9227
|
fallbackUsed: snapshot?.fallbackUsed ?? false,
|
|
9245
9228
|
sourcesUsed: snapshot?.sourcesUsed ?? [],
|
|
9246
9229
|
disclosure,
|
|
9247
|
-
budgetsApplied:
|
|
9230
|
+
budgetsApplied: snapshot ? displaySafeRecallSnapshot(snapshot, deps.orchestrator.config.memoryDir).budgetsApplied : void 0,
|
|
9248
9231
|
auditAnomalies,
|
|
9249
9232
|
budgetWarning: toBudgetWarning(budgetDecision),
|
|
9250
9233
|
latencyMs: snapshot?.latencyMs ?? Date.now() - startedAt,
|
|
@@ -9265,7 +9248,10 @@ var AccessRecallSurface = class {
|
|
|
9265
9248
|
deps;
|
|
9266
9249
|
async buildRecallResponseFromXraySnapshot(options) {
|
|
9267
9250
|
const memoryIds = options.snapshot.results.map((result) => result.memoryId);
|
|
9268
|
-
const
|
|
9251
|
+
const includedMemories = options.snapshot.results.map((result) => ({
|
|
9252
|
+
id: result.memoryId,
|
|
9253
|
+
path: result.path
|
|
9254
|
+
}));
|
|
9269
9255
|
const namespace = options.snapshot.namespace ? this.deps.resolveNamespace(options.snapshot.namespace) : this.deps.orchestrator.config.defaultNamespace;
|
|
9270
9256
|
const sourcesUsed = Array.from(
|
|
9271
9257
|
new Set(options.snapshot.results.map((result) => result.servedBy))
|
|
@@ -9289,7 +9275,7 @@ var AccessRecallSurface = class {
|
|
|
9289
9275
|
finalContextChars: options.snapshot.budget.used
|
|
9290
9276
|
},
|
|
9291
9277
|
latencyMs: Date.now() - options.startedAt,
|
|
9292
|
-
|
|
9278
|
+
includedMemories
|
|
9293
9279
|
};
|
|
9294
9280
|
const results = await this.deps.serializeRecallResults(
|
|
9295
9281
|
snapshotForSerialization,
|
|
@@ -9466,11 +9452,10 @@ var AccessRecallSurface = class {
|
|
|
9466
9452
|
} : null
|
|
9467
9453
|
);
|
|
9468
9454
|
const rawExcerpts = rawExcerptsResult ?? void 0;
|
|
9469
|
-
const
|
|
9470
|
-
|
|
9471
|
-
const memoryPath = snapshot.resultPaths?.[index];
|
|
9472
|
-
const memoryNamespace = resultNamespaces[index];
|
|
9455
|
+
for (const included of coerceIncludedMemories(snapshot)) {
|
|
9456
|
+
const memoryPath = included.path;
|
|
9473
9457
|
if (!memoryPath) continue;
|
|
9458
|
+
const memoryNamespace = included.namespace;
|
|
9474
9459
|
const seenKey = `${memoryNamespace ?? ""}\0${memoryPath}`;
|
|
9475
9460
|
if (seen.has(seenKey)) continue;
|
|
9476
9461
|
const resolved = await readResultPath(memoryPath, memoryNamespace);
|
|
@@ -17685,4 +17670,4 @@ export {
|
|
|
17685
17670
|
EngramAccessService,
|
|
17686
17671
|
AccessAdminOpsSurface
|
|
17687
17672
|
};
|
|
17688
|
-
//# sourceMappingURL=chunk-
|
|
17673
|
+
//# sourceMappingURL=chunk-BPQ7L27U.js.map
|