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

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 (840) hide show
  1. package/docs/server/api-export.md +2 -2
  2. package/docs/server/getting-started.md +1 -1
  3. package/package.json +18 -17
  4. package/src/prompts/doompi-author-extension/SKILL.md +4 -3
  5. package/src/prompts/doompi-author-extension/references/extension-contract.md +26 -26
  6. package/dist/_virtual/_rolldown/runtime.cjs +0 -23
  7. package/dist/antigravity.cjs +0 -5
  8. package/dist/antigravity.d.cts +0 -2
  9. package/dist/antigravity.d.mts +0 -2
  10. package/dist/antigravity.mjs +0 -2
  11. package/dist/api-contracts.cjs +0 -11
  12. package/dist/api-contracts.cjs.map +0 -1
  13. package/dist/api-contracts.d.cts +0 -52
  14. package/dist/api-contracts.d.cts.map +0 -1
  15. package/dist/api-contracts.d.mts +0 -52
  16. package/dist/api-contracts.d.mts.map +0 -1
  17. package/dist/api-contracts.mjs +0 -7
  18. package/dist/api-contracts.mjs.map +0 -1
  19. package/dist/base-command.cjs +0 -3
  20. package/dist/base-command.d.cts +0 -2
  21. package/dist/base-command.d.mts +0 -2
  22. package/dist/base-command.mjs +0 -2
  23. package/dist/bin/cli.cjs +0 -29
  24. package/dist/bin/cli.cjs.map +0 -1
  25. package/dist/bin/cli.d.cts +0 -1
  26. package/dist/bin/cli.d.mts +0 -1
  27. package/dist/bin/cli.mjs +0 -30
  28. package/dist/bin/cli.mjs.map +0 -1
  29. package/dist/bin/doomRunner.cjs +0 -39
  30. package/dist/bin/doomRunner.cjs.map +0 -1
  31. package/dist/bin/doomRunner.d.cts +0 -12
  32. package/dist/bin/doomRunner.d.cts.map +0 -1
  33. package/dist/bin/doomRunner.d.mts +0 -12
  34. package/dist/bin/doomRunner.d.mts.map +0 -1
  35. package/dist/bin/doomRunner.mjs +0 -38
  36. package/dist/bin/doomRunner.mjs.map +0 -1
  37. package/dist/bin/dpi.cjs +0 -12
  38. package/dist/bin/dpi.cjs.map +0 -1
  39. package/dist/bin/dpi.d.cts +0 -1
  40. package/dist/bin/dpi.d.mts +0 -1
  41. package/dist/bin/dpi.mjs +0 -14
  42. package/dist/bin/dpi.mjs.map +0 -1
  43. package/dist/bin/serve.cjs +0 -11
  44. package/dist/bin/serve.cjs.map +0 -1
  45. package/dist/bin/serve.d.cts +0 -1
  46. package/dist/bin/serve.d.mts +0 -1
  47. package/dist/bin/serve.mjs +0 -13
  48. package/dist/bin/serve.mjs.map +0 -1
  49. package/dist/builders/apiContractExport/index.cjs +0 -80
  50. package/dist/builders/apiContractExport/index.cjs.map +0 -1
  51. package/dist/builders/apiContractExport/index.mjs +0 -76
  52. package/dist/builders/apiContractExport/index.mjs.map +0 -1
  53. package/dist/builders/apiContracts/index.cjs +0 -87
  54. package/dist/builders/apiContracts/index.cjs.map +0 -1
  55. package/dist/builders/apiContracts/index.mjs +0 -82
  56. package/dist/builders/apiContracts/index.mjs.map +0 -1
  57. package/dist/builders/cli/bootstrapClaim.cjs +0 -53
  58. package/dist/builders/cli/bootstrapClaim.cjs.map +0 -1
  59. package/dist/builders/cli/bootstrapClaim.mjs +0 -51
  60. package/dist/builders/cli/bootstrapClaim.mjs.map +0 -1
  61. package/dist/builders/cli/bootstrapLocator/index.cjs +0 -171
  62. package/dist/builders/cli/bootstrapLocator/index.cjs.map +0 -1
  63. package/dist/builders/cli/bootstrapLocator/index.d.cts +0 -5
  64. package/dist/builders/cli/bootstrapLocator/index.d.cts.map +0 -1
  65. package/dist/builders/cli/bootstrapLocator/index.d.mts +0 -5
  66. package/dist/builders/cli/bootstrapLocator/index.d.mts.map +0 -1
  67. package/dist/builders/cli/bootstrapLocator/index.mjs +0 -164
  68. package/dist/builders/cli/bootstrapLocator/index.mjs.map +0 -1
  69. package/dist/builders/cli/composition.cjs +0 -378
  70. package/dist/builders/cli/composition.cjs.map +0 -1
  71. package/dist/builders/cli/composition.d.cts +0 -119
  72. package/dist/builders/cli/composition.d.cts.map +0 -1
  73. package/dist/builders/cli/composition.d.mts +0 -119
  74. package/dist/builders/cli/composition.d.mts.map +0 -1
  75. package/dist/builders/cli/composition.mjs +0 -351
  76. package/dist/builders/cli/composition.mjs.map +0 -1
  77. package/dist/builders/cli/compositionState.cjs +0 -33
  78. package/dist/builders/cli/compositionState.cjs.map +0 -1
  79. package/dist/builders/cli/compositionState.d.cts +0 -9
  80. package/dist/builders/cli/compositionState.d.cts.map +0 -1
  81. package/dist/builders/cli/compositionState.d.mts +0 -9
  82. package/dist/builders/cli/compositionState.d.mts.map +0 -1
  83. package/dist/builders/cli/compositionState.mjs +0 -30
  84. package/dist/builders/cli/compositionState.mjs.map +0 -1
  85. package/dist/builders/cli/constants.cjs +0 -20
  86. package/dist/builders/cli/constants.cjs.map +0 -1
  87. package/dist/builders/cli/constants.d.cts +0 -17
  88. package/dist/builders/cli/constants.d.cts.map +0 -1
  89. package/dist/builders/cli/constants.d.mts +0 -17
  90. package/dist/builders/cli/constants.d.mts.map +0 -1
  91. package/dist/builders/cli/constants.mjs +0 -19
  92. package/dist/builders/cli/constants.mjs.map +0 -1
  93. package/dist/builders/cli/contextCatalog.cjs +0 -130
  94. package/dist/builders/cli/contextCatalog.cjs.map +0 -1
  95. package/dist/builders/cli/contextCatalog.mjs +0 -130
  96. package/dist/builders/cli/contextCatalog.mjs.map +0 -1
  97. package/dist/builders/cli/dpiSettings.cjs +0 -118
  98. package/dist/builders/cli/dpiSettings.cjs.map +0 -1
  99. package/dist/builders/cli/dpiSettings.mjs +0 -111
  100. package/dist/builders/cli/dpiSettings.mjs.map +0 -1
  101. package/dist/builders/cli/entryResolution.cjs +0 -23
  102. package/dist/builders/cli/entryResolution.cjs.map +0 -1
  103. package/dist/builders/cli/entryResolution.d.cts +0 -5
  104. package/dist/builders/cli/entryResolution.d.cts.map +0 -1
  105. package/dist/builders/cli/entryResolution.d.mts +0 -5
  106. package/dist/builders/cli/entryResolution.d.mts.map +0 -1
  107. package/dist/builders/cli/entryResolution.mjs +0 -20
  108. package/dist/builders/cli/entryResolution.mjs.map +0 -1
  109. package/dist/builders/cli/extensionAssembler/index.cjs +0 -386
  110. package/dist/builders/cli/extensionAssembler/index.cjs.map +0 -1
  111. package/dist/builders/cli/extensionAssembler/index.d.cts +0 -113
  112. package/dist/builders/cli/extensionAssembler/index.d.cts.map +0 -1
  113. package/dist/builders/cli/extensionAssembler/index.d.mts +0 -113
  114. package/dist/builders/cli/extensionAssembler/index.d.mts.map +0 -1
  115. package/dist/builders/cli/extensionAssembler/index.mjs +0 -376
  116. package/dist/builders/cli/extensionAssembler/index.mjs.map +0 -1
  117. package/dist/builders/cli/harnessContext.cjs +0 -186
  118. package/dist/builders/cli/harnessContext.cjs.map +0 -1
  119. package/dist/builders/cli/harnessContext.d.cts +0 -51
  120. package/dist/builders/cli/harnessContext.d.cts.map +0 -1
  121. package/dist/builders/cli/harnessContext.d.mts +0 -51
  122. package/dist/builders/cli/harnessContext.d.mts.map +0 -1
  123. package/dist/builders/cli/harnessContext.mjs +0 -179
  124. package/dist/builders/cli/harnessContext.mjs.map +0 -1
  125. package/dist/builders/cli/index.cjs +0 -151
  126. package/dist/builders/cli/index.cjs.map +0 -1
  127. package/dist/builders/cli/index.d.cts +0 -22
  128. package/dist/builders/cli/index.d.cts.map +0 -1
  129. package/dist/builders/cli/index.d.mts +0 -22
  130. package/dist/builders/cli/index.d.mts.map +0 -1
  131. package/dist/builders/cli/index.mjs +0 -147
  132. package/dist/builders/cli/index.mjs.map +0 -1
  133. package/dist/builders/cli/launchPlan/index.cjs +0 -102
  134. package/dist/builders/cli/launchPlan/index.cjs.map +0 -1
  135. package/dist/builders/cli/launchPlan/index.d.cts +0 -43
  136. package/dist/builders/cli/launchPlan/index.d.cts.map +0 -1
  137. package/dist/builders/cli/launchPlan/index.d.mts +0 -43
  138. package/dist/builders/cli/launchPlan/index.d.mts.map +0 -1
  139. package/dist/builders/cli/launchPlan/index.mjs +0 -100
  140. package/dist/builders/cli/launchPlan/index.mjs.map +0 -1
  141. package/dist/builders/cli/launcherComposition/index.cjs +0 -84
  142. package/dist/builders/cli/launcherComposition/index.cjs.map +0 -1
  143. package/dist/builders/cli/launcherComposition/index.mjs +0 -80
  144. package/dist/builders/cli/launcherComposition/index.mjs.map +0 -1
  145. package/dist/builders/cli/piExtensionAlias/index.cjs +0 -40
  146. package/dist/builders/cli/piExtensionAlias/index.cjs.map +0 -1
  147. package/dist/builders/cli/piExtensionAlias/index.mjs +0 -35
  148. package/dist/builders/cli/piExtensionAlias/index.mjs.map +0 -1
  149. package/dist/builders/cli/piExtensionDispatcher/index.cjs +0 -196
  150. package/dist/builders/cli/piExtensionDispatcher/index.cjs.map +0 -1
  151. package/dist/builders/cli/piExtensionDispatcher/index.mjs +0 -189
  152. package/dist/builders/cli/piExtensionDispatcher/index.mjs.map +0 -1
  153. package/dist/builders/cli/prepare.cjs +0 -64
  154. package/dist/builders/cli/prepare.cjs.map +0 -1
  155. package/dist/builders/cli/prepare.mjs +0 -62
  156. package/dist/builders/cli/prepare.mjs.map +0 -1
  157. package/dist/builders/cli/projectSettings.cjs +0 -155
  158. package/dist/builders/cli/projectSettings.cjs.map +0 -1
  159. package/dist/builders/cli/projectSettings.d.cts +0 -27
  160. package/dist/builders/cli/projectSettings.d.cts.map +0 -1
  161. package/dist/builders/cli/projectSettings.d.mts +0 -27
  162. package/dist/builders/cli/projectSettings.d.mts.map +0 -1
  163. package/dist/builders/cli/projectSettings.mjs +0 -144
  164. package/dist/builders/cli/projectSettings.mjs.map +0 -1
  165. package/dist/builders/cli/runtimeBundle/index.cjs +0 -130
  166. package/dist/builders/cli/runtimeBundle/index.cjs.map +0 -1
  167. package/dist/builders/cli/runtimeBundle/index.d.cts +0 -21
  168. package/dist/builders/cli/runtimeBundle/index.d.cts.map +0 -1
  169. package/dist/builders/cli/runtimeBundle/index.d.mts +0 -21
  170. package/dist/builders/cli/runtimeBundle/index.d.mts.map +0 -1
  171. package/dist/builders/cli/runtimeBundle/index.mjs +0 -126
  172. package/dist/builders/cli/runtimeBundle/index.mjs.map +0 -1
  173. package/dist/builders/server/index.cjs +0 -184
  174. package/dist/builders/server/index.cjs.map +0 -1
  175. package/dist/builders/server/index.mjs +0 -181
  176. package/dist/builders/server/index.mjs.map +0 -1
  177. package/dist/builders/server/runtime.cjs +0 -597
  178. package/dist/builders/server/runtime.cjs.map +0 -1
  179. package/dist/builders/server/runtime.mjs +0 -589
  180. package/dist/builders/server/runtime.mjs.map +0 -1
  181. package/dist/builders/server/selectionStatus.cjs +0 -12
  182. package/dist/builders/server/selectionStatus.cjs.map +0 -1
  183. package/dist/builders/server/selectionStatus.mjs +0 -12
  184. package/dist/builders/server/selectionStatus.mjs.map +0 -1
  185. package/dist/builders/server/sessionArguments.cjs +0 -22
  186. package/dist/builders/server/sessionArguments.cjs.map +0 -1
  187. package/dist/builders/server/sessionArguments.mjs +0 -22
  188. package/dist/builders/server/sessionArguments.mjs.map +0 -1
  189. package/dist/builders/web/bundle.cjs +0 -109
  190. package/dist/builders/web/bundle.cjs.map +0 -1
  191. package/dist/builders/web/bundle.d.cts +0 -29
  192. package/dist/builders/web/bundle.d.cts.map +0 -1
  193. package/dist/builders/web/bundle.d.mts +0 -29
  194. package/dist/builders/web/bundle.d.mts.map +0 -1
  195. package/dist/builders/web/bundle.mjs +0 -106
  196. package/dist/builders/web/bundle.mjs.map +0 -1
  197. package/dist/builders/web/bundleAssetPolicy.cjs +0 -96
  198. package/dist/builders/web/bundleAssetPolicy.cjs.map +0 -1
  199. package/dist/builders/web/bundleAssetPolicy.d.cts +0 -22
  200. package/dist/builders/web/bundleAssetPolicy.d.cts.map +0 -1
  201. package/dist/builders/web/bundleAssetPolicy.d.mts +0 -22
  202. package/dist/builders/web/bundleAssetPolicy.d.mts.map +0 -1
  203. package/dist/builders/web/bundleAssetPolicy.mjs +0 -95
  204. package/dist/builders/web/bundleAssetPolicy.mjs.map +0 -1
  205. package/dist/builders/web/index.cjs +0 -75
  206. package/dist/builders/web/index.cjs.map +0 -1
  207. package/dist/builders/web/index.d.cts +0 -29
  208. package/dist/builders/web/index.d.cts.map +0 -1
  209. package/dist/builders/web/index.d.mts +0 -29
  210. package/dist/builders/web/index.d.mts.map +0 -1
  211. package/dist/builders/web/index.mjs +0 -72
  212. package/dist/builders/web/index.mjs.map +0 -1
  213. package/dist/builders/web/webDevRoots.cjs +0 -27
  214. package/dist/builders/web/webDevRoots.cjs.map +0 -1
  215. package/dist/builders/web/webDevRoots.d.cts +0 -22
  216. package/dist/builders/web/webDevRoots.d.cts.map +0 -1
  217. package/dist/builders/web/webDevRoots.d.mts +0 -22
  218. package/dist/builders/web/webDevRoots.d.mts.map +0 -1
  219. package/dist/builders/web/webDevRoots.mjs +0 -25
  220. package/dist/builders/web/webDevRoots.mjs.map +0 -1
  221. package/dist/builders/web/webPluginGenerate.cjs +0 -106
  222. package/dist/builders/web/webPluginGenerate.cjs.map +0 -1
  223. package/dist/builders/web/webPluginGenerate.d.cts +0 -28
  224. package/dist/builders/web/webPluginGenerate.d.cts.map +0 -1
  225. package/dist/builders/web/webPluginGenerate.d.mts +0 -28
  226. package/dist/builders/web/webPluginGenerate.d.mts.map +0 -1
  227. package/dist/builders/web/webPluginGenerate.mjs +0 -99
  228. package/dist/builders/web/webPluginGenerate.mjs.map +0 -1
  229. package/dist/builders/web/webPluginManifest.cjs +0 -92
  230. package/dist/builders/web/webPluginManifest.cjs.map +0 -1
  231. package/dist/builders/web/webPluginManifest.d.cts +0 -44
  232. package/dist/builders/web/webPluginManifest.d.cts.map +0 -1
  233. package/dist/builders/web/webPluginManifest.d.mts +0 -44
  234. package/dist/builders/web/webPluginManifest.d.mts.map +0 -1
  235. package/dist/builders/web/webPluginManifest.mjs +0 -88
  236. package/dist/builders/web/webPluginManifest.mjs.map +0 -1
  237. package/dist/builders/web/webPluginScan.cjs +0 -53
  238. package/dist/builders/web/webPluginScan.cjs.map +0 -1
  239. package/dist/builders/web/webPluginScan.d.cts +0 -16
  240. package/dist/builders/web/webPluginScan.d.cts.map +0 -1
  241. package/dist/builders/web/webPluginScan.d.mts +0 -16
  242. package/dist/builders/web/webPluginScan.d.mts.map +0 -1
  243. package/dist/builders/web/webPluginScan.mjs +0 -50
  244. package/dist/builders/web/webPluginScan.mjs.map +0 -1
  245. package/dist/builders/web/webPluginVite.cjs +0 -115
  246. package/dist/builders/web/webPluginVite.cjs.map +0 -1
  247. package/dist/builders/web/webPluginVite.d.cts +0 -27
  248. package/dist/builders/web/webPluginVite.d.cts.map +0 -1
  249. package/dist/builders/web/webPluginVite.d.mts +0 -27
  250. package/dist/builders/web/webPluginVite.d.mts.map +0 -1
  251. package/dist/builders/web/webPluginVite.mjs +0 -107
  252. package/dist/builders/web/webPluginVite.mjs.map +0 -1
  253. package/dist/builders/web.cjs +0 -33
  254. package/dist/builders/web.d.cts +0 -9
  255. package/dist/builders/web.d.mts +0 -9
  256. package/dist/builders/web.mjs +0 -9
  257. package/dist/cli/cliApp.cjs +0 -177
  258. package/dist/cli/cliApp.cjs.map +0 -1
  259. package/dist/cli/cliApp.d.cts +0 -25
  260. package/dist/cli/cliApp.d.cts.map +0 -1
  261. package/dist/cli/cliApp.d.mts +0 -25
  262. package/dist/cli/cliApp.d.mts.map +0 -1
  263. package/dist/cli/cliApp.mjs +0 -175
  264. package/dist/cli/cliApp.mjs.map +0 -1
  265. package/dist/cli/commands/api-export/index.cjs +0 -65
  266. package/dist/cli/commands/api-export/index.cjs.map +0 -1
  267. package/dist/cli/commands/api-export/index.mjs +0 -61
  268. package/dist/cli/commands/api-export/index.mjs.map +0 -1
  269. package/dist/cli/commands/baseCommand.cjs +0 -16
  270. package/dist/cli/commands/baseCommand.cjs.map +0 -1
  271. package/dist/cli/commands/baseCommand.d.cts +0 -24
  272. package/dist/cli/commands/baseCommand.d.cts.map +0 -1
  273. package/dist/cli/commands/baseCommand.d.mts +0 -24
  274. package/dist/cli/commands/baseCommand.d.mts.map +0 -1
  275. package/dist/cli/commands/baseCommand.mjs +0 -16
  276. package/dist/cli/commands/baseCommand.mjs.map +0 -1
  277. package/dist/cli/commands/compat/context.cjs +0 -115
  278. package/dist/cli/commands/compat/context.cjs.map +0 -1
  279. package/dist/cli/commands/compat/context.d.cts +0 -22
  280. package/dist/cli/commands/compat/context.d.cts.map +0 -1
  281. package/dist/cli/commands/compat/context.d.mts +0 -22
  282. package/dist/cli/commands/compat/context.d.mts.map +0 -1
  283. package/dist/cli/commands/compat/context.mjs +0 -110
  284. package/dist/cli/commands/compat/context.mjs.map +0 -1
  285. package/dist/cli/commands/compat/help.cjs +0 -26
  286. package/dist/cli/commands/compat/help.cjs.map +0 -1
  287. package/dist/cli/commands/compat/help.d.cts +0 -4
  288. package/dist/cli/commands/compat/help.d.cts.map +0 -1
  289. package/dist/cli/commands/compat/help.d.mts +0 -4
  290. package/dist/cli/commands/compat/help.d.mts.map +0 -1
  291. package/dist/cli/commands/compat/help.mjs +0 -25
  292. package/dist/cli/commands/compat/help.mjs.map +0 -1
  293. package/dist/cli/commands/compat/index.cjs +0 -73
  294. package/dist/cli/commands/compat/index.cjs.map +0 -1
  295. package/dist/cli/commands/compat/index.d.cts +0 -14
  296. package/dist/cli/commands/compat/index.d.cts.map +0 -1
  297. package/dist/cli/commands/compat/index.d.mts +0 -14
  298. package/dist/cli/commands/compat/index.d.mts.map +0 -1
  299. package/dist/cli/commands/compat/index.mjs +0 -70
  300. package/dist/cli/commands/compat/index.mjs.map +0 -1
  301. package/dist/cli/commands/compat/options.cjs +0 -88
  302. package/dist/cli/commands/compat/options.cjs.map +0 -1
  303. package/dist/cli/commands/compat/options.d.cts +0 -15
  304. package/dist/cli/commands/compat/options.d.cts.map +0 -1
  305. package/dist/cli/commands/compat/options.d.mts +0 -15
  306. package/dist/cli/commands/compat/options.d.mts.map +0 -1
  307. package/dist/cli/commands/compat/options.mjs +0 -86
  308. package/dist/cli/commands/compat/options.mjs.map +0 -1
  309. package/dist/cli/commands/compat/providers/antigravity.cjs +0 -294
  310. package/dist/cli/commands/compat/providers/antigravity.cjs.map +0 -1
  311. package/dist/cli/commands/compat/providers/antigravity.d.cts +0 -9
  312. package/dist/cli/commands/compat/providers/antigravity.d.cts.map +0 -1
  313. package/dist/cli/commands/compat/providers/antigravity.d.mts +0 -9
  314. package/dist/cli/commands/compat/providers/antigravity.d.mts.map +0 -1
  315. package/dist/cli/commands/compat/providers/antigravity.mjs +0 -289
  316. package/dist/cli/commands/compat/providers/antigravity.mjs.map +0 -1
  317. package/dist/cli/commands/compat/providers/codex.cjs +0 -178
  318. package/dist/cli/commands/compat/providers/codex.cjs.map +0 -1
  319. package/dist/cli/commands/compat/providers/codex.d.cts +0 -17
  320. package/dist/cli/commands/compat/providers/codex.d.cts.map +0 -1
  321. package/dist/cli/commands/compat/providers/codex.d.mts +0 -17
  322. package/dist/cli/commands/compat/providers/codex.d.mts.map +0 -1
  323. package/dist/cli/commands/compat/providers/codex.mjs +0 -170
  324. package/dist/cli/commands/compat/providers/codex.mjs.map +0 -1
  325. package/dist/cli/commands/compat/providers/index.cjs +0 -65
  326. package/dist/cli/commands/compat/providers/index.cjs.map +0 -1
  327. package/dist/cli/commands/compat/providers/index.d.cts +0 -15
  328. package/dist/cli/commands/compat/providers/index.d.cts.map +0 -1
  329. package/dist/cli/commands/compat/providers/index.d.mts +0 -15
  330. package/dist/cli/commands/compat/providers/index.d.mts.map +0 -1
  331. package/dist/cli/commands/compat/providers/index.mjs +0 -45
  332. package/dist/cli/commands/compat/providers/index.mjs.map +0 -1
  333. package/dist/cli/commands/compat/providers/process.cjs +0 -172
  334. package/dist/cli/commands/compat/providers/process.cjs.map +0 -1
  335. package/dist/cli/commands/compat/providers/process.d.cts +0 -33
  336. package/dist/cli/commands/compat/providers/process.d.cts.map +0 -1
  337. package/dist/cli/commands/compat/providers/process.d.mts +0 -33
  338. package/dist/cli/commands/compat/providers/process.d.mts.map +0 -1
  339. package/dist/cli/commands/compat/providers/process.mjs +0 -159
  340. package/dist/cli/commands/compat/providers/process.mjs.map +0 -1
  341. package/dist/cli/commands/compat/providers/shared.cjs +0 -76
  342. package/dist/cli/commands/compat/providers/shared.cjs.map +0 -1
  343. package/dist/cli/commands/compat/providers/shared.d.cts +0 -40
  344. package/dist/cli/commands/compat/providers/shared.d.cts.map +0 -1
  345. package/dist/cli/commands/compat/providers/shared.d.mts +0 -40
  346. package/dist/cli/commands/compat/providers/shared.d.mts.map +0 -1
  347. package/dist/cli/commands/compat/providers/shared.mjs +0 -61
  348. package/dist/cli/commands/compat/providers/shared.mjs.map +0 -1
  349. package/dist/cli/commands/compat/types.d.cts +0 -31
  350. package/dist/cli/commands/compat/types.d.cts.map +0 -1
  351. package/dist/cli/commands/compat/types.d.mts +0 -31
  352. package/dist/cli/commands/compat/types.d.mts.map +0 -1
  353. package/dist/cli/commands/doctor/help.cjs +0 -19
  354. package/dist/cli/commands/doctor/help.cjs.map +0 -1
  355. package/dist/cli/commands/doctor/help.d.cts +0 -4
  356. package/dist/cli/commands/doctor/help.d.cts.map +0 -1
  357. package/dist/cli/commands/doctor/help.d.mts +0 -4
  358. package/dist/cli/commands/doctor/help.d.mts.map +0 -1
  359. package/dist/cli/commands/doctor/help.mjs +0 -19
  360. package/dist/cli/commands/doctor/help.mjs.map +0 -1
  361. package/dist/cli/commands/doctor/index.cjs +0 -116
  362. package/dist/cli/commands/doctor/index.cjs.map +0 -1
  363. package/dist/cli/commands/doctor/index.d.cts +0 -12
  364. package/dist/cli/commands/doctor/index.d.cts.map +0 -1
  365. package/dist/cli/commands/doctor/index.d.mts +0 -12
  366. package/dist/cli/commands/doctor/index.d.mts.map +0 -1
  367. package/dist/cli/commands/doctor/index.mjs +0 -112
  368. package/dist/cli/commands/doctor/index.mjs.map +0 -1
  369. package/dist/cli/commands/emit-mcp/index.cjs +0 -32
  370. package/dist/cli/commands/emit-mcp/index.cjs.map +0 -1
  371. package/dist/cli/commands/emit-mcp/index.d.cts +0 -19
  372. package/dist/cli/commands/emit-mcp/index.d.cts.map +0 -1
  373. package/dist/cli/commands/emit-mcp/index.d.mts +0 -19
  374. package/dist/cli/commands/emit-mcp/index.d.mts.map +0 -1
  375. package/dist/cli/commands/emit-mcp/index.mjs +0 -31
  376. package/dist/cli/commands/emit-mcp/index.mjs.map +0 -1
  377. package/dist/cli/commands/explain/index.cjs +0 -155
  378. package/dist/cli/commands/explain/index.cjs.map +0 -1
  379. package/dist/cli/commands/explain/index.d.cts +0 -57
  380. package/dist/cli/commands/explain/index.d.cts.map +0 -1
  381. package/dist/cli/commands/explain/index.d.mts +0 -57
  382. package/dist/cli/commands/explain/index.d.mts.map +0 -1
  383. package/dist/cli/commands/explain/index.mjs +0 -150
  384. package/dist/cli/commands/explain/index.mjs.map +0 -1
  385. package/dist/cli/commands/history-export/help.cjs +0 -18
  386. package/dist/cli/commands/history-export/help.cjs.map +0 -1
  387. package/dist/cli/commands/history-export/help.d.cts +0 -4
  388. package/dist/cli/commands/history-export/help.d.cts.map +0 -1
  389. package/dist/cli/commands/history-export/help.d.mts +0 -4
  390. package/dist/cli/commands/history-export/help.d.mts.map +0 -1
  391. package/dist/cli/commands/history-export/help.mjs +0 -18
  392. package/dist/cli/commands/history-export/help.mjs.map +0 -1
  393. package/dist/cli/commands/history-export/index.cjs +0 -76
  394. package/dist/cli/commands/history-export/index.cjs.map +0 -1
  395. package/dist/cli/commands/history-export/index.mjs +0 -74
  396. package/dist/cli/commands/history-export/index.mjs.map +0 -1
  397. package/dist/cli/commands/history-import/help.cjs +0 -20
  398. package/dist/cli/commands/history-import/help.cjs.map +0 -1
  399. package/dist/cli/commands/history-import/help.d.cts +0 -4
  400. package/dist/cli/commands/history-import/help.d.cts.map +0 -1
  401. package/dist/cli/commands/history-import/help.d.mts +0 -4
  402. package/dist/cli/commands/history-import/help.d.mts.map +0 -1
  403. package/dist/cli/commands/history-import/help.mjs +0 -20
  404. package/dist/cli/commands/history-import/help.mjs.map +0 -1
  405. package/dist/cli/commands/history-import/index.cjs +0 -78
  406. package/dist/cli/commands/history-import/index.cjs.map +0 -1
  407. package/dist/cli/commands/history-import/index.mjs +0 -75
  408. package/dist/cli/commands/history-import/index.mjs.map +0 -1
  409. package/dist/cli/commands/init/constants.cjs +0 -11
  410. package/dist/cli/commands/init/constants.cjs.map +0 -1
  411. package/dist/cli/commands/init/constants.mjs +0 -11
  412. package/dist/cli/commands/init/constants.mjs.map +0 -1
  413. package/dist/cli/commands/init/help.cjs +0 -17
  414. package/dist/cli/commands/init/help.cjs.map +0 -1
  415. package/dist/cli/commands/init/help.d.cts +0 -4
  416. package/dist/cli/commands/init/help.d.cts.map +0 -1
  417. package/dist/cli/commands/init/help.d.mts +0 -4
  418. package/dist/cli/commands/init/help.d.mts.map +0 -1
  419. package/dist/cli/commands/init/help.mjs +0 -17
  420. package/dist/cli/commands/init/help.mjs.map +0 -1
  421. package/dist/cli/commands/init/index.cjs +0 -87
  422. package/dist/cli/commands/init/index.cjs.map +0 -1
  423. package/dist/cli/commands/init/index.d.cts +0 -12
  424. package/dist/cli/commands/init/index.d.cts.map +0 -1
  425. package/dist/cli/commands/init/index.d.mts +0 -12
  426. package/dist/cli/commands/init/index.d.mts.map +0 -1
  427. package/dist/cli/commands/init/index.mjs +0 -83
  428. package/dist/cli/commands/init/index.mjs.map +0 -1
  429. package/dist/cli/commands/init/presenter.cjs +0 -170
  430. package/dist/cli/commands/init/presenter.cjs.map +0 -1
  431. package/dist/cli/commands/init/presenter.d.cts +0 -8
  432. package/dist/cli/commands/init/presenter.d.cts.map +0 -1
  433. package/dist/cli/commands/init/presenter.d.mts +0 -8
  434. package/dist/cli/commands/init/presenter.d.mts.map +0 -1
  435. package/dist/cli/commands/init/presenter.mjs +0 -170
  436. package/dist/cli/commands/init/presenter.mjs.map +0 -1
  437. package/dist/cli/commands/launch/index.cjs +0 -128
  438. package/dist/cli/commands/launch/index.cjs.map +0 -1
  439. package/dist/cli/commands/launch/index.d.cts +0 -29
  440. package/dist/cli/commands/launch/index.d.cts.map +0 -1
  441. package/dist/cli/commands/launch/index.d.mts +0 -29
  442. package/dist/cli/commands/launch/index.d.mts.map +0 -1
  443. package/dist/cli/commands/launch/index.mjs +0 -122
  444. package/dist/cli/commands/launch/index.mjs.map +0 -1
  445. package/dist/cli/commands/sandbox/args.cjs +0 -50
  446. package/dist/cli/commands/sandbox/args.cjs.map +0 -1
  447. package/dist/cli/commands/sandbox/args.mjs +0 -50
  448. package/dist/cli/commands/sandbox/args.mjs.map +0 -1
  449. package/dist/cli/commands/sandbox/harness.cjs +0 -61
  450. package/dist/cli/commands/sandbox/harness.cjs.map +0 -1
  451. package/dist/cli/commands/sandbox/harness.mjs +0 -60
  452. package/dist/cli/commands/sandbox/harness.mjs.map +0 -1
  453. package/dist/cli/commands/sandbox/index.cjs +0 -57
  454. package/dist/cli/commands/sandbox/index.cjs.map +0 -1
  455. package/dist/cli/commands/sandbox/index.mjs +0 -56
  456. package/dist/cli/commands/sandbox/index.mjs.map +0 -1
  457. package/dist/cli/commands/sync/help.cjs +0 -28
  458. package/dist/cli/commands/sync/help.cjs.map +0 -1
  459. package/dist/cli/commands/sync/help.d.cts +0 -4
  460. package/dist/cli/commands/sync/help.d.cts.map +0 -1
  461. package/dist/cli/commands/sync/help.d.mts +0 -4
  462. package/dist/cli/commands/sync/help.d.mts.map +0 -1
  463. package/dist/cli/commands/sync/help.mjs +0 -28
  464. package/dist/cli/commands/sync/help.mjs.map +0 -1
  465. package/dist/cli/commands/sync/index.cjs +0 -554
  466. package/dist/cli/commands/sync/index.cjs.map +0 -1
  467. package/dist/cli/commands/sync/index.d.cts +0 -53
  468. package/dist/cli/commands/sync/index.d.cts.map +0 -1
  469. package/dist/cli/commands/sync/index.d.mts +0 -53
  470. package/dist/cli/commands/sync/index.d.mts.map +0 -1
  471. package/dist/cli/commands/sync/index.mjs +0 -540
  472. package/dist/cli/commands/sync/index.mjs.map +0 -1
  473. package/dist/cli/commands/sync/prepare.cjs +0 -46
  474. package/dist/cli/commands/sync/prepare.cjs.map +0 -1
  475. package/dist/cli/commands/sync/prepare.mjs +0 -42
  476. package/dist/cli/commands/sync/prepare.mjs.map +0 -1
  477. package/dist/cli/commands/sync/presenter.cjs +0 -58
  478. package/dist/cli/commands/sync/presenter.cjs.map +0 -1
  479. package/dist/cli/commands/sync/presenter.d.cts +0 -16
  480. package/dist/cli/commands/sync/presenter.d.cts.map +0 -1
  481. package/dist/cli/commands/sync/presenter.d.mts +0 -16
  482. package/dist/cli/commands/sync/presenter.d.mts.map +0 -1
  483. package/dist/cli/commands/sync/presenter.mjs +0 -57
  484. package/dist/cli/commands/sync/presenter.mjs.map +0 -1
  485. package/dist/cli/commands/sync/workflow.cjs +0 -100
  486. package/dist/cli/commands/sync/workflow.cjs.map +0 -1
  487. package/dist/cli/commands/sync/workflow.mjs +0 -97
  488. package/dist/cli/commands/sync/workflow.mjs.map +0 -1
  489. package/dist/cli/dpi.cjs +0 -98
  490. package/dist/cli/dpi.cjs.map +0 -1
  491. package/dist/cli/dpi.mjs +0 -91
  492. package/dist/cli/dpi.mjs.map +0 -1
  493. package/dist/cli/harnessOptions.cjs +0 -60
  494. package/dist/cli/harnessOptions.cjs.map +0 -1
  495. package/dist/cli/harnessOptions.d.cts +0 -24
  496. package/dist/cli/harnessOptions.d.cts.map +0 -1
  497. package/dist/cli/harnessOptions.d.mts +0 -24
  498. package/dist/cli/harnessOptions.d.mts.map +0 -1
  499. package/dist/cli/harnessOptions.mjs +0 -57
  500. package/dist/cli/harnessOptions.mjs.map +0 -1
  501. package/dist/cli/help.cjs +0 -89
  502. package/dist/cli/help.cjs.map +0 -1
  503. package/dist/cli/help.d.cts +0 -12
  504. package/dist/cli/help.d.cts.map +0 -1
  505. package/dist/cli/help.d.mts +0 -12
  506. package/dist/cli/help.d.mts.map +0 -1
  507. package/dist/cli/help.mjs +0 -83
  508. package/dist/cli/help.mjs.map +0 -1
  509. package/dist/cli/matrixOptions.cjs +0 -178
  510. package/dist/cli/matrixOptions.cjs.map +0 -1
  511. package/dist/cli/matrixOptions.d.cts +0 -90
  512. package/dist/cli/matrixOptions.d.cts.map +0 -1
  513. package/dist/cli/matrixOptions.d.mts +0 -90
  514. package/dist/cli/matrixOptions.d.mts.map +0 -1
  515. package/dist/cli/matrixOptions.mjs +0 -151
  516. package/dist/cli/matrixOptions.mjs.map +0 -1
  517. package/dist/cli/options.cjs +0 -306
  518. package/dist/cli/options.cjs.map +0 -1
  519. package/dist/cli/options.d.cts +0 -5
  520. package/dist/cli/options.d.cts.map +0 -1
  521. package/dist/cli/options.d.mts +0 -5
  522. package/dist/cli/options.d.mts.map +0 -1
  523. package/dist/cli/options.mjs +0 -304
  524. package/dist/cli/options.mjs.map +0 -1
  525. package/dist/cli/router.cjs +0 -59
  526. package/dist/cli/router.cjs.map +0 -1
  527. package/dist/cli/router.d.cts +0 -32
  528. package/dist/cli/router.d.cts.map +0 -1
  529. package/dist/cli/router.d.mts +0 -32
  530. package/dist/cli/router.d.mts.map +0 -1
  531. package/dist/cli/router.mjs +0 -56
  532. package/dist/cli/router.mjs.map +0 -1
  533. package/dist/cli/server/options.cjs +0 -71
  534. package/dist/cli/server/options.cjs.map +0 -1
  535. package/dist/cli/server/options.mjs +0 -70
  536. package/dist/cli/server/options.mjs.map +0 -1
  537. package/dist/cli/server/run.cjs +0 -36
  538. package/dist/cli/server/run.cjs.map +0 -1
  539. package/dist/cli/server/run.mjs +0 -36
  540. package/dist/cli/server/run.mjs.map +0 -1
  541. package/dist/cli-app.cjs +0 -5
  542. package/dist/cli-app.d.cts +0 -2
  543. package/dist/cli-app.d.mts +0 -2
  544. package/dist/cli-app.mjs +0 -2
  545. package/dist/cli.cjs +0 -28
  546. package/dist/cli.d.cts +0 -11
  547. package/dist/cli.d.mts +0 -11
  548. package/dist/cli.mjs +0 -11
  549. package/dist/codex.cjs +0 -8
  550. package/dist/codex.d.cts +0 -2
  551. package/dist/codex.d.mts +0 -2
  552. package/dist/codex.mjs +0 -2
  553. package/dist/commands.cjs +0 -23
  554. package/dist/commands.d.cts +0 -9
  555. package/dist/commands.d.mts +0 -9
  556. package/dist/commands.mjs +0 -9
  557. package/dist/compatibility-command.cjs +0 -4
  558. package/dist/compatibility-command.d.cts +0 -2
  559. package/dist/compatibility-command.d.mts +0 -2
  560. package/dist/compatibility-command.mjs +0 -2
  561. package/dist/compatibility-context.cjs +0 -3
  562. package/dist/compatibility-context.d.cts +0 -2
  563. package/dist/compatibility-context.d.mts +0 -2
  564. package/dist/compatibility-context.mjs +0 -2
  565. package/dist/compatibility-options.cjs +0 -5
  566. package/dist/compatibility-options.d.cts +0 -2
  567. package/dist/compatibility-options.d.mts +0 -2
  568. package/dist/compatibility-options.mjs +0 -2
  569. package/dist/compatibility.cjs +0 -27
  570. package/dist/compatibility.d.cts +0 -6
  571. package/dist/compatibility.d.mts +0 -6
  572. package/dist/compatibility.mjs +0 -6
  573. package/dist/compiler/cache.cjs +0 -331
  574. package/dist/compiler/cache.cjs.map +0 -1
  575. package/dist/compiler/cache.mjs +0 -323
  576. package/dist/compiler/cache.mjs.map +0 -1
  577. package/dist/compiler/index.cjs +0 -977
  578. package/dist/compiler/index.cjs.map +0 -1
  579. package/dist/compiler/index.mjs +0 -969
  580. package/dist/compiler/index.mjs.map +0 -1
  581. package/dist/compiler/inputs.cjs +0 -83
  582. package/dist/compiler/inputs.cjs.map +0 -1
  583. package/dist/compiler/inputs.mjs +0 -78
  584. package/dist/compiler/inputs.mjs.map +0 -1
  585. package/dist/composer.cjs +0 -28
  586. package/dist/composer.d.cts +0 -4
  587. package/dist/composer.d.mts +0 -4
  588. package/dist/composer.mjs +0 -4
  589. package/dist/composition/harnessState/index.cjs +0 -48
  590. package/dist/composition/harnessState/index.cjs.map +0 -1
  591. package/dist/composition/harnessState/index.d.cts +0 -19
  592. package/dist/composition/harnessState/index.d.cts.map +0 -1
  593. package/dist/composition/harnessState/index.d.mts +0 -19
  594. package/dist/composition/harnessState/index.d.mts.map +0 -1
  595. package/dist/composition/harnessState/index.mjs +0 -34
  596. package/dist/composition/harnessState/index.mjs.map +0 -1
  597. package/dist/composition/layerPackageInstaller/index.cjs +0 -342
  598. package/dist/composition/layerPackageInstaller/index.cjs.map +0 -1
  599. package/dist/composition/layerPackageInstaller/index.d.cts +0 -45
  600. package/dist/composition/layerPackageInstaller/index.d.cts.map +0 -1
  601. package/dist/composition/layerPackageInstaller/index.d.mts +0 -45
  602. package/dist/composition/layerPackageInstaller/index.d.mts.map +0 -1
  603. package/dist/composition/layerPackageInstaller/index.mjs +0 -334
  604. package/dist/composition/layerPackageInstaller/index.mjs.map +0 -1
  605. package/dist/composition/projectTrust/index.cjs +0 -51
  606. package/dist/composition/projectTrust/index.cjs.map +0 -1
  607. package/dist/composition/projectTrust/index.d.cts +0 -22
  608. package/dist/composition/projectTrust/index.d.cts.map +0 -1
  609. package/dist/composition/projectTrust/index.d.mts +0 -22
  610. package/dist/composition/projectTrust/index.d.mts.map +0 -1
  611. package/dist/composition/projectTrust/index.mjs +0 -48
  612. package/dist/composition/projectTrust/index.mjs.map +0 -1
  613. package/dist/composition/repository/index.cjs +0 -69
  614. package/dist/composition/repository/index.cjs.map +0 -1
  615. package/dist/composition/repository/index.d.cts +0 -22
  616. package/dist/composition/repository/index.d.cts.map +0 -1
  617. package/dist/composition/repository/index.d.mts +0 -22
  618. package/dist/composition/repository/index.d.mts.map +0 -1
  619. package/dist/composition/repository/index.mjs +0 -64
  620. package/dist/composition/repository/index.mjs.map +0 -1
  621. package/dist/composition/syncDrift/index.cjs +0 -132
  622. package/dist/composition/syncDrift/index.cjs.map +0 -1
  623. package/dist/composition/syncDrift/index.d.cts +0 -39
  624. package/dist/composition/syncDrift/index.d.cts.map +0 -1
  625. package/dist/composition/syncDrift/index.d.mts +0 -39
  626. package/dist/composition/syncDrift/index.d.mts.map +0 -1
  627. package/dist/composition/syncDrift/index.mjs +0 -125
  628. package/dist/composition/syncDrift/index.mjs.map +0 -1
  629. package/dist/composition/syncState/index.cjs +0 -593
  630. package/dist/composition/syncState/index.cjs.map +0 -1
  631. package/dist/composition/syncState/index.d.cts +0 -188
  632. package/dist/composition/syncState/index.d.cts.map +0 -1
  633. package/dist/composition/syncState/index.d.mts +0 -188
  634. package/dist/composition/syncState/index.d.mts.map +0 -1
  635. package/dist/composition/syncState/index.mjs +0 -559
  636. package/dist/composition/syncState/index.mjs.map +0 -1
  637. package/dist/composition/transitionLayers.cjs +0 -17
  638. package/dist/composition/transitionLayers.cjs.map +0 -1
  639. package/dist/composition/transitionLayers.d.cts +0 -6
  640. package/dist/composition/transitionLayers.d.cts.map +0 -1
  641. package/dist/composition/transitionLayers.d.mts +0 -6
  642. package/dist/composition/transitionLayers.d.mts.map +0 -1
  643. package/dist/composition/transitionLayers.mjs +0 -16
  644. package/dist/composition/transitionLayers.mjs.map +0 -1
  645. package/dist/composition/types/harness.d.cts +0 -49
  646. package/dist/composition/types/harness.d.cts.map +0 -1
  647. package/dist/composition/types/harness.d.mts +0 -49
  648. package/dist/composition/types/harness.d.mts.map +0 -1
  649. package/dist/config.cjs +0 -163
  650. package/dist/config.d.cts +0 -7
  651. package/dist/config.d.mts +0 -7
  652. package/dist/config.mjs +0 -7
  653. package/dist/emit-mcp-command.cjs +0 -4
  654. package/dist/emit-mcp-command.d.cts +0 -2
  655. package/dist/emit-mcp-command.d.mts +0 -2
  656. package/dist/emit-mcp-command.mjs +0 -2
  657. package/dist/explain-command.cjs +0 -5
  658. package/dist/explain-command.d.cts +0 -2
  659. package/dist/explain-command.d.mts +0 -2
  660. package/dist/explain-command.mjs +0 -2
  661. package/dist/extensions/agent-model.cjs +0 -41
  662. package/dist/extensions/agent-model.cjs.map +0 -1
  663. package/dist/extensions/agent-model.d.cts +0 -22
  664. package/dist/extensions/agent-model.d.cts.map +0 -1
  665. package/dist/extensions/agent-model.d.mts +0 -22
  666. package/dist/extensions/agent-model.d.mts.map +0 -1
  667. package/dist/extensions/agent-model.mjs +0 -35
  668. package/dist/extensions/agent-model.mjs.map +0 -1
  669. package/dist/extensions/composed-pi.cjs +0 -46
  670. package/dist/extensions/composed-pi.cjs.map +0 -1
  671. package/dist/extensions/composed-pi.d.cts +0 -13
  672. package/dist/extensions/composed-pi.d.cts.map +0 -1
  673. package/dist/extensions/composed-pi.d.mts +0 -13
  674. package/dist/extensions/composed-pi.d.mts.map +0 -1
  675. package/dist/extensions/composed-pi.mjs +0 -41
  676. package/dist/extensions/composed-pi.mjs.map +0 -1
  677. package/dist/extensions/context-catalog.cjs +0 -96
  678. package/dist/extensions/context-catalog.cjs.map +0 -1
  679. package/dist/extensions/context-catalog.d.cts +0 -4
  680. package/dist/extensions/context-catalog.d.cts.map +0 -1
  681. package/dist/extensions/context-catalog.d.mts +0 -5
  682. package/dist/extensions/context-catalog.d.mts.map +0 -1
  683. package/dist/extensions/context-catalog.mjs +0 -96
  684. package/dist/extensions/context-catalog.mjs.map +0 -1
  685. package/dist/extensions/cordis-finalizer.cjs +0 -24
  686. package/dist/extensions/cordis-finalizer.cjs.map +0 -1
  687. package/dist/extensions/cordis-finalizer.d.cts +0 -7
  688. package/dist/extensions/cordis-finalizer.d.cts.map +0 -1
  689. package/dist/extensions/cordis-finalizer.d.mts +0 -7
  690. package/dist/extensions/cordis-finalizer.d.mts.map +0 -1
  691. package/dist/extensions/cordis-finalizer.mjs +0 -19
  692. package/dist/extensions/cordis-finalizer.mjs.map +0 -1
  693. package/dist/extensions/cordis-host.cjs +0 -19
  694. package/dist/extensions/cordis-host.cjs.map +0 -1
  695. package/dist/extensions/cordis-host.d.cts +0 -7
  696. package/dist/extensions/cordis-host.d.cts.map +0 -1
  697. package/dist/extensions/cordis-host.d.mts +0 -7
  698. package/dist/extensions/cordis-host.d.mts.map +0 -1
  699. package/dist/extensions/cordis-host.mjs +0 -14
  700. package/dist/extensions/cordis-host.mjs.map +0 -1
  701. package/dist/extensions/effort.cjs +0 -54
  702. package/dist/extensions/effort.cjs.map +0 -1
  703. package/dist/extensions/effort.d.cts +0 -8
  704. package/dist/extensions/effort.d.cts.map +0 -1
  705. package/dist/extensions/effort.d.mts +0 -8
  706. package/dist/extensions/effort.d.mts.map +0 -1
  707. package/dist/extensions/effort.mjs +0 -48
  708. package/dist/extensions/effort.mjs.map +0 -1
  709. package/dist/extensions/launcher-bootstrap.cjs +0 -38
  710. package/dist/extensions/launcher-bootstrap.cjs.map +0 -1
  711. package/dist/extensions/launcher-bootstrap.d.cts +0 -16
  712. package/dist/extensions/launcher-bootstrap.d.cts.map +0 -1
  713. package/dist/extensions/launcher-bootstrap.d.mts +0 -16
  714. package/dist/extensions/launcher-bootstrap.d.mts.map +0 -1
  715. package/dist/extensions/launcher-bootstrap.mjs +0 -33
  716. package/dist/extensions/launcher-bootstrap.mjs.map +0 -1
  717. package/dist/extensions/ollama-provider.cjs +0 -32
  718. package/dist/extensions/ollama-provider.cjs.map +0 -1
  719. package/dist/extensions/ollama-provider.d.cts +0 -5
  720. package/dist/extensions/ollama-provider.d.cts.map +0 -1
  721. package/dist/extensions/ollama-provider.d.mts +0 -5
  722. package/dist/extensions/ollama-provider.d.mts.map +0 -1
  723. package/dist/extensions/ollama-provider.mjs +0 -32
  724. package/dist/extensions/ollama-provider.mjs.map +0 -1
  725. package/dist/extensions/pi.cjs +0 -63
  726. package/dist/extensions/pi.cjs.map +0 -1
  727. package/dist/extensions/pi.d.cts +0 -7
  728. package/dist/extensions/pi.d.cts.map +0 -1
  729. package/dist/extensions/pi.d.mts +0 -7
  730. package/dist/extensions/pi.d.mts.map +0 -1
  731. package/dist/extensions/pi.mjs +0 -58
  732. package/dist/extensions/pi.mjs.map +0 -1
  733. package/dist/extensions/server.cjs +0 -20
  734. package/dist/extensions/server.cjs.map +0 -1
  735. package/dist/extensions/server.d.cts +0 -5
  736. package/dist/extensions/server.d.cts.map +0 -1
  737. package/dist/extensions/server.d.mts +0 -5
  738. package/dist/extensions/server.d.mts.map +0 -1
  739. package/dist/extensions/server.mjs +0 -15
  740. package/dist/extensions/server.mjs.map +0 -1
  741. package/dist/extensions/style-system.cjs +0 -234
  742. package/dist/extensions/style-system.cjs.map +0 -1
  743. package/dist/extensions/style-system.d.cts +0 -32
  744. package/dist/extensions/style-system.d.cts.map +0 -1
  745. package/dist/extensions/style-system.d.mts +0 -32
  746. package/dist/extensions/style-system.d.mts.map +0 -1
  747. package/dist/extensions/style-system.mjs +0 -219
  748. package/dist/extensions/style-system.mjs.map +0 -1
  749. package/dist/extensions/terminal-child-session.cjs +0 -76
  750. package/dist/extensions/terminal-child-session.cjs.map +0 -1
  751. package/dist/extensions/terminal-child-session.d.cts +0 -7
  752. package/dist/extensions/terminal-child-session.d.cts.map +0 -1
  753. package/dist/extensions/terminal-child-session.d.mts +0 -7
  754. package/dist/extensions/terminal-child-session.d.mts.map +0 -1
  755. package/dist/extensions/terminal-child-session.mjs +0 -69
  756. package/dist/extensions/terminal-child-session.mjs.map +0 -1
  757. package/dist/extensions/transition-coordinator.cjs +0 -154
  758. package/dist/extensions/transition-coordinator.cjs.map +0 -1
  759. package/dist/extensions/transition-coordinator.d.cts +0 -8
  760. package/dist/extensions/transition-coordinator.d.cts.map +0 -1
  761. package/dist/extensions/transition-coordinator.d.mts +0 -8
  762. package/dist/extensions/transition-coordinator.d.mts.map +0 -1
  763. package/dist/extensions/transition-coordinator.mjs +0 -146
  764. package/dist/extensions/transition-coordinator.mjs.map +0 -1
  765. package/dist/harness-context.cjs +0 -5
  766. package/dist/harness-context.d.cts +0 -2
  767. package/dist/harness-context.d.mts +0 -2
  768. package/dist/harness-context.mjs +0 -2
  769. package/dist/harness-state.cjs +0 -19
  770. package/dist/harness-state.d.cts +0 -2
  771. package/dist/harness-state.d.mts +0 -2
  772. package/dist/harness-state.mjs +0 -2
  773. package/dist/help.cjs +0 -16
  774. package/dist/help.d.cts +0 -8
  775. package/dist/help.d.mts +0 -8
  776. package/dist/help.mjs +0 -8
  777. package/dist/index.cjs +0 -368
  778. package/dist/index.d.cts +0 -49
  779. package/dist/index.d.mts +0 -49
  780. package/dist/index.mjs +0 -46
  781. package/dist/init-command.cjs +0 -4
  782. package/dist/init-command.d.cts +0 -2
  783. package/dist/init-command.d.mts +0 -2
  784. package/dist/init-command.mjs +0 -2
  785. package/dist/launch-command.cjs +0 -7
  786. package/dist/launch-command.d.cts +0 -2
  787. package/dist/launch-command.d.mts +0 -2
  788. package/dist/launch-command.mjs +0 -2
  789. package/dist/matrix-options.cjs +0 -28
  790. package/dist/matrix-options.d.cts +0 -2
  791. package/dist/matrix-options.d.mts +0 -2
  792. package/dist/matrix-options.mjs +0 -2
  793. package/dist/matrix-switcher.cjs +0 -11
  794. package/dist/matrix-switcher.d.cts +0 -3
  795. package/dist/matrix-switcher.d.mts +0 -3
  796. package/dist/matrix-switcher.mjs +0 -3
  797. package/dist/mcp-filter.cjs +0 -9
  798. package/dist/mcp-filter.d.cts +0 -1
  799. package/dist/mcp-filter.d.mts +0 -1
  800. package/dist/mcp-filter.mjs +0 -2
  801. package/dist/options.cjs +0 -3
  802. package/dist/options.d.cts +0 -2
  803. package/dist/options.d.mts +0 -2
  804. package/dist/options.mjs +0 -2
  805. package/dist/process.cjs +0 -12
  806. package/dist/process.d.cts +0 -2
  807. package/dist/process.d.mts +0 -2
  808. package/dist/process.mjs +0 -2
  809. package/dist/project-trust.cjs +0 -6
  810. package/dist/project-trust.d.cts +0 -2
  811. package/dist/project-trust.d.mts +0 -2
  812. package/dist/project-trust.mjs +0 -2
  813. package/dist/repository.cjs +0 -5
  814. package/dist/repository.d.cts +0 -2
  815. package/dist/repository.d.mts +0 -2
  816. package/dist/repository.mjs +0 -2
  817. package/dist/resource-collector.cjs +0 -9
  818. package/dist/resource-collector.d.cts +0 -1
  819. package/dist/resource-collector.d.mts +0 -1
  820. package/dist/resource-collector.mjs +0 -2
  821. package/dist/services.cjs +0 -154
  822. package/dist/services.d.cts +0 -21
  823. package/dist/services.d.mts +0 -21
  824. package/dist/services.mjs +0 -21
  825. package/dist/shared.cjs +0 -18
  826. package/dist/shared.d.cts +0 -2
  827. package/dist/shared.d.mts +0 -2
  828. package/dist/shared.mjs +0 -2
  829. package/dist/sync-command.cjs +0 -10
  830. package/dist/sync-command.d.cts +0 -2
  831. package/dist/sync-command.d.mts +0 -2
  832. package/dist/sync-command.mjs +0 -2
  833. package/dist/sync-state.cjs +0 -33
  834. package/dist/sync-state.d.cts +0 -2
  835. package/dist/sync-state.d.mts +0 -2
  836. package/dist/sync-state.mjs +0 -2
  837. package/dist/utils.cjs +0 -6
  838. package/dist/utils.d.cts +0 -3
  839. package/dist/utils.d.mts +0 -3
  840. package/dist/utils.mjs +0 -3
