@agimon-ai/doompi 0.0.1-alpha.8 → 0.0.1-alpha.81

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 (1288) hide show
  1. package/README.md +669 -462
  2. package/assets/banner.png +0 -0
  3. package/assets/doompi-tui.png +0 -0
  4. package/assets/favicon.svg +16 -0
  5. package/assets/logo-light.png +0 -0
  6. package/assets/logo.png +0 -0
  7. package/assets/mascot-red.png +0 -0
  8. package/assets/mascot-red.svg +6 -0
  9. package/assets/mascot.png +0 -0
  10. package/assets/mascot.svg +6 -0
  11. package/dist/_virtual/_rolldown/runtime.cjs +23 -1
  12. package/dist/antigravity.cjs +5 -0
  13. package/dist/antigravity.d.cts +2 -0
  14. package/dist/antigravity.d.mts +2 -0
  15. package/dist/antigravity.mjs +2 -0
  16. package/dist/api-contracts.cjs +11 -0
  17. package/dist/api-contracts.cjs.map +1 -0
  18. package/dist/api-contracts.d.cts +52 -0
  19. package/dist/api-contracts.d.cts.map +1 -0
  20. package/dist/api-contracts.d.mts +52 -0
  21. package/dist/api-contracts.d.mts.map +1 -0
  22. package/dist/api-contracts.mjs +7 -0
  23. package/dist/api-contracts.mjs.map +1 -0
  24. package/dist/base-command.cjs +3 -0
  25. package/dist/base-command.d.cts +2 -0
  26. package/dist/base-command.d.mts +2 -0
  27. package/dist/base-command.mjs +2 -0
  28. package/dist/bin/cli.cjs +27 -1
  29. package/dist/bin/cli.cjs.map +1 -1
  30. package/dist/bin/cli.d.cts +1 -1
  31. package/dist/bin/cli.d.mts +1 -1
  32. package/dist/bin/cli.mjs +28 -1
  33. package/dist/bin/cli.mjs.map +1 -1
  34. package/dist/bin/doomRunner.cjs +37 -1
  35. package/dist/bin/doomRunner.cjs.map +1 -1
  36. package/dist/bin/doomRunner.d.cts +12 -1
  37. package/dist/bin/doomRunner.d.cts.map +1 -0
  38. package/dist/bin/doomRunner.d.mts +12 -1
  39. package/dist/bin/doomRunner.d.mts.map +1 -0
  40. package/dist/bin/doomRunner.mjs +36 -1
  41. package/dist/bin/doomRunner.mjs.map +1 -1
  42. package/dist/bin/dpi.cjs +12 -0
  43. package/dist/bin/dpi.cjs.map +1 -0
  44. package/dist/bin/dpi.d.cts +1 -0
  45. package/dist/bin/dpi.d.mts +1 -0
  46. package/dist/bin/dpi.mjs +14 -0
  47. package/dist/bin/dpi.mjs.map +1 -0
  48. package/dist/bin/serve.cjs +11 -0
  49. package/dist/bin/serve.cjs.map +1 -0
  50. package/dist/bin/serve.d.cts +1 -0
  51. package/dist/bin/serve.d.mts +1 -0
  52. package/dist/bin/serve.mjs +13 -0
  53. package/dist/bin/serve.mjs.map +1 -0
  54. package/dist/builders/apiContractExport/index.cjs +81 -0
  55. package/dist/builders/apiContractExport/index.cjs.map +1 -0
  56. package/dist/builders/apiContractExport/index.mjs +77 -0
  57. package/dist/builders/apiContractExport/index.mjs.map +1 -0
  58. package/dist/builders/apiContracts/index.cjs +87 -0
  59. package/dist/builders/apiContracts/index.cjs.map +1 -0
  60. package/dist/builders/apiContracts/index.mjs +82 -0
  61. package/dist/builders/apiContracts/index.mjs.map +1 -0
  62. package/dist/builders/cli/bootstrapClaim.cjs +53 -0
  63. package/dist/builders/cli/bootstrapClaim.cjs.map +1 -0
  64. package/dist/builders/cli/bootstrapClaim.mjs +51 -0
  65. package/dist/builders/cli/bootstrapClaim.mjs.map +1 -0
  66. package/dist/builders/cli/bootstrapLocator/index.cjs +204 -0
  67. package/dist/builders/cli/bootstrapLocator/index.cjs.map +1 -0
  68. package/dist/builders/cli/bootstrapLocator/index.d.cts +5 -0
  69. package/dist/builders/cli/bootstrapLocator/index.d.cts.map +1 -0
  70. package/dist/builders/cli/bootstrapLocator/index.d.mts +5 -0
  71. package/dist/builders/cli/bootstrapLocator/index.d.mts.map +1 -0
  72. package/dist/builders/cli/bootstrapLocator/index.mjs +196 -0
  73. package/dist/builders/cli/bootstrapLocator/index.mjs.map +1 -0
  74. package/dist/builders/cli/composition.cjs +378 -0
  75. package/dist/builders/cli/composition.cjs.map +1 -0
  76. package/dist/builders/cli/composition.d.cts +119 -0
  77. package/dist/builders/cli/composition.d.cts.map +1 -0
  78. package/dist/builders/cli/composition.d.mts +119 -0
  79. package/dist/builders/cli/composition.d.mts.map +1 -0
  80. package/dist/builders/cli/composition.mjs +351 -0
  81. package/dist/builders/cli/composition.mjs.map +1 -0
  82. package/dist/builders/cli/compositionState.cjs +33 -0
  83. package/dist/builders/cli/compositionState.cjs.map +1 -0
  84. package/dist/builders/cli/compositionState.d.cts +9 -0
  85. package/dist/builders/cli/compositionState.d.cts.map +1 -0
  86. package/dist/builders/cli/compositionState.d.mts +9 -0
  87. package/dist/builders/cli/compositionState.d.mts.map +1 -0
  88. package/dist/builders/cli/compositionState.mjs +30 -0
  89. package/dist/builders/cli/compositionState.mjs.map +1 -0
  90. package/dist/builders/cli/constants.cjs +20 -0
  91. package/dist/builders/cli/constants.cjs.map +1 -0
  92. package/dist/builders/cli/constants.d.cts +17 -0
  93. package/dist/builders/cli/constants.d.cts.map +1 -0
  94. package/dist/builders/cli/constants.d.mts +17 -0
  95. package/dist/builders/cli/constants.d.mts.map +1 -0
  96. package/dist/builders/cli/constants.mjs +19 -0
  97. package/dist/builders/cli/constants.mjs.map +1 -0
  98. package/dist/builders/cli/contextCatalog.cjs +130 -0
  99. package/dist/builders/cli/contextCatalog.cjs.map +1 -0
  100. package/dist/builders/cli/contextCatalog.mjs +130 -0
  101. package/dist/builders/cli/contextCatalog.mjs.map +1 -0
  102. package/dist/builders/cli/dpiSettings.cjs +118 -0
  103. package/dist/builders/cli/dpiSettings.cjs.map +1 -0
  104. package/dist/builders/cli/dpiSettings.mjs +111 -0
  105. package/dist/builders/cli/dpiSettings.mjs.map +1 -0
  106. package/dist/builders/cli/entryResolution.cjs +23 -0
  107. package/dist/builders/cli/entryResolution.cjs.map +1 -0
  108. package/dist/builders/cli/entryResolution.d.cts +5 -0
  109. package/dist/builders/cli/entryResolution.d.cts.map +1 -0
  110. package/dist/builders/cli/entryResolution.d.mts +5 -0
  111. package/dist/builders/cli/entryResolution.d.mts.map +1 -0
  112. package/dist/builders/cli/entryResolution.mjs +20 -0
  113. package/dist/builders/cli/entryResolution.mjs.map +1 -0
  114. package/dist/builders/cli/extensionAssembler/index.cjs +390 -0
  115. package/dist/builders/cli/extensionAssembler/index.cjs.map +1 -0
  116. package/dist/builders/cli/extensionAssembler/index.d.cts +113 -0
  117. package/dist/builders/cli/extensionAssembler/index.d.cts.map +1 -0
  118. package/dist/builders/cli/extensionAssembler/index.d.mts +113 -0
  119. package/dist/builders/cli/extensionAssembler/index.d.mts.map +1 -0
  120. package/dist/builders/cli/extensionAssembler/index.mjs +380 -0
  121. package/dist/builders/cli/extensionAssembler/index.mjs.map +1 -0
  122. package/dist/builders/cli/harnessContext.cjs +186 -0
  123. package/dist/builders/cli/harnessContext.cjs.map +1 -0
  124. package/dist/builders/cli/harnessContext.d.cts +51 -0
  125. package/dist/builders/cli/harnessContext.d.cts.map +1 -0
  126. package/dist/builders/cli/harnessContext.d.mts +51 -0
  127. package/dist/builders/cli/harnessContext.d.mts.map +1 -0
  128. package/dist/builders/cli/harnessContext.mjs +179 -0
  129. package/dist/builders/cli/harnessContext.mjs.map +1 -0
  130. package/dist/builders/cli/index.cjs +151 -0
  131. package/dist/builders/cli/index.cjs.map +1 -0
  132. package/dist/builders/cli/index.d.cts +22 -0
  133. package/dist/builders/cli/index.d.cts.map +1 -0
  134. package/dist/builders/cli/index.d.mts +22 -0
  135. package/dist/builders/cli/index.d.mts.map +1 -0
  136. package/dist/builders/cli/index.mjs +147 -0
  137. package/dist/builders/cli/index.mjs.map +1 -0
  138. package/dist/builders/cli/launchPlan/index.cjs +102 -0
  139. package/dist/builders/cli/launchPlan/index.cjs.map +1 -0
  140. package/dist/builders/cli/launchPlan/index.d.cts +43 -0
  141. package/dist/builders/cli/launchPlan/index.d.cts.map +1 -0
  142. package/dist/builders/cli/launchPlan/index.d.mts +43 -0
  143. package/dist/builders/cli/launchPlan/index.d.mts.map +1 -0
  144. package/dist/builders/cli/launchPlan/index.mjs +100 -0
  145. package/dist/builders/cli/launchPlan/index.mjs.map +1 -0
  146. package/dist/builders/cli/launcherComposition/index.cjs +84 -0
  147. package/dist/builders/cli/launcherComposition/index.cjs.map +1 -0
  148. package/dist/builders/cli/launcherComposition/index.mjs +80 -0
  149. package/dist/builders/cli/launcherComposition/index.mjs.map +1 -0
  150. package/dist/builders/cli/piExtensionAlias/index.cjs +40 -0
  151. package/dist/builders/cli/piExtensionAlias/index.cjs.map +1 -0
  152. package/dist/builders/cli/piExtensionAlias/index.mjs +35 -0
  153. package/dist/builders/cli/piExtensionAlias/index.mjs.map +1 -0
  154. package/dist/builders/cli/piExtensionDispatcher/index.cjs +200 -0
  155. package/dist/builders/cli/piExtensionDispatcher/index.cjs.map +1 -0
  156. package/dist/builders/cli/piExtensionDispatcher/index.mjs +194 -0
  157. package/dist/builders/cli/piExtensionDispatcher/index.mjs.map +1 -0
  158. package/dist/builders/cli/prepare.cjs +64 -0
  159. package/dist/builders/cli/prepare.cjs.map +1 -0
  160. package/dist/builders/cli/prepare.mjs +62 -0
  161. package/dist/builders/cli/prepare.mjs.map +1 -0
  162. package/dist/builders/cli/projectSettings.cjs +155 -0
  163. package/dist/builders/cli/projectSettings.cjs.map +1 -0
  164. package/dist/builders/cli/projectSettings.d.cts +27 -0
  165. package/dist/builders/cli/projectSettings.d.cts.map +1 -0
  166. package/dist/builders/cli/projectSettings.d.mts +27 -0
  167. package/dist/builders/cli/projectSettings.d.mts.map +1 -0
  168. package/dist/builders/cli/projectSettings.mjs +144 -0
  169. package/dist/builders/cli/projectSettings.mjs.map +1 -0
  170. package/dist/builders/cli/runtimeBundle/index.cjs +130 -0
  171. package/dist/builders/cli/runtimeBundle/index.cjs.map +1 -0
  172. package/dist/builders/cli/runtimeBundle/index.d.cts +21 -0
  173. package/dist/builders/cli/runtimeBundle/index.d.cts.map +1 -0
  174. package/dist/builders/cli/runtimeBundle/index.d.mts +21 -0
  175. package/dist/builders/cli/runtimeBundle/index.d.mts.map +1 -0
  176. package/dist/builders/cli/runtimeBundle/index.mjs +126 -0
  177. package/dist/builders/cli/runtimeBundle/index.mjs.map +1 -0
  178. package/dist/builders/server/index.cjs +184 -0
  179. package/dist/builders/server/index.cjs.map +1 -0
  180. package/dist/builders/server/index.mjs +181 -0
  181. package/dist/builders/server/index.mjs.map +1 -0
  182. package/dist/builders/server/mcpBundle.cjs +103 -0
  183. package/dist/builders/server/mcpBundle.cjs.map +1 -0
  184. package/dist/builders/server/mcpBundle.mjs +99 -0
  185. package/dist/builders/server/mcpBundle.mjs.map +1 -0
  186. package/dist/builders/server/runtime.cjs +719 -0
  187. package/dist/builders/server/runtime.cjs.map +1 -0
  188. package/dist/builders/server/runtime.mjs +711 -0
  189. package/dist/builders/server/runtime.mjs.map +1 -0
  190. package/dist/builders/server/selectionStatus.cjs +12 -0
  191. package/dist/builders/server/selectionStatus.cjs.map +1 -0
  192. package/dist/builders/server/selectionStatus.mjs +12 -0
  193. package/dist/builders/server/selectionStatus.mjs.map +1 -0
  194. package/dist/builders/server/sessionArguments.cjs +22 -0
  195. package/dist/builders/server/sessionArguments.cjs.map +1 -0
  196. package/dist/builders/server/sessionArguments.mjs +22 -0
  197. package/dist/builders/server/sessionArguments.mjs.map +1 -0
  198. package/dist/builders/web/bundle.cjs +110 -0
  199. package/dist/builders/web/bundle.cjs.map +1 -0
  200. package/dist/builders/web/bundle.d.cts +29 -0
  201. package/dist/builders/web/bundle.d.cts.map +1 -0
  202. package/dist/builders/web/bundle.d.mts +29 -0
  203. package/dist/builders/web/bundle.d.mts.map +1 -0
  204. package/dist/builders/web/bundle.mjs +107 -0
  205. package/dist/builders/web/bundle.mjs.map +1 -0
  206. package/dist/builders/web/bundleAssetPolicy.cjs +96 -0
  207. package/dist/builders/web/bundleAssetPolicy.cjs.map +1 -0
  208. package/dist/builders/web/bundleAssetPolicy.d.cts +22 -0
  209. package/dist/builders/web/bundleAssetPolicy.d.cts.map +1 -0
  210. package/dist/builders/web/bundleAssetPolicy.d.mts +22 -0
  211. package/dist/builders/web/bundleAssetPolicy.d.mts.map +1 -0
  212. package/dist/builders/web/bundleAssetPolicy.mjs +95 -0
  213. package/dist/builders/web/bundleAssetPolicy.mjs.map +1 -0
  214. package/dist/builders/web/index.cjs +75 -0
  215. package/dist/builders/web/index.cjs.map +1 -0
  216. package/dist/builders/web/index.d.cts +29 -0
  217. package/dist/builders/web/index.d.cts.map +1 -0
  218. package/dist/builders/web/index.d.mts +29 -0
  219. package/dist/builders/web/index.d.mts.map +1 -0
  220. package/dist/builders/web/index.mjs +72 -0
  221. package/dist/builders/web/index.mjs.map +1 -0
  222. package/dist/builders/web/webDevRoots.cjs +27 -0
  223. package/dist/builders/web/webDevRoots.cjs.map +1 -0
  224. package/dist/builders/web/webDevRoots.d.cts +22 -0
  225. package/dist/builders/web/webDevRoots.d.cts.map +1 -0
  226. package/dist/builders/web/webDevRoots.d.mts +22 -0
  227. package/dist/builders/web/webDevRoots.d.mts.map +1 -0
  228. package/dist/builders/web/webDevRoots.mjs +25 -0
  229. package/dist/builders/web/webDevRoots.mjs.map +1 -0
  230. package/dist/builders/web/webPluginGenerate.cjs +113 -0
  231. package/dist/builders/web/webPluginGenerate.cjs.map +1 -0
  232. package/dist/builders/web/webPluginGenerate.d.cts +28 -0
  233. package/dist/builders/web/webPluginGenerate.d.cts.map +1 -0
  234. package/dist/builders/web/webPluginGenerate.d.mts +28 -0
  235. package/dist/builders/web/webPluginGenerate.d.mts.map +1 -0
  236. package/dist/builders/web/webPluginGenerate.mjs +106 -0
  237. package/dist/builders/web/webPluginGenerate.mjs.map +1 -0
  238. package/dist/builders/web/webPluginManifest.cjs +92 -0
  239. package/dist/builders/web/webPluginManifest.cjs.map +1 -0
  240. package/dist/builders/web/webPluginManifest.d.cts +44 -0
  241. package/dist/builders/web/webPluginManifest.d.cts.map +1 -0
  242. package/dist/builders/web/webPluginManifest.d.mts +44 -0
  243. package/dist/builders/web/webPluginManifest.d.mts.map +1 -0
  244. package/dist/builders/web/webPluginManifest.mjs +88 -0
  245. package/dist/builders/web/webPluginManifest.mjs.map +1 -0
  246. package/dist/builders/web/webPluginScan.cjs +53 -0
  247. package/dist/builders/web/webPluginScan.cjs.map +1 -0
  248. package/dist/builders/web/webPluginScan.d.cts +16 -0
  249. package/dist/builders/web/webPluginScan.d.cts.map +1 -0
  250. package/dist/builders/web/webPluginScan.d.mts +16 -0
  251. package/dist/builders/web/webPluginScan.d.mts.map +1 -0
  252. package/dist/builders/web/webPluginScan.mjs +50 -0
  253. package/dist/builders/web/webPluginScan.mjs.map +1 -0
  254. package/dist/builders/web/webPluginVite.cjs +124 -0
  255. package/dist/builders/web/webPluginVite.cjs.map +1 -0
  256. package/dist/builders/web/webPluginVite.d.cts +36 -0
  257. package/dist/builders/web/webPluginVite.d.cts.map +1 -0
  258. package/dist/builders/web/webPluginVite.d.mts +36 -0
  259. package/dist/builders/web/webPluginVite.d.mts.map +1 -0
  260. package/dist/builders/web/webPluginVite.mjs +116 -0
  261. package/dist/builders/web/webPluginVite.mjs.map +1 -0
  262. package/dist/builders/web.cjs +33 -0
  263. package/dist/builders/web.d.cts +9 -0
  264. package/dist/builders/web.d.mts +9 -0
  265. package/dist/builders/web.mjs +9 -0
  266. package/dist/cli/cliApp.cjs +176 -1
  267. package/dist/cli/cliApp.cjs.map +1 -1
  268. package/dist/cli/cliApp.d.cts +8 -28
  269. package/dist/cli/cliApp.d.cts.map +1 -1
  270. package/dist/cli/cliApp.d.mts +8 -28
  271. package/dist/cli/cliApp.d.mts.map +1 -1
  272. package/dist/cli/cliApp.mjs +174 -1
  273. package/dist/cli/cliApp.mjs.map +1 -1
  274. package/dist/cli/commands/api-export/index.cjs +65 -0
  275. package/dist/cli/commands/api-export/index.cjs.map +1 -0
  276. package/dist/cli/commands/api-export/index.mjs +61 -0
  277. package/dist/cli/commands/api-export/index.mjs.map +1 -0
  278. package/dist/cli/commands/baseCommand.cjs +16 -0
  279. package/dist/cli/commands/baseCommand.cjs.map +1 -0
  280. package/dist/cli/commands/baseCommand.d.cts +24 -0
  281. package/dist/cli/commands/baseCommand.d.cts.map +1 -0
  282. package/dist/cli/commands/baseCommand.d.mts +24 -0
  283. package/dist/cli/commands/baseCommand.d.mts.map +1 -0
  284. package/dist/cli/commands/baseCommand.mjs +16 -0
  285. package/dist/cli/commands/baseCommand.mjs.map +1 -0
  286. package/dist/cli/commands/compat/context.cjs +115 -0
  287. package/dist/cli/commands/compat/context.cjs.map +1 -0
  288. package/dist/cli/commands/compat/context.d.cts +22 -0
  289. package/dist/cli/commands/compat/context.d.cts.map +1 -0
  290. package/dist/cli/commands/compat/context.d.mts +22 -0
  291. package/dist/cli/commands/compat/context.d.mts.map +1 -0
  292. package/dist/cli/commands/compat/context.mjs +110 -0
  293. package/dist/cli/commands/compat/context.mjs.map +1 -0
  294. package/dist/cli/commands/compat/help.cjs +26 -0
  295. package/dist/cli/commands/compat/help.cjs.map +1 -0
  296. package/dist/cli/commands/compat/help.d.cts +4 -0
  297. package/dist/cli/commands/compat/help.d.cts.map +1 -0
  298. package/dist/cli/commands/compat/help.d.mts +4 -0
  299. package/dist/cli/commands/compat/help.d.mts.map +1 -0
  300. package/dist/cli/commands/compat/help.mjs +25 -0
  301. package/dist/cli/commands/compat/help.mjs.map +1 -0
  302. package/dist/cli/commands/compat/index.cjs +73 -0
  303. package/dist/cli/commands/compat/index.cjs.map +1 -0
  304. package/dist/cli/commands/compat/index.d.cts +14 -0
  305. package/dist/cli/commands/compat/index.d.cts.map +1 -0
  306. package/dist/cli/commands/compat/index.d.mts +14 -0
  307. package/dist/cli/commands/compat/index.d.mts.map +1 -0
  308. package/dist/cli/commands/compat/index.mjs +70 -0
  309. package/dist/cli/commands/compat/index.mjs.map +1 -0
  310. package/dist/cli/commands/compat/options.cjs +88 -0
  311. package/dist/cli/commands/compat/options.cjs.map +1 -0
  312. package/dist/cli/commands/compat/options.d.cts +15 -0
  313. package/dist/cli/commands/compat/options.d.cts.map +1 -0
  314. package/dist/cli/commands/compat/options.d.mts +15 -0
  315. package/dist/cli/commands/compat/options.d.mts.map +1 -0
  316. package/dist/cli/commands/compat/options.mjs +86 -0
  317. package/dist/cli/commands/compat/options.mjs.map +1 -0
  318. package/dist/cli/commands/compat/providers/antigravity.cjs +294 -0
  319. package/dist/cli/commands/compat/providers/antigravity.cjs.map +1 -0
  320. package/dist/cli/commands/compat/providers/antigravity.d.cts +9 -0
  321. package/dist/cli/commands/compat/providers/antigravity.d.cts.map +1 -0
  322. package/dist/cli/commands/compat/providers/antigravity.d.mts +9 -0
  323. package/dist/cli/commands/compat/providers/antigravity.d.mts.map +1 -0
  324. package/dist/cli/commands/compat/providers/antigravity.mjs +289 -0
  325. package/dist/cli/commands/compat/providers/antigravity.mjs.map +1 -0
  326. package/dist/cli/commands/compat/providers/codex.cjs +178 -0
  327. package/dist/cli/commands/compat/providers/codex.cjs.map +1 -0
  328. package/dist/cli/commands/compat/providers/codex.d.cts +17 -0
  329. package/dist/cli/commands/compat/providers/codex.d.cts.map +1 -0
  330. package/dist/cli/commands/compat/providers/codex.d.mts +17 -0
  331. package/dist/cli/commands/compat/providers/codex.d.mts.map +1 -0
  332. package/dist/cli/commands/compat/providers/codex.mjs +170 -0
  333. package/dist/cli/commands/compat/providers/codex.mjs.map +1 -0
  334. package/dist/cli/commands/compat/providers/index.cjs +65 -0
  335. package/dist/cli/commands/compat/providers/index.cjs.map +1 -0
  336. package/dist/cli/commands/compat/providers/index.d.cts +15 -0
  337. package/dist/cli/commands/compat/providers/index.d.cts.map +1 -0
  338. package/dist/cli/commands/compat/providers/index.d.mts +15 -0
  339. package/dist/cli/commands/compat/providers/index.d.mts.map +1 -0
  340. package/dist/cli/commands/compat/providers/index.mjs +45 -0
  341. package/dist/cli/commands/compat/providers/index.mjs.map +1 -0
  342. package/dist/cli/commands/compat/providers/process.cjs +172 -0
  343. package/dist/cli/commands/compat/providers/process.cjs.map +1 -0
  344. package/dist/cli/commands/compat/providers/process.d.cts +33 -0
  345. package/dist/cli/commands/compat/providers/process.d.cts.map +1 -0
  346. package/dist/cli/commands/compat/providers/process.d.mts +33 -0
  347. package/dist/cli/commands/compat/providers/process.d.mts.map +1 -0
  348. package/dist/cli/commands/compat/providers/process.mjs +159 -0
  349. package/dist/cli/commands/compat/providers/process.mjs.map +1 -0
  350. package/dist/cli/commands/compat/providers/shared.cjs +76 -0
  351. package/dist/cli/commands/compat/providers/shared.cjs.map +1 -0
  352. package/dist/cli/commands/compat/providers/shared.d.cts +40 -0
  353. package/dist/cli/commands/compat/providers/shared.d.cts.map +1 -0
  354. package/dist/cli/commands/compat/providers/shared.d.mts +40 -0
  355. package/dist/cli/commands/compat/providers/shared.d.mts.map +1 -0
  356. package/dist/cli/commands/compat/providers/shared.mjs +61 -0
  357. package/dist/cli/commands/compat/providers/shared.mjs.map +1 -0
  358. package/dist/cli/commands/compat/types.d.cts +31 -0
  359. package/dist/cli/commands/compat/types.d.cts.map +1 -0
  360. package/dist/cli/commands/compat/types.d.mts +31 -0
  361. package/dist/cli/commands/compat/types.d.mts.map +1 -0
  362. package/dist/cli/commands/doctor/help.cjs +19 -0
  363. package/dist/cli/commands/doctor/help.cjs.map +1 -0
  364. package/dist/cli/commands/doctor/help.d.cts +4 -0
  365. package/dist/cli/commands/doctor/help.d.cts.map +1 -0
  366. package/dist/cli/commands/doctor/help.d.mts +4 -0
  367. package/dist/cli/commands/doctor/help.d.mts.map +1 -0
  368. package/dist/cli/commands/doctor/help.mjs +19 -0
  369. package/dist/cli/commands/doctor/help.mjs.map +1 -0
  370. package/dist/cli/commands/doctor/index.cjs +116 -0
  371. package/dist/cli/commands/doctor/index.cjs.map +1 -0
  372. package/dist/cli/commands/doctor/index.d.cts +12 -0
  373. package/dist/cli/commands/doctor/index.d.cts.map +1 -0
  374. package/dist/cli/commands/doctor/index.d.mts +12 -0
  375. package/dist/cli/commands/doctor/index.d.mts.map +1 -0
  376. package/dist/cli/commands/doctor/index.mjs +112 -0
  377. package/dist/cli/commands/doctor/index.mjs.map +1 -0
  378. package/dist/cli/commands/emit-mcp/index.cjs +32 -0
  379. package/dist/cli/commands/emit-mcp/index.cjs.map +1 -0
  380. package/dist/cli/commands/emit-mcp/index.d.cts +19 -0
  381. package/dist/cli/commands/emit-mcp/index.d.cts.map +1 -0
  382. package/dist/cli/commands/emit-mcp/index.d.mts +19 -0
  383. package/dist/cli/commands/emit-mcp/index.d.mts.map +1 -0
  384. package/dist/cli/commands/emit-mcp/index.mjs +31 -0
  385. package/dist/cli/commands/emit-mcp/index.mjs.map +1 -0
  386. package/dist/cli/commands/explain/index.cjs +155 -0
  387. package/dist/cli/commands/explain/index.cjs.map +1 -0
  388. package/dist/cli/commands/explain/index.d.cts +57 -0
  389. package/dist/cli/commands/explain/index.d.cts.map +1 -0
  390. package/dist/cli/commands/explain/index.d.mts +57 -0
  391. package/dist/cli/commands/explain/index.d.mts.map +1 -0
  392. package/dist/cli/commands/explain/index.mjs +150 -0
  393. package/dist/cli/commands/explain/index.mjs.map +1 -0
  394. package/dist/cli/commands/history-export/help.cjs +18 -0
  395. package/dist/cli/commands/history-export/help.cjs.map +1 -0
  396. package/dist/cli/commands/history-export/help.d.cts +4 -0
  397. package/dist/cli/commands/history-export/help.d.cts.map +1 -0
  398. package/dist/cli/commands/history-export/help.d.mts +4 -0
  399. package/dist/cli/commands/history-export/help.d.mts.map +1 -0
  400. package/dist/cli/commands/history-export/help.mjs +18 -0
  401. package/dist/cli/commands/history-export/help.mjs.map +1 -0
  402. package/dist/cli/commands/history-export/index.cjs +76 -0
  403. package/dist/cli/commands/history-export/index.cjs.map +1 -0
  404. package/dist/cli/commands/history-export/index.mjs +74 -0
  405. package/dist/cli/commands/history-export/index.mjs.map +1 -0
  406. package/dist/cli/commands/history-import/help.cjs +20 -0
  407. package/dist/cli/commands/history-import/help.cjs.map +1 -0
  408. package/dist/cli/commands/history-import/help.d.cts +4 -0
  409. package/dist/cli/commands/history-import/help.d.cts.map +1 -0
  410. package/dist/cli/commands/history-import/help.d.mts +4 -0
  411. package/dist/cli/commands/history-import/help.d.mts.map +1 -0
  412. package/dist/cli/commands/history-import/help.mjs +20 -0
  413. package/dist/cli/commands/history-import/help.mjs.map +1 -0
  414. package/dist/cli/commands/history-import/index.cjs +78 -0
  415. package/dist/cli/commands/history-import/index.cjs.map +1 -0
  416. package/dist/cli/commands/history-import/index.mjs +75 -0
  417. package/dist/cli/commands/history-import/index.mjs.map +1 -0
  418. package/dist/cli/commands/init/constants.cjs +11 -0
  419. package/dist/cli/commands/init/constants.cjs.map +1 -0
  420. package/dist/cli/commands/init/constants.mjs +11 -0
  421. package/dist/cli/commands/init/constants.mjs.map +1 -0
  422. package/dist/cli/commands/init/help.cjs +17 -0
  423. package/dist/cli/commands/init/help.cjs.map +1 -0
  424. package/dist/cli/commands/init/help.d.cts +4 -0
  425. package/dist/cli/commands/init/help.d.cts.map +1 -0
  426. package/dist/cli/commands/init/help.d.mts +4 -0
  427. package/dist/cli/commands/init/help.d.mts.map +1 -0
  428. package/dist/cli/commands/init/help.mjs +17 -0
  429. package/dist/cli/commands/init/help.mjs.map +1 -0
  430. package/dist/cli/commands/init/index.cjs +87 -0
  431. package/dist/cli/commands/init/index.cjs.map +1 -0
  432. package/dist/cli/commands/init/index.d.cts +12 -0
  433. package/dist/cli/commands/init/index.d.cts.map +1 -0
  434. package/dist/cli/commands/init/index.d.mts +12 -0
  435. package/dist/cli/commands/init/index.d.mts.map +1 -0
  436. package/dist/cli/commands/init/index.mjs +83 -0
  437. package/dist/cli/commands/init/index.mjs.map +1 -0
  438. package/dist/cli/commands/init/presenter.cjs +170 -0
  439. package/dist/cli/commands/init/presenter.cjs.map +1 -0
  440. package/dist/cli/commands/init/presenter.d.cts +8 -0
  441. package/dist/cli/commands/init/presenter.d.cts.map +1 -0
  442. package/dist/cli/commands/init/presenter.d.mts +8 -0
  443. package/dist/cli/commands/init/presenter.d.mts.map +1 -0
  444. package/dist/cli/commands/init/presenter.mjs +170 -0
  445. package/dist/cli/commands/init/presenter.mjs.map +1 -0
  446. package/dist/cli/commands/launch/index.cjs +128 -0
  447. package/dist/cli/commands/launch/index.cjs.map +1 -0
  448. package/dist/cli/commands/launch/index.d.cts +29 -0
  449. package/dist/cli/commands/launch/index.d.cts.map +1 -0
  450. package/dist/cli/commands/launch/index.d.mts +29 -0
  451. package/dist/cli/commands/launch/index.d.mts.map +1 -0
  452. package/dist/cli/commands/launch/index.mjs +122 -0
  453. package/dist/cli/commands/launch/index.mjs.map +1 -0
  454. package/dist/cli/commands/sandbox/args.cjs +50 -0
  455. package/dist/cli/commands/sandbox/args.cjs.map +1 -0
  456. package/dist/cli/commands/sandbox/args.mjs +50 -0
  457. package/dist/cli/commands/sandbox/args.mjs.map +1 -0
  458. package/dist/cli/commands/sandbox/harness.cjs +61 -0
  459. package/dist/cli/commands/sandbox/harness.cjs.map +1 -0
  460. package/dist/cli/commands/sandbox/harness.mjs +60 -0
  461. package/dist/cli/commands/sandbox/harness.mjs.map +1 -0
  462. package/dist/cli/commands/sandbox/index.cjs +57 -0
  463. package/dist/cli/commands/sandbox/index.cjs.map +1 -0
  464. package/dist/cli/commands/sandbox/index.mjs +56 -0
  465. package/dist/cli/commands/sandbox/index.mjs.map +1 -0
  466. package/dist/cli/commands/sync/help.cjs +31 -0
  467. package/dist/cli/commands/sync/help.cjs.map +1 -0
  468. package/dist/cli/commands/sync/help.d.cts +4 -0
  469. package/dist/cli/commands/sync/help.d.cts.map +1 -0
  470. package/dist/cli/commands/sync/help.d.mts +4 -0
  471. package/dist/cli/commands/sync/help.d.mts.map +1 -0
  472. package/dist/cli/commands/sync/help.mjs +31 -0
  473. package/dist/cli/commands/sync/help.mjs.map +1 -0
  474. package/dist/cli/commands/sync/index.cjs +611 -0
  475. package/dist/cli/commands/sync/index.cjs.map +1 -0
  476. package/dist/cli/commands/sync/index.d.cts +65 -0
  477. package/dist/cli/commands/sync/index.d.cts.map +1 -0
  478. package/dist/cli/commands/sync/index.d.mts +65 -0
  479. package/dist/cli/commands/sync/index.d.mts.map +1 -0
  480. package/dist/cli/commands/sync/index.mjs +594 -0
  481. package/dist/cli/commands/sync/index.mjs.map +1 -0
  482. package/dist/cli/commands/sync/prepare.cjs +43 -0
  483. package/dist/cli/commands/sync/prepare.cjs.map +1 -0
  484. package/dist/cli/commands/sync/prepare.mjs +40 -0
  485. package/dist/cli/commands/sync/prepare.mjs.map +1 -0
  486. package/dist/cli/commands/sync/presenter.cjs +58 -0
  487. package/dist/cli/commands/sync/presenter.cjs.map +1 -0
  488. package/dist/cli/commands/sync/presenter.d.cts +16 -0
  489. package/dist/cli/commands/sync/presenter.d.cts.map +1 -0
  490. package/dist/cli/commands/sync/presenter.d.mts +16 -0
  491. package/dist/cli/commands/sync/presenter.d.mts.map +1 -0
  492. package/dist/cli/commands/sync/presenter.mjs +57 -0
  493. package/dist/cli/commands/sync/presenter.mjs.map +1 -0
  494. package/dist/cli/commands/sync/workflow.cjs +99 -0
  495. package/dist/cli/commands/sync/workflow.cjs.map +1 -0
  496. package/dist/cli/commands/sync/workflow.mjs +96 -0
  497. package/dist/cli/commands/sync/workflow.mjs.map +1 -0
  498. package/dist/cli/dpi.cjs +98 -0
  499. package/dist/cli/dpi.cjs.map +1 -0
  500. package/dist/cli/dpi.mjs +91 -0
  501. package/dist/cli/dpi.mjs.map +1 -0
  502. package/dist/cli/harnessOptions.cjs +60 -0
  503. package/dist/cli/harnessOptions.cjs.map +1 -0
  504. package/dist/cli/harnessOptions.d.cts +24 -0
  505. package/dist/cli/harnessOptions.d.cts.map +1 -0
  506. package/dist/cli/harnessOptions.d.mts +24 -0
  507. package/dist/cli/harnessOptions.d.mts.map +1 -0
  508. package/dist/cli/harnessOptions.mjs +57 -0
  509. package/dist/cli/harnessOptions.mjs.map +1 -0
  510. package/dist/cli/help.cjs +41 -15
  511. package/dist/cli/help.cjs.map +1 -1
  512. package/dist/cli/help.d.cts +9 -3
  513. package/dist/cli/help.d.cts.map +1 -1
  514. package/dist/cli/help.d.mts +9 -3
  515. package/dist/cli/help.d.mts.map +1 -1
  516. package/dist/cli/help.mjs +35 -15
  517. package/dist/cli/help.mjs.map +1 -1
  518. package/dist/cli/matrixOptions.cjs +177 -1
  519. package/dist/cli/matrixOptions.cjs.map +1 -1
  520. package/dist/cli/matrixOptions.d.cts +27 -36
  521. package/dist/cli/matrixOptions.d.cts.map +1 -1
  522. package/dist/cli/matrixOptions.d.mts +27 -36
  523. package/dist/cli/matrixOptions.d.mts.map +1 -1
  524. package/dist/cli/matrixOptions.mjs +150 -1
  525. package/dist/cli/matrixOptions.mjs.map +1 -1
  526. package/dist/cli/options.cjs +305 -1
  527. package/dist/cli/options.cjs.map +1 -1
  528. package/dist/cli/options.d.cts +2 -4
  529. package/dist/cli/options.d.cts.map +1 -1
  530. package/dist/cli/options.d.mts +2 -4
  531. package/dist/cli/options.d.mts.map +1 -1
  532. package/dist/cli/options.mjs +303 -1
  533. package/dist/cli/options.mjs.map +1 -1
  534. package/dist/cli/router.cjs +59 -0
  535. package/dist/cli/router.cjs.map +1 -0
  536. package/dist/cli/router.d.cts +32 -0
  537. package/dist/cli/router.d.cts.map +1 -0
  538. package/dist/cli/router.d.mts +32 -0
  539. package/dist/cli/router.d.mts.map +1 -0
  540. package/dist/cli/router.mjs +56 -0
  541. package/dist/cli/router.mjs.map +1 -0
  542. package/dist/cli/server/options.cjs +71 -0
  543. package/dist/cli/server/options.cjs.map +1 -0
  544. package/dist/cli/server/options.mjs +70 -0
  545. package/dist/cli/server/options.mjs.map +1 -0
  546. package/dist/cli/server/run.cjs +57 -0
  547. package/dist/cli/server/run.cjs.map +1 -0
  548. package/dist/cli/server/run.mjs +55 -0
  549. package/dist/cli/server/run.mjs.map +1 -0
  550. package/dist/cli-app.cjs +5 -0
  551. package/dist/cli-app.d.cts +2 -0
  552. package/dist/cli-app.d.mts +2 -0
  553. package/dist/cli-app.mjs +2 -0
  554. package/dist/cli.cjs +28 -0
  555. package/dist/cli.d.cts +11 -0
  556. package/dist/cli.d.mts +11 -0
  557. package/dist/cli.mjs +11 -0
  558. package/dist/codex.cjs +8 -0
  559. package/dist/codex.d.cts +2 -0
  560. package/dist/codex.d.mts +2 -0
  561. package/dist/codex.mjs +2 -0
  562. package/dist/commands.cjs +23 -0
  563. package/dist/commands.d.cts +9 -0
  564. package/dist/commands.d.mts +9 -0
  565. package/dist/commands.mjs +9 -0
  566. package/dist/compatibility-command.cjs +4 -0
  567. package/dist/compatibility-command.d.cts +2 -0
  568. package/dist/compatibility-command.d.mts +2 -0
  569. package/dist/compatibility-command.mjs +2 -0
  570. package/dist/compatibility-context.cjs +3 -0
  571. package/dist/compatibility-context.d.cts +2 -0
  572. package/dist/compatibility-context.d.mts +2 -0
  573. package/dist/compatibility-context.mjs +2 -0
  574. package/dist/compatibility-options.cjs +5 -0
  575. package/dist/compatibility-options.d.cts +2 -0
  576. package/dist/compatibility-options.d.mts +2 -0
  577. package/dist/compatibility-options.mjs +2 -0
  578. package/dist/compatibility.cjs +27 -0
  579. package/dist/compatibility.d.cts +6 -0
  580. package/dist/compatibility.d.mts +6 -0
  581. package/dist/compatibility.mjs +6 -0
  582. package/dist/compiler/cache.cjs +331 -0
  583. package/dist/compiler/cache.cjs.map +1 -0
  584. package/dist/compiler/cache.mjs +323 -0
  585. package/dist/compiler/cache.mjs.map +1 -0
  586. package/dist/compiler/index.cjs +996 -0
  587. package/dist/compiler/index.cjs.map +1 -0
  588. package/dist/compiler/index.mjs +988 -0
  589. package/dist/compiler/index.mjs.map +1 -0
  590. package/dist/compiler/inputs.cjs +86 -0
  591. package/dist/compiler/inputs.cjs.map +1 -0
  592. package/dist/compiler/inputs.mjs +81 -0
  593. package/dist/compiler/inputs.mjs.map +1 -0
  594. package/dist/composer.cjs +28 -0
  595. package/dist/composer.d.cts +4 -0
  596. package/dist/composer.d.mts +4 -0
  597. package/dist/composer.mjs +4 -0
  598. package/dist/composition/harnessState/index.cjs +48 -0
  599. package/dist/composition/harnessState/index.cjs.map +1 -0
  600. package/dist/composition/harnessState/index.d.cts +19 -0
  601. package/dist/composition/harnessState/index.d.cts.map +1 -0
  602. package/dist/composition/harnessState/index.d.mts +19 -0
  603. package/dist/composition/harnessState/index.d.mts.map +1 -0
  604. package/dist/composition/harnessState/index.mjs +34 -0
  605. package/dist/composition/harnessState/index.mjs.map +1 -0
  606. package/dist/composition/layerPackageInstaller/index.cjs +342 -0
  607. package/dist/composition/layerPackageInstaller/index.cjs.map +1 -0
  608. package/dist/composition/layerPackageInstaller/index.d.cts +45 -0
  609. package/dist/composition/layerPackageInstaller/index.d.cts.map +1 -0
  610. package/dist/composition/layerPackageInstaller/index.d.mts +45 -0
  611. package/dist/composition/layerPackageInstaller/index.d.mts.map +1 -0
  612. package/dist/composition/layerPackageInstaller/index.mjs +334 -0
  613. package/dist/composition/layerPackageInstaller/index.mjs.map +1 -0
  614. package/dist/composition/projectTrust/index.cjs +51 -0
  615. package/dist/composition/projectTrust/index.cjs.map +1 -0
  616. package/dist/composition/projectTrust/index.d.cts +22 -0
  617. package/dist/composition/projectTrust/index.d.cts.map +1 -0
  618. package/dist/composition/projectTrust/index.d.mts +22 -0
  619. package/dist/composition/projectTrust/index.d.mts.map +1 -0
  620. package/dist/composition/projectTrust/index.mjs +48 -0
  621. package/dist/composition/projectTrust/index.mjs.map +1 -0
  622. package/dist/composition/repository/index.cjs +69 -0
  623. package/dist/composition/repository/index.cjs.map +1 -0
  624. package/dist/composition/repository/index.d.cts +22 -0
  625. package/dist/composition/repository/index.d.cts.map +1 -0
  626. package/dist/composition/repository/index.d.mts +22 -0
  627. package/dist/composition/repository/index.d.mts.map +1 -0
  628. package/dist/composition/repository/index.mjs +64 -0
  629. package/dist/composition/repository/index.mjs.map +1 -0
  630. package/dist/composition/syncDrift/index.cjs +206 -0
  631. package/dist/composition/syncDrift/index.cjs.map +1 -0
  632. package/dist/composition/syncDrift/index.d.cts +41 -0
  633. package/dist/composition/syncDrift/index.d.cts.map +1 -0
  634. package/dist/composition/syncDrift/index.d.mts +41 -0
  635. package/dist/composition/syncDrift/index.d.mts.map +1 -0
  636. package/dist/composition/syncDrift/index.mjs +196 -0
  637. package/dist/composition/syncDrift/index.mjs.map +1 -0
  638. package/dist/composition/syncState/index.cjs +625 -0
  639. package/dist/composition/syncState/index.cjs.map +1 -0
  640. package/dist/composition/syncState/index.d.cts +198 -0
  641. package/dist/composition/syncState/index.d.cts.map +1 -0
  642. package/dist/composition/syncState/index.d.mts +198 -0
  643. package/dist/composition/syncState/index.d.mts.map +1 -0
  644. package/dist/composition/syncState/index.mjs +590 -0
  645. package/dist/composition/syncState/index.mjs.map +1 -0
  646. package/dist/composition/transitionLayers.cjs +17 -0
  647. package/dist/composition/transitionLayers.cjs.map +1 -0
  648. package/dist/composition/transitionLayers.d.cts +6 -0
  649. package/dist/composition/transitionLayers.d.cts.map +1 -0
  650. package/dist/composition/transitionLayers.d.mts +6 -0
  651. package/dist/composition/transitionLayers.d.mts.map +1 -0
  652. package/dist/composition/transitionLayers.mjs +16 -0
  653. package/dist/composition/transitionLayers.mjs.map +1 -0
  654. package/dist/composition/types/harness.d.cts +49 -0
  655. package/dist/composition/types/harness.d.cts.map +1 -0
  656. package/dist/composition/types/harness.d.mts +49 -0
  657. package/dist/composition/types/harness.d.mts.map +1 -0
  658. package/dist/config.cjs +163 -0
  659. package/dist/config.d.cts +7 -0
  660. package/dist/config.d.mts +7 -0
  661. package/dist/config.mjs +7 -0
  662. package/dist/emit-mcp-command.cjs +4 -0
  663. package/dist/emit-mcp-command.d.cts +2 -0
  664. package/dist/emit-mcp-command.d.mts +2 -0
  665. package/dist/emit-mcp-command.mjs +2 -0
  666. package/dist/explain-command.cjs +5 -0
  667. package/dist/explain-command.d.cts +2 -0
  668. package/dist/explain-command.d.mts +2 -0
  669. package/dist/explain-command.mjs +2 -0
  670. package/dist/extensions/agent-model.cjs +41 -0
  671. package/dist/extensions/agent-model.cjs.map +1 -0
  672. package/dist/extensions/agent-model.d.cts +22 -0
  673. package/dist/extensions/agent-model.d.cts.map +1 -0
  674. package/dist/extensions/agent-model.d.mts +22 -0
  675. package/dist/extensions/agent-model.d.mts.map +1 -0
  676. package/dist/extensions/agent-model.mjs +35 -0
  677. package/dist/extensions/agent-model.mjs.map +1 -0
  678. package/dist/extensions/composed-pi.cjs +46 -0
  679. package/dist/extensions/composed-pi.cjs.map +1 -0
  680. package/dist/extensions/composed-pi.d.cts +13 -0
  681. package/dist/extensions/composed-pi.d.cts.map +1 -0
  682. package/dist/extensions/composed-pi.d.mts +13 -0
  683. package/dist/extensions/composed-pi.d.mts.map +1 -0
  684. package/dist/extensions/composed-pi.mjs +41 -0
  685. package/dist/extensions/composed-pi.mjs.map +1 -0
  686. package/dist/extensions/context-catalog.cjs +96 -0
  687. package/dist/extensions/context-catalog.cjs.map +1 -0
  688. package/dist/extensions/context-catalog.d.cts +4 -0
  689. package/dist/extensions/context-catalog.d.cts.map +1 -0
  690. package/dist/extensions/context-catalog.d.mts +5 -0
  691. package/dist/extensions/context-catalog.d.mts.map +1 -0
  692. package/dist/extensions/context-catalog.mjs +96 -0
  693. package/dist/extensions/context-catalog.mjs.map +1 -0
  694. package/dist/extensions/cordis-finalizer.cjs +24 -0
  695. package/dist/extensions/cordis-finalizer.cjs.map +1 -0
  696. package/dist/extensions/cordis-finalizer.d.cts +7 -0
  697. package/dist/extensions/cordis-finalizer.d.cts.map +1 -0
  698. package/dist/extensions/cordis-finalizer.d.mts +7 -0
  699. package/dist/extensions/cordis-finalizer.d.mts.map +1 -0
  700. package/dist/extensions/cordis-finalizer.mjs +19 -0
  701. package/dist/extensions/cordis-finalizer.mjs.map +1 -0
  702. package/dist/extensions/cordis-host.cjs +19 -0
  703. package/dist/extensions/cordis-host.cjs.map +1 -0
  704. package/dist/extensions/cordis-host.d.cts +7 -0
  705. package/dist/extensions/cordis-host.d.cts.map +1 -0
  706. package/dist/extensions/cordis-host.d.mts +7 -0
  707. package/dist/extensions/cordis-host.d.mts.map +1 -0
  708. package/dist/extensions/cordis-host.mjs +14 -0
  709. package/dist/extensions/cordis-host.mjs.map +1 -0
  710. package/dist/extensions/effort.cjs +54 -0
  711. package/dist/extensions/effort.cjs.map +1 -0
  712. package/dist/extensions/effort.d.cts +8 -0
  713. package/dist/extensions/effort.d.cts.map +1 -0
  714. package/dist/extensions/effort.d.mts +8 -0
  715. package/dist/extensions/effort.d.mts.map +1 -0
  716. package/dist/extensions/effort.mjs +48 -0
  717. package/dist/extensions/effort.mjs.map +1 -0
  718. package/dist/extensions/launcher-bootstrap.cjs +38 -0
  719. package/dist/extensions/launcher-bootstrap.cjs.map +1 -0
  720. package/dist/extensions/launcher-bootstrap.d.cts +16 -0
  721. package/dist/extensions/launcher-bootstrap.d.cts.map +1 -0
  722. package/dist/extensions/launcher-bootstrap.d.mts +16 -0
  723. package/dist/extensions/launcher-bootstrap.d.mts.map +1 -0
  724. package/dist/extensions/launcher-bootstrap.mjs +33 -0
  725. package/dist/extensions/launcher-bootstrap.mjs.map +1 -0
  726. package/dist/extensions/ollama-provider.cjs +32 -0
  727. package/dist/extensions/ollama-provider.cjs.map +1 -0
  728. package/dist/extensions/ollama-provider.d.cts +5 -0
  729. package/dist/extensions/ollama-provider.d.cts.map +1 -0
  730. package/dist/extensions/ollama-provider.d.mts +5 -0
  731. package/dist/extensions/ollama-provider.d.mts.map +1 -0
  732. package/dist/extensions/ollama-provider.mjs +32 -0
  733. package/dist/extensions/ollama-provider.mjs.map +1 -0
  734. package/dist/extensions/pi.cjs +63 -0
  735. package/dist/extensions/pi.cjs.map +1 -0
  736. package/dist/extensions/pi.d.cts +7 -0
  737. package/dist/extensions/pi.d.cts.map +1 -0
  738. package/dist/extensions/pi.d.mts +7 -0
  739. package/dist/extensions/pi.d.mts.map +1 -0
  740. package/dist/extensions/pi.mjs +58 -0
  741. package/dist/extensions/pi.mjs.map +1 -0
  742. package/dist/extensions/server.cjs +20 -0
  743. package/dist/extensions/server.cjs.map +1 -0
  744. package/dist/extensions/server.d.cts +5 -0
  745. package/dist/extensions/server.d.cts.map +1 -0
  746. package/dist/extensions/server.d.mts +5 -0
  747. package/dist/extensions/server.d.mts.map +1 -0
  748. package/dist/extensions/server.mjs +15 -0
  749. package/dist/extensions/server.mjs.map +1 -0
  750. package/dist/extensions/style-system.cjs +234 -0
  751. package/dist/extensions/style-system.cjs.map +1 -0
  752. package/dist/extensions/style-system.d.cts +32 -0
  753. package/dist/extensions/style-system.d.cts.map +1 -0
  754. package/dist/extensions/style-system.d.mts +32 -0
  755. package/dist/extensions/style-system.d.mts.map +1 -0
  756. package/dist/extensions/style-system.mjs +219 -0
  757. package/dist/extensions/style-system.mjs.map +1 -0
  758. package/dist/extensions/terminal-child-session.cjs +76 -0
  759. package/dist/extensions/terminal-child-session.cjs.map +1 -0
  760. package/dist/extensions/terminal-child-session.d.cts +7 -0
  761. package/dist/extensions/terminal-child-session.d.cts.map +1 -0
  762. package/dist/extensions/terminal-child-session.d.mts +7 -0
  763. package/dist/extensions/terminal-child-session.d.mts.map +1 -0
  764. package/dist/extensions/terminal-child-session.mjs +69 -0
  765. package/dist/extensions/terminal-child-session.mjs.map +1 -0
  766. package/dist/extensions/transition-coordinator.cjs +154 -0
  767. package/dist/extensions/transition-coordinator.cjs.map +1 -0
  768. package/dist/extensions/transition-coordinator.d.cts +8 -0
  769. package/dist/extensions/transition-coordinator.d.cts.map +1 -0
  770. package/dist/extensions/transition-coordinator.d.mts +8 -0
  771. package/dist/extensions/transition-coordinator.d.mts.map +1 -0
  772. package/dist/extensions/transition-coordinator.mjs +146 -0
  773. package/dist/extensions/transition-coordinator.mjs.map +1 -0
  774. package/dist/harness-context.cjs +5 -0
  775. package/dist/harness-context.d.cts +2 -0
  776. package/dist/harness-context.d.mts +2 -0
  777. package/dist/harness-context.mjs +2 -0
  778. package/dist/harness-state.cjs +19 -0
  779. package/dist/harness-state.d.cts +2 -0
  780. package/dist/harness-state.d.mts +2 -0
  781. package/dist/harness-state.mjs +2 -0
  782. package/dist/help.cjs +16 -0
  783. package/dist/help.d.cts +8 -0
  784. package/dist/help.d.mts +8 -0
  785. package/dist/help.mjs +8 -0
  786. package/dist/index.cjs +368 -2
  787. package/dist/index.d.cts +46 -39
  788. package/dist/index.d.mts +46 -39
  789. package/dist/index.mjs +46 -2
  790. package/dist/init-command.cjs +4 -0
  791. package/dist/init-command.d.cts +2 -0
  792. package/dist/init-command.d.mts +2 -0
  793. package/dist/init-command.mjs +2 -0
  794. package/dist/launch-command.cjs +7 -0
  795. package/dist/launch-command.d.cts +2 -0
  796. package/dist/launch-command.d.mts +2 -0
  797. package/dist/launch-command.mjs +2 -0
  798. package/dist/matrix-options.cjs +28 -0
  799. package/dist/matrix-options.d.cts +2 -0
  800. package/dist/matrix-options.d.mts +2 -0
  801. package/dist/matrix-options.mjs +2 -0
  802. package/dist/matrix-switcher.cjs +11 -0
  803. package/dist/matrix-switcher.d.cts +3 -0
  804. package/dist/matrix-switcher.d.mts +3 -0
  805. package/dist/matrix-switcher.mjs +3 -0
  806. package/dist/mcp-filter.cjs +9 -0
  807. package/dist/mcp-filter.d.cts +1 -0
  808. package/dist/mcp-filter.d.mts +1 -0
  809. package/dist/mcp-filter.mjs +2 -0
  810. package/dist/options.cjs +3 -0
  811. package/dist/options.d.cts +2 -0
  812. package/dist/options.d.mts +2 -0
  813. package/dist/options.mjs +2 -0
  814. package/dist/process.cjs +12 -0
  815. package/dist/process.d.cts +2 -0
  816. package/dist/process.d.mts +2 -0
  817. package/dist/process.mjs +2 -0
  818. package/dist/project-trust.cjs +6 -0
  819. package/dist/project-trust.d.cts +2 -0
  820. package/dist/project-trust.d.mts +2 -0
  821. package/dist/project-trust.mjs +2 -0
  822. package/dist/repository.cjs +5 -0
  823. package/dist/repository.d.cts +2 -0
  824. package/dist/repository.d.mts +2 -0
  825. package/dist/repository.mjs +2 -0
  826. package/dist/resource-collector.cjs +9 -0
  827. package/dist/resource-collector.d.cts +1 -0
  828. package/dist/resource-collector.d.mts +1 -0
  829. package/dist/resource-collector.mjs +2 -0
  830. package/dist/services.cjs +154 -0
  831. package/dist/services.d.cts +21 -0
  832. package/dist/services.d.mts +21 -0
  833. package/dist/services.mjs +21 -0
  834. package/dist/shared.cjs +18 -0
  835. package/dist/shared.d.cts +2 -0
  836. package/dist/shared.d.mts +2 -0
  837. package/dist/shared.mjs +2 -0
  838. package/dist/sync-command.cjs +13 -0
  839. package/dist/sync-command.d.cts +2 -0
  840. package/dist/sync-command.d.mts +2 -0
  841. package/dist/sync-command.mjs +2 -0
  842. package/dist/sync-state.cjs +34 -0
  843. package/dist/sync-state.d.cts +2 -0
  844. package/dist/sync-state.d.mts +2 -0
  845. package/dist/sync-state.mjs +2 -0
  846. package/dist/utils.cjs +6 -0
  847. package/dist/utils.d.cts +3 -0
  848. package/dist/utils.d.mts +3 -0
  849. package/dist/utils.mjs +3 -0
  850. package/docs/server/api-export.md +86 -0
  851. package/docs/server/api.md +144 -0
  852. package/docs/server/getting-started.md +114 -0
  853. package/docs/server/index.md +67 -0
  854. package/docs/server/ipc.md +97 -0
  855. package/docs/server/lifecycle.md +108 -0
  856. package/docs/server/security.md +101 -0
  857. package/llms.txt +12 -0
  858. package/package.json +297 -312
  859. package/src/prompts/doompi-author-extension/SKILL.md +34 -0
  860. package/src/prompts/doompi-author-extension/references/extension-contract.md +134 -0
  861. package/dist/cli/compatibilityOptions.cjs +0 -2
  862. package/dist/cli/compatibilityOptions.cjs.map +0 -1
  863. package/dist/cli/compatibilityOptions.d.cts +0 -15
  864. package/dist/cli/compatibilityOptions.d.cts.map +0 -1
  865. package/dist/cli/compatibilityOptions.d.mts +0 -15
  866. package/dist/cli/compatibilityOptions.d.mts.map +0 -1
  867. package/dist/cli/compatibilityOptions.mjs +0 -2
  868. package/dist/cli/compatibilityOptions.mjs.map +0 -1
  869. package/dist/cli/index.cjs +0 -1
  870. package/dist/cli/index.d.cts +0 -5
  871. package/dist/cli/index.d.mts +0 -5
  872. package/dist/cli/index.mjs +0 -1
  873. package/dist/commands/baseCommand.cjs +0 -2
  874. package/dist/commands/baseCommand.cjs.map +0 -1
  875. package/dist/commands/baseCommand.d.cts +0 -36
  876. package/dist/commands/baseCommand.d.cts.map +0 -1
  877. package/dist/commands/baseCommand.d.mts +0 -36
  878. package/dist/commands/baseCommand.d.mts.map +0 -1
  879. package/dist/commands/baseCommand.mjs +0 -2
  880. package/dist/commands/baseCommand.mjs.map +0 -1
  881. package/dist/commands/buildCommand.cjs +0 -3
  882. package/dist/commands/buildCommand.cjs.map +0 -1
  883. package/dist/commands/buildCommand.d.cts +0 -23
  884. package/dist/commands/buildCommand.d.cts.map +0 -1
  885. package/dist/commands/buildCommand.d.mts +0 -23
  886. package/dist/commands/buildCommand.d.mts.map +0 -1
  887. package/dist/commands/buildCommand.mjs +0 -3
  888. package/dist/commands/buildCommand.mjs.map +0 -1
  889. package/dist/commands/compatibilityCommand.cjs +0 -2
  890. package/dist/commands/compatibilityCommand.cjs.map +0 -1
  891. package/dist/commands/compatibilityCommand.d.cts +0 -14
  892. package/dist/commands/compatibilityCommand.d.cts.map +0 -1
  893. package/dist/commands/compatibilityCommand.d.mts +0 -14
  894. package/dist/commands/compatibilityCommand.d.mts.map +0 -1
  895. package/dist/commands/compatibilityCommand.mjs +0 -2
  896. package/dist/commands/compatibilityCommand.mjs.map +0 -1
  897. package/dist/commands/emitMcpCommand.cjs +0 -2
  898. package/dist/commands/emitMcpCommand.cjs.map +0 -1
  899. package/dist/commands/emitMcpCommand.d.cts +0 -19
  900. package/dist/commands/emitMcpCommand.d.cts.map +0 -1
  901. package/dist/commands/emitMcpCommand.d.mts +0 -19
  902. package/dist/commands/emitMcpCommand.d.mts.map +0 -1
  903. package/dist/commands/emitMcpCommand.mjs +0 -2
  904. package/dist/commands/emitMcpCommand.mjs.map +0 -1
  905. package/dist/commands/explainCommand.cjs +0 -21
  906. package/dist/commands/explainCommand.cjs.map +0 -1
  907. package/dist/commands/explainCommand.d.cts +0 -63
  908. package/dist/commands/explainCommand.d.cts.map +0 -1
  909. package/dist/commands/explainCommand.d.mts +0 -63
  910. package/dist/commands/explainCommand.d.mts.map +0 -1
  911. package/dist/commands/explainCommand.mjs +0 -21
  912. package/dist/commands/explainCommand.mjs.map +0 -1
  913. package/dist/commands/index.cjs +0 -1
  914. package/dist/commands/index.d.cts +0 -9
  915. package/dist/commands/index.d.mts +0 -9
  916. package/dist/commands/index.mjs +0 -1
  917. package/dist/commands/initCommand.cjs +0 -3
  918. package/dist/commands/initCommand.cjs.map +0 -1
  919. package/dist/commands/initCommand.d.cts +0 -11
  920. package/dist/commands/initCommand.d.cts.map +0 -1
  921. package/dist/commands/initCommand.d.mts +0 -11
  922. package/dist/commands/initCommand.d.mts.map +0 -1
  923. package/dist/commands/initCommand.mjs +0 -3
  924. package/dist/commands/initCommand.mjs.map +0 -1
  925. package/dist/commands/launchCommand.cjs +0 -2
  926. package/dist/commands/launchCommand.cjs.map +0 -1
  927. package/dist/commands/launchCommand.d.cts +0 -33
  928. package/dist/commands/launchCommand.d.cts.map +0 -1
  929. package/dist/commands/launchCommand.d.mts +0 -33
  930. package/dist/commands/launchCommand.d.mts.map +0 -1
  931. package/dist/commands/launchCommand.mjs +0 -2
  932. package/dist/commands/launchCommand.mjs.map +0 -1
  933. package/dist/commands/syncCommand.cjs +0 -6
  934. package/dist/commands/syncCommand.cjs.map +0 -1
  935. package/dist/commands/syncCommand.d.cts +0 -37
  936. package/dist/commands/syncCommand.d.cts.map +0 -1
  937. package/dist/commands/syncCommand.d.mts +0 -37
  938. package/dist/commands/syncCommand.d.mts.map +0 -1
  939. package/dist/commands/syncCommand.mjs +0 -6
  940. package/dist/commands/syncCommand.mjs.map +0 -1
  941. package/dist/config/harnessState.cjs +0 -2
  942. package/dist/config/harnessState.cjs.map +0 -1
  943. package/dist/config/harnessState.d.cts +0 -24
  944. package/dist/config/harnessState.d.cts.map +0 -1
  945. package/dist/config/harnessState.d.mts +0 -24
  946. package/dist/config/harnessState.d.mts.map +0 -1
  947. package/dist/config/harnessState.mjs +0 -2
  948. package/dist/config/harnessState.mjs.map +0 -1
  949. package/dist/config/index.cjs +0 -1
  950. package/dist/config/index.d.cts +0 -7
  951. package/dist/config/index.d.mts +0 -7
  952. package/dist/config/index.mjs +0 -1
  953. package/dist/config/projectTrust.cjs +0 -2
  954. package/dist/config/projectTrust.cjs.map +0 -1
  955. package/dist/config/projectTrust.d.cts +0 -14
  956. package/dist/config/projectTrust.d.cts.map +0 -1
  957. package/dist/config/projectTrust.d.mts +0 -14
  958. package/dist/config/projectTrust.d.mts.map +0 -1
  959. package/dist/config/projectTrust.mjs +0 -2
  960. package/dist/config/projectTrust.mjs.map +0 -1
  961. package/dist/entries/addDirCompatibility.cjs +0 -2
  962. package/dist/entries/addDirCompatibility.cjs.map +0 -1
  963. package/dist/entries/addDirCompatibility.d.cts +0 -13
  964. package/dist/entries/addDirCompatibility.d.cts.map +0 -1
  965. package/dist/entries/addDirCompatibility.d.mts +0 -14
  966. package/dist/entries/addDirCompatibility.d.mts.map +0 -1
  967. package/dist/entries/addDirCompatibility.mjs +0 -2
  968. package/dist/entries/addDirCompatibility.mjs.map +0 -1
  969. package/dist/entries/autoStop.cjs +0 -2
  970. package/dist/entries/autoStop.cjs.map +0 -1
  971. package/dist/entries/autoStop.d.cts +0 -6
  972. package/dist/entries/autoStop.d.cts.map +0 -1
  973. package/dist/entries/autoStop.d.mts +0 -7
  974. package/dist/entries/autoStop.d.mts.map +0 -1
  975. package/dist/entries/autoStop.mjs +0 -2
  976. package/dist/entries/autoStop.mjs.map +0 -1
  977. package/dist/entries/components/matrixPicker.cjs +0 -2
  978. package/dist/entries/components/matrixPicker.cjs.map +0 -1
  979. package/dist/entries/components/matrixPicker.d.cts +0 -55
  980. package/dist/entries/components/matrixPicker.d.cts.map +0 -1
  981. package/dist/entries/components/matrixPicker.d.mts +0 -55
  982. package/dist/entries/components/matrixPicker.d.mts.map +0 -1
  983. package/dist/entries/components/matrixPicker.mjs +0 -2
  984. package/dist/entries/components/matrixPicker.mjs.map +0 -1
  985. package/dist/entries/components/skillsOverlay.cjs +0 -4
  986. package/dist/entries/components/skillsOverlay.cjs.map +0 -1
  987. package/dist/entries/components/skillsOverlay.d.cts +0 -58
  988. package/dist/entries/components/skillsOverlay.d.cts.map +0 -1
  989. package/dist/entries/components/skillsOverlay.d.mts +0 -58
  990. package/dist/entries/components/skillsOverlay.d.mts.map +0 -1
  991. package/dist/entries/components/skillsOverlay.mjs +0 -4
  992. package/dist/entries/components/skillsOverlay.mjs.map +0 -1
  993. package/dist/entries/domains.cjs +0 -2
  994. package/dist/entries/domains.cjs.map +0 -1
  995. package/dist/entries/domains.d.cts +0 -10
  996. package/dist/entries/domains.d.cts.map +0 -1
  997. package/dist/entries/domains.d.mts +0 -10
  998. package/dist/entries/domains.d.mts.map +0 -1
  999. package/dist/entries/domains.mjs +0 -2
  1000. package/dist/entries/domains.mjs.map +0 -1
  1001. package/dist/entries/doom.cjs +0 -2
  1002. package/dist/entries/doom.cjs.map +0 -1
  1003. package/dist/entries/doom.d.cts +0 -13
  1004. package/dist/entries/doom.d.cts.map +0 -1
  1005. package/dist/entries/doom.d.mts +0 -14
  1006. package/dist/entries/doom.d.mts.map +0 -1
  1007. package/dist/entries/doom.mjs +0 -2
  1008. package/dist/entries/doom.mjs.map +0 -1
  1009. package/dist/entries/effort.cjs +0 -2
  1010. package/dist/entries/effort.cjs.map +0 -1
  1011. package/dist/entries/effort.d.cts +0 -10
  1012. package/dist/entries/effort.d.cts.map +0 -1
  1013. package/dist/entries/effort.d.mts +0 -10
  1014. package/dist/entries/effort.d.mts.map +0 -1
  1015. package/dist/entries/effort.mjs +0 -2
  1016. package/dist/entries/effort.mjs.map +0 -1
  1017. package/dist/entries/majorMode.cjs +0 -6
  1018. package/dist/entries/majorMode.cjs.map +0 -1
  1019. package/dist/entries/majorMode.d.cts +0 -29
  1020. package/dist/entries/majorMode.d.cts.map +0 -1
  1021. package/dist/entries/majorMode.d.mts +0 -29
  1022. package/dist/entries/majorMode.d.mts.map +0 -1
  1023. package/dist/entries/majorMode.mjs +0 -6
  1024. package/dist/entries/majorMode.mjs.map +0 -1
  1025. package/dist/entries/notifications.cjs +0 -2
  1026. package/dist/entries/notifications.cjs.map +0 -1
  1027. package/dist/entries/notifications.d.cts +0 -13
  1028. package/dist/entries/notifications.d.cts.map +0 -1
  1029. package/dist/entries/notifications.d.mts +0 -13
  1030. package/dist/entries/notifications.d.mts.map +0 -1
  1031. package/dist/entries/notifications.mjs +0 -2
  1032. package/dist/entries/notifications.mjs.map +0 -1
  1033. package/dist/entries/ollamaProvider.cjs +0 -2
  1034. package/dist/entries/ollamaProvider.cjs.map +0 -1
  1035. package/dist/entries/ollamaProvider.d.cts +0 -6
  1036. package/dist/entries/ollamaProvider.d.cts.map +0 -1
  1037. package/dist/entries/ollamaProvider.d.mts +0 -7
  1038. package/dist/entries/ollamaProvider.d.mts.map +0 -1
  1039. package/dist/entries/ollamaProvider.mjs +0 -2
  1040. package/dist/entries/ollamaProvider.mjs.map +0 -1
  1041. package/dist/entries/persona.cjs +0 -2
  1042. package/dist/entries/persona.cjs.map +0 -1
  1043. package/dist/entries/persona.d.cts +0 -14
  1044. package/dist/entries/persona.d.cts.map +0 -1
  1045. package/dist/entries/persona.d.mts +0 -15
  1046. package/dist/entries/persona.d.mts.map +0 -1
  1047. package/dist/entries/persona.mjs +0 -2
  1048. package/dist/entries/persona.mjs.map +0 -1
  1049. package/dist/entries/profile.cjs +0 -3
  1050. package/dist/entries/profile.cjs.map +0 -1
  1051. package/dist/entries/profile.d.cts +0 -16
  1052. package/dist/entries/profile.d.cts.map +0 -1
  1053. package/dist/entries/profile.d.mts +0 -16
  1054. package/dist/entries/profile.d.mts.map +0 -1
  1055. package/dist/entries/profile.mjs +0 -3
  1056. package/dist/entries/profile.mjs.map +0 -1
  1057. package/dist/entries/repositoryHooks.cjs +0 -9
  1058. package/dist/entries/repositoryHooks.cjs.map +0 -1
  1059. package/dist/entries/repositoryHooks.d.cts +0 -7
  1060. package/dist/entries/repositoryHooks.d.cts.map +0 -1
  1061. package/dist/entries/repositoryHooks.d.mts +0 -8
  1062. package/dist/entries/repositoryHooks.d.mts.map +0 -1
  1063. package/dist/entries/repositoryHooks.mjs +0 -9
  1064. package/dist/entries/repositoryHooks.mjs.map +0 -1
  1065. package/dist/entries/skills.cjs +0 -2
  1066. package/dist/entries/skills.cjs.map +0 -1
  1067. package/dist/entries/skills.d.cts +0 -34
  1068. package/dist/entries/skills.d.cts.map +0 -1
  1069. package/dist/entries/skills.d.mts +0 -34
  1070. package/dist/entries/skills.d.mts.map +0 -1
  1071. package/dist/entries/skills.mjs +0 -2
  1072. package/dist/entries/skills.mjs.map +0 -1
  1073. package/dist/entries/styleSystem.cjs +0 -4
  1074. package/dist/entries/styleSystem.cjs.map +0 -1
  1075. package/dist/entries/styleSystem.d.cts +0 -32
  1076. package/dist/entries/styleSystem.d.cts.map +0 -1
  1077. package/dist/entries/styleSystem.d.mts +0 -32
  1078. package/dist/entries/styleSystem.d.mts.map +0 -1
  1079. package/dist/entries/styleSystem.mjs +0 -4
  1080. package/dist/entries/styleSystem.mjs.map +0 -1
  1081. package/dist/index.cjs.map +0 -1
  1082. package/dist/index.d.cts.map +0 -1
  1083. package/dist/index.d.mts.map +0 -1
  1084. package/dist/index.mjs.map +0 -1
  1085. package/dist/interfaces/compatibility.d.cts +0 -23
  1086. package/dist/interfaces/compatibility.d.cts.map +0 -1
  1087. package/dist/interfaces/compatibility.d.mts +0 -23
  1088. package/dist/interfaces/compatibility.d.mts.map +0 -1
  1089. package/dist/interfaces/harness.d.cts +0 -84
  1090. package/dist/interfaces/harness.d.cts.map +0 -1
  1091. package/dist/interfaces/harness.d.mts +0 -84
  1092. package/dist/interfaces/harness.d.mts.map +0 -1
  1093. package/dist/logSinkTelemetry.cjs +0 -2
  1094. package/dist/logSinkTelemetry.cjs.map +0 -1
  1095. package/dist/logSinkTelemetry.d.cts +0 -51
  1096. package/dist/logSinkTelemetry.d.cts.map +0 -1
  1097. package/dist/logSinkTelemetry.d.mts +0 -51
  1098. package/dist/logSinkTelemetry.d.mts.map +0 -1
  1099. package/dist/logSinkTelemetry.mjs +0 -2
  1100. package/dist/logSinkTelemetry.mjs.map +0 -1
  1101. package/dist/node_modules/.pnpm/@juicesharp_rpiv-ask-user-question@2.2.0_@earendil-works_pi-coding-agent@0.84.1_support_6ba1249e24a50b62791c1c91c9f324c6/node_modules/@juicesharp/rpiv-ask-user-question/events.cjs +0 -2
  1102. package/dist/node_modules/.pnpm/@juicesharp_rpiv-ask-user-question@2.2.0_@earendil-works_pi-coding-agent@0.84.1_support_6ba1249e24a50b62791c1c91c9f324c6/node_modules/@juicesharp/rpiv-ask-user-question/events.cjs.map +0 -1
  1103. package/dist/node_modules/.pnpm/@juicesharp_rpiv-ask-user-question@2.2.0_@earendil-works_pi-coding-agent@0.84.1_support_6ba1249e24a50b62791c1c91c9f324c6/node_modules/@juicesharp/rpiv-ask-user-question/events.mjs +0 -2
  1104. package/dist/node_modules/.pnpm/@juicesharp_rpiv-ask-user-question@2.2.0_@earendil-works_pi-coding-agent@0.84.1_support_6ba1249e24a50b62791c1c91c9f324c6/node_modules/@juicesharp/rpiv-ask-user-question/events.mjs.map +0 -1
  1105. package/dist/services/compatibility/antigravity.cjs +0 -2
  1106. package/dist/services/compatibility/antigravity.cjs.map +0 -1
  1107. package/dist/services/compatibility/antigravity.d.cts +0 -11
  1108. package/dist/services/compatibility/antigravity.d.cts.map +0 -1
  1109. package/dist/services/compatibility/antigravity.d.mts +0 -11
  1110. package/dist/services/compatibility/antigravity.d.mts.map +0 -1
  1111. package/dist/services/compatibility/antigravity.mjs +0 -2
  1112. package/dist/services/compatibility/antigravity.mjs.map +0 -1
  1113. package/dist/services/compatibility/codex.cjs +0 -2
  1114. package/dist/services/compatibility/codex.cjs.map +0 -1
  1115. package/dist/services/compatibility/codex.d.cts +0 -19
  1116. package/dist/services/compatibility/codex.d.cts.map +0 -1
  1117. package/dist/services/compatibility/codex.d.mts +0 -19
  1118. package/dist/services/compatibility/codex.d.mts.map +0 -1
  1119. package/dist/services/compatibility/codex.mjs +0 -2
  1120. package/dist/services/compatibility/codex.mjs.map +0 -1
  1121. package/dist/services/compatibility/index.cjs +0 -2
  1122. package/dist/services/compatibility/index.cjs.map +0 -1
  1123. package/dist/services/compatibility/index.d.cts +0 -16
  1124. package/dist/services/compatibility/index.d.cts.map +0 -1
  1125. package/dist/services/compatibility/index.d.mts +0 -16
  1126. package/dist/services/compatibility/index.d.mts.map +0 -1
  1127. package/dist/services/compatibility/index.mjs +0 -2
  1128. package/dist/services/compatibility/index.mjs.map +0 -1
  1129. package/dist/services/compatibility/process.cjs +0 -2
  1130. package/dist/services/compatibility/process.cjs.map +0 -1
  1131. package/dist/services/compatibility/process.d.cts +0 -35
  1132. package/dist/services/compatibility/process.d.cts.map +0 -1
  1133. package/dist/services/compatibility/process.d.mts +0 -35
  1134. package/dist/services/compatibility/process.d.mts.map +0 -1
  1135. package/dist/services/compatibility/process.mjs +0 -2
  1136. package/dist/services/compatibility/process.mjs.map +0 -1
  1137. package/dist/services/compatibility/shared.cjs +0 -2
  1138. package/dist/services/compatibility/shared.cjs.map +0 -1
  1139. package/dist/services/compatibility/shared.d.cts +0 -33
  1140. package/dist/services/compatibility/shared.d.cts.map +0 -1
  1141. package/dist/services/compatibility/shared.d.mts +0 -33
  1142. package/dist/services/compatibility/shared.d.mts.map +0 -1
  1143. package/dist/services/compatibility/shared.mjs +0 -2
  1144. package/dist/services/compatibility/shared.mjs.map +0 -1
  1145. package/dist/services/compatibilityContext.cjs +0 -2
  1146. package/dist/services/compatibilityContext.cjs.map +0 -1
  1147. package/dist/services/compatibilityContext.d.cts +0 -23
  1148. package/dist/services/compatibilityContext.d.cts.map +0 -1
  1149. package/dist/services/compatibilityContext.d.mts +0 -23
  1150. package/dist/services/compatibilityContext.d.mts.map +0 -1
  1151. package/dist/services/compatibilityContext.mjs +0 -2
  1152. package/dist/services/compatibilityContext.mjs.map +0 -1
  1153. package/dist/services/composer.cjs +0 -2
  1154. package/dist/services/composer.cjs.map +0 -1
  1155. package/dist/services/composer.d.cts +0 -136
  1156. package/dist/services/composer.d.cts.map +0 -1
  1157. package/dist/services/composer.d.mts +0 -136
  1158. package/dist/services/composer.d.mts.map +0 -1
  1159. package/dist/services/composer.mjs +0 -2
  1160. package/dist/services/composer.mjs.map +0 -1
  1161. package/dist/services/extensionAssembler.cjs +0 -2
  1162. package/dist/services/extensionAssembler.cjs.map +0 -1
  1163. package/dist/services/extensionAssembler.d.cts +0 -72
  1164. package/dist/services/extensionAssembler.d.cts.map +0 -1
  1165. package/dist/services/extensionAssembler.d.mts +0 -72
  1166. package/dist/services/extensionAssembler.d.mts.map +0 -1
  1167. package/dist/services/extensionAssembler.mjs +0 -2
  1168. package/dist/services/extensionAssembler.mjs.map +0 -1
  1169. package/dist/services/extensionCompiler.cjs +0 -3
  1170. package/dist/services/extensionCompiler.cjs.map +0 -1
  1171. package/dist/services/extensionCompiler.mjs +0 -3
  1172. package/dist/services/extensionCompiler.mjs.map +0 -1
  1173. package/dist/services/harnessContext.cjs +0 -2
  1174. package/dist/services/harnessContext.cjs.map +0 -1
  1175. package/dist/services/harnessContext.d.cts +0 -61
  1176. package/dist/services/harnessContext.d.cts.map +0 -1
  1177. package/dist/services/harnessContext.d.mts +0 -61
  1178. package/dist/services/harnessContext.d.mts.map +0 -1
  1179. package/dist/services/harnessContext.mjs +0 -2
  1180. package/dist/services/harnessContext.mjs.map +0 -1
  1181. package/dist/services/index.cjs +0 -1
  1182. package/dist/services/index.d.cts +0 -15
  1183. package/dist/services/index.d.mts +0 -15
  1184. package/dist/services/index.mjs +0 -1
  1185. package/dist/services/matrixSwitcher.cjs +0 -2
  1186. package/dist/services/matrixSwitcher.cjs.map +0 -1
  1187. package/dist/services/matrixSwitcher.d.cts +0 -46
  1188. package/dist/services/matrixSwitcher.d.cts.map +0 -1
  1189. package/dist/services/matrixSwitcher.d.mts +0 -46
  1190. package/dist/services/matrixSwitcher.d.mts.map +0 -1
  1191. package/dist/services/matrixSwitcher.mjs +0 -2
  1192. package/dist/services/matrixSwitcher.mjs.map +0 -1
  1193. package/dist/services/mcpFilter.cjs +0 -3
  1194. package/dist/services/mcpFilter.cjs.map +0 -1
  1195. package/dist/services/mcpFilter.d.cts +0 -40
  1196. package/dist/services/mcpFilter.d.cts.map +0 -1
  1197. package/dist/services/mcpFilter.d.mts +0 -40
  1198. package/dist/services/mcpFilter.d.mts.map +0 -1
  1199. package/dist/services/mcpFilter.mjs +0 -3
  1200. package/dist/services/mcpFilter.mjs.map +0 -1
  1201. package/dist/services/piExtensionAlias.cjs +0 -2
  1202. package/dist/services/piExtensionAlias.cjs.map +0 -1
  1203. package/dist/services/piExtensionAlias.mjs +0 -2
  1204. package/dist/services/piExtensionAlias.mjs.map +0 -1
  1205. package/dist/services/piSettings.cjs +0 -2
  1206. package/dist/services/piSettings.cjs.map +0 -1
  1207. package/dist/services/piSettings.d.cts +0 -24
  1208. package/dist/services/piSettings.d.cts.map +0 -1
  1209. package/dist/services/piSettings.d.mts +0 -24
  1210. package/dist/services/piSettings.d.mts.map +0 -1
  1211. package/dist/services/piSettings.mjs +0 -2
  1212. package/dist/services/piSettings.mjs.map +0 -1
  1213. package/dist/services/resourceCollector.cjs +0 -3
  1214. package/dist/services/resourceCollector.cjs.map +0 -1
  1215. package/dist/services/resourceCollector.d.cts +0 -23
  1216. package/dist/services/resourceCollector.d.cts.map +0 -1
  1217. package/dist/services/resourceCollector.d.mts +0 -23
  1218. package/dist/services/resourceCollector.d.mts.map +0 -1
  1219. package/dist/services/resourceCollector.mjs +0 -3
  1220. package/dist/services/resourceCollector.mjs.map +0 -1
  1221. package/dist/services/runtimeBundle.cjs +0 -2
  1222. package/dist/services/runtimeBundle.cjs.map +0 -1
  1223. package/dist/services/runtimeBundle.d.cts +0 -64
  1224. package/dist/services/runtimeBundle.d.cts.map +0 -1
  1225. package/dist/services/runtimeBundle.d.mts +0 -64
  1226. package/dist/services/runtimeBundle.d.mts.map +0 -1
  1227. package/dist/services/runtimeBundle.mjs +0 -2
  1228. package/dist/services/runtimeBundle.mjs.map +0 -1
  1229. package/dist/services/skillCatalog.cjs +0 -2
  1230. package/dist/services/skillCatalog.cjs.map +0 -1
  1231. package/dist/services/skillCatalog.d.cts +0 -56
  1232. package/dist/services/skillCatalog.d.cts.map +0 -1
  1233. package/dist/services/skillCatalog.d.mts +0 -56
  1234. package/dist/services/skillCatalog.d.mts.map +0 -1
  1235. package/dist/services/skillCatalog.mjs +0 -2
  1236. package/dist/services/skillCatalog.mjs.map +0 -1
  1237. package/dist/services/skillSources.cjs +0 -2
  1238. package/dist/services/skillSources.cjs.map +0 -1
  1239. package/dist/services/skillSources.d.cts +0 -24
  1240. package/dist/services/skillSources.d.cts.map +0 -1
  1241. package/dist/services/skillSources.d.mts +0 -24
  1242. package/dist/services/skillSources.d.mts.map +0 -1
  1243. package/dist/services/skillSources.mjs +0 -2
  1244. package/dist/services/skillSources.mjs.map +0 -1
  1245. package/dist/services/syncState.cjs +0 -2
  1246. package/dist/services/syncState.cjs.map +0 -1
  1247. package/dist/services/syncState.d.cts +0 -133
  1248. package/dist/services/syncState.d.cts.map +0 -1
  1249. package/dist/services/syncState.d.mts +0 -133
  1250. package/dist/services/syncState.d.mts.map +0 -1
  1251. package/dist/services/syncState.mjs +0 -2
  1252. package/dist/services/syncState.mjs.map +0 -1
  1253. package/dist/utils/index.cjs +0 -1
  1254. package/dist/utils/index.d.cts +0 -5
  1255. package/dist/utils/index.d.mts +0 -5
  1256. package/dist/utils/index.mjs +0 -1
  1257. package/dist/utils/json.cjs +0 -2
  1258. package/dist/utils/json.cjs.map +0 -1
  1259. package/dist/utils/json.d.cts +0 -23
  1260. package/dist/utils/json.d.cts.map +0 -1
  1261. package/dist/utils/json.d.mts +0 -23
  1262. package/dist/utils/json.d.mts.map +0 -1
  1263. package/dist/utils/json.mjs +0 -2
  1264. package/dist/utils/json.mjs.map +0 -1
  1265. package/dist/utils/moduleResolution.cjs +0 -2
  1266. package/dist/utils/moduleResolution.cjs.map +0 -1
  1267. package/dist/utils/moduleResolution.d.cts +0 -56
  1268. package/dist/utils/moduleResolution.d.cts.map +0 -1
  1269. package/dist/utils/moduleResolution.d.mts +0 -56
  1270. package/dist/utils/moduleResolution.d.mts.map +0 -1
  1271. package/dist/utils/moduleResolution.mjs +0 -2
  1272. package/dist/utils/moduleResolution.mjs.map +0 -1
  1273. package/dist/utils/repository.cjs +0 -2
  1274. package/dist/utils/repository.cjs.map +0 -1
  1275. package/dist/utils/repository.d.cts +0 -21
  1276. package/dist/utils/repository.d.cts.map +0 -1
  1277. package/dist/utils/repository.d.mts +0 -21
  1278. package/dist/utils/repository.d.mts.map +0 -1
  1279. package/dist/utils/repository.mjs +0 -2
  1280. package/dist/utils/repository.mjs.map +0 -1
  1281. package/dist/utils/toolNames.cjs +0 -2
  1282. package/dist/utils/toolNames.cjs.map +0 -1
  1283. package/dist/utils/toolNames.d.cts +0 -25
  1284. package/dist/utils/toolNames.d.cts.map +0 -1
  1285. package/dist/utils/toolNames.d.mts +0 -25
  1286. package/dist/utils/toolNames.d.mts.map +0 -1
  1287. package/dist/utils/toolNames.mjs +0 -2
  1288. package/dist/utils/toolNames.mjs.map +0 -1
