@remnic/core 9.3.693 → 9.3.695

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.
Files changed (358) hide show
  1. package/dist/access-boundary.d.ts +13 -12
  2. package/dist/access-boundary.js +36 -28
  3. package/dist/access-cli.js +62 -59
  4. package/dist/access-cli.js.map +1 -1
  5. package/dist/access-http.d.ts +12 -11
  6. package/dist/access-http.js +40 -32
  7. package/dist/access-mcp.d.ts +19 -11
  8. package/dist/access-mcp.js +39 -31
  9. package/dist/access-operations.d.ts +56 -13
  10. package/dist/access-operations.js +66 -30
  11. package/dist/access-schema.js +3 -3
  12. package/dist/{access-service-DxCpgyVW.d.ts → access-service-BqBQeUJd.d.ts} +99 -3
  13. package/dist/access-service.d.ts +8 -7
  14. package/dist/access-service.js +35 -27
  15. package/dist/access-surface-catalog.d.ts +12 -11
  16. package/dist/access-surface-catalog.js +15 -0
  17. package/dist/access-surface-catalog.js.map +1 -1
  18. package/dist/action-confidence.d.ts +1 -1
  19. package/dist/active-memory-bridge.d.ts +1 -1
  20. package/dist/active-recall.d.ts +1 -1
  21. package/dist/active-recall.js +1 -1
  22. package/dist/{auto-sync-RWXT6P5M.js → auto-sync-PFW2NJZY.js} +8 -8
  23. package/dist/behavior-learner.d.ts +1 -1
  24. package/dist/behavior-signals.d.ts +1 -1
  25. package/dist/bootstrap.d.ts +9 -8
  26. package/dist/briefing.d.ts +1 -1
  27. package/dist/briefing.js +12 -5
  28. package/dist/buffer-surprise-report.d.ts +1 -1
  29. package/dist/buffer.d.ts +1 -1
  30. package/dist/calibration.d.ts +1 -1
  31. package/dist/calibration.js +2 -2
  32. package/dist/capabilities.d.ts +1 -1
  33. package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
  34. package/dist/{catalog-BEWLjdOr.d.ts → catalog-D7YDNNF7.d.ts} +1 -1
  35. package/dist/causal-behavior.d.ts +1 -1
  36. package/dist/causal-behavior.js +2 -2
  37. package/dist/causal-chain.js +2 -2
  38. package/dist/causal-consolidation.d.ts +1 -1
  39. package/dist/causal-consolidation.js +17 -16
  40. package/dist/causal-consolidation.js.map +1 -1
  41. package/dist/causal-retrieval.js +2 -2
  42. package/dist/causal-trajectory-graph.js +2 -2
  43. package/dist/causal-trajectory.js +1 -1
  44. package/dist/{chunk-UPTZYUYJ.js → chunk-24D66MMN.js} +2 -1
  45. package/dist/chunk-24D66MMN.js.map +1 -0
  46. package/dist/{chunk-THKNO6OX.js → chunk-32XTY2DQ.js} +52 -51
  47. package/dist/chunk-32XTY2DQ.js.map +1 -0
  48. package/dist/{chunk-YN4ZT4CW.js → chunk-3LYJIA76.js} +1 -1
  49. package/dist/{chunk-ADUAF5EV.js → chunk-3P2XEQSV.js} +2 -2
  50. package/dist/{chunk-KYH53EFD.js → chunk-4NNDJOAO.js} +8 -8
  51. package/dist/{chunk-QFG23CRE.js → chunk-52QIAN76.js} +2 -2
  52. package/dist/chunk-5AT62NQH.js +553 -0
  53. package/dist/chunk-5AT62NQH.js.map +1 -0
  54. package/dist/{chunk-TAPSNIMA.js → chunk-5CEJH5ZN.js} +4 -4
  55. package/dist/{chunk-4RGWCRIJ.js → chunk-5TYA4OCF.js} +4 -4
  56. package/dist/{chunk-FM7KLRKN.js → chunk-6GAUF4OU.js} +3 -3
  57. package/dist/{chunk-6C2BMUZA.js → chunk-AF6DSAWD.js} +2 -2
  58. package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
  59. package/dist/{chunk-32KD5IHZ.js → chunk-CLXTDOKV.js} +2 -2
  60. package/dist/{chunk-ARV3AUOM.js → chunk-DL6H3D7S.js} +2 -2
  61. package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
  62. package/dist/{chunk-3BRA3N5A.js → chunk-EC3A6M43.js} +2 -2
  63. package/dist/{chunk-UTUYAPLY.js → chunk-EK6FYL2E.js} +38 -3
  64. package/dist/chunk-EK6FYL2E.js.map +1 -0
  65. package/dist/{chunk-ZLXGFAML.js → chunk-FZMH66NT.js} +2 -2
  66. package/dist/{chunk-HXNMDPHN.js → chunk-G663XUEG.js} +2 -2
  67. package/dist/{chunk-TYEOAFH3.js → chunk-G6SVZWPB.js} +10 -1
  68. package/dist/chunk-G6SVZWPB.js.map +1 -0
  69. package/dist/chunk-HKET3ZOI.js +381 -0
  70. package/dist/chunk-HKET3ZOI.js.map +1 -0
  71. package/dist/{chunk-YOI3ELXF.js → chunk-IF362TF6.js} +2 -2
  72. package/dist/{chunk-WIKNVFBS.js → chunk-J45OCIVH.js} +2 -2
  73. package/dist/{chunk-UDJLF3BO.js → chunk-JI6HWBYL.js} +2 -2
  74. package/dist/{chunk-ECZPWSB5.js → chunk-JJT3AGL4.js} +4 -4
  75. package/dist/{chunk-RHWFMBO5.js → chunk-JMAKCWJ3.js} +96 -7
  76. package/dist/chunk-JMAKCWJ3.js.map +1 -0
  77. package/dist/{chunk-4NFVPDIL.js → chunk-LM6JB2EG.js} +2 -2
  78. package/dist/{chunk-AFWEUTMS.js → chunk-LPIWEKZ3.js} +2 -2
  79. package/dist/{chunk-LD53WPMU.js → chunk-LQ6JI4VH.js} +4 -4
  80. package/dist/{chunk-U2OBZSGG.js → chunk-MNFAGE5D.js} +2 -2
  81. package/dist/{chunk-VFVG4NS2.js → chunk-MOBRVKWE.js} +23 -12
  82. package/dist/chunk-MOBRVKWE.js.map +1 -0
  83. package/dist/{chunk-MQTPUPLP.js → chunk-N4PD5IY3.js} +834 -51
  84. package/dist/chunk-N4PD5IY3.js.map +1 -0
  85. package/dist/{chunk-5HGPDRQZ.js → chunk-NFMDHE45.js} +2 -2
  86. package/dist/chunk-NFMDHE45.js.map +1 -0
  87. package/dist/{chunk-MCV2DD6F.js → chunk-NLZO5NO6.js} +2 -2
  88. package/dist/{chunk-3VVH6ZQW.js → chunk-Q6ZHGGNJ.js} +2 -2
  89. package/dist/{chunk-4IQNAOP3.js → chunk-Q7SFJURX.js} +2 -2
  90. package/dist/{chunk-MXZWKOOR.js → chunk-QJM2XAJD.js} +11 -11
  91. package/dist/{chunk-6ZNIUGXB.js → chunk-QQW2LIEA.js} +4 -4
  92. package/dist/{chunk-GCOSQBQ2.js → chunk-QVTSLRKT.js} +3 -3
  93. package/dist/{chunk-F7BVJ3IE.js → chunk-RWST6NOL.js} +166 -102
  94. package/dist/chunk-RWST6NOL.js.map +1 -0
  95. package/dist/{chunk-NUZ3N445.js → chunk-SPVIG2R3.js} +10 -10
  96. package/dist/{chunk-2D27ODNX.js → chunk-TIVZ4MCG.js} +2 -2
  97. package/dist/{chunk-5KBNNUXS.js → chunk-TT7BJWGI.js} +2 -2
  98. package/dist/{chunk-KQAFEZQX.js → chunk-VDX2J7OX.js} +2 -2
  99. package/dist/{chunk-E6BOD3UJ.js → chunk-VPAFWWCL.js} +2 -2
  100. package/dist/chunk-VQ7B2Q6M.js +112 -0
  101. package/dist/chunk-VQ7B2Q6M.js.map +1 -0
  102. package/dist/{chunk-UOCLRM74.js → chunk-W54EAJT4.js} +2 -2
  103. package/dist/{chunk-QVG4LAQO.js → chunk-WR6KFJKA.js} +7 -7
  104. package/dist/{chunk-YQGHW5ML.js → chunk-WRFKZEO6.js} +4 -4
  105. package/dist/{chunk-WYB44HHV.js → chunk-XUNQLJT2.js} +20 -8
  106. package/dist/chunk-XUNQLJT2.js.map +1 -0
  107. package/dist/{chunk-66HROLW5.js → chunk-XWT4JXXA.js} +2 -2
  108. package/dist/{chunk-SAC5V6JT.js → chunk-XXA6T3O4.js} +2 -2
  109. package/dist/{chunk-KF74X62T.js → chunk-YGKUAX2B.js} +4 -4
  110. package/dist/{chunk-W4ELOUNX.js → chunk-YOZNTNNA.js} +2 -2
  111. package/dist/{chunk-DQHZA7Y3.js → chunk-ZXUOAFUG.js} +1 -1
  112. package/dist/chunk-ZXUOAFUG.js.map +1 -0
  113. package/dist/{cli-DoQsv4ut.d.ts → cli-DBDgdvh9.d.ts} +3 -3
  114. package/dist/cli.d.ts +11 -10
  115. package/dist/cli.js +58 -50
  116. package/dist/coding/optional-coding-graph.js +7 -104
  117. package/dist/coding/optional-coding-graph.js.map +1 -1
  118. package/dist/compounding/engine.d.ts +1 -1
  119. package/dist/compounding/engine.js +12 -5
  120. package/dist/compounding/preference-consolidator.d.ts +1 -1
  121. package/dist/compression-optimizer.d.ts +1 -1
  122. package/dist/config.d.ts +1 -1
  123. package/dist/config.js +1 -1
  124. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  125. package/dist/connectors/codex-materialize-runner.js +12 -5
  126. package/dist/connectors/codex-materialize.d.ts +1 -1
  127. package/dist/connectors/index.d.ts +1 -1
  128. package/dist/connectors/index.js +12 -5
  129. package/dist/consolidation-provenance-check.d.ts +3 -3
  130. package/dist/consolidation-undo.d.ts +2 -2
  131. package/dist/contradiction/index.d.ts +1 -1
  132. package/dist/conversation-index/backend.d.ts +1 -1
  133. package/dist/conversation-index/chunker.d.ts +1 -1
  134. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  135. package/dist/conversation-index/indexer.d.ts +1 -1
  136. package/dist/conversation-index/search.d.ts +1 -1
  137. package/dist/day-summary.d.ts +1 -1
  138. package/dist/delinearize.d.ts +1 -1
  139. package/dist/direct-answer-wiring.d.ts +1 -1
  140. package/dist/direct-answer.d.ts +1 -1
  141. package/dist/embedding-fallback.d.ts +1 -1
  142. package/dist/enrichment/index.d.ts +1 -1
  143. package/dist/entity-retrieval.d.ts +1 -1
  144. package/dist/entity-retrieval.js +13 -5
  145. package/dist/entity-schema.d.ts +1 -1
  146. package/dist/explicit-capture.d.ts +9 -8
  147. package/dist/extraction-faithfulness.d.ts +211 -0
  148. package/dist/extraction-faithfulness.js +35 -0
  149. package/dist/extraction-judge-telemetry.d.ts +1 -1
  150. package/dist/extraction-judge-training.d.ts +1 -1
  151. package/dist/extraction-judge.d.ts +1 -1
  152. package/dist/extraction-judge.js +4 -4
  153. package/dist/extraction.d.ts +1 -1
  154. package/dist/extraction.js +7 -7
  155. package/dist/fallback-llm.d.ts +1 -1
  156. package/dist/fallback-llm.js +2 -2
  157. package/dist/{graph-edge-decay-D7OESCBR.js → graph-edge-decay-JLOF3YW4.js} +3 -3
  158. package/dist/graph-snapshot.js +3 -3
  159. package/dist/graph.js +2 -2
  160. package/dist/identity-continuity.d.ts +1 -1
  161. package/dist/importance.d.ts +1 -1
  162. package/dist/index.d.ts +12 -11
  163. package/dist/index.js +101 -99
  164. package/dist/index.js.map +1 -1
  165. package/dist/intent.d.ts +1 -1
  166. package/dist/lcm/engine.d.ts +1 -1
  167. package/dist/lcm/index.d.ts +1 -1
  168. package/dist/lcm/index.js +3 -3
  169. package/dist/lcm/tools.d.ts +1 -1
  170. package/dist/lifecycle.d.ts +1 -1
  171. package/dist/live-connectors-runner.d.ts +1 -1
  172. package/dist/local-llm.d.ts +1 -1
  173. package/dist/local-llm.js +1 -1
  174. package/dist/maintenance/memory-governance.d.ts +1 -1
  175. package/dist/maintenance/memory-governance.js +13 -5
  176. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +13 -5
  177. package/dist/maintenance/rebuild-memory-projection.js +14 -6
  178. package/dist/mcp-memory-inspector-app.d.ts +12 -11
  179. package/dist/memory-action-policy.d.ts +1 -1
  180. package/dist/memory-cache.d.ts +1 -1
  181. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  182. package/dist/memory-projection-store.d.ts +1 -1
  183. package/dist/memory-provenance.d.ts +1 -1
  184. package/dist/memory-worth-outcomes.d.ts +1 -1
  185. package/dist/models-json.d.ts +1 -1
  186. package/dist/namespaces/migrate.d.ts +2 -2
  187. package/dist/namespaces/migrate.js +20 -12
  188. package/dist/namespaces/principal.d.ts +1 -1
  189. package/dist/namespaces/search.d.ts +1 -1
  190. package/dist/namespaces/search.js +6 -6
  191. package/dist/namespaces/storage.d.ts +2 -2
  192. package/dist/namespaces/storage.js +13 -5
  193. package/dist/native-knowledge.d.ts +1 -1
  194. package/dist/operator-toolkit.d.ts +1 -1
  195. package/dist/operator-toolkit.js +26 -19
  196. package/dist/orchestration/maintenance.d.ts +2 -2
  197. package/dist/orchestration/maintenance.js +15 -7
  198. package/dist/{orchestrator-CNJCYjZ1.d.ts → orchestrator-Dv8JQu3-.d.ts} +20 -3
  199. package/dist/orchestrator.d.ts +6 -5
  200. package/dist/orchestrator.js +47 -46
  201. package/dist/patterns-cli.d.ts +1 -1
  202. package/dist/policy-runtime.d.ts +1 -1
  203. package/dist/provenance.d.ts +1 -1
  204. package/dist/qmd-recall-cache.d.ts +1 -1
  205. package/dist/qmd.d.ts +1 -1
  206. package/dist/recall-disclosure-escalation.d.ts +1 -1
  207. package/dist/recall-explain-renderer.d.ts +1 -1
  208. package/dist/recall-explain-renderer.js +3 -3
  209. package/dist/recall-planner-llm.d.ts +1 -1
  210. package/dist/recall-planner-llm.js +2 -2
  211. package/dist/recall-state.d.ts +1 -1
  212. package/dist/recall-tag-filter.d.ts +1 -1
  213. package/dist/recall-xray-cli.d.ts +1 -1
  214. package/dist/recall-xray-cli.js +4 -4
  215. package/dist/recall-xray-renderer.d.ts +1 -1
  216. package/dist/recall-xray-renderer.js +3 -3
  217. package/dist/recall-xray.d.ts +1 -1
  218. package/dist/recall-xray.js +2 -2
  219. package/dist/resolve-auth-token.d.ts +1 -1
  220. package/dist/resume-bundles.js +2 -2
  221. package/dist/retrieval-agents.d.ts +1 -1
  222. package/dist/retrieval-tiers.d.ts +1 -1
  223. package/dist/routing/engine.d.ts +1 -1
  224. package/dist/routing/store.d.ts +1 -1
  225. package/dist/search/embed-helper.d.ts +1 -1
  226. package/dist/search/factory.d.ts +1 -1
  227. package/dist/search/factory.js +5 -5
  228. package/dist/search/index.d.ts +1 -1
  229. package/dist/search/index.js +5 -5
  230. package/dist/search/lancedb-backend.d.ts +1 -1
  231. package/dist/search/lancedb-backend.js +2 -2
  232. package/dist/search/meilisearch-backend.d.ts +1 -1
  233. package/dist/search/meilisearch-backend.js +2 -2
  234. package/dist/search/noop-backend.d.ts +1 -1
  235. package/dist/search/orama-backend.d.ts +1 -1
  236. package/dist/search/orama-backend.js +2 -2
  237. package/dist/search/port.d.ts +1 -1
  238. package/dist/search/remote-backend.d.ts +1 -1
  239. package/dist/{semantic-consolidation-D5U0Mrdb.d.ts → semantic-consolidation-CgREi9E0.d.ts} +1 -1
  240. package/dist/semantic-consolidation.d.ts +2 -2
  241. package/dist/semantic-consolidation.js +13 -6
  242. package/dist/semantic-rule-promotion.js +13 -5
  243. package/dist/semantic-rule-verifier.d.ts +1 -1
  244. package/dist/semantic-rule-verifier.js +13 -5
  245. package/dist/session-observer-bands.d.ts +1 -1
  246. package/dist/session-observer-state.d.ts +1 -1
  247. package/dist/shared-context/manager.d.ts +1 -1
  248. package/dist/signal.d.ts +1 -1
  249. package/dist/{state-NCHQ4TRG.js → state-ITXJKXRE.js} +2 -2
  250. package/dist/storage.d.ts +11 -1
  251. package/dist/storage.js +12 -4
  252. package/dist/summarizer.d.ts +1 -1
  253. package/dist/summarizer.js +6 -6
  254. package/dist/summary-snapshot.d.ts +1 -1
  255. package/dist/temporal-supersession.d.ts +1 -1
  256. package/dist/temporal-validity.d.ts +1 -1
  257. package/dist/threading.d.ts +1 -1
  258. package/dist/tier-migration.d.ts +1 -1
  259. package/dist/tier-routing.d.ts +1 -1
  260. package/dist/topics.d.ts +1 -1
  261. package/dist/{trace-WM7V4CKI.js → trace-ZFVRH4GO.js} +3 -3
  262. package/dist/transcript.d.ts +1 -1
  263. package/dist/transfer/backup.js +2 -2
  264. package/dist/transfer/capsule-export.js +2 -2
  265. package/dist/transfer/capsule-import.js +2 -2
  266. package/dist/{tui-RI7P6PBS.js → tui-55UJMJX7.js} +3 -3
  267. package/dist/tui-55UJMJX7.js.map +1 -0
  268. package/dist/{types-2NoBoRBM.d.ts → types-CeZYSC-E.d.ts} +51 -1
  269. package/dist/types.d.ts +1 -1
  270. package/dist/types.js +1 -1
  271. package/dist/utility-runtime.d.ts +1 -1
  272. package/dist/verified-recall.js +13 -5
  273. package/package.json +2 -2
  274. package/src/access-boundary.ts +17 -0
  275. package/src/access-http.ts +27 -3
  276. package/src/access-mcp.ts +99 -2
  277. package/src/access-operations.ts +259 -0
  278. package/src/access-service.ts +82 -0
  279. package/src/access-surface-catalog.test.ts +1 -1
  280. package/src/access-surface-catalog.ts +15 -0
  281. package/src/cli.ts +1 -0
  282. package/src/coding/architecture-surfaces.test.ts +2 -0
  283. package/src/coding/codegraph-runtime.ts +773 -0
  284. package/src/coding/codegraph-surfaces.test.ts +880 -0
  285. package/src/coding/codegraph-surfaces.ts +771 -0
  286. package/src/coding/coding-knowledge-config.ts +7 -0
  287. package/src/coding/decision-surfaces.test.ts +2 -0
  288. package/src/coding/session-delta-surfaces.test.ts +2 -0
  289. package/src/config.test.ts +18 -0
  290. package/src/config.ts +30 -0
  291. package/src/console/state.ts +32 -0
  292. package/src/extraction-faithfulness.test.ts +1112 -0
  293. package/src/extraction-faithfulness.ts +993 -0
  294. package/src/faithfulness-graph-guard.test.ts +252 -0
  295. package/src/local-llm.ts +1 -0
  296. package/src/orchestrator.ts +169 -45
  297. package/src/storage.ts +19 -0
  298. package/src/types.ts +61 -0
  299. package/dist/chunk-5HGPDRQZ.js.map +0 -1
  300. package/dist/chunk-DQHZA7Y3.js.map +0 -1
  301. package/dist/chunk-F7BVJ3IE.js.map +0 -1
  302. package/dist/chunk-JNKH2XWQ.js +0 -183
  303. package/dist/chunk-JNKH2XWQ.js.map +0 -1
  304. package/dist/chunk-MQTPUPLP.js.map +0 -1
  305. package/dist/chunk-RHWFMBO5.js.map +0 -1
  306. package/dist/chunk-THKNO6OX.js.map +0 -1
  307. package/dist/chunk-TYEOAFH3.js.map +0 -1
  308. package/dist/chunk-UPTZYUYJ.js.map +0 -1
  309. package/dist/chunk-UTUYAPLY.js.map +0 -1
  310. package/dist/chunk-VFVG4NS2.js.map +0 -1
  311. package/dist/chunk-WYB44HHV.js.map +0 -1
  312. /package/dist/{auto-sync-RWXT6P5M.js.map → auto-sync-PFW2NJZY.js.map} +0 -0
  313. /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
  314. /package/dist/{chunk-YN4ZT4CW.js.map → chunk-3LYJIA76.js.map} +0 -0
  315. /package/dist/{chunk-ADUAF5EV.js.map → chunk-3P2XEQSV.js.map} +0 -0
  316. /package/dist/{chunk-KYH53EFD.js.map → chunk-4NNDJOAO.js.map} +0 -0
  317. /package/dist/{chunk-QFG23CRE.js.map → chunk-52QIAN76.js.map} +0 -0
  318. /package/dist/{chunk-TAPSNIMA.js.map → chunk-5CEJH5ZN.js.map} +0 -0
  319. /package/dist/{chunk-4RGWCRIJ.js.map → chunk-5TYA4OCF.js.map} +0 -0
  320. /package/dist/{chunk-FM7KLRKN.js.map → chunk-6GAUF4OU.js.map} +0 -0
  321. /package/dist/{chunk-6C2BMUZA.js.map → chunk-AF6DSAWD.js.map} +0 -0
  322. /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
  323. /package/dist/{chunk-32KD5IHZ.js.map → chunk-CLXTDOKV.js.map} +0 -0
  324. /package/dist/{chunk-ARV3AUOM.js.map → chunk-DL6H3D7S.js.map} +0 -0
  325. /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
  326. /package/dist/{chunk-3BRA3N5A.js.map → chunk-EC3A6M43.js.map} +0 -0
  327. /package/dist/{chunk-ZLXGFAML.js.map → chunk-FZMH66NT.js.map} +0 -0
  328. /package/dist/{chunk-HXNMDPHN.js.map → chunk-G663XUEG.js.map} +0 -0
  329. /package/dist/{chunk-YOI3ELXF.js.map → chunk-IF362TF6.js.map} +0 -0
  330. /package/dist/{chunk-WIKNVFBS.js.map → chunk-J45OCIVH.js.map} +0 -0
  331. /package/dist/{chunk-UDJLF3BO.js.map → chunk-JI6HWBYL.js.map} +0 -0
  332. /package/dist/{chunk-ECZPWSB5.js.map → chunk-JJT3AGL4.js.map} +0 -0
  333. /package/dist/{chunk-4NFVPDIL.js.map → chunk-LM6JB2EG.js.map} +0 -0
  334. /package/dist/{chunk-AFWEUTMS.js.map → chunk-LPIWEKZ3.js.map} +0 -0
  335. /package/dist/{chunk-LD53WPMU.js.map → chunk-LQ6JI4VH.js.map} +0 -0
  336. /package/dist/{chunk-U2OBZSGG.js.map → chunk-MNFAGE5D.js.map} +0 -0
  337. /package/dist/{chunk-MCV2DD6F.js.map → chunk-NLZO5NO6.js.map} +0 -0
  338. /package/dist/{chunk-3VVH6ZQW.js.map → chunk-Q6ZHGGNJ.js.map} +0 -0
  339. /package/dist/{chunk-4IQNAOP3.js.map → chunk-Q7SFJURX.js.map} +0 -0
  340. /package/dist/{chunk-MXZWKOOR.js.map → chunk-QJM2XAJD.js.map} +0 -0
  341. /package/dist/{chunk-6ZNIUGXB.js.map → chunk-QQW2LIEA.js.map} +0 -0
  342. /package/dist/{chunk-GCOSQBQ2.js.map → chunk-QVTSLRKT.js.map} +0 -0
  343. /package/dist/{chunk-NUZ3N445.js.map → chunk-SPVIG2R3.js.map} +0 -0
  344. /package/dist/{chunk-2D27ODNX.js.map → chunk-TIVZ4MCG.js.map} +0 -0
  345. /package/dist/{chunk-5KBNNUXS.js.map → chunk-TT7BJWGI.js.map} +0 -0
  346. /package/dist/{chunk-KQAFEZQX.js.map → chunk-VDX2J7OX.js.map} +0 -0
  347. /package/dist/{chunk-E6BOD3UJ.js.map → chunk-VPAFWWCL.js.map} +0 -0
  348. /package/dist/{chunk-UOCLRM74.js.map → chunk-W54EAJT4.js.map} +0 -0
  349. /package/dist/{chunk-QVG4LAQO.js.map → chunk-WR6KFJKA.js.map} +0 -0
  350. /package/dist/{chunk-YQGHW5ML.js.map → chunk-WRFKZEO6.js.map} +0 -0
  351. /package/dist/{chunk-66HROLW5.js.map → chunk-XWT4JXXA.js.map} +0 -0
  352. /package/dist/{chunk-SAC5V6JT.js.map → chunk-XXA6T3O4.js.map} +0 -0
  353. /package/dist/{chunk-KF74X62T.js.map → chunk-YGKUAX2B.js.map} +0 -0
  354. /package/dist/{chunk-W4ELOUNX.js.map → chunk-YOZNTNNA.js.map} +0 -0
  355. /package/dist/{state-NCHQ4TRG.js.map → extraction-faithfulness.js.map} +0 -0
  356. /package/dist/{graph-edge-decay-D7OESCBR.js.map → graph-edge-decay-JLOF3YW4.js.map} +0 -0
  357. /package/dist/{tui-RI7P6PBS.js.map → state-ITXJKXRE.js.map} +0 -0
  358. /package/dist/{trace-WM7V4CKI.js.map → trace-ZFVRH4GO.js.map} +0 -0