@@ -79,8 +79,8 @@ Source schemas use JSON Schema draft-07, including TypeBox output. The exporter
79
79
  The exporter is a separate `api-export` command, not a `sync` flag. For a local distribution build:
80
80
 
81
81
  ```sh
82
- node packages/core/doompi/dist/bin/cli.mjs sync
83
- node packages/core/doompi/dist/bin/cli.mjs api-export --out /tmp/doompi-api-schema --strict
82
+ node packages/cli/doompi/dist/bin/cli.mjs sync
83
+ node packages/cli/doompi/dist/bin/cli.mjs api-export --out /tmp/doompi-api-schema --strict
84
84
  ```
85
85
 
86
86
  OpenAPI uses direct settings routes, plural `plugins` mounts, and workspace-nested session resources. AsyncAPI declares `/api/ws`, `/api/workspaces/{workspaceId}/ws`, and `/api/workspaces/{workspaceId}/sessions/{sessionId}/ws`. The global channel also declares the routed workspace and session operations available through the aggregate hub connection. `x-doompi.transportScope` identifies the addressed channel separately from the operation's composition scope.
@@ -102,7 +102,7 @@ If startup fails while loading the generation or a required facet, no ready list
102
102
 
103
103
  ## Development
104
104
 
105
- Run from `packages/core/doompi`:
105
+ Run from `packages/cli/doompi`:
106
106
 
