@remnic/core 9.3.693 → 9.3.694

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 (258) hide show
  1. package/dist/access-boundary.d.ts +6 -6
  2. package/dist/access-boundary.js +10 -8
  3. package/dist/access-cli.js +23 -21
  4. package/dist/access-cli.js.map +1 -1
  5. package/dist/access-http.d.ts +5 -5
  6. package/dist/access-http.js +13 -11
  7. package/dist/access-mcp.d.ts +12 -5
  8. package/dist/access-mcp.js +12 -10
  9. package/dist/access-operations.d.ts +49 -7
  10. package/dist/access-operations.js +39 -9
  11. package/dist/{access-service-DxCpgyVW.d.ts → access-service-Ceq4TdPO.d.ts} +86 -3
  12. package/dist/access-service.d.ts +5 -5
  13. package/dist/access-service.js +9 -7
  14. package/dist/access-surface-catalog.d.ts +5 -5
  15. package/dist/access-surface-catalog.js +15 -0
  16. package/dist/access-surface-catalog.js.map +1 -1
  17. package/dist/action-confidence.d.ts +1 -1
  18. package/dist/active-memory-bridge.d.ts +1 -1
  19. package/dist/active-recall.d.ts +1 -1
  20. package/dist/active-recall.js +1 -1
  21. package/dist/behavior-learner.d.ts +1 -1
  22. package/dist/behavior-signals.d.ts +1 -1
  23. package/dist/bootstrap.d.ts +4 -4
  24. package/dist/briefing.d.ts +1 -1
  25. package/dist/briefing.js +3 -3
  26. package/dist/buffer-surprise-report.d.ts +1 -1
  27. package/dist/buffer.d.ts +1 -1
  28. package/dist/calibration.d.ts +1 -1
  29. package/dist/capabilities.d.ts +1 -1
  30. package/dist/{catalog-BEWLjdOr.d.ts → catalog-Tkb991rg.d.ts} +1 -1
  31. package/dist/causal-behavior.d.ts +1 -1
  32. package/dist/causal-consolidation.d.ts +1 -1
  33. package/dist/causal-consolidation.js +4 -4
  34. package/dist/{chunk-ADUAF5EV.js → chunk-24FCDBJV.js} +2 -2
  35. package/dist/{chunk-MQTPUPLP.js → chunk-5A35EGHM.js} +806 -23
  36. package/dist/chunk-5A35EGHM.js.map +1 -0
  37. package/dist/{chunk-3VVH6ZQW.js → chunk-5S53ZBPH.js} +2 -2
  38. package/dist/{chunk-RHWFMBO5.js → chunk-6C4WHMKV.js} +94 -5
  39. package/dist/chunk-6C4WHMKV.js.map +1 -0
  40. package/dist/{chunk-2D27ODNX.js → chunk-B55EAZNF.js} +2 -2
  41. package/dist/{chunk-F7BVJ3IE.js → chunk-C5AOVGVC.js} +14 -14
  42. package/dist/chunk-CDOIDOTQ.js +381 -0
  43. package/dist/chunk-CDOIDOTQ.js.map +1 -0
  44. package/dist/{chunk-UOCLRM74.js → chunk-D7PQ7HZL.js} +2 -2
  45. package/dist/{chunk-HXNMDPHN.js → chunk-DT2ZGQT7.js} +2 -2
  46. package/dist/{chunk-QFG23CRE.js → chunk-EPVIBPVE.js} +2 -2
  47. package/dist/{chunk-THKNO6OX.js → chunk-FCH766FX.js} +19 -18
  48. package/dist/chunk-FCH766FX.js.map +1 -0
  49. package/dist/{chunk-U2OBZSGG.js → chunk-IZLNJYLX.js} +2 -2
  50. package/dist/{chunk-KYH53EFD.js → chunk-JIKBEDSB.js} +6 -6
  51. package/dist/{chunk-3BRA3N5A.js → chunk-KCRV3HVN.js} +2 -2
  52. package/dist/{chunk-AFWEUTMS.js → chunk-MOGFK2DU.js} +2 -2
  53. package/dist/{chunk-SAC5V6JT.js → chunk-MSUA4KAK.js} +2 -2
  54. package/dist/{chunk-VFVG4NS2.js → chunk-NXNUG7IA.js} +2 -2
  55. package/dist/{chunk-66HROLW5.js → chunk-P7IDNF7H.js} +2 -2
  56. package/dist/{chunk-FM7KLRKN.js → chunk-PILLH262.js} +2 -2
  57. package/dist/{chunk-UTUYAPLY.js → chunk-PNW4KKJX.js} +12 -3
  58. package/dist/{chunk-UTUYAPLY.js.map → chunk-PNW4KKJX.js.map} +1 -1
  59. package/dist/{chunk-5HGPDRQZ.js → chunk-PQP6MFPL.js} +2 -2
  60. package/dist/chunk-PQP6MFPL.js.map +1 -0
  61. package/dist/{chunk-6C2BMUZA.js → chunk-QXWQ5V24.js} +2 -2
  62. package/dist/{chunk-WYB44HHV.js → chunk-SJGTY2TW.js} +19 -7
  63. package/dist/chunk-SJGTY2TW.js.map +1 -0
  64. package/dist/{chunk-4IQNAOP3.js → chunk-SN5DFE34.js} +2 -2
  65. package/dist/{chunk-DQHZA7Y3.js → chunk-U62ZGWU7.js} +1 -1
  66. package/dist/chunk-U62ZGWU7.js.map +1 -0
  67. package/dist/{chunk-WIKNVFBS.js → chunk-UX5QTAFE.js} +2 -2
  68. package/dist/chunk-VQ7B2Q6M.js +112 -0
  69. package/dist/chunk-VQ7B2Q6M.js.map +1 -0
  70. package/dist/{chunk-MCV2DD6F.js → chunk-WVTNZUER.js} +2 -2
  71. package/dist/{chunk-ZLXGFAML.js → chunk-YI3KC2B5.js} +2 -2
  72. package/dist/{chunk-W4ELOUNX.js → chunk-YWYZPKK3.js} +2 -2
  73. package/dist/{chunk-NUZ3N445.js → chunk-YXZPKBFW.js} +3 -3
  74. package/dist/{chunk-GCOSQBQ2.js → chunk-ZKD3UVEO.js} +3 -3
  75. package/dist/{cli-DoQsv4ut.d.ts → cli-CxtZyBLl.d.ts} +3 -3
  76. package/dist/cli.d.ts +6 -6
  77. package/dist/cli.js +27 -25
  78. package/dist/coding/optional-coding-graph.js +7 -104
  79. package/dist/coding/optional-coding-graph.js.map +1 -1
  80. package/dist/compounding/engine.d.ts +1 -1
  81. package/dist/compounding/engine.js +3 -3
  82. package/dist/compounding/preference-consolidator.d.ts +1 -1
  83. package/dist/compression-optimizer.d.ts +1 -1
  84. package/dist/config.d.ts +1 -1
  85. package/dist/config.js +1 -1
  86. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  87. package/dist/connectors/codex-materialize-runner.js +3 -3
  88. package/dist/connectors/codex-materialize.d.ts +1 -1
  89. package/dist/connectors/index.d.ts +1 -1
  90. package/dist/connectors/index.js +3 -3
  91. package/dist/consolidation-provenance-check.d.ts +1 -1
  92. package/dist/consolidation-undo.d.ts +1 -1
  93. package/dist/contradiction/index.d.ts +1 -1
  94. package/dist/conversation-index/backend.d.ts +1 -1
  95. package/dist/conversation-index/chunker.d.ts +1 -1
  96. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  97. package/dist/conversation-index/indexer.d.ts +1 -1
  98. package/dist/conversation-index/search.d.ts +1 -1
  99. package/dist/day-summary.d.ts +1 -1
  100. package/dist/delinearize.d.ts +1 -1
  101. package/dist/direct-answer-wiring.d.ts +1 -1
  102. package/dist/direct-answer.d.ts +1 -1
  103. package/dist/embedding-fallback.d.ts +1 -1
  104. package/dist/enrichment/index.d.ts +1 -1
  105. package/dist/entity-retrieval.d.ts +1 -1
  106. package/dist/entity-retrieval.js +3 -3
  107. package/dist/entity-schema.d.ts +1 -1
  108. package/dist/explicit-capture.d.ts +4 -4
  109. package/dist/extraction-judge-telemetry.d.ts +1 -1
  110. package/dist/extraction-judge-training.d.ts +1 -1
  111. package/dist/extraction-judge.d.ts +1 -1
  112. package/dist/extraction.d.ts +1 -1
  113. package/dist/fallback-llm.d.ts +1 -1
  114. package/dist/identity-continuity.d.ts +1 -1
  115. package/dist/importance.d.ts +1 -1
  116. package/dist/index.d.ts +9 -9
  117. package/dist/index.js +36 -35
  118. package/dist/index.js.map +1 -1
  119. package/dist/intent.d.ts +1 -1
  120. package/dist/lcm/engine.d.ts +1 -1
  121. package/dist/lcm/index.d.ts +1 -1
  122. package/dist/lcm/tools.d.ts +1 -1
  123. package/dist/lifecycle.d.ts +1 -1
  124. package/dist/live-connectors-runner.d.ts +1 -1
  125. package/dist/local-llm.d.ts +1 -1
  126. package/dist/maintenance/memory-governance.d.ts +1 -1
  127. package/dist/maintenance/memory-governance.js +3 -3
  128. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
  129. package/dist/maintenance/rebuild-memory-projection.js +4 -4
  130. package/dist/mcp-memory-inspector-app.d.ts +5 -5
  131. package/dist/memory-action-policy.d.ts +1 -1
  132. package/dist/memory-cache.d.ts +1 -1
  133. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  134. package/dist/memory-projection-store.d.ts +1 -1
  135. package/dist/memory-provenance.d.ts +1 -1
  136. package/dist/memory-worth-outcomes.d.ts +1 -1
  137. package/dist/models-json.d.ts +1 -1
  138. package/dist/namespaces/migrate.d.ts +2 -2
  139. package/dist/namespaces/migrate.js +4 -4
  140. package/dist/namespaces/principal.d.ts +1 -1
  141. package/dist/namespaces/search.d.ts +1 -1
  142. package/dist/namespaces/storage.d.ts +2 -2
  143. package/dist/namespaces/storage.js +3 -3
  144. package/dist/native-knowledge.d.ts +1 -1
  145. package/dist/operator-toolkit.d.ts +1 -1
  146. package/dist/operator-toolkit.js +9 -9
  147. package/dist/orchestration/maintenance.d.ts +2 -2
  148. package/dist/orchestration/maintenance.js +5 -5
  149. package/dist/{orchestrator-CNJCYjZ1.d.ts → orchestrator-CnbxRQs8.d.ts} +3 -3
  150. package/dist/orchestrator.d.ts +4 -4
  151. package/dist/orchestrator.js +15 -15
  152. package/dist/patterns-cli.d.ts +1 -1
  153. package/dist/policy-runtime.d.ts +1 -1
  154. package/dist/provenance.d.ts +1 -1
  155. package/dist/qmd-recall-cache.d.ts +1 -1
  156. package/dist/qmd.d.ts +1 -1
  157. package/dist/recall-disclosure-escalation.d.ts +1 -1
  158. package/dist/recall-explain-renderer.d.ts +1 -1
  159. package/dist/recall-explain-renderer.js +3 -3
  160. package/dist/recall-planner-llm.d.ts +1 -1
  161. package/dist/recall-state.d.ts +1 -1
  162. package/dist/recall-tag-filter.d.ts +1 -1
  163. package/dist/recall-xray-cli.d.ts +1 -1
  164. package/dist/recall-xray-cli.js +4 -4
  165. package/dist/recall-xray-renderer.d.ts +1 -1
  166. package/dist/recall-xray-renderer.js +3 -3
  167. package/dist/recall-xray.d.ts +1 -1
  168. package/dist/recall-xray.js +2 -2
  169. package/dist/resolve-auth-token.d.ts +1 -1
  170. package/dist/resume-bundles.js +2 -2
  171. package/dist/retrieval-agents.d.ts +1 -1
  172. package/dist/retrieval-tiers.d.ts +1 -1
  173. package/dist/routing/engine.d.ts +1 -1
  174. package/dist/routing/store.d.ts +1 -1
  175. package/dist/search/embed-helper.d.ts +1 -1
  176. package/dist/search/factory.d.ts +1 -1
  177. package/dist/search/index.d.ts +1 -1
  178. package/dist/search/lancedb-backend.d.ts +1 -1
  179. package/dist/search/meilisearch-backend.d.ts +1 -1
  180. package/dist/search/noop-backend.d.ts +1 -1
  181. package/dist/search/orama-backend.d.ts +1 -1
  182. package/dist/search/port.d.ts +1 -1
  183. package/dist/search/remote-backend.d.ts +1 -1
  184. package/dist/{semantic-consolidation-D5U0Mrdb.d.ts → semantic-consolidation-DXmtQ_4B.d.ts} +1 -1
  185. package/dist/semantic-consolidation.d.ts +2 -2
  186. package/dist/semantic-consolidation.js +4 -4
  187. package/dist/semantic-rule-promotion.js +3 -3
  188. package/dist/semantic-rule-verifier.d.ts +1 -1
  189. package/dist/semantic-rule-verifier.js +3 -3
  190. package/dist/session-observer-bands.d.ts +1 -1
  191. package/dist/session-observer-state.d.ts +1 -1
  192. package/dist/shared-context/manager.d.ts +1 -1
  193. package/dist/signal.d.ts +1 -1
  194. package/dist/storage.d.ts +1 -1
  195. package/dist/storage.js +2 -2
  196. package/dist/summarizer.d.ts +1 -1
  197. package/dist/summary-snapshot.d.ts +1 -1
  198. package/dist/temporal-supersession.d.ts +1 -1
  199. package/dist/temporal-validity.d.ts +1 -1
  200. package/dist/threading.d.ts +1 -1
  201. package/dist/tier-migration.d.ts +1 -1
  202. package/dist/tier-routing.d.ts +1 -1
  203. package/dist/topics.d.ts +1 -1
  204. package/dist/transcript.d.ts +1 -1
  205. package/dist/{types-2NoBoRBM.d.ts → types-CEWBmjCH.d.ts} +14 -0
  206. package/dist/types.d.ts +1 -1
  207. package/dist/types.js +1 -1
  208. package/dist/utility-runtime.d.ts +1 -1
  209. package/dist/verified-recall.js +3 -3
  210. package/package.json +2 -2
  211. package/src/access-boundary.ts +17 -0
  212. package/src/access-http.ts +27 -3
  213. package/src/access-mcp.ts +99 -2
  214. package/src/access-operations.ts +259 -0
  215. package/src/access-service.ts +82 -0
  216. package/src/access-surface-catalog.test.ts +1 -1
  217. package/src/access-surface-catalog.ts +15 -0
  218. package/src/cli.ts +1 -0
  219. package/src/coding/architecture-surfaces.test.ts +2 -0
  220. package/src/coding/codegraph-runtime.ts +773 -0
  221. package/src/coding/codegraph-surfaces.test.ts +880 -0
  222. package/src/coding/codegraph-surfaces.ts +771 -0
  223. package/src/coding/coding-knowledge-config.ts +7 -0
  224. package/src/coding/decision-surfaces.test.ts +2 -0
  225. package/src/coding/session-delta-surfaces.test.ts +2 -0
  226. package/src/config.test.ts +2 -0
  227. package/src/types.ts +14 -0
  228. package/dist/chunk-5HGPDRQZ.js.map +0 -1
  229. package/dist/chunk-DQHZA7Y3.js.map +0 -1
  230. package/dist/chunk-JNKH2XWQ.js +0 -183
  231. package/dist/chunk-JNKH2XWQ.js.map +0 -1
  232. package/dist/chunk-MQTPUPLP.js.map +0 -1
  233. package/dist/chunk-RHWFMBO5.js.map +0 -1
  234. package/dist/chunk-THKNO6OX.js.map +0 -1
  235. package/dist/chunk-WYB44HHV.js.map +0 -1
  236. /package/dist/{chunk-ADUAF5EV.js.map → chunk-24FCDBJV.js.map} +0 -0
  237. /package/dist/{chunk-3VVH6ZQW.js.map → chunk-5S53ZBPH.js.map} +0 -0
  238. /package/dist/{chunk-2D27ODNX.js.map → chunk-B55EAZNF.js.map} +0 -0
  239. /package/dist/{chunk-F7BVJ3IE.js.map → chunk-C5AOVGVC.js.map} +0 -0
  240. /package/dist/{chunk-UOCLRM74.js.map → chunk-D7PQ7HZL.js.map} +0 -0
  241. /package/dist/{chunk-HXNMDPHN.js.map → chunk-DT2ZGQT7.js.map} +0 -0
  242. /package/dist/{chunk-QFG23CRE.js.map → chunk-EPVIBPVE.js.map} +0 -0
  243. /package/dist/{chunk-U2OBZSGG.js.map → chunk-IZLNJYLX.js.map} +0 -0
  244. /package/dist/{chunk-KYH53EFD.js.map → chunk-JIKBEDSB.js.map} +0 -0
  245. /package/dist/{chunk-3BRA3N5A.js.map → chunk-KCRV3HVN.js.map} +0 -0
  246. /package/dist/{chunk-AFWEUTMS.js.map → chunk-MOGFK2DU.js.map} +0 -0
  247. /package/dist/{chunk-SAC5V6JT.js.map → chunk-MSUA4KAK.js.map} +0 -0
  248. /package/dist/{chunk-VFVG4NS2.js.map → chunk-NXNUG7IA.js.map} +0 -0
  249. /package/dist/{chunk-66HROLW5.js.map → chunk-P7IDNF7H.js.map} +0 -0
  250. /package/dist/{chunk-FM7KLRKN.js.map → chunk-PILLH262.js.map} +0 -0
  251. /package/dist/{chunk-6C2BMUZA.js.map → chunk-QXWQ5V24.js.map} +0 -0
  252. /package/dist/{chunk-4IQNAOP3.js.map → chunk-SN5DFE34.js.map} +0 -0
  253. /package/dist/{chunk-WIKNVFBS.js.map → chunk-UX5QTAFE.js.map} +0 -0
  254. /package/dist/{chunk-MCV2DD6F.js.map → chunk-WVTNZUER.js.map} +0 -0
  255. /package/dist/{chunk-ZLXGFAML.js.map → chunk-YI3KC2B5.js.map} +0 -0
  256. /package/dist/{chunk-W4ELOUNX.js.map → chunk-YWYZPKK3.js.map} +0 -0
  257. /package/dist/{chunk-NUZ3N445.js.map → chunk-YXZPKBFW.js.map} +0 -0
  258. /package/dist/{chunk-GCOSQBQ2.js.map → chunk-ZKD3UVEO.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SOBJ6NEY.js";
4
4
  import {
5
5
  summarizeDisclosureTokens
6
- } from "./chunk-AFWEUTMS.js";
6
+ } from "./chunk-MOGFK2DU.js";
7
7
  import {
8
8
  summarizeRetrievedMemoryProvenance
9
9
  } from "./chunk-AC5LO7IU.js";
