@agimon-ai/doompi 0.0.1-alpha.76 → 0.0.1-alpha.78

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 (836) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +23 -0
  2. package/dist/antigravity.cjs +5 -0
  3. package/dist/antigravity.d.cts +2 -0
  4. package/dist/antigravity.d.mts +2 -0
  5. package/dist/antigravity.mjs +2 -0
  6. package/dist/api-contracts.cjs +11 -0
  7. package/dist/api-contracts.cjs.map +1 -0
  8. package/dist/api-contracts.d.cts +52 -0
  9. package/dist/api-contracts.d.cts.map +1 -0
  10. package/dist/api-contracts.d.mts +52 -0
  11. package/dist/api-contracts.d.mts.map +1 -0
  12. package/dist/api-contracts.mjs +7 -0
  13. package/dist/api-contracts.mjs.map +1 -0
  14. package/dist/base-command.cjs +3 -0
  15. package/dist/base-command.d.cts +2 -0
  16. package/dist/base-command.d.mts +2 -0
  17. package/dist/base-command.mjs +2 -0
  18. package/dist/bin/cli.cjs +29 -0
  19. package/dist/bin/cli.cjs.map +1 -0
  20. package/dist/bin/cli.d.cts +1 -0
  21. package/dist/bin/cli.d.mts +1 -0
  22. package/dist/bin/cli.mjs +30 -0
  23. package/dist/bin/cli.mjs.map +1 -0
  24. package/dist/bin/doomRunner.cjs +39 -0
  25. package/dist/bin/doomRunner.cjs.map +1 -0
  26. package/dist/bin/doomRunner.d.cts +12 -0
  27. package/dist/bin/doomRunner.d.cts.map +1 -0
  28. package/dist/bin/doomRunner.d.mts +12 -0
  29. package/dist/bin/doomRunner.d.mts.map +1 -0
  30. package/dist/bin/doomRunner.mjs +38 -0
  31. package/dist/bin/doomRunner.mjs.map +1 -0
  32. package/dist/bin/dpi.cjs +12 -0
  33. package/dist/bin/dpi.cjs.map +1 -0
  34. package/dist/bin/dpi.d.cts +1 -0
  35. package/dist/bin/dpi.d.mts +1 -0
  36. package/dist/bin/dpi.mjs +14 -0
  37. package/dist/bin/dpi.mjs.map +1 -0
  38. package/dist/bin/serve.cjs +11 -0
  39. package/dist/bin/serve.cjs.map +1 -0
  40. package/dist/bin/serve.d.cts +1 -0
  41. package/dist/bin/serve.d.mts +1 -0
  42. package/dist/bin/serve.mjs +13 -0
  43. package/dist/bin/serve.mjs.map +1 -0
  44. package/dist/builders/apiContractExport/index.cjs +81 -0
  45. package/dist/builders/apiContractExport/index.cjs.map +1 -0
  46. package/dist/builders/apiContractExport/index.mjs +77 -0
  47. package/dist/builders/apiContractExport/index.mjs.map +1 -0
  48. package/dist/builders/apiContracts/index.cjs +87 -0
  49. package/dist/builders/apiContracts/index.cjs.map +1 -0
  50. package/dist/builders/apiContracts/index.mjs +82 -0
  51. package/dist/builders/apiContracts/index.mjs.map +1 -0
  52. package/dist/builders/cli/bootstrapClaim.cjs +53 -0
  53. package/dist/builders/cli/bootstrapClaim.cjs.map +1 -0
  54. package/dist/builders/cli/bootstrapClaim.mjs +51 -0
  55. package/dist/builders/cli/bootstrapClaim.mjs.map +1 -0
  56. package/dist/builders/cli/bootstrapLocator/index.cjs +204 -0
  57. package/dist/builders/cli/bootstrapLocator/index.cjs.map +1 -0
  58. package/dist/builders/cli/bootstrapLocator/index.d.cts +5 -0
  59. package/dist/builders/cli/bootstrapLocator/index.d.cts.map +1 -0
  60. package/dist/builders/cli/bootstrapLocator/index.d.mts +5 -0
  61. package/dist/builders/cli/bootstrapLocator/index.d.mts.map +1 -0
  62. package/dist/builders/cli/bootstrapLocator/index.mjs +196 -0
  63. package/dist/builders/cli/bootstrapLocator/index.mjs.map +1 -0
  64. package/dist/builders/cli/composition.cjs +378 -0
  65. package/dist/builders/cli/composition.cjs.map +1 -0
  66. package/dist/builders/cli/composition.d.cts +119 -0
  67. package/dist/builders/cli/composition.d.cts.map +1 -0
  68. package/dist/builders/cli/composition.d.mts +119 -0
  69. package/dist/builders/cli/composition.d.mts.map +1 -0
  70. package/dist/builders/cli/composition.mjs +351 -0
  71. package/dist/builders/cli/composition.mjs.map +1 -0
  72. package/dist/builders/cli/compositionState.cjs +33 -0
  73. package/dist/builders/cli/compositionState.cjs.map +1 -0
  74. package/dist/builders/cli/compositionState.d.cts +9 -0
  75. package/dist/builders/cli/compositionState.d.cts.map +1 -0
  76. package/dist/builders/cli/compositionState.d.mts +9 -0
  77. package/dist/builders/cli/compositionState.d.mts.map +1 -0
  78. package/dist/builders/cli/compositionState.mjs +30 -0
  79. package/dist/builders/cli/compositionState.mjs.map +1 -0
  80. package/dist/builders/cli/constants.cjs +20 -0
  81. package/dist/builders/cli/constants.cjs.map +1 -0
  82. package/dist/builders/cli/constants.d.cts +17 -0
  83. package/dist/builders/cli/constants.d.cts.map +1 -0
  84. package/dist/builders/cli/constants.d.mts +17 -0
  85. package/dist/builders/cli/constants.d.mts.map +1 -0
  86. package/dist/builders/cli/constants.mjs +19 -0
  87. package/dist/builders/cli/constants.mjs.map +1 -0
  88. package/dist/builders/cli/contextCatalog.cjs +130 -0
  89. package/dist/builders/cli/contextCatalog.cjs.map +1 -0
  90. package/dist/builders/cli/contextCatalog.mjs +130 -0
  91. package/dist/builders/cli/contextCatalog.mjs.map +1 -0
  92. package/dist/builders/cli/dpiSettings.cjs +118 -0
  93. package/dist/builders/cli/dpiSettings.cjs.map +1 -0
  94. package/dist/builders/cli/dpiSettings.mjs +111 -0
  95. package/dist/builders/cli/dpiSettings.mjs.map +1 -0
  96. package/dist/builders/cli/entryResolution.cjs +23 -0
  97. package/dist/builders/cli/entryResolution.cjs.map +1 -0
  98. package/dist/builders/cli/entryResolution.d.cts +5 -0
  99. package/dist/builders/cli/entryResolution.d.cts.map +1 -0
  100. package/dist/builders/cli/entryResolution.d.mts +5 -0
  101. package/dist/builders/cli/entryResolution.d.mts.map +1 -0
  102. package/dist/builders/cli/entryResolution.mjs +20 -0
  103. package/dist/builders/cli/entryResolution.mjs.map +1 -0
  104. package/dist/builders/cli/extensionAssembler/index.cjs +386 -0
  105. package/dist/builders/cli/extensionAssembler/index.cjs.map +1 -0
  106. package/dist/builders/cli/extensionAssembler/index.d.cts +113 -0
  107. package/dist/builders/cli/extensionAssembler/index.d.cts.map +1 -0
  108. package/dist/builders/cli/extensionAssembler/index.d.mts +113 -0
  109. package/dist/builders/cli/extensionAssembler/index.d.mts.map +1 -0
  110. package/dist/builders/cli/extensionAssembler/index.mjs +376 -0
  111. package/dist/builders/cli/extensionAssembler/index.mjs.map +1 -0
  112. package/dist/builders/cli/harnessContext.cjs +186 -0
  113. package/dist/builders/cli/harnessContext.cjs.map +1 -0
  114. package/dist/builders/cli/harnessContext.d.cts +51 -0
  115. package/dist/builders/cli/harnessContext.d.cts.map +1 -0
  116. package/dist/builders/cli/harnessContext.d.mts +51 -0
  117. package/dist/builders/cli/harnessContext.d.mts.map +1 -0
  118. package/dist/builders/cli/harnessContext.mjs +179 -0
  119. package/dist/builders/cli/harnessContext.mjs.map +1 -0
  120. package/dist/builders/cli/index.cjs +151 -0
  121. package/dist/builders/cli/index.cjs.map +1 -0
  122. package/dist/builders/cli/index.d.cts +22 -0
  123. package/dist/builders/cli/index.d.cts.map +1 -0
  124. package/dist/builders/cli/index.d.mts +22 -0
  125. package/dist/builders/cli/index.d.mts.map +1 -0
  126. package/dist/builders/cli/index.mjs +147 -0
  127. package/dist/builders/cli/index.mjs.map +1 -0
  128. package/dist/builders/cli/launchPlan/index.cjs +102 -0
  129. package/dist/builders/cli/launchPlan/index.cjs.map +1 -0
  130. package/dist/builders/cli/launchPlan/index.d.cts +43 -0
  131. package/dist/builders/cli/launchPlan/index.d.cts.map +1 -0
  132. package/dist/builders/cli/launchPlan/index.d.mts +43 -0
  133. package/dist/builders/cli/launchPlan/index.d.mts.map +1 -0
  134. package/dist/builders/cli/launchPlan/index.mjs +100 -0
  135. package/dist/builders/cli/launchPlan/index.mjs.map +1 -0
  136. package/dist/builders/cli/launcherComposition/index.cjs +84 -0
  137. package/dist/builders/cli/launcherComposition/index.cjs.map +1 -0
  138. package/dist/builders/cli/launcherComposition/index.mjs +80 -0
  139. package/dist/builders/cli/launcherComposition/index.mjs.map +1 -0
  140. package/dist/builders/cli/piExtensionAlias/index.cjs +40 -0
  141. package/dist/builders/cli/piExtensionAlias/index.cjs.map +1 -0
  142. package/dist/builders/cli/piExtensionAlias/index.mjs +35 -0
  143. package/dist/builders/cli/piExtensionAlias/index.mjs.map +1 -0
  144. package/dist/builders/cli/piExtensionDispatcher/index.cjs +205 -0
  145. package/dist/builders/cli/piExtensionDispatcher/index.cjs.map +1 -0
  146. package/dist/builders/cli/piExtensionDispatcher/index.mjs +198 -0
  147. package/dist/builders/cli/piExtensionDispatcher/index.mjs.map +1 -0
  148. package/dist/builders/cli/prepare.cjs +64 -0
  149. package/dist/builders/cli/prepare.cjs.map +1 -0
  150. package/dist/builders/cli/prepare.mjs +62 -0
  151. package/dist/builders/cli/prepare.mjs.map +1 -0
  152. package/dist/builders/cli/projectSettings.cjs +155 -0
  153. package/dist/builders/cli/projectSettings.cjs.map +1 -0
  154. package/dist/builders/cli/projectSettings.d.cts +27 -0
  155. package/dist/builders/cli/projectSettings.d.cts.map +1 -0
  156. package/dist/builders/cli/projectSettings.d.mts +27 -0
  157. package/dist/builders/cli/projectSettings.d.mts.map +1 -0
  158. package/dist/builders/cli/projectSettings.mjs +144 -0
  159. package/dist/builders/cli/projectSettings.mjs.map +1 -0
  160. package/dist/builders/cli/runtimeBundle/index.cjs +130 -0
  161. package/dist/builders/cli/runtimeBundle/index.cjs.map +1 -0
  162. package/dist/builders/cli/runtimeBundle/index.d.cts +21 -0
  163. package/dist/builders/cli/runtimeBundle/index.d.cts.map +1 -0
  164. package/dist/builders/cli/runtimeBundle/index.d.mts +21 -0
  165. package/dist/builders/cli/runtimeBundle/index.d.mts.map +1 -0
  166. package/dist/builders/cli/runtimeBundle/index.mjs +126 -0
  167. package/dist/builders/cli/runtimeBundle/index.mjs.map +1 -0
  168. package/dist/builders/server/index.cjs +184 -0
  169. package/dist/builders/server/index.cjs.map +1 -0
  170. package/dist/builders/server/index.mjs +181 -0
  171. package/dist/builders/server/index.mjs.map +1 -0
  172. package/dist/builders/server/runtime.cjs +603 -0
  173. package/dist/builders/server/runtime.cjs.map +1 -0
  174. package/dist/builders/server/runtime.mjs +595 -0
  175. package/dist/builders/server/runtime.mjs.map +1 -0
  176. package/dist/builders/server/selectionStatus.cjs +12 -0
  177. package/dist/builders/server/selectionStatus.cjs.map +1 -0
  178. package/dist/builders/server/selectionStatus.mjs +12 -0
  179. package/dist/builders/server/selectionStatus.mjs.map +1 -0
  180. package/dist/builders/server/sessionArguments.cjs +22 -0
  181. package/dist/builders/server/sessionArguments.cjs.map +1 -0
  182. package/dist/builders/server/sessionArguments.mjs +22 -0
  183. package/dist/builders/server/sessionArguments.mjs.map +1 -0
  184. package/dist/builders/web/bundle.cjs +110 -0
  185. package/dist/builders/web/bundle.cjs.map +1 -0
  186. package/dist/builders/web/bundle.d.cts +29 -0
  187. package/dist/builders/web/bundle.d.cts.map +1 -0
  188. package/dist/builders/web/bundle.d.mts +29 -0
  189. package/dist/builders/web/bundle.d.mts.map +1 -0
  190. package/dist/builders/web/bundle.mjs +107 -0
  191. package/dist/builders/web/bundle.mjs.map +1 -0
  192. package/dist/builders/web/bundleAssetPolicy.cjs +96 -0
  193. package/dist/builders/web/bundleAssetPolicy.cjs.map +1 -0
  194. package/dist/builders/web/bundleAssetPolicy.d.cts +22 -0
  195. package/dist/builders/web/bundleAssetPolicy.d.cts.map +1 -0
  196. package/dist/builders/web/bundleAssetPolicy.d.mts +22 -0
  197. package/dist/builders/web/bundleAssetPolicy.d.mts.map +1 -0
  198. package/dist/builders/web/bundleAssetPolicy.mjs +95 -0
  199. package/dist/builders/web/bundleAssetPolicy.mjs.map +1 -0
  200. package/dist/builders/web/index.cjs +75 -0
  201. package/dist/builders/web/index.cjs.map +1 -0
  202. package/dist/builders/web/index.d.cts +29 -0
  203. package/dist/builders/web/index.d.cts.map +1 -0
  204. package/dist/builders/web/index.d.mts +29 -0
  205. package/dist/builders/web/index.d.mts.map +1 -0
  206. package/dist/builders/web/index.mjs +72 -0
  207. package/dist/builders/web/index.mjs.map +1 -0
  208. package/dist/builders/web/webDevRoots.cjs +27 -0
  209. package/dist/builders/web/webDevRoots.cjs.map +1 -0
  210. package/dist/builders/web/webDevRoots.d.cts +22 -0
  211. package/dist/builders/web/webDevRoots.d.cts.map +1 -0
  212. package/dist/builders/web/webDevRoots.d.mts +22 -0
  213. package/dist/builders/web/webDevRoots.d.mts.map +1 -0
  214. package/dist/builders/web/webDevRoots.mjs +25 -0
  215. package/dist/builders/web/webDevRoots.mjs.map +1 -0
  216. package/dist/builders/web/webPluginGenerate.cjs +113 -0
  217. package/dist/builders/web/webPluginGenerate.cjs.map +1 -0
  218. package/dist/builders/web/webPluginGenerate.d.cts +28 -0
  219. package/dist/builders/web/webPluginGenerate.d.cts.map +1 -0
  220. package/dist/builders/web/webPluginGenerate.d.mts +28 -0
  221. package/dist/builders/web/webPluginGenerate.d.mts.map +1 -0
  222. package/dist/builders/web/webPluginGenerate.mjs +106 -0
  223. package/dist/builders/web/webPluginGenerate.mjs.map +1 -0
  224. package/dist/builders/web/webPluginManifest.cjs +92 -0
  225. package/dist/builders/web/webPluginManifest.cjs.map +1 -0
  226. package/dist/builders/web/webPluginManifest.d.cts +44 -0
  227. package/dist/builders/web/webPluginManifest.d.cts.map +1 -0
  228. package/dist/builders/web/webPluginManifest.d.mts +44 -0
  229. package/dist/builders/web/webPluginManifest.d.mts.map +1 -0
  230. package/dist/builders/web/webPluginManifest.mjs +88 -0
  231. package/dist/builders/web/webPluginManifest.mjs.map +1 -0
  232. package/dist/builders/web/webPluginScan.cjs +53 -0
  233. package/dist/builders/web/webPluginScan.cjs.map +1 -0
  234. package/dist/builders/web/webPluginScan.d.cts +16 -0
  235. package/dist/builders/web/webPluginScan.d.cts.map +1 -0
  236. package/dist/builders/web/webPluginScan.d.mts +16 -0
  237. package/dist/builders/web/webPluginScan.d.mts.map +1 -0
  238. package/dist/builders/web/webPluginScan.mjs +50 -0
  239. package/dist/builders/web/webPluginScan.mjs.map +1 -0
  240. package/dist/builders/web/webPluginVite.cjs +124 -0
  241. package/dist/builders/web/webPluginVite.cjs.map +1 -0
  242. package/dist/builders/web/webPluginVite.d.cts +36 -0
  243. package/dist/builders/web/webPluginVite.d.cts.map +1 -0
  244. package/dist/builders/web/webPluginVite.d.mts +36 -0
  245. package/dist/builders/web/webPluginVite.d.mts.map +1 -0
  246. package/dist/builders/web/webPluginVite.mjs +116 -0
  247. package/dist/builders/web/webPluginVite.mjs.map +1 -0
  248. package/dist/builders/web.cjs +33 -0
  249. package/dist/builders/web.d.cts +9 -0
  250. package/dist/builders/web.d.mts +9 -0
  251. package/dist/builders/web.mjs +9 -0
  252. package/dist/cli/cliApp.cjs +177 -0
  253. package/dist/cli/cliApp.cjs.map +1 -0
  254. package/dist/cli/cliApp.d.cts +25 -0
  255. package/dist/cli/cliApp.d.cts.map +1 -0
  256. package/dist/cli/cliApp.d.mts +25 -0
  257. package/dist/cli/cliApp.d.mts.map +1 -0
  258. package/dist/cli/cliApp.mjs +175 -0
  259. package/dist/cli/cliApp.mjs.map +1 -0
  260. package/dist/cli/commands/api-export/index.cjs +65 -0
  261. package/dist/cli/commands/api-export/index.cjs.map +1 -0
  262. package/dist/cli/commands/api-export/index.mjs +61 -0
  263. package/dist/cli/commands/api-export/index.mjs.map +1 -0
  264. package/dist/cli/commands/baseCommand.cjs +16 -0
  265. package/dist/cli/commands/baseCommand.cjs.map +1 -0
  266. package/dist/cli/commands/baseCommand.d.cts +24 -0
  267. package/dist/cli/commands/baseCommand.d.cts.map +1 -0
  268. package/dist/cli/commands/baseCommand.d.mts +24 -0
  269. package/dist/cli/commands/baseCommand.d.mts.map +1 -0
  270. package/dist/cli/commands/baseCommand.mjs +16 -0
  271. package/dist/cli/commands/baseCommand.mjs.map +1 -0
  272. package/dist/cli/commands/compat/context.cjs +115 -0
  273. package/dist/cli/commands/compat/context.cjs.map +1 -0
  274. package/dist/cli/commands/compat/context.d.cts +22 -0
  275. package/dist/cli/commands/compat/context.d.cts.map +1 -0
  276. package/dist/cli/commands/compat/context.d.mts +22 -0
  277. package/dist/cli/commands/compat/context.d.mts.map +1 -0
  278. package/dist/cli/commands/compat/context.mjs +110 -0
  279. package/dist/cli/commands/compat/context.mjs.map +1 -0
  280. package/dist/cli/commands/compat/help.cjs +26 -0
  281. package/dist/cli/commands/compat/help.cjs.map +1 -0
  282. package/dist/cli/commands/compat/help.d.cts +4 -0
  283. package/dist/cli/commands/compat/help.d.cts.map +1 -0
  284. package/dist/cli/commands/compat/help.d.mts +4 -0
  285. package/dist/cli/commands/compat/help.d.mts.map +1 -0
  286. package/dist/cli/commands/compat/help.mjs +25 -0
  287. package/dist/cli/commands/compat/help.mjs.map +1 -0
  288. package/dist/cli/commands/compat/index.cjs +73 -0
  289. package/dist/cli/commands/compat/index.cjs.map +1 -0
  290. package/dist/cli/commands/compat/index.d.cts +14 -0
  291. package/dist/cli/commands/compat/index.d.cts.map +1 -0
  292. package/dist/cli/commands/compat/index.d.mts +14 -0
  293. package/dist/cli/commands/compat/index.d.mts.map +1 -0
  294. package/dist/cli/commands/compat/index.mjs +70 -0
  295. package/dist/cli/commands/compat/index.mjs.map +1 -0
  296. package/dist/cli/commands/compat/options.cjs +88 -0
  297. package/dist/cli/commands/compat/options.cjs.map +1 -0
  298. package/dist/cli/commands/compat/options.d.cts +15 -0
  299. package/dist/cli/commands/compat/options.d.cts.map +1 -0
  300. package/dist/cli/commands/compat/options.d.mts +15 -0
  301. package/dist/cli/commands/compat/options.d.mts.map +1 -0
  302. package/dist/cli/commands/compat/options.mjs +86 -0
  303. package/dist/cli/commands/compat/options.mjs.map +1 -0
  304. package/dist/cli/commands/compat/providers/antigravity.cjs +294 -0
  305. package/dist/cli/commands/compat/providers/antigravity.cjs.map +1 -0
  306. package/dist/cli/commands/compat/providers/antigravity.d.cts +9 -0
  307. package/dist/cli/commands/compat/providers/antigravity.d.cts.map +1 -0
  308. package/dist/cli/commands/compat/providers/antigravity.d.mts +9 -0
  309. package/dist/cli/commands/compat/providers/antigravity.d.mts.map +1 -0
  310. package/dist/cli/commands/compat/providers/antigravity.mjs +289 -0
  311. package/dist/cli/commands/compat/providers/antigravity.mjs.map +1 -0
  312. package/dist/cli/commands/compat/providers/codex.cjs +178 -0
  313. package/dist/cli/commands/compat/providers/codex.cjs.map +1 -0
  314. package/dist/cli/commands/compat/providers/codex.d.cts +17 -0
  315. package/dist/cli/commands/compat/providers/codex.d.cts.map +1 -0
  316. package/dist/cli/commands/compat/providers/codex.d.mts +17 -0
  317. package/dist/cli/commands/compat/providers/codex.d.mts.map +1 -0
  318. package/dist/cli/commands/compat/providers/codex.mjs +170 -0
  319. package/dist/cli/commands/compat/providers/codex.mjs.map +1 -0
  320. package/dist/cli/commands/compat/providers/index.cjs +65 -0
  321. package/dist/cli/commands/compat/providers/index.cjs.map +1 -0
  322. package/dist/cli/commands/compat/providers/index.d.cts +15 -0
  323. package/dist/cli/commands/compat/providers/index.d.cts.map +1 -0
  324. package/dist/cli/commands/compat/providers/index.d.mts +15 -0
  325. package/dist/cli/commands/compat/providers/index.d.mts.map +1 -0
  326. package/dist/cli/commands/compat/providers/index.mjs +45 -0
  327. package/dist/cli/commands/compat/providers/index.mjs.map +1 -0
  328. package/dist/cli/commands/compat/providers/process.cjs +172 -0
  329. package/dist/cli/commands/compat/providers/process.cjs.map +1 -0
  330. package/dist/cli/commands/compat/providers/process.d.cts +33 -0
  331. package/dist/cli/commands/compat/providers/process.d.cts.map +1 -0
  332. package/dist/cli/commands/compat/providers/process.d.mts +33 -0
  333. package/dist/cli/commands/compat/providers/process.d.mts.map +1 -0
  334. package/dist/cli/commands/compat/providers/process.mjs +159 -0
  335. package/dist/cli/commands/compat/providers/process.mjs.map +1 -0
  336. package/dist/cli/commands/compat/providers/shared.cjs +76 -0
  337. package/dist/cli/commands/compat/providers/shared.cjs.map +1 -0
  338. package/dist/cli/commands/compat/providers/shared.d.cts +40 -0
  339. package/dist/cli/commands/compat/providers/shared.d.cts.map +1 -0
  340. package/dist/cli/commands/compat/providers/shared.d.mts +40 -0
  341. package/dist/cli/commands/compat/providers/shared.d.mts.map +1 -0
  342. package/dist/cli/commands/compat/providers/shared.mjs +61 -0
  343. package/dist/cli/commands/compat/providers/shared.mjs.map +1 -0
  344. package/dist/cli/commands/compat/types.d.cts +31 -0
  345. package/dist/cli/commands/compat/types.d.cts.map +1 -0
  346. package/dist/cli/commands/compat/types.d.mts +31 -0
  347. package/dist/cli/commands/compat/types.d.mts.map +1 -0
  348. package/dist/cli/commands/doctor/help.cjs +19 -0
  349. package/dist/cli/commands/doctor/help.cjs.map +1 -0
  350. package/dist/cli/commands/doctor/help.d.cts +4 -0
  351. package/dist/cli/commands/doctor/help.d.cts.map +1 -0
  352. package/dist/cli/commands/doctor/help.d.mts +4 -0
  353. package/dist/cli/commands/doctor/help.d.mts.map +1 -0
  354. package/dist/cli/commands/doctor/help.mjs +19 -0
  355. package/dist/cli/commands/doctor/help.mjs.map +1 -0
  356. package/dist/cli/commands/doctor/index.cjs +116 -0
  357. package/dist/cli/commands/doctor/index.cjs.map +1 -0
  358. package/dist/cli/commands/doctor/index.d.cts +12 -0
  359. package/dist/cli/commands/doctor/index.d.cts.map +1 -0
  360. package/dist/cli/commands/doctor/index.d.mts +12 -0
  361. package/dist/cli/commands/doctor/index.d.mts.map +1 -0
  362. package/dist/cli/commands/doctor/index.mjs +112 -0
  363. package/dist/cli/commands/doctor/index.mjs.map +1 -0
  364. package/dist/cli/commands/emit-mcp/index.cjs +32 -0
  365. package/dist/cli/commands/emit-mcp/index.cjs.map +1 -0
  366. package/dist/cli/commands/emit-mcp/index.d.cts +19 -0
  367. package/dist/cli/commands/emit-mcp/index.d.cts.map +1 -0
  368. package/dist/cli/commands/emit-mcp/index.d.mts +19 -0
  369. package/dist/cli/commands/emit-mcp/index.d.mts.map +1 -0
  370. package/dist/cli/commands/emit-mcp/index.mjs +31 -0
  371. package/dist/cli/commands/emit-mcp/index.mjs.map +1 -0
  372. package/dist/cli/commands/explain/index.cjs +155 -0
  373. package/dist/cli/commands/explain/index.cjs.map +1 -0
  374. package/dist/cli/commands/explain/index.d.cts +57 -0
  375. package/dist/cli/commands/explain/index.d.cts.map +1 -0
  376. package/dist/cli/commands/explain/index.d.mts +57 -0
  377. package/dist/cli/commands/explain/index.d.mts.map +1 -0
  378. package/dist/cli/commands/explain/index.mjs +150 -0
  379. package/dist/cli/commands/explain/index.mjs.map +1 -0
  380. package/dist/cli/commands/history-export/help.cjs +18 -0
  381. package/dist/cli/commands/history-export/help.cjs.map +1 -0
  382. package/dist/cli/commands/history-export/help.d.cts +4 -0
  383. package/dist/cli/commands/history-export/help.d.cts.map +1 -0
  384. package/dist/cli/commands/history-export/help.d.mts +4 -0
  385. package/dist/cli/commands/history-export/help.d.mts.map +1 -0
  386. package/dist/cli/commands/history-export/help.mjs +18 -0
  387. package/dist/cli/commands/history-export/help.mjs.map +1 -0
  388. package/dist/cli/commands/history-export/index.cjs +76 -0
  389. package/dist/cli/commands/history-export/index.cjs.map +1 -0
  390. package/dist/cli/commands/history-export/index.mjs +74 -0
  391. package/dist/cli/commands/history-export/index.mjs.map +1 -0
  392. package/dist/cli/commands/history-import/help.cjs +20 -0
  393. package/dist/cli/commands/history-import/help.cjs.map +1 -0
  394. package/dist/cli/commands/history-import/help.d.cts +4 -0
  395. package/dist/cli/commands/history-import/help.d.cts.map +1 -0
  396. package/dist/cli/commands/history-import/help.d.mts +4 -0
  397. package/dist/cli/commands/history-import/help.d.mts.map +1 -0
  398. package/dist/cli/commands/history-import/help.mjs +20 -0
  399. package/dist/cli/commands/history-import/help.mjs.map +1 -0
  400. package/dist/cli/commands/history-import/index.cjs +78 -0
  401. package/dist/cli/commands/history-import/index.cjs.map +1 -0
  402. package/dist/cli/commands/history-import/index.mjs +75 -0
  403. package/dist/cli/commands/history-import/index.mjs.map +1 -0
  404. package/dist/cli/commands/init/constants.cjs +11 -0
  405. package/dist/cli/commands/init/constants.cjs.map +1 -0
  406. package/dist/cli/commands/init/constants.mjs +11 -0
  407. package/dist/cli/commands/init/constants.mjs.map +1 -0
  408. package/dist/cli/commands/init/help.cjs +17 -0
  409. package/dist/cli/commands/init/help.cjs.map +1 -0
  410. package/dist/cli/commands/init/help.d.cts +4 -0
  411. package/dist/cli/commands/init/help.d.cts.map +1 -0
  412. package/dist/cli/commands/init/help.d.mts +4 -0
  413. package/dist/cli/commands/init/help.d.mts.map +1 -0
  414. package/dist/cli/commands/init/help.mjs +17 -0
  415. package/dist/cli/commands/init/help.mjs.map +1 -0
  416. package/dist/cli/commands/init/index.cjs +87 -0
  417. package/dist/cli/commands/init/index.cjs.map +1 -0
  418. package/dist/cli/commands/init/index.d.cts +12 -0
  419. package/dist/cli/commands/init/index.d.cts.map +1 -0
  420. package/dist/cli/commands/init/index.d.mts +12 -0
  421. package/dist/cli/commands/init/index.d.mts.map +1 -0
  422. package/dist/cli/commands/init/index.mjs +83 -0
  423. package/dist/cli/commands/init/index.mjs.map +1 -0
  424. package/dist/cli/commands/init/presenter.cjs +170 -0
  425. package/dist/cli/commands/init/presenter.cjs.map +1 -0
  426. package/dist/cli/commands/init/presenter.d.cts +8 -0
  427. package/dist/cli/commands/init/presenter.d.cts.map +1 -0
  428. package/dist/cli/commands/init/presenter.d.mts +8 -0
  429. package/dist/cli/commands/init/presenter.d.mts.map +1 -0
  430. package/dist/cli/commands/init/presenter.mjs +170 -0
  431. package/dist/cli/commands/init/presenter.mjs.map +1 -0
  432. package/dist/cli/commands/launch/index.cjs +128 -0
  433. package/dist/cli/commands/launch/index.cjs.map +1 -0
  434. package/dist/cli/commands/launch/index.d.cts +29 -0
  435. package/dist/cli/commands/launch/index.d.cts.map +1 -0
  436. package/dist/cli/commands/launch/index.d.mts +29 -0
  437. package/dist/cli/commands/launch/index.d.mts.map +1 -0
  438. package/dist/cli/commands/launch/index.mjs +122 -0
  439. package/dist/cli/commands/launch/index.mjs.map +1 -0
  440. package/dist/cli/commands/sandbox/args.cjs +50 -0
  441. package/dist/cli/commands/sandbox/args.cjs.map +1 -0
  442. package/dist/cli/commands/sandbox/args.mjs +50 -0
  443. package/dist/cli/commands/sandbox/args.mjs.map +1 -0
  444. package/dist/cli/commands/sandbox/harness.cjs +61 -0
  445. package/dist/cli/commands/sandbox/harness.cjs.map +1 -0
  446. package/dist/cli/commands/sandbox/harness.mjs +60 -0
  447. package/dist/cli/commands/sandbox/harness.mjs.map +1 -0
  448. package/dist/cli/commands/sandbox/index.cjs +57 -0
  449. package/dist/cli/commands/sandbox/index.cjs.map +1 -0
  450. package/dist/cli/commands/sandbox/index.mjs +56 -0
  451. package/dist/cli/commands/sandbox/index.mjs.map +1 -0
  452. package/dist/cli/commands/sync/help.cjs +31 -0
  453. package/dist/cli/commands/sync/help.cjs.map +1 -0
  454. package/dist/cli/commands/sync/help.d.cts +4 -0
  455. package/dist/cli/commands/sync/help.d.cts.map +1 -0
  456. package/dist/cli/commands/sync/help.d.mts +4 -0
  457. package/dist/cli/commands/sync/help.d.mts.map +1 -0
  458. package/dist/cli/commands/sync/help.mjs +31 -0
  459. package/dist/cli/commands/sync/help.mjs.map +1 -0
  460. package/dist/cli/commands/sync/index.cjs +577 -0
  461. package/dist/cli/commands/sync/index.cjs.map +1 -0
  462. package/dist/cli/commands/sync/index.d.cts +65 -0
  463. package/dist/cli/commands/sync/index.d.cts.map +1 -0
  464. package/dist/cli/commands/sync/index.d.mts +65 -0
  465. package/dist/cli/commands/sync/index.d.mts.map +1 -0
  466. package/dist/cli/commands/sync/index.mjs +560 -0
  467. package/dist/cli/commands/sync/index.mjs.map +1 -0
  468. package/dist/cli/commands/sync/prepare.cjs +43 -0
  469. package/dist/cli/commands/sync/prepare.cjs.map +1 -0
  470. package/dist/cli/commands/sync/prepare.mjs +40 -0
  471. package/dist/cli/commands/sync/prepare.mjs.map +1 -0
  472. package/dist/cli/commands/sync/presenter.cjs +58 -0
  473. package/dist/cli/commands/sync/presenter.cjs.map +1 -0
  474. package/dist/cli/commands/sync/presenter.d.cts +16 -0
  475. package/dist/cli/commands/sync/presenter.d.cts.map +1 -0
  476. package/dist/cli/commands/sync/presenter.d.mts +16 -0
  477. package/dist/cli/commands/sync/presenter.d.mts.map +1 -0
  478. package/dist/cli/commands/sync/presenter.mjs +57 -0
  479. package/dist/cli/commands/sync/presenter.mjs.map +1 -0
  480. package/dist/cli/commands/sync/workflow.cjs +99 -0
  481. package/dist/cli/commands/sync/workflow.cjs.map +1 -0
  482. package/dist/cli/commands/sync/workflow.mjs +96 -0
  483. package/dist/cli/commands/sync/workflow.mjs.map +1 -0
  484. package/dist/cli/dpi.cjs +98 -0
  485. package/dist/cli/dpi.cjs.map +1 -0
  486. package/dist/cli/dpi.mjs +91 -0
  487. package/dist/cli/dpi.mjs.map +1 -0
  488. package/dist/cli/harnessOptions.cjs +60 -0
  489. package/dist/cli/harnessOptions.cjs.map +1 -0
  490. package/dist/cli/harnessOptions.d.cts +24 -0
  491. package/dist/cli/harnessOptions.d.cts.map +1 -0
  492. package/dist/cli/harnessOptions.d.mts +24 -0
  493. package/dist/cli/harnessOptions.d.mts.map +1 -0
  494. package/dist/cli/harnessOptions.mjs +57 -0
  495. package/dist/cli/harnessOptions.mjs.map +1 -0
  496. package/dist/cli/help.cjs +89 -0
  497. package/dist/cli/help.cjs.map +1 -0
  498. package/dist/cli/help.d.cts +12 -0
  499. package/dist/cli/help.d.cts.map +1 -0
  500. package/dist/cli/help.d.mts +12 -0
  501. package/dist/cli/help.d.mts.map +1 -0
  502. package/dist/cli/help.mjs +83 -0
  503. package/dist/cli/help.mjs.map +1 -0
  504. package/dist/cli/matrixOptions.cjs +178 -0
  505. package/dist/cli/matrixOptions.cjs.map +1 -0
  506. package/dist/cli/matrixOptions.d.cts +90 -0
  507. package/dist/cli/matrixOptions.d.cts.map +1 -0
  508. package/dist/cli/matrixOptions.d.mts +90 -0
  509. package/dist/cli/matrixOptions.d.mts.map +1 -0
  510. package/dist/cli/matrixOptions.mjs +151 -0
  511. package/dist/cli/matrixOptions.mjs.map +1 -0
  512. package/dist/cli/options.cjs +306 -0
  513. package/dist/cli/options.cjs.map +1 -0
  514. package/dist/cli/options.d.cts +5 -0
  515. package/dist/cli/options.d.cts.map +1 -0
  516. package/dist/cli/options.d.mts +5 -0
  517. package/dist/cli/options.d.mts.map +1 -0
  518. package/dist/cli/options.mjs +304 -0
  519. package/dist/cli/options.mjs.map +1 -0
  520. package/dist/cli/router.cjs +59 -0
  521. package/dist/cli/router.cjs.map +1 -0
  522. package/dist/cli/router.d.cts +32 -0
  523. package/dist/cli/router.d.cts.map +1 -0
  524. package/dist/cli/router.d.mts +32 -0
  525. package/dist/cli/router.d.mts.map +1 -0
  526. package/dist/cli/router.mjs +56 -0
  527. package/dist/cli/router.mjs.map +1 -0
  528. package/dist/cli/server/options.cjs +71 -0
  529. package/dist/cli/server/options.cjs.map +1 -0
  530. package/dist/cli/server/options.mjs +70 -0
  531. package/dist/cli/server/options.mjs.map +1 -0
  532. package/dist/cli/server/run.cjs +45 -0
  533. package/dist/cli/server/run.cjs.map +1 -0
  534. package/dist/cli/server/run.mjs +45 -0
  535. package/dist/cli/server/run.mjs.map +1 -0
  536. package/dist/cli-app.cjs +5 -0
  537. package/dist/cli-app.d.cts +2 -0
  538. package/dist/cli-app.d.mts +2 -0
  539. package/dist/cli-app.mjs +2 -0
  540. package/dist/cli.cjs +28 -0
  541. package/dist/cli.d.cts +11 -0
  542. package/dist/cli.d.mts +11 -0
  543. package/dist/cli.mjs +11 -0
  544. package/dist/codex.cjs +8 -0
  545. package/dist/codex.d.cts +2 -0
  546. package/dist/codex.d.mts +2 -0
  547. package/dist/codex.mjs +2 -0
  548. package/dist/commands.cjs +23 -0
  549. package/dist/commands.d.cts +9 -0
  550. package/dist/commands.d.mts +9 -0
  551. package/dist/commands.mjs +9 -0
  552. package/dist/compatibility-command.cjs +4 -0
  553. package/dist/compatibility-command.d.cts +2 -0
  554. package/dist/compatibility-command.d.mts +2 -0
  555. package/dist/compatibility-command.mjs +2 -0
  556. package/dist/compatibility-context.cjs +3 -0
  557. package/dist/compatibility-context.d.cts +2 -0
  558. package/dist/compatibility-context.d.mts +2 -0
  559. package/dist/compatibility-context.mjs +2 -0
  560. package/dist/compatibility-options.cjs +5 -0
  561. package/dist/compatibility-options.d.cts +2 -0
  562. package/dist/compatibility-options.d.mts +2 -0
  563. package/dist/compatibility-options.mjs +2 -0
  564. package/dist/compatibility.cjs +27 -0
  565. package/dist/compatibility.d.cts +6 -0
  566. package/dist/compatibility.d.mts +6 -0
  567. package/dist/compatibility.mjs +6 -0
  568. package/dist/compiler/cache.cjs +331 -0
  569. package/dist/compiler/cache.cjs.map +1 -0
  570. package/dist/compiler/cache.mjs +323 -0
  571. package/dist/compiler/cache.mjs.map +1 -0
  572. package/dist/compiler/index.cjs +996 -0
  573. package/dist/compiler/index.cjs.map +1 -0
  574. package/dist/compiler/index.mjs +988 -0
  575. package/dist/compiler/index.mjs.map +1 -0
  576. package/dist/compiler/inputs.cjs +83 -0
  577. package/dist/compiler/inputs.cjs.map +1 -0
  578. package/dist/compiler/inputs.mjs +78 -0
  579. package/dist/compiler/inputs.mjs.map +1 -0
  580. package/dist/composer.cjs +28 -0
  581. package/dist/composer.d.cts +4 -0
  582. package/dist/composer.d.mts +4 -0
  583. package/dist/composer.mjs +4 -0
  584. package/dist/composition/harnessState/index.cjs +48 -0
  585. package/dist/composition/harnessState/index.cjs.map +1 -0
  586. package/dist/composition/harnessState/index.d.cts +19 -0
  587. package/dist/composition/harnessState/index.d.cts.map +1 -0
  588. package/dist/composition/harnessState/index.d.mts +19 -0
  589. package/dist/composition/harnessState/index.d.mts.map +1 -0
  590. package/dist/composition/harnessState/index.mjs +34 -0
  591. package/dist/composition/harnessState/index.mjs.map +1 -0
  592. package/dist/composition/layerPackageInstaller/index.cjs +342 -0
  593. package/dist/composition/layerPackageInstaller/index.cjs.map +1 -0
  594. package/dist/composition/layerPackageInstaller/index.d.cts +45 -0
  595. package/dist/composition/layerPackageInstaller/index.d.cts.map +1 -0
  596. package/dist/composition/layerPackageInstaller/index.d.mts +45 -0
  597. package/dist/composition/layerPackageInstaller/index.d.mts.map +1 -0
  598. package/dist/composition/layerPackageInstaller/index.mjs +334 -0
  599. package/dist/composition/layerPackageInstaller/index.mjs.map +1 -0
  600. package/dist/composition/projectTrust/index.cjs +51 -0
  601. package/dist/composition/projectTrust/index.cjs.map +1 -0
  602. package/dist/composition/projectTrust/index.d.cts +22 -0
  603. package/dist/composition/projectTrust/index.d.cts.map +1 -0
  604. package/dist/composition/projectTrust/index.d.mts +22 -0
  605. package/dist/composition/projectTrust/index.d.mts.map +1 -0
  606. package/dist/composition/projectTrust/index.mjs +48 -0
  607. package/dist/composition/projectTrust/index.mjs.map +1 -0
  608. package/dist/composition/repository/index.cjs +69 -0
  609. package/dist/composition/repository/index.cjs.map +1 -0
  610. package/dist/composition/repository/index.d.cts +22 -0
  611. package/dist/composition/repository/index.d.cts.map +1 -0
  612. package/dist/composition/repository/index.d.mts +22 -0
  613. package/dist/composition/repository/index.d.mts.map +1 -0
  614. package/dist/composition/repository/index.mjs +64 -0
  615. package/dist/composition/repository/index.mjs.map +1 -0
  616. package/dist/composition/syncDrift/index.cjs +160 -0
  617. package/dist/composition/syncDrift/index.cjs.map +1 -0
  618. package/dist/composition/syncDrift/index.d.cts +41 -0
  619. package/dist/composition/syncDrift/index.d.cts.map +1 -0
  620. package/dist/composition/syncDrift/index.d.mts +41 -0
  621. package/dist/composition/syncDrift/index.d.mts.map +1 -0
  622. package/dist/composition/syncDrift/index.mjs +152 -0
  623. package/dist/composition/syncDrift/index.mjs.map +1 -0
  624. package/dist/composition/syncState/index.cjs +593 -0
  625. package/dist/composition/syncState/index.cjs.map +1 -0
  626. package/dist/composition/syncState/index.d.cts +188 -0
  627. package/dist/composition/syncState/index.d.cts.map +1 -0
  628. package/dist/composition/syncState/index.d.mts +188 -0
  629. package/dist/composition/syncState/index.d.mts.map +1 -0
  630. package/dist/composition/syncState/index.mjs +559 -0
  631. package/dist/composition/syncState/index.mjs.map +1 -0
  632. package/dist/composition/transitionLayers.cjs +17 -0
  633. package/dist/composition/transitionLayers.cjs.map +1 -0
  634. package/dist/composition/transitionLayers.d.cts +6 -0
  635. package/dist/composition/transitionLayers.d.cts.map +1 -0
  636. package/dist/composition/transitionLayers.d.mts +6 -0
  637. package/dist/composition/transitionLayers.d.mts.map +1 -0
  638. package/dist/composition/transitionLayers.mjs +16 -0
  639. package/dist/composition/transitionLayers.mjs.map +1 -0
  640. package/dist/composition/types/harness.d.cts +49 -0
  641. package/dist/composition/types/harness.d.cts.map +1 -0
  642. package/dist/composition/types/harness.d.mts +49 -0
  643. package/dist/composition/types/harness.d.mts.map +1 -0
  644. package/dist/config.cjs +163 -0
  645. package/dist/config.d.cts +7 -0
  646. package/dist/config.d.mts +7 -0
  647. package/dist/config.mjs +7 -0
  648. package/dist/emit-mcp-command.cjs +4 -0
  649. package/dist/emit-mcp-command.d.cts +2 -0
  650. package/dist/emit-mcp-command.d.mts +2 -0
  651. package/dist/emit-mcp-command.mjs +2 -0
  652. package/dist/explain-command.cjs +5 -0
  653. package/dist/explain-command.d.cts +2 -0
  654. package/dist/explain-command.d.mts +2 -0
  655. package/dist/explain-command.mjs +2 -0
  656. package/dist/extensions/agent-model.cjs +41 -0
  657. package/dist/extensions/agent-model.cjs.map +1 -0
  658. package/dist/extensions/agent-model.d.cts +22 -0
  659. package/dist/extensions/agent-model.d.cts.map +1 -0
  660. package/dist/extensions/agent-model.d.mts +22 -0
  661. package/dist/extensions/agent-model.d.mts.map +1 -0
  662. package/dist/extensions/agent-model.mjs +35 -0
  663. package/dist/extensions/agent-model.mjs.map +1 -0
  664. package/dist/extensions/composed-pi.cjs +46 -0
  665. package/dist/extensions/composed-pi.cjs.map +1 -0
  666. package/dist/extensions/composed-pi.d.cts +13 -0
  667. package/dist/extensions/composed-pi.d.cts.map +1 -0
  668. package/dist/extensions/composed-pi.d.mts +13 -0
  669. package/dist/extensions/composed-pi.d.mts.map +1 -0
  670. package/dist/extensions/composed-pi.mjs +41 -0
  671. package/dist/extensions/composed-pi.mjs.map +1 -0
  672. package/dist/extensions/context-catalog.cjs +96 -0
  673. package/dist/extensions/context-catalog.cjs.map +1 -0
  674. package/dist/extensions/context-catalog.d.cts +4 -0
  675. package/dist/extensions/context-catalog.d.cts.map +1 -0
  676. package/dist/extensions/context-catalog.d.mts +5 -0
  677. package/dist/extensions/context-catalog.d.mts.map +1 -0
  678. package/dist/extensions/context-catalog.mjs +96 -0
  679. package/dist/extensions/context-catalog.mjs.map +1 -0
  680. package/dist/extensions/cordis-finalizer.cjs +24 -0
  681. package/dist/extensions/cordis-finalizer.cjs.map +1 -0
  682. package/dist/extensions/cordis-finalizer.d.cts +7 -0
  683. package/dist/extensions/cordis-finalizer.d.cts.map +1 -0
  684. package/dist/extensions/cordis-finalizer.d.mts +7 -0
  685. package/dist/extensions/cordis-finalizer.d.mts.map +1 -0
  686. package/dist/extensions/cordis-finalizer.mjs +19 -0
  687. package/dist/extensions/cordis-finalizer.mjs.map +1 -0
  688. package/dist/extensions/cordis-host.cjs +19 -0
  689. package/dist/extensions/cordis-host.cjs.map +1 -0
  690. package/dist/extensions/cordis-host.d.cts +7 -0
  691. package/dist/extensions/cordis-host.d.cts.map +1 -0
  692. package/dist/extensions/cordis-host.d.mts +7 -0
  693. package/dist/extensions/cordis-host.d.mts.map +1 -0
  694. package/dist/extensions/cordis-host.mjs +14 -0
  695. package/dist/extensions/cordis-host.mjs.map +1 -0
  696. package/dist/extensions/effort.cjs +54 -0
  697. package/dist/extensions/effort.cjs.map +1 -0
  698. package/dist/extensions/effort.d.cts +8 -0
  699. package/dist/extensions/effort.d.cts.map +1 -0
  700. package/dist/extensions/effort.d.mts +8 -0
  701. package/dist/extensions/effort.d.mts.map +1 -0
  702. package/dist/extensions/effort.mjs +48 -0
  703. package/dist/extensions/effort.mjs.map +1 -0
  704. package/dist/extensions/launcher-bootstrap.cjs +38 -0
  705. package/dist/extensions/launcher-bootstrap.cjs.map +1 -0
  706. package/dist/extensions/launcher-bootstrap.d.cts +16 -0
  707. package/dist/extensions/launcher-bootstrap.d.cts.map +1 -0
  708. package/dist/extensions/launcher-bootstrap.d.mts +16 -0
  709. package/dist/extensions/launcher-bootstrap.d.mts.map +1 -0
  710. package/dist/extensions/launcher-bootstrap.mjs +33 -0
  711. package/dist/extensions/launcher-bootstrap.mjs.map +1 -0
  712. package/dist/extensions/ollama-provider.cjs +32 -0
  713. package/dist/extensions/ollama-provider.cjs.map +1 -0
  714. package/dist/extensions/ollama-provider.d.cts +5 -0
  715. package/dist/extensions/ollama-provider.d.cts.map +1 -0
  716. package/dist/extensions/ollama-provider.d.mts +5 -0
  717. package/dist/extensions/ollama-provider.d.mts.map +1 -0
  718. package/dist/extensions/ollama-provider.mjs +32 -0
  719. package/dist/extensions/ollama-provider.mjs.map +1 -0
  720. package/dist/extensions/pi.cjs +63 -0
  721. package/dist/extensions/pi.cjs.map +1 -0
  722. package/dist/extensions/pi.d.cts +7 -0
  723. package/dist/extensions/pi.d.cts.map +1 -0
  724. package/dist/extensions/pi.d.mts +7 -0
  725. package/dist/extensions/pi.d.mts.map +1 -0
  726. package/dist/extensions/pi.mjs +58 -0
  727. package/dist/extensions/pi.mjs.map +1 -0
  728. package/dist/extensions/server.cjs +20 -0
  729. package/dist/extensions/server.cjs.map +1 -0
  730. package/dist/extensions/server.d.cts +5 -0
  731. package/dist/extensions/server.d.cts.map +1 -0
  732. package/dist/extensions/server.d.mts +5 -0
  733. package/dist/extensions/server.d.mts.map +1 -0
  734. package/dist/extensions/server.mjs +15 -0
  735. package/dist/extensions/server.mjs.map +1 -0
  736. package/dist/extensions/style-system.cjs +234 -0
  737. package/dist/extensions/style-system.cjs.map +1 -0
  738. package/dist/extensions/style-system.d.cts +32 -0
  739. package/dist/extensions/style-system.d.cts.map +1 -0
  740. package/dist/extensions/style-system.d.mts +32 -0
  741. package/dist/extensions/style-system.d.mts.map +1 -0
  742. package/dist/extensions/style-system.mjs +219 -0
  743. package/dist/extensions/style-system.mjs.map +1 -0
  744. package/dist/extensions/terminal-child-session.cjs +76 -0
  745. package/dist/extensions/terminal-child-session.cjs.map +1 -0
  746. package/dist/extensions/terminal-child-session.d.cts +7 -0
  747. package/dist/extensions/terminal-child-session.d.cts.map +1 -0
  748. package/dist/extensions/terminal-child-session.d.mts +7 -0
  749. package/dist/extensions/terminal-child-session.d.mts.map +1 -0
  750. package/dist/extensions/terminal-child-session.mjs +69 -0
  751. package/dist/extensions/terminal-child-session.mjs.map +1 -0
  752. package/dist/extensions/transition-coordinator.cjs +154 -0
  753. package/dist/extensions/transition-coordinator.cjs.map +1 -0
  754. package/dist/extensions/transition-coordinator.d.cts +8 -0
  755. package/dist/extensions/transition-coordinator.d.cts.map +1 -0
  756. package/dist/extensions/transition-coordinator.d.mts +8 -0
  757. package/dist/extensions/transition-coordinator.d.mts.map +1 -0
  758. package/dist/extensions/transition-coordinator.mjs +146 -0
  759. package/dist/extensions/transition-coordinator.mjs.map +1 -0
  760. package/dist/harness-context.cjs +5 -0
  761. package/dist/harness-context.d.cts +2 -0
  762. package/dist/harness-context.d.mts +2 -0
  763. package/dist/harness-context.mjs +2 -0
  764. package/dist/harness-state.cjs +19 -0
  765. package/dist/harness-state.d.cts +2 -0
  766. package/dist/harness-state.d.mts +2 -0
  767. package/dist/harness-state.mjs +2 -0
  768. package/dist/help.cjs +16 -0
  769. package/dist/help.d.cts +8 -0
  770. package/dist/help.d.mts +8 -0
  771. package/dist/help.mjs +8 -0
  772. package/dist/index.cjs +368 -0
  773. package/dist/index.d.cts +49 -0
  774. package/dist/index.d.mts +49 -0
  775. package/dist/index.mjs +46 -0
  776. package/dist/init-command.cjs +4 -0
  777. package/dist/init-command.d.cts +2 -0
  778. package/dist/init-command.d.mts +2 -0
  779. package/dist/init-command.mjs +2 -0
  780. package/dist/launch-command.cjs +7 -0
  781. package/dist/launch-command.d.cts +2 -0
  782. package/dist/launch-command.d.mts +2 -0
  783. package/dist/launch-command.mjs +2 -0
  784. package/dist/matrix-options.cjs +28 -0
  785. package/dist/matrix-options.d.cts +2 -0
  786. package/dist/matrix-options.d.mts +2 -0
  787. package/dist/matrix-options.mjs +2 -0
  788. package/dist/matrix-switcher.cjs +11 -0
  789. package/dist/matrix-switcher.d.cts +3 -0
  790. package/dist/matrix-switcher.d.mts +3 -0
  791. package/dist/matrix-switcher.mjs +3 -0
  792. package/dist/mcp-filter.cjs +9 -0
  793. package/dist/mcp-filter.d.cts +1 -0
  794. package/dist/mcp-filter.d.mts +1 -0
  795. package/dist/mcp-filter.mjs +2 -0
  796. package/dist/options.cjs +3 -0
  797. package/dist/options.d.cts +2 -0
  798. package/dist/options.d.mts +2 -0
  799. package/dist/options.mjs +2 -0
  800. package/dist/process.cjs +12 -0
  801. package/dist/process.d.cts +2 -0
  802. package/dist/process.d.mts +2 -0
  803. package/dist/process.mjs +2 -0
  804. package/dist/project-trust.cjs +6 -0
  805. package/dist/project-trust.d.cts +2 -0
  806. package/dist/project-trust.d.mts +2 -0
  807. package/dist/project-trust.mjs +2 -0
  808. package/dist/repository.cjs +5 -0
  809. package/dist/repository.d.cts +2 -0
  810. package/dist/repository.d.mts +2 -0
  811. package/dist/repository.mjs +2 -0
  812. package/dist/resource-collector.cjs +9 -0
  813. package/dist/resource-collector.d.cts +1 -0
  814. package/dist/resource-collector.d.mts +1 -0
  815. package/dist/resource-collector.mjs +2 -0
  816. package/dist/services.cjs +154 -0
  817. package/dist/services.d.cts +21 -0
  818. package/dist/services.d.mts +21 -0
  819. package/dist/services.mjs +21 -0
  820. package/dist/shared.cjs +18 -0
  821. package/dist/shared.d.cts +2 -0
  822. package/dist/shared.d.mts +2 -0
  823. package/dist/shared.mjs +2 -0
  824. package/dist/sync-command.cjs +13 -0
  825. package/dist/sync-command.d.cts +2 -0
  826. package/dist/sync-command.d.mts +2 -0
  827. package/dist/sync-command.mjs +2 -0
  828. package/dist/sync-state.cjs +33 -0
  829. package/dist/sync-state.d.cts +2 -0
  830. package/dist/sync-state.d.mts +2 -0
  831. package/dist/sync-state.mjs +2 -0
  832. package/dist/utils.cjs +6 -0
  833. package/dist/utils.d.cts +3 -0
  834. package/dist/utils.d.mts +3 -0
  835. package/dist/utils.mjs +3 -0
  836. package/package.json +16 -16
