mewkit 1.15.0 → 1.16.1

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 (494) hide show
  1. package/NOTICE +24 -0
  2. package/README.md +29 -70
  3. package/dist/commands/visual-plan.d.ts +23 -0
  4. package/dist/commands/visual-plan.d.ts.map +1 -0
  5. package/dist/commands/visual-plan.js +26 -0
  6. package/dist/commands/visual-plan.js.map +1 -0
  7. package/dist/core/capability.d.ts +81 -81
  8. package/dist/core/consolidation-ledger.d.ts.map +1 -1
  9. package/dist/core/consolidation-ledger.js +13 -11
  10. package/dist/core/consolidation-ledger.js.map +1 -1
  11. package/dist/core/install-metadata.d.ts +27 -27
  12. package/dist/core/plugin-manifest.d.ts +16 -16
  13. package/dist/core/release-metadata.d.ts +2 -2
  14. package/dist/core/task-record.d.ts +8 -8
  15. package/dist/index.js +33 -21
  16. package/dist/index.js.map +1 -1
  17. package/dist/local-web/atomic-write.d.ts +15 -0
  18. package/dist/local-web/atomic-write.d.ts.map +1 -0
  19. package/dist/local-web/atomic-write.js +69 -0
  20. package/dist/local-web/atomic-write.js.map +1 -0
  21. package/dist/local-web/constants.d.ts +13 -0
  22. package/dist/local-web/constants.d.ts.map +1 -0
  23. package/dist/local-web/constants.js +13 -0
  24. package/dist/local-web/constants.js.map +1 -0
  25. package/dist/local-web/etag.d.ts +19 -0
  26. package/dist/local-web/etag.d.ts.map +1 -0
  27. package/dist/local-web/etag.js +32 -0
  28. package/dist/local-web/etag.js.map +1 -0
  29. package/dist/local-web/host-guard.d.ts +12 -0
  30. package/dist/local-web/host-guard.d.ts.map +1 -0
  31. package/dist/local-web/host-guard.js +18 -0
  32. package/dist/local-web/host-guard.js.map +1 -0
  33. package/dist/local-web/index.d.ts +23 -0
  34. package/dist/local-web/index.d.ts.map +1 -0
  35. package/dist/local-web/index.js +23 -0
  36. package/dist/local-web/index.js.map +1 -0
  37. package/dist/local-web/local-server.d.ts +37 -0
  38. package/dist/local-web/local-server.d.ts.map +1 -0
  39. package/dist/local-web/local-server.js +85 -0
  40. package/dist/local-web/local-server.js.map +1 -0
  41. package/dist/local-web/open-browser.d.ts +12 -0
  42. package/dist/local-web/open-browser.d.ts.map +1 -0
  43. package/dist/{orchviz/open-url.js → local-web/open-browser.js} +9 -8
  44. package/dist/local-web/open-browser.js.map +1 -0
  45. package/dist/local-web/origin-guard.d.ts +11 -0
  46. package/dist/local-web/origin-guard.d.ts.map +1 -0
  47. package/dist/local-web/origin-guard.js +15 -0
  48. package/dist/local-web/origin-guard.js.map +1 -0
  49. package/dist/local-web/path-boundary.d.ts +20 -0
  50. package/dist/local-web/path-boundary.d.ts.map +1 -0
  51. package/dist/local-web/path-boundary.js +39 -0
  52. package/dist/local-web/path-boundary.js.map +1 -0
  53. package/dist/local-web/request-body.d.ts +24 -0
  54. package/dist/local-web/request-body.d.ts.map +1 -0
  55. package/dist/local-web/request-body.js +68 -0
  56. package/dist/local-web/request-body.js.map +1 -0
  57. package/dist/local-web/static-handler.d.ts +14 -0
  58. package/dist/local-web/static-handler.d.ts.map +1 -0
  59. package/dist/{orchviz/server → local-web}/static-handler.js +11 -6
  60. package/dist/local-web/static-handler.js.map +1 -0
  61. package/dist/migrate/reconcile/portable-manifest.d.ts +12 -12
  62. package/dist/migrate/reconcile/portable-registry.d.ts +24 -24
  63. package/dist/migrate/types.d.ts +10 -10
  64. package/dist/{orchviz/token-estimator.d.ts → token-estimator/index.d.ts} +6 -1
  65. package/dist/token-estimator/index.d.ts.map +1 -0
  66. package/dist/{orchviz/token-estimator.js → token-estimator/index.js} +11 -2
  67. package/dist/token-estimator/index.js.map +1 -0
  68. package/dist/visual-plan/__fixtures__/valid-plan.d.ts +15 -0
  69. package/dist/visual-plan/__fixtures__/valid-plan.d.ts.map +1 -0
  70. package/dist/visual-plan/__fixtures__/valid-plan.js +79 -0
  71. package/dist/visual-plan/__fixtures__/valid-plan.js.map +1 -0
  72. package/dist/visual-plan/application/apply-feedback.d.ts +31 -0
  73. package/dist/visual-plan/application/apply-feedback.d.ts.map +1 -0
  74. package/dist/visual-plan/application/apply-feedback.js +85 -0
  75. package/dist/visual-plan/application/apply-feedback.js.map +1 -0
  76. package/dist/visual-plan/application/apply-patch-op.d.ts +13 -0
  77. package/dist/visual-plan/application/apply-patch-op.d.ts.map +1 -0
  78. package/dist/visual-plan/application/apply-patch-op.js +72 -0
  79. package/dist/visual-plan/application/apply-patch-op.js.map +1 -0
  80. package/dist/visual-plan/application/approve.d.ts +24 -0
  81. package/dist/visual-plan/application/approve.d.ts.map +1 -0
  82. package/dist/visual-plan/application/approve.js +53 -0
  83. package/dist/visual-plan/application/approve.js.map +1 -0
  84. package/dist/visual-plan/application/clock.d.ts +8 -0
  85. package/dist/visual-plan/application/clock.d.ts.map +1 -0
  86. package/dist/visual-plan/application/clock.js +10 -0
  87. package/dist/visual-plan/application/clock.js.map +1 -0
  88. package/dist/visual-plan/application/export-plan.d.ts +19 -0
  89. package/dist/visual-plan/application/export-plan.d.ts.map +1 -0
  90. package/dist/visual-plan/application/export-plan.js +74 -0
  91. package/dist/visual-plan/application/export-plan.js.map +1 -0
  92. package/dist/visual-plan/application/patch-plan.d.ts +26 -0
  93. package/dist/visual-plan/application/patch-plan.d.ts.map +1 -0
  94. package/dist/visual-plan/application/patch-plan.js +48 -0
  95. package/dist/visual-plan/application/patch-plan.js.map +1 -0
  96. package/dist/visual-plan/application/prepare-feedback.d.ts +24 -0
  97. package/dist/visual-plan/application/prepare-feedback.d.ts.map +1 -0
  98. package/dist/visual-plan/application/prepare-feedback.js +70 -0
  99. package/dist/visual-plan/application/prepare-feedback.js.map +1 -0
  100. package/dist/visual-plan/application/rehash.d.ts +19 -0
  101. package/dist/visual-plan/application/rehash.d.ts.map +1 -0
  102. package/dist/visual-plan/application/rehash.js +43 -0
  103. package/dist/visual-plan/application/rehash.js.map +1 -0
  104. package/dist/visual-plan/application/status.d.ts +20 -0
  105. package/dist/visual-plan/application/status.d.ts.map +1 -0
  106. package/dist/visual-plan/application/status.js +27 -0
  107. package/dist/visual-plan/application/status.js.map +1 -0
  108. package/dist/visual-plan/application/validate-plan.d.ts +30 -0
  109. package/dist/visual-plan/application/validate-plan.d.ts.map +1 -0
  110. package/dist/visual-plan/application/validate-plan.js +59 -0
  111. package/dist/visual-plan/application/validate-plan.js.map +1 -0
  112. package/dist/visual-plan/domain/coverage.d.ts +35 -0
  113. package/dist/visual-plan/domain/coverage.d.ts.map +1 -0
  114. package/dist/visual-plan/domain/coverage.js +99 -0
  115. package/dist/visual-plan/domain/coverage.js.map +1 -0
  116. package/dist/visual-plan/domain/cross-refs.d.ts +20 -0
  117. package/dist/visual-plan/domain/cross-refs.d.ts.map +1 -0
  118. package/dist/visual-plan/domain/cross-refs.js +92 -0
  119. package/dist/visual-plan/domain/cross-refs.js.map +1 -0
  120. package/dist/visual-plan/domain/errors.d.ts +43 -0
  121. package/dist/visual-plan/domain/errors.d.ts.map +1 -0
  122. package/dist/visual-plan/domain/errors.js +33 -0
  123. package/dist/visual-plan/domain/errors.js.map +1 -0
  124. package/dist/visual-plan/domain/feedback-schemas.d.ts +160 -0
  125. package/dist/visual-plan/domain/feedback-schemas.d.ts.map +1 -0
  126. package/dist/visual-plan/domain/feedback-schemas.js +71 -0
  127. package/dist/visual-plan/domain/feedback-schemas.js.map +1 -0
  128. package/dist/visual-plan/domain/ids.d.ts +21 -0
  129. package/dist/visual-plan/domain/ids.d.ts.map +1 -0
  130. package/dist/visual-plan/domain/ids.js +25 -0
  131. package/dist/visual-plan/domain/ids.js.map +1 -0
  132. package/dist/visual-plan/domain/patches.d.ts +176 -0
  133. package/dist/visual-plan/domain/patches.d.ts.map +1 -0
  134. package/dist/visual-plan/domain/patches.js +41 -0
  135. package/dist/visual-plan/domain/patches.js.map +1 -0
  136. package/dist/visual-plan/domain/sanitizer-config.d.ts +61 -0
  137. package/dist/visual-plan/domain/sanitizer-config.d.ts.map +1 -0
  138. package/dist/visual-plan/domain/sanitizer-config.js +70 -0
  139. package/dist/visual-plan/domain/sanitizer-config.js.map +1 -0
  140. package/dist/visual-plan/domain/schemas.d.ts +1492 -0
  141. package/dist/visual-plan/domain/schemas.d.ts.map +1 -0
  142. package/dist/visual-plan/domain/schemas.js +166 -0
  143. package/dist/visual-plan/domain/schemas.js.map +1 -0
  144. package/dist/visual-plan/domain/wireframe-theme.d.ts +24 -0
  145. package/dist/visual-plan/domain/wireframe-theme.d.ts.map +1 -0
  146. package/dist/visual-plan/domain/wireframe-theme.js +169 -0
  147. package/dist/visual-plan/domain/wireframe-theme.js.map +1 -0
  148. package/dist/visual-plan/infrastructure/atomic-write.d.ts +11 -0
  149. package/dist/visual-plan/infrastructure/atomic-write.d.ts.map +1 -0
  150. package/dist/visual-plan/infrastructure/atomic-write.js +44 -0
  151. package/dist/visual-plan/infrastructure/atomic-write.js.map +1 -0
  152. package/dist/visual-plan/infrastructure/feedback-repository.d.ts +18 -0
  153. package/dist/visual-plan/infrastructure/feedback-repository.d.ts.map +1 -0
  154. package/dist/visual-plan/infrastructure/feedback-repository.js +59 -0
  155. package/dist/visual-plan/infrastructure/feedback-repository.js.map +1 -0
  156. package/dist/visual-plan/infrastructure/hashing.d.ts +37 -0
  157. package/dist/visual-plan/infrastructure/hashing.d.ts.map +1 -0
  158. package/dist/visual-plan/infrastructure/hashing.js +81 -0
  159. package/dist/visual-plan/infrastructure/hashing.js.map +1 -0
  160. package/dist/visual-plan/infrastructure/plan-state.d.ts +32 -0
  161. package/dist/visual-plan/infrastructure/plan-state.d.ts.map +1 -0
  162. package/dist/visual-plan/infrastructure/plan-state.js +58 -0
  163. package/dist/visual-plan/infrastructure/plan-state.js.map +1 -0
  164. package/dist/visual-plan/infrastructure/receipt-repository.d.ts +17 -0
  165. package/dist/visual-plan/infrastructure/receipt-repository.d.ts.map +1 -0
  166. package/dist/visual-plan/infrastructure/receipt-repository.js +59 -0
  167. package/dist/visual-plan/infrastructure/receipt-repository.js.map +1 -0
  168. package/dist/visual-plan/infrastructure/visual-plan-repository.d.ts +38 -0
  169. package/dist/visual-plan/infrastructure/visual-plan-repository.d.ts.map +1 -0
  170. package/dist/visual-plan/infrastructure/visual-plan-repository.js +97 -0
  171. package/dist/visual-plan/infrastructure/visual-plan-repository.js.map +1 -0
  172. package/dist/visual-plan/infrastructure/wireframe-sanitizer.d.ts +41 -0
  173. package/dist/visual-plan/infrastructure/wireframe-sanitizer.d.ts.map +1 -0
  174. package/dist/visual-plan/infrastructure/wireframe-sanitizer.js +72 -0
  175. package/dist/visual-plan/infrastructure/wireframe-sanitizer.js.map +1 -0
  176. package/dist/visual-plan/interface/cli.d.ts +29 -0
  177. package/dist/visual-plan/interface/cli.d.ts.map +1 -0
  178. package/dist/visual-plan/interface/cli.js +280 -0
  179. package/dist/visual-plan/interface/cli.js.map +1 -0
  180. package/dist/visual-plan/interface/studio.d.ts +20 -0
  181. package/dist/visual-plan/interface/studio.d.ts.map +1 -0
  182. package/dist/visual-plan/interface/studio.js +74 -0
  183. package/dist/visual-plan/interface/studio.js.map +1 -0
  184. package/dist/visual-plan/server/csp.d.ts +13 -0
  185. package/dist/visual-plan/server/csp.d.ts.map +1 -0
  186. package/dist/visual-plan/server/csp.js +17 -0
  187. package/dist/visual-plan/server/csp.js.map +1 -0
  188. package/dist/visual-plan/server/edit-lock.d.ts +28 -0
  189. package/dist/visual-plan/server/edit-lock.d.ts.map +1 -0
  190. package/dist/visual-plan/server/edit-lock.js +71 -0
  191. package/dist/visual-plan/server/edit-lock.js.map +1 -0
  192. package/dist/visual-plan/server/routes/feedback.d.ts +12 -0
  193. package/dist/visual-plan/server/routes/feedback.d.ts.map +1 -0
  194. package/dist/visual-plan/server/routes/feedback.js +63 -0
  195. package/dist/visual-plan/server/routes/feedback.js.map +1 -0
  196. package/dist/visual-plan/server/routes/get-plan.d.ts +14 -0
  197. package/dist/visual-plan/server/routes/get-plan.d.ts.map +1 -0
  198. package/dist/visual-plan/server/routes/get-plan.js +38 -0
  199. package/dist/visual-plan/server/routes/get-plan.js.map +1 -0
  200. package/dist/visual-plan/server/routes/patch.d.ts +10 -0
  201. package/dist/visual-plan/server/routes/patch.d.ts.map +1 -0
  202. package/dist/visual-plan/server/routes/patch.js +66 -0
  203. package/dist/visual-plan/server/routes/patch.js.map +1 -0
  204. package/dist/visual-plan/server/visual-plan-server.d.ts +30 -0
  205. package/dist/visual-plan/server/visual-plan-server.d.ts.map +1 -0
  206. package/dist/visual-plan/server/visual-plan-server.js +79 -0
  207. package/dist/visual-plan/server/visual-plan-server.js.map +1 -0
  208. package/dist/visual-plan-web/architects-daughter-latin-400-normal.woff +0 -0
  209. package/dist/visual-plan-web/architects-daughter-latin-400-normal.woff2 +0 -0
  210. package/dist/visual-plan-web/architects-daughter-latin-ext-400-normal.woff +0 -0
  211. package/dist/visual-plan-web/architects-daughter-latin-ext-400-normal.woff2 +0 -0
  212. package/dist/visual-plan-web/index.css +1 -0
  213. package/dist/visual-plan-web/index.html +17 -0
  214. package/dist/visual-plan-web/index.js +187 -0
  215. package/package.json +15 -18
  216. package/dist/commands/orchviz.d.ts +0 -12
  217. package/dist/commands/orchviz.d.ts.map +0 -1
  218. package/dist/commands/orchviz.js +0 -157
  219. package/dist/commands/orchviz.js.map +0 -1
  220. package/dist/migrate/converters/md-to-codex-rules.d.ts +0 -10
  221. package/dist/migrate/converters/md-to-codex-rules.d.ts.map +0 -1
  222. package/dist/migrate/converters/md-to-codex-rules.js +0 -133
  223. package/dist/migrate/converters/md-to-codex-rules.js.map +0 -1
  224. package/dist/orchviz/constants.d.ts +0 -72
  225. package/dist/orchviz/constants.d.ts.map +0 -1
  226. package/dist/orchviz/constants.js +0 -105
  227. package/dist/orchviz/constants.js.map +0 -1
  228. package/dist/orchviz/fs-utils.d.ts +0 -24
  229. package/dist/orchviz/fs-utils.d.ts.map +0 -1
  230. package/dist/orchviz/fs-utils.js +0 -49
  231. package/dist/orchviz/fs-utils.js.map +0 -1
  232. package/dist/orchviz/index.d.ts +0 -29
  233. package/dist/orchviz/index.d.ts.map +0 -1
  234. package/dist/orchviz/index.js +0 -28
  235. package/dist/orchviz/index.js.map +0 -1
  236. package/dist/orchviz/log-persister.d.ts +0 -22
  237. package/dist/orchviz/log-persister.d.ts.map +0 -1
  238. package/dist/orchviz/log-persister.js +0 -96
  239. package/dist/orchviz/log-persister.js.map +0 -1
  240. package/dist/orchviz/logger.d.ts +0 -13
  241. package/dist/orchviz/logger.d.ts.map +0 -1
  242. package/dist/orchviz/logger.js +0 -47
  243. package/dist/orchviz/logger.js.map +0 -1
  244. package/dist/orchviz/open-url.d.ts +0 -11
  245. package/dist/orchviz/open-url.d.ts.map +0 -1
  246. package/dist/orchviz/open-url.js.map +0 -1
  247. package/dist/orchviz/overlay/collector.d.ts +0 -29
  248. package/dist/orchviz/overlay/collector.d.ts.map +0 -1
  249. package/dist/orchviz/overlay/collector.js +0 -38
  250. package/dist/orchviz/overlay/collector.js.map +0 -1
  251. package/dist/orchviz/overlay/gate-readers.d.ts +0 -18
  252. package/dist/orchviz/overlay/gate-readers.d.ts.map +0 -1
  253. package/dist/orchviz/overlay/gate-readers.js +0 -111
  254. package/dist/orchviz/overlay/gate-readers.js.map +0 -1
  255. package/dist/orchviz/overlay/session-state-readers.d.ts +0 -18
  256. package/dist/orchviz/overlay/session-state-readers.d.ts.map +0 -1
  257. package/dist/orchviz/overlay/session-state-readers.js +0 -78
  258. package/dist/orchviz/overlay/session-state-readers.js.map +0 -1
  259. package/dist/orchviz/parser/handle-progress.d.ts +0 -9
  260. package/dist/orchviz/parser/handle-progress.d.ts.map +0 -1
  261. package/dist/orchviz/parser/handle-progress.js +0 -38
  262. package/dist/orchviz/parser/handle-progress.js.map +0 -1
  263. package/dist/orchviz/parser/handle-system.d.ts +0 -22
  264. package/dist/orchviz/parser/handle-system.d.ts.map +0 -1
  265. package/dist/orchviz/parser/handle-system.js +0 -99
  266. package/dist/orchviz/parser/handle-system.js.map +0 -1
  267. package/dist/orchviz/parser/handle-text.d.ts +0 -10
  268. package/dist/orchviz/parser/handle-text.d.ts.map +0 -1
  269. package/dist/orchviz/parser/handle-text.js +0 -83
  270. package/dist/orchviz/parser/handle-text.js.map +0 -1
  271. package/dist/orchviz/parser/handle-thinking.d.ts +0 -10
  272. package/dist/orchviz/parser/handle-thinking.d.ts.map +0 -1
  273. package/dist/orchviz/parser/handle-thinking.js +0 -35
  274. package/dist/orchviz/parser/handle-thinking.js.map +0 -1
  275. package/dist/orchviz/parser/handle-tool-result.d.ts +0 -10
  276. package/dist/orchviz/parser/handle-tool-result.d.ts.map +0 -1
  277. package/dist/orchviz/parser/handle-tool-result.js +0 -130
  278. package/dist/orchviz/parser/handle-tool-result.js.map +0 -1
  279. package/dist/orchviz/parser/handle-tool-use.d.ts +0 -11
  280. package/dist/orchviz/parser/handle-tool-use.d.ts.map +0 -1
  281. package/dist/orchviz/parser/handle-tool-use.js +0 -120
  282. package/dist/orchviz/parser/handle-tool-use.js.map +0 -1
  283. package/dist/orchviz/parser/index.d.ts +0 -38
  284. package/dist/orchviz/parser/index.d.ts.map +0 -1
  285. package/dist/orchviz/parser/index.js +0 -144
  286. package/dist/orchviz/parser/index.js.map +0 -1
  287. package/dist/orchviz/parser/label-helpers.d.ts +0 -9
  288. package/dist/orchviz/parser/label-helpers.d.ts.map +0 -1
  289. package/dist/orchviz/parser/label-helpers.js +0 -44
  290. package/dist/orchviz/parser/label-helpers.js.map +0 -1
  291. package/dist/orchviz/parser/strip-ansi.d.ts +0 -6
  292. package/dist/orchviz/parser/strip-ansi.d.ts.map +0 -1
  293. package/dist/orchviz/parser/strip-ansi.js +0 -14
  294. package/dist/orchviz/parser/strip-ansi.js.map +0 -1
  295. package/dist/orchviz/parser/utils.d.ts +0 -20
  296. package/dist/orchviz/parser/utils.d.ts.map +0 -1
  297. package/dist/orchviz/parser/utils.js +0 -54
  298. package/dist/orchviz/parser/utils.js.map +0 -1
  299. package/dist/orchviz/permission-detection.d.ts +0 -32
  300. package/dist/orchviz/permission-detection.d.ts.map +0 -1
  301. package/dist/orchviz/permission-detection.js +0 -104
  302. package/dist/orchviz/permission-detection.js.map +0 -1
  303. package/dist/orchviz/plan/apply-todo-toggle.d.ts +0 -29
  304. package/dist/orchviz/plan/apply-todo-toggle.d.ts.map +0 -1
  305. package/dist/orchviz/plan/apply-todo-toggle.js +0 -129
  306. package/dist/orchviz/plan/apply-todo-toggle.js.map +0 -1
  307. package/dist/orchviz/plan/atomic-write.d.ts +0 -25
  308. package/dist/orchviz/plan/atomic-write.d.ts.map +0 -1
  309. package/dist/orchviz/plan/atomic-write.js +0 -85
  310. package/dist/orchviz/plan/atomic-write.js.map +0 -1
  311. package/dist/orchviz/plan/collector.d.ts +0 -49
  312. package/dist/orchviz/plan/collector.d.ts.map +0 -1
  313. package/dist/orchviz/plan/collector.js +0 -169
  314. package/dist/orchviz/plan/collector.js.map +0 -1
  315. package/dist/orchviz/plan/etag.d.ts +0 -24
  316. package/dist/orchviz/plan/etag.d.ts.map +0 -1
  317. package/dist/orchviz/plan/etag.js +0 -58
  318. package/dist/orchviz/plan/etag.js.map +0 -1
  319. package/dist/orchviz/plan/find-active-plan.d.ts +0 -9
  320. package/dist/orchviz/plan/find-active-plan.d.ts.map +0 -1
  321. package/dist/orchviz/plan/find-active-plan.js +0 -90
  322. package/dist/orchviz/plan/find-active-plan.js.map +0 -1
  323. package/dist/orchviz/plan/index.d.ts +0 -23
  324. package/dist/orchviz/plan/index.d.ts.map +0 -1
  325. package/dist/orchviz/plan/index.js +0 -91
  326. package/dist/orchviz/plan/index.js.map +0 -1
  327. package/dist/orchviz/plan/list-plans.d.ts +0 -19
  328. package/dist/orchviz/plan/list-plans.d.ts.map +0 -1
  329. package/dist/orchviz/plan/list-plans.js +0 -143
  330. package/dist/orchviz/plan/list-plans.js.map +0 -1
  331. package/dist/orchviz/plan/parse-phase-file.d.ts +0 -13
  332. package/dist/orchviz/plan/parse-phase-file.d.ts.map +0 -1
  333. package/dist/orchviz/plan/parse-phase-file.js +0 -134
  334. package/dist/orchviz/plan/parse-phase-file.js.map +0 -1
  335. package/dist/orchviz/plan/parse-plan-file.d.ts +0 -19
  336. package/dist/orchviz/plan/parse-plan-file.d.ts.map +0 -1
  337. package/dist/orchviz/plan/parse-plan-file.js +0 -62
  338. package/dist/orchviz/plan/parse-plan-file.js.map +0 -1
  339. package/dist/orchviz/plan/plan-constants.d.ts +0 -17
  340. package/dist/orchviz/plan/plan-constants.d.ts.map +0 -1
  341. package/dist/orchviz/plan/plan-constants.js +0 -19
  342. package/dist/orchviz/plan/plan-constants.js.map +0 -1
  343. package/dist/orchviz/plan/plan-lifecycle.d.ts +0 -17
  344. package/dist/orchviz/plan/plan-lifecycle.d.ts.map +0 -1
  345. package/dist/orchviz/plan/plan-lifecycle.js +0 -97
  346. package/dist/orchviz/plan/plan-lifecycle.js.map +0 -1
  347. package/dist/orchviz/plan/types.d.ts +0 -46
  348. package/dist/orchviz/plan/types.d.ts.map +0 -1
  349. package/dist/orchviz/plan/types.js +0 -6
  350. package/dist/orchviz/plan/types.js.map +0 -1
  351. package/dist/orchviz/protocol.d.ts +0 -171
  352. package/dist/orchviz/protocol.d.ts.map +0 -1
  353. package/dist/orchviz/protocol.js +0 -23
  354. package/dist/orchviz/protocol.js.map +0 -1
  355. package/dist/orchviz/redact.d.ts +0 -10
  356. package/dist/orchviz/redact.d.ts.map +0 -1
  357. package/dist/orchviz/redact.js +0 -38
  358. package/dist/orchviz/redact.js.map +0 -1
  359. package/dist/orchviz/sanitize.d.ts +0 -11
  360. package/dist/orchviz/sanitize.d.ts.map +0 -1
  361. package/dist/orchviz/sanitize.js +0 -38
  362. package/dist/orchviz/sanitize.js.map +0 -1
  363. package/dist/orchviz/server/api-handlers.d.ts +0 -55
  364. package/dist/orchviz/server/api-handlers.d.ts.map +0 -1
  365. package/dist/orchviz/server/api-handlers.js +0 -112
  366. package/dist/orchviz/server/api-handlers.js.map +0 -1
  367. package/dist/orchviz/server/index.d.ts +0 -36
  368. package/dist/orchviz/server/index.d.ts.map +0 -1
  369. package/dist/orchviz/server/index.js +0 -144
  370. package/dist/orchviz/server/index.js.map +0 -1
  371. package/dist/orchviz/server/sse-handler.d.ts +0 -28
  372. package/dist/orchviz/server/sse-handler.d.ts.map +0 -1
  373. package/dist/orchviz/server/sse-handler.js +0 -217
  374. package/dist/orchviz/server/sse-handler.js.map +0 -1
  375. package/dist/orchviz/server/static-handler.d.ts +0 -9
  376. package/dist/orchviz/server/static-handler.d.ts.map +0 -1
  377. package/dist/orchviz/server/static-handler.js.map +0 -1
  378. package/dist/orchviz/server/write-handlers.d.ts +0 -20
  379. package/dist/orchviz/server/write-handlers.d.ts.map +0 -1
  380. package/dist/orchviz/server/write-handlers.js +0 -184
  381. package/dist/orchviz/server/write-handlers.js.map +0 -1
  382. package/dist/orchviz/server/write-utils.d.ts +0 -59
  383. package/dist/orchviz/server/write-utils.d.ts.map +0 -1
  384. package/dist/orchviz/server/write-utils.js +0 -161
  385. package/dist/orchviz/server/write-utils.js.map +0 -1
  386. package/dist/orchviz/session-discovery.d.ts +0 -19
  387. package/dist/orchviz/session-discovery.d.ts.map +0 -1
  388. package/dist/orchviz/session-discovery.js +0 -104
  389. package/dist/orchviz/session-discovery.js.map +0 -1
  390. package/dist/orchviz/session-manager.d.ts +0 -17
  391. package/dist/orchviz/session-manager.d.ts.map +0 -1
  392. package/dist/orchviz/session-manager.js +0 -63
  393. package/dist/orchviz/session-manager.js.map +0 -1
  394. package/dist/orchviz/session-runtime.d.ts +0 -21
  395. package/dist/orchviz/session-runtime.d.ts.map +0 -1
  396. package/dist/orchviz/session-runtime.js +0 -135
  397. package/dist/orchviz/session-runtime.js.map +0 -1
  398. package/dist/orchviz/session-watcher.d.ts +0 -33
  399. package/dist/orchviz/session-watcher.d.ts.map +0 -1
  400. package/dist/orchviz/session-watcher.js +0 -135
  401. package/dist/orchviz/session-watcher.js.map +0 -1
  402. package/dist/orchviz/subagent-meta.d.ts +0 -12
  403. package/dist/orchviz/subagent-meta.d.ts.map +0 -1
  404. package/dist/orchviz/subagent-meta.js +0 -34
  405. package/dist/orchviz/subagent-meta.js.map +0 -1
  406. package/dist/orchviz/subagent-scanner.d.ts +0 -15
  407. package/dist/orchviz/subagent-scanner.d.ts.map +0 -1
  408. package/dist/orchviz/subagent-scanner.js +0 -27
  409. package/dist/orchviz/subagent-scanner.js.map +0 -1
  410. package/dist/orchviz/subagent-watcher.d.ts +0 -20
  411. package/dist/orchviz/subagent-watcher.d.ts.map +0 -1
  412. package/dist/orchviz/subagent-watcher.js +0 -160
  413. package/dist/orchviz/subagent-watcher.js.map +0 -1
  414. package/dist/orchviz/token-estimator.d.ts.map +0 -1
  415. package/dist/orchviz/token-estimator.js.map +0 -1
  416. package/dist/orchviz/tool-input-data.d.ts +0 -11
  417. package/dist/orchviz/tool-input-data.d.ts.map +0 -1
  418. package/dist/orchviz/tool-input-data.js +0 -74
  419. package/dist/orchviz/tool-input-data.js.map +0 -1
  420. package/dist/orchviz/tool-summarizer.d.ts +0 -16
  421. package/dist/orchviz/tool-summarizer.d.ts.map +0 -1
  422. package/dist/orchviz/tool-summarizer.js +0 -129
  423. package/dist/orchviz/tool-summarizer.js.map +0 -1
  424. package/dist/orchviz-web/fira-code-cyrillic-400-normal.woff +0 -0
  425. package/dist/orchviz-web/fira-code-cyrillic-400-normal.woff2 +0 -0
  426. package/dist/orchviz-web/fira-code-cyrillic-500-normal.woff +0 -0
  427. package/dist/orchviz-web/fira-code-cyrillic-500-normal.woff2 +0 -0
  428. package/dist/orchviz-web/fira-code-cyrillic-ext-400-normal.woff +0 -0
  429. package/dist/orchviz-web/fira-code-cyrillic-ext-400-normal.woff2 +0 -0
  430. package/dist/orchviz-web/fira-code-cyrillic-ext-500-normal.woff +0 -0
  431. package/dist/orchviz-web/fira-code-cyrillic-ext-500-normal.woff2 +0 -0
  432. package/dist/orchviz-web/fira-code-greek-400-normal.woff +0 -0
  433. package/dist/orchviz-web/fira-code-greek-400-normal.woff2 +0 -0
  434. package/dist/orchviz-web/fira-code-greek-500-normal.woff +0 -0
  435. package/dist/orchviz-web/fira-code-greek-500-normal.woff2 +0 -0
  436. package/dist/orchviz-web/fira-code-greek-ext-400-normal.woff +0 -0
  437. package/dist/orchviz-web/fira-code-greek-ext-400-normal.woff2 +0 -0
  438. package/dist/orchviz-web/fira-code-greek-ext-500-normal.woff +0 -0
  439. package/dist/orchviz-web/fira-code-greek-ext-500-normal.woff2 +0 -0
  440. package/dist/orchviz-web/fira-code-latin-400-normal.woff +0 -0
  441. package/dist/orchviz-web/fira-code-latin-400-normal.woff2 +0 -0
  442. package/dist/orchviz-web/fira-code-latin-500-normal.woff +0 -0
  443. package/dist/orchviz-web/fira-code-latin-500-normal.woff2 +0 -0
  444. package/dist/orchviz-web/fira-code-latin-ext-400-normal.woff +0 -0
  445. package/dist/orchviz-web/fira-code-latin-ext-400-normal.woff2 +0 -0
  446. package/dist/orchviz-web/fira-code-latin-ext-500-normal.woff +0 -0
  447. package/dist/orchviz-web/fira-code-latin-ext-500-normal.woff2 +0 -0
  448. package/dist/orchviz-web/fira-code-symbols2-400-normal.woff +0 -0
  449. package/dist/orchviz-web/fira-code-symbols2-500-normal.woff +0 -0
  450. package/dist/orchviz-web/index.css +0 -1
  451. package/dist/orchviz-web/index.html +0 -18
  452. package/dist/orchviz-web/index.js +0 -53
  453. package/dist/orchviz-web/inter-cyrillic-400-normal.woff +0 -0
  454. package/dist/orchviz-web/inter-cyrillic-400-normal.woff2 +0 -0
  455. package/dist/orchviz-web/inter-cyrillic-500-normal.woff +0 -0
  456. package/dist/orchviz-web/inter-cyrillic-500-normal.woff2 +0 -0
  457. package/dist/orchviz-web/inter-cyrillic-600-normal.woff +0 -0
  458. package/dist/orchviz-web/inter-cyrillic-600-normal.woff2 +0 -0
  459. package/dist/orchviz-web/inter-cyrillic-ext-400-normal.woff +0 -0
  460. package/dist/orchviz-web/inter-cyrillic-ext-400-normal.woff2 +0 -0
  461. package/dist/orchviz-web/inter-cyrillic-ext-500-normal.woff +0 -0
  462. package/dist/orchviz-web/inter-cyrillic-ext-500-normal.woff2 +0 -0
  463. package/dist/orchviz-web/inter-cyrillic-ext-600-normal.woff +0 -0
  464. package/dist/orchviz-web/inter-cyrillic-ext-600-normal.woff2 +0 -0
  465. package/dist/orchviz-web/inter-greek-400-normal.woff +0 -0
  466. package/dist/orchviz-web/inter-greek-400-normal.woff2 +0 -0
  467. package/dist/orchviz-web/inter-greek-500-normal.woff +0 -0
  468. package/dist/orchviz-web/inter-greek-500-normal.woff2 +0 -0
  469. package/dist/orchviz-web/inter-greek-600-normal.woff +0 -0
  470. package/dist/orchviz-web/inter-greek-600-normal.woff2 +0 -0
  471. package/dist/orchviz-web/inter-greek-ext-400-normal.woff +0 -0
  472. package/dist/orchviz-web/inter-greek-ext-400-normal.woff2 +0 -0
  473. package/dist/orchviz-web/inter-greek-ext-500-normal.woff +0 -0
  474. package/dist/orchviz-web/inter-greek-ext-500-normal.woff2 +0 -0
  475. package/dist/orchviz-web/inter-greek-ext-600-normal.woff +0 -0
  476. package/dist/orchviz-web/inter-greek-ext-600-normal.woff2 +0 -0
  477. package/dist/orchviz-web/inter-latin-400-normal.woff +0 -0
  478. package/dist/orchviz-web/inter-latin-400-normal.woff2 +0 -0
  479. package/dist/orchviz-web/inter-latin-500-normal.woff +0 -0
  480. package/dist/orchviz-web/inter-latin-500-normal.woff2 +0 -0
  481. package/dist/orchviz-web/inter-latin-600-normal.woff +0 -0
  482. package/dist/orchviz-web/inter-latin-600-normal.woff2 +0 -0
  483. package/dist/orchviz-web/inter-latin-ext-400-normal.woff +0 -0
  484. package/dist/orchviz-web/inter-latin-ext-400-normal.woff2 +0 -0
  485. package/dist/orchviz-web/inter-latin-ext-500-normal.woff +0 -0
  486. package/dist/orchviz-web/inter-latin-ext-500-normal.woff2 +0 -0
  487. package/dist/orchviz-web/inter-latin-ext-600-normal.woff +0 -0
  488. package/dist/orchviz-web/inter-latin-ext-600-normal.woff2 +0 -0
  489. package/dist/orchviz-web/inter-vietnamese-400-normal.woff +0 -0
  490. package/dist/orchviz-web/inter-vietnamese-400-normal.woff2 +0 -0
  491. package/dist/orchviz-web/inter-vietnamese-500-normal.woff +0 -0
  492. package/dist/orchviz-web/inter-vietnamese-500-normal.woff2 +0 -0
  493. package/dist/orchviz-web/inter-vietnamese-600-normal.woff +0 -0
  494. package/dist/orchviz-web/inter-vietnamese-600-normal.woff2 +0 -0
