@remnic/core 9.7.10 → 9.7.12

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 (297) hide show
  1. package/dist/access-admin-ops-surface.d.ts +6 -6
  2. package/dist/access-admin-ops-surface.js +7 -7
  3. package/dist/access-boundary.d.ts +7 -7
  4. package/dist/access-boundary.js +8 -8
  5. package/dist/access-cli.js +31 -31
  6. package/dist/access-http.d.ts +8 -7
  7. package/dist/access-http.js +12 -12
  8. package/dist/access-identity-continuity-surface.d.ts +5 -5
  9. package/dist/access-identity-continuity-surface.js +7 -7
  10. package/dist/access-lcm-surface.d.ts +6 -6
  11. package/dist/access-lcm-surface.js +7 -7
  12. package/dist/access-mcp.d.ts +6 -6
  13. package/dist/access-mcp.js +11 -11
  14. package/dist/access-observe-write-surface.d.ts +6 -6
  15. package/dist/access-observe-write-surface.js +7 -7
  16. package/dist/access-operations-batch.js +9 -9
  17. package/dist/access-operations.d.ts +10 -10
  18. package/dist/access-operations.js +10 -10
  19. package/dist/access-recall-surface.d.ts +6 -6
  20. package/dist/access-recall-surface.js +7 -7
  21. package/dist/access-schema.d.ts +64 -64
  22. package/dist/{access-service-DSuzikHQ.d.ts → access-service-tHd3eQpd.d.ts} +4 -4
  23. package/dist/access-service.d.ts +6 -6
  24. package/dist/access-service.js +7 -7
  25. package/dist/access-surface-catalog.d.ts +6 -6
  26. package/dist/access-surface-catalog.js +2 -0
  27. package/dist/access-surface-catalog.js.map +1 -1
  28. package/dist/action-confidence.d.ts +1 -1
  29. package/dist/active-memory-bridge.d.ts +1 -1
  30. package/dist/active-recall.d.ts +1 -1
  31. package/dist/active-recall.js +1 -1
  32. package/dist/behavior-learner.d.ts +1 -1
  33. package/dist/behavior-signals.d.ts +1 -1
  34. package/dist/bootstrap.d.ts +5 -5
  35. package/dist/briefing.d.ts +2 -2
  36. package/dist/briefing.js +3 -3
  37. package/dist/buffer-surprise-report.d.ts +1 -1
  38. package/dist/buffer.d.ts +2 -2
  39. package/dist/bulk-import/index.d.ts +3 -3
  40. package/dist/calibration.d.ts +1 -1
  41. package/dist/capabilities.d.ts +1 -1
  42. package/dist/{catalog-BNwjACa5.d.ts → catalog-DEMiw6HZ.d.ts} +48 -1
  43. package/dist/causal-behavior.d.ts +1 -1
  44. package/dist/causal-consolidation.d.ts +1 -1
  45. package/dist/causal-consolidation.js +4 -4
  46. package/dist/causal-trajectory-graph.d.ts +1 -1
  47. package/dist/{chunk-U4KHQTJ6.js → chunk-2AL7N3BH.js} +4 -2
  48. package/dist/{chunk-U4KHQTJ6.js.map → chunk-2AL7N3BH.js.map} +1 -1
  49. package/dist/{chunk-L4H6MQ7I.js → chunk-2RSL6YRA.js} +2 -2
  50. package/dist/{chunk-7EX4YOKH.js → chunk-2ZPQUTMW.js} +4 -4
  51. package/dist/{chunk-673NPXE3.js → chunk-3SIC3E65.js} +2 -2
  52. package/dist/{chunk-OVMS3DCB.js → chunk-675YU5IK.js} +2 -2
  53. package/dist/{chunk-7LMEY5KZ.js → chunk-6N7R7TR2.js} +34 -1
  54. package/dist/chunk-6N7R7TR2.js.map +1 -0
  55. package/dist/{chunk-7CKS4AXY.js → chunk-AOWPZ7TM.js} +17 -17
  56. package/dist/{chunk-TGBJ2OMK.js → chunk-BQTSGK5Y.js} +2 -2
  57. package/dist/{chunk-UZRIKUFS.js → chunk-CE3GMHT4.js} +4 -2
  58. package/dist/chunk-CE3GMHT4.js.map +1 -0
  59. package/dist/{chunk-YXOAQAH2.js → chunk-CLFY35ED.js} +3 -3
  60. package/dist/{chunk-HQ7QZJM5.js → chunk-D4TLWDYR.js} +2 -2
  61. package/dist/{chunk-LQKITFGB.js → chunk-FUUF7FMX.js} +2 -2
  62. package/dist/{chunk-3ZVFLMFQ.js → chunk-G5PVJJRA.js} +1 -1
  63. package/dist/chunk-G5PVJJRA.js.map +1 -0
  64. package/dist/{chunk-MXRMNKSY.js → chunk-I3GKTDM2.js} +3 -3
  65. package/dist/{chunk-EQF5763Z.js → chunk-IQULRIZM.js} +2 -2
  66. package/dist/{chunk-DJCKXI4M.js → chunk-NVXQTRBL.js} +2 -2
  67. package/dist/{chunk-VDLMAJXS.js → chunk-OCY3CRPG.js} +3 -3
  68. package/dist/{chunk-YLTG6BO4.js → chunk-OIFZII6J.js} +2 -2
  69. package/dist/{chunk-XF4KOVDK.js → chunk-PA6DMYEK.js} +6 -6
  70. package/dist/{chunk-3OQ4IZJN.js → chunk-QPZCAVDC.js} +7 -7
  71. package/dist/{chunk-DLWYAN6A.js → chunk-T6U7HDIY.js} +2 -2
  72. package/dist/chunk-TITSEN2M.js +1794 -0
  73. package/dist/chunk-TITSEN2M.js.map +1 -0
  74. package/dist/{chunk-JZM5QUTE.js → chunk-TMGK6YE7.js} +171 -9
  75. package/dist/chunk-TMGK6YE7.js.map +1 -0
  76. package/dist/{chunk-KXLRMM35.js → chunk-TRH533CA.js} +30 -7
  77. package/dist/chunk-TRH533CA.js.map +1 -0
  78. package/dist/{chunk-UTDA43TB.js → chunk-TWGGNUWJ.js} +2 -2
  79. package/dist/{chunk-SBFDL2EQ.js → chunk-UTZW3X2R.js} +2 -2
  80. package/dist/{chunk-SECMZACR.js → chunk-XUQUBZ7O.js} +2 -2
  81. package/dist/{chunk-N3LWQJ6Y.js → chunk-YI7XUXLX.js} +309 -16
  82. package/dist/chunk-YI7XUXLX.js.map +1 -0
  83. package/dist/{chunk-QVALQE4P.js → chunk-ZASJ53ML.js} +128 -10
  84. package/dist/chunk-ZASJ53ML.js.map +1 -0
  85. package/dist/{chunk-WUDBMLC6.js → chunk-ZC3HG22I.js} +2 -2
  86. package/dist/{chunk-VCEH5UYS.js → chunk-ZRXSHGXT.js} +2 -2
  87. package/dist/{cli-DACyuK8-.d.ts → cli-D8Tsa4Sh.d.ts} +5 -5
  88. package/dist/cli.d.ts +8 -8
  89. package/dist/cli.js +25 -25
  90. package/dist/compounding/engine.d.ts +2 -2
  91. package/dist/compounding/engine.js +3 -3
  92. package/dist/compounding/preference-consolidator.d.ts +1 -1
  93. package/dist/compression-optimizer.d.ts +1 -1
  94. package/dist/config.d.ts +1 -1
  95. package/dist/config.js +1 -1
  96. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  97. package/dist/connectors/codex-materialize-runner.js +3 -3
  98. package/dist/connectors/codex-materialize.d.ts +1 -1
  99. package/dist/connectors/index.d.ts +1 -1
  100. package/dist/connectors/index.js +3 -3
  101. package/dist/consolidation-provenance-check.d.ts +2 -2
  102. package/dist/consolidation-undo.d.ts +2 -2
  103. package/dist/contradiction/index.d.ts +2 -2
  104. package/dist/conversation-index/backend.d.ts +1 -1
  105. package/dist/conversation-index/chunker.d.ts +1 -1
  106. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  107. package/dist/conversation-index/indexer.d.ts +1 -1
  108. package/dist/conversation-index/search.d.ts +1 -1
  109. package/dist/day-summary.d.ts +1 -1
  110. package/dist/delinearize.d.ts +1 -1
  111. package/dist/direct-answer-wiring.d.ts +1 -1
  112. package/dist/direct-answer.d.ts +1 -1
  113. package/dist/embedding-fallback.d.ts +1 -1
  114. package/dist/enrichment/index.d.ts +1 -1
  115. package/dist/entity-retrieval.d.ts +2 -2
  116. package/dist/entity-retrieval.js +3 -3
  117. package/dist/entity-schema.d.ts +1 -1
  118. package/dist/explicit-capture.d.ts +5 -5
  119. package/dist/extraction-faithfulness.d.ts +1 -1
  120. package/dist/extraction-judge-telemetry.d.ts +1 -1
  121. package/dist/extraction-judge-training.d.ts +1 -1
  122. package/dist/extraction-judge.d.ts +1 -1
  123. package/dist/extraction.d.ts +1 -1
  124. package/dist/fallback-llm.d.ts +1 -1
  125. package/dist/graph-dashboard-diff.d.ts +1 -1
  126. package/dist/graph-dashboard-key.d.ts +1 -1
  127. package/dist/graph-dashboard-parser.d.ts +1 -1
  128. package/dist/graph-edge-reinforcement.d.ts +1 -1
  129. package/dist/graph-snapshot.d.ts +1 -1
  130. package/dist/graph.d.ts +1 -1
  131. package/dist/identity-continuity.d.ts +1 -1
  132. package/dist/importance.d.ts +1 -1
  133. package/dist/importers/index.d.ts +1 -1
  134. package/dist/in-flight-reads.d.ts +1 -1
  135. package/dist/index.d.ts +4002 -16
  136. package/dist/index.js +78 -31
  137. package/dist/intent.d.ts +1 -1
  138. package/dist/lcm/engine.d.ts +1 -1
  139. package/dist/lcm/index.d.ts +1 -1
  140. package/dist/lcm/tools.d.ts +1 -1
  141. package/dist/lifecycle.d.ts +1 -1
  142. package/dist/live-connectors-runner.d.ts +1 -1
  143. package/dist/local-llm.d.ts +1 -1
  144. package/dist/local-model-endpoint.d.ts +1 -1
  145. package/dist/maintenance/memory-governance.d.ts +1 -1
  146. package/dist/maintenance/memory-governance.js +3 -3
  147. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
  148. package/dist/maintenance/rebuild-memory-projection.js +4 -4
  149. package/dist/mcp-memory-inspector-app.d.ts +6 -6
  150. package/dist/memory-action-policy.d.ts +1 -1
  151. package/dist/memory-cache.d.ts +1 -1
  152. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  153. package/dist/memory-projection-store.d.ts +1 -1
  154. package/dist/memory-provenance.d.ts +1 -1
  155. package/dist/memory-worth-outcomes.d.ts +2 -2
  156. package/dist/models-json.d.ts +1 -1
  157. package/dist/namespaces/migrate.d.ts +3 -3
  158. package/dist/namespaces/migrate.js +4 -4
  159. package/dist/namespaces/principal.d.ts +1 -1
  160. package/dist/namespaces/search.d.ts +1 -1
  161. package/dist/namespaces/storage.d.ts +3 -3
  162. package/dist/namespaces/storage.js +3 -3
  163. package/dist/native-knowledge.d.ts +1 -1
  164. package/dist/operator-toolkit.d.ts +2 -2
  165. package/dist/operator-toolkit.js +8 -8
  166. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  167. package/dist/orchestration/maintenance.d.ts +2 -2
  168. package/dist/orchestration/maintenance.js +5 -5
  169. package/dist/{orchestrator-D83AvrPf.d.ts → orchestrator-B_WXBmuE.d.ts} +4 -4
  170. package/dist/orchestrator.d.ts +5 -5
  171. package/dist/orchestrator.js +31 -31
  172. package/dist/patterns-cli.d.ts +1 -1
  173. package/dist/{pipeline-BSqGpYl1.d.ts → pipeline-Dvtvt141.d.ts} +1 -1
  174. package/dist/policy-runtime.d.ts +1 -1
  175. package/dist/provenance.d.ts +1 -1
  176. package/dist/{qmd-CutnpRVe.d.ts → qmd-DwBLh_hl.d.ts} +1 -1
  177. package/dist/qmd-preflight.d.ts +2 -2
  178. package/dist/qmd-recall-cache.d.ts +1 -1
  179. package/dist/qmd.d.ts +2 -2
  180. package/dist/recall-disclosure-escalation.d.ts +1 -1
  181. package/dist/recall-explain-renderer.d.ts +1 -1
  182. package/dist/recall-explain-renderer.js +3 -3
  183. package/dist/recall-planner-llm.d.ts +1 -1
  184. package/dist/recall-state.d.ts +1 -1
  185. package/dist/recall-tag-filter.d.ts +1 -1
  186. package/dist/recall-timings.d.ts +1 -1
  187. package/dist/recall-xray-cli.d.ts +1 -1
  188. package/dist/recall-xray-cli.js +4 -4
  189. package/dist/recall-xray-renderer.d.ts +1 -1
  190. package/dist/recall-xray-renderer.js +3 -3
  191. package/dist/recall-xray.d.ts +1 -1
  192. package/dist/recall-xray.js +2 -2
  193. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  194. package/dist/replay/normalizers/claude.d.ts +1 -1
  195. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  196. package/dist/replay/normalizers/shared.d.ts +1 -1
  197. package/dist/replay/runner.d.ts +1 -1
  198. package/dist/replay/types.d.ts +1 -1
  199. package/dist/resolve-auth-token.d.ts +1 -1
  200. package/dist/resume-bundles.js +2 -2
  201. package/dist/retrieval-agents.d.ts +2 -2
  202. package/dist/retrieval-tiers.d.ts +1 -1
  203. package/dist/routing/engine.d.ts +1 -1
  204. package/dist/routing/store.d.ts +1 -1
  205. package/dist/schemas.d.ts +52 -52
  206. package/dist/search/embed-helper.d.ts +1 -1
  207. package/dist/search/factory.d.ts +1 -1
  208. package/dist/search/index.d.ts +1 -1
  209. package/dist/search/lancedb-backend.d.ts +1 -1
  210. package/dist/search/meilisearch-backend.d.ts +1 -1
  211. package/dist/search/noop-backend.d.ts +1 -1
  212. package/dist/search/orama-backend.d.ts +1 -1
  213. package/dist/search/port.d.ts +1 -1
  214. package/dist/search/remote-backend.d.ts +1 -1
  215. package/dist/{semantic-consolidation-btIVRC4l.d.ts → semantic-consolidation-Dia_6FOn.d.ts} +1 -1
  216. package/dist/semantic-consolidation.d.ts +2 -2
  217. package/dist/semantic-consolidation.js +4 -4
  218. package/dist/semantic-rule-promotion.js +3 -3
  219. package/dist/semantic-rule-verifier.d.ts +1 -1
  220. package/dist/semantic-rule-verifier.js +3 -3
  221. package/dist/session-observer-bands.d.ts +1 -1
  222. package/dist/session-observer-state.d.ts +1 -1
  223. package/dist/shared-context/manager.d.ts +9 -9
  224. package/dist/signal.d.ts +1 -1
  225. package/dist/{storage-BVv_Mqa0.d.ts → storage-RshM7i8-.d.ts} +18 -1
  226. package/dist/storage.d.ts +2 -2
  227. package/dist/storage.js +2 -2
  228. package/dist/summarizer.d.ts +1 -1
  229. package/dist/summary-snapshot.d.ts +1 -1
  230. package/dist/temporal-supersession.d.ts +2 -2
  231. package/dist/temporal-timeline-recall.d.ts +1 -1
  232. package/dist/temporal-validity.d.ts +1 -1
  233. package/dist/threading.d.ts +1 -1
  234. package/dist/tier-migration.d.ts +2 -2
  235. package/dist/tier-routing.d.ts +1 -1
  236. package/dist/topics.d.ts +1 -1
  237. package/dist/transcript.d.ts +1 -1
  238. package/dist/transfer/types.d.ts +66 -66
  239. package/dist/trust-score-stage.d.ts +1 -1
  240. package/dist/trust-score.d.ts +1 -1
  241. package/dist/{types-Cmkz7csa.d.ts → types-CHSXOq7s.d.ts} +34 -0
  242. package/dist/types.d.ts +1 -1
  243. package/dist/types.js +1 -1
  244. package/dist/utility-runtime.d.ts +1 -1
  245. package/dist/verified-recall.js +3 -3
  246. package/package.json +2 -2
  247. package/src/access-boundary.ts +2 -0
  248. package/src/access-http.ts +147 -6
  249. package/src/access-mcp-cancellation.test.ts +2 -2
  250. package/src/access-operations.ts +2 -0
  251. package/src/access-surface-catalog.ts +2 -0
  252. package/src/config.test.ts +44 -0
  253. package/src/config.ts +43 -0
  254. package/src/index.ts +53 -0
  255. package/src/namespaces/catalog.test.ts +258 -0
  256. package/src/namespaces/catalog.ts +235 -10
  257. package/src/namespaces/storage.ts +9 -0
  258. package/src/orchestrator.ts +3 -0
  259. package/src/relay/mission-access.test.ts +379 -0
  260. package/src/relay/mission-access.ts +125 -0
  261. package/src/relay/mission-fixture.ts +301 -0
  262. package/src/relay/mission.test.ts +964 -0
  263. package/src/relay/mission.ts +1725 -0
  264. package/src/storage-catalog-touch-gating.test.ts +70 -0
  265. package/src/storage.ts +31 -5
  266. package/src/types.ts +34 -0
  267. package/dist/chunk-3ZVFLMFQ.js.map +0 -1
  268. package/dist/chunk-7LMEY5KZ.js.map +0 -1
  269. package/dist/chunk-FNJX2O6G.js +0 -467
  270. package/dist/chunk-FNJX2O6G.js.map +0 -1
  271. package/dist/chunk-JZM5QUTE.js.map +0 -1
  272. package/dist/chunk-KXLRMM35.js.map +0 -1
  273. package/dist/chunk-N3LWQJ6Y.js.map +0 -1
  274. package/dist/chunk-QVALQE4P.js.map +0 -1
  275. package/dist/chunk-UZRIKUFS.js.map +0 -1
  276. /package/dist/{chunk-L4H6MQ7I.js.map → chunk-2RSL6YRA.js.map} +0 -0
  277. /package/dist/{chunk-7EX4YOKH.js.map → chunk-2ZPQUTMW.js.map} +0 -0
  278. /package/dist/{chunk-673NPXE3.js.map → chunk-3SIC3E65.js.map} +0 -0
  279. /package/dist/{chunk-OVMS3DCB.js.map → chunk-675YU5IK.js.map} +0 -0
  280. /package/dist/{chunk-7CKS4AXY.js.map → chunk-AOWPZ7TM.js.map} +0 -0
  281. /package/dist/{chunk-TGBJ2OMK.js.map → chunk-BQTSGK5Y.js.map} +0 -0
  282. /package/dist/{chunk-YXOAQAH2.js.map → chunk-CLFY35ED.js.map} +0 -0
  283. /package/dist/{chunk-HQ7QZJM5.js.map → chunk-D4TLWDYR.js.map} +0 -0
  284. /package/dist/{chunk-LQKITFGB.js.map → chunk-FUUF7FMX.js.map} +0 -0
  285. /package/dist/{chunk-MXRMNKSY.js.map → chunk-I3GKTDM2.js.map} +0 -0
  286. /package/dist/{chunk-EQF5763Z.js.map → chunk-IQULRIZM.js.map} +0 -0
  287. /package/dist/{chunk-DJCKXI4M.js.map → chunk-NVXQTRBL.js.map} +0 -0
  288. /package/dist/{chunk-VDLMAJXS.js.map → chunk-OCY3CRPG.js.map} +0 -0
  289. /package/dist/{chunk-YLTG6BO4.js.map → chunk-OIFZII6J.js.map} +0 -0
  290. /package/dist/{chunk-XF4KOVDK.js.map → chunk-PA6DMYEK.js.map} +0 -0
  291. /package/dist/{chunk-3OQ4IZJN.js.map → chunk-QPZCAVDC.js.map} +0 -0
  292. /package/dist/{chunk-DLWYAN6A.js.map → chunk-T6U7HDIY.js.map} +0 -0
  293. /package/dist/{chunk-UTDA43TB.js.map → chunk-TWGGNUWJ.js.map} +0 -0
  294. /package/dist/{chunk-SBFDL2EQ.js.map → chunk-UTZW3X2R.js.map} +0 -0
  295. /package/dist/{chunk-SECMZACR.js.map → chunk-XUQUBZ7O.js.map} +0 -0
  296. /package/dist/{chunk-WUDBMLC6.js.map → chunk-ZC3HG22I.js.map} +0 -0
  297. /package/dist/{chunk-VCEH5UYS.js.map → chunk-ZRXSHGXT.js.map} +0 -0