@@ -567,4 +567,4 @@ export {
567
567
  renderRecallExplain,
568
568
  parseRecallExplainFormat
569
569
  };
570
- //# sourceMappingURL=chunk-2D27ODNX.js.map
570
+ //# sourceMappingURL=chunk-B55EAZNF.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-5KBNNUXS.js";
8
8
  import {
9
9
  MaintenanceScheduler
10
- } from "./chunk-6C2BMUZA.js";
10
+ } from "./chunk-QXWQ5V24.js";
11
11
  import {
12
12
  migrateFromEngram
13
13
  } from "./chunk-7HYPN2GC.js";
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  CompoundingEngine,
25
25
  defaultTierMigrationCycleBudget
26
- } from "./chunk-UOCLRM74.js";
26
+ } from "./chunk-D7PQ7HZL.js";
27
27
  import {
28
28
  SharedContextManager
29
29
  } from "./chunk-UFS7OXGL.js";
@@ -178,7 +178,7 @@ import {
178
178
  buildEntityRecallSection,
179
179
  entityRecentTranscriptLookbackHours,
180
180
  readRecentEntityTranscriptEntries
181
- } from "./chunk-U2OBZSGG.js";
181
+ } from "./chunk-IZLNJYLX.js";
182
182
  import {
183
183
  formatDaySummaryMemories
184
184
  } from "./chunk-EO5QWINU.js";
