@remnic/core 9.63.6 → 9.63.7
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 +1 -1
- package/dist/access-admin-ops-surface.js +27 -25
- package/dist/access-authorization-probe.d.ts +1 -1
- package/dist/access-authorization-probe.js +28 -26
- package/dist/access-boundary.d.ts +1 -1
- package/dist/access-boundary.js +27 -25
- package/dist/access-cli.js +83 -81
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.d.ts +1 -1
- package/dist/access-extraction-force-flush.js +27 -25
- package/dist/access-http-lcm-compaction.d.ts +1 -1
- package/dist/access-http-lifecycle-flush.d.ts +1 -1
- package/dist/access-http-offline-stream.d.ts +1 -1
- package/dist/access-http-query.js +29 -27
- package/dist/access-http.d.ts +2 -2
- package/dist/access-http.js +43 -41
- package/dist/access-identity-continuity-surface.js +27 -25
- package/dist/access-lcm-surface.d.ts +1 -1
- package/dist/access-lcm-surface.js +27 -25
- package/dist/access-mcp.d.ts +1 -1
- package/dist/access-mcp.js +34 -32
- package/dist/access-namespace-preflight.js +27 -25
- package/dist/access-observe-write-surface.d.ts +1 -1
- package/dist/access-observe-write-surface.js +27 -25
- package/dist/access-offline-manifest.js +6 -5
- package/dist/access-operations-batch.js +29 -27
- package/dist/access-operations.d.ts +4 -4
- package/dist/access-operations.js +33 -31
- package/dist/access-recall-concurrency.d.ts +1 -1
- package/dist/access-recall-concurrency.js +27 -25
- package/dist/access-recall-response.d.ts +1 -1
- package/dist/access-recall-response.js +27 -25
- package/dist/access-recall-surface.d.ts +1 -1
- package/dist/access-recall-surface.js +27 -25
- package/dist/access-schema.d.ts +88 -88
- package/dist/access-schema.js +6 -5
- package/dist/access-service-helpers.d.ts +1 -1
- package/dist/access-service.d.ts +1 -1
- package/dist/access-service.js +27 -25
- package/dist/access-surface-catalog.d.ts +1 -1
- package/dist/access-surface-catalog.js +29 -27
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/active-recall.js +5 -3
- 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/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/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-Z4N7SVVF.js → chunk-2L7DKNVE.js} +12 -7
- package/dist/chunk-2L7DKNVE.js.map +1 -0
- package/dist/{chunk-3Z5TGRFA.js → chunk-3NZAVWU5.js} +9 -9
- package/dist/{chunk-I5FLIB2J.js → chunk-3S3PNR5H.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-PB4WVYGC.js → chunk-5S5DUJFJ.js} +2 -2
- package/dist/{chunk-KYTRF64R.js → chunk-5SCFDQEJ.js} +2 -2
- package/dist/{chunk-GG4DN63W.js → chunk-62Y5AGCM.js} +2 -2
- package/dist/{chunk-KHCUVYCY.js → chunk-6UKSOXAO.js} +3 -3
- package/dist/{chunk-F6JYBVL6.js → chunk-7ZAC2C2U.js} +24 -24
- package/dist/{chunk-GF7RQWXC.js → chunk-AJRJDXYR.js} +2 -2
- package/dist/{chunk-YEQCMA5L.js → chunk-BOSIHHOH.js} +2 -2
- package/dist/{chunk-7LF2OHIJ.js → chunk-BRHKW7GY.js} +2 -2
- package/dist/{chunk-LX4TNSAE.js → chunk-CBY54QYW.js} +4 -4
- package/dist/chunk-FEHIOYML.js +168 -0
- package/dist/chunk-FEHIOYML.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-GTD4Q62X.js → chunk-H4GQ2Y24.js} +3 -3
- package/dist/{chunk-QI5RDDEL.js → chunk-HXZNTZ3Y.js} +6 -6
- package/dist/{chunk-CIAI24TQ.js → chunk-IBZQQOM5.js} +3 -3
- package/dist/{chunk-RYST72N5.js → chunk-IINVXO3U.js} +4 -154
- package/dist/chunk-IINVXO3U.js.map +1 -0
- 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-IPLYGWQF.js → chunk-KQAFEZQX.js} +5 -5
- package/dist/chunk-LQWOFU6L.js +17 -0
- package/dist/chunk-LQWOFU6L.js.map +1 -0
- package/dist/{chunk-ZUPKNWRZ.js → chunk-MIUL6AUZ.js} +3 -3
- package/dist/{chunk-EJY3HJMT.js → chunk-MYI3RKI6.js} +2 -2
- package/dist/{chunk-NA56NSKL.js → chunk-OOJCXJBN.js} +2 -2
- package/dist/{chunk-7KQB4EBS.js → chunk-OPPBTPUU.js} +4 -4
- package/dist/{chunk-ERPBRXVZ.js → chunk-PZKWPXRF.js} +2 -2
- package/dist/{chunk-FHKXVTM5.js → chunk-Q5XKKDFQ.js} +16 -16
- package/dist/{chunk-QRWMS6SI.js → chunk-Q6OL23WM.js} +2 -2
- package/dist/{chunk-OW7NVMGQ.js → chunk-QIZOU3FN.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-TSTI6A3A.js → chunk-SYJW273H.js} +11 -11
- 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-UGHCZS6K.js → chunk-VFZQXYN5.js} +2 -2
- package/dist/{chunk-IVXVLDNT.js → chunk-WKJTMXME.js} +37 -54
- package/dist/chunk-WKJTMXME.js.map +1 -0
- package/dist/{chunk-NKB43PGI.js → chunk-WZDTSBGQ.js} +2 -2
- package/dist/{chunk-2UM6WHME.js → chunk-XE2QCCT2.js} +2 -2
- package/dist/{chunk-FPEZ74F7.js → chunk-XNJQZLAP.js} +3 -3
- package/dist/{chunk-SYVGVK4S.js → chunk-XTMYB2HY.js} +2 -2
- package/dist/{chunk-OETHJBAL.js → chunk-XV6PUXJ5.js} +71 -71
- package/dist/{chunk-UCLMKNHA.js → chunk-YIMV2KYM.js} +2 -2
- package/dist/{chunk-DYZR3Z6D.js → chunk-YMQKPSB2.js} +4 -4
- package/dist/{chunk-AYVCKGA6.js → chunk-YTXNDEUS.js} +2 -2
- package/dist/{chunk-L3CHRBHE.js → chunk-ZRUEP4IK.js} +17 -11
- package/dist/chunk-ZRUEP4IK.js.map +1 -0
- package/dist/{cli-BFBDYV0D.d.ts → cli-BTNj5DzK.d.ts} +1 -1
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +59 -57
- package/dist/compounding/engine.js +10 -10
- package/dist/config.js +5 -3
- 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/external-wiki-access.d.ts +1 -1
- package/dist/external-wiki-access.js +28 -26
- package/dist/external-wiki-mcp-tools.d.ts +1 -1
- 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/{first-start-migration-4NETATFF.js → first-start-migration-Q2VB2E2D.js} +4 -4
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/index.d.ts +680 -680
- package/dist/index.js +92 -90
- 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 +1 -1
- 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 +3 -2
- package/dist/operator-doctor-corpus.js +13 -13
- package/dist/operator-toolkit.js +24 -22
- package/dist/orchestration/maintenance.js +16 -16
- package/dist/orchestrator.js +85 -83
- package/dist/{public-http-8PcrDIYi.d.ts → public-http-BmPktTe3.d.ts} +1 -1
- 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 +6 -4
- package/dist/schemas.d.ts +108 -108
- 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/shared-context/manager.d.ts +8 -8
- package/dist/source-agent-qualifier.js +10 -10
- package/dist/storage.js +9 -9
- package/dist/support-passport/index.d.ts +4 -4
- package/dist/support-passport/index.js +30 -28
- package/dist/transfer/autodetect.js +1 -1
- package/dist/transfer/backup.js +1 -1
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/types.d.ts +66 -66
- package/dist/verified-recall.js +10 -10
- package/package.json +2 -2
- 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/offline-sync.ts +4 -4
- 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-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-Z4N7SVVF.js.map +0 -1
- package/dist/{access-service-cKQrte9Z.d.ts → access-service-CocW74uA.d.ts} +64 -64
- /package/dist/{chunk-LEPOP46W.js.map → chunk-227UFSEQ.js.map} +0 -0
- /package/dist/{chunk-3Z5TGRFA.js.map → chunk-3NZAVWU5.js.map} +0 -0
- /package/dist/{chunk-I5FLIB2J.js.map → chunk-3S3PNR5H.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-PB4WVYGC.js.map → chunk-5S5DUJFJ.js.map} +0 -0
- /package/dist/{chunk-KYTRF64R.js.map → chunk-5SCFDQEJ.js.map} +0 -0
- /package/dist/{chunk-GG4DN63W.js.map → chunk-62Y5AGCM.js.map} +0 -0
- /package/dist/{chunk-KHCUVYCY.js.map → chunk-6UKSOXAO.js.map} +0 -0
- /package/dist/{chunk-F6JYBVL6.js.map → chunk-7ZAC2C2U.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-LX4TNSAE.js.map → chunk-CBY54QYW.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-GTD4Q62X.js.map → chunk-H4GQ2Y24.js.map} +0 -0
- /package/dist/{chunk-QI5RDDEL.js.map → chunk-HXZNTZ3Y.js.map} +0 -0
- /package/dist/{chunk-CIAI24TQ.js.map → chunk-IBZQQOM5.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-IPLYGWQF.js.map → chunk-KQAFEZQX.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-NA56NSKL.js.map → chunk-OOJCXJBN.js.map} +0 -0
- /package/dist/{chunk-7KQB4EBS.js.map → chunk-OPPBTPUU.js.map} +0 -0
- /package/dist/{chunk-ERPBRXVZ.js.map → chunk-PZKWPXRF.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-OW7NVMGQ.js.map → chunk-QIZOU3FN.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-TSTI6A3A.js.map → chunk-SYJW273H.js.map} +0 -0
- /package/dist/{chunk-PBRCYYO7.js.map → chunk-ULZFZL7K.js.map} +0 -0
- /package/dist/{chunk-UGHCZS6K.js.map → chunk-VFZQXYN5.js.map} +0 -0
- /package/dist/{chunk-NKB43PGI.js.map → chunk-WZDTSBGQ.js.map} +0 -0
- /package/dist/{chunk-2UM6WHME.js.map → chunk-XE2QCCT2.js.map} +0 -0
- /package/dist/{chunk-FPEZ74F7.js.map → chunk-XNJQZLAP.js.map} +0 -0
- /package/dist/{chunk-SYVGVK4S.js.map → chunk-XTMYB2HY.js.map} +0 -0
- /package/dist/{chunk-OETHJBAL.js.map → chunk-XV6PUXJ5.js.map} +0 -0
- /package/dist/{chunk-UCLMKNHA.js.map → chunk-YIMV2KYM.js.map} +0 -0
- /package/dist/{chunk-DYZR3Z6D.js.map → chunk-YMQKPSB2.js.map} +0 -0
- /package/dist/{chunk-AYVCKGA6.js.map → chunk-YTXNDEUS.js.map} +0 -0
- /package/dist/{first-start-migration-4NETATFF.js.map → first-start-migration-Q2VB2E2D.js.map} +0 -0
|
@@ -9,6 +9,10 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
importCapsule
|
|
11
11
|
} from "./chunk-PMVPCZJZ.js";
|
|
12
|
+
import {
|
|
13
|
+
buildCodingGraphInstallHint,
|
|
14
|
+
tryLoadCodingGraphModule
|
|
15
|
+
} from "./chunk-VQ7B2Q6M.js";
|
|
12
16
|
import {
|
|
13
17
|
WriteQuarantineStore
|
|
14
18
|
} from "./chunk-PJSK6OJM.js";
|
|
@@ -41,7 +45,7 @@ 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";
|
|
@@ -99,11 +103,11 @@ import {
|
|
|
99
103
|
listMemoryGovernanceRuns,
|
|
100
104
|
readMemoryGovernanceRunArtifact,
|
|
101
105
|
runMemoryGovernance
|
|
102
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-3TDAA7VA.js";
|
|
103
107
|
import {
|
|
104
108
|
CorpusWatermarkCache,
|
|
105
109
|
computeServiceCorpusCensus
|
|
106
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-MYI3RKI6.js";
|
|
107
111
|
import {
|
|
108
112
|
CrossNamespaceBudget,
|
|
109
113
|
toBudgetWarning
|
|
@@ -127,17 +131,17 @@ import {
|
|
|
127
131
|
enqueuePassiveCorrectionNotification,
|
|
128
132
|
parseBriefingFocus,
|
|
129
133
|
parseBriefingWindow
|
|
130
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-YTXNDEUS.js";
|
|
131
135
|
import {
|
|
132
136
|
parseEntityFile,
|
|
133
137
|
parseFrontmatter,
|
|
134
138
|
qmdCollectionPathParts,
|
|
135
139
|
qmdResultPathCandidates,
|
|
136
140
|
selfDeps
|
|
137
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-Q5XKKDFQ.js";
|
|
138
142
|
import {
|
|
139
143
|
namespaceCollectionName
|
|
140
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-AJRJDXYR.js";
|
|
141
145
|
import {
|
|
142
146
|
DEFAULT_RECALL_DISCLOSURE,
|
|
143
147
|
isRecallDisclosure
|
|
@@ -170,6 +174,9 @@ import {
|
|
|
170
174
|
import {
|
|
171
175
|
extractJsonCandidates
|
|
172
176
|
} from "./chunk-RGMVMVMF.js";
|
|
177
|
+
import {
|
|
178
|
+
isCodingKnowledgeFeatureEnabled
|
|
179
|
+
} from "./chunk-FEHIOYML.js";
|
|
173
180
|
import {
|
|
174
181
|
ExtractionLivenessWarnThrottle,
|
|
175
182
|
computeExtractionLivenessStatus
|
|
@@ -179,7 +186,7 @@ import {
|
|
|
179
186
|
} from "./chunk-JV3C2MNQ.js";
|
|
180
187
|
import {
|
|
181
188
|
exportCapsule
|
|
182
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-KQAFEZQX.js";
|
|
183
190
|
import {
|
|
184
191
|
evaluateActionConfidence
|
|
185
192
|
} from "./chunk-Z2YFLXHU.js";
|
|
@@ -208,7 +215,7 @@ import {
|
|
|
208
215
|
} from "./chunk-LNEWDF2A.js";
|
|
209
216
|
import {
|
|
210
217
|
createOfflineSyncManifestStream
|
|
211
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-XNJQZLAP.js";
|
|
212
219
|
import {
|
|
213
220
|
offlineSyncStorageForSnapshot
|
|
214
221
|
} from "./chunk-HZNYJN77.js";
|
|
@@ -286,7 +293,7 @@ import {
|
|
|
286
293
|
iterateOfflineSyncSnapshotFileRecords,
|
|
287
294
|
normalizeOfflineSyncChangeset,
|
|
288
295
|
readOfflineSyncFileContentChunk
|
|
289
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-2L7DKNVE.js";
|
|
290
297
|
import {
|
|
291
298
|
validateArchiveRelativePath
|
|
292
299
|
} from "./chunk-GCGJW34D.js";
|
|
@@ -775,14 +782,11 @@ function clampSummaryToBytes(text, maxBytes) {
|
|
|
775
782
|
}
|
|
776
783
|
|
|
777
784
|
// 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
785
|
var ARCHITECTURE_CARD_TAG = "architecture-card";
|
|
782
786
|
var ARCHITECTURE_CARD_KIND = "architecture";
|
|
783
787
|
async function handleCodingArchitecture(request, ctx) {
|
|
784
788
|
const codingContext = request.sessionKey ? ctx.getCodingContext(request.sessionKey) : null;
|
|
785
|
-
if (codingContext === null || !
|
|
789
|
+
if (codingContext === null || !isCodingKnowledgeFeatureEnabled(ctx.codingKnowledge, "architectureCard", codingContext)) {
|
|
786
790
|
ctx.throwInputError(
|
|
787
791
|
"coding_architecture requires codingKnowledge.enabled, codingKnowledge.architectureCard, and an attached coding context"
|
|
788
792
|
);
|
|
@@ -958,7 +962,6 @@ import { readFile as readFile2, realpath } from "fs/promises";
|
|
|
958
962
|
import { readFileSync, realpathSync } from "fs";
|
|
959
963
|
import { pathToFileURL } from "url";
|
|
960
964
|
import { createHash } from "crypto";
|
|
961
|
-
var CODEGRAPH_SPECIFIER = "@remnic/coding-graph";
|
|
962
965
|
function codegraphSurfaceVisible(config) {
|
|
963
966
|
const ck = config.codingKnowledge;
|
|
964
967
|
if (ck === void 0 || ck === null) return false;
|
|
@@ -989,30 +992,19 @@ function sanitizePathSegment(input) {
|
|
|
989
992
|
return sanitized.replace(/^\.+/, "").replace(/[/\\]+/g, "_") || "_";
|
|
990
993
|
}
|
|
991
994
|
var storeCache = /* @__PURE__ */ new Map();
|
|
992
|
-
var cachedModule;
|
|
993
|
-
var moduleLoadPromise = null;
|
|
994
995
|
function storeCacheKey(principalSafe, projectSafe, dbPath) {
|
|
995
996
|
return `${principalSafe}::${projectSafe}::${dbPath}`;
|
|
996
997
|
}
|
|
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;
|
|
998
|
+
function isCodegraphModule(value) {
|
|
999
|
+
if (!value || typeof value !== "object") return false;
|
|
1000
|
+
const candidate = value;
|
|
1001
|
+
const graphStore = candidate.GraphStore;
|
|
1002
|
+
return graphStore !== void 0 && typeof graphStore.open === "function";
|
|
1003
|
+
}
|
|
1004
|
+
async function resolveCodegraphModule() {
|
|
1005
|
+
const mod = await tryLoadCodingGraphModule();
|
|
1006
|
+
if (mod === null || !isCodegraphModule(mod)) return null;
|
|
1007
|
+
return mod;
|
|
1016
1008
|
}
|
|
1017
1009
|
async function getCodegraphStore(params) {
|
|
1018
1010
|
const { config, memoryDir, principal, projectId, repoRoot } = params;
|
|
@@ -1022,12 +1014,9 @@ async function getCodegraphStore(params) {
|
|
|
1022
1014
|
"codegraph tools are disabled (codingKnowledge.enabled or codingKnowledge.codegraphTools is false)"
|
|
1023
1015
|
);
|
|
1024
1016
|
}
|
|
1025
|
-
const mod = await
|
|
1017
|
+
const mod = await resolveCodegraphModule();
|
|
1026
1018
|
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
|
-
);
|
|
1019
|
+
throw new CodegraphRuntimeError("package_missing", buildCodingGraphInstallHint());
|
|
1031
1020
|
}
|
|
1032
1021
|
const principalSafe = sanitizePathSegment(principal);
|
|
1033
1022
|
const projectSafe = sanitizePathSegment(projectId);
|
|
@@ -1129,7 +1118,7 @@ function makeCodegraphRuntimeDelegates() {
|
|
|
1129
1118
|
};
|
|
1130
1119
|
}
|
|
1131
1120
|
async function runCodegraphReindex(params) {
|
|
1132
|
-
const mod = await
|
|
1121
|
+
const mod = await resolveCodegraphModule();
|
|
1133
1122
|
if (mod === null) {
|
|
1134
1123
|
return { ok: false, code: "package_missing", message: "The @remnic/coding-graph package is not installed." };
|
|
1135
1124
|
}
|
|
@@ -1204,7 +1193,7 @@ var DEFAULT_LSP_SERVERS = {
|
|
|
1204
1193
|
rust: { command: "rust-analyzer", args: [] }
|
|
1205
1194
|
};
|
|
1206
1195
|
async function runCodegraphLspResolution(params) {
|
|
1207
|
-
const mod = await
|
|
1196
|
+
const mod = await resolveCodegraphModule();
|
|
1208
1197
|
if (mod === null) {
|
|
1209
1198
|
return { ok: false, code: "package_missing", message: "@remnic/coding-graph is not installed." };
|
|
1210
1199
|
}
|
|
@@ -1487,7 +1476,7 @@ async function runCodegraphLspResolution(params) {
|
|
|
1487
1476
|
};
|
|
1488
1477
|
}
|
|
1489
1478
|
async function reportCodegraphIndexStatus(params) {
|
|
1490
|
-
const mod = await
|
|
1479
|
+
const mod = await resolveCodegraphModule();
|
|
1491
1480
|
if (mod === null) {
|
|
1492
1481
|
return { ok: false, code: "package_missing", message: "The @remnic/coding-graph package is not installed." };
|
|
1493
1482
|
}
|
|
@@ -1504,7 +1493,7 @@ async function reportCodegraphIndexStatus(params) {
|
|
|
1504
1493
|
}
|
|
1505
1494
|
}
|
|
1506
1495
|
async function detectCodegraphChanges(params) {
|
|
1507
|
-
const mod = await
|
|
1496
|
+
const mod = await resolveCodegraphModule();
|
|
1508
1497
|
if (mod === null) {
|
|
1509
1498
|
return { ok: false, code: "package_missing", message: "The @remnic/coding-graph package is not installed." };
|
|
1510
1499
|
}
|
|
@@ -1833,12 +1822,9 @@ var DECISION_SUBCOMMANDS = [
|
|
|
1833
1822
|
"record",
|
|
1834
1823
|
"supersede"
|
|
1835
1824
|
];
|
|
1836
|
-
function isDecisionRecordSurfaceEnabled(config, codingContext) {
|
|
1837
|
-
return config.enabled === true && config.decisionRecords === true && codingContext != null;
|
|
1838
|
-
}
|
|
1839
1825
|
async function handleCodingDecision(request, ctx) {
|
|
1840
1826
|
const codingContext = request.sessionKey ? ctx.getCodingContext(request.sessionKey) : null;
|
|
1841
|
-
if (!
|
|
1827
|
+
if (!isCodingKnowledgeFeatureEnabled(ctx.codingKnowledge, "decisionRecords", codingContext)) {
|
|
1842
1828
|
ctx.throwInputError(
|
|
1843
1829
|
"coding_decision requires codingKnowledge.enabled, codingKnowledge.decisionRecords, and an attached coding context"
|
|
1844
1830
|
);
|
|
@@ -2363,7 +2349,7 @@ async function handleManageAdr(request, ctx) {
|
|
|
2363
2349
|
);
|
|
2364
2350
|
}
|
|
2365
2351
|
const codingContext = resolveCodingContext(request, ctx);
|
|
2366
|
-
if (!
|
|
2352
|
+
if (!isCodingKnowledgeFeatureEnabled(ctx.config.codingKnowledge, "decisionRecords", codingContext)) {
|
|
2367
2353
|
return disabledResponse(
|
|
2368
2354
|
request.tool,
|
|
2369
2355
|
"manage_adr requires codingKnowledge.enabled + decisionRecords + an attached coding context"
|
|
@@ -2607,12 +2593,9 @@ function parseLogOutput(stdout, sep2) {
|
|
|
2607
2593
|
|
|
2608
2594
|
// src/coding/session-delta-surfaces.ts
|
|
2609
2595
|
var DELTA_SUBCOMMANDS = ["get"];
|
|
2610
|
-
function isSessionDeltaSurfaceEnabled(config, codingContext) {
|
|
2611
|
-
return config.enabled === true && config.sessionDelta === true && codingContext !== null && codingContext !== void 0;
|
|
2612
|
-
}
|
|
2613
2596
|
async function handleCodingDelta(request, ctx) {
|
|
2614
2597
|
const codingContext = request.sessionKey ? ctx.getCodingContext(request.sessionKey) : null;
|
|
2615
|
-
if (codingContext === null || !
|
|
2598
|
+
if (codingContext === null || !isCodingKnowledgeFeatureEnabled(ctx.codingKnowledge, "sessionDelta", codingContext)) {
|
|
2616
2599
|
ctx.throwInputError(
|
|
2617
2600
|
"coding_delta requires codingKnowledge.enabled, codingKnowledge.sessionDelta, and an attached coding context"
|
|
2618
2601
|
);
|
|
@@ -17685,4 +17668,4 @@ export {
|
|
|
17685
17668
|
EngramAccessService,
|
|
17686
17669
|
AccessAdminOpsSurface
|
|
17687
17670
|
};
|
|
17688
|
-
//# sourceMappingURL=chunk-
|
|
17671
|
+
//# sourceMappingURL=chunk-WKJTMXME.js.map
|