@@ -51,12 +51,12 @@ import {
51
51
  } from "./chunk-AJVLDJU6.js";
52
52
  import {
53
53
  rebuildMemoryLifecycleLedger
54
- } from "./chunk-SBFDL2EQ.js";
54
+ } from "./chunk-UTZW3X2R.js";
55
55
  import {
56
56
  rebuildMemoryProjection,
57
57
  repairMemoryProjection,
58
58
  verifyMemoryProjection
59
- } from "./chunk-MXRMNKSY.js";
59
+ } from "./chunk-I3GKTDM2.js";
60
60
  import {
61
61
  rebuildObservations
62
62
  } from "./chunk-LZZNTPLR.js";
@@ -77,7 +77,7 @@ import {
77
77
  } from "./chunk-GQL52GQ5.js";
78
78
  import {
79
79
  searchVerifiedEpisodes
80
- } from "./chunk-YLTG6BO4.js";
80
+ } from "./chunk-OIFZII6J.js";
81
81
  import {
82
82
  getUtilityLearningStatus,
83
83
  learnUtilityPromotionWeights
@@ -91,10 +91,10 @@ import {
91
91
  } from "./chunk-DBRYEIGY.js";
92
92
  import {
93
93
  promoteSemanticRuleFromMemory
94
- } from "./chunk-WUDBMLC6.js";
94
+ } from "./chunk-ZC3HG22I.js";
95
95
  import {
96
96
  searchVerifiedSemanticRules
97
- } from "./chunk-EQF5763Z.js";
97
+ } from "./chunk-IQULRIZM.js";
98
98
  import {
99
99
  resolveAgentAccessAuthToken
100
100
  } from "./chunk-TGQ2NTWH.js";