package/NOTICE ADDED
@@ -0,0 +1,24 @@
1
+ MeowKit (mewkit)
2
+ Copyright (c) 2026 MeowKit Contributors
3
+
4
+ This product is licensed under the MIT License (see LICENSE) and includes
5
+ software ported from third-party sources under their own licenses:
6
+
7
+ ------------------------------------------------------------------------
8
+ agent-flow — https://github.com/patoles/agent-flow (commit 59ccf4e)
9
+ Copyright the agent-flow authors
10
+ Licensed under the Apache License, Version 2.0.
11
+
12
+ Portions of the loopback HTTP server lifecycle, the static-file handler
13
+ (including its path-traversal guard), the cross-platform browser launcher,
14
+ and the token-estimation heuristic were ported from agent-flow. The affected
15
+ files carry an attribution header referencing this NOTICE:
16
+
17
+ - src/local-web/local-server.ts
18
+ - src/local-web/static-handler.ts
19
+ - src/local-web/open-browser.ts
20
+ - src/token-estimator/index.ts
21
+
22
+ A copy of the Apache License, Version 2.0 is available at:
23
+ https://www.apache.org/licenses/LICENSE-2.0
24
+ ------------------------------------------------------------------------
package/README.md CHANGED
@@ -26,7 +26,7 @@ npx mewkit <command> # Runtime commands
26
26
  | `meowkit task new` | Create structured task file from template |