@@ -29,6 +29,11 @@ import {
29
29
  type ArchitectureSurfaceRequest,
30
30
  type ArchitectureSurfaceResponse,
31
31
  } from "./coding/architecture-surfaces.js";
32
+ import {
33
+ type CodegraphSurfaceRequest,
34
+ type CodegraphSurfaceResponse,
35
+ isCodegraphToolName,
36
+ } from "./coding/codegraph-surfaces.js";
32
37
  import {
33
38
  DELTA_SUBCOMMANDS,
34
39
  type DeltaSurfaceRequest,
@@ -255,6 +260,50 @@ export const codingArchitectureOperation = defineOperation<
255
260
  },
256
261
  });
257
262
 
263
+ const codegraphSurfaceSchema = z.preprocess(
264
+ (data) => {
265
+ if (data !== null && typeof data === "object" && !Array.isArray(data)) {
266
+ const obj = data as Record<string, unknown>;
267
+ const cleaned: Record<string, unknown> = {};
268
+ for (const [key, value] of Object.entries(obj)) {
269
+ if (value !== null) cleaned[key] = value;
270
+ }
271
+ return cleaned;
272
+ }
273
+ return data;
274
+ },
275
+ z.object({
276
+ tool: z.string().refine(isCodegraphToolName, {
277
+ message: "tool must be one of the codegraph tool names",
278
+ }),
279
+ sessionKey: z.string().max(512).optional(),
280
+ principal: z.string().max(256).optional(),
281
+ project: z.string().max(256).optional(),
282
+ query: z.string().max(2048).optional(),
283
+ limit: z.number().int().positive().max(200).optional(),
284
+ start: z.string().max(512).optional(),
285
+ direction: z.string().max(64).optional(),
286
+ depth: z.number().int().positive().max(10).optional(),
287
+ qualifiedName: z.string().max(1024).optional(),
288
+ path: z.string().max(2048).optional(),
289
+ structuredQuery: z.record(z.string(), z.unknown()).optional(),
290
+ head: z.string().max(256).optional(),
291
+ repoRoot: z.string().max(2048).optional(),
292
+ mode: z.string().max(64).optional(),
293
+ confirm: z.boolean().optional(),
294
+ subcommand: z.string().max(64).optional(),
295
+ id: z.string().max(512).optional(),
296
+ title: z.string().max(512).optional(),
297
+ status: z.string().max(64).optional(),
298
+ context: z.string().max(8192).optional(),
299
+ decision: z.string().max(8192).optional(),
300
+ consequences: z.string().max(8192).optional(),
301
+ entityRefs: z.array(z.string().max(256)).optional(),
302
+ supersedesId: z.string().max(512).optional(),
303
+ traces: z.array(z.unknown()).optional(),
304
+ }),
305
+ ) as z.ZodType<CodegraphSurfaceRequest>;
306
+
258
307
  // ---------------------------------------------------------------------------