@@ -102,7 +102,7 @@ import {
102
102
  buildResumeBundleFromState,
103
103
  getResumeBundleStatus,
104
104
  recordResumeBundle
105
- } from "./chunk-DJCKXI4M.js";
105
+ } from "./chunk-NVXQTRBL.js";
106
106
  import {
107
107
  getWorkProductLedgerStatus,
108
108
  recordWorkProductLedgerEntry,
@@ -113,7 +113,7 @@ import {
113
113
  } from "./chunk-5EZXHU36.js";
114
114
  import {
115
115
  parseXrayCliOptions
116
- } from "./chunk-YXOAQAH2.js";
116
+ } from "./chunk-CLFY35ED.js";
117
117
  import {
118
118
  formatNamespaceMaintenanceHealthText,
119
119
  runBenchmarkRecall,
@@ -122,12 +122,12 @@ import {
122
122
  runOperatorInventory,
123
123
  runOperatorRepair,
124
124
  runOperatorSetup
125
- } from "./chunk-XF4KOVDK.js";
125
+ } from "./chunk-PA6DMYEK.js";
126
126
  import {
127
127
  listNamespaces,
128
128
  runNamespaceMigration,
129
129
  verifyNamespaces
130
- } from "./chunk-VCEH5UYS.js";
130
+ } from "./chunk-ZRXSHGXT.js";
131
131
  import {
132
132
  analyzeSessionIntegrity,
133
133
  applySessionRepair,
@@ -207,13 +207,13 @@ import {
207
207
  } from "./chunk-UQ7RN5HK.js";
208
208
  import {
209
209
  parseConfig
210
- } from "./chunk-7LMEY5KZ.js";
210
+ } from "./chunk-6N7R7TR2.js";
211
211
  import {
212
212
  getAbstractionNodeStoreStatus
213
213
  } from "./chunk-OADWQ5CR.js";