107
107
  ```bash
108
108
  pnpm build
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/doompi",
3
- "version": "0.0.1-alpha.73",
3
+ "version": "0.0.1-alpha.76",
4
4
  "description": "Opinionated, composable Pi distribution for scoped agent tools, skills, MCP servers, and developer workflows.",
5
5
  "keywords": [
6
6
  "ai",
@@ -20,7 +20,7 @@
20
20
  "repository": {
21
21
  "type": "git",
22
22
  "url": "git+https://github.com/AgiFlow/doompi.git",
23
- "directory": "packages/core/doompi"
23
+ "directory": "packages/cli/doompi"
24
24
  },
25
25
  "bin": {
26
26
  "doom-runner": "./dist/bin/doomRunner.mjs",
@@ -277,19 +277,19 @@
277
277
  "registry": "https://registry.npmjs.org/"
278
278
  },
279
279
  "dependencies": {
280
- "@agimon-ai/doompi-autostop": "0.0.1-alpha.49",
281
- "@agimon-ai/doompi-cache": "0.0.1-alpha.38",
282
- "@agimon-ai/doompi-config": "0.0.1-alpha.71",
283
- "@agimon-ai/doompi-core": "0.0.1-alpha.72",
284
- "@agimon-ai/doompi-domain": "0.0.1-alpha.50",
285
- "@agimon-ai/doompi-major-mode": "0.0.1-alpha.50",
286
- "@agimon-ai/doompi-minor-mode": "0.0.1-alpha.72",
287
- "@agimon-ai/doompi-notification": "0.0.1-alpha.49",
288
- "@agimon-ai/doompi-profile": "0.0.1-alpha.50",
289
- "@agimon-ai/doompi-skill": "0.0.1-alpha.50",
290
- "@agimon-ai/doompi-telemetry": "0.0.1-alpha.69",
291
- "@agimon-ai/doompi-ui": "0.0.1-alpha.72",
292
- "@agimon-ai/doompi-web-security": "0.0.1-alpha.32",
280
+ "@agimon-ai/doompi-autostop": "0.0.1-alpha.52",
281
+ "@agimon-ai/doompi-cache": "0.0.1-alpha.41",
282
+ "@agimon-ai/doompi-config": "0.0.1-alpha.74",
283
+ "@agimon-ai/doompi-core": "0.0.1-alpha.75",
284
+ "@agimon-ai/doompi-domain": "0.0.1-alpha.53",
285
+ "@agimon-ai/doompi-major-mode": "0.0.1-alpha.53",
286
+ "@agimon-ai/doompi-minor-mode": "0.0.1-alpha.75",
287
+ "@agimon-ai/doompi-notification": "0.0.1-alpha.52",
288
+ "@agimon-ai/doompi-profile": "0.0.1-alpha.53",
289
+ "@agimon-ai/doompi-skill": "0.0.1-alpha.53",
290
+ "@agimon-ai/doompi-telemetry": "0.0.1-alpha.72",
291
+ "@agimon-ai/doompi-ui": "0.0.1-alpha.75",
292
+ "@agimon-ai/doompi-web-security": "0.0.1-alpha.35",
293
293
  "@deepseek-ai/cordis": "4.0.2",
294
294
  "@earendil-works/chord": "0.85.1",
295
295
  "@earendil-works/pi-agent-core": "0.85.1",
@@ -314,8 +314,8 @@
314
314
  "yaml": "2.9.0"
315
315
  },
316
316
  "devDependencies": {
317
- "@agimon-ai/doompi-runner": "0.0.1-alpha.72",
318
- "@agimon-ai/vibe-lint-plugin-doom-cli": "0.0.1-alpha.3",
317
+ "@agimon-ai/doompi-runner": "0.0.1-alpha.75",
318
+ "@agimon-ai/vibe-lint-plugin-doom-cli": "0.0.1-alpha.6",
319
319
  "@earendil-works/pi-ai": "0.85.1",
320
320
  "@earendil-works/pi-client": "0.85.1",
321
321
  "@earendil-works/pi-tui": "0.85.1",
@@ -338,6 +338,7 @@
338
338
  "engines": {
339
339
  "node": ">=22.19.0"
340
340
  },
341
+ "doompiApiVersion": 1,
341
342
  "doompiServer": {
342
343
  "entry": "./src/extensions/server.ts",
343
344
  "dist": "./dist/extensions/server.mjs",
@@ -24,10 +24,11 @@ Choose the package tier from the capability, not convenience:
24
24
 
25
25
  1. Inspect a nearby package with the same host surfaces and reuse its structure.
26
26
  2. Put logic in `services/<serviceName>/index.ts`, service ports in `type.ts`, mutable state in `models`, request handlers in `controllers`, and tools in `tools`. Keep reusable types, schemas, and constant data in their named folders. Do not create `adapters`, `container`, `commands`, or `providers` roots.
27
- 3. Implement direct host entries in `src/extensions/pi.ts`, `server.ts`, or `web.ts` with `definePiExtension`, `defineServerPlugin`, or `defineWebPlugin`. Entries compose controllers, tools, and services. Build entries directly with tsdown, separately from flat public forwarding files in `src/exports`.
27
+ 3. Author each contribution at `src/extensions/<scope>/(backend|frontend)/<surface>/<name>[.<target>].<ext>`. Export one declaration or factory through the typed `define*` helper for that surface. Do not hand-write `pi.ts`, `server.ts`, or `web.ts`; `doompiExtension()` generates them beneath ignored `generated/` and builds the published host artifacts.
28
28
  4. Return typed contributions from a named declaration or per-mount factory. Factories may be async. Use optional `onStart`, `onStop`, and `onDispose` hooks for lifecycle work; helpers own Cordis initialization, registration, readiness, and cleanup.
29
29
  5. Put provider plugins in services and include them in the `services` contribution array. Consume required providers inside an owning injection with the corresponding `require...` accessor. The helper handles optional providers for native contributions such as resources and minor modes.
30
- 6. Keep package exports explicit and flat, with only reusable APIs. If the extension contributes Help, publish `src/prompts/<skill-name>/SKILL.md`, link it from `llms.txt`, and declare its descriptor in `resources` with the exact package name and `import.meta.url`.
31
- 7. Run the repository checks or equivalent standalone package checks before publishing.
30
+ 6. Keep package exports explicit and flat under `src/exports`, with only reusable APIs. If the extension contributes Help, publish `src/prompts/<skill-name>/SKILL.md`, link it from `llms.txt`, and declare its descriptor in `resources` with the exact package name and `import.meta.url`.
31
+ 7. For frontend contributions, add a root `tsconfig.web.json`, keep routed `(frontend)` files out of the Node project, and typecheck both projects.
32
+ 8. Run the repository checks or equivalent standalone package checks before publishing.
32
33
 
33
34
  Read [references/extension-contract.md](references/extension-contract.md) for the concrete package, lifecycle, and verification contract.
@@ -58,49 +58,49 @@ Use the canonical source vocabulary and omit unused folders:
58
58
  ```text