259
308
  // coding_delta — session-delta surface (issue #1548 Track A PR 4)
260
309
  // ---------------------------------------------------------------------------
@@ -304,11 +353,221 @@ export const codingDeltaOperation = defineOperation<
304
353
  * the boundary owns today. The fitness test treats this set as the migrated
305
354
  * set; everything else on a surface is unmigrated and counted by the ratchet.
306
355
  */
356
+ export const codegraphIndexOperation = defineOperation<
357
+ CodegraphSurfaceRequest,
358
+ { result: CodegraphSurfaceResponse }
359
+ >({
360
+ name: "codegraph_index",
361
+ description:
362
+ "Codegraph parity tool (issue #1554): index. Delegates to the shared codegraph surface handler.",
363
+ schema: codegraphSurfaceSchema,
364
+ handler: async (input, ctx) => {
365
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
366
+ return { result };
367
+ },
368
+ });
369
+
370
+ export const codegraphListProjectsOperation = defineOperation<
371
+ CodegraphSurfaceRequest,
372
+ { result: CodegraphSurfaceResponse }
373
+ >({
374
+ name: "codegraph_list_projects",
375
+ description:
376
+ "Codegraph parity tool (issue #1554): list_projects. Delegates to the shared codegraph surface handler.",
377
+ schema: codegraphSurfaceSchema,
378
+ handler: async (input, ctx) => {
379
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
380
+ return { result };
381
+ },
382
+ });
383
+
384
+ export const codegraphDeleteProjectOperation = defineOperation<
385
+ CodegraphSurfaceRequest,
386
+ { result: CodegraphSurfaceResponse }
387
+ >({
388
+ name: "codegraph_delete_project",
389
+ description:
390
+ "Codegraph parity tool (issue #1554): delete_project. Delegates to the shared codegraph surface handler.",
391
+ schema: codegraphSurfaceSchema,
392
+ handler: async (input, ctx) => {
393
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
394
+ return { result };
395
+ },
396
+ });
397
+
398
+ export const codegraphIndexStatusOperation = defineOperation<
399
+ CodegraphSurfaceRequest,
400
+ { result: CodegraphSurfaceResponse }
401
+ >({
402
+ name: "codegraph_index_status",
403
+ description:
404
+ "Codegraph parity tool (issue #1554): index_status. Delegates to the shared codegraph surface handler.",
405
+ schema: codegraphSurfaceSchema,
406
+ handler: async (input, ctx) => {
407
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
408
+ return { result };
409
+ },
410
+ });
411
+
412
+ export const codegraphSearchGraphOperation = defineOperation<
413
+ CodegraphSurfaceRequest,
414
+ { result: CodegraphSurfaceResponse }
415
+ >({
416
+ name: "codegraph_search_graph",
417
+ description:
418
+ "Codegraph parity tool (issue #1554): search_graph. Delegates to the shared codegraph surface handler.",
419
+ schema: codegraphSurfaceSchema,
420
+ handler: async (input, ctx) => {
421
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
422
+ return { result };
423
+ },
424
+ });
425
+
426
+ export const codegraphTracePathOperation = defineOperation<
427
+ CodegraphSurfaceRequest,
428
+ { result: CodegraphSurfaceResponse }
429
+ >({
430
+ name: "codegraph_trace_path",
431
+ description:
432
+ "Codegraph parity tool (issue #1554): trace_path. Delegates to the shared codegraph surface handler.",
433
+ schema: codegraphSurfaceSchema,
434
+ handler: async (input, ctx) => {
435
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
436
+ return { result };
437
+ },
438
+ });
439
+
440
+ export const codegraphDetectChangesOperation = defineOperation<
441
+ CodegraphSurfaceRequest,
442
+ { result: CodegraphSurfaceResponse }
443
+ >({
444
+ name: "codegraph_detect_changes",
445
+ description:
446
+ "Codegraph parity tool (issue #1554): detect_changes. Delegates to the shared codegraph surface handler.",
447
+ schema: codegraphSurfaceSchema,
448
+ handler: async (input, ctx) => {
449
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
450
+ return { result };
451
+ },
452
+ });
453
+
454
+ export const codegraphQueryGraphOperation = defineOperation<
455
+ CodegraphSurfaceRequest,
456
+ { result: CodegraphSurfaceResponse }
457
+ >({
458
+ name: "codegraph_query_graph",
459
+ description:
460
+ "Codegraph parity tool (issue #1554): query_graph. Delegates to the shared codegraph surface handler.",
461
+ schema: codegraphSurfaceSchema,
462
+ handler: async (input, ctx) => {
463
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
464
+ return { result };
465
+ },
466
+ });
467
+
468
+ export const codegraphGetSchemaOperation = defineOperation<
469
+ CodegraphSurfaceRequest,
470
+ { result: CodegraphSurfaceResponse }
471
+ >({
472
+ name: "codegraph_get_schema",
473
+ description:
474
+ "Codegraph parity tool (issue #1554): get_schema. Delegates to the shared codegraph surface handler.",
475
+ schema: codegraphSurfaceSchema,
476
+ handler: async (input, ctx) => {
477
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
478
+ return { result };
479
+ },
480
+ });
481
+
482
+ export const codegraphGetSnippetOperation = defineOperation<
483
+ CodegraphSurfaceRequest,
484
+ { result: CodegraphSurfaceResponse }
485
+ >({
486
+ name: "codegraph_get_snippet",
487
+ description:
488
+ "Codegraph parity tool (issue #1554): get_snippet. Delegates to the shared codegraph surface handler.",
489
+ schema: codegraphSurfaceSchema,
490
+ handler: async (input, ctx) => {
491
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
492
+ return { result };
493
+ },
494
+ });
495
+
496
+ export const codegraphGetArchitectureOperation = defineOperation<
497
+ CodegraphSurfaceRequest,
498
+ { result: CodegraphSurfaceResponse }
499
+ >({
500
+ name: "codegraph_get_architecture",
501
+ description:
502
+ "Codegraph parity tool (issue #1554): get_architecture. Delegates to the shared codegraph surface handler.",
503
+ schema: codegraphSurfaceSchema,
504
+ handler: async (input, ctx) => {
505
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
506
+ return { result };
507
+ },
508
+ });
509
+
510
+ export const codegraphSearchCodeOperation = defineOperation<
511
+ CodegraphSurfaceRequest,
512
+ { result: CodegraphSurfaceResponse }
513
+ >({
514
+ name: "codegraph_search_code",
515
+ description:
516
+ "Codegraph parity tool (issue #1554): search_code. Delegates to the shared codegraph surface handler.",
517
+ schema: codegraphSurfaceSchema,
518
+ handler: async (input, ctx) => {
519
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
520
+ return { result };
521
+ },
522
+ });
523
+
524
+ export const codegraphManageAdrOperation = defineOperation<
525
+ CodegraphSurfaceRequest,
526
+ { result: CodegraphSurfaceResponse }
527
+ >({
528
+ name: "codegraph_manage_adr",
529
+ description:
530
+ "Codegraph parity tool (issue #1554): manage_adr. Delegates to the shared codegraph surface handler.",
531
+ schema: codegraphSurfaceSchema,
532
+ handler: async (input, ctx) => {
533
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
534
+ return { result };
535
+ },
536
+ });
537
+
538
+ export const codegraphIngestTracesOperation = defineOperation<
539
+ CodegraphSurfaceRequest,
540
+ { result: CodegraphSurfaceResponse }
541
+ >({
542
+ name: "codegraph_ingest_traces",
543
+ description:
544
+ "Codegraph parity tool (issue #1554): ingest_traces. Delegates to the shared codegraph surface handler.",
545
+ schema: codegraphSurfaceSchema,
546
+ handler: async (input, ctx) => {
547
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
548
+ return { result };
549
+ },
550
+ });
551
+
307
552
  export const REGISTERED_OPERATIONS = [
308
553
  memoryGetOperation.spec.name,
309
554
  memorySearchOperation.spec.name,
310
555
  memoryStoreOperation.spec.name,
311
556
  codingDecisionOperation.spec.name,
312
557
  codingArchitectureOperation.spec.name,
558
+ codegraphIndexOperation.spec.name,
559
+ codegraphListProjectsOperation.spec.name,
560
+ codegraphDeleteProjectOperation.spec.name,
561
+ codegraphIndexStatusOperation.spec.name,
562
+ codegraphSearchGraphOperation.spec.name,
563
+ codegraphTracePathOperation.spec.name,
564
+ codegraphDetectChangesOperation.spec.name,
565
+ codegraphQueryGraphOperation.spec.name,
566
+ codegraphGetSchemaOperation.spec.name,
567
+ codegraphGetSnippetOperation.spec.name,
568
+ codegraphGetArchitectureOperation.spec.name,
569
+ codegraphSearchCodeOperation.spec.name,
570
+ codegraphManageAdrOperation.spec.name,
571
+ codegraphIngestTracesOperation.spec.name,
313
572
  codingDeltaOperation.spec.name,
314
573
  ] as const;