214
214
  import {
215
215
  EngramAccessHttpServer
216
- } from "./chunk-QVALQE4P.js";
216
+ } from "./chunk-ZASJ53ML.js";
217
217
  import {
218
218
  WearablesInputError
219
219
  } from "./chunk-V7IZKJI3.js";
@@ -226,10 +226,10 @@ import {
226
226
  createProductionChatLlmAdapter,
227
227
  loadChatSession,
228
228
  sessionBelongsToPrincipal
229
- } from "./chunk-VDLMAJXS.js";
229
+ } from "./chunk-OCY3CRPG.js";
230
230
  import {
231
231
  EngramAccessService
232
- } from "./chunk-3OQ4IZJN.js";
232
+ } from "./chunk-QPZCAVDC.js";
233
233
  import {
234
234
  WorkStorage
235
235
  } from "./chunk-GDB4J2H3.js";
@@ -246,13 +246,13 @@ import {
246
246
  parseRecallExplainFormat,
247
247
  renderRecallExplain,
248
248
  renderXray
249
- } from "./chunk-OVMS3DCB.js";
249
+ } from "./chunk-675YU5IK.js";
250
250
  import {
251
251
  listMemoryGovernanceRuns,
252
252
  readMemoryGovernanceRunArtifact,
253
253
  restoreMemoryGovernanceRun,
254
254
  runMemoryGovernance
255
- } from "./chunk-L4H6MQ7I.js";
255
+ } from "./chunk-2RSL6YRA.js";
256
256
  import {
257
257
  getObjectiveStateStoreStatus
258
258
  } from "./chunk-6HMYUWXR.js";