@@ -191,14 +191,14 @@ import {
191
191
  import {
192
192
  compareVerifiedEpisodeResults,
193
193
  searchVerifiedEpisodes
194
- } from "./chunk-3VVH6ZQW.js";
194
+ } from "./chunk-5S53ZBPH.js";
195
195
  import {
196
196
  ThreadingManager
197
197
  } from "./chunk-QRDOSYOR.js";
198
198
  import {
199
199
  compareVerifiedSemanticRuleResults,
200
200
  searchVerifiedSemanticRules
201
- } from "./chunk-ZLXGFAML.js";
201
+ } from "./chunk-YI3KC2B5.js";
202
202
  import {
203
203
  searchWorkProductLedgerEntries
204
204
  } from "./chunk-ZRWB5D4H.js";
@@ -211,14 +211,14 @@ import {
211
211
  import {
212
212
  runNamespaceMaintenanceFanout,
213
213
  summarizeNamespaceMaintenanceHealth
214
- } from "./chunk-HXNMDPHN.js";
214
+ } from "./chunk-DT2ZGQT7.js";
215
215
  import {
216
216
  NamespaceCatalog,
217
217
  planNamespaceMaintenance
218
- } from "./chunk-4IQNAOP3.js";
218
+ } from "./chunk-SN5DFE34.js";
219
219
  import {
220
220
  NamespaceStorageRouter
221
- } from "./chunk-W4ELOUNX.js";
221
+ } from "./chunk-YWYZPKK3.js";
222
222
  import {
223
223
  isAboveImportanceThreshold,
224
224
  scoreImportance
@@ -263,7 +263,7 @@ import {
263
263
  materializeAfterSemanticConsolidation,
264
264
  parseConsolidationResponse,
265
265
  parseOperatorAwareConsolidationResponse
266
- } from "./chunk-QFG23CRE.js";
266
+ } from "./chunk-EPVIBPVE.js";
267
267
  import {
268
268
  buildBehaviorSignalsForMemory,
269
269
  dedupeBehaviorSignalsByMemoryAndHash
@@ -321,7 +321,7 @@ import {
321
321
  } from "./chunk-FF4KLI5W.js";
322
322
  import {
323
323
  buildXraySnapshot
324
- } from "./chunk-AFWEUTMS.js";
324
+ } from "./chunk-MOGFK2DU.js";
325
325
  import {
326
326
  objectiveStateStoreOverrideForNamespace,
327
327
  searchObjectiveStateSnapshots
@@ -364,7 +364,7 @@ import {
364
364
  } from "./chunk-YN4ZT4CW.js";
365
365
  import {
366
366
  buildChainFollowupGenerator
367
- } from "./chunk-66HROLW5.js";
367
+ } from "./chunk-P7IDNF7H.js";
368
368
  import {
369
369
  ContentHashIndex,
370
370
  StorageManager,
@@ -372,7 +372,7 @@ import {
372
372
  fingerprintEntityStructuredFacts,
373
373
  normalizeAttributePairs,
374
374
  parseEntityFile
375
- } from "./chunk-VFVG4NS2.js";
375
+ } from "./chunk-NXNUG7IA.js";
376
376
  import {
377
377
  isValidTranscriptDate,
378
378
  loadSpeakerRegistry,
@@ -393,7 +393,7 @@ import {
393
393
  } from "./chunk-J6A3CX5N.js";
394
394
  import {
395
395
  confidenceTier
396
- } from "./chunk-DQHZA7Y3.js";
396
+ } from "./chunk-U62ZGWU7.js";
397
397
  import {
398
398
  buildQmdRecallCacheKey,
399
399
  getCachedQmdRecall,
@@ -15248,4 +15248,4 @@ export {
15248
15248
  resolvePersistedMemoryRelativePath,
15249
15249
  Orchestrator
15250
15250
  };
15251
- //# sourceMappingURL=chunk-F7BVJ3IE.js.map
15251
+ //# sourceMappingURL=chunk-C5AOVGVC.js.map
@@ -0,0 +1,381 @@
1
+ import {
2
+ memoryStoreRequestSchema
3
+ } from "./chunk-UDJLF3BO.js";
4
+ import {
5
+ defineOperation
6
+ } from "./chunk-PQP6MFPL.js";
7
+ import {
8
+ DECISION_SUBCOMMANDS,
9
+ DELTA_SUBCOMMANDS,
10
+ isCodegraphToolName
11
+ } from "./chunk-5A35EGHM.js";
12
+
13
+ // src/access-operations.ts
14
+ import { z } from "zod";
15
+ var memoryGetSchema = z.object({
16
+ memoryId: z.string().trim().min(1, "memoryId is required").max(512),
17
+ namespace: z.string().trim().max(256).nullable().optional()
18
+ });
19
+ var memoryGetOperation = defineOperation({
20
+ name: "memory_get",
21
+ description: "Fetch one memory by id.",
22
+ schema: memoryGetSchema,
23
+ handler: async (input, ctx) => {
24
+ const result = await ctx.service.memoryGet(
25
+ input.memoryId,
26
+ input.namespace ?? void 0,
27
+ ctx.authenticatedPrincipal
28
+ );
29
+ return { result };
30
+ }
31
+ });
32
+ var memorySearchSchema = z.object({
33
+ query: z.string().trim().min(1, "query is required").max(2048),
34
+ namespace: z.string().trim().max(256).nullable().optional(),
35
+ // No upper cap: the pre-boundary MCP handler forwarded any finite number to
36
+ // memorySearch, and the QMD/search backends honor large limits. Capping at
37
+ // 100 would reject existing clients that request larger result sets.
38
+ maxResults: z.number().int().min(1).nullable().optional(),
39
+ collection: z.string().trim().min(1).max(256).nullable().optional()
40
+ });
41
+ var memorySearchOperation = defineOperation({
42
+ name: "memory_search",
43
+ description: "Search memories across readable namespaces.",
44
+ schema: memorySearchSchema,
45
+ handler: async (input, ctx) => {
46
+ const result = await ctx.service.memorySearch({
47
+ query: input.query,
48
+ namespace: input.namespace ?? void 0,
49
+ maxResults: input.maxResults ?? void 0,
50
+ collection: input.collection ?? void 0,
51
+ principal: ctx.authenticatedPrincipal
52
+ });
53
+ return { result };
54
+ }
55
+ });
56
+ var memoryStoreOperation = defineOperation({
57
+ name: "memory_store",
58
+ description: "Store an explicit memory through the access layer.",
59
+ // Reuse the existing schema verbatim — the migration is behavior-preserving;
60
+ // the schema's external contract is NOT changing in this PR (per the issue's
61
+ // pitfall note).
62
+ schema: memoryStoreRequestSchema,
63
+ handler: async (input, ctx) => {
64
+ const result = await ctx.service.memoryStore(
65
+ {
66
+ ...input,
67
+ authenticatedPrincipal: ctx.authenticatedPrincipal
68
+ },
69
+ // Forward transport-level hooks (e.g. HTTP's atomic write-quota gate)
70
+ // so the hook still fires inside the service's idempotent-write lock —
71
+ // never before, never on a replay (#1434 invariant preserved by the
72
+ // boundary migration).
73
+ ctx.hooks
74
+ );
75
+ return { result };
76
+ }
77
+ });
78
+ var codingDecisionSchema = z.preprocess(
79
+ (data) => {
80
+ if (data && typeof data === "object" && !Array.isArray(data)) {
81
+ const out = {};
82
+ for (const [k, v] of Object.entries(data)) {
83
+ if (v !== null) out[k] = v;
84
+ }
85
+ return out;
86
+ }
87
+ return data;
88
+ },
89
+ z.object({
90
+ subcommand: z.enum(DECISION_SUBCOMMANDS),
91
+ sessionKey: z.string().trim().max(512).optional(),
92
+ namespace: z.string().trim().max(256).optional(),
93
+ id: z.string().trim().max(512).optional(),
94
+ title: z.string().trim().max(512).optional(),
95
+ status: z.string().trim().max(64).optional(),
96
+ context: z.string().trim().max(8192).optional(),
97
+ decision: z.string().trim().max(8192).optional(),
98
+ consequences: z.string().trim().max(8192).optional(),
99
+ entityRefs: z.array(z.string().trim().min(1).max(256)).optional(),
100
+ supersedesId: z.string().trim().max(512).optional()
101
+ })
102
+ );
103
+ var codingDecisionOperation = defineOperation({
104
+ name: "coding_decision",
105
+ description: "List, get, record, or supersede decision records in the session's coding namespace (issue #1548 Track A).",
106
+ schema: codingDecisionSchema,
107
+ handler: async (input, ctx) => {
108
+ const result = await ctx.service.codingDecision(input, ctx.authenticatedPrincipal);
109
+ return { result };
110
+ }
111
+ });
112
+ var codingArchitectureSchema = z.preprocess(
113
+ (data) => {
114
+ if (data !== null && typeof data === "object" && !Array.isArray(data)) {
115
+ const obj = data;
116
+ const cleaned = {};
117
+ for (const [key, value] of Object.entries(obj)) {
118
+ if (value !== null) cleaned[key] = value;
119
+ }
120
+ return cleaned;
121
+ }
122
+ return data;
123
+ },
124
+ z.object({
125
+ subcommand: z.enum(["get", "refresh"]),
126
+ sessionKey: z.string().optional(),
127
+ namespace: z.string().optional()
128
+ })
129
+ );
130
+ var codingArchitectureOperation = defineOperation({
131
+ name: "coding_architecture",
132
+ description: "Get or refresh the architecture card for the session's coding namespace (issue #1548 Track A PR 3).",
133
+ schema: codingArchitectureSchema,
134
+ handler: async (input, ctx) => {
135
+ const result = await ctx.service.codingArchitecture(input, ctx.authenticatedPrincipal);
136
+ return { result };
137
+ }
138
+ });
139
+ var codegraphSurfaceSchema = z.preprocess(
140
+ (data) => {
141
+ if (data !== null && typeof data === "object" && !Array.isArray(data)) {
142
+ const obj = data;
143
+ const cleaned = {};
144
+ for (const [key, value] of Object.entries(obj)) {
145
+ if (value !== null) cleaned[key] = value;
146
+ }
147
+ return cleaned;
148
+ }
149
+ return data;
150
+ },
151
+ z.object({
152
+ tool: z.string().refine(isCodegraphToolName, {
153
+ message: "tool must be one of the codegraph tool names"
154
+ }),
155
+ sessionKey: z.string().max(512).optional(),
156
+ principal: z.string().max(256).optional(),
157
+ project: z.string().max(256).optional(),
158
+ query: z.string().max(2048).optional(),
159
+ limit: z.number().int().positive().max(200).optional(),
160
+ start: z.string().max(512).optional(),
161
+ direction: z.string().max(64).optional(),
162
+ depth: z.number().int().positive().max(10).optional(),
163
+ qualifiedName: z.string().max(1024).optional(),
164
+ path: z.string().max(2048).optional(),
165
+ structuredQuery: z.record(z.string(), z.unknown()).optional(),
166
+ head: z.string().max(256).optional(),
167
+ repoRoot: z.string().max(2048).optional(),
168
+ mode: z.string().max(64).optional(),
169
+ confirm: z.boolean().optional(),
170
+ subcommand: z.string().max(64).optional(),
171
+ id: z.string().max(512).optional(),
172
+ title: z.string().max(512).optional(),
173
+ status: z.string().max(64).optional(),
174
+ context: z.string().max(8192).optional(),
175
+ decision: z.string().max(8192).optional(),
176
+ consequences: z.string().max(8192).optional(),
177
+ entityRefs: z.array(z.string().max(256)).optional(),
178
+ supersedesId: z.string().max(512).optional(),
179
+ traces: z.array(z.unknown()).optional()
180
+ })
181
+ );
182
+ var codingDeltaSchema = z.preprocess(
183
+ (data) => {
184
+ if (data !== null && typeof data === "object" && !Array.isArray(data)) {
185
+ const obj = data;
186
+ const cleaned = {};
187
+ for (const [key, value] of Object.entries(obj)) {
188
+ if (value !== null) cleaned[key] = value;
189
+ }
190
+ return cleaned;
191
+ }
192
+ return data;
193
+ },
194
+ z.object({
195
+ subcommand: z.enum(DELTA_SUBCOMMANDS),
196
+ sessionKey: z.string().trim().max(512).optional(),
197
+ namespace: z.string().trim().max(256).optional()
198
+ })
199
+ );
200
+ var codingDeltaOperation = defineOperation({
201
+ name: "coding_delta",
202
+ description: "Get the session delta (commits + touched files since last seen) for the session's coding namespace (issue #1548 Track A PR 4).",
203
+ schema: codingDeltaSchema,
204
+ handler: async (input, ctx) => {
205
+ const result = await ctx.service.codingDelta(input, ctx.authenticatedPrincipal);
206
+ return { result };
207
+ }
208
+ });
209
+ var codegraphIndexOperation = defineOperation({
210
+ name: "codegraph_index",
211
+ description: "Codegraph parity tool (issue #1554): index. Delegates to the shared codegraph surface handler.",
212
+ schema: codegraphSurfaceSchema,
213
+ handler: async (input, ctx) => {
214
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
215
+ return { result };
216
+ }
217
+ });
218
+ var codegraphListProjectsOperation = defineOperation({
219
+ name: "codegraph_list_projects",
220
+ description: "Codegraph parity tool (issue #1554): list_projects. Delegates to the shared codegraph surface handler.",
221
+ schema: codegraphSurfaceSchema,
222
+ handler: async (input, ctx) => {
223
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
224
+ return { result };
225
+ }
226
+ });
227
+ var codegraphDeleteProjectOperation = defineOperation({
228
+ name: "codegraph_delete_project",
229
+ description: "Codegraph parity tool (issue #1554): delete_project. Delegates to the shared codegraph surface handler.",
230
+ schema: codegraphSurfaceSchema,
231
+ handler: async (input, ctx) => {
232
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
233
+ return { result };
234
+ }
235
+ });
236
+ var codegraphIndexStatusOperation = defineOperation({
237
+ name: "codegraph_index_status",
238
+ description: "Codegraph parity tool (issue #1554): index_status. Delegates to the shared codegraph surface handler.",
239
+ schema: codegraphSurfaceSchema,
240
+ handler: async (input, ctx) => {
241
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
242
+ return { result };
243
+ }
244
+ });
245
+ var codegraphSearchGraphOperation = defineOperation({
246
+ name: "codegraph_search_graph",
247
+ description: "Codegraph parity tool (issue #1554): search_graph. Delegates to the shared codegraph surface handler.",
248
+ schema: codegraphSurfaceSchema,
249
+ handler: async (input, ctx) => {
250
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
251
+ return { result };
252
+ }
253
+ });
254
+ var codegraphTracePathOperation = defineOperation({
255
+ name: "codegraph_trace_path",
256
+ description: "Codegraph parity tool (issue #1554): trace_path. Delegates to the shared codegraph surface handler.",
257
+ schema: codegraphSurfaceSchema,
258
+ handler: async (input, ctx) => {
259
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
260
+ return { result };
261
+ }
262
+ });
263
+ var codegraphDetectChangesOperation = defineOperation({
264
+ name: "codegraph_detect_changes",
265
+ description: "Codegraph parity tool (issue #1554): detect_changes. Delegates to the shared codegraph surface handler.",
266
+ schema: codegraphSurfaceSchema,
267
+ handler: async (input, ctx) => {
268
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
269
+ return { result };
270
+ }
271
+ });
272
+ var codegraphQueryGraphOperation = defineOperation({
273
+ name: "codegraph_query_graph",
274
+ description: "Codegraph parity tool (issue #1554): query_graph. Delegates to the shared codegraph surface handler.",
275
+ schema: codegraphSurfaceSchema,
276
+ handler: async (input, ctx) => {
277
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
278
+ return { result };
279
+ }
280
+ });
281
+ var codegraphGetSchemaOperation = defineOperation({
282
+ name: "codegraph_get_schema",
283
+ description: "Codegraph parity tool (issue #1554): get_schema. Delegates to the shared codegraph surface handler.",
284
+ schema: codegraphSurfaceSchema,
285
+ handler: async (input, ctx) => {
286
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
287
+ return { result };
288
+ }
289
+ });
290
+ var codegraphGetSnippetOperation = defineOperation({
291
+ name: "codegraph_get_snippet",
292
+ description: "Codegraph parity tool (issue #1554): get_snippet. Delegates to the shared codegraph surface handler.",
293
+ schema: codegraphSurfaceSchema,
294
+ handler: async (input, ctx) => {
295
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
296
+ return { result };
297
+ }
298
+ });
299
+ var codegraphGetArchitectureOperation = defineOperation({
300
+ name: "codegraph_get_architecture",
301
+ description: "Codegraph parity tool (issue #1554): get_architecture. Delegates to the shared codegraph surface handler.",
302
+ schema: codegraphSurfaceSchema,
303
+ handler: async (input, ctx) => {
304
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
305
+ return { result };
306
+ }
307
+ });
308
+ var codegraphSearchCodeOperation = defineOperation({
309
+ name: "codegraph_search_code",
310
+ description: "Codegraph parity tool (issue #1554): search_code. Delegates to the shared codegraph surface handler.",
311
+ schema: codegraphSurfaceSchema,
312
+ handler: async (input, ctx) => {
313
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
314
+ return { result };
315
+ }
316
+ });
317
+ var codegraphManageAdrOperation = defineOperation({
318
+ name: "codegraph_manage_adr",
319
+ description: "Codegraph parity tool (issue #1554): manage_adr. Delegates to the shared codegraph surface handler.",
320
+ schema: codegraphSurfaceSchema,
321
+ handler: async (input, ctx) => {
322
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
323
+ return { result };
324
+ }
325
+ });
326
+ var codegraphIngestTracesOperation = defineOperation({
327
+ name: "codegraph_ingest_traces",
328
+ description: "Codegraph parity tool (issue #1554): ingest_traces. Delegates to the shared codegraph surface handler.",
329
+ schema: codegraphSurfaceSchema,
330
+ handler: async (input, ctx) => {
331
+ const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);
332
+ return { result };
333
+ }
334
+ });
335
+ var REGISTERED_OPERATIONS = [
336
+ memoryGetOperation.spec.name,
337
+ memorySearchOperation.spec.name,
338
+ memoryStoreOperation.spec.name,
339
+ codingDecisionOperation.spec.name,
340
+ codingArchitectureOperation.spec.name,
341
+ codegraphIndexOperation.spec.name,
342
+ codegraphListProjectsOperation.spec.name,
343
+ codegraphDeleteProjectOperation.spec.name,
344
+ codegraphIndexStatusOperation.spec.name,
345
+ codegraphSearchGraphOperation.spec.name,
346
+ codegraphTracePathOperation.spec.name,
347
+ codegraphDetectChangesOperation.spec.name,
348
+ codegraphQueryGraphOperation.spec.name,
349
+ codegraphGetSchemaOperation.spec.name,
350
+ codegraphGetSnippetOperation.spec.name,
351
+ codegraphGetArchitectureOperation.spec.name,
352
+ codegraphSearchCodeOperation.spec.name,
353
+ codegraphManageAdrOperation.spec.name,
354
+ codegraphIngestTracesOperation.spec.name,
355
+ codingDeltaOperation.spec.name
356
+ ];
357
+
358
+ export {
359
+ memoryGetOperation,
360
+ memorySearchOperation,
361
+ memoryStoreOperation,
362
+ codingDecisionOperation,
363
+ codingArchitectureOperation,
364
+ codingDeltaOperation,
365
+ codegraphIndexOperation,
366
+ codegraphListProjectsOperation,
367
+ codegraphDeleteProjectOperation,
368
+ codegraphIndexStatusOperation,
369
+ codegraphSearchGraphOperation,
370
+ codegraphTracePathOperation,
371
+ codegraphDetectChangesOperation,
372
+ codegraphQueryGraphOperation,
373
+ codegraphGetSchemaOperation,
374
+ codegraphGetSnippetOperation,
375
+ codegraphGetArchitectureOperation,
376
+ codegraphSearchCodeOperation,
377
+ codegraphManageAdrOperation,
378
+ codegraphIngestTracesOperation,
379
+ REGISTERED_OPERATIONS
380
+ };
381
+ //# sourceMappingURL=chunk-CDOIDOTQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/access-operations.ts"],"sourcesContent":["/**\n * Pilot operation definitions for the access boundary (issue #1525).\n *\n * Three operations migrate through the registry in this PR — `memory_get`,\n * `memory_search`, and the `memory_store` write op — so the boundary's\n * normalization matrix (rules 17/28/36/48/51) and shared error mapping reach\n * MCP, HTTP, and CLI from one place. Domain-group migrations (memory ops →\n * connectors → namespaces …) land as follow-up PRs that add `defineOperation`\n * calls here and delete the surface-local validation they replace.\n *\n * Importing this module for its side effects registers the pilot operations;\n * surfaces then dispatch via {@link getOperation} from `./access-boundary.js`.\n */\n\nimport { z } from \"zod\";\n\nimport { defineOperation } from \"./access-boundary.js\";\nimport { memoryStoreRequestSchema, type MemoryStoreRequest } from \"./access-schema.js\";\nimport type {\n EngramAccessMemoryResponse,\n EngramAccessWriteResponse,\n} from \"./access-service.js\";\nimport {\n DECISION_SUBCOMMANDS,\n type DecisionSurfaceRequest,\n type DecisionSurfaceResponse,\n} from \"./coding/decision-surfaces.js\";\nimport {\n type ArchitectureSurfaceRequest,\n type ArchitectureSurfaceResponse,\n} from \"./coding/architecture-surfaces.js\";\nimport {\n type CodegraphSurfaceRequest,\n type CodegraphSurfaceResponse,\n isCodegraphToolName,\n} from \"./coding/codegraph-surfaces.js\";\nimport {\n DELTA_SUBCOMMANDS,\n type DeltaSurfaceRequest,\n type DeltaSurfaceResponse,\n} from \"./coding/session-delta-surfaces.js\";\n\n// ---------------------------------------------------------------------------\n// memory_get — fetch one memory by id\n// ---------------------------------------------------------------------------\n\n/**\n * `memoryId` is required and non-empty (rule 51: the MCP dispatcher previously\n * fell back to `typeof args.memoryId === \"string\" ? args.memoryId : \"\"`,\n * silently passing an empty id into the service). `namespace` is\n * `.nullable().optional()` because MCP clients send `null` (gotcha #2).\n * `namespace` has no `.min(1)` because the pre-boundary handlers forwarded\n * empty/whitespace strings, and `resolveNamespace` treats empty identically\n * to absent (both trim to falsy → default namespace). Rejecting empty would\n * break HTTP callers that send a bare `?namespace=` (Cursor review).\n */\nconst memoryGetSchema = z.object({\n memoryId: z.string().trim().min(1, \"memoryId is required\").max(512),\n namespace: z.string().trim().max(256).nullable().optional(),\n});\n\nexport interface MemoryGetInput {\n readonly memoryId: string;\n readonly namespace?: string | null;\n}\n\nexport interface MemoryGetOutput {\n readonly result: EngramAccessMemoryResponse;\n}\n\nexport const memoryGetOperation = defineOperation<MemoryGetInput, MemoryGetOutput>({\n name: \"memory_get\",\n description: \"Fetch one memory by id.\",\n schema: memoryGetSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.memoryGet(\n input.memoryId,\n input.namespace ?? undefined,\n ctx.authenticatedPrincipal,\n );\n return { result };\n },\n});\n\n// ---------------------------------------------------------------------------\n// memory_search — semantic search across memories\n// ---------------------------------------------------------------------------\n\nconst memorySearchSchema = z.object({\n query: z.string().trim().min(1, \"query is required\").max(2048),\n namespace: z.string().trim().max(256).nullable().optional(),\n // No upper cap: the pre-boundary MCP handler forwarded any finite number to\n // memorySearch, and the QMD/search backends honor large limits. Capping at\n // 100 would reject existing clients that request larger result sets.\n maxResults: z.number().int().min(1).nullable().optional(),\n collection: z.string().trim().min(1).max(256).nullable().optional(),\n});\n\nexport interface MemorySearchInput {\n readonly query: string;\n readonly namespace?: string | null;\n readonly maxResults?: number | null;\n readonly collection?: string | null;\n}\n\nexport interface MemorySearchOutput {\n readonly result: {\n readonly query: string;\n readonly results: ReadonlyArray<{ path: string; score: number; snippet: string }>;\n readonly count: number;\n };\n}\n\nexport const memorySearchOperation = defineOperation<MemorySearchInput, MemorySearchOutput>({\n name: \"memory_search\",\n description: \"Search memories across readable namespaces.\",\n schema: memorySearchSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.memorySearch({\n query: input.query,\n namespace: input.namespace ?? undefined,\n maxResults: input.maxResults ?? undefined,\n collection: input.collection ?? undefined,\n principal: ctx.authenticatedPrincipal,\n });\n return { result };\n },\n});\n\n// ---------------------------------------------------------------------------\n// memory_store — the pilot WRITE op\n// ---------------------------------------------------------------------------\n\nexport type MemoryStoreInput = MemoryStoreRequest;\n\nexport interface MemoryStoreOutput {\n readonly result: EngramAccessWriteResponse;\n}\n\nexport const memoryStoreOperation = defineOperation<MemoryStoreInput, MemoryStoreOutput>({\n name: \"memory_store\",\n description: \"Store an explicit memory through the access layer.\",\n // Reuse the existing schema verbatim — the migration is behavior-preserving;\n // the schema's external contract is NOT changing in this PR (per the issue's\n // pitfall note).\n schema: memoryStoreRequestSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.memoryStore(\n {\n ...input,\n authenticatedPrincipal: ctx.authenticatedPrincipal,\n },\n // Forward transport-level hooks (e.g. HTTP's atomic write-quota gate)\n // so the hook still fires inside the service's idempotent-write lock —\n // never before, never on a replay (#1434 invariant preserved by the\n // boundary migration).\n\n ctx.hooks,\n );\n return { result };\n },\n});\n\n// ---------------------------------------------------------------------------\n// coding_decision — decision-record surfaces (issue #1548 Track A PR 2)\n// ---------------------------------------------------------------------------\n\n/**\n * The subcommand field is required and MUST be one of the four valid values\n * (rule 51 — reject loudly, list the options, never silently default). The\n * remaining fields are optional because each subcommand uses a different\n * subset; the handler validates subcommand-specific requirements after\n * routing.\n */\n/**\n * MCP clients send `null` for absent optional fields. Zod `.optional()`\n * rejects `null`, so strip nulls at the object level before the inner\n * schema validates (review: cursor null-field thread).\n */\nconst codingDecisionSchema = z.preprocess(\n (data) => {\n if (data && typeof data === \"object\" && !Array.isArray(data)) {\n const out: Record<string, unknown> = {};\n for (const [k, v] of Object.entries(data as Record<string, unknown>)) {\n if (v !== null) out[k] = v;\n }\n return out;\n }\n return data;\n },\n z.object({\n subcommand: z.enum(DECISION_SUBCOMMANDS),\n sessionKey: z.string().trim().max(512).optional(),\n namespace: z.string().trim().max(256).optional(),\n id: z.string().trim().max(512).optional(),\n title: z.string().trim().max(512).optional(),\n status: z.string().trim().max(64).optional(),\n context: z.string().trim().max(8192).optional(),\n decision: z.string().trim().max(8192).optional(),\n consequences: z.string().trim().max(8192).optional(),\n entityRefs: z.array(z.string().trim().min(1).max(256)).optional(),\n supersedesId: z.string().trim().max(512).optional(),\n }),\n);\n\nexport type CodingDecisionInput = DecisionSurfaceRequest;\nexport type CodingDecisionOutput = { result: DecisionSurfaceResponse };\n\nexport const codingDecisionOperation = defineOperation<\n CodingDecisionInput,\n CodingDecisionOutput\n>({\n name: \"coding_decision\",\n description:\n \"List, get, record, or supersede decision records in the session's coding namespace (issue #1548 Track A).\",\n schema: codingDecisionSchema as z.ZodType<CodingDecisionInput>,\n handler: async (input, ctx) => {\n const result = await ctx.service.codingDecision(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\n// ---------------------------------------------------------------------------\n// coding_architecture — architecture-card surfaces (issue #1548 Track A PR 3)\n// ---------------------------------------------------------------------------\n\nconst codingArchitectureSchema = z.preprocess(\n (data) => {\n if (data !== null && typeof data === \"object\" && !Array.isArray(data)) {\n const obj = data as Record<string, unknown>;\n const cleaned: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(obj)) {\n if (value !== null) cleaned[key] = value;\n }\n return cleaned;\n }\n return data;\n },\n z.object({\n subcommand: z.enum([\"get\", \"refresh\"]),\n sessionKey: z.string().optional(),\n namespace: z.string().optional(),\n }),\n);\n\nexport type CodingArchitectureInput = ArchitectureSurfaceRequest;\nexport type CodingArchitectureOutput = { result: ArchitectureSurfaceResponse };\n\nexport const codingArchitectureOperation = defineOperation<\n CodingArchitectureInput,\n CodingArchitectureOutput\n>({\n name: \"coding_architecture\",\n description:\n \"Get or refresh the architecture card for the session's coding namespace (issue #1548 Track A PR 3).\",\n schema: codingArchitectureSchema as z.ZodType<CodingArchitectureInput>,\n handler: async (input, ctx) => {\n const result = await ctx.service.codingArchitecture(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nconst codegraphSurfaceSchema = z.preprocess(\n (data) => {\n if (data !== null && typeof data === \"object\" && !Array.isArray(data)) {\n const obj = data as Record<string, unknown>;\n const cleaned: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(obj)) {\n if (value !== null) cleaned[key] = value;\n }\n return cleaned;\n }\n return data;\n },\n z.object({\n tool: z.string().refine(isCodegraphToolName, {\n message: \"tool must be one of the codegraph tool names\",\n }),\n sessionKey: z.string().max(512).optional(),\n principal: z.string().max(256).optional(),\n project: z.string().max(256).optional(),\n query: z.string().max(2048).optional(),\n limit: z.number().int().positive().max(200).optional(),\n start: z.string().max(512).optional(),\n direction: z.string().max(64).optional(),\n depth: z.number().int().positive().max(10).optional(),\n qualifiedName: z.string().max(1024).optional(),\n path: z.string().max(2048).optional(),\n structuredQuery: z.record(z.string(), z.unknown()).optional(),\n head: z.string().max(256).optional(),\n repoRoot: z.string().max(2048).optional(),\n mode: z.string().max(64).optional(),\n confirm: z.boolean().optional(),\n subcommand: z.string().max(64).optional(),\n id: z.string().max(512).optional(),\n title: z.string().max(512).optional(),\n status: z.string().max(64).optional(),\n context: z.string().max(8192).optional(),\n decision: z.string().max(8192).optional(),\n consequences: z.string().max(8192).optional(),\n entityRefs: z.array(z.string().max(256)).optional(),\n supersedesId: z.string().max(512).optional(),\n traces: z.array(z.unknown()).optional(),\n }),\n) as z.ZodType<CodegraphSurfaceRequest>;\n\n// ---------------------------------------------------------------------------\n// coding_delta — session-delta surface (issue #1548 Track A PR 4)\n// ---------------------------------------------------------------------------\n\nconst codingDeltaSchema = z.preprocess(\n (data) => {\n if (data !== null && typeof data === \"object\" && !Array.isArray(data)) {\n const obj = data as Record<string, unknown>;\n const cleaned: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(obj)) {\n if (value !== null) cleaned[key] = value;\n }\n return cleaned;\n }\n return data;\n },\n z.object({\n subcommand: z.enum(DELTA_SUBCOMMANDS),\n sessionKey: z.string().trim().max(512).optional(),\n namespace: z.string().trim().max(256).optional(),\n }),\n);\n\nexport type CodingDeltaInput = DeltaSurfaceRequest;\nexport type CodingDeltaOutput = { result: DeltaSurfaceResponse };\n\nexport const codingDeltaOperation = defineOperation<\n CodingDeltaInput,\n CodingDeltaOutput\n>({\n name: \"coding_delta\",\n description:\n \"Get the session delta (commits + touched files since last seen) for the session's coding namespace (issue #1548 Track A PR 4).\",\n schema: codingDeltaSchema as z.ZodType<CodingDeltaInput>,\n handler: async (input, ctx) => {\n const result = await ctx.service.codingDelta(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\n// ---------------------------------------------------------------------------\n// Surface registration map — what each transport calls the pilot ops\n// ---------------------------------------------------------------------------\n\n/**\n * The canonical short names (no `engram.`/`remnic.` prefix) of the operations\n * the boundary owns today. The fitness test treats this set as the migrated\n * set; everything else on a surface is unmigrated and counted by the ratchet.\n */\nexport const codegraphIndexOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_index\",\n description:\n \"Codegraph parity tool (issue #1554): index. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphListProjectsOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_list_projects\",\n description:\n \"Codegraph parity tool (issue #1554): list_projects. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphDeleteProjectOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_delete_project\",\n description:\n \"Codegraph parity tool (issue #1554): delete_project. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphIndexStatusOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_index_status\",\n description:\n \"Codegraph parity tool (issue #1554): index_status. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphSearchGraphOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_search_graph\",\n description:\n \"Codegraph parity tool (issue #1554): search_graph. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphTracePathOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_trace_path\",\n description:\n \"Codegraph parity tool (issue #1554): trace_path. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphDetectChangesOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_detect_changes\",\n description:\n \"Codegraph parity tool (issue #1554): detect_changes. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphQueryGraphOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_query_graph\",\n description:\n \"Codegraph parity tool (issue #1554): query_graph. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphGetSchemaOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_get_schema\",\n description:\n \"Codegraph parity tool (issue #1554): get_schema. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphGetSnippetOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_get_snippet\",\n description:\n \"Codegraph parity tool (issue #1554): get_snippet. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphGetArchitectureOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_get_architecture\",\n description:\n \"Codegraph parity tool (issue #1554): get_architecture. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphSearchCodeOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_search_code\",\n description:\n \"Codegraph parity tool (issue #1554): search_code. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphManageAdrOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_manage_adr\",\n description:\n \"Codegraph parity tool (issue #1554): manage_adr. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const codegraphIngestTracesOperation = defineOperation<\n CodegraphSurfaceRequest,\n { result: CodegraphSurfaceResponse }\n>({\n name: \"codegraph_ingest_traces\",\n description:\n \"Codegraph parity tool (issue #1554): ingest_traces. Delegates to the shared codegraph surface handler.\",\n schema: codegraphSurfaceSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.codegraphTool(input, ctx.authenticatedPrincipal);\n return { result };\n },\n});\n\nexport const REGISTERED_OPERATIONS = [\n memoryGetOperation.spec.name,\n memorySearchOperation.spec.name,\n memoryStoreOperation.spec.name,\n codingDecisionOperation.spec.name,\n codingArchitectureOperation.spec.name,\n codegraphIndexOperation.spec.name,\n codegraphListProjectsOperation.spec.name,\n codegraphDeleteProjectOperation.spec.name,\n codegraphIndexStatusOperation.spec.name,\n codegraphSearchGraphOperation.spec.name,\n codegraphTracePathOperation.spec.name,\n codegraphDetectChangesOperation.spec.name,\n codegraphQueryGraphOperation.spec.name,\n codegraphGetSchemaOperation.spec.name,\n codegraphGetSnippetOperation.spec.name,\n codegraphGetArchitectureOperation.spec.name,\n codegraphSearchCodeOperation.spec.name,\n codegraphManageAdrOperation.spec.name,\n codegraphIngestTracesOperation.spec.name,\n codingDeltaOperation.spec.name,\n] as const;\n"],"mappings":";;;;;;;;;;;;;AAcA,SAAS,SAAS;AA0ClB,IAAM,kBAAkB,EAAE,OAAO;AAAA,EAC/B,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,GAAG,sBAAsB,EAAE,IAAI,GAAG;AAAA,EAClE,WAAW,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,GAAG,EAAE,SAAS,EAAE,SAAS;AAC5D,CAAC;AAWM,IAAM,qBAAqB,gBAAiD;AAAA,EACjF,MAAM;AAAA,EACN,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,SAAS,OAAO,OAAO,QAAQ;AAC7B,UAAM,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CAAkC,KAAK;AAAA,EACvC,6BAA6B,KAAK;AAAA,EAClC,4BAA4B,KAAK;AAAA,EACjC,+BAA+B,KAAK;AAAA,EACpC,qBAAqB,KAAK;AAC5B;","names":[]}
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UFS7OXGL.js";
5
5
  import {
6
6
  StorageManager
7
- } from "./chunk-VFVG4NS2.js";
7
+ } from "./chunk-NXNUG7IA.js";
8
8
  import {
9
9
  parseContinuityImprovementLoops
10
10
  } from "./chunk-LDXUBPMO.js";