@@ -1,6 +1,7 @@
1
1
  import { stat } from "node:fs/promises";
2
2
  import * as nodeFs from "node:fs/promises";
3
3
  import { constants as fsConstants } from "node:fs";
4
+ import { readdirSync, unlinkSync } from "node:fs";
4
5
  import { createHash } from "node:crypto";
5
6
  import { ZodError } from "zod";
6
7
  import { AccessIdempotencyStore, hashAccessIdempotencyPayload } from "./access-idempotency.js";
@@ -28,6 +29,19 @@ import {
28
29
  ARCHITECTURE_CARD_TAG,
29
30
  } from "./coding/architecture-surfaces.js";
30
31
  import { buildArchitectureCard, createArchitectureCardSummariser } from "./coding/architecture-card.js";
32
+ import {
33
+ handleCodegraphTool,
34
+ type CodegraphSurfaceContext,
35
+ type CodegraphSurfaceRequest,
36
+ type CodegraphSurfaceResponse,
37
+ } from "./coding/codegraph-surfaces.js";
38
+ import {
39
+ codegraphSurfaceVisible,
40
+ getCodegraphStore,
41
+ makeCodegraphRuntimeDelegates,
42
+ resolveCodegraphProjectId,
43
+ type CodegraphStore,
44
+ } from "./coding/codegraph-runtime.js";
31
45
  import {
32
46
  handleCodingDelta,
33
47
  type DeltaSurfaceRequest,
@@ -4463,6 +4477,65 @@ export class EngramAccessService {
4463
4477
  };
4464
4478
  }