@@ -268,7 +268,7 @@ import {
268
268
  import {
269
269
  RECALL_DISCLOSURE_LEVELS,
270
270
  isRecallDisclosure
271
- } from "./chunk-3ZVFLMFQ.js";
271
+ } from "./chunk-G5PVJJRA.js";
272
272
  import {
273
273
  bumpMemoryCorpusVersionForDir
274
274
  } from "./chunk-OKUEZOGW.js";
@@ -7617,4 +7617,4 @@ export {
7617
7617
  listMemoryMarkdownFilePaths,
7618
7618
  registerCli
7619
7619
  };
7620
- //# sourceMappingURL=chunk-7CKS4AXY.js.map
7620
+ //# sourceMappingURL=chunk-AOWPZ7TM.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  compareEntityTimestamps,
6
6
  normalizeEntityName
7
- } from "./chunk-KXLRMM35.js";
7
+ } from "./chunk-TRH533CA.js";
8
8
  import {
9
9
  resolveNamespaceCapabilities
10
10
  } from "./chunk-BFPETA3S.js";
@@ -682,4 +682,4 @@ export {
682
682
  entityIndexVersion,
683
683
  entityRecentTranscriptLookbackHours
684
684
  };
685
- //# sourceMappingURL=chunk-TGBJ2OMK.js.map
685
+ //# sourceMappingURL=chunk-BQTSGK5Y.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-D7FOKIY5.js";
6
6
  import {
7
7
  EngramAccessInputError
8
- } from "./chunk-3OQ4IZJN.js";
8
+ } from "./chunk-QPZCAVDC.js";
9
9
  import {
10
10
  expandTildePath
11
11
  } from "./chunk-EYIEWJNI.js";