@@ -0,0 +1,57 @@
1
+ import { HarnessOptions } from "../../../composition/types/harness.cjs";
2
+ import { HarnessContext } from "../../../builders/cli/harnessContext.cjs";
3
+ import { BaseCommand } from "../baseCommand.cjs";
4
+ import { McpServerCost } from "@agimon-ai/doompi-core/mcp-schema-cost";
5
+ //#region src/cli/commands/explain/index.d.ts
6
+ /**
7
+ * What the selection costs before the first prompt, in tokens.
8
+ *
9
+ * Every figure is an estimate of what the provider will be sent, not a billed
10
+ * total: skills are counted from files on disk and MCP tools from the schemas
11
+ * their servers advertise, both with the same tokenizer.
12
+ */
13
+ export interface MatrixCost {
14
+ /** The always-on skill block Pi puts in the system prompt. */
15
+ skillPromptTokens: number;
16
+ /** Skill bodies on disk, read only when a skill is invoked. */
17
+ skillBodyTokens: number;
18
+ /** The persona prompt, when a profile selected one. */
19
+ personaTokens: number;
20
+ /** Always-on tool schemas, per configured MCP server. */
21
+ mcpServers: McpServerCost[];
22
+ mcpToolTokens: number;
23
+ }
24
+ export interface MatrixExplanation {
25
+ majorMode: string;
26
+ profile?: string;
27
+ persona?: string;
28
+ domains: string[];
29
+ plugins: string[];
30
+ layers: string[];
31
+ hookGroups: string[];
32
+ hooksEnabled: boolean;
33
+ skillDirectories: string[];
34
+ skillCount: number;
35
+ agentCount: number;
36
+ agentDirectories: string[];
37
+ mcpConfigPath?: string;
38
+ mcpServers: string[];
39
+ mcpProxyUpstreams?: string[];
40
+ mcpFiltered: boolean;
41
+ cost?: MatrixCost;
42
+ }
43
+ /**
44
+ * Renders the resolved matrix for --explain. Composition spans three config
45
+ * files, so this answers "why is that loaded" in one command instead of a
46
+ * manual trace through domains, major modes, and plugin subsets.
47
+ */
48
+ export declare function explainMatrix(explanation: MatrixExplanation): string;
49
+ export declare function runExplain(context: HarnessContext): Promise<number>;
50
+ /** Compatibility API. Executables call the command function directly. */
51
+ export declare class ExplainCommand extends BaseCommand {
52
+ readonly name = "explain";
53
+ matches(options: HarnessOptions): boolean;
54
+ execute(context: HarnessContext): Promise<number>;
55
+ }
56
+ //#endregion
57
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../../../src/cli/commands/explain/index.ts"],"mappings":";;;;;;;;;;;;iBAkBiB;;EAEf;;EAEA;;EAEA;;EAEA,YAAY;EACZ;;iBAGe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAO;;;;;;;wBAaO,cAAc,aAAa;wBAoIrB,WAAW,SAAS,iBAAiB;;qBA+B9C,uBAAuB;WACzB;EAET,QAAQ,SAAS;EAIX,QAAQ,SAAS,iBAAiB"}
@@ -0,0 +1,57 @@
1
+ import { HarnessOptions } from "../../../composition/types/harness.mjs";
2
+ import { HarnessContext } from "../../../builders/cli/harnessContext.mjs";
3
+ import { BaseCommand } from "../baseCommand.mjs";
4
+ import { McpServerCost } from "@agimon-ai/doompi-core/mcp-schema-cost";
5
+ //#region src/cli/commands/explain/index.d.ts
6
+ /**
7
+ * What the selection costs before the first prompt, in tokens.
8
+ *
9
+ * Every figure is an estimate of what the provider will be sent, not a billed
10
+ * total: skills are counted from files on disk and MCP tools from the schemas
11
+ * their servers advertise, both with the same tokenizer.
12
+ */
13
+ export interface MatrixCost {
14
+ /** The always-on skill block Pi puts in the system prompt. */
15
+ skillPromptTokens: number;
16
+ /** Skill bodies on disk, read only when a skill is invoked. */
17
+ skillBodyTokens: number;
18
+ /** The persona prompt, when a profile selected one. */
19
+ personaTokens: number;
20
+ /** Always-on tool schemas, per configured MCP server. */
21
+ mcpServers: McpServerCost[];
22
+ mcpToolTokens: number;
23
+ }
24
+ export interface MatrixExplanation {
25
+ majorMode: string;
26
+ profile?: string;
27
+ persona?: string;
28
+ domains: string[];
29
+ plugins: string[];
30
+ layers: string[];
31
+ hookGroups: string[];
32
+ hooksEnabled: boolean;
33
+ skillDirectories: string[];
34
+ skillCount: number;
35
+ agentCount: number;
36
+ agentDirectories: string[];
37
+ mcpConfigPath?: string;
38
+ mcpServers: string[];
39
+ mcpProxyUpstreams?: string[];
40
+ mcpFiltered: boolean;
41
+ cost?: MatrixCost;
42
+ }
43
+ /**
44
+ * Renders the resolved matrix for --explain. Composition spans three config
45
+ * files, so this answers "why is that loaded" in one command instead of a
46
+ * manual trace through domains, major modes, and plugin subsets.
47
+ */
48
+ export declare function explainMatrix(explanation: MatrixExplanation): string;
49
+ export declare function runExplain(context: HarnessContext): Promise<number>;
50
+ /** Compatibility API. Executables call the command function directly. */
51
+ export declare class ExplainCommand extends BaseCommand {
52
+ readonly name = "explain";
53
+ matches(options: HarnessOptions): boolean;
54
+ execute(context: HarnessContext): Promise<number>;
55
+ }
56
+ //#endregion
57
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../../../src/cli/commands/explain/index.ts"],"mappings":";;;;;;;;;;;;iBAkBiB;;EAEf;;EAEA;;EAEA;;EAEA,YAAY;EACZ;;iBAGe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,OAAO;;;;;;;wBAaO,cAAc,aAAa;wBAoIrB,WAAW,SAAS,iBAAiB;;qBA+B9C,uBAAuB;WACzB;EAET,QAAQ,SAAS;EAIX,QAAQ,SAAS,iBAAiB"}
@@ -0,0 +1,150 @@
1
+ import { BaseCommand } from "../baseCommand.mjs";
2
+ import fs from "node:fs";
3
+ import path from "node:path";
4
+ import { buildSkillCatalog, counter } from "@agimon-ai/doompi-skill/catalog";
5
+ import { buildPersonaPrompt, globalDoomConfigDirectory } from "@agimon-ai/doompi-config";
6
+ import { priceMcpToolSchemas } from "@agimon-ai/doompi-core/mcp-schema-cost";
7
+ //#region src/cli/commands/explain/index.ts
8
+ function readMcpServers(configPath) {
9
+ return JSON.parse(fs.readFileSync(configPath, "utf8")).mcpServers ?? {};
10
+ }
11
+ /**
12
+ * Renders the resolved matrix for --explain. Composition spans three config
13
+ * files, so this answers "why is that loaded" in one command instead of a
14
+ * manual trace through domains, major modes, and plugin subsets.
15
+ */
16
+ function explainMatrix(explanation) {
17
+ const section = (label, values, empty = "(none)") => `${label}:\n${values.length === 0 ? ` ${empty}` : values.map((value) => ` ${value}`).join("\n")}\n`;
18
+ return [
19
+ `doompi resolved matrix\n\n`,
20
+ `major mode: ${explanation.majorMode}\n\n`,
21
+ section("profile", explanation.profile ? [explanation.profile] : [], "(none)"),
22
+ "\n",
23
+ section("persona", explanation.persona ? [explanation.persona] : [], "(none)"),
24
+ "\n",
25
+ section("domains (content)", explanation.domains),
26
+ "\n",
27
+ section("layers (behavior, from the major mode)", explanation.layers, "core only"),
28
+ "\n",
29
+ section("hook groups from layers", explanation.hookGroups, explanation.hooksEnabled ? "(core groups only)" : "(hooks disabled)"),
30
+ "\n",
31
+ section("plugins", explanation.plugins.map((directory) => path.basename(directory))),
32
+ "\n",
33
+ section("skill paths", explanation.skillDirectories.map((directory) => path.relative(process.cwd(), directory))),
34
+ "\n",
35
+ section(explanation.mcpFiltered ? "mcp servers (filtered by domain allowlist)" : "mcp servers (unfiltered)", explanation.mcpServers, "(mcp disabled)"),
36
+ "\n",
37
+ explanation.mcpProxyUpstreams ? section("mcp proxy upstreams (filtered)", explanation.mcpProxyUpstreams) : "mcp proxy upstreams:\n (unfiltered, every upstream in mcp-config.yaml)\n",
38
+ "\n",
39
+ `skills: ${explanation.skillCount} (from ${explanation.skillDirectories.length} paths)\n`,
40
+ `agents: ${explanation.agentCount}\n`,
41
+ `mcp config: ${explanation.mcpConfigPath ?? "(disabled)"}\n`,
42
+ explanation.cost ? renderCost(explanation.cost) : ""
43
+ ].join("");
44
+ }
45
+ const TOKEN_COLUMN = 9;
46
+ function tokenLine(label, tokens, note = "") {
47
+ const row = ` ${label.padEnd(16)}${tokens.toLocaleString("en-US").padStart(TOKEN_COLUMN)}`;
48
+ return `${note ? `${row} ${note}` : row}\n`;
49
+ }
50
+ /**
51
+ * The bill, rendered last so the sections above keep their order.
52
+ *
53
+ * Skill and persona figures are derived from files on disk and MCP figures
54
+ * from a cached handshake, so two runs of the same selection print the same
55
+ * numbers and a reader can reproduce them without trusting this output.
56
+ */
57
+ function renderCost(cost) {
58
+ const startup = cost.skillPromptTokens + cost.personaTokens + cost.mcpToolTokens;
59
+ const unpriced = cost.mcpServers.filter((server) => server.unavailable);
60
+ return [
61
+ "\ncontext cost (tokens)\n",
62
+ tokenLine("skills prompt", cost.skillPromptTokens, "always on"),
63
+ tokenLine("persona", cost.personaTokens, "always on"),
64
+ tokenLine("mcp tools", cost.mcpToolTokens, mcpNote(cost.mcpServers)),
65
+ tokenLine("startup total", startup),
66
+ tokenLine("skill bodies", cost.skillBodyTokens, "read on demand"),
67
+ ...cost.mcpServers.filter((server) => !server.unavailable).map(serverLine),
68
+ unpriced.length > 0 ? `\n Not priced: ${unpriced.map((server) => `${server.name} (${server.unavailable})`).join(", ")}\n` : "",
69
+ "\n Excludes skills contributed by extensions, which register after startup.\n"
70
+ ].join("");
71
+ }
72
+ function mcpNote(servers) {
73
+ const priced = servers.filter((server) => !server.unavailable);
74
+ if (priced.length === 0) return "always on";
75
+ return `always on, ${priced.reduce((total, server) => total + server.toolCount, 0)} tools from ${priced.length} server${priced.length === 1 ? "" : "s"}`;
76
+ }
77
+ function serverLine(server) {
78
+ return tokenLine(` ${server.name}`, server.tokens, server.cached ? "cached" : "measured now");
79
+ }
80
+ /** Prints the fully resolved matrix instead of launching Pi. */
81
+ async function costExplain(context) {
82
+ const { options, resources } = context;
83
+ try {
84
+ const [catalog, countTokens] = await Promise.all([buildSkillCatalog({
85
+ repoRoot: options.repoRoot,
86
+ activeSkillDirectories: resources.skillDirectories,
87
+ extensionSources: []
88
+ }), counter()]);
89
+ const persona = context.personaDirectory ? buildPersonaPrompt(context.personaRoot ?? options.repoRoot, context.personaDirectory) : void 0;
90
+ const mcp = resources.mcpConfigPath ? await priceMcpToolSchemas({
91
+ configPath: resources.mcpConfigPath,
92
+ homeDoomDirectory: globalDoomConfigDirectory(),
93
+ cwd: options.repoRoot,
94
+ environment: context.environment,
95
+ countTokens
96
+ }) : {
97
+ servers: [],
98
+ totalTokens: 0
99
+ };
100
+ return {
101
+ skillPromptTokens: catalog.promptTokens,
102
+ skillBodyTokens: catalog.bodyTokens,
103
+ personaTokens: persona ? countTokens(persona) : 0,
104
+ mcpServers: mcp.servers,
105
+ mcpToolTokens: mcp.totalTokens
106
+ };
107
+ } catch (error) {
108
+ const detail = error instanceof Error ? error.message : String(error);
109
+ process.stderr.write(`[doompi] explain: could not price the selection: ${detail}\n`);
110
+ return;
111
+ }
112
+ }
113
+ async function runExplain(context) {
114
+ const { options, resources, plugins, mcpAllowlist } = context;
115
+ const cost = await costExplain(context);
116
+ process.stdout.write(explainMatrix({
117
+ cost,
118
+ majorMode: options.majorMode,
119
+ profile: context.profile,
120
+ persona: context.personaDirectory,
121
+ domains: options.domains,
122
+ plugins: plugins.map((entry) => entry.directory),
123
+ layers: context.selectedLayers,
124
+ hookGroups: context.hookGroups,
125
+ hooksEnabled: options.hooks,
126
+ skillDirectories: resources.skillDirectories,
127
+ skillCount: resources.skillCount,
128
+ agentCount: resources.agentCount,
129
+ agentDirectories: resources.agentDirectories,
130
+ mcpConfigPath: resources.mcpConfigPath,
131
+ mcpServers: resources.mcpConfigPath ? Object.keys(readMcpServers(resources.mcpConfigPath)) : [],
132
+ mcpProxyUpstreams: mcpAllowlist?.proxy,
133
+ mcpFiltered: Boolean(mcpAllowlist)
134
+ }));
135
+ return 0;
136
+ }
137
+ /** Compatibility API. Executables call the command function directly. */
138
+ var ExplainCommand = class extends BaseCommand {
139
+ name = "explain";
140
+ matches(options) {
141
+ return options.explain;
142
+ }
143
+ async execute(context) {
144
+ return runExplain(context);
145
+ }
146
+ };
147
+ //#endregion
148
+ export { ExplainCommand, explainMatrix, runExplain };
149
+
150
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/cli/commands/explain/index.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\n\nimport { buildPersonaPrompt, globalDoomConfigDirectory } from '@agimon-ai/doompi-config';\nimport { type McpServerCost, priceMcpToolSchemas } from '@agimon-ai/doompi-core/mcp-schema-cost';\nimport { buildSkillCatalog, counter } from '@agimon-ai/doompi-skill/catalog';\n\nimport type { HarnessContext } from '../../../builders/cli/harnessContext';\nimport type { HarnessOptions } from '../../../composition/types/harness';\nimport { BaseCommand } from '../baseCommand';\n\n/**\n * What the selection costs before the first prompt, in tokens.\n *\n * Every figure is an estimate of what the provider will be sent, not a billed\n * total: skills are counted from files on disk and MCP tools from the schemas\n * their servers advertise, both with the same tokenizer.\n */\nexport interface MatrixCost {\n /** The always-on skill block Pi puts in the system prompt. */\n skillPromptTokens: number;\n /** Skill bodies on disk, read only when a skill is invoked. */\n skillBodyTokens: number;\n /** The persona prompt, when a profile selected one. */\n personaTokens: number;\n /** Always-on tool schemas, per configured MCP server. */\n mcpServers: McpServerCost[];\n mcpToolTokens: number;\n}\n\nexport interface MatrixExplanation {\n majorMode: string;\n profile?: string;\n persona?: string;\n domains: string[];\n plugins: string[];\n layers: string[];\n hookGroups: string[];\n hooksEnabled: boolean;\n skillDirectories: string[];\n skillCount: number;\n agentCount: number;\n agentDirectories: string[];\n mcpConfigPath?: string;\n mcpServers: string[];\n mcpProxyUpstreams?: string[];\n mcpFiltered: boolean;\n cost?: MatrixCost;\n}\n\nfunction readMcpServers(configPath: string): Record<string, unknown> {\n const config = JSON.parse(fs.readFileSync(configPath, 'utf8')) as { mcpServers?: Record<string, unknown> };\n return config.mcpServers ?? {};\n}\n\n/**\n * Renders the resolved matrix for --explain. Composition spans three config\n * files, so this answers \"why is that loaded\" in one command instead of a\n * manual trace through domains, major modes, and plugin subsets.\n */\nexport function explainMatrix(explanation: MatrixExplanation): string {\n const section = (label: string, values: string[], empty = '(none)'): string =>\n `${label}:\\n${values.length === 0 ? ` ${empty}` : values.map((value) => ` ${value}`).join('\\n')}\\n`;\n\n return [\n `doompi resolved matrix\\n\\n`,\n `major mode: ${explanation.majorMode}\\n\\n`,\n section('profile', explanation.profile ? [explanation.profile] : [], '(none)'),\n '\\n',\n section('persona', explanation.persona ? [explanation.persona] : [], '(none)'),\n '\\n',\n section('domains (content)', explanation.domains),\n '\\n',\n section('layers (behavior, from the major mode)', explanation.layers, 'core only'),\n '\\n',\n section(\n 'hook groups from layers',\n explanation.hookGroups,\n explanation.hooksEnabled ? '(core groups only)' : '(hooks disabled)',\n ),\n '\\n',\n section(\n 'plugins',\n explanation.plugins.map((directory) => path.basename(directory)),\n ),\n '\\n',\n section(\n 'skill paths',\n explanation.skillDirectories.map((directory) => path.relative(process.cwd(), directory)),\n ),\n '\\n',\n section(\n explanation.mcpFiltered ? 'mcp servers (filtered by domain allowlist)' : 'mcp servers (unfiltered)',\n explanation.mcpServers,\n '(mcp disabled)',\n ),\n '\\n',\n explanation.mcpProxyUpstreams\n ? section('mcp proxy upstreams (filtered)', explanation.mcpProxyUpstreams)\n : 'mcp proxy upstreams:\\n (unfiltered, every upstream in mcp-config.yaml)\\n',\n '\\n',\n `skills: ${explanation.skillCount} (from ${explanation.skillDirectories.length} paths)\\n`,\n `agents: ${explanation.agentCount}\\n`,\n `mcp config: ${explanation.mcpConfigPath ?? '(disabled)'}\\n`,\n explanation.cost ? renderCost(explanation.cost) : '',\n ].join('');\n}\n\nconst TOKEN_COLUMN = 9;\n\nfunction tokenLine(label: string, tokens: number, note = ''): string {\n const row = ` ${label.padEnd(16)}${tokens.toLocaleString('en-US').padStart(TOKEN_COLUMN)}`;\n return `${note ? `${row} ${note}` : row}\\n`;\n}\n\n/**\n * The bill, rendered last so the sections above keep their order.\n *\n * Skill and persona figures are derived from files on disk and MCP figures\n * from a cached handshake, so two runs of the same selection print the same\n * numbers and a reader can reproduce them without trusting this output.\n */\nfunction renderCost(cost: MatrixCost): string {\n const startup = cost.skillPromptTokens + cost.personaTokens + cost.mcpToolTokens;\n const unpriced = cost.mcpServers.filter((server) => server.unavailable);\n return [\n '\\ncontext cost (tokens)\\n',\n tokenLine('skills prompt', cost.skillPromptTokens, 'always on'),\n tokenLine('persona', cost.personaTokens, 'always on'),\n tokenLine('mcp tools', cost.mcpToolTokens, mcpNote(cost.mcpServers)),\n tokenLine('startup total', startup),\n tokenLine('skill bodies', cost.skillBodyTokens, 'read on demand'),\n ...cost.mcpServers.filter((server) => !server.unavailable).map(serverLine),\n unpriced.length > 0\n ? `\\n Not priced: ${unpriced.map((server) => `${server.name} (${server.unavailable})`).join(', ')}\\n`\n : '',\n '\\n Excludes skills contributed by extensions, which register after startup.\\n',\n ].join('');\n}\n\nfunction mcpNote(servers: McpServerCost[]): string {\n const priced = servers.filter((server) => !server.unavailable);\n if (priced.length === 0) return 'always on';\n const tools = priced.reduce((total, server) => total + server.toolCount, 0);\n return `always on, ${tools} tools from ${priced.length} server${priced.length === 1 ? '' : 's'}`;\n}\n\nfunction serverLine(server: McpServerCost): string {\n return tokenLine(` ${server.name}`, server.tokens, server.cached ? 'cached' : 'measured now');\n}\n\n/** Prints the fully resolved matrix instead of launching Pi. */\nasync function costExplain(context: HarnessContext): Promise<MatrixCost | undefined> {\n const { options, resources } = context;\n try {\n const [catalog, countTokens] = await Promise.all([\n buildSkillCatalog({\n repoRoot: options.repoRoot,\n activeSkillDirectories: resources.skillDirectories,\n extensionSources: [],\n }),\n counter(),\n ]);\n const persona = context.personaDirectory\n ? buildPersonaPrompt(context.personaRoot ?? options.repoRoot, context.personaDirectory)\n : undefined;\n const mcp = resources.mcpConfigPath\n ? await priceMcpToolSchemas({\n configPath: resources.mcpConfigPath,\n homeDoomDirectory: globalDoomConfigDirectory(),\n cwd: options.repoRoot,\n environment: context.environment,\n countTokens,\n })\n : { servers: [], totalTokens: 0 };\n return {\n skillPromptTokens: catalog.promptTokens,\n skillBodyTokens: catalog.bodyTokens,\n personaTokens: persona ? countTokens(persona) : 0,\n mcpServers: mcp.servers,\n mcpToolTokens: mcp.totalTokens,\n };\n } catch (error) {\n // Pricing reads the skill files, so an unreadable one must not take the\n // whole explanation down: the resolved matrix is the point, the bill is\n // the extra. Reported rather than swallowed.\n const detail = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[doompi] ${'explain'}: could not price the selection: ${detail}\\n`);\n return undefined;\n }\n}\n\nexport async function runExplain(context: HarnessContext): Promise<number> {\n const { options, resources, plugins, mcpAllowlist } = context;\n const cost = await costExplain(context);\n\n process.stdout.write(\n explainMatrix({\n cost,\n majorMode: options.majorMode,\n profile: context.profile,\n persona: context.personaDirectory,\n domains: options.domains,\n plugins: plugins.map((entry) => entry.directory),\n layers: context.selectedLayers,\n hookGroups: context.hookGroups,\n hooksEnabled: options.hooks,\n skillDirectories: resources.skillDirectories,\n skillCount: resources.skillCount,\n agentCount: resources.agentCount,\n agentDirectories: resources.agentDirectories,\n mcpConfigPath: resources.mcpConfigPath,\n // Read back from the generated config so this reports what Pi will\n // actually load, not what the allowlist intended.\n mcpServers: resources.mcpConfigPath ? Object.keys(readMcpServers(resources.mcpConfigPath)) : [],\n mcpProxyUpstreams: mcpAllowlist?.proxy,\n mcpFiltered: Boolean(mcpAllowlist),\n }),\n );\n return 0;\n}\n\n/** Compatibility API. Executables call the command function directly. */\nexport class ExplainCommand extends BaseCommand {\n readonly name = 'explain';\n\n matches(options: HarnessOptions): boolean {\n return options.explain;\n }\n\n async execute(context: HarnessContext): Promise<number> {\n return runExplain(context);\n }\n}\n"],"mappings":";;;;;;;AAkDA,SAAS,eAAe,YAA6C;CAEnE,OADe,KAAK,MAAM,GAAG,aAAa,YAAY,MAAM,CAChD,CAAC,CAAC,cAAc,CAAC;AAC/B;;;;;;AAOA,SA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@
1
+ //#region src/cli/commands/history-export/help.ts
2
+ function historyExportHelp() {
3
+ return `Usage: doompi history-export <v4-source> <v3-destination> [options]
4
+
5
+ Exports one canonical v4 JSONL session to a distinct v3 JSONL file and writes a
6
+ machine-readable loss report. Existing destination, report, and state files are
7
+ never overwritten.
8
+
9
+ Options:
10
+ --report <path> Loss report path (default: <destination>.loss.json)
11
+ --state <path> Resumable export state path
12
+ -h, --help Show this help
13
+ `;
14
+ }
15
+ //#endregion
16
+ exports.historyExportHelp = historyExportHelp;
17
+
18
+ //# sourceMappingURL=help.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.cjs","names":[],"sources":["../../../../src/cli/commands/history-export/help.ts"],"sourcesContent":["export function historyExportHelp(): string {\n return `Usage: doompi history-export <v4-source> <v3-destination> [options]\n\nExports one canonical v4 JSONL session to a distinct v3 JSONL file and writes a\nmachine-readable loss report. Existing destination, report, and state files are\nnever overwritten.\n\nOptions:\n --report <path> Loss report path (default: <destination>.loss.json)\n --state <path> Resumable export state path\n -h, --help Show this help\n`;\n}\n"],"mappings":";AAAA,SAAgB,oBAA4B;CAC1C,OAAO;;;;;;;;;;;AAWT"}
@@ -0,0 +1,4 @@
1
+ //#region src/cli/commands/history-export/help.d.ts
2
+ export declare function historyExportHelp(): string;
3
+ //#endregion
4
+ //# sourceMappingURL=help.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.d.cts","names":[],"sources":["../../../../src/cli/commands/history-export/help.ts"],"mappings":";wBAAgB"}
@@ -0,0 +1,4 @@
1
+ //#region src/cli/commands/history-export/help.d.ts
2
+ export declare function historyExportHelp(): string;
3
+ //#endregion
4
+ //# sourceMappingURL=help.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.d.mts","names":[],"sources":["../../../../src/cli/commands/history-export/help.ts"],"mappings":";wBAAgB"}
@@ -0,0 +1,18 @@
1
+ //#region src/cli/commands/history-export/help.ts
2
+ function historyExportHelp() {
3
+ return `Usage: doompi history-export <v4-source> <v3-destination> [options]
4
+
5
+ Exports one canonical v4 JSONL session to a distinct v3 JSONL file and writes a
6
+ machine-readable loss report. Existing destination, report, and state files are
7
+ never overwritten.
8
+
9
+ Options:
10
+ --report <path> Loss report path (default: <destination>.loss.json)
11
+ --state <path> Resumable export state path
12
+ -h, --help Show this help
13
+ `;
14
+ }
15
+ //#endregion
16
+ export { historyExportHelp };
17
+
18
+ //# sourceMappingURL=help.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.mjs","names":[],"sources":["../../../../src/cli/commands/history-export/help.ts"],"sourcesContent":["export function historyExportHelp(): string {\n return `Usage: doompi history-export <v4-source> <v3-destination> [options]\n\nExports one canonical v4 JSONL session to a distinct v3 JSONL file and writes a\nmachine-readable loss report. Existing destination, report, and state files are\nnever overwritten.\n\nOptions:\n --report <path> Loss report path (default: <destination>.loss.json)\n --state <path> Resumable export state path\n -h, --help Show this help\n`;\n}\n"],"mappings":";AAAA,SAAgB,oBAA4B;CAC1C,OAAO;;;;;;;;;;;AAWT"}
@@ -0,0 +1,76 @@
1
+ const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
2
+ const require_help = require("./help.cjs");
3
+ const require_router = require("../../router.cjs");
4
+ let node_path = require("node:path");
5
+ node_path = require_runtime.__toESM(node_path, 1);
6
+ let _agimon_ai_doompi_core_history_ownership = require("@agimon-ai/doompi-core/history-ownership");
7
+ let _agimon_ai_doompi_core_v3_export = require("@agimon-ai/doompi-core/v3-export");
8
+ //#region src/cli/commands/history-export/index.ts
9
+ const VALUE_OPTIONS = /* @__PURE__ */ new Map([
10
+ ["--source", "sourcePath"],
11
+ ["--source-path", "sourcePath"],
12
+ ["--destination", "destinationPath"],
13
+ ["--destination-path", "destinationPath"],
14
+ ["--report", "reportPath"],
15
+ ["--report-path", "reportPath"],
16
+ ["--state", "statePath"],
17
+ ["--state-path", "statePath"]
18
+ ]);
19
+ function parsePaths(args, currentDirectory) {
20
+ const paths = {};
21
+ const positional = [];
22
+ for (let index = 0; index < args.length; index += 1) {
23
+ const argument = args[index];
24
+ if (argument === "--") throw new Error("doompi history-export does not accept passthrough arguments");
25
+ const equals = argument.indexOf("=");
26
+ const option = equals < 0 ? argument : argument.slice(0, equals);
27
+ const key = VALUE_OPTIONS.get(option);
28
+ if (key !== void 0) {
29
+ const value = equals < 0 ? args[++index] : argument.slice(equals + 1);
30
+ if (!value) throw new Error(`${option} requires a value`);
31
+ if (paths[key] !== void 0) throw new Error(`${option} was specified more than once`);
32
+ paths[key] = value;
33
+ continue;
34
+ }
35
+ if (argument.startsWith("-")) throw new Error(`doompi history-export does not accept ${argument}`);
36
+ positional.push(argument);
37
+ }
38
+ if (paths.sourcePath === void 0) paths.sourcePath = positional.shift();
39
+ if (paths.destinationPath === void 0) paths.destinationPath = positional.shift();
40
+ if (positional.length > 0) throw new Error(`Unexpected history-export argument: ${positional[0]}`);
41
+ if (paths.sourcePath === void 0 || paths.destinationPath === void 0) throw new Error("doompi history-export requires a v4 source and distinct v3 destination");
42
+ return {
43
+ sourcePath: node_path.default.resolve(currentDirectory, paths.sourcePath),
44
+ destinationPath: node_path.default.resolve(currentDirectory, paths.destinationPath),
45
+ ...paths.reportPath === void 0 ? {} : { reportPath: node_path.default.resolve(currentDirectory, paths.reportPath) },
46
+ ...paths.statePath === void 0 ? {} : { statePath: node_path.default.resolve(currentDirectory, paths.statePath) }
47
+ };
48
+ }
49
+ /** Exports one canonical v4 journal without starting the harness or Pi runtime. */
50
+ async function runHistoryExport(args, _environment = process.env, currentDirectory = process.cwd(), output = process.stdout, owner = (0, _agimon_ai_doompi_core_history_ownership.createHistoryOwnership)()) {
51
+ if (require_router.wantsHelp(args.slice(1))) {
52
+ output.write(require_help.historyExportHelp());
53
+ return 0;
54
+ }
55
+ const paths = parsePaths(args.slice(1), currentDirectory);
56
+ const result = await (0, _agimon_ai_doompi_core_v3_export.exportV4ToV3)({
57
+ sourcePath: paths.sourcePath,
58
+ destinationPath: paths.destinationPath,
59
+ owner,
60
+ ...paths.reportPath === void 0 ? {} : { reportPath: paths.reportPath },
61
+ ...paths.statePath === void 0 ? {} : { statePath: paths.statePath }
62
+ });
63
+ output.write(`${JSON.stringify({
64
+ status: result.status,
65
+ sourcePath: result.sourcePath,
66
+ destinationPath: result.destinationPath,
67
+ reportPath: result.reportPath,
68
+ statePath: result.statePath,
69
+ lossCount: result.losses.length
70
+ })}\n`);
71
+ return 0;
72
+ }
73
+ //#endregion
74
+ exports.runHistoryExport = runHistoryExport;
75
+
76
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","names":["path","createHistoryOwnership","wantsHelp","historyExportHelp","exportV4ToV3"],"sources":["../../../../src/cli/commands/history-export/index.ts"],"sourcesContent":["import path from 'node:path';\n\nimport type { HistoryOwnership } from '@agimon-ai/doompi-core/history-import';\nimport { createHistoryOwnership } from '@agimon-ai/doompi-core/history-ownership';\nimport { exportV4ToV3 } from '@agimon-ai/doompi-core/v3-export';\n\nimport { wantsHelp } from '../../router';\nimport { historyExportHelp } from './help';\n\ntype ValueOption =\n | '--source'\n | '--source-path'\n | '--destination'\n | '--destination-path'\n | '--report'\n | '--report-path'\n | '--state'\n | '--state-path';\nconst VALUE_OPTIONS = new Map<ValueOption, keyof HistoryExportPaths>([\n ['--source', 'sourcePath'],\n ['--source-path', 'sourcePath'],\n ['--destination', 'destinationPath'],\n ['--destination-path', 'destinationPath'],\n ['--report', 'reportPath'],\n ['--report-path', 'reportPath'],\n ['--state', 'statePath'],\n ['--state-path', 'statePath'],\n]);\n\ntype HistoryExportPaths = {\n sourcePath?: string;\n destinationPath?: string;\n reportPath?: string;\n statePath?: string;\n};\n\nexport interface HistoryExportOutput {\n write(chunk: string): void;\n}\n\nfunction parsePaths(args: readonly string[], currentDirectory: string): HistoryExportPaths {\n const paths: HistoryExportPaths = {};\n const positional: string[] = [];\n for (let index = 0; index < args.length; index += 1) {\n const argument = args[index]!;\n if (argument === '--') throw new Error('doompi history-export does not accept passthrough arguments');\n const equals = argument.indexOf('=');\n const option = equals < 0 ? argument : argument.slice(0, equals);\n const key = VALUE_OPTIONS.get(option as ValueOption);\n if (key !== undefined) {\n const value = equals < 0 ? args[++index] : argument.slice(equals + 1);\n if (!value) throw new Error(`${option} requires a value`);\n if (paths[key] !== undefined) throw new Error(`${option} was specified more than once`);\n paths[key] = value;\n continue;\n }\n if (argument.startsWith('-')) throw new Error(`doompi history-export does not accept ${argument}`);\n positional.push(argument);\n }\n if (paths.sourcePath === undefined) paths.sourcePath = positional.shift();\n if (paths.destinationPath === undefined) paths.destinationPath = positional.shift();\n if (positional.length > 0) throw new Error(`Unexpected history-export argument: ${positional[0]}`);\n if (paths.sourcePath === undefined || paths.destinationPath === undefined) {\n throw new Error('doompi history-export requires a v4 source and distinct v3 destination');\n }\n return {\n sourcePath: path.resolve(currentDirectory, paths.sourcePath),\n destinationPath: path.resolve(currentDirectory, paths.destinationPath),\n ...(paths.reportPath === undefined ? {} : { reportPath: path.resolve(currentDirectory, paths.reportPath) }),\n ...(paths.statePath === undefined ? {} : { statePath: path.resolve(currentDirectory, paths.statePath) }),\n };\n}\n\n/** Exports one canonical v4 journal without starting the harness or Pi runtime. */\nexport async function runHistoryExport(\n args: readonly string[],\n _environment: NodeJS.ProcessEnv = process.env,\n currentDirectory = process.cwd(),\n output: HistoryExportOutput = process.stdout,\n owner: HistoryOwnership = createHistoryOwnership(),\n): Promise<number> {\n if (wantsHelp(args.slice(1))) {\n output.write(historyExportHelp());\n return 0;\n }\n const paths = parsePaths(args.slice(1), currentDirectory);\n const result = await exportV4ToV3({\n sourcePath: paths.sourcePath!,\n destinationPath: paths.destinationPath!,\n owner,\n ...(paths.reportPath === undefined ? {} : { reportPath: paths.reportPath }),\n ...(paths.statePath === undefined ? {} : { statePath: paths.statePath }),\n });\n output.write(\n `${JSON.stringify({\n status: result.status,\n sourcePath: result.sourcePath,\n destinationPath: result.destinationPath,\n reportPath: result.reportPath,\n statePath: result.statePath,\n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+ import { historyExportHelp } from "./help.mjs";
2
+ import { wantsHelp } from "../../router.mjs";
3
+ import path from "node:path";
4
+ import { createHistoryOwnership } from "@agimon-ai/doompi-core/history-ownership";
5
+ import { exportV4ToV3 } from "@agimon-ai/doompi-core/v3-export";
6
+ //#region src/cli/commands/history-export/index.ts
7
+ const VALUE_OPTIONS = /* @__PURE__ */ new Map([
8
+ ["--source", "sourcePath"],
9
+ ["--source-path", "sourcePath"],
10
+ ["--destination", "destinationPath"],
11
+ ["--destination-path", "destinationPath"],
12
+ ["--report", "reportPath"],
13
+ ["--report-path", "reportPath"],
14
+ ["--state", "statePath"],
15
+ ["--state-path", "statePath"]
16
+ ]);
17
+ function parsePaths(args, currentDirectory) {
18
+ const paths = {};
19
+ const positional = [];
20
+ for (let index = 0; index < args.length; index += 1) {
21
+ const argument = args[index];
22
+ if (argument === "--") throw new Error("doompi history-export does not accept passthrough arguments");
23
+ const equals = argument.indexOf("=");
24
+ const option = equals < 0 ? argument : argument.slice(0, equals);
25
+ const key = VALUE_OPTIONS.get(option);
26
+ if (key !== void 0) {
27
+ const value = equals < 0 ? args[++index] : argument.slice(equals + 1);
28
+ if (!value) throw new Error(`${option} requires a value`);
29
+ if (paths[key] !== void 0) throw new Error(`${option} was specified more than once`);
30
+ paths[key] = value;
31
+ continue;
32
+ }
33
+ if (argument.startsWith("-")) throw new Error(`doompi history-export does not accept ${argument}`);
34
+ positional.push(argument);
35
+ }
36
+ if (paths.sourcePath === void 0) paths.sourcePath = positional.shift();
37
+ if (paths.destinationPath === void 0) paths.destinationPath = positional.shift();
38
+ if (positional.length > 0) throw new Error(`Unexpected history-export argument: ${positional[0]}`);
39
+ if (paths.sourcePath === void 0 || paths.destinationPath === void 0) throw new Error("doompi history-export requires a v4 source and distinct v3 destination");
40
+ return {
41
+ sourcePath: path.resolve(currentDirectory, paths.sourcePath),
42
+ destinationPath: path.resolve(currentDirectory, paths.destinationPath),
43
+ ...paths.reportPath === void 0 ? {} : { reportPath: path.resolve(currentDirectory, paths.reportPath) },
44
+ ...paths.statePath === void 0 ? {} : { statePath: path.resolve(currentDirectory, paths.statePath) }
45
+ };
46
+ }
47
+ /** Exports one canonical v4 journal without starting the harness or Pi runtime. */
48
+ async function runHistoryExport(args, _environment = process.env, currentDirectory = process.cwd(), output = process.stdout, owner = createHistoryOwnership()) {
49
+ if (wantsHelp(args.slice(1))) {
50
+ output.write(historyExportHelp());
51
+ return 0;
52
+ }
53
+ const paths = parsePaths(args.slice(1), currentDirectory);
54
+ const result = await exportV4ToV3({
55
+ sourcePath: paths.sourcePath,
56
+ destinationPath: paths.destinationPath,
57
+ owner,
58
+ ...paths.reportPath === void 0 ? {} : { reportPath: paths.reportPath },
59
+ ...paths.statePath === void 0 ? {} : { statePath: paths.statePath }
60
+ });
61
+ output.write(`${JSON.stringify({
62
+ status: result.status,
63
+ sourcePath: result.sourcePath,
64
+ destinationPath: result.destinationPath,
65
+ reportPath: result.reportPath,
66
+ statePath: result.statePath,
67
+ lossCount: result.losses.length
68
+ })}\n`);
69
+ return 0;
70
+ }
71
+ //#endregion
72
+ export { runHistoryExport };
73
+
74
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/cli/commands/history-export/index.ts"],"sourcesContent":["import path from 'node:path';\n\nimport type { HistoryOwnership } from '@agimon-ai/doompi-core/history-import';\nimport { createHistoryOwnership } from '@agimon-ai/doompi-core/history-ownership';\nimport { exportV4ToV3 } from '@agimon-ai/doompi-core/v3-export';\n\nimport { wantsHelp } from '../../router';\nimport { historyExportHelp } from './help';\n\ntype ValueOption =\n | '--source'\n | '--source-path'\n | '--destination'\n | '--destination-path'\n | '--report'\n | '--report-path'\n | '--state'\n | '--state-path';\nconst VALUE_OPTIONS = new Map<ValueOption, keyof HistoryExportPaths>([\n ['--source', 'sourcePath'],\n ['--source-path', 'sourcePath'],\n ['--destination', 'destinationPath'],\n ['--destination-path', 'destinationPath'],\n ['--report', 'reportPath'],\n ['--report-path', 'reportPath'],\n ['--state', 'statePath'],\n ['--state-path', 'statePath'],\n]);\n\ntype HistoryExportPaths = {\n sourcePath?: string;\n destinationPath?: string;\n reportPath?: string;\n statePath?: string;\n};\n\nexport interface HistoryExportOutput {\n write(chunk: string): void;\n}\n\nfunction parsePaths(args: readonly string[], currentDirectory: string): HistoryExportPaths {\n const paths: HistoryExportPaths = {};\n const positional: string[] = [];\n for (let index = 0; index < args.length; index += 1) {\n const argument = args[index]!;\n if (argument === '--') throw new Error('doompi history-export does not accept passthrough arguments');\n const equals = argument.indexOf('=');\n const option = equals < 0 ? argument : argument.slice(0, equals);\n const key = VALUE_OPTIONS.get(option as ValueOption);\n if (key !== undefined) {\n const value = equals < 0 ? args[++index] : argument.slice(equals + 1);\n if (!value) throw new Error(`${option} requires a value`);\n if (paths[key] !== undefined) throw new Error(`${option} was specified more than once`);\n paths[key] = value;\n continue;\n }\n if (argument.startsWith('-')) throw new Error(`doompi history-export does not accept ${argument}`);\n positional.push(argument);\n }\n if (paths.sourcePath === undefined) paths.sourcePath = positional.shift();\n if (paths.destinationPath === undefined) paths.destinationPath = positional.shift();\n if (positional.length > 0) throw new Error(`Unexpected history-export argument: ${positional[0]}`);\n if (paths.sourcePath === undefined || paths.destinationPath === undefined) {\n throw new Error('doompi history-export requires a v4 source and distinct v3 destination');\n }\n return {\n sourcePath: path.resolve(currentDirectory, paths.sourcePath),\n destinationPath: path.resolve(currentDirectory, paths.destinationPath),\n ...(paths.reportPath === undefined ? {} : { reportPath: path.resolve(currentDirectory, paths.reportPath) }),\n ...(paths.statePath === undefined ? {} : { statePath: path.resolve(currentDirectory, paths.statePath) }),\n };\n}\n\n/** Exports one canonical v4 journal without starting the harness or Pi runtime. */\nexport async function runHistoryExport(\n args: readonly string[],\n _environment: NodeJS.ProcessEnv = process.env,\n currentDirectory = process.cwd(),\n output: HistoryExportOutput = process.stdout,\n owner: HistoryOwnership = createHistoryOwnership(),\n): Promise<number> {\n if (wantsHelp(args.slice(1))) {\n output.write(historyExportHelp());\n return 0;\n }\n const paths = parsePaths(args.slice(1), currentDirectory);\n const result = await exportV4ToV3({\n sourcePath: paths.sourcePath!,\n destinationPath: paths.destinationPath!,\n owner,\n ...(paths.reportPath === undefined ? {} : { reportPath: paths.reportPath }),\n ...(paths.statePath === undefined ? {} : { statePath: paths.statePath }),\n });\n output.write(\n `${JSON.stringify({\n status: result.status,\n sourcePath: result.sourcePath,\n destinationPath: result.destinationPath,\n reportPath: result.reportPath,\n statePath: result.statePath,\n lossCount: result.losses.length,\n })}\\n`,\n );\n return 0;\n}\n"],"mappings":";;;;;;AAkBA,MAAM,gCAAgB,IAAI,IAA2C;CACnE,CAAC,YAAY,YAAY;CACzB,CAAC,iBAAiB,YAAY;CAC9B,CAAC,iBAAiB,iBAAiB;CACnC,CAAC,sBAAsB,iBAAiB;CACxC,CAAC,YAAY,YAAY;CACzB,CAAC,iBAAiB,YAAY;CAC9B,CAAC,WAAW,WAAW;CACvB,CAAC,gBAAgB,WAAW;AAC9B,CAAC;AAaD,SAAS,WAAW,MAAyB,kBAA8C;CACzF,MAAM,QAA4B,CAAC;CACnC,MAAM,aAAuB,CAAC;CAC9B,KAAK,IAAI,QAAQ,GAAG,QAAQ,KAAK,QAAQ,SAAS,GAAG;EACnD,MAAM,WAAW,KAAK;EACtB,IAAI,aAAa,MAAM,MAAM,IAAI,MAAM,6DAA6D;EACpG,MAAM,SAAS,SAAS,QAAQ,GAAG;EACnC,MAAM,SAAS,SAAS,IAAI,WAAW,SAAS,MAAM,GAAG,MAAM;EAC/D,MAAM,MAAM,cAAc,IAAI,MAAqB;EACnD,IAAI,QAAQ,KAAA,GAAW;GACrB,MAAM,QAAQ,SAAS,IAAI,KAAK,EAAE,SAAS,SAAS,MAAM,SAAS,CAAC;GACpE,IAAI,CAAC,OAAO,MAAM,IAAI,MAAM,GAAG,OAAO,kBAAkB;GACxD,IAAI,MAAM,SAAS,KAAA,GAAW,MAAM,IAAI,MAAM,GA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UAAU;CACxE,CAAC;CACD,OAAO,MACL,GAAG,KAAK,UAAU;EAChB,QAAQ,OAAO;EACf,YAAY,OAAO;EACnB,iBAAiB,OAAO;EACxB,YAAY,OAAO;EACnB,WAAW,OAAO;EAClB,WAAW,OAAO,OAAO;CAC3B,CAAC,EAAE,GACL;CACA,OAAO;AACT"}
@@ -0,0 +1,20 @@
1
+ //#region src/cli/commands/history-import/help.ts
2
+ function historyImportHelp() {
3
+ return `Usage: doompi history-import <v3-source> <v4-destination> --confirm-offline
4
+ doompi history-import <jsonl-source> <sqlite-destination> --format sqlite --confirm-offline
5
+
6
+ Preserves the original JSONL and imports a separate canonical copy. Use --format
7
+ sqlite for server roots and native server children. Terminal sessions use JSONL. Stop Pi
8
+ before running this command. The confirmation flag cannot prove that an unmanaged
9
+ Pi process has stopped, and stale ownership locks are never reclaimed automatically.
10
+
11
+ Options:
12
+ --format sqlite Import v3 or v4 JSONL into a server SQLite database
13
+ --confirm-offline Confirm Pi is stopped and authorize the offline import
14
+ -h, --help Show this help
15
+ `;
16
+ }
17
+ //#endregion
18
+ exports.historyImportHelp = historyImportHelp;
19
+
20
+ //# sourceMappingURL=help.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.cjs","names":[],"sources":["../../../../src/cli/commands/history-import/help.ts"],"sourcesContent":["export function historyImportHelp(): string {\n return `Usage: doompi history-import <v3-source> <v4-destination> --confirm-offline\n doompi history-import <jsonl-source> <sqlite-destination> --format sqlite --confirm-offline\n\nPreserves the original JSONL and imports a separate canonical copy. Use --format\nsqlite for server roots and native server children. Terminal sessions use JSONL. Stop Pi\nbefore running this command. The confirmation flag cannot prove that an unmanaged\nPi process has stopped, and stale ownership locks are never reclaimed automatically.\n\nOptions:\n --format sqlite Import v3 or v4 JSONL into a server SQLite database\n --confirm-offline Confirm Pi is stopped and authorize the offline import\n -h, --help Show this help\n`;\n}\n"],"mappings":";AAAA,SAAgB,oBAA4B;CAC1C,OAAO;;;;;;;;;;;;;AAaT"}
@@ -0,0 +1,4 @@
1
+ //#region src/cli/commands/history-import/help.d.ts
2
+ export declare function historyImportHelp(): string;
3
+ //#endregion
4
+ //# sourceMappingURL=help.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.d.cts","names":[],"sources":["../../../../src/cli/commands/history-import/help.ts"],"mappings":";wBAAgB"}
@@ -0,0 +1,4 @@
1
+ //#region src/cli/commands/history-import/help.d.ts
2
+ export declare function historyImportHelp(): string;
3
+ //#endregion
4
+ //# sourceMappingURL=help.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.d.mts","names":[],"sources":["../../../../src/cli/commands/history-import/help.ts"],"mappings":";wBAAgB"}
@@ -0,0 +1,20 @@
1
+ //#region src/cli/commands/history-import/help.ts
2
+ function historyImportHelp() {
3
+ return `Usage: doompi history-import <v3-source> <v4-destination> --confirm-offline
4
+ doompi history-import <jsonl-source> <sqlite-destination> --format sqlite --confirm-offline
5
+
6
+ Preserves the original JSONL and imports a separate canonical copy. Use --format
7
+ sqlite for server roots and native server children. Terminal sessions use JSONL. Stop Pi
8
+ before running this command. The confirmation flag cannot prove that an unmanaged
9
+ Pi process has stopped, and stale ownership locks are never reclaimed automatically.
10
+
11
+ Options:
12
+ --format sqlite Import v3 or v4 JSONL into a server SQLite database
13
+ --confirm-offline Confirm Pi is stopped and authorize the offline import
14
+ -h, --help Show this help
15
+ `;
16
+ }
17
+ //#endregion
18
+ export { historyImportHelp };
19
+
20
+ //# sourceMappingURL=help.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.mjs","names":[],"sources":["../../../../src/cli/commands/history-import/help.ts"],"sourcesContent":["export function historyImportHelp(): string {\n return `Usage: doompi history-import <v3-source> <v4-destination> --confirm-offline\n doompi history-import <jsonl-source> <sqlite-destination> --format sqlite --confirm-offline\n\nPreserves the original JSONL and imports a separate canonical copy. Use --format\nsqlite for server roots and native server children. Terminal sessions use JSONL. Stop Pi\nbefore running this command. The confirmation flag cannot prove that an unmanaged\nPi process has stopped, and stale ownership locks are never reclaimed automatically.\n\nOptions:\n --format sqlite Import v3 or v4 JSONL into a server SQLite database\n --confirm-offline Confirm Pi is stopped and authorize the offline import\n -h, --help Show this help\n`;\n}\n"],"mappings":";AAAA,SAAgB,oBAA4B;CAC1C,OAAO;;;;;;;;;;;;;AAaT"}