4465
4479
 
4480
+ /**
4481
+ * Codegraph parity tool delegate (issue #1554). All three surfaces (MCP,
4482
+ * HTTP, CLI) arrive here via the codegraph_* boundary operations. The
4483
+ * handler lives in coding/codegraph-surfaces.ts; this method just wires
4484
+ * the context. Memory dir + principal + coding-context lookup come from
4485
+ * the orchestrator/access-service fabric -- no handler-side state.
4486
+ */
4487
+ async codegraphTool(
4488
+ request: CodegraphSurfaceRequest,
4489
+ authenticatedPrincipal?: string,
4490
+ ): Promise<CodegraphSurfaceResponse> {
4491
+ const principal = authenticatedPrincipal ?? "default";
4492
+ const memoryDir = this.orchestrator.config.memoryDir;
4493
+ const ctx: CodegraphSurfaceContext = {
4494
+ config: this.orchestrator.config,
4495
+ memoryDir,
4496
+ principal,
4497
+ getCodingContext: (sk) => this.orchestrator.getCodingContextForSession(sk),
4498
+ // Project resolution chokepoint lives in codegraph-runtime.ts so every
4499
+ // store-backed tool derives the same id and the tagged error flows back
4500
+ // as a structured response (issue #1554 threads 7/9/11). Thin wiring.
4501
+ resolveStore: async (req) => {
4502
+ const projectId = resolveCodegraphProjectId({
4503
+ request: req,
4504
+ getCodingContext: (sk) => this.orchestrator.getCodingContextForSession(sk),
4505
+ });
4506
+ return getCodegraphStore({
4507
+ config: this.orchestrator.config,
4508
+ memoryDir,
4509
+ principal,
4510
+ projectId,
4511
+ repoRoot: req.repoRoot,
4512
+ }) as Promise<CodegraphStore>;
4513
+ },
4514
+ listDirs: (dir) => {
4515
+ try {
4516
+ return readdirSync(dir) as readonly string[];
4517
+ } catch {
4518
+ return [];
4519
+ }
4520
+ },
4521
+ removeFile: (filePath) => unlinkSync(filePath), // propagate failures → deleteCodegraphProject classifies (thread 7)
4522
+ throwInputError: (msg) => {
4523
+ throw new EngramAccessInputError(msg);
4524
+ },
4525
+ delegateDecisionRecord: async (decisionRequest) => {
4526
+ return this.codingDecision(decisionRequest, authenticatedPrincipal);
4527
+ },
4528
+ buildArchitectureCard: async (repoRoot) => {
4529
+ return buildArchitectureCard(repoRoot, {
4530
+ llmSummary: this.orchestrator.config.codingKnowledge?.architectureCardLlmSummary === true,
4531
+ summariser: createArchitectureCardSummariser(this.fallbackLlmRef ?? this.localLlmRef),
4532
+ });
4533
+ },
4534
+ ...makeCodegraphRuntimeDelegates(),
4535
+ };
4536
+ return handleCodegraphTool(request, ctx);
4537
+ }
4538
+
4466
4539
  /** Whether the coding_decision tool should appear in tools/list (rule 39). */