27
27
  | `meowkit task list` | List active tasks with status |
28
28
  | `meowkit capabilities` | Resolve installed skills/commands/tools for an intent (`list`, `explain`, `resolve`, `projections`) |
29
- | `meowkit orchviz` | Live web visualizer for the active Claude Code session |
29
+ | `meowkit visual-plan` | Structured visual plan: validate/approve/edit/view + feedback loop |
30
30
  | `meowkit pack` | `list` / `add <pack>` / `remove <pack>` — manage installed domains |
31
31
  | `meowkit migrate` | Export the `.claude/` setup to other coding agents (Codex, Cursor, …) |
32
32
 
@@ -143,80 +143,39 @@ npx mewkit memory --show # Display lessons learned
143
143
  npx mewkit memory --clear # Reset memory
144
144
  ```
145
145
 
146
- ## Visualizer (`meowkit orchviz`)
146
+ ## Visual Plan (`meowkit visual-plan`)
147
147
 
148
- Live web visualizer for the active Claude Code session. Tails the JSONL
149
- transcript at `~/.claude/projects/<encoded-cwd>/<session>.jsonl`, parses it
150
- into structured `AgentEvent`s, and serves them at `http://127.0.0.1:<port>/`
151
- as a Canvas2D + d3-force interactive graph plus a live transcript panel and
152
- meowkit-specific overlays (Gate state, model tier, today's tokens, phase).
148
+ Structured visual review for UI-bearing plans. A plan's `visual-plan/plan.json`
149
+ (schema `visual-plan/v1`) is a coverage ledger + canvas (lanes, surface-locked
150
+ artboards, semantic-HTML wireframes, connectors, annotations). The CLI validates
151
+ and gates it; a transient 127.0.0.1 React studio renders and edits it.
153
152
 
154
153
  ```bash
155
- # Default: random port, auto-open browser
156
- npx mewkit orchviz
157
-
158
- # Custom flags
159
- npx mewkit orchviz --port 3001 # fixed port (0 = random)
160
- npx mewkit orchviz --no-open # don't auto-launch browser
161
- npx mewkit orchviz --session <uuid> # pin to a single session id
162
- npx mewkit orchviz --workspace . # override watched workspace (default: cwd)
163
- npx mewkit orchviz --verbose # print sanitized AgentEvents to stderr
164
- npx mewkit orchviz --log # persist to .claude/logs/orchviz-<sid>.md
165
- npx mewkit orchviz --log /tmp/run.md # custom path (must end .md)
154
+ # Deterministic contract commands
155
+ npx mewkit visual-plan validate <plan-dir> [--json] # schema + coverage + refs + safe-HTML + hashes
156
+ npx mewkit visual-plan status <plan-dir> [--json] # coverage summary + review status
157
+ npx mewkit visual-plan approve <plan-dir> --revision <n> # single writer of review.status (Gate 1)
158
+ npx mewkit visual-plan rehash <plan-dir> # refresh source hashes (clears approval)
159
+ npx mewkit visual-plan export <plan-dir> --format html # self-contained plan.html from the artifact
160
+
161
+ # Transient studio (127.0.0.1, exits with the process)
162
+ npx mewkit visual-plan view <plan-dir> [--no-open] [--port N] # read-only
163
+ npx mewkit visual-plan edit <plan-dir> [--force] # editable (single-editor lock)
164
+
165
+ # Feedback loop
166
+ npx mewkit visual-plan prepare-feedback <plan-dir> --ops <f.json> # freeze an immutable batch
167
+ npx mewkit visual-plan apply-feedback <plan-dir> --batch <id> --check # pre-apply stale gate
168
+ npx mewkit visual-plan apply-feedback <plan-dir> --batch <id> --receipt <f> # record per-op outcomes
169
+ npx mewkit visual-plan patch <plan-dir> --op <op.json> # apply one typed visual op
166
170
  ```
167
171
 
168
- **Security:** server binds 127.0.0.1 only; Host-header guarded against DNS
169
- rebinding; SSE frames sanitized (ANSI strip + strict-prefix secret scrub on
170
- `sk-…`, `ghp_…`, `AKIA…`, PEM blocks); path traversal blocked.
171
-
172
- **Limitations (v1):** simplified canvas renderer (no bloom / detail panels /
173
- multi-session tabs); v1.1 ports the full agent-flow visualizer. Ported (in
174
- part) from [`patoles/agent-flow`](https://github.com/patoles/agent-flow)
175
- under the Apache-2.0 license — see `NOTICE`.
176
-
177
- ### orchviz API Endpoints (v1.2)
178
-
179
- The orchviz server exposes these HTTP endpoints on `http://127.0.0.1:<port>`:
180
-
181
- **GET /api/plans** — list non-archived plans sorted by mtime (newest first):
182
- ```bash
183
- curl http://127.0.0.1:3001/api/plans
184
- # { "plans": [{ "slug": "260501-my-plan", "title": "...", "status": "draft", ... }] }
185
- ```
186
-
187
- **GET /api/plan?slug=\<slug\>** — full plan state with per-phase ETags:
188
- ```bash
189
- curl "http://127.0.0.1:3001/api/plan?slug=260501-my-plan"
190
- # { "plan": { ... }, "phaseEtags": { "1": "<hex64>", "2": "<hex64>" }, "readonly": true }
191
- # Omit ?slug= to get the most-recently-modified plan.
192
- ```
193
-
194
- **Read-only by default.** The visualizer is a viewer, not an editor — graph,
195
- plan tree, and todos all render read-only. The hamburger drawer browses the
196
- plan tree (plan → phase → todo) without exposing edit affordances. To opt
197
- into write mode (legacy todo-toggle endpoint), launch with
198
- `MEOWKIT_ORCHVIZ_WRITABLE=1`. The legacy `MEOWKIT_ORCHVIZ_READONLY=0` flag
199
- also opts in for backwards compatibility; `MEOWKIT_ORCHVIZ_READONLY=1`
200
- forces read-only as a defensive lock.
201
-
202
- **POST /api/plan/todo** — toggle a todo checkbox (write mode only):
203
- ```bash
204
- # Default (no env): returns 405 { "error": "readonly" }
205
- MEOWKIT_ORCHVIZ_WRITABLE=1 npx mewkit orchviz # opt in to write mode
206
-
207
- curl -X POST http://127.0.0.1:3001/api/plan/todo \
208
- -H "Content-Type: application/json" \
209
- -H "Origin: http://127.0.0.1:3001" \
210
- -d '{"slug":"260501-my-plan","phase":1,"todoIdx":0,"checked":true,"etag":"<hex64>"}'
211
- # 200: { "ok": true, "changed": true, "etag": "<new-hex64>", "archived": false }
212
- # 409: { "error": "stale", "currentEtag": "<latest-hex64>" } → re-fetch and retry
213
- # 403: Origin header missing or not in allowlist
214
- # 405: server is in read-only mode (the default)
215
- ```
216
-
217
- **Origin requirement:** POST requests must include `Origin: http://127.0.0.1:<port>`
218
- or `Origin: http://localhost:<port>`. This prevents cross-origin writes from
219
- browser tabs served by other origins.
172
+ **Security:** the studio server binds 127.0.0.1 only, Host-header guarded against
173
+ DNS rebinding, path-traversal blocked, with a strict CSP (`script-src 'self'`).
174
+ Wireframe HTML is DOMPurify-sanitized at both save and render time via one shared
175
+ allowlist. Writes use optimistic concurrency (`PATCH` requires `If-Match`; 409 on
176
+ stale). These loopback primitives live in `src/local-web/`, ported in part from
177
+ [`patoles/agent-flow`](https://github.com/patoles/agent-flow) under Apache-2.0
178
+ see `NOTICE`.
220
179
 
221
180
  ## Related
222
181
 
@@ -0,0 +1,23 @@
1
+ /**
2
+ * `visual-plan` command adapter — maps parsed argv into the visual-plan CLI
3
+ * dispatcher. Thin by design (mirrors how other commands wrap their domain
4
+ * module); all logic lives in `src/visual-plan/`.
5
+ */
6
+ export interface VisualPlanArgs {
7
+ subcommand?: string;
8
+ planDir?: string;
9
+ revision?: string | number;
10
+ json?: boolean;
11
+ open?: boolean;
12
+ noOpen?: boolean;
13
+ force?: boolean;
14
+ port?: number;
15
+ format?: string;
16
+ ops?: string;
17
+ batch?: string;
18
+ check?: boolean;
19
+ receipt?: string;
20
+ op?: string;
21
+ }
22
+ export declare function visualPlan(args: VisualPlanArgs): Promise<void>;
23
+ //# sourceMappingURL=visual-plan.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visual-plan.d.ts","sourceRoot":"","sources":["../../src/commands/visual-plan.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,MAAM,WAAW,cAAc;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAkBpE"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * `visual-plan` command adapter — maps parsed argv into the visual-plan CLI
3
+ * dispatcher. Thin by design (mirrors how other commands wrap their domain
4
+ * module); all logic lives in `src/visual-plan/`.
5
+ */
6
+ import { visualPlanCommand } from "../visual-plan/interface/cli.js";
7
+ export async function visualPlan(args) {
8
+ const cliArgs = {
9
+ subcommand: args.subcommand,
10
+ planDir: args.planDir,
11
+ revision: args.revision,
12
+ json: args.json,
13
+ open: args.open,
14
+ noOpen: args.noOpen,
15
+ force: args.force,
16
+ port: args.port,
17
+ format: args.format,
18
+ ops: args.ops,
19
+ batch: args.batch,
20
+ check: args.check,
21
+ receipt: args.receipt,
22
+ op: args.op,
23
+ };
24
+ await visualPlanCommand(cliArgs);
25
+ }
26
+ //# sourceMappingURL=visual-plan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visual-plan.js","sourceRoot":"","sources":["../../src/commands/visual-plan.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,iBAAiB,EAA0B,MAAM,iCAAiC,CAAC;AAmB5F,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,IAAoB;IACpD,MAAM,OAAO,GAAsB;QAClC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,GAAG,EAAE,IAAI,CAAC,GAAG;QACb,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,EAAE,EAAE,IAAI,CAAC,EAAE;KACX,CAAC;IACF,MAAM,iBAAiB,CAAC,OAAO,CAAC,CAAC;AAClC,CAAC"}
@@ -14,12 +14,12 @@ export declare const TypedRequirementSchema: z.ZodObject<{
14
14
  id: z.ZodString;
15
15
  provenance: z.ZodDefault<z.ZodEnum<["authored", "inferred", "adapter", "unknown"]>>;
16
16
  }, "strip", z.ZodTypeAny, {
17
- id: string;
18
17
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
18
+ id: string;
19
19
  provenance: "unknown" | "authored" | "inferred" | "adapter";
20
20
  }, {
21
- id: string;
22
21
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
22
+ id: string;
23
23
  provenance?: "unknown" | "authored" | "inferred" | "adapter" | undefined;
24
24
  }>;
25
25
  export type TypedRequirement = z.infer<typeof TypedRequirementSchema>;
@@ -30,10 +30,10 @@ export declare const InvocationSchema: z.ZodObject<{
30
30
  id: z.ZodString;
31
31
  }, "strip", z.ZodTypeAny, {
32
32
  id: string;
33
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
33
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
34
34
  }, {
35
35
  id: string;
36
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
36
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
37
37
  }>;
38
38
  export type Invocation = z.infer<typeof InvocationSchema>;
39
39
  /** The four independent host-support levels, per provider. Populated from adapter
@@ -78,10 +78,10 @@ export declare const VerificationSchema: z.ZodObject<{
78
78
  kind: z.ZodEnum<["command", "file", "runtime", "none", "unknown"]>;
79
79
  id: z.ZodOptional<z.ZodString>;
80
80
  }, "strip", z.ZodTypeAny, {
81
- kind: "command" | "unknown" | "none" | "file" | "runtime";
81
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
82
82
  id?: string | undefined;
83
83
  }, {
84
- kind: "command" | "unknown" | "none" | "file" | "runtime";
84
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
85
85
  id?: string | undefined;
86
86
  }>;
87
87
  export type Verification = z.infer<typeof VerificationSchema>;
@@ -105,22 +105,22 @@ export declare const CapabilityEntrySchema: z.ZodObject<{
105
105
  id: z.ZodString;
106
106
  }, "strip", z.ZodTypeAny, {
107
107
  id: string;
108
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
108
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
109
109
  }, {
110
110
  id: string;
111
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
111
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
112
112
  }>;
113
113
  requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
114
114
  type: z.ZodEnum<["host_tool", "mcp_or_app", "external_binary", "subagent_surface", "skill_script", "lifecycle_event", "file_or_config"]>;
115
115
  id: z.ZodString;
116
116
  provenance: z.ZodDefault<z.ZodEnum<["authored", "inferred", "adapter", "unknown"]>>;
117
117
  }, "strip", z.ZodTypeAny, {
118
- id: string;
119
118
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
119
+ id: string;
120
120
  provenance: "unknown" | "authored" | "inferred" | "adapter";
121
121
  }, {
122
- id: string;
123
122
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
123
+ id: string;
124
124
  provenance?: "unknown" | "authored" | "inferred" | "adapter" | undefined;
125
125
  }>, "many">>;
126
126
  /** Set when this capability must acquire a task-scoped repo-context envelope before
@@ -157,10 +157,10 @@ export declare const CapabilityEntrySchema: z.ZodObject<{
157
157
  kind: z.ZodEnum<["command", "file", "runtime", "none", "unknown"]>;
158
158
  id: z.ZodOptional<z.ZodString>;
159
159
  }, "strip", z.ZodTypeAny, {
160
- kind: "command" | "unknown" | "none" | "file" | "runtime";
160
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
161
161
  id?: string | undefined;
162
162
  }, {
163
- kind: "command" | "unknown" | "none" | "file" | "runtime";
163
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
164
164
  id?: string | undefined;
165
165
  }>>;
166
166
  dependencies: z.ZodDefault<z.ZodObject<{
@@ -176,24 +176,28 @@ export declare const CapabilityEntrySchema: z.ZodObject<{
176
176
  /** field name → where that field's value came from. */
177
177
  provenance: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<["authored", "inferred", "adapter", "unknown"]>>>;
178
178
  }, "strip", z.ZodTypeAny, {
179
- id: string;
180
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "tool" | "context-service" | "state-service";
179
+ owner: string;
181
180
  description: string;
181
+ verification: {
182
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
183
+ id?: string | undefined;
184
+ };
185
+ id: string;
186
+ provenance: Record<string, "unknown" | "authored" | "inferred" | "adapter">;
187
+ kind: "skill" | "tool" | "agent" | "command" | "workflow" | "hook" | "context-service" | "state-service";
182
188
  aliases: string[];
183
189
  sourcePath: string | null;
184
190
  inventoryId: string | null;
185
- owner: string;
186
- installedState: "installed" | "absent" | "unknown";
191
+ installedState: "unknown" | "installed" | "absent";
187
192
  intents: string[];
188
193
  whenToUse: string | null;
189
194
  invocation: {
190
195
  id: string;
191
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
196
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
192
197
  };
193
- provenance: Record<string, "unknown" | "authored" | "inferred" | "adapter">;
194
198
  requirements: {
195
- id: string;
196
199
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
200
+ id: string;
197
201
  provenance: "unknown" | "authored" | "inferred" | "adapter";
198
202
  }[];
199
203
  contextRequirement: {
@@ -206,33 +210,33 @@ export declare const CapabilityEntrySchema: z.ZodObject<{
206
210
  invocable: boolean;
207
211
  enforceable: boolean;
208
212
  }>;
209
- verification: {
210
- kind: "command" | "unknown" | "none" | "file" | "runtime";
211
- id?: string | undefined;
212
- };
213
213
  dependencies: {
214
214
  upstream: string[];
215
215
  downstream: string[];
216
216
  };
217
217
  }, {
218
218
  id: string;
219
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "tool" | "context-service" | "state-service";
219
+ kind: "skill" | "tool" | "agent" | "command" | "workflow" | "hook" | "context-service" | "state-service";
220
220
  invocation: {
221
221
  id: string;
222
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
222
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
223
223
  };
224
+ owner?: string | undefined;
224
225
  description?: string | undefined;
226
+ verification?: {
227
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
228
+ id?: string | undefined;
229
+ } | undefined;
230
+ provenance?: Record<string, "unknown" | "authored" | "inferred" | "adapter"> | undefined;
225
231
  aliases?: string[] | undefined;
226
232
  sourcePath?: string | null | undefined;
227
233
  inventoryId?: string | null | undefined;
228
- owner?: string | undefined;
229
- installedState?: "installed" | "absent" | "unknown" | undefined;
234
+ installedState?: "unknown" | "installed" | "absent" | undefined;
230
235
  intents?: string[] | undefined;
231
236
  whenToUse?: string | null | undefined;
232
- provenance?: Record<string, "unknown" | "authored" | "inferred" | "adapter"> | undefined;
233
237
  requirements?: {
234
- id: string;
235
238
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
239
+ id: string;
236
240
  provenance?: "unknown" | "authored" | "inferred" | "adapter" | undefined;
237
241
  }[] | undefined;
238
242
  contextRequirement?: {
@@ -245,10 +249,6 @@ export declare const CapabilityEntrySchema: z.ZodObject<{
245
249
  invocable: boolean;
246
250
  enforceable: boolean;
247
251
  }> | undefined;
248
- verification?: {
249
- kind: "command" | "unknown" | "none" | "file" | "runtime";
250
- id?: string | undefined;
251
- } | undefined;
252
252
  dependencies?: {
253
253
  upstream?: string[] | undefined;
254
254
  downstream?: string[] | undefined;
@@ -277,22 +277,22 @@ export declare const CapabilityManifestSchema: z.ZodObject<{
277
277
  id: z.ZodString;
278
278
  }, "strip", z.ZodTypeAny, {
279
279
  id: string;
280
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
280
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
281
281
  }, {
282
282
  id: string;
283
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
283
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
284
284
  }>;
285
285
  requirements: z.ZodDefault<z.ZodArray<z.ZodObject<{
286
286
  type: z.ZodEnum<["host_tool", "mcp_or_app", "external_binary", "subagent_surface", "skill_script", "lifecycle_event", "file_or_config"]>;
287
287
  id: z.ZodString;
288
288
  provenance: z.ZodDefault<z.ZodEnum<["authored", "inferred", "adapter", "unknown"]>>;
289
289
  }, "strip", z.ZodTypeAny, {
290
- id: string;
291
290
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
291
+ id: string;
292
292
  provenance: "unknown" | "authored" | "inferred" | "adapter";
293
293
  }, {
294
- id: string;
295
294
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
295
+ id: string;
296
296
  provenance?: "unknown" | "authored" | "inferred" | "adapter" | undefined;
297
297
  }>, "many">>;
298
298
  /** Set when this capability must acquire a task-scoped repo-context envelope before
@@ -329,10 +329,10 @@ export declare const CapabilityManifestSchema: z.ZodObject<{
329
329
  kind: z.ZodEnum<["command", "file", "runtime", "none", "unknown"]>;
330
330
  id: z.ZodOptional<z.ZodString>;
331
331
  }, "strip", z.ZodTypeAny, {
332
- kind: "command" | "unknown" | "none" | "file" | "runtime";
332
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
333
333
  id?: string | undefined;
334
334
  }, {
335
- kind: "command" | "unknown" | "none" | "file" | "runtime";
335
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
336
336
  id?: string | undefined;
337
337
  }>>;
338
338
  dependencies: z.ZodDefault<z.ZodObject<{
@@ -348,24 +348,28 @@ export declare const CapabilityManifestSchema: z.ZodObject<{
348
348
  /** field name → where that field's value came from. */
349
349
  provenance: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<["authored", "inferred", "adapter", "unknown"]>>>;
350
350
  }, "strip", z.ZodTypeAny, {
351
- id: string;
352
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "tool" | "context-service" | "state-service";
351
+ owner: string;
353
352
  description: string;
353
+ verification: {
354
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
355
+ id?: string | undefined;
356
+ };
357
+ id: string;
358
+ provenance: Record<string, "unknown" | "authored" | "inferred" | "adapter">;
359
+ kind: "skill" | "tool" | "agent" | "command" | "workflow" | "hook" | "context-service" | "state-service";
354
360
  aliases: string[];
355
361
  sourcePath: string | null;
356
362
  inventoryId: string | null;
357
- owner: string;
358
- installedState: "installed" | "absent" | "unknown";
363
+ installedState: "unknown" | "installed" | "absent";
359
364
  intents: string[];
360
365
  whenToUse: string | null;
361
366
  invocation: {
362
367
  id: string;
363
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
368
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
364
369
  };
365
- provenance: Record<string, "unknown" | "authored" | "inferred" | "adapter">;
366
370
  requirements: {
367
- id: string;
368
371
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
372
+ id: string;
369
373
  provenance: "unknown" | "authored" | "inferred" | "adapter";
370
374
  }[];
371
375
  contextRequirement: {
@@ -378,33 +382,33 @@ export declare const CapabilityManifestSchema: z.ZodObject<{
378
382
  invocable: boolean;
379
383
  enforceable: boolean;
380
384
  }>;
381
- verification: {
382
- kind: "command" | "unknown" | "none" | "file" | "runtime";
383
- id?: string | undefined;
384
- };
385
385
  dependencies: {
386
386
  upstream: string[];
387
387
  downstream: string[];
388
388
  };
389
389
  }, {
390
390
  id: string;
391
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "tool" | "context-service" | "state-service";
391
+ kind: "skill" | "tool" | "agent" | "command" | "workflow" | "hook" | "context-service" | "state-service";
392
392
  invocation: {
393
393
  id: string;
394
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
394
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
395
395
  };
396
+ owner?: string | undefined;
396
397
  description?: string | undefined;
398
+ verification?: {
399
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
400
+ id?: string | undefined;
401
+ } | undefined;
402
+ provenance?: Record<string, "unknown" | "authored" | "inferred" | "adapter"> | undefined;
397
403
  aliases?: string[] | undefined;
398
404
  sourcePath?: string | null | undefined;
399
405
  inventoryId?: string | null | undefined;
400
- owner?: string | undefined;
401
- installedState?: "installed" | "absent" | "unknown" | undefined;
406
+ installedState?: "unknown" | "installed" | "absent" | undefined;
402
407
  intents?: string[] | undefined;
403
408
  whenToUse?: string | null | undefined;
404
- provenance?: Record<string, "unknown" | "authored" | "inferred" | "adapter"> | undefined;
405
409
  requirements?: {
406
- id: string;
407
410
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
411
+ id: string;
408
412
  provenance?: "unknown" | "authored" | "inferred" | "adapter" | undefined;
409
413
  }[] | undefined;
410
414
  contextRequirement?: {
@@ -417,10 +421,6 @@ export declare const CapabilityManifestSchema: z.ZodObject<{
417
421
  invocable: boolean;
418
422
  enforceable: boolean;
419
423
  }> | undefined;
420
- verification?: {
421
- kind: "command" | "unknown" | "none" | "file" | "runtime";
422
- id?: string | undefined;
423
- } | undefined;
424
424
  dependencies?: {
425
425
  upstream?: string[] | undefined;
426
426
  downstream?: string[] | undefined;
@@ -428,24 +428,28 @@ export declare const CapabilityManifestSchema: z.ZodObject<{
428
428
  }>, "many">;
429
429
  }, "strip", z.ZodTypeAny, {
430
430
  entries: {
431
- id: string;
432
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "tool" | "context-service" | "state-service";
431
+ owner: string;
433
432
  description: string;
433
+ verification: {
434
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
435
+ id?: string | undefined;
436
+ };
437
+ id: string;
438
+ provenance: Record<string, "unknown" | "authored" | "inferred" | "adapter">;
439
+ kind: "skill" | "tool" | "agent" | "command" | "workflow" | "hook" | "context-service" | "state-service";
434
440
  aliases: string[];
435
441
  sourcePath: string | null;
436
442
  inventoryId: string | null;
437
- owner: string;
438
- installedState: "installed" | "absent" | "unknown";
443
+ installedState: "unknown" | "installed" | "absent";
439
444
  intents: string[];
440
445
  whenToUse: string | null;
441
446
  invocation: {
442
447
  id: string;
443
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
448
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
444
449
  };
445
- provenance: Record<string, "unknown" | "authored" | "inferred" | "adapter">;
446
450
  requirements: {
447
- id: string;
448
451
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
452
+ id: string;
449
453
  provenance: "unknown" | "authored" | "inferred" | "adapter";
450
454
  }[];
451
455
  contextRequirement: {
@@ -458,10 +462,6 @@ export declare const CapabilityManifestSchema: z.ZodObject<{
458
462
  invocable: boolean;
459
463
  enforceable: boolean;
460
464
  }>;
461
- verification: {
462
- kind: "command" | "unknown" | "none" | "file" | "runtime";
463
- id?: string | undefined;
464
- };
465
465
  dependencies: {
466
466
  upstream: string[];
467
467
  downstream: string[];
@@ -471,23 +471,27 @@ export declare const CapabilityManifestSchema: z.ZodObject<{
471
471
  }, {
472
472
  entries: {
473
473
  id: string;
474
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "tool" | "context-service" | "state-service";
474
+ kind: "skill" | "tool" | "agent" | "command" | "workflow" | "hook" | "context-service" | "state-service";
475
475
  invocation: {
476
476
  id: string;
477
- kind: "skill" | "agent" | "command" | "workflow" | "hook" | "none";
477
+ kind: "skill" | "none" | "agent" | "command" | "workflow" | "hook";
478
478
  };
479
+ owner?: string | undefined;
479
480
  description?: string | undefined;
481
+ verification?: {
482
+ kind: "unknown" | "none" | "command" | "file" | "runtime";
483
+ id?: string | undefined;
484
+ } | undefined;
485
+ provenance?: Record<string, "unknown" | "authored" | "inferred" | "adapter"> | undefined;
480
486
  aliases?: string[] | undefined;
481
487
  sourcePath?: string | null | undefined;
482
488
  inventoryId?: string | null | undefined;
483
- owner?: string | undefined;
484
- installedState?: "installed" | "absent" | "unknown" | undefined;
489
+ installedState?: "unknown" | "installed" | "absent" | undefined;
485
490
  intents?: string[] | undefined;
486
491
  whenToUse?: string | null | undefined;
487
- provenance?: Record<string, "unknown" | "authored" | "inferred" | "adapter"> | undefined;
488
492
  requirements?: {
489
- id: string;
490
493
  type: "host_tool" | "mcp_or_app" | "external_binary" | "subagent_surface" | "skill_script" | "lifecycle_event" | "file_or_config";
494
+ id: string;
491
495
  provenance?: "unknown" | "authored" | "inferred" | "adapter" | undefined;
492
496
  }[] | undefined;
493
497
  contextRequirement?: {
@@ -500,10 +504,6 @@ export declare const CapabilityManifestSchema: z.ZodObject<{
500
504
  invocable: boolean;
501
505
  enforceable: boolean;
502
506
  }> | undefined;
503
- verification?: {
504
- kind: "command" | "unknown" | "none" | "file" | "runtime";
505
- id?: string | undefined;
506
- } | undefined;
507
507
  dependencies?: {
508
508
  upstream?: string[] | undefined;
509
509
  downstream?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"consolidation-ledger.d.ts","sourceRoot":"","sources":["../../src/core/consolidation-ledger.ts"],"names":[],"mappings":"AAWA;;kFAEkF;AAClF,MAAM,MAAM,mBAAmB,GAC5B,WAAW,GACX,aAAa,GACb,gBAAgB,GAChB,cAAc,GACd,YAAY,GACZ,WAAW,CAAC;AAEf,MAAM,WAAW,sBAAsB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,+EAA+E;IAC/E,cAAc,EAAE,MAAM,CAAC;IACvB,4FAA4F;IAC5F,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;IAC5D,UAAU,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IACtC,0FAA0F;IAC1F,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,YAAY,EAAE,MAAM,CAAC;IACrB,gGAAgG;IAChG,iBAAiB,EAAE,KAAK,CAAC;IACzB,yEAAyE;IACzE,cAAc,EAAE,MAAM,EAAE,CAAC;CACzB;AAID,8FAA8F;AAC9F,eAAO,MAAM,oBAAoB,EAAE,sBAAsB,EA+HxD,CAAC;AAEF,iCAAiC;AACjC,wBAAgB,sBAAsB,IAAI,sBAAsB,EAAE,CAEjE"}
1
+ {"version":3,"file":"consolidation-ledger.d.ts","sourceRoot":"","sources":["../../src/core/consolidation-ledger.ts"],"names":[],"mappings":"AAaA;;kFAEkF;AAClF,MAAM,MAAM,mBAAmB,GAC5B,WAAW,GACX,aAAa,GACb,gBAAgB,GAChB,cAAc,GACd,YAAY,GACZ,WAAW,CAAC;AAEf,MAAM,WAAW,sBAAsB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,mBAAmB,CAAC;IAC5B,+EAA+E;IAC/E,cAAc,EAAE,MAAM,CAAC;IACvB,4FAA4F;IAC5F,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;IAC5D,UAAU,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IACtC,0FAA0F;IAC1F,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,YAAY,EAAE,MAAM,CAAC;IACrB,gGAAgG;IAChG,iBAAiB,EAAE,KAAK,CAAC;IACzB,yEAAyE;IACzE,cAAc,EAAE,MAAM,EAAE,CAAC;CACzB;AAID,8FAA8F;AAC9F,eAAO,MAAM,oBAAoB,EAAE,sBAAsB,EA+HxD,CAAC;AAEF,iCAAiC;AACjC,wBAAgB,sBAAsB,IAAI,sBAAsB,EAAE,CAEjE"}