@@ -1261,4 +1261,4 @@ export {
1261
1261
  defaultTierMigrationCycleBudget,
1262
1262
  CompoundingEngine
1263
1263
  };
1264
- //# sourceMappingURL=chunk-UOCLRM74.js.map
1264
+ //# sourceMappingURL=chunk-D7PQ7HZL.js.map
@@ -3,7 +3,7 @@ import {
3
3
  readNamespaceMaintenanceLastRanStatuses,
4
4
  readNamespaceMaintenanceStatuses,
5
5
  runNamespaceMaintenancePlan
6
- } from "./chunk-4IQNAOP3.js";
6
+ } from "./chunk-SN5DFE34.js";
7
7
 
8
8
  // src/maintenance/namespace-maintenance-fanout.ts
9
9
  var NAMESPACE_MAINTENANCE_JOBS = [
@@ -146,4 +146,4 @@ export {
146
146
  summarizeNamespaceMaintenanceHealth,
147
147
  formatNamespaceMaintenanceHealthText
148
148
  };
149
- //# sourceMappingURL=chunk-HXNMDPHN.js.map
149
+ //# sourceMappingURL=chunk-DT2ZGQT7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runPostConsolidationMaterialize
3
- } from "./chunk-ADUAF5EV.js";
3
+ } from "./chunk-24FCDBJV.js";
4
4
  import {
5
5
  discoverMemoryExtensions,
6
6
  renderExtensionsBlock,
@@ -217,4 +217,4 @@ export {
217
217
  buildExtensionsBlockForConsolidation,
218
218
  materializeAfterSemanticConsolidation
219
219
  };
220
- //# sourceMappingURL=chunk-QFG23CRE.js.map
220
+ //# sourceMappingURL=chunk-EPVIBPVE.js.map