@@ -83,6 +83,8 @@ var OPERATION_NAMES = [
83
83
  "shared_context_write_output",
84
84
  "shared_feedback_record",
85
85
  "shared_priorities_append",
86
+ "relay_mission_append",
87
+ "relay_mission_read",
86
88
  "shared_context_cross_signals_run",
87
89
  "shared_context_curate_daily",
88
90
  "compounding_weekly_synthesize",
@@ -274,4 +276,4 @@ export {
274
276
  listRegisteredOperations,
275
277
  __resetRegistryForTest
276
278
  };
277
- //# sourceMappingURL=chunk-UZRIKUFS.js.map
279
+ //# sourceMappingURL=chunk-CE3GMHT4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/access-boundary.ts"],"sourcesContent":["/**\n * Single input-validation and error boundary for the CLI/MCP/HTTP access\n * surfaces (issue #1525, epic #1520 Phase 1).\n *\n * Every operation that crosses the access-service facade passes through ONE\n * registry entry: a zod-validated request envelope, a shared error mapper,\n * and the \"reject invalid input and list valid options\" behavior that\n * CLAUDE.md rules 14/17/24/28/36/48/51 previously had to be re-implemented\n * per handler. The three surfaces become thin adapters — one operation\n * definition, three transports — so a validation fix lands everywhere at\n * once.\n *\n * Host-agnostic (rule 31): operation names carry no `openclaw-*`/`engram-*`\n * prefix. Session/namespace tenancy stays in the handler layer (resolved via\n * ScopePlan #1521); the boundary validates SHAPE, not tenancy.\n */\n\nimport { z } from \"zod\";\nimport { EngramAccessInputError, type EngramAccessService } from \"./access-service.js\";\nimport { assertFleetWideOperationAllowed, assertOperationAllowed, tokenCapabilityStore } from \"./access-token-capabilities.js\";\nimport { expandTildePath } from \"./utils/path.js\";\n\n// ---------------------------------------------------------------------------\n// Canonical operation names — host-agnostic (rule 31)\n// ---------------------------------------------------------------------------\n\n/**\n * Canonical operation ids. One id is shared by the MCP tool, the HTTP route,\n * and the CLI command that expose the same operation. Add to this union as\n * each domain-group migration PR (memory ops → connectors → namespaces …)\n * lands; the fitness test in `access-surface-catalog.test.ts` treats the\n * registered set as the migration state.\n */\nexport const OPERATION_NAMES = [\n \"memory_get\",\n \"memory_search\",\n \"memory_store\",\n \"coding_decision\",\n \"coding_architecture\",\n // codegraph parity tools (issue #1554) -- each maps to one codegraph_*\n // boundary operation that delegates to the surface handler in\n // coding/codegraph-surfaces.ts. Names match the external tool suffixes.\n \"codegraph_index\",\n \"codegraph_list_projects\",\n \"codegraph_delete_project\",\n \"codegraph_index_status\",\n \"codegraph_search_graph\",\n \"codegraph_trace_path\",\n \"codegraph_detect_changes\",\n \"codegraph_query_graph\",\n \"codegraph_get_schema\",\n \"codegraph_get_snippet\",\n \"codegraph_get_architecture\",\n \"codegraph_search_code\",\n \"codegraph_manage_adr\",\n \"codegraph_ingest_traces\",\n \"memory_correct_plan\",\n \"memory_correct_apply\",\n \"coding_delta\",\n // Remaining MCP/HTTP handlers migrated through the boundary (issue #1525).\n \"recall\",\n \"recall_explain\",\n \"set_coding_context\",\n \"recall_tier_explain\",\n \"recall_xray\",\n \"wearables_status\",\n \"wearables_sync\",\n \"transcript_day\",\n \"transcript_search\",\n \"transcript_memories\",\n \"action_confidence\",\n \"chatgpt_memory_inspector\",\n \"day_summary\",\n \"capsule_export\",\n \"capsule_import\",\n \"capsule_list\",\n \"memory_governance_run\",\n \"procedure_mining_run\",\n \"pattern_reinforcement_run\",\n \"procedural_stats\",\n \"memory_timeline\",\n \"suggestion_submit\",\n \"entity_get\",\n \"review_queue_list\",\n \"correction_pending\",\n \"observe\",\n \"lcm_search\",\n \"lcm_compaction_flush\",\n \"lcm_compaction_record\",\n \"continuity_audit_generate\",\n \"continuity_incident_open\",\n \"continuity_incident_close\",\n \"continuity_incident_list\",\n \"continuity_loop_add_or_update\",\n \"continuity_loop_review\",\n \"identity_anchor_get\",\n \"identity_anchor_update\",\n \"memory_identity\",\n \"work_task\",\n \"work_project\",\n \"work_board\",\n \"shared_context_write_output\",\n \"shared_feedback_record\",\n \"shared_priorities_append\",\n \"relay_mission_append\",\n \"relay_mission_read\",\n \"shared_context_cross_signals_run\",\n \"shared_context_curate_daily\",\n \"compounding_weekly_synthesize\",\n \"compounding_promote_candidate\",\n \"compression_guidelines_optimize\",\n \"compression_guidelines_activate\",\n \"memory_profile\",\n \"memory_entities_list\",\n \"memory_questions\",\n \"memory_last_recall\",\n \"memory_intent_debug\",\n \"memory_qmd_debug\",\n \"memory_graph_explain\",\n \"graph_snapshot\",\n \"memory_feedback\",\n \"memory_promote\",\n \"memory_outcome\",\n \"memory_action_apply\",\n \"context_checkpoint\",\n \"briefing\",\n \"review_list\",\n \"review_resolve\",\n \"contradiction_scan_run\",\n \"memory_summarize_hourly\",\n \"conversation_index_update\",\n \"profiling_report\",\n \"graph_edge_decay_run\",\n \"live_connectors_run\",\n \"peer_list\",\n \"peer_get\",\n \"peer_set\",\n \"peer_delete\",\n \"peer_profile_get\",\n \"peer_forget\",\n \"console_state\",\n \"dreams_status\",\n \"dreams_run\",\n // HTTP-only routes (no direct MCP tool equivalent).\n \"adapters_status\",\n \"offline_sync_snapshot\",\n \"offline_sync_snapshot_stream\",\n \"offline_sync_files\",\n \"offline_sync_file_content\",\n \"offline_sync_apply_file_content\",\n \"offline_sync_apply\",\n \"lcm_status\",\n \"memory_list\",\n \"recall_timings\",\n \"entity_list\",\n \"maintenance_status\",\n \"quality_status\",\n \"trust_zones_status\",\n \"trust_zones_records\",\n \"review_disposition\",\n \"trust_zones_promote\",\n \"trust_zones_demo_seed\",\n \"citations_observed\",\n \"contradiction_detail\",\n \"graph_events\",\n // Chat surface — conversational memory inspection/correction (issue #1583).\n \"chat_message\",\n \"chat_events\",\n] as const;\n\n/**\n * Canonical operation ids. One id is shared by the MCP tool, the HTTP route,\n * and the CLI command that expose the same operation. Derived from\n * {@link OPERATION_NAMES} (single source of truth) so the runtime catalog\n * used for token-capability validation cannot drift from the type. The\n * fitness test in `access-surface-catalog.test.ts` treats the registered set\n * as the migration state.\n */\nexport type OperationName = (typeof OPERATION_NAMES)[number];\n\n// ---------------------------------------------------------------------------\n// Operation context — what every handler receives\n// ---------------------------------------------------------------------------\n\n/**\n * Per-call context. `service` is the facade the handler delegates to; the\n * boundary never reaches past it. `authenticatedPrincipal` is resolved by\n * the SURFACE (MCP header / HTTP identity / CLI flag) before the boundary\n * runs, so handlers stay principal-source-agnostic. `hooks` carries\n * transport-level callbacks (e.g. HTTP write-quota enforcement) that must\n * fire atomically inside the service call; surfaces that have no such hook\n * leave it undefined.\n */\nexport interface OperationContext {\n readonly service: EngramAccessService;\n readonly authenticatedPrincipal?: string;\n readonly operatorPrincipal?: string;\n /** Per-request cancellation supplied by transports that own a request lifecycle. */\n readonly abortSignal?: AbortSignal;\n /** Server-resolved connector identity (Phase 1 provenance). Set by the HTTP auth boundary from the matched token's connector; flows to write handlers so frontmatter records which connector submitted the memory. Client-supplied values are always overridden. */\n readonly sourceConnector?: string;\n readonly hooks?: OperationHooks;\n}\n\n/**\n * Transport-level callbacks a handler forwards into the service call. Kept\n * narrow on purpose: the boundary owns validation + dispatch shape, not\n * transport policy. Add fields here only when a surface genuinely needs a\n * callback the service itself consumes.\n */\nexport interface OperationHooks {\n /** HTTP write-quota gate; throws to reject the write when exhausted. */\n readonly enforceWriteQuota?: () => void | Promise<void>;\n}\n\n// ---------------------------------------------------------------------------\n// Operation spec + bound operation\n// ---------------------------------------------------------------------------\n\nexport interface OperationSpec<In, Out> {\n /** Canonical operation id; matches an {@link OperationName}. */\n readonly name: OperationName;\n readonly description: string;\n /** Zod schema validating the raw request envelope. */\n readonly schema: z.ZodType<In>;\n /** Handler invoked with the parsed input; throws EngramAccessInputError for domain faults. */\n readonly handler: (input: In, ctx: OperationContext) => Promise<Out>;\n /**\n * Marks an operation as inherently FLEET-WIDE / global — it runs across ALL\n * namespaces (or against a single non-namespaced global layer) and carries no\n * `namespace` argument, so the MCP `tools/call` effective-namespace chokepoint\n * never applies. When set, {@link defineOperation}'s run wrapper rejects any\n * namespace-SCOPED token (fail closed) via assertFleetWideOperationAllowed\n * BEFORE the handler — no side effect on denial. Unrestricted/legacy tokens\n * (cron, internal callers, no capability record) are unaffected (issue #1850).\n */\n readonly fleetWide?: boolean;\n}\n\nexport interface BoundOperation<In = unknown, Out = unknown> {\n readonly spec: OperationSpec<In, Out>;\n /** Validate the raw envelope, then invoke the handler. Throws EngramAccessInputError on any validation failure. */\n readonly run: (rawInput: unknown, ctx: OperationContext) => Promise<Out>;\n}\n\n// ---------------------------------------------------------------------------\n// Shared normalizers the boundary owns (rules 17, 28, 36, 48, 51)\n// ---------------------------------------------------------------------------\n\n/**\n * Coerce boolean-like strings at the edge (rule 36). Accepts actual booleans\n * and the string spellings clients send (\"true\"/\"false\"/\"1\"/\"0\"/\"yes\"/\"no\"/\n * \"on\"/\"off\", case-insensitive). Rejects anything else loudly — `Boolean(\"false\")`\n * would silently be `true`, which is the bug rule 36 exists to prevent.\n *\n * `undefined`/`null`/`\"\"` → `undefined`, so callers can keep treating an\n * absent flag as \"use the default\" without a separate presence check.\n */\nexport function coerceBooleanLike(value: unknown): boolean | undefined {\n if (value === undefined || value === null || value === \"\") return undefined;\n if (typeof value === \"boolean\") return value;\n if (typeof value === \"string\") {\n const lower = value.trim().toLowerCase();\n if (lower === \"true\" || lower === \"1\" || lower === \"yes\" || lower === \"on\") return true;\n if (lower === \"false\" || lower === \"0\" || lower === \"no\" || lower === \"off\") return false;\n }\n throw new EngramAccessInputError(\n `expected a boolean-like value (true|false|1|0|yes|no|on|off); got ${JSON.stringify(value)}`,\n );\n}\n\n/**\n * Coerce + validate a positive integer from a numeric string or number\n * (rule 28). Loosely-typed MCP/CLI clients send `\"5\"`; `typeof saved === \"number\"`\n * on read-back would reject it later, so we coerce at the edge and reject\n * booleans/objects loudly (`Number(true) === 1` would silently pass otherwise).\n *\n * `undefined`/`null`/`\"\"` → `undefined`.\n */\nexport function coercePositiveInteger(value: unknown, label: string): number | undefined {\n if (value === undefined || value === null || value === \"\") return undefined;\n if (typeof value === \"number\") {\n if (!Number.isFinite(value) || value <= 0 || !Number.isInteger(value)) {\n throw new EngramAccessInputError(`${label} expects a positive integer; got ${JSON.stringify(value)}`);\n }\n return value;\n }\n if (typeof value === \"string\") {\n const trimmed = value.trim();\n if (!/^[+-]?\\d+$/.test(trimmed)) {\n throw new EngramAccessInputError(`${label} expects a positive integer; got ${JSON.stringify(value)}`);\n }\n const parsed = Number(trimmed);\n if (!Number.isSafeInteger(parsed) || parsed <= 0) {\n throw new EngramAccessInputError(`${label} expects a positive integer; got ${JSON.stringify(value)}`);\n }\n return parsed;\n }\n throw new EngramAccessInputError(`${label} expects a positive integer; got ${JSON.stringify(value)}`);\n}\n\n/**\n * Expand `~` in a path-shaped input (rule 17). Node `fs` does NOT expand `~`;\n * ad-hoc regex drifts. `undefined`/`null`/`\"\"` → `undefined`.\n */\nexport function normalizeOptionalPath(value: unknown): string | undefined {\n if (value === undefined || value === null || value === \"\") return undefined;\n if (typeof value !== \"string\") {\n throw new EngramAccessInputError(`expected a path string; got ${JSON.stringify(value)}`);\n }\n return expandTildePath(value);\n}\n\n// ---------------------------------------------------------------------------\n// Error formatting — rule 51: list valid options, never silently default\n// ---------------------------------------------------------------------------\n\n/**\n * Turn a zod failure into an {@link EngramAccessInputError} whose message\n * names the offending field and — for enum/union issues — lists the valid\n * options, so the caller can correct rather than guess (rule 51).\n */\nexport function formatZodIssues(error: z.ZodError): string {\n const parts: string[] = [];\n for (const issue of error.issues) {\n // Collapse array-index paths (e.g. [\"currentContextScopes\", 1]) to\n // the field name so the message reads \"field: must be ...\" not\n // \"field.1: must be ...\".\n const hasNumeric = issue.path.some((p) => typeof p === \"number\");\n const path = hasNumeric\n ? issue.path.filter((p) => typeof p === \"string\").join(\".\") || \"(root)\"\n : issue.path.length > 0 ? issue.path.join(\".\") : \"(root)\";\n const options = enumOptionsFromIssue(issue);\n const suffix = options ? `. Valid: ${options.join(\", \")}` : \"\";\n parts.push(`${path}: ${issue.message}${suffix}`);\n }\n return parts.length > 0\n ? `request validation failed: ${parts.join(\"; \")}`\n : \"request validation failed\";\n}\n\nfunction enumOptionsFromIssue(issue: z.ZodIssue): readonly string[] | undefined {\n // zod exposes accepted enum values on the issue for ZodEnum / ZodNativeEnum\n // and on the options of invalid_union discriminators. Reading them here\n // keeps \"list valid options\" in ONE place rather than per handler.\n if (issue.code === z.ZodIssueCode.invalid_enum_value) {\n const rawOptions = (issue as { options?: unknown }).options;\n if (Array.isArray(rawOptions)) {\n return rawOptions.map((opt) => String(opt));\n }\n }\n return undefined;\n}\n\n// ---------------------------------------------------------------------------\n// Registry\n// ---------------------------------------------------------------------------\n\nconst registry = new Map<OperationName, BoundOperation>();\n\n/**\n * Register an operation. Throws if the name is already registered — duplicate\n * registration is a programming error, not a runtime input fault, so it throws\n * a plain Error (not the input-error class surfaces translate for clients).\n */\n/**\n * Error map that converts Zod's generic type-mismatch messages into\n * human-readable \"must be a <type>\" messages (rule 51). Applied at the\n * boundary chokepoint so every operation gets consistent messaging\n * without per-handler boilerplate.\n */\nconst humanReadableErrorMap: z.ZodErrorMap = (issue, ctx) => {\n if (issue.code === z.ZodIssueCode.invalid_type) {\n if (issue.received === \"undefined\") return { message: ctx.defaultError };\n // Array-element type errors — collapse to field-level message.\n if (issue.path.some((p) => typeof p === \"number\")) {\n const arrField = issue.path.filter((p) => typeof p === \"string\").join(\".\");\n return { message: `${arrField} must be an array of ${issue.expected}s` };\n }\n const fieldName = issue.path.length > 0 ? String(issue.path[issue.path.length - 1]) : \"value\";\n switch (issue.expected) {\n case \"string\": return { message: `${fieldName} must be a string` };\n case \"boolean\": return { message: `${fieldName} must be a boolean` };\n case \"number\": return { message: `${fieldName} must be a number` };\n case \"array\": return { message: `${fieldName} must be an array` };\n case \"object\": return { message: `${fieldName} must be an object` };\n default: return { message: ctx.defaultError };\n }\n }\n return { message: ctx.defaultError };\n};\n\nexport function defineOperation<In, Out>(spec: OperationSpec<In, Out>): BoundOperation<In, Out> {\n if (registry.has(spec.name)) {\n throw new Error(`access-boundary: operation already registered: ${spec.name}`);\n }\n const bound: BoundOperation<In, Out> = {\n spec,\n run: async (rawInput, ctx) => {\n const parseResult = spec.schema.safeParse(rawInput, { errorMap: humanReadableErrorMap });\n if (!parseResult.success) {\n throw new EngramAccessInputError(formatZodIssues(parseResult.error));\n }\n // Per-token capability enforcement (issue #1837): when the presenting\n // token carries an ops allow-list, reject operations not in it. The\n // capability record is carried via AsyncLocalStorage, set once per\n // authorized HTTP/MCP request; absent (CLI/tests/direct callers) ⇒\n // unrestricted. Default-deny ONLY when an ops axis is present — legacy\n // tokens (absent record) and explicit-unrestricted new tokens are\n // unaffected.\n assertOperationAllowed(tokenCapabilityStore.getStore(), spec.name);\n // Fleet-wide / global maintenance ops (issue #1850 round 10): these run\n // across all namespaces with no `namespace` arg, so the tools/call\n // effective-namespace gate never fires. A namespace-SCOPED token must not\n // trigger cross-namespace maintenance — fail closed BEFORE the handler so\n // a denial never leaks a partial mutation. No-op for unrestricted/legacy.\n if (spec.fleetWide) {\n assertFleetWideOperationAllowed(tokenCapabilityStore.getStore());\n }\n return spec.handler(parseResult.data, ctx);\n },\n };\n // Store under the canonical name; the cast is safe because In/Out are\n // erased at the registry boundary and recovered by callers via getOperation.\n registry.set(spec.name, bound as unknown as BoundOperation);\n return bound;\n}\n\n/** Look up a registered operation by canonical name. */\nexport function getOperation(name: OperationName): BoundOperation | undefined {\n return registry.get(name);\n}\n\n/** All registered operation names. */\nexport function listRegisteredOperations(): readonly OperationName[] {\n return [...registry.keys()];\n}\n\n/** Test-only: clear the registry so pilot definitions can be re-registered. */\nexport function __resetRegistryForTest(): void {\n registry.clear();\n}\n"],"mappings":";;;;;;;;;;;;;AAiBA,SAAS,SAAS;AAgBX,IAAM,kBAAkB;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAAA;AAAA;AAAA,EAIA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,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SAAS,IAAI,aAAa;AACrC;AAEO,SAAS,gBAAyB,MAAuD;AAC9F,MAAI,SAAS,IAAI,KAAK,IAAI,GAAG;AAC3B,UAAM,IAAI,MAAM,kDAAkD,KAAK,IAAI,EAAE;AAAA,EAC/E;AACA,QAAM,QAAiC;AAAA,IACrC;AAAA,IACA,KAAK,OAAO,UAAU,QAAQ;AAC5B,YAAM,cAAc,KAAK,OAAO,UAAU,UAAU,EAAE,UAAU,sBAAsB,CAAC;AACvF,UAAI,CAAC,YAAY,SAAS;AACxB,cAAM,IAAI,uBAAuB,gBAAgB,YAAY,KAAK,CAAC;AAAA,MACrE;AAQA,6BAAuB,qBAAqB,SAAS,GAAG,KAAK,IAAI;AAMjE,UAAI,KAAK,WAAW;AAClB,wCAAgC,qBAAqB,SAAS,CAAC;AAAA,MACjE;AACA,aAAO,KAAK,QAAQ,YAAY,MAAM,GAAG;AAAA,IAC3C;AAAA,EACF;AAGA,WAAS,IAAI,KAAK,MAAM,KAAkC;AAC1D,SAAO;AACT;AAGO,SAAS,aAAa,MAAiD;AAC5E,SAAO,SAAS,IAAI,IAAI;AAC1B;AAGO,SAAS,2BAAqD;AACnE,SAAO,CAAC,GAAG,SAAS,KAAK,CAAC;AAC5B;AAGO,SAAS,yBAA+B;AAC7C,WAAS,MAAM;AACjB;","names":[]}
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  parseXrayFormat
3
- } from "./chunk-OVMS3DCB.js";
3
+ } from "./chunk-675YU5IK.js";
4
4
  import {
5
5
  RECALL_DISCLOSURE_LEVELS,
6
6
  isRecallDisclosure
7
- } from "./chunk-3ZVFLMFQ.js";
7
+ } from "./chunk-G5PVJJRA.js";
8
8
 