59
59
  src/
60
60
  |-- constants/ Constant data
61
- |-- types/ Shared types
61
+ |-- types/ Shared browser-safe types
62
62
  |-- schemas/ Runtime validation
63
63
  |-- models/ Mutable state
64
64
  |-- services/ Logic, including filesystem, process, and network operations
65
65
  | `-- review/ index.ts implementation, type.ts service ports
66
66
  |-- controllers/ Request and command handlers using services and models
67
- |-- tools/ Typed tool declarations using services and models
68
- |-- extensions/ Direct pi.ts, server.ts, and web.ts host composition
69
- |-- web/ Browser presentation when needed
70
- |-- tui/ Terminal presentation when needed
67
+ |-- tools/ Reusable typed tool declarations
68
+ |-- extensions/ Routed host contributions by scope, side, surface, and filename
69
+ |-- tui/ Shared terminal presentation when needed
71
70
  |-- prompts/ Published package-owned Help prompts
72
71
  `-- exports/ Flat public forwarding files, reusable APIs only
73
72
  ```
74
73
 
74
+ Browser-only implementation details should live in `_components` or `_lib` beside their routed frontend contribution. These private folders are not scanned. Use `src/types`, `src/constants`, and `src/schemas` only for code intentionally shared across sides.
75
+
75
76
  Omit unused folders. There are no adapters, container, commands, or providers roots. Services may perform IO and provide Cordis services, but host bootstrapping and native registration belong to the extension helpers. Imports point from extensions to controllers/tools to services/models, then schemas/types/constants. Use extensionless source imports and omit `/index`.
76
77
 
77
78
  ## Plugin declarations and lifecycle
78
79
 
79
- The helper joins the shared Cordis host and owns registration and teardown. A Pi entry composes typed declarations:
80
+ The routed file exports one contribution. Its path supplies the scope, host side, surface, and identity:
80
81
 
81
82
  ```ts