package/README.md CHANGED
@@ -1,584 +1,791 @@
1
- # Doompi
1
+ # DoomPi
2
2
 
3
3
  **A coding agent that loads only the skills and tools you name.**
4
4
 
5
- Plugin systems scope what an agent knows. Nothing scopes what it can reach. Claude Code
6
- gives you `enableAllProjectMcpServers` and a static denylist, both repository-wide, so
7
- every session pays for every MCP server's tool schemas whether the task is a database
8
- migration or a landing page.
5
+ > It begins with one useful MCP server. Then another. Soon the agent fixing a heading
6
+ > wakes up with database tools, browser controls, and their small novel of schemas. This
7
+ > is our config.
9
8
 
10
- Doompi makes both a declared input. Three YAML files decide what a session loads, and
11
- `--explain` prints the bill before you launch.
9
+ DoomPi is an opinionated, composable distribution of
10
+ [Pi](https://github.com/earendil-works/pi). It is closer in spirit to Spacemacs, Doom Emacs, or a
11
+ curated Neovim setup than to a single plugin. It is tailored for people whose agent has one MCP
12
+ server too many. It turns extensions, skills, MCP servers, and system prompts into config instead
13
+ of background noise.
12
14
 
13
- ## Install
15
+ ![DoomPi terminal interface showing tasks, Plan mode, and the Leader menu](https://cdn.jsdelivr.net/npm/@agimon-ai/doompi@latest/assets/doompi-tui.png)
14
16
 
15
- ```bash
16
- npm install -g @agimon-ai/doompi @earendil-works/pi-coding-agent
17
- ```
17
+ Plugin systems scope what an agent knows. They do less to scope which configured plugins and MCP
18
+ servers a particular session can load. Claude Code's `enableAllProjectMcpServers` and static
19
+ denylist are repository-wide. DoomPi draws that loading boundary around the session. Pick a major
20
+ mode and some domains; add a profile if you want one. Four YAML files decide what loads;
21
+ `doompi --explain` tells you what got in, why, and what it costs before launch.
18
22
 
19
- ## Quickstart
23
+ It borrows its shape from [Doom Emacs Core](https://github.com/doomemacs/core): quick to
24
+ start, close to Pi, opinionated where defaults help, and easy to pull apart when they do
25
+ not. Use it as-is, build your own config on top, or raid it for parts.
20
26
 
21
- ```bash
22
- doompi init # seed ~/.pi/.doom, once per machine
23
- mkdir .doom && cp ~/.pi/.doom/*.yaml .doom/ # the repository config Doompi reads
24
- doompi --explain # what would load, and why
25
- doompi # start a session
26
- ```
27
+ ## Contents
28
+
29
+ [Install](#install) · [Try DoomPi](#try-doompi-without-replacing-your-pi-setup) ·
30
+ [Philosophy](#philosophy) · [What this buys you](#what-this-buys-you) · [Features](#features) ·
31
+ [Configuration](#configuration) · [Trust and data boundaries](#trust-and-data-boundaries) ·
32
+ [CLI reference](#cli-reference) · [Troubleshooting](#troubleshooting-and-direct-use) ·
33
+ [Architecture](#architecture) · [Development](#development)
27
34
 
28
- `.doom/` is committed to git, so a checkout carries its own agent configuration. Edit a
29
- YAML file and the next launch picks it up.
35
+ ## Install
30
36
 
31
37
  ```bash
32
- doompi --major-mode dev --domains development
33
- doompi --domains marketing --profile marketing
34
- doompi --domains analytics --explain
38
+ npm install -g @agimon-ai/doompi
35
39
  ```
36
40
 
37
- ## The three axes
38
-
39
- Doompi wraps [Pi](https://www.npmjs.com/package/@earendil-works/pi-coding-agent) and
40
- resolves a declared configuration into a session rather than asking you to wire one up.
41
- The three choices are independent: adding a domain requires no knowledge of major modes,
42
- and swapping a profile changes nothing about either.
41
+ The package pins and installs the upstream Pi version used by `dpi`. It also owns the
42
+ [`doompi-server` executable and server API](docs/server/index.md) used by the web and desktop clients.
43
43
 
44
- | Choice | Decides | Declared in |
45
- | -------------- | ------------------------------------ | --------------------- |
46
- | **Major mode** | what the agent is wrapped in | `.doom/modes.yaml` |
47
- | **Domains** | what it knows, and what it can reach | `.doom/domains.yaml` |
48
- | **Profile** | who it speaks as | `.doom/profiles.yaml` |
44
+ The root package contains the fixed host foundation only. Feature packages are selected by
45
+ `.doom/modes.yaml` and installed into the consumer repository when they are first needed.
49
46
 
50
- A domain names plugins and an MCP allowlist together, so `--domains marketing` and
51
- `--domains development` are the same agent with different knowledge and a different reach,
52
- not two different agents. That is the lever for keeping context small, and
53
- [`--explain`](#minimal-context) prices it before you commit.
47
+ ## Status and requirements
54
48
 
55
- ## What is actually different
49
+ DoomPi is alpha software. Configuration and package boundaries may still change between alpha
50
+ releases.
56
51
 
57
- **Compaction reads state, it does not summarize prose.** When the context fills, Doompi
58
- does not guess at coordination state from the transcript. It reads the live plan, task
59
- graph, and team snapshot, and commits them next to the summary as authoritative. The agent
60
- comes out the other side knowing what it was doing, what is still running, and who is doing
61
- what. See [Long runs](#long-runs).
52
+ - Node.js 22.19.0 or newer
53
+ - Release targets: macOS arm64, Linux x64, and Linux arm64
54
+ - Pi 0.86.0 and Pi TUI 0.86.0 for packages that declare them as peer requirements
62
55
 
63
- **Spec-driven and meta-prompting systems change what the agent is told. Doompi changes what
64
- it loads.** The two compose fine. This one is about the context window, not the prompt.
56
+ ## Try DoomPi without replacing your Pi setup
65
57
 
66
- **One configuration serves two readers.** A human gets a keyboard surface that does not
67
- move; an autonomous agent gets a small tool surface and a context window that compacts
68
- itself.
58
+ `dpi` is the comparison runner. Use it to try DoomPi beside your current `pi` customization
59
+ before registering anything in Pi's settings:
69
60
 
70
- ## Philosophy
61
+ ```bash
62
+ dpi init # create this repository's .doom configuration
63
+ dpi sync # resolve and synchronize the DoomPi experiment
64
+ dpi # run the DoomPi experiment
65
+ pi # run your existing Pi setup for comparison
66
+ ```
71
67
 
72
- **Give the agent fewer things to choose between.** [Major modes, domains, and
73
- profiles](#major-modes-domains-profiles) decide what loads, so a session carries the skills
74
- and MCP servers its domains named and nothing else. Whatever still overflows [compacts in
75
- the background](#long-runs).
68
+ `dpi init` creates `.doom/config.yaml`, `.doom/modes.yaml`, `.doom/domains.yaml`, and
69
+ `.doom/profiles.yaml` in the current repository. It preserves existing files unless you pass
70
+ `--force` and does not create or change `.pi/settings.json`.
76
71
 
77
- **Shift the work onto deterministic workflows.** Autonomous runs are [GitHub Actions
78
- shaped](#workflows), with jobs, dependencies, steps, timeouts, and declared artifacts, so
79
- the same job resolves the same way every time.
72
+ `dpi sync` installs missing configured feature packages and publishes a generated runtime, web bundle,
73
+ and API route set for the current repository and worktree. It does not change either normal Pi settings
74
+ file. It prepares every declared layer so switching modes does not depend on the root package's
75
+ dependency closure.
80
76
 
81
- **Keep the keyboard ergonomic.** `SPC` is the whole surface, Spacemacs and Doom Emacs
82
- style, and [it opens only when the draft is empty](#leader-space), so a half-written prompt
83
- is never a casualty.
77
+ ### Sync storage and worktrees
84
78
 
85
- **Batteries included, without the bloat.** Plan mode, tasks, teams, a supervised runner,
86
- voice, and workflows ship in the box, but [core is not a
87
- layer](#core-is-not-a-layer) and every opinion waits behind a layer or a domain.
79
+ DoomPi stores generated sync data under `~/.pi/.doom/sync`, outside the repository. Repository and
80
+ worktree identities select separate namespaces. Outside a repository, the canonical `~/.pi/.doom`
81
+ configuration gets its own global composition and registration. Each successful sync writes a new immutable
82
+ generation, then atomically publishes that generation's registration as the final commit step. A failed sync
83
+ removes its unpublished generation and leaves the previous registration active. One sync target never rewrites
84
+ another target's registration or generation.
88
85
 
89
- **One major mode, several minor modes.** A session runs under exactly one major mode, which
90
- is what selects its layers. [Plan, loop, and workflow](#minor-modes) are minor modes: you
91
- toggle them mid-session, they stack, and they report themselves on a shared status line.
86
+ `dpi` preserves Pi's normal global and repository settings, then applies DoomPi's extension and theme
87
+ settings in memory. It never writes those values to `.pi/settings.json`.
92
88
 
93
- ## Two ways to run
89
+ Export the published HTTP and socket contracts with `doompi api-export --out ./api-schema --strict`. See [compiled API export](docs/server/api-export.md) for artifact formats, CI checks, and package declarations.
94
90
 
95
- The launcher resolves your three choices per run and spawns Pi with them. Skills, agents,
96
- MCP configs, and the persona prompt are assembled into a temporary directory that is
97
- deleted on exit. Nothing is written back into the repository, and every session pays the
98
- resolution cost.
91
+ Run `doompi sync --check` to detect missing, invalid, or stale registered state. Unregistered legacy state
92
+ is not loaded. Inside a repository, `doompi sync` publishes that repository and worktree. Outside every
93
+ repository, it publishes the global composition from `~/.pi/.doom`.
99
94
 
100
- `doompi sync` is the other way in, and the Doom Emacs one. Resolve once, write the
101
- result where Pi looks, then run `pi` yourself.
95
+ When you are comfortable with DoomPi and no longer need the side-by-side experiment, initialize the
96
+ normal Pi integration and synchronize the scopes you use:
102
97
 
103
98
  ```bash
104
- doompi init # seed ~/.pi/.doom, once per machine
105
- doompi build # warm the selected launch bundle and skill cache
106
- doompi sync # resolve the selection into .pi/
107
- pi # the agent
108
-
109
- doompi sync --check # exit non-zero when the synced config is out of date
99
+ doompi init # seed ~/.pi/.doom and register the managed Pi integration
100
+ doompi sync # publish the current repository, or the global composition
101
+ pi # use the nearest repository, otherwise the global composition
110
102
  ```
111
103
 
112
- A synced session takes `--major-mode`, `--domains`, `--profile`, and `--mute` the same way
113
- the launcher does, and `/major-mode`, `/domains`, and `/profile` all switch in place: the
114
- extension set is composed on every load rather than frozen at startup, so a reload is
115
- enough.
116
-
117
- Both paths compose the extension set from the same function, `assembleExtensions`, which
118
- owns load order. Two things differ. A synced session forces `--auto-stop` off, and it
119
- reads mute from `DOOMPI_MUTE` instead of an argument.
120
-
121
- `doompi build` is the launcher warm-up step, analogous to `doom build`: it resolves the
122
- selected matrix, compiles its exact extension graph into one `.pi/doom/dist` ESM file,
123
- and warms the persistent skill manifest without starting Pi or changing
124
- `.pi/settings.json`. A sidecar manifest retains every original extension and exact
125
- `SKILL.md` path, so resource discovery never depends on the bundle's location.
126
- Launch still builds on a cache miss, so the command is optional; run it after installing
127
- or upgrading Doom packages when first-input latency matters.
128
-
129
- Syncing does not disturb the launcher. Pi merges the extensions a project declares with
130
- the ones passed on the command line, so the synced entry stands down whenever it sees the
131
- composed set already there, which is what the launcher and every detached subagent pass.
132
-
133
- ## For humans
134
-
135
- ### Leader Space
136
-
137
- `@agimon-ai/doompi-ui` owns the leader state machine, rendering, conflict handling, and the
138
- core bindings.
139
-
140
- Space opens the leader **only when the draft is empty**. With text in the editor, space is
141
- a space. `ctrl+space` opens the leader either way, and the draft survives the sequence, so
142
- you never lose a half-written prompt to a keystroke. That is the space the human keeps.
143
-
144
- Inside a sequence: `escape` cancels, `backspace` pops one segment, and any key that
145
- matches nothing cancels. There is no partial state to get stuck in.
146
-
147
- Core groups. Every level of the map renders in leader-key alphabetical order, so the table
148
- below is the order you see:
149
-
150
- | Key | Group | Bindings |
151
- | --- | --------- | ---------------------------------------- |
152
- | `e` | extension | `e` external editor, `t` tools browser |
153
- | `h` | help | `h` hotkeys, `l` log metrics |
154
- | `m` | models | `m` select, `n` next, `t` thinking level |
155
- | `q` | quit | `q` exit |
156
- | `s` | sessions | `f` fork, `n` new, `r` resume, `t` tree |
157
-
158
- `t` is deliberately left out of core at the root and reserved for doom-task.
159
-
160
- Optional feature extensions own the bindings for their own commands. The UI never
161
- hardcodes a binding for a layer that may not be loaded, so a group appears only while its
162
- extension is loaded:
163
-
164
- | Chord | Source | Opens |
165
- | -------------------- | ----------------------------- | ------------------------------ |
166
- | `SPC a` | `@agimon-ai/doompi-team` | subagent fleet |
167
- | `SPC h l` | `@agimon-ai/doompi-log` | log metrics |
168
- | `SPC l s`, `SPC l l` | `@agimon-ai/doompi-loop` | start loops, list/stop loops |
169
- | `SPC p p/c/d/f` | `@agimon-ai/doompi-plan` | plan normal/cancel/debug/fable |
170
- | `SPC t t` | `@agimon-ai/doompi-task` | tasks |
171
- | `SPC r r` | `@agimon-ai/doompi-runner` | background processes |
172
- | `SPC v v` | `@agimon-ai/doompi-voice` | record or transcribe |
173
- | `SPC w w/l/r` | `@agimon-ai/doompi-workflow` | launch/manage/recover |
174
- | `SPC e f` | `@agimon-ai/doompi-file-edit` | session edits |
175
- | `SPC e s` | `@agimon-ai/doompi` | skills catalog |
176
- | `SPC e c` | `@agimon-ai/doompi-ui` | config panel (core binding) |
177
-
178
- Contributions go through the public `@agimon-ai/doompi-ui/leader` API:
179
-
180
- ```ts
181
- registerDoomLeaderContribution(pi, {
182
- source: '@agimon-ai/doompi-log',
183
- bindings: [
184
- {
185
- id: 'log.metrics',
186
- path: [
187
- { key: 'h', label: 'help', order: 70 },
188
- { key: 'l', label: 'logs', detail: 'telemetry' },
189
- ],
190
- command: { name: 'log-metrics' },
191
- },
192
- ],
193
- });
104
+ `doompi` remains available as an explicit harness when you want per-run matrix flags:
105
+
106
+ ```bash
107
+ doompi --major-mode copilot --no-domains
108
+ doompi --major-mode minimal --no-domains
109
+ doompi --major-mode copilot --no-domains --explain
194
110
  ```
195
111
 
196
- A path excludes the leading `SPC`. The UI turns this into `SPC h l`, dispatches
197
- `/log-metrics` through the normal editor submission path, and preserves the draft. A
198
- binding carries either a `command` descriptor or an `action` name, never both. Commands
199
- stay owned by the extension that registered the slash command; actions route back to the
200
- contributor through `registerDoomLeaderActionHandlers`, which is what doom-plan uses.
201
-
202
- The map is deterministic because the registry is strict:
203
-
204
- - Keys are a single lowercase alphanumeric character, paths are at most four segments.
205
- - Shared group prefixes must agree on label, detail, and order, or the contribution is
206
- rejected.
207
- - Exact chord conflicts are rejected rather than silently overridden. A conflict in a core
208
- binding throws; a conflict from a contributor produces a diagnostic and a warning.
209
- - Re-registering the same `source` replaces that source's complete binding set. Registering
210
- an empty set removes it.
211
- - Rebuilds sort by source name then binding id, so load order does not affect the result.
212
- - Options render in leader-key alphabetical order at every level. A segment's `order` is
213
- group identity that shared prefixes must agree on, not a display position.
214
-
215
- Registration runs over Pi's shared extension event bus with a 250 ms timeout. A timeout is
216
- swallowed, so an extension loaded without the UI degrades quietly instead of failing.
217
-
218
- ### Major modes, domains, profiles
219
-
220
- Three choices, three files, committed to git. They are independent. Adding a domain
221
- requires no knowledge of major modes, and swapping a profile changes nothing about either.
222
-
223
- | Choice | Loads | Declared in |
224
- | --------------- | ------------------------------------- | --------------------- |
225
- | **Major modes** | a named set of layers | `.doom/modes.yaml` |
226
- | **Domains** | plugins, meaning skills and MCP | `.doom/domains.yaml` |
227
- | **Profiles** | a persona and the brand it speaks for | `.doom/profiles.yaml` |
228
-
229
- **Layers are protection and steering.** A layer is a set of Pi extensions plus a set of
230
- hook groups. The extensions add behavior the agent runs with; the hooks fire around its
231
- tool calls and can block it, warn it, or steer it back. You define the set you want, along
232
- the lines of `guardrails`, `lint`, `code-intel`, `team`, `plan-mode`, `runner`, and
233
- `ask-user`. The hooks themselves live in `.doom/hooks.yaml`, one registry shared by every
234
- frontend, where a group is either `core` and always loads, or is pulled in by whichever
235
- layer wants it.
236
-
237
- **A major mode is the one you actually pick.** You do not assemble layers one by one at the
238
- prompt. You select one named major mode with `--major-mode <name>`, and
239
- `.doom/modes.yaml` says which layers it contains. A session has exactly one, the way
240
- an Emacs buffer has exactly one major mode. The file can choose the fallback without
241
- renaming that mode:
112
+ ## Philosophy
242
113
 
243
- ```yaml
244
- defaultMajorMode: minimal
245
- majorMode:
246
- minimal: [guardrails, team]
247
- copilot: [guardrails, team, plan-mode, runner]
248
- ```
114
+ An agent does not need every tool for every job. DoomPi separates the base session from
115
+ the things you switch on for a while: modes choose behavior, domains choose subject
116
+ matter, and profiles choose a point of view.
117
+
118
+ ### Major and minor modes
119
+
120
+ A major mode is the base config. It names the extension layers for development, marketing,
121
+ or whatever else you do. Define as many as you like; only one is active at a time. Synchronized
122
+ sessions can reload compatible changes; launcher-owned composition changes require a relaunch.
249
123
 
250
- An explicit `--major-mode` wins, then `DOOMPI_MAJOR_MODE`, then
251
- `defaultMajorMode`. Omitting the field preserves the compatible `copilot` fallback.
124
+ Minor modes are batteries-included switches inside that base. They start off, stack freely,
125
+ and keep their model tools and skills out of context until turned on. DoomPi ships six:
252
126
 
253
- The flag is `--major-mode` and not `--mode` because Pi already owns `--mode` for its output
254
- mode (`text`, `json`, `rpc`), and for any other value it consumes the argument and ignores
255
- it without a diagnostic. Use `--output-format` for Pi's output mode.
127
+ - **Help mode:** expose package-owned guidance only while you need it.
128
+ - **Plan mode:** remove Pi's file-editing tools while you agree on an approach.
129
+ - **Loop mode:** run a prompt now, then run it again on a schedule.
130
+ - **Goal mode:** keep one objective in view until it is done or dismissed.
131
+ - **Workflow mode:** run jobs with dependencies, timeouts, and artifacts.
132
+ - **Voice mode:** replace typing with local speech.
256
133
 
257
- **Domains are plugins, and a plugin is skills plus MCP.** Selecting a domain decides which
258
- plugins contribute their skills and subagents, which MCP servers the session can reach,
259
- and whether the always-on shared skills apply. A domain can take a whole plugin or a named
260
- subset of one. This is the choice that decides how much the agent can see, so it is also
261
- the lever for keeping context small. Defaults are plural because domains compose:
134
+ ### Domains
135
+
136
+ A domain is a named group of agent plugins. It carries the skills and MCP servers for one
137
+ kind of work, and `/domains` switches it while the session is running.
138
+
139
+ Plugins are cataloged once and domains refer to their names. A configured root may be a
140
+ Codex-compatible marketplace or a folder whose direct children are plugins, so a repository
141
+ with many plugins does not need one entry per directory:
262
142
 
263
143
  ```yaml
264
- defaultDomains: [development, qa]
144
+ plugins:
145
+ roots: [plugins]
146
+ entries:
147
+ remote-review:
148
+ source: url
149
+ url: '<REVIEW_PLUGIN_GIT_URL>'
150
+ ref: v1.2.0
151
+
265
152
  domains:
266
153
  development:
267
- plugins: [plugins/development]
268
- qa:
269
- plugins: [plugins/qa]
154
+ description: Implementation and code-review tools.
155
+ plugins: [pi-development, remote-review]
270
156
  ```
271
157
 
272
- Explicit `--domain` or `--domains` flags win, then `DOOMPI_DOMAINS`, then
273
- `defaultDomains`.
274
-
275
- **Profiles are a persona and a brand.** `.doom/profiles.yaml` points at a directory under
276
- `agents/<brand>/<person>/`, and doom concatenates that person's `profile.md`, `SOUL.md`,
277
- and `AGENTS.md` into the system prompt: identity and the brand it represents, then voice,
278
- then role and rules. A profile also carries environment defaults, and nothing else. It
279
- cannot select domains, major modes, models, presets, or policy, and an exported value
280
- always beats a profile default.
158
+ DoomPi also checks personal and repository Codex marketplace layouts. Marketplace IDs use
159
+ `plugin@marketplace`. Remote Git and npm sources are downloaded once into the persistent
160
+ `~/.pi/.doom/plugin-cache` directory. Cache entries are reused until their source descriptor
161
+ changes; use a Git SHA or exact npm version for reproducible installs. Home and repository
162
+ catalogs merge, and repository names replace matching home names.
281
163
 
282
- Switching is live. `/major-mode`, `/domains`, and `/profile` re-resolve into the running
283
- session and reload. A domain or profile switch always applies in place. A major mode switch
284
- applies in place too unless the new mode changes which extension packages load, since Pi
285
- freezes the `--extension` set at construction; the picker tells you when a relaunch is
286
- needed.
164
+ A blog is not one task. Research it, draft it, make the assets, then review it. Turn on the
165
+ `visual` domain while making assets; the other three steps have no reason to carry it.
287
166
 
288
- ### Minor modes
167
+ ### Profile
289
168
 
290
- A major mode is chosen once per session and selects layers. Minor modes are the opposite:
291
- you toggle them while the session runs, several can be on at once, and none of them changes
292
- which extensions are loaded.
169
+ An LLM has no house style until you give it one. A profile can supply a narrative, brand
170
+ rules, or a different voice. It is optional; no profile is a perfectly good profile.
293
171
 
294
- | Minor mode | Toggle | Owned by |
295
- | ---------- | -------------------- | ---------------------------- |
296
- | plan | `/plan`, `SPC p` | `@agimon-ai/doompi-plan` |
297
- | loop | `/loop`, `SPC l` | `@agimon-ai/doompi-loop` |
298
- | workflow | `/workflow`, `SPC w` | `@agimon-ai/doompi-workflow` |
172
+ Profile roots remove the need to list every persona folder. A root may itself contain the
173
+ persona files, or its direct-child folders become profiles named after those folders. DoomPi
174
+ recognizes `profile.md`, `SOUL.md`, and `AGENTS.md` and never searches deeper directories.
299
175
 
300
- Each one publishes a label to a shared `MODES` line rather than painting a row of its own,
301
- so three enabled modes cost one line rather than three. The registry is
302
- `@agimon-ai/doompi-extension-contracts/mode`.
176
+ ```yaml
177
+ profiles:
178
+ roots: [agents/acme]
179
+ entries:
180
+ editor:
181
+ persona: agents/special/editor
182
+ env:
183
+ EDITOR_MODE: strict
184
+ ```
303
185
 
304
- ## For autonomous agents
186
+ Roots from the home and repository files accumulate relative to their declaring config.
187
+ Repository discoveries replace same-named home discoveries. Explicit entries override
188
+ discovery and can add string environment defaults; repository entries replace matching home
189
+ entries. Select one at launch with `--profile editor` or switch with `/profile`.
305
190
 
306
- ### Minimal context
191
+ ## What this buys you
307
192
 
308
- Fewer options, better choices. Domains cut the skill list and the tool list together. A
309
- domain that names three plugins gives the agent those plugins' skills and nothing else,
310
- and one with an `mcp` allowlist reaches only the servers and proxy upstreams it names.
193
+ Every tool schema and skill name competes for the same context. Loading less has two
194
+ immediate effects:
311
195
 
312
- `--explain` prints what any combination costs before you launch it, and ends with the bill:
196
+ 1. You spend fewer tokens before the work begins.
197
+ 2. The model has fewer plausible-but-wrong tools and skills to choose from.
313
198
 
314
- ```
315
- $ doompi --domains development --explain
316
- ...
317
- skills: 24 (from 3 directories)
318
-
319
- context cost (tokens)
320
- skills prompt 3,772 always on
321
- persona 0 always on
322
- startup total 3,772
323
- skill bodies 54,145 read on demand
324
-
325
- Excludes MCP tool schemas, which the servers only report once connected,
326
- and skills contributed by extensions, which register after startup.
327
- ```
199
+ The savings get larger when each workflow job starts with its own config instead of
200
+ inheriting the last job's toolbox.
328
201
 
329
- Every figure comes from files on disk, so two runs of the same selection print the same
330
- numbers and you can reproduce them on your own repository rather than trusting these.
202
+ ### Copilot
331
203
 
332
- MCP tool schemas are the one cost this cannot price. They exist only after a server
333
- connects, and pricing them would mean spawning every configured server on a command meant
334
- to be instant. Scoping them is still a declared choice; the saving is just not counted here.
204
+ I got tired of remembering slash commands, so `SPC` is the map. It opens only when the
205
+ draft is empty; a space in the middle of a prompt remains a space. Press it, read the
206
+ choices, then press the next key.
335
207
 
336
- A domain without an `mcp` key admits everything, and one unscoped domain in the selection
337
- unfilters the rest. Scoping applies only when every selected domain declares it.
208
+ When the keyboard is the wrong tool, autonomous Voice mode keeps the conversation going.
209
+ You can talk to the agent while doing the chores instead of carrying a laptop around the
210
+ house, and the primary agent can speak its own opening, milestone, and final updates.
338
211
 
339
- A domain can also take a named subset of one plugin's skills, by name or glob.
212
+ ### Autopilot
340
213
 
341
- ### Workflows
214
+ Copilot helps while you are present. Loop and Workflow keep work moving when you are not.
215
+ Together they can dispatch structured jobs from one live session.
342
216
 
343
- Long autonomous work runs as workflows, in the shape a GitHub Actions user already knows:
344
- `on:`, `jobs:`, `needs:`, `steps:`, timeouts, and declared artifacts.
217
+ #### Workflows
345
218
 
346
- The payoff is that every step names the session it wants. A workflow is where
347
- `--major-mode`, `--domains`, and `--profile` stop being things you type and become part of
348
- the definition, so one run can hand each job exactly the context that job needs and nothing
349
- else:
219
+ GitHub Actions already has a decent vocabulary for long jobs, so DoomPi reuses it. Each job
220
+ declares the DoomPi session it wants. Here, implementation gets development tools; an
221
+ article waits for it and gets focused blog-writing context:
350
222
 
351
223
  ```yaml
224
+ on:
225
+ workflow_dispatch:
226
+
352
227
  jobs:
353
228
  implement:
354
- needs: intake
355
229
  steps:
356
- - name: Implement
230
+ - name: Build the feature
357
231
  timeout-minutes: 180
358
- artifacts: [implementation/report.md]
359
232
  interactiveRun:
360
233
  default: |
361
- doompi --major-mode dev --domains development --auto-stop \
234
+ doompi --major-mode examples --domains development --auto-stop \
362
235
  --cwd "$PWD" "$JOB_SYSTEM_PROMPT"
363
236
 
364
- announce:
237
+ article:
365
238
  needs: implement
366
239
  steps:
367
- - name: Draft the release note
240
+ - name: Write the article
368
241
  timeout-minutes: 30
369
- artifacts: [marketing/release-note.md]
370
242
  interactiveRun:
371
243
  default: |
372
- doompi --major-mode marketing --domains marketing \
373
- --profile brand-voice --auto-stop \
244
+ doompi --major-mode examples --domains blog --auto-stop \
374
245
  --cwd "$PWD" "$JOB_SYSTEM_PROMPT"
375
246
  ```
376
247
 
377
- Two jobs, two different agents. `implement` runs under a major mode carrying lint and code
378
- intelligence and a domain carrying coding skills. `announce` drops both, takes a domain
379
- scoped to a handful of MCP servers, and adds a profile, so the release note comes out in a
380
- named persona's voice rather than the agent's own. Neither job can drift into the other's
381
- context, and the same job resolves the same way on every run.
382
-
383
- The one real departure from GitHub Actions is `extends:`, which lets a job inherit shared
384
- setup from a named template rather than repeating it.
385
-
386
- The engine itself is not in this package. `@agimon-ai/doompi-workflow` provides the in-session
387
- surface on `SPC w`, and its dispatcher exposes `list_workflows` to any session but scopes
388
- `launch_workflow` to the root session, so a subagent can look but not spawn. The `workflow`
389
- hook group is `core`, so it loads in any major mode.
248
+ #### Native plugin and workflow examples
249
+
250
+ This source repository includes a complete, deliberately small example stack:
251
+
252
+ ```text
253
+ plugins/
254
+ development/ implementation skill and developer agent
255
+ testing/ testing and review skills, tester and reviewer agents
256
+ blog-writing/ research, outline, drafting, and editorial skills and agents
257
+ automations/workflows/
258
+ dev-feature.workflow.yml
259
+ dev-fix.workflow.yml
260
+ blog-writing.workflow.yml
261
+ ```
262
+
263
+ Each plugin has both `.codex-plugin/plugin.json` and `.claude-plugin/plugin.json`, while its
264
+ `skills/` and `agents/` content is shared. `.doom/domains.yaml` exposes the `development`,
265
+ `testing`, and `blog` domains plus the `engineering` alias. `.doom/modes.yaml` mirrors the
266
+ standalone package set with workspace-local paths, keeps its canonical modes, and adds a layer-free
267
+ `examples` base mode for the tracked workflows. Inspect the exact session before launch:
268
+
269
+ ```bash
270
+ doompi --major-mode examples --domains engineering --explain
271
+ doompi --major-mode examples --domains blog --explain
272
+ ```
273
+
274
+ The same bundles can be installed directly through either native marketplace:
390
275
 
391
- ### Long runs
276
+ ```bash
277
+ # Codex
278
+ codex plugin marketplace add .
279
+ codex plugin add development@doompi-examples
392
280
 
393
- Tasks, teams, runners, and compaction share one working state, so a long autonomous run
394
- does not lose its place.
281
+ # Claude Code
282
+ claude plugin marketplace add ./ --scope user
283
+ claude plugin install development@doompi-examples --scope user
284
+ ```
395
285
 
396
- - **Tasks** (`SPC t`) are a file-backed graph with dependencies and delegation, not a
397
- scratch list.
398
- - **Teams** (`SPC a`) run named subagents asynchronously against that same board,
399
- sequentially or in parallel.
400
- - **Runners** (`SPC r`) replace the bash tool and detach long commands, then reconcile
401
- them afterwards.
402
- - **Compaction** runs on a three-pass ladder in a worker thread, so the session never
403
- blocks on it.
286
+ Substitute `testing` or `blog-writing` to install another bundle. No DoomPi-specific plugin
287
+ schema is involved.
404
288
 
405
- The integration is the point. When compaction summarizes, it does not guess at
406
- coordination state: it reads the live plan, tasks, and team snapshot, and commits them
407
- next to the summary as authoritative rather than leaving them to be reconstructed from
408
- prose. Detached runners reconcile themselves once the context has been rewritten. The
409
- agent comes out the other side knowing what it was doing, what is still running, and who
410
- is doing what.
289
+ List and dry-run the tracked workflows before spending a model call:
411
290
 
412
- ## Core is not a layer
291
+ ```bash
292
+ pnpm exec workflow-mcp list-workflows automations/workflows
293
+ pnpm exec workflow-mcp run-workflow automations/workflows/dev-feature.workflow.yml \
294
+ --dry-run --skip-launch --prompt "Add a health check"
295
+ pnpm exec workflow-mcp run-workflow automations/workflows/blog-writing.workflow.yml \
296
+ --dry-run --skip-launch --prompt "Write a practical guide to scoped agent tooling"
297
+ ```
413
298
 
414
- Telemetry, workflow orchestration, the dispatch loop, and editor plumbing ship
415
- unconditionally and are absent from `modes.yaml` on purpose. They are the reason the
416
- harness exists, so making them optional would only create broken configurations. Layers
417
- are for opinions, not foundations.
299
+ Real runs delegate to tmux by default and accept `WORKFLOW_LAUNCHER=cmux`. Development runs do
300
+ not create branches, commits, or pushes. Blog runs leave review-ready Markdown, sources, and a
301
+ publication checklist in the workflow run directory without writing into a site or calling a CMS.
302
+ These examples live in the source repository and are not part of the published npm tarball.
418
303
 
419
- ## Who owns what
304
+ #### Loop
420
305
 
421
- Doom Pi is a meta-package. It depends on the Doom closure (`@agimon-ai/doompi-*`) and composes
422
- it, and it depends on nothing that belongs to the repository consuming it. The Agiflow and
423
- Agent Hooks extensions are consumer-owned: the repository declares them in its own
424
- `.doom/modes.yaml` and installs them itself, and they load after the Doom packages.
306
+ Workflow definitions are exposed like skills, so the agent can choose one for the job. A
307
+ loop can send a subagent to fetch the next task, then dispatch the workflow that matches
308
+ it. One session becomes the dispatcher instead of the place every job has to fit.
309
+
310
+ ## Features
425
311
 
426
- That split decides where a specifier resolves. A package the repository declares resolves
427
- from the repository root, walking its module chain; anything that does not resolve there
428
- falls back to what ships with the installed meta-package. So a consumer can add a layer
429
- without Doom Pi knowing the package exists, and Doom Pi can ship its own closure without
430
- the consumer declaring it.
312
+ DoomPi is a distribution, not one giant extension. Each package owns one job; shared TUI,
313
+ Cordis services, and session contracts make them behave like one. Use the generated
314
+ `default.packages` list together, remove packages you do not want, or replace its entries one
315
+ at a time. Selectable packages are not runtime dependencies of the root package or of one another.
431
316
 
432
- Package resources follow the same rule: the UI theme is shipped by `@agimon-ai/doompi-ui`
433
- and the workflow-recovery skill by `@agimon-ai/doompi-workflow`, each declared in its own
434
- manifest, so an installed package is discoverable without this checkout. Every Doom package
435
- publishes through an explicit `files` allowlist, which keeps repository material such as
436
- `docs/ideas/` out of any tarball.
317
+ ### Foundation and interface
318
+
319
+ #### Configuration and composition
437
320
 
438
- A repository is recognised by a Doom or trusted Pi marker: a `.doom/` directory, or an
439
- existing `.pi/settings.json`. No Nx, pnpm workspace, or plugins profile is required, so a
440
- plain repository that installs the package can launch it.
321
+ [`@agimon-ai/doompi`][pkg-doompi] is both an extension and the command-line config compiler.
322
+ `dpi init` creates repository config for an isolated experiment, while `doompi init` creates the
323
+ personal config and registers the permanent Pi integration. The sync commands resolve every major
324
+ mode and domain into a distribution Pi can load quickly.
441
325
 
442
- ## Lazy config
326
+ #### Supporting packages
443
327
 
444
- Under the launcher, everything is resolved per run and nothing is written back into the
445
- repository. Editing a YAML file is the entire change.
328
+ [`@agimon-ai/doompi-config`][pkg-doompi-config] resolves the four YAML files and exposes the
329
+ configuration API. [`@agimon-ai/doompi-domain`][pkg-doompi-domain] owns domain selection, plugin
330
+ materialization, resource staging, and MCP scoping.
331
+ [`@agimon-ai/doompi-core`][pkg-doompi-core] contains the shared
332
+ Cordis service and event contracts used by extension authors.
333
+ [`@agimon-ai/doompi-hashline`][pkg-doompi-hashline] provides the shared snapshot tags and line-anchor
334
+ protocol. [`@agimon-ai/doompi-read`][pkg-doompi-read] and [`@agimon-ai/doompi-grep`][pkg-doompi-grep]
335
+ produce editable anchors for writable files while preserving Pi's native output for non-writable files.
336
+ [`@agimon-ai/doompi-edit`][pkg-doompi-edit] replaces Pi's search-and-replace `edit` tool with
337
+ stale-safe ranges anchored to the file content the model read or searched.
338
+ [`@agimon-ai/doompi-file-edit`][pkg-doompi-file-edit] opens files in the configured editor and
339
+ keeps the edit timeline. [`@agimon-ai/doompi-log`][pkg-doompi-log] collects session events, while
340
+ [`@agimon-ai/doompi-telemetry`][pkg-doompi-telemetry] is the library-level telemetry adapter.
446
341
 
447
- `doompi sync` trades that for a pinned setup: the same resolution runs once and lands in
448
- `.pi/doom/`, while `.pi/settings.json` keeps the stable `@agimon-ai/doompi` extension name.
449
- An internal `.pi/@agimon-ai/doompi` package alias lets Pi resolve that stable name; the
450
- package entry then locates and dynamically loads the generated bootstrap from synced state.
451
- Edit a YAML file and the next session says the config changed, the way doom emacs asks you
452
- to re-run `doom sync`.
342
+ Runner selects matching RMUX and RTK native artifacts automatically. Do not install them directly.
343
+ The packages cover macOS and Linux on arm64 and x64 for both [RMUX][pkg-rmux-darwin-arm64] and
344
+ [RTK][pkg-rtk-darwin-arm64].
453
345
 
454
- `doompi init` seeds `~/.pi/.doom` with all five file names, but only `config.yaml` from
455
- there is read at runtime. Major modes, domains, profiles, and hooks are always read from the
456
- repository `.doom/`, so the other four seeded files affect nothing beyond the inputs hash.
346
+ #### Leader key
457
347
 
458
- Either way the hook registry compiles to the files other frontends read before any harness
459
- code runs, and `doompi sync` regenerates them.
348
+ [`@agimon-ai/doompi-ui`][pkg-doompi-ui] turns `SPC` into a map of the available commands. It stays out of
349
+ the way when a draft is not empty, and other packages contribute bindings through one
350
+ leader API instead of hardcoding their own menus.
460
351
 
461
- ## Other frontends
352
+ ### Coordinated work
462
353
 
463
- Pi is the primary frontend. Claude Code, Codex, and Antigravity run through
464
- `doompi compat <provider>` and share the same domain config as far as each can:
354
+ #### Agent team
465
355
 
466
- | | Pi | Claude Code | Codex | Antigravity |
467
- | ------------------- | ----------------- | ----------------------------- | ------------------------ | ------------------- |
468
- | domains to plugins | yes | yes | yes | yes |
469
- | hooks | from the registry | generated `settings.json` | generated `hooks.json` | copied `hooks.json` |
470
- | MCP servers | scoped | scoped | unscoped | scoped |
471
- | MCP proxy upstreams | scoped | scoped | scoped | scoped |
472
- | major mode | packages + hooks | shared hook groups | shared hook groups | shared hook groups |
473
- | personas | system prompt | `--append-system-prompt-file` | `developer_instructions` | no |
356
+ [`@agimon-ai/doompi-team`][pkg-doompi-team] runs named subagents asynchronously. It owns agents,
357
+ runs, membership, intercom, and model policy; Task owns the persistent task graph used for
358
+ delegation. Agents can work in parallel and message one another. `SPC a l` lists available agents;
359
+ `SPC a r` opens current-session runs and their controls.
474
360
 
475
- Compatibility frontends use the selected major mode for shared hook state. Layer packages
476
- and Pi extensions are loaded only by Pi.
477
-
478
- Antigravity is the odd one. It reads its configuration from the workspace and from the
479
- user's home directory rather than from arguments, so every selection is written to disk
480
- before launch and reverted when it is no longer selected. Everything the harness writes is
481
- tracked in a managed-state file, so a file you created by hand is never silently replaced.
482
- Its hooks are copied from `.antigravity-local/hooks.json`, which is maintained by hand
483
- rather than generated from the registry.
361
+ #### Tasks
484
362
 
485
- Where a concept has no equivalent, it is left out rather than approximated.
486
-
487
- ## Files
363
+ [`@agimon-ai/doompi-task`][pkg-doompi-task] keeps a task graph on disk, not a disposable checklist in the
364
+ transcript. Dependencies persist independently of transcript compaction, and work can be handed to
365
+ a subagent, including a smaller model when the job does not need the expensive one. Seeded
366
+ `minimal` and `copilot` modes select its `task` layer; omit that layer when a major mode
367
+ should not expose the task tool.
488
368
 
489
- All Doompi configuration lives in `.doom/`, committed to git.
369
+ #### Runner
490
370
 
491
- ```
492
- .doom/
493
- config.yaml projectTrust, plus the selection sync pins
494
- domains.yaml domains, plus aliases for shorthand bundles
495
- modes.yaml layer definitions and the named major modes built from them
496
- hooks.yaml canonical hooks for all three frontends
497
- profiles.yaml persona and environment profiles
498
-
499
- agents/<product>/<person>/ persona source, referenced never copied
500
- ```
371
+ [`@agimon-ai/doompi-runner`][pkg-doompi-runner] replaces Pi's blocking `bash` tool with
372
+ supervised command execution. `doompi init` includes Runner in `default.packages`, so every
373
+ generated mode gets it. Short commands still return inline; commands that pass the configurable
374
+ threshold of 60 seconds by default move into the background with durable logs. Use
375
+ `background: true` for an immediate detached run or `interactive: true` when the command needs
376
+ terminal input. Runner IDs and complete raw logs remain available to the current session through
377
+ Runner Space at `SPC r l` or the `doom-runner` CLI. Runner tries bundled RMUX, then `rmux` on PATH,
378
+ then `tmux` on PATH. If no pane backend accepts the run, non-interactive commands use a supervised
379
+ subprocess; interactive commands require RMUX or tmux. Conservatively recognized single commands
380
+ use the matching RTK stdin filter after completion. Compound commands, pipelines, incompatible
381
+ formats, and unsupported commands keep bounded raw output. Remove Runner from `default.packages` to keep Pi's
382
+ `bash`, or add it to a named layer when only selected modes should replace `bash`.
501
383
 
502
- `doompi sync` writes into `.pi/`:
384
+ #### Auto-compact
385
+
386
+ Ordinary compaction waits for one summary to save an overgrown session.
387
+ [`@agimon-ai/doompi-autocompact`][pkg-doompi-autocompact] leaves checkpoints instead:
388
+
389
+ 1. At 50%, it writes the first compact summary.
390
+ 2. Later, it combines that summary with the messages since; the model decides whether the
391
+ result is ready to use.
392
+ 3. On the third pass, it combines them again and forces compaction.
393
+
394
+ The work runs off-thread and can make up to three additional summarization calls. The standard
395
+ adapter preserves staged conversation checkpoints; Task and Team keep their own state rather than
396
+ being embedded as special snapshots in the compact summary.
397
+
398
+ ### Context and access
399
+
400
+ #### Help mode
401
+
402
+ [`@agimon-ai/doompi-help`][pkg-doompi-help] keeps package guidance out of the default prompt. A
403
+ fresh parent session performs no Help retrieval and exposes no Help skills. Use `SPC h e`, or the
404
+ existing `minor_mode` client in headless sessions, to activate the package indexes; use the same
405
+ action to deactivate them before the next interaction. Help names state their intent: authoring
406
+ guides use `doompi-author-*`, while operational guides use `doompi-use-*`. Core authoring guidance
407
+ covers extensions, runtime config, major modes, domains, profiles, hooks, workflows, and skills.
408
+ Parent and detached-child sessions both include the Help runtime, while root and axis authoring
409
+ guides remain parent-owned and all guidance stays withdrawn until Help mode is activated.
410
+
411
+ #### MCP
412
+
413
+ [`@agimon-ai/doompi-mcp`][pkg-doompi-mcp] is the gate between a session and its servers. It reads
414
+ repository and legacy plugin `.mcp.json` plus Agent Plugins v1 `mcp.json`, then exposes only the
415
+ servers and proxy upstreams allowed by the selected domains. A domain switch persists an immutable
416
+ projection; after Pi replaces the factories, Config publishes it through the session Cordis
417
+ registry and MCP starts a fresh in-memory `mcp-proxy` container. No Hono server or localhost proxy
418
+ sits in this path.
419
+
420
+ #### Ask user question
421
+
422
+ [`@agimon-ai/doompi-user-feedback`][pkg-doompi-user-feedback] gives the agent a structured question
423
+ that actually waits for an answer. In autonomous Voice mode it skips the modal, narrates the
424
+ choices, and accepts the next spoken response as an ordinary user message.
425
+
426
+ #### Logging and telemetry
427
+
428
+ DoomPi logging records operational metadata such as counters, spans, session IDs, tool names, and
429
+ errors. Callers remain responsible for values they attach to telemetry. `SPC h l` opens current-session
430
+ metrics, and [`@agimon-ai/log-sink-mcp`][pkg-log-sink-mcp] provides historical lookup when a sink is
431
+ configured.
432
+
433
+ ### Modes and automation
434
+
435
+ #### Plan mode
436
+
437
+ A promise to "only plan" is not a permission boundary. [`@agimon-ai/doompi-plan`][pkg-doompi-plan]
438
+ removes Pi's `edit` and `write` tools while the agent explores, persists the plan, and hands it back
439
+ for approval. It does not sandbox Bash, external tools, or the operating system. `SPC p e` enters
440
+ normal planning and leaves it again once on; `SPC p d` is debug planning and `SPC p f` the Fable
441
+ flow.
442
+ Turn it on when the approach should be settled before the files move.
443
+
444
+ #### Loop mode
445
+
446
+ [`@agimon-ai/doompi-loop`][pkg-doompi-loop] is an in-session scheduler. It runs a prompt immediately
447
+ and then repeats it on an interval; several loops can coexist. Use `SPC l s` to start one and
448
+ `SPC l l` to list or stop them. It is for recurring checks and prompts that belong to the current
449
+ session.
450
+
451
+ #### Goal mode
452
+
453
+ [`@agimon-ai/doompi-goal`][pkg-doompi-goal] pins one objective to the session until it completes or
454
+ you end it. `SPC g e` starts a goal and ends it once one is held; `SPC g g` shows status and
455
+ `SPC g l` lists repository history. Finished goals stop contributing active instructions and tools but remain in history when
456
+ you want to restart one.
457
+
458
+ #### Workflow mode
459
+
460
+ [`@agimon-ai/doompi-workflow`][pkg-doompi-workflow] runs GitHub Actions-style job graphs with
461
+ dependencies, timeouts, artifacts, and a separate DoomPi session for each step. Use `SPC w l` to
462
+ browse the repository's workflows and launch one with `r`, `SPC w r` to inspect this session's runs,
463
+ `SPC w c` to recover a failed run, and `SPC w e` to give the agent workflow tools or take them back. It is for work that needs hard job boundaries and explicit
464
+ handoffs rather than one long conversation.
465
+
466
+ #### Voice mode
467
+
468
+ [`@agimon-ai/doompi-voice`][pkg-doompi-voice] captures PCM audio through the local platform helper
469
+ and can transcribe it locally. Transcript text, session state, and model requests may still cross
470
+ process or provider boundaries according to the configured engines. `SPC v m` is one-shot manual
471
+ dictation and never enables Voice tools. `SPC v e` enters autonomous capture and exits it again; only its exact-active
472
+ TUI session receives the two Voice façades plus the standalone `narrate` tool.
473
+
474
+ While `narrate` is available, the primary agent calls it before every user-facing final
475
+ response. Final narration contains the complete answer, including every user-relevant
476
+ conclusion, question, warning, result, and next action in the written response, rather than
477
+ leaving essential information only in text. Short turns need one complete spoken answer;
478
+ longer work also gets an opening and meaningful milestone calls. Each ready-to-speak
479
+ utterance is limited to 4,096 characters, waits for physical playback, and returns
480
+ `completed`, `interrupted`, `superseded`, or `failed`.
481
+
482
+ If the agent never attempts `narrate` during a run, exact-active Voice speaks one sanitized
483
+ turn-end fallback rather than leaving the final response silent. Finals of at most 320
484
+ characters use deterministic speech; longer finals use the configured
485
+ `voice.autoCapture.model` for one bounded summary, with deterministic degradation on
486
+ failure or timeout. Any `narrate` attempt suppresses this safety net, so it cannot duplicate
487
+ or retry direct speech. Voice does not generate automatic intent, plan, milestone, or tool
488
+ progress narration. External task, workflow, and user-feedback narration remains
489
+ available, and the same model continues to provide bounded command correction.
490
+
491
+ ## Configuration
492
+
493
+ DoomPi reads four configuration files:
494
+
495
+ - `config.yaml` defines runtime settings such as trust, editor, planning, and voice behavior.
496
+ - `modes.yaml` defines default packages, extension layers, and major modes.
497
+ - `domains.yaml` catalogs plugins and sets session access.
498
+ - `profiles.yaml` supplies persona files and environment defaults.
499
+
500
+ Each matrix file has two optional layers: personal defaults in `~/.pi/.doom/` and repository
501
+ overrides in `<repository>/.doom/`. DoomPi loads both. Unique named entries from either layer
502
+ remain available; a same-named repository entry replaces the complete personal entry. Plugin
503
+ and profile roots from both layers are retained. Relative paths in personal config resolve
504
+ from `~/.pi/.doom/`; relative paths in repository config resolve from the repository root.
505
+
506
+ ### `modes.yaml`: choose behavior
507
+
508
+ A layer is an ordered bundle of extension packages and hook groups. A major mode names the
509
+ layers that should run together. The top-level `default.packages` list is the ordered package
510
+ baseline for every major mode. `doompi init` and `dpi init` write the distribution's current
511
+ feature packages there so the baseline is visible and replaceable. If `default` is absent,
512
+ DoomPi adds no default feature packages. Use `default.packages: []` for an explicit empty
513
+ baseline. The fixed host core remains active independently of this setting, and named layers
514
+ keep their existing behavior.
515
+
516
+ Launch installs missing required packages from the defaults and selected layers. `doompi sync`
517
+ installs missing required packages from the defaults and every declared layer, moves every
518
+ package in Pi's managed `.pi/npm` store to its newest published version, then builds the
519
+ synchronized matrix. A package whose published version cannot be read, because the machine is
520
+ offline or the registry refuses the request, keeps its installed version and is named in the
521
+ sync output. `doompi sync --check` reports missing packages without modifying the repository. Optional packages and local paths are not installed automatically. Removing an
522
+ entry stops activating it but leaves Pi's package cache available for later reuse.
523
+
524
+ Packages in `default` and named layers may be bare strings, or mappings when the package accepts
525
+ configuration:
503
526
 
504
- ```
505
- .pi/settings.json committed; sync owns extensions, themes, and theme
506
- .pi/doom/ generated and gitignored
507
- state.json environment, resolved paths, and the inputs hash
508
- mcp.json mcp-extension.ts agents/ persona.md doom-pi-dark.json
509
- run/<pid>/ one session's live switches, never the baseline
510
- harness-state.json that session's own state, owned by its process
527
+ ```yaml
528
+ default:
529
+ packages:
530
+ - '@agimon-ai/doompi-help'
531
+ - '@agimon-ai/doompi-hook'
532
+ - '@agimon-ai/doompi-goal'
533
+ - '@agimon-ai/doompi-voice'
534
+ - '@agimon-ai/doompi-runner'
535
+ - '@agimon-ai/doompi-read'
536
+ - '@agimon-ai/doompi-grep'
537
+ - '@agimon-ai/doompi-edit'
538
+ - '@agimon-ai/doompi-file-edit'
539
+ - '@agimon-ai/doompi-autocompact'
540
+ - '@agimon-ai/doompi-loop'
541
+ - '@agimon-ai/doompi-plan'
542
+ - '@agimon-ai/doompi-workflow'
543
+ - '@agimon-ai/doompi-log'
544
+ - '@agimon-ai/doompi-mcp'
545
+
546
+ layers:
547
+ team:
548
+ packages:
549
+ - name: '@agimon-ai/doompi-team'
550
+ config:
551
+ models:
552
+ - model: provider/model-id
553
+ thinking: high
554
+ review:
555
+ packages:
556
+ - '@scope/review-extension'
557
+
558
+ defaultMajorMode: copilot
559
+ majorMode:
560
+ minimal:
561
+ description: Lean sessions with delegation and little else.
562
+ layers: [team]
563
+ copilot:
564
+ description: General coding with delegation and review tools.
565
+ layers: [team, review]
511
566
  ```
512
567
 
513
- ### One owner for the state
568
+ Order matters: DoomPi assembles `default.packages` first, then the selected layers and their
569
+ packages from left to right. Put settings under the package that consumes them; a layer is
570
+ composition, not a mystery bag of shared configuration. Home and repository `layers` and
571
+ `majorMode` records merge by name, with the repository definition winning a collision. If both
572
+ sources declare `default`, the repository block replaces the personal block as one whole package
573
+ list.
514
574
 
515
- The resolved matrix a session runs on is a file, not a set of variables.
516
- `DOOMPI_STATE` points at it, and everything else the harness exports is derived from
517
- it: a projection published for the readers that can only see an environment, which are bash
518
- hooks, the shell launchers, `agent-hooks`, and any process spawned by any of them. Two
519
- fields never appear there at all, because nothing outside `@agimon-ai/doompi-config` reads
520
- them and every hook spawn would otherwise copy them: the plugin hook list and the profile's
521
- environment defaults.
575
+ Configurations created before the hashline tools were split may contain only `doompi-edit`.
576
+ Replace that entry with the ordered `doompi-read`, `doompi-grep`, and `doompi-edit` trio. Init
577
+ preserves existing configuration unless it is run with `--force`.
522
578
 
523
- Ownership is per process, and that is the point. Doom Team subagents run detached, from an
524
- environment snapshot, and can outlive the parent that spawned them. So a spawner writes the
525
- child a file of its own in that run's directory, and any process that finds a file it does
526
- not own copies it before its first write. A child can neither corrupt its parent's session
527
- nor lose its own when the parent cleans up.
579
+ Choose a mode with `--major-mode copilot`, switch it with `/mode`, or change
580
+ `defaultMajorMode` when one mode should be the ordinary starting point.
528
581
 
529
- It also regenerates the two hook files the other frontends read before any harness code
530
- runs, which live outside `.pi/`:
582
+ ### `domains.yaml`: choose content and access
531
583
 
532
- ```
533
- .claude/settings.json the "hooks" key only; every other key is preserved
534
- .codex-local/hooks.json the whole file
584
+ Plugins are cataloged once, then domains refer to their names. A root can be a marketplace,
585
+ a single plugin, or a container whose direct-child folders are plugins. Discovery is
586
+ intentionally nonrecursive: a tool buried five directories down should not load by accident.
587
+
588
+ ```yaml
589
+ defaultDomains: [development]
590
+
591
+ plugins:
592
+ roots: [plugins]
593
+ entries:
594
+ remote-review:
595
+ source: url
596
+ url: '<REVIEW_PLUGIN_GIT_URL>'
597
+ ref: v1.2.0
598
+ published-research:
599
+ source: npm
600
+ package: '@acme/research-plugin'
601
+ version: 1.4.0
602
+
603
+ domains:
604
+ development:
605
+ description: Repository implementation tools.
606
+ plugins: [coding-tools]
607
+ review:
608
+ description: Focused review skills with a narrow MCP boundary.
609
+ plugins:
610
+ - name: remote-review
611
+ skills: [typescript]
612
+ agents: [reviewer]
613
+ hooks: false
614
+ mcp: true
615
+ mcp:
616
+ servers: [filesystem]
617
+ proxy: [github]
618
+
619
+ aliases:
620
+ work: [development, review]
535
621
  ```
536
622
 
537
- Edit `hooks.yaml` and re-run `doompi sync` to regenerate both.
623
+ Here, `coding-tools` is discovered from `plugins/coding-tools`; its manifest name, or its
624
+ folder name when no manifest name exists, becomes the catalog ID. Local roots and entries
625
+ resolve beside the declaring file. Git and npm entries are cached in
626
+ `~/.pi/.doom/plugin-cache`; pin a Git SHA or exact package version when reproducibility
627
+ matters. Domains may load an entire plugin or select only its skills, agents, hooks, and MCP
628
+ configuration. The optional `mcp` mapping is an allowlist, not a request to start every server
629
+ in the repository.
538
630
 
539
- ## Selection
631
+ Select one or more domains with `--domains development,review`, use an alias such as
632
+ `--domains work`, or switch them with `/domains`. `--no-domains` is useful when the right
633
+ amount of repository context is none.
540
634
 
541
- Use singular `--profile <name>` for one persona and its environment defaults. Use
542
- `--domains <name[,name...]>` for plugin bundles. Both `--major-mode` and `--profile` take
543
- exactly one name, reject a comma, and can be given only once. The removed `--layer`,
544
- `--layers`, `--profiles`, and `--target` flags throw and point at the replacement, and so
545
- does the removed `DOOMPI_LAYER` variable: a stale export is worth an error rather than a
546
- session quietly starting on the default.
635
+ ### `profiles.yaml`: choose a point of view
547
636
 
548
- Defaults when you name nothing: `defaultMajorMode` from `.doom/modes.yaml` and the
549
- `defaultDomains` list from `.doom/domains.yaml`. Omitting those fields preserves the
550
- compatible fallbacks: major mode `copilot`, plus domain `marketing` for the legacy
551
- `marketing` mode or `default` for every other mode.
637
+ A profile directory becomes discoverable when it directly contains `profile.md`, `SOUL.md`,
638
+ or `AGENTS.md`. A root may be one profile or a container of direct-child profiles. The folder
639
+ name becomes the profile name; DoomPi concatenates those three files in that order.
552
640
 
553
- Environment equivalents are `DOOMPI_MAJOR_MODE`, `DOOMPI_DOMAINS`, and `DOOMPI_PROFILE`.
554
- `DOOMPI_PRESET` and `DOOMPI_ADDITIONAL_DIRS` work the same way for `--preset` and
555
- `--add-dir`. An empty `DOOMPI_DOMAINS` means no domains, not the default. No profile is
556
- selected unless one is named.
641
+ ```yaml
642
+ profiles:
643
+ roots: [personas]
644
+ entries:
645
+ release-writer:
646
+ persona: personas/release-writer
647
+ env:
648
+ BRAND: acme
649
+ TONE: concise
650
+ ```
557
651
 
558
- There is one variable per axis. A nested run inherits its launcher's choice because the
559
- launcher writes the resolved value into the child environment under the same name, so
560
- anything you exported yourself is what a top-level run uses and what a spawned run
561
- overrides. These used to be two variables, `DOOM_PI_*` for the selection and
562
- `AGENT_HARNESS_*` for the resolved projection, with the second outranking the first. Any
563
- surviving `AGENT_HARNESS_*` variable now throws and names its replacement, because a stale
564
- export in a shell profile is worth an error.
652
+ With that config, `personas/release-writer/profile.md` is enough to discover
653
+ `release-writer`. The explicit entry is optional; use one when the profile needs another name,
654
+ an exact persona path, or string environment defaults. Explicit entries override discovered
655
+ folders. Already exported environment values win, so selecting a profile never quietly
656
+ replaces a value supplied by the caller.
565
657
 
566
- `DOOMPI_LAYERS`, plural, is a different variable from `DOOMPI_LAYER`. It carries the
567
- resolved layer components rather than the mode that selected them.
658
+ Discovery never recurses. Persona paths must remain under `agents/` or a root declared in the
659
+ same file, and symlinks may not escape the persona boundary. Legacy profiles written directly
660
+ under `profiles` still load, but new configuration should use `roots` and `entries`.
568
661
 
569
- A repository can also pin the full selection used by a bare `doompi sync` or
570
- `doompi build`. A flag still wins, then an exported variable, then the matching
571
- `selection` field, then `modes.yaml`'s `defaultMajorMode` or `domains.yaml`'s
572
- `defaultDomains`:
662
+ Select a profile with `--profile release-writer` or switch it with `/profile`. Leaving the
663
+ catalog empty is valid; no profile remains a first-class choice.
573
664
 
574
- ```yaml
575
- # .doom/config.yaml
576
- selection:
577
- majorMode: dev
578
- domains: [development]
579
- profile: house-voice
665
+ ### Check the matrix before launch
666
+
667
+ The fastest configuration debugger is the one that does not start a model:
668
+
669
+ ```bash
670
+ doompi --major-mode copilot --domains work --profile release-writer --explain
671
+ dpi sync
672
+ doompi sync --check
673
+ ```
674
+
675
+ `--explain` prints the resolved mode, domains, profile, plugins, skills, agents, MCP boundary,
676
+ and estimated prompt cost. `dpi sync` resolves the repository configuration and synchronizes
677
+ DPI without registering it in normal Pi settings. `doompi sync --check` turns drift into a
678
+ non-zero exit code for CI. If the explanation is surprising, fix the YAML before paying a model
679
+ to be surprised with you.
680
+
681
+ ## Trust and data boundaries
682
+
683
+ DoomPi executes the extensions, remote Git/npm plugins, hooks, MCP stdio commands, workflows, and
684
+ shell commands you configure. Treat them as trusted executable code. Runner commands inherit the
685
+ process environment and operating-system privileges; their logs may contain command output and
686
+ secrets. MCP credentials may live in the system keyring or private configuration files.
687
+
688
+ Voice can keep PCM capture and transcription local when local engines are selected, but transcript
689
+ text and model requests follow the configured providers. Loop, Workflow, Plan, Autocompact, Team,
690
+ and autonomous Voice can make additional model calls. Telemetry is disabled or redirected through
691
+ its owning package's controls; values supplied by callers are not automatically scrubbed.
692
+
693
+ ## CLI reference
694
+
695
+ | Command or option | What it does |
696
+ | -------------------------------------------- | --------------------------------------------------------------------------------- |
697
+ | `dpi init`, `dpi sync`, `dpi` | Creates, synchronizes, and runs the repository-scoped comparison setup |
698
+ | `doompi init` | Seeds personal config and installs the managed Pi dispatcher, settings, and theme |
699
+ | `doompi sync` | Publishes the current repository, or the global composition outside repositories |
700
+ | `doompi sync --check` | Exits non-zero when the applicable registered generation is missing or stale |
701
+ | `doompi compat <codex\|claude\|antigravity>` | Resolves the selected matrix and launches the compatibility adapter |
702
+ | `doom-runner` | Inspects and controls supervised Runner processes and logs |
703
+ | `--explain` | Prints the resolved matrix and estimated prompt cost without launching Pi |
704
+ | `--emit-mcp <dir>`, `--no-mcp` | Writes the resolved MCP config or disables MCP for one run |
705
+ | `--cwd <path>`, `--auto-stop` | Chooses the working directory or exits after an interactive agent settles |
706
+ | `--` and remaining arguments | Forwards provider or Pi arguments unchanged where the selected command allows it |
707
+
708
+ ## Troubleshooting and direct use
709
+
710
+ - Run `doompi sync --check` to detect drift or missing configured packages, and `doompi sync`
711
+ to install them and rebuild synchronized state.
712
+ - If neither RMUX nor tmux is available, non-interactive Runner calls report the supervised subprocess
713
+ fallback. Interactive calls require RMUX or tmux. Linux native artifacts require a compatible loader and libc.
714
+ - Leader menus and overlays require Pi's interactive TUI. Commands and tools remain the interface
715
+ for JSON, RPC, and other headless sessions where the owning package supports them.
716
+ - Install a directly loaded Pi subsystem with `pi install npm:@agimon-ai/<package>`. Library consumers
717
+ use `npm install`; native RMUX and RTK artifacts are selected by Runner and should not be installed
718
+ directly.
719
+ The root `doom-runner` command delegates to Runner from the active repository and asks you to add
720
+ Runner to `modes.yaml` when it is absent. The distribution remains the supported way to get the
721
+ coordinated defaults.
722
+
723
+ ## Architecture
724
+
725
+ See [Architecture](https://github.com/AgiFlow/doompi/blob/main/docs/architecture.md) for standard Pi
726
+ package composition, canonical fingerprints, transition classification, synchronized bundles,
727
+ shared-host Cordis lifecycle ownership, and parent/child isolation.
728
+
729
+ ## Development
730
+
731
+ ```bash
732
+ pnpm install
733
+ pnpm build
734
+ pnpm examples:check
735
+ pnpm nx build @agimon-ai/doompi
736
+ pnpm nx test @agimon-ai/doompi
737
+ pnpm nx typecheck @agimon-ai/doompi
738
+ pnpm nx lint @agimon-ai/doompi
580
739
  ```
581
740
 
582
- Pi asks once before it trusts a project and loads `.pi` resources, so a synced session
583
- prompts on first run regardless of `projectTrust`, which reaches Pi as a launcher flag.
584
- Answer yes, or run `/trust`.
741
+ DoomPi is maintained by [Agimon](https://agimon.ai/about).
742
+
743
+ ## License
744
+
745
+ MIT
746
+
747
+ ## Maintainer release order
748
+
749
+ Publish [`@agimon-ai/doompi-core`][pkg-doompi-core] and
750
+ [`@agimon-ai/doompi-hashline`][pkg-doompi-hashline] first, then
751
+ [`@agimon-ai/doompi-help`][pkg-doompi-help], and only then the
752
+ [`@agimon-ai/doompi`][pkg-doompi] runtime that consumes them. Generated changelogs remain owned
753
+ by the release tooling.
754
+
755
+ The deploy workflow blocks publishing unless the deterministic DoomPi architecture sweep and the
756
+ packed-install system tests both pass. This keeps the shared Cordis host contract and independently
757
+ loaded extension graph inside the same release boundary as the packages that consume them.
758
+
759
+ [pkg-doompi]: https://www.npmjs.com/package/@agimon-ai/doompi
760
+ [pkg-doompi-ui]: https://www.npmjs.com/package/@agimon-ai/doompi-ui
761
+ [pkg-doompi-config]: https://www.npmjs.com/package/@agimon-ai/doompi-config
762
+ [pkg-doompi-domain]: https://www.npmjs.com/package/@agimon-ai/doompi-domain
763
+ [pkg-doompi-hashline]: https://www.npmjs.com/package/@agimon-ai/doompi-hashline
764
+ [pkg-doompi-read]: https://www.npmjs.com/package/@agimon-ai/doompi-read
765
+ [pkg-doompi-grep]: https://www.npmjs.com/package/@agimon-ai/doompi-grep
766
+ [pkg-doompi-edit]: https://www.npmjs.com/package/@agimon-ai/doompi-edit
767
+ [pkg-doompi-file-edit]: https://www.npmjs.com/package/@agimon-ai/doompi-file-edit
768
+ [pkg-doompi-log]: https://www.npmjs.com/package/@agimon-ai/doompi-log
769
+ [pkg-doompi-telemetry]: https://www.npmjs.com/package/@agimon-ai/doompi-telemetry
770
+ [pkg-rmux-darwin-arm64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rmux-darwin-arm64
771
+ [pkg-rmux-darwin-x64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rmux-darwin-x64
772
+ [pkg-rmux-linux-arm64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rmux-linux-arm64
773
+ [pkg-rmux-linux-x64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rmux-linux-x64
774
+ [pkg-rtk-darwin-arm64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rtk-darwin-arm64
775
+ [pkg-rtk-darwin-x64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rtk-darwin-x64
776
+ [pkg-rtk-linux-arm64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rtk-linux-arm64
777
+ [pkg-rtk-linux-x64]: https://www.npmjs.com/package/@agimon-ai/doompi-runner-rtk-linux-x64
778
+ [pkg-doompi-team]: https://www.npmjs.com/package/@agimon-ai/doompi-team
779
+ [pkg-doompi-task]: https://www.npmjs.com/package/@agimon-ai/doompi-task
780
+ [pkg-doompi-runner]: https://www.npmjs.com/package/@agimon-ai/doompi-runner
781
+ [pkg-doompi-autocompact]: https://www.npmjs.com/package/@agimon-ai/doompi-autocompact
782
+ [pkg-doompi-help]: https://www.npmjs.com/package/@agimon-ai/doompi-help
783
+ [pkg-doompi-mcp]: https://www.npmjs.com/package/@agimon-ai/doompi-mcp
784
+ [pkg-doompi-user-feedback]: https://www.npmjs.com/package/@agimon-ai/doompi-user-feedback
785
+ [pkg-log-sink-mcp]: https://www.npmjs.com/package/@agimon-ai/log-sink-mcp
786
+ [pkg-doompi-plan]: https://www.npmjs.com/package/@agimon-ai/doompi-plan
787
+ [pkg-doompi-loop]: https://www.npmjs.com/package/@agimon-ai/doompi-loop
788
+ [pkg-doompi-goal]: https://www.npmjs.com/package/@agimon-ai/doompi-goal
789
+ [pkg-doompi-workflow]: https://www.npmjs.com/package/@agimon-ai/doompi-workflow
790
+ [pkg-doompi-voice]: https://www.npmjs.com/package/@agimon-ai/doompi-voice
791
+ [pkg-doompi-core]: https://www.npmjs.com/package/@agimon-ai/doompi-core