9
9
  // src/recall-xray-cli.ts
10
10
  function parseXrayDisclosureFlag(value) {
@@ -50,4 +50,4 @@ export {
50
50
  parseXrayBudgetFlag,
51
51
  parseXrayCliOptions
52
52
  };
53
- //# sourceMappingURL=chunk-YXOAQAH2.js.map
53
+ //# sourceMappingURL=chunk-CLFY35ED.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isRecallDisclosure
3
- } from "./chunk-3ZVFLMFQ.js";
3
+ } from "./chunk-G5PVJJRA.js";
4
4
  import {
5
5
  normalizeRetrievedMemoryProvenance
6
6
  } from "./chunk-I4WBNM3M.js";
@@ -292,4 +292,4 @@ export {
292
292
  RecallXrayBuilder,
293
293
  summarizeDisclosureTokens
294
294
  };
295
- //# sourceMappingURL=chunk-HQ7QZJM5.js.map
295
+ //# sourceMappingURL=chunk-D4TLWDYR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runPostConsolidationMaterialize
3
- } from "./chunk-673NPXE3.js";
3
+ } from "./chunk-3SIC3E65.js";
4
4
  import {
5
5
  discoverMemoryExtensions,
6
6
  renderExtensionsBlock,
@@ -220,4 +220,4 @@ export {
220
220
  buildExtensionsBlockForConsolidation,
221
221
  materializeAfterSemanticConsolidation
222
222
  };
223
- //# sourceMappingURL=chunk-LQKITFGB.js.map
223
+ //# sourceMappingURL=chunk-FUUF7FMX.js.map
@@ -23,4 +23,4 @@ export {
23
23
  confidenceTier,
24
24
  SPECULATIVE_TTL_DAYS
25
25
  };
26
- //# sourceMappingURL=chunk-3ZVFLMFQ.js.map
26
+ //# sourceMappingURL=chunk-G5PVJJRA.js.map