82
- import { definePiExtension } from '@agimon-ai/doompi-core/pi-extension';
83
- import { createReviewCommand } from '../controllers/reviewCommand';
84
- import { createReviewService } from '../services/review';
85
-
86
- export const reviewExtension = definePiExtension('@example/doompi-review', () => {
87
- const service = createReviewService();
88
- return {
89
- commands: [createReviewCommand(service)],
90
- resources: [
91
- {
92
- source: '@example/doompi-review',
93
- moduleUrl: import.meta.url,
94
- skills: [{ name: 'doompi-use-review', description: 'Configure and use the review extension.' }],
95
- },
96
- ],
97
- };
98
- });
99
-
100
- export default reviewExtension;
83
+ // src/extensions/workspaces/sessions/(backend)/command/review.ts
84
+ import { defineCommand } from '@agimon-ai/doompi-core/extension-file';
85
+
86
+ import { createReviewCommand } from '../../../../../controllers/reviewCommand';
87
+ import { createReviewService } from '../../../../../services/review';
88
+
89
+ export default defineCommand(() => createReviewCommand(createReviewService()));
90
+ ```
91
+
92
+ Use `defineCommand` for portable commands, `defineTool` for portable tools, `definePiTool` for native Pi capabilities, and the matching typed helper for every other surface. The generated server facet and browser plugin group routed declarations by scope. Use an `extra.<target>.ts` escape hatch only when a legacy contribution object cannot be represented without changing behavior.
93
+
94
+ The package build is convention-driven:
95
+
96
+ ```ts
97
+ import { doompiExtension } from '@agimon-ai/doompi-build/tsdown';
98
+ import { defineConfig } from 'tsdown';
99
+
100
+ export default defineConfig(doompiExtension());
101
101
  ```
102
102
 
103
- Controllers use `defineCommand` for portable commands; tools use `defineTool` for portable tools or `definePiTool` for native Pi capabilities. Server plugins declare a `name` and explicit `global`, `workspace`, and `session` scopes. Each scope is a contribution object or typed factory, and exposes `api`, `methods`, or `channels`; session scope also exposes agent capabilities. A `doompiServer` manifest points directly to `./src/extensions/server.ts`. Browser plugins similarly live directly in `./src/extensions/web.ts`.
103
+ Generated `pi.ts`, `server.ts`, and `web.ts` entries live under ignored `generated/`. The build publishes Node host entries and a browser bundle at `dist/extensions/web.mjs`, then synchronizes host metadata in `package.json`. A frontend package uses a root `tsconfig.web.json`; never publish or import a hand-written `src/extensions/web.ts`.
104
104
 
105
105
  Factories may return a promise. The helper waits for the declaration, mounts service contributions, registers capabilities, and awaits `onStart`. Shutdown aborts the instance signal, waits for startup to settle, awaits `onStop`, releases registrations in reverse order, then awaits `onDispose`. `onStop` runs once the start stage has been reached, including when `onStart` is absent or fails. Registration failures still release acquired handles and call accepted `onDispose`. Cleanup is idempotent and all cleanup stages run even when one fails.
106
106
 
@@ -1,23 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
- key = keys[i];
11
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
- get: ((k) => from[k]).bind(null, key),
13
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
- });
15
- }
16
- return to;
17
- };
18
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
19
- value: mod,
20
- enumerable: true
21
- }) : target, mod));
22
- //#endregion
23
- exports.__toESM = __toESM;
@@ -1,5 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_antigravity = require("./cli/commands/compat/providers/antigravity.cjs");
3
- exports.adaptAntigravityMcpDefinition = require_antigravity.adaptAntigravityMcpDefinition;
4
- exports.antigravityCompatibilityArgs = require_antigravity.antigravityCompatibilityArgs;
5
- exports.launchAntigravity = require_antigravity.launchAntigravity;
@@ -1,2 +0,0 @@
1
- import { adaptAntigravityMcpDefinition, antigravityCompatibilityArgs, launchAntigravity } from "./cli/commands/compat/providers/antigravity.cjs";
2
- export { adaptAntigravityMcpDefinition, antigravityCompatibilityArgs, launchAntigravity };
@@ -1,2 +0,0 @@
1
- import { adaptAntigravityMcpDefinition, antigravityCompatibilityArgs, launchAntigravity } from "./cli/commands/compat/providers/antigravity.mjs";
2
- export { adaptAntigravityMcpDefinition, antigravityCompatibilityArgs, launchAntigravity };
@@ -1,2 +0,0 @@
1
- import { adaptAntigravityMcpDefinition, antigravityCompatibilityArgs, launchAntigravity } from "./cli/commands/compat/providers/antigravity.mjs";
2
- export { adaptAntigravityMcpDefinition, antigravityCompatibilityArgs, launchAntigravity };
@@ -1,11 +0,0 @@
1
- Object.defineProperties(exports, {
2
- __esModule: { value: true },
3
- [Symbol.toStringTag]: { value: "Module" }
4
- });
5
- //#region src/exports/apiContracts.ts
6
- const apiContracts = require("@agimon-ai/doompi-core/api-contracts").builtinApiContract;
7
- //#endregion
8
- exports.apiContracts = apiContracts;
9
- exports.default = apiContracts;
10
-
11
- //# sourceMappingURL=api-contracts.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-contracts.cjs","names":["builtinApiContract"],"sources":["../src/exports/apiContracts.ts"],"sourcesContent":["import { builtinApiContract } from '@agimon-ai/doompi-core/api-contracts';\n\nexport const apiContracts = builtinApiContract;\nexport default apiContracts;\n"],"mappings":";;;;;AAEA,MAAa,6DAAeA,CAAAA,CAAAA"}
@@ -1,52 +0,0 @@
1
- //#region src/exports/apiContracts.d.ts
2
- export declare const apiContracts: {
3
- version: 1;
4
- protocols?: Record<string, string> | undefined;
5
- schemas?: Record<string, boolean | object> | undefined;
6
- http: {
7
- id: string;
8
- scope: "global" | "session" | "workspace";
9
- basePath?: string | undefined;
10
- path: string;
11
- method: "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT";
12
- description: string;
13
- availability?: string | undefined;
14
- authentication: "device" | "none" | "owner";
15
- parameters?: {
16
- name: string;
17
- in: "header" | "path" | "query";
18
- required: boolean;
19
- schema: boolean | object;
20
- }[] | undefined;
21
- body?: {
22
- contentType: string;
23
- contentTypes?: string[] | undefined;
24
- required: boolean;
25
- schema: boolean | object;
26
- } | undefined;
27
- responses: Record<string, {
28
- description: string;
29
- contentType?: string | undefined;
30
- schema?: boolean | object | undefined;
31
- events?: Record<string, boolean | object> | undefined;
32
- }>;
33
- }[];
34
- sockets: {
35
- id: string;
36
- scope: "global" | "session" | "workspace";
37
- description: string;
38
- availability?: string | undefined;
39
- service: string;
40
- member: string;
41
- direction: "client-to-server" | "server-to-client";
42
- kind: "channel" | "method" | "state";
43
- input: boolean | object;
44
- output?: boolean | object | undefined;
45
- errors?: boolean | object | undefined;
46
- }[];
47
- dynamic: string[];
48
- gaps?: string[] | undefined;
49
- };
50
- //#endregion
51
- export { apiContracts as default };
52
- //# sourceMappingURL=api-contracts.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-contracts.d.cts","names":[],"sources":["../src/exports/apiContracts.ts"],"mappings":";qBAEa"}
@@ -1,52 +0,0 @@
1
- //#region src/exports/apiContracts.d.ts
2
- export declare const apiContracts: {
3
- version: 1;
4
- protocols?: Record<string, string> | undefined;
5
- schemas?: Record<string, boolean | object> | undefined;
6
- http: {
7
- id: string;
8
- scope: "global" | "session" | "workspace";
9
- basePath?: string | undefined;
10
- path: string;
11
- method: "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT";
12
- description: string;
13
- availability?: string | undefined;
14
- authentication: "device" | "none" | "owner";
15
- parameters?: {
16
- name: string;
17
- in: "header" | "path" | "query";
18
- required: boolean;
19
- schema: boolean | object;
20
- }[] | undefined;
21
- body?: {
22
- contentType: string;
23
- contentTypes?: string[] | undefined;
24
- required: boolean;
25
- schema: boolean | object;
26
- } | undefined;
27
- responses: Record<string, {
28
- description: string;
29
- contentType?: string | undefined;
30
- schema?: boolean | object | undefined;
31
- events?: Record<string, boolean | object> | undefined;
32
- }>;
33
- }[];
34
- sockets: {
35
- id: string;
36
- scope: "global" | "session" | "workspace";
37
- description: string;
38
- availability?: string | undefined;
39
- service: string;
40
- member: string;
41
- direction: "client-to-server" | "server-to-client";
42
- kind: "channel" | "method" | "state";
43
- input: boolean | object;
44
- output?: boolean | object | undefined;
45
- errors?: boolean | object | undefined;
46
- }[];
47
- dynamic: string[];
48
- gaps?: string[] | undefined;
49
- };
50
- //#endregion
51
- export { apiContracts as default };
52
- //# sourceMappingURL=api-contracts.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-contracts.d.mts","names":[],"sources":["../src/exports/apiContracts.ts"],"mappings":";qBAEa"}
@@ -1,7 +0,0 @@
1
- import { builtinApiContract } from "@agimon-ai/doompi-core/api-contracts";
2
- //#region src/exports/apiContracts.ts
3
- const apiContracts = builtinApiContract;
4
- //#endregion
5
- export { apiContracts, apiContracts as default };
6
-
7
- //# sourceMappingURL=api-contracts.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-contracts.mjs","names":[],"sources":["../src/exports/apiContracts.ts"],"sourcesContent":["import { builtinApiContract } from '@agimon-ai/doompi-core/api-contracts';\n\nexport const apiContracts = builtinApiContract;\nexport default apiContracts;\n"],"mappings":";;AAEA,MAAa,eAAe"}
@@ -1,3 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_baseCommand = require("./cli/commands/baseCommand.cjs");
3
- exports.BaseCommand = require_baseCommand.BaseCommand;
@@ -1,2 +0,0 @@
1
- import { BaseCommand } from "./cli/commands/baseCommand.cjs";
2
- export { BaseCommand };
@@ -1,2 +0,0 @@
1
- import { BaseCommand } from "./cli/commands/baseCommand.mjs";
2
- export { BaseCommand };
@@ -1,2 +0,0 @@
1
- import { BaseCommand } from "./cli/commands/baseCommand.mjs";
2
- export { BaseCommand };
package/dist/bin/cli.cjs DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env node
2
- const require_help = require("../cli/help.cjs");
3
- const require_router = require("../cli/router.cjs");
4
- //#region src/bin/cli.ts
5
- /**
6
- * CLI Entry Point for doom-pi
7
- *
8
- * The executable installed as the `doom-pi` binary, and the file the repository
9
- * launchers (pi.sh, claude.sh, codex.sh) invoke directly from source.
10
- */
11
- const args = process.argv.slice(2);
12
- const informational = require_router.routeCommand(args) !== void 0 ? void 0 : require_router.informationalRequest(args);
13
- const informationalExit = informational === "help" ? (() => {
14
- require_help.printHelp();
15
- return 0;
16
- })() : informational === "version" ? (() => {
17
- process.stdout.write(`${require_help.HARNESS_VERSION}\n`);
18
- return 0;
19
- })() : void 0;
20
- (informationalExit === void 0 ? Promise.resolve().then(() => require("../cli/cliApp.cjs")).then(({ runCli }) => runCli(args)) : Promise.resolve(informationalExit)).then((exitCode) => {
21
- process.exitCode = exitCode;
22
- }, (error) => {
23
- const message = error instanceof Error ? error.message : String(error);
24
- process.stderr.write(`[doompi] ${message}\n`);
25
- process.exitCode = 1;
26
- });
27
- //#endregion
28
-
29
- //# sourceMappingURL=cli.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli.cjs","names":["routeCommand","informationalRequest","HARNESS_VERSION"],"sources":["../../src/bin/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for doom-pi\n *\n * The executable installed as the `doom-pi` binary, and the file the repository\n * launchers (pi.sh, claude.sh, codex.sh) invoke directly from source.\n */\n\nimport { HARNESS_VERSION, printHelp } from '../cli/help';\nimport { informationalRequest, routeCommand } from '../cli/router';\n\nconst args = process.argv.slice(2);\n// A named subcommand parses its own arguments, including its own --help, so the\n// fast path below must not answer for it.\nconst ownsArguments = routeCommand(args) !== undefined;\n\n// Keep informational startup independent from telemetry, configuration, Pi,\n// and the extension compiler. Those graphs are useful for a real command but\n// used to account for almost all of `doompi --help` and `doompi --version`.\nconst informational = ownsArguments ? undefined : informationalRequest(args);\nconst informationalExit =\n informational === 'help'\n ? (() => {\n printHelp();\n return 0;\n })()\n : informational === 'version'\n ? (() => {\n process.stdout.write(`${HARNESS_VERSION}\\n`);\n return 0;\n })()\n : undefined;\n\nconst run =\n informationalExit === undefined\n ? import('../cli/cliApp').then(({ runCli }) => runCli(args))\n : Promise.resolve(informationalExit);\n\nrun.then(\n (exitCode) => {\n process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[doompi] ${message}\\n`);\n process.exitCode = 1;\n },\n);\n"],"mappings":";;;;;;;;;;AAYA,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC;AAQjC,MAAM,gBALgBA,eAAAA,aAAa,IAAI,MAAM,KAAA,IAKP,KAAA,IAAYC,eAAAA,qBAAqB,IAAI;AAC3E,MAAM,oBACJ,kBAAkB,gBACP;CACL,aAAA,UAAU;CACV,OAAO;AACT,EAAA,CAAG,IACH,kBAAkB,mBACT;CACL,QAAQ,OAAO,MAAM,GAAGC,aAAAA,gBAAgB,GAAG;CAC3C,OAAO;AACT,EAAA,CAAG,IACH,KAAA;CAGN,sBAAsB,KAAA,IAAA,QAAA,QAAA,CAAA,CAAA,WAAA,QAClB,mBAAA,CAAA,CAAA,CAAwB,MAAM,EAAE,aAAa,OAAO,IAAI,CAAC,IACzD,QAAQ,QAAQ,iBAAiB,EAAA,CAEnC,MACD,aAAa;CACZ,QAAQ,WAAW;AACrB,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,YAAY,QAAQ,GAAG;CAC5C,QAAQ,WAAW;AACrB,CACF"}
@@ -1 +0,0 @@
1
- export {}
@@ -1 +0,0 @@
1
- export {}
package/dist/bin/cli.mjs DELETED
@@ -1,30 +0,0 @@
1
- #!/usr/bin/env node
2
- import { HARNESS_VERSION, printHelp } from "../cli/help.mjs";
3
- import { informationalRequest, routeCommand } from "../cli/router.mjs";
4
- //#region src/bin/cli.ts
5
- /**
6
- * CLI Entry Point for doom-pi
7
- *
8
- * The executable installed as the `doom-pi` binary, and the file the repository
9
- * launchers (pi.sh, claude.sh, codex.sh) invoke directly from source.
10
- */
11
- const args = process.argv.slice(2);
12
- const informational = routeCommand(args) !== void 0 ? void 0 : informationalRequest(args);
13
- const informationalExit = informational === "help" ? (() => {
14
- printHelp();
15
- return 0;
16
- })() : informational === "version" ? (() => {
17
- process.stdout.write(`${HARNESS_VERSION}\n`);
18
- return 0;
19
- })() : void 0;
20
- (informationalExit === void 0 ? import("../cli/cliApp.mjs").then(({ runCli }) => runCli(args)) : Promise.resolve(informationalExit)).then((exitCode) => {
21
- process.exitCode = exitCode;
22
- }, (error) => {
23
- const message = error instanceof Error ? error.message : String(error);
24
- process.stderr.write(`[doompi] ${message}\n`);
25
- process.exitCode = 1;
26
- });
27
- //#endregion
28
- export {};
29
-
30
- //# sourceMappingURL=cli.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli.mjs","names":[],"sources":["../../src/bin/cli.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for doom-pi\n *\n * The executable installed as the `doom-pi` binary, and the file the repository\n * launchers (pi.sh, claude.sh, codex.sh) invoke directly from source.\n */\n\nimport { HARNESS_VERSION, printHelp } from '../cli/help';\nimport { informationalRequest, routeCommand } from '../cli/router';\n\nconst args = process.argv.slice(2);\n// A named subcommand parses its own arguments, including its own --help, so the\n// fast path below must not answer for it.\nconst ownsArguments = routeCommand(args) !== undefined;\n\n// Keep informational startup independent from telemetry, configuration, Pi,\n// and the extension compiler. Those graphs are useful for a real command but\n// used to account for almost all of `doompi --help` and `doompi --version`.\nconst informational = ownsArguments ? undefined : informationalRequest(args);\nconst informationalExit =\n informational === 'help'\n ? (() => {\n printHelp();\n return 0;\n })()\n : informational === 'version'\n ? (() => {\n process.stdout.write(`${HARNESS_VERSION}\\n`);\n return 0;\n })()\n : undefined;\n\nconst run =\n informationalExit === undefined\n ? import('../cli/cliApp').then(({ runCli }) => runCli(args))\n : Promise.resolve(informationalExit);\n\nrun.then(\n (exitCode) => {\n process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[doompi] ${message}\\n`);\n process.exitCode = 1;\n },\n);\n"],"mappings":";;;;;;;;;;AAYA,MAAM,OAAO,QAAQ,KAAK,MAAM,CAAC;AAQjC,MAAM,gBALgB,aAAa,IAAI,MAAM,KAAA,IAKP,KAAA,IAAY,qBAAqB,IAAI;AAC3E,MAAM,oBACJ,kBAAkB,gBACP;CACL,UAAU;CACV,OAAO;AACT,EAAA,CAAG,IACH,kBAAkB,mBACT;CACL,QAAQ,OAAO,MAAM,GAAG,gBAAgB,GAAG;CAC3C,OAAO;AACT,EAAA,CAAG,IACH,KAAA;CAGN,sBAAsB,KAAA,IAClB,OAAO,oBAAgB,CAAC,MAAM,EAAE,aAAa,OAAO,IAAI,CAAC,IACzD,QAAQ,QAAQ,iBAAiB,EAAA,CAEnC,MACD,aAAa;CACZ,QAAQ,WAAW;AACrB,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,YAAY,QAAQ,GAAG;CAC5C,QAAQ,WAAW;AACrB,CACF"}
@@ -1,39 +0,0 @@
1
- #!/usr/bin/env node
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_index = require("../composition/repository/index.cjs");
4
- let node_url = require("node:url");
5
- let _agimon_ai_doompi_core_module_resolution = require("@agimon-ai/doompi-core/module-resolution");
6
- //#region src/bin/doomRunner.ts
7
- /**
8
- * CLI Entry Point for doom-runner
9
- *
10
- * The Runner package is selectable, so this compatibility executable resolves
11
- * it from the active repository instead of retaining it in DoomPi's dependency
12
- * closure. The Runner package's own entry only self-invokes when it is argv[1],
13
- * which it is not once this shim imports it by absolute path.
14
- */
15
- const RUNNER_CLI_EXPORT = "@agimon-ai/doompi-runner/bin/cli";
16
- async function main(argv = process.argv.slice(2)) {
17
- let repoRoot;
18
- try {
19
- repoRoot = require_index.findRepositoryRoot(process.cwd());
20
- } catch (error) {
21
- throw new Error("doom-runner must be invoked inside a configured repository.", { cause: error });
22
- }
23
- const entry = (0, _agimon_ai_doompi_core_module_resolution.consumerPackageEntry)(RUNNER_CLI_EXPORT, repoRoot);
24
- if (!entry) throw new Error("Doom Runner is not installed for this repository. Add @agimon-ai/doompi-runner to .doom/modes.yaml and run doompi sync.");
25
- const loaded = await import((0, node_url.pathToFileURL)(entry).href);
26
- if (typeof loaded.main !== "function") throw new Error(`${RUNNER_CLI_EXPORT} does not export a callable main function.`);
27
- return loaded.main(argv);
28
- }
29
- if (process.argv[1] && require("url").pathToFileURL(__filename).href === (0, node_url.pathToFileURL)(process.argv[1]).href) main().then((exitCode) => {
30
- process.exitCode = exitCode;
31
- }, (error) => {
32
- const message = error instanceof Error ? error.message : String(error);
33
- process.stderr.write(`[doom-runner] ${message}\n`);
34
- process.exitCode = 1;
35
- });
36
- //#endregion
37
- exports.main = main;
38
-
39
- //# sourceMappingURL=doomRunner.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"doomRunner.cjs","names":["findRepositoryRoot","consumerPackageEntry","pathToFileURL"],"sources":["../../src/bin/doomRunner.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for doom-runner\n *\n * The Runner package is selectable, so this compatibility executable resolves\n * it from the active repository instead of retaining it in DoomPi's dependency\n * closure. The Runner package's own entry only self-invokes when it is argv[1],\n * which it is not once this shim imports it by absolute path.\n */\n\nimport { pathToFileURL } from 'node:url';\n\nimport { consumerPackageEntry } from '@agimon-ai/doompi-core/module-resolution';\n\nimport { findRepositoryRoot } from '../composition/repository';\n\nconst RUNNER_CLI_EXPORT = '@agimon-ai/doompi-runner/bin/cli';\n\ninterface RunnerCliModule {\n readonly main?: unknown;\n}\n\nexport async function main(argv: readonly string[] = process.argv.slice(2)): Promise<number> {\n let repoRoot: string;\n try {\n repoRoot = findRepositoryRoot(process.cwd());\n } catch (error) {\n throw new Error('doom-runner must be invoked inside a configured repository.', { cause: error });\n }\n const entry = consumerPackageEntry(RUNNER_CLI_EXPORT, repoRoot);\n if (!entry) {\n throw new Error(\n 'Doom Runner is not installed for this repository. Add @agimon-ai/doompi-runner to .doom/modes.yaml and run doompi sync.',\n );\n }\n const loaded = (await import(pathToFileURL(entry).href)) as RunnerCliModule;\n if (typeof loaded.main !== 'function') {\n throw new Error(`${RUNNER_CLI_EXPORT} does not export a callable main function.`);\n }\n return (loaded.main as (args: readonly string[]) => Promise<number>)(argv);\n}\n\nif (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {\n main().then(\n (exitCode) => {\n process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[doom-runner] ${message}\\n`);\n process.exitCode = 1;\n },\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AAiBA,MAAM,oBAAoB;AAM1B,eAAsB,KAAK,OAA0B,QAAQ,KAAK,MAAM,CAAC,GAAoB;CAC3F,IAAI;CACJ,IAAI;EACF,WAAWA,cAAAA,mBAAmB,QAAQ,IAAI,CAAC;CAC7C,SAAS,OAAO;EACd,MAAM,IAAI,MAAM,+DAA+D,EAAE,OAAO,MAAM,CAAC;CACjG;CACA,MAAM,SAAA,GAAQC,yCAAAA,qBAAAA,CAAqB,mBAAmB,QAAQ;CAC9D,IAAI,CAAC,OACH,MAAM,IAAI,MACR,yHACF;CAEF,MAAM,SAAU,MAAM,QAAA,GAAOC,SAAAA,cAAAA,CAAc,KAAK,CAAC,CAAC;CAClD,IAAI,OAAO,OAAO,SAAS,YACzB,MAAM,IAAI,MAAM,GAAG,kBAAkB,2CAA2C;CAElF,OAAQ,OAAO,KAAsD,IAAI;AAC3E;AAEA,IAAI,QAAQ,KAAK,MAAA,QAAA,KAAA,CAAA,CAAA,cAAA,UAAA,CAAA,CAAA,UAAA,GAA0BA,SAAAA,cAAAA,CAAc,QAAQ,KAAK,EAAE,CAAC,CAAC,MACxE,KAAK,CAAC,CAAC,MACJ,aAAa;CACZ,QAAQ,WAAW;AACrB,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,iBAAiB,QAAQ,GAAG;CACjD,QAAQ,WAAW;AACrB,CACF"}
@@ -1,12 +0,0 @@
1
- //#region src/bin/doomRunner.d.ts
2
- /**
3
- * CLI Entry Point for doom-runner
4
- *
5
- * The Runner package is selectable, so this compatibility executable resolves
6
- * it from the active repository instead of retaining it in DoomPi's dependency
7
- * closure. The Runner package's own entry only self-invokes when it is argv[1],
8
- * which it is not once this shim imports it by absolute path.
9
- */
10
- export declare function main(argv?: readonly string[]): Promise<number>;
11
- //#endregion
12
- //# sourceMappingURL=doomRunner.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"doomRunner.d.cts","names":[],"sources":["../../src/bin/doomRunner.ts"],"mappings":";;;;;;;;;wBAuBsB,KAAK,2BAAkD"}
@@ -1,12 +0,0 @@
1
- //#region src/bin/doomRunner.d.ts
2
- /**
3
- * CLI Entry Point for doom-runner
4
- *
5
- * The Runner package is selectable, so this compatibility executable resolves
6
- * it from the active repository instead of retaining it in DoomPi's dependency
7
- * closure. The Runner package's own entry only self-invokes when it is argv[1],
8
- * which it is not once this shim imports it by absolute path.
9
- */
10
- export declare function main(argv?: readonly string[]): Promise<number>;
11
- //#endregion
12
- //# sourceMappingURL=doomRunner.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"doomRunner.d.mts","names":[],"sources":["../../src/bin/doomRunner.ts"],"mappings":";;;;;;;;;wBAuBsB,KAAK,2BAAkD"}
@@ -1,38 +0,0 @@
1
- #!/usr/bin/env node
2
- import { findRepositoryRoot } from "../composition/repository/index.mjs";
3
- import { pathToFileURL } from "node:url";
4
- import { consumerPackageEntry } from "@agimon-ai/doompi-core/module-resolution";
5
- //#region src/bin/doomRunner.ts
6
- /**
7
- * CLI Entry Point for doom-runner
8
- *
9
- * The Runner package is selectable, so this compatibility executable resolves
10
- * it from the active repository instead of retaining it in DoomPi's dependency
11
- * closure. The Runner package's own entry only self-invokes when it is argv[1],
12
- * which it is not once this shim imports it by absolute path.
13
- */
14
- const RUNNER_CLI_EXPORT = "@agimon-ai/doompi-runner/bin/cli";
15
- async function main(argv = process.argv.slice(2)) {
16
- let repoRoot;
17
- try {
18
- repoRoot = findRepositoryRoot(process.cwd());
19
- } catch (error) {
20
- throw new Error("doom-runner must be invoked inside a configured repository.", { cause: error });
21
- }
22
- const entry = consumerPackageEntry(RUNNER_CLI_EXPORT, repoRoot);
23
- if (!entry) throw new Error("Doom Runner is not installed for this repository. Add @agimon-ai/doompi-runner to .doom/modes.yaml and run doompi sync.");
24
- const loaded = await import(pathToFileURL(entry).href);
25
- if (typeof loaded.main !== "function") throw new Error(`${RUNNER_CLI_EXPORT} does not export a callable main function.`);
26
- return loaded.main(argv);
27
- }
28
- if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) main().then((exitCode) => {
29
- process.exitCode = exitCode;
30
- }, (error) => {
31
- const message = error instanceof Error ? error.message : String(error);
32
- process.stderr.write(`[doom-runner] ${message}\n`);
33
- process.exitCode = 1;
34
- });
35
- //#endregion
36
- export { main };
37
-
38
- //# sourceMappingURL=doomRunner.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"doomRunner.mjs","names":[],"sources":["../../src/bin/doomRunner.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * CLI Entry Point for doom-runner\n *\n * The Runner package is selectable, so this compatibility executable resolves\n * it from the active repository instead of retaining it in DoomPi's dependency\n * closure. The Runner package's own entry only self-invokes when it is argv[1],\n * which it is not once this shim imports it by absolute path.\n */\n\nimport { pathToFileURL } from 'node:url';\n\nimport { consumerPackageEntry } from '@agimon-ai/doompi-core/module-resolution';\n\nimport { findRepositoryRoot } from '../composition/repository';\n\nconst RUNNER_CLI_EXPORT = '@agimon-ai/doompi-runner/bin/cli';\n\ninterface RunnerCliModule {\n readonly main?: unknown;\n}\n\nexport async function main(argv: readonly string[] = process.argv.slice(2)): Promise<number> {\n let repoRoot: string;\n try {\n repoRoot = findRepositoryRoot(process.cwd());\n } catch (error) {\n throw new Error('doom-runner must be invoked inside a configured repository.', { cause: error });\n }\n const entry = consumerPackageEntry(RUNNER_CLI_EXPORT, repoRoot);\n if (!entry) {\n throw new Error(\n 'Doom Runner is not installed for this repository. Add @agimon-ai/doompi-runner to .doom/modes.yaml and run doompi sync.',\n );\n }\n const loaded = (await import(pathToFileURL(entry).href)) as RunnerCliModule;\n if (typeof loaded.main !== 'function') {\n throw new Error(`${RUNNER_CLI_EXPORT} does not export a callable main function.`);\n }\n return (loaded.main as (args: readonly string[]) => Promise<number>)(argv);\n}\n\nif (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {\n main().then(\n (exitCode) => {\n process.exitCode = exitCode;\n },\n (error: unknown) => {\n const message = error instanceof Error ? error.message : String(error);\n process.stderr.write(`[doom-runner] ${message}\\n`);\n process.exitCode = 1;\n },\n );\n}\n"],"mappings":";;;;;;;;;;;;;AAiBA,MAAM,oBAAoB;AAM1B,eAAsB,KAAK,OAA0B,QAAQ,KAAK,MAAM,CAAC,GAAoB;CAC3F,IAAI;CACJ,IAAI;EACF,WAAW,mBAAmB,QAAQ,IAAI,CAAC;CAC7C,SAAS,OAAO;EACd,MAAM,IAAI,MAAM,+DAA+D,EAAE,OAAO,MAAM,CAAC;CACjG;CACA,MAAM,QAAQ,qBAAqB,mBAAmB,QAAQ;CAC9D,IAAI,CAAC,OACH,MAAM,IAAI,MACR,yHACF;CAEF,MAAM,SAAU,MAAM,OAAO,cAAc,KAAK,CAAC,CAAC;CAClD,IAAI,OAAO,OAAO,SAAS,YACzB,MAAM,IAAI,MAAM,GAAG,kBAAkB,2CAA2C;CAElF,OAAQ,OAAO,KAAsD,IAAI;AAC3E;AAEA,IAAI,QAAQ,KAAK,MAAM,YAAY,QAAQ,cAAc,QAAQ,KAAK,EAAE,CAAC,CAAC,MACxE,KAAK,CAAC,CAAC,MACJ,aAAa;CACZ,QAAQ,WAAW;AACrB,IACC,UAAmB;CAClB,MAAM,UAAU,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CACrE,QAAQ,OAAO,MAAM,iBAAiB,QAAQ,GAAG;CACjD,QAAQ,WAAW;AACrB,CACF"}
package/dist/bin/dpi.cjs DELETED
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env node
2
- //#region src/bin/dpi.ts
3
- require("../cli/dpi.cjs").runDpi(process.argv.slice(2)).then((exitCode) => {
4
- process.exitCode = exitCode;
5
- }, (error) => {
6
- const message = error instanceof Error ? error.message : String(error);
7
- process.stderr.write(`[dpi] ${message}\n`);
8
- process.exitCode = 1;
9
- });
10
- //#endregion
11
-
12
- //# sourceMappingURL=dpi.cjs.map