4467
4540
  get decisionRecordSurfaceVisible(): boolean {
4468
4541
  return this.orchestrator.config.codingKnowledge?.enabled === true
@@ -4507,6 +4580,15 @@ export class EngramAccessService {
4507
4580
  return this.orchestrator.config.codingKnowledge?.enabled === true
4508
4581
  && this.orchestrator.config.codingKnowledge?.architectureCard === true;
4509
4582
  }
4583
+
4584
+ /**
4585
+ * Whether the 14 codegraph parity tools should appear in tools/list
4586
+ * (rule 39). Config-only -- runtime availability is checked at call time.
4587
+ * When false the tools array is byte-identical to pre-feature.
4588
+ */
4589
+ get codegraphSurfaceVisible(): boolean {
4590
+ return codegraphSurfaceVisible(this.orchestrator.config);
4591
+ }
4510
4592
  /**
4511
4593
  * Thin delegate — handler logic in coding/architecture-surfaces.ts (#1548 PR3).
4512
4594
  * All three surfaces (MCP/HTTP/CLI) arrive here via the boundary operation.
@@ -67,7 +67,7 @@ function shortToolName(advertised: string): string {
67
67
  /** Spin up a server with emitLegacyTools=true and read the deduped short names. */
68
68
  async function liveMcpToolShortNames(): Promise<ReadonlySet<string>> {
69
69
  const stub = { briefingEnabled: true } as unknown as EngramAccessService;
70
- const server = new EngramMcpServer(stub, { emitLegacyTools: true, codingDecisionVisible: true, architectureCardVisible: true, sessionDeltaVisible: true });
70
+ const server = new EngramMcpServer(stub, { emitLegacyTools: true, codingDecisionVisible: true, architectureCardVisible: true, codegraphVisible: true, sessionDeltaVisible: true });
71
71
  const response = await server.handleRequest({ jsonrpc: "2.0", id: 1, method: "tools/list" });
72
72
  const result = (response as { result?: { tools?: Array<{ name: string }> } }).result;
73
73
  const names = new Set<string>();
@@ -74,6 +74,21 @@ export const MCP_TOOLS: readonly McpToolEntry[] = [
74
74
  { tool: "memory_store", operation: "memory_store" },
75
75
  { tool: "coding_decision", operation: "coding_decision" },
76
76
  { tool: "coding_architecture", operation: "coding_architecture" },
77
+ // codegraph parity tools (issue #1554)
78
+ { tool: "codegraph_index", operation: "codegraph_index" },
79
+ { tool: "codegraph_list_projects", operation: "codegraph_list_projects" },
80
+ { tool: "codegraph_delete_project", operation: "codegraph_delete_project" },
81
+ { tool: "codegraph_index_status", operation: "codegraph_index_status" },
82
+ { tool: "codegraph_search_graph", operation: "codegraph_search_graph" },
83
+ { tool: "codegraph_trace_path", operation: "codegraph_trace_path" },
84
+ { tool: "codegraph_detect_changes", operation: "codegraph_detect_changes" },
85
+ { tool: "codegraph_query_graph", operation: "codegraph_query_graph" },
86
+ { tool: "codegraph_get_schema", operation: "codegraph_get_schema" },
87
+ { tool: "codegraph_get_snippet", operation: "codegraph_get_snippet" },
88
+ { tool: "codegraph_get_architecture", operation: "codegraph_get_architecture" },
89
+ { tool: "codegraph_search_code", operation: "codegraph_search_code" },
90
+ { tool: "codegraph_manage_adr", operation: "codegraph_manage_adr" },
91
+ { tool: "codegraph_ingest_traces", operation: "codegraph_ingest_traces" },
77
92
  { tool: "coding_delta", operation: "coding_delta" },
78
93
  { tool: "suggestion_submit", operation: null },
79
94
  { tool: "entity_get", operation: null },
package/src/cli.ts CHANGED
@@ -2803,6 +2803,7 @@ export async function runAccessMcpServeCliCommand(
2803
2803
  emitLegacyTools: options.emitLegacyTools,
2804
2804
  codingDecisionVisible: service.decisionRecordSurfaceVisible,
2805
2805
  architectureCardVisible: service.architectureCardSurfaceVisible,
2806
+ codegraphVisible: service.codegraphSurfaceVisible,
2806
2807
  sessionDeltaVisible: service.sessionDeltaSurfaceVisible,
2807
2808
  });
2808
2809
  await server.runStdio(options.stdin ?? process.stdin, options.stdout ?? process.stdout);
@@ -53,6 +53,8 @@ const DEFAULT_CONFIG: CodingKnowledgeConfig = {
53
53
  architectureCardLlmSummary: false,
54
54
  structuralProvider: "none",
55
55
  structuralProviderCommand: "",
56
+ codegraphTools: false,
57
+ codegraphDbDir: "",
56
58
  };
57
59
 
58
60
  const CODING_CONTEXT: CodingContext = {