@proletariat/cli 0.3.91 → 0.3.93

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 (379) hide show
  1. package/bin/validate-better-sqlite3.cjs +129 -0
  2. package/dist/commands/agent/auth.js +2 -6
  3. package/dist/commands/agent/auth.js.map +1 -1
  4. package/dist/commands/agent/cleanup.js +5 -5
  5. package/dist/commands/agent/cleanup.js.map +1 -1
  6. package/dist/commands/agent/gc.d.ts +17 -0
  7. package/dist/commands/agent/gc.js +75 -0
  8. package/dist/commands/agent/gc.js.map +1 -0
  9. package/dist/commands/agent/list.js +2 -2
  10. package/dist/commands/agent/list.js.map +1 -1
  11. package/dist/commands/agent/shell.js +3 -5
  12. package/dist/commands/agent/shell.js.map +1 -1
  13. package/dist/commands/branch/create.js +2 -2
  14. package/dist/commands/branch/create.js.map +1 -1
  15. package/dist/commands/claude/index.js +4 -4
  16. package/dist/commands/claude/index.js.map +1 -1
  17. package/dist/commands/claude/open.js +12 -6
  18. package/dist/commands/claude/open.js.map +1 -1
  19. package/dist/commands/config/index.js +88 -7
  20. package/dist/commands/config/index.js.map +1 -1
  21. package/dist/commands/db/repair.js +6 -6
  22. package/dist/commands/db/repair.js.map +1 -1
  23. package/dist/commands/docker/clean.js +2 -4
  24. package/dist/commands/docker/clean.js.map +1 -1
  25. package/dist/commands/docker/index.js +2 -4
  26. package/dist/commands/docker/index.js.map +1 -1
  27. package/dist/commands/docker/list.js +2 -4
  28. package/dist/commands/docker/list.js.map +1 -1
  29. package/dist/commands/docker/logs.js +2 -4
  30. package/dist/commands/docker/logs.js.map +1 -1
  31. package/dist/commands/docker/restart.js +2 -4
  32. package/dist/commands/docker/restart.js.map +1 -1
  33. package/dist/commands/docker/shell.js +2 -4
  34. package/dist/commands/docker/shell.js.map +1 -1
  35. package/dist/commands/docker/start.js +2 -4
  36. package/dist/commands/docker/start.js.map +1 -1
  37. package/dist/commands/docker/stop.js +2 -4
  38. package/dist/commands/docker/stop.js.map +1 -1
  39. package/dist/commands/docker/sync.js +2 -4
  40. package/dist/commands/docker/sync.js.map +1 -1
  41. package/dist/commands/execution/config.js +39 -0
  42. package/dist/commands/execution/config.js.map +1 -1
  43. package/dist/commands/execution/list.js +2 -4
  44. package/dist/commands/execution/list.js.map +1 -1
  45. package/dist/commands/execution/logs.js +2 -4
  46. package/dist/commands/execution/logs.js.map +1 -1
  47. package/dist/commands/execution/stop.js +2 -4
  48. package/dist/commands/execution/stop.js.map +1 -1
  49. package/dist/commands/execution/view.js +2 -4
  50. package/dist/commands/execution/view.js.map +1 -1
  51. package/dist/commands/gh/login.js +2 -1
  52. package/dist/commands/gh/login.js.map +1 -1
  53. package/dist/commands/gh/status.js +18 -2
  54. package/dist/commands/gh/status.js.map +1 -1
  55. package/dist/commands/hook/export.d.ts +17 -0
  56. package/dist/commands/hook/export.js +52 -0
  57. package/dist/commands/hook/export.js.map +1 -0
  58. package/dist/commands/hook/fire.d.ts +29 -0
  59. package/dist/commands/hook/fire.js +139 -0
  60. package/dist/commands/hook/fire.js.map +1 -0
  61. package/dist/commands/hook/index.d.ts +14 -0
  62. package/dist/commands/hook/index.js +53 -0
  63. package/dist/commands/hook/index.js.map +1 -0
  64. package/dist/commands/hook/list.d.ts +19 -0
  65. package/dist/commands/hook/list.js +136 -0
  66. package/dist/commands/hook/list.js.map +1 -0
  67. package/dist/commands/hook/preset.d.ts +22 -0
  68. package/dist/commands/hook/preset.js +76 -0
  69. package/dist/commands/hook/preset.js.map +1 -0
  70. package/dist/commands/linear/connect.js.map +1 -1
  71. package/dist/commands/mcp-server.js +2 -3
  72. package/dist/commands/mcp-server.js.map +1 -1
  73. package/dist/commands/orchestrate/index.d.ts +35 -0
  74. package/dist/commands/orchestrate/index.js +267 -0
  75. package/dist/commands/orchestrate/index.js.map +1 -0
  76. package/dist/commands/orchestrator/attach.js +2 -3
  77. package/dist/commands/orchestrator/attach.js.map +1 -1
  78. package/dist/commands/orchestrator/start.js +22 -31
  79. package/dist/commands/orchestrator/start.js.map +1 -1
  80. package/dist/commands/orchestrator/stop.js +21 -26
  81. package/dist/commands/orchestrator/stop.js.map +1 -1
  82. package/dist/commands/qa/index.js +5 -5
  83. package/dist/commands/qa/index.js.map +1 -1
  84. package/dist/commands/session/attach.js +5 -7
  85. package/dist/commands/session/attach.js.map +1 -1
  86. package/dist/commands/session/cleanup.js +2 -4
  87. package/dist/commands/session/cleanup.js.map +1 -1
  88. package/dist/commands/session/exec.js +2 -3
  89. package/dist/commands/session/exec.js.map +1 -1
  90. package/dist/commands/session/health.js +2 -4
  91. package/dist/commands/session/health.js.map +1 -1
  92. package/dist/commands/session/inspect.js +2 -3
  93. package/dist/commands/session/inspect.js.map +1 -1
  94. package/dist/commands/session/list.js +2 -4
  95. package/dist/commands/session/list.js.map +1 -1
  96. package/dist/commands/session/peek.js +3 -6
  97. package/dist/commands/session/peek.js.map +1 -1
  98. package/dist/commands/session/poke.js +2 -4
  99. package/dist/commands/session/poke.js.map +1 -1
  100. package/dist/commands/session/prune.js +2 -4
  101. package/dist/commands/session/prune.js.map +1 -1
  102. package/dist/commands/session/report.js +2 -4
  103. package/dist/commands/session/report.js.map +1 -1
  104. package/dist/commands/session/restart.js +2 -3
  105. package/dist/commands/session/restart.js.map +1 -1
  106. package/dist/commands/shortcut/connect.js.map +1 -1
  107. package/dist/commands/ticket/complete.js +20 -5
  108. package/dist/commands/ticket/complete.js.map +1 -1
  109. package/dist/commands/ticket/create.d.ts +3 -4
  110. package/dist/commands/ticket/create.js +69 -88
  111. package/dist/commands/ticket/create.js.map +1 -1
  112. package/dist/commands/ticket/edit.js +22 -14
  113. package/dist/commands/ticket/edit.js.map +1 -1
  114. package/dist/commands/ticket/reassign.js +35 -6
  115. package/dist/commands/ticket/reassign.js.map +1 -1
  116. package/dist/commands/ticket/resolve.js +15 -5
  117. package/dist/commands/ticket/resolve.js.map +1 -1
  118. package/dist/commands/ticket/update.js +31 -14
  119. package/dist/commands/ticket/update.js.map +1 -1
  120. package/dist/commands/ticket/view.js +9 -5
  121. package/dist/commands/ticket/view.js.map +1 -1
  122. package/dist/commands/trello/configure.js.map +1 -1
  123. package/dist/commands/work/complete.js +2 -3
  124. package/dist/commands/work/complete.js.map +1 -1
  125. package/dist/commands/work/hooks/add.js +2 -4
  126. package/dist/commands/work/hooks/add.js.map +1 -1
  127. package/dist/commands/work/hooks/list.js +2 -4
  128. package/dist/commands/work/hooks/list.js.map +1 -1
  129. package/dist/commands/work/hooks/remove.js +2 -4
  130. package/dist/commands/work/hooks/remove.js.map +1 -1
  131. package/dist/commands/work/hooks/toggle.js +2 -4
  132. package/dist/commands/work/hooks/toggle.js.map +1 -1
  133. package/dist/commands/work/index.js +4 -0
  134. package/dist/commands/work/index.js.map +1 -1
  135. package/dist/commands/work/ready.js +2 -3
  136. package/dist/commands/work/ready.js.map +1 -1
  137. package/dist/commands/work/rebase.d.ts +33 -0
  138. package/dist/commands/work/rebase.js +394 -0
  139. package/dist/commands/work/rebase.js.map +1 -0
  140. package/dist/commands/work/ship.d.ts +1 -0
  141. package/dist/commands/work/ship.js +49 -4
  142. package/dist/commands/work/ship.js.map +1 -1
  143. package/dist/commands/work/spawn.js +2 -4
  144. package/dist/commands/work/spawn.js.map +1 -1
  145. package/dist/commands/work/start.d.ts +7 -0
  146. package/dist/commands/work/start.js +190 -22
  147. package/dist/commands/work/start.js.map +1 -1
  148. package/dist/commands/work/stop.js +2 -4
  149. package/dist/commands/work/stop.js.map +1 -1
  150. package/dist/commands/work/watch.js +2 -4
  151. package/dist/commands/work/watch.js.map +1 -1
  152. package/dist/hooks/init.js +16 -7
  153. package/dist/hooks/init.js.map +1 -1
  154. package/dist/lib/agents/commands.d.ts +9 -3
  155. package/dist/lib/agents/commands.js +103 -88
  156. package/dist/lib/agents/commands.js.map +1 -1
  157. package/dist/lib/asana/config.d.ts +8 -8
  158. package/dist/lib/asana/config.js.map +1 -1
  159. package/dist/lib/asana/mapper.d.ts +2 -2
  160. package/dist/lib/asana/mapper.js.map +1 -1
  161. package/dist/lib/dashboard/server.js +1 -1
  162. package/dist/lib/dashboard/server.js.map +1 -1
  163. package/dist/lib/database/agents.d.ts +62 -4
  164. package/dist/lib/database/agents.js +163 -12
  165. package/dist/lib/database/agents.js.map +1 -1
  166. package/dist/lib/database/db-safety.d.ts +4 -4
  167. package/dist/lib/database/db-safety.js +10 -10
  168. package/dist/lib/database/db-safety.js.map +1 -1
  169. package/dist/lib/database/driver.d.ts +21 -19
  170. package/dist/lib/database/driver.js +21 -20
  171. package/dist/lib/database/driver.js.map +1 -1
  172. package/dist/lib/database/drizzle-schema.d.ts +2 -2
  173. package/dist/lib/database/drizzle-schema.js +2 -1
  174. package/dist/lib/database/drizzle-schema.js.map +1 -1
  175. package/dist/lib/database/drizzle.d.ts +9 -9
  176. package/dist/lib/database/drizzle.js +17 -9
  177. package/dist/lib/database/drizzle.js.map +1 -1
  178. package/dist/lib/database/index.d.ts +1 -1
  179. package/dist/lib/database/index.js +1 -1
  180. package/dist/lib/database/index.js.map +1 -1
  181. package/dist/lib/database/migrations/0001_baseline.js.map +1 -1
  182. package/dist/lib/database/migrations/0002_work_hooks.js.map +1 -1
  183. package/dist/lib/database/migrations/0003_actions_redesign.js.map +1 -1
  184. package/dist/lib/database/migrations/0004_workflow_rules.js.map +1 -1
  185. package/dist/lib/database/migrations/0005_provider_status_mapping.js.map +1 -1
  186. package/dist/lib/database/migrations/0006_drop_theme_names_used.js.map +1 -1
  187. package/dist/lib/database/migrations/0007_add_worktree_columns.js.map +1 -1
  188. package/dist/lib/database/migrations/0008_add_agent_mount_mode.js.map +1 -1
  189. package/dist/lib/database/migrations/0009_create_media_items.js.map +1 -1
  190. package/dist/lib/database/migrations/0010_add_ticket_position.js.map +1 -1
  191. package/dist/lib/database/migrations/0011_add_review_gate.js.map +1 -1
  192. package/dist/lib/database/migrations/0012_add_action_network_allowlist.js.map +1 -1
  193. package/dist/lib/database/migrations/0013_agent_lifecycle_states.d.ts +11 -0
  194. package/dist/lib/database/migrations/0013_agent_lifecycle_states.js +47 -0
  195. package/dist/lib/database/migrations/0013_agent_lifecycle_states.js.map +1 -0
  196. package/dist/lib/database/migrations/0014_agent_work_lifecycle.d.ts +10 -0
  197. package/dist/lib/database/migrations/0014_agent_work_lifecycle.js +31 -0
  198. package/dist/lib/database/migrations/0014_agent_work_lifecycle.js.map +1 -0
  199. package/dist/lib/database/migrations/0015_orchestrate_hooks.d.ts +8 -0
  200. package/dist/lib/database/migrations/0015_orchestrate_hooks.js +35 -0
  201. package/dist/lib/database/migrations/0015_orchestrate_hooks.js.map +1 -0
  202. package/dist/lib/database/migrations/0016_schema_catchup.d.ts +15 -0
  203. package/dist/lib/database/migrations/0016_schema_catchup.js +154 -0
  204. package/dist/lib/database/migrations/0016_schema_catchup.js.map +1 -0
  205. package/dist/lib/database/migrations/index.js +8 -0
  206. package/dist/lib/database/migrations/index.js.map +1 -1
  207. package/dist/lib/database/migrator.d.ts +3 -3
  208. package/dist/lib/database/migrator.js.map +1 -1
  209. package/dist/lib/database/native-validation.d.ts +40 -0
  210. package/dist/lib/database/native-validation.js +123 -0
  211. package/dist/lib/database/native-validation.js.map +1 -0
  212. package/dist/lib/database/pmo-bootstrap.d.ts +2 -2
  213. package/dist/lib/database/pmo-bootstrap.js +28 -6
  214. package/dist/lib/database/pmo-bootstrap.js.map +1 -1
  215. package/dist/lib/database/repositories.js +1 -1
  216. package/dist/lib/database/repositories.js.map +1 -1
  217. package/dist/lib/database/settings-store.d.ts +3 -3
  218. package/dist/lib/database/settings-store.js +2 -2
  219. package/dist/lib/database/settings-store.js.map +1 -1
  220. package/dist/lib/database/themes.js +3 -3
  221. package/dist/lib/database/themes.js.map +1 -1
  222. package/dist/lib/database/workspace-schema.d.ts +1 -1
  223. package/dist/lib/database/workspace-schema.js +3 -1
  224. package/dist/lib/database/workspace-schema.js.map +1 -1
  225. package/dist/lib/database/workspace.d.ts +4 -4
  226. package/dist/lib/database/workspace.js +25 -4
  227. package/dist/lib/database/workspace.js.map +1 -1
  228. package/dist/lib/events/events.d.ts +28 -0
  229. package/dist/lib/events/index.d.ts +1 -1
  230. package/dist/lib/events/index.js.map +1 -1
  231. package/dist/lib/execution/config.d.ts +35 -33
  232. package/dist/lib/execution/config.js +14 -0
  233. package/dist/lib/execution/config.js.map +1 -1
  234. package/dist/lib/execution/devcontainer.d.ts +1 -1
  235. package/dist/lib/execution/devcontainer.js +37 -4
  236. package/dist/lib/execution/devcontainer.js.map +1 -1
  237. package/dist/lib/execution/runners/devcontainer-tmux.js +1 -1
  238. package/dist/lib/execution/runners/devcontainer-tmux.js.map +1 -1
  239. package/dist/lib/execution/runners/devcontainer.js +9 -1
  240. package/dist/lib/execution/runners/devcontainer.js.map +1 -1
  241. package/dist/lib/execution/runners/docker-credentials.d.ts +8 -0
  242. package/dist/lib/execution/runners/docker-credentials.js +20 -3
  243. package/dist/lib/execution/runners/docker-credentials.js.map +1 -1
  244. package/dist/lib/execution/runners/docker-management.d.ts +31 -0
  245. package/dist/lib/execution/runners/docker-management.js +95 -0
  246. package/dist/lib/execution/runners/docker-management.js.map +1 -1
  247. package/dist/lib/execution/runners/index.d.ts +1 -1
  248. package/dist/lib/execution/runners/index.js +1 -1
  249. package/dist/lib/execution/runners/index.js.map +1 -1
  250. package/dist/lib/execution/runners/shared.d.ts +23 -1
  251. package/dist/lib/execution/runners/shared.js +112 -1
  252. package/dist/lib/execution/runners/shared.js.map +1 -1
  253. package/dist/lib/execution/spawner.d.ts +3 -3
  254. package/dist/lib/execution/spawner.js +8 -1
  255. package/dist/lib/execution/spawner.js.map +1 -1
  256. package/dist/lib/execution/storage.d.ts +3 -3
  257. package/dist/lib/execution/storage.js.map +1 -1
  258. package/dist/lib/execution/types.js +2 -2
  259. package/dist/lib/external-issues/mapping-store.d.ts +2 -2
  260. package/dist/lib/external-issues/mapping-store.js.map +1 -1
  261. package/dist/lib/external-issues/outbound-sync.d.ts +3 -3
  262. package/dist/lib/external-issues/outbound-sync.js.map +1 -1
  263. package/dist/lib/jira/config.d.ts +5 -5
  264. package/dist/lib/jira/config.js.map +1 -1
  265. package/dist/lib/linear/client.d.ts +13 -0
  266. package/dist/lib/linear/client.js +37 -0
  267. package/dist/lib/linear/client.js.map +1 -1
  268. package/dist/lib/linear/config.d.ts +8 -8
  269. package/dist/lib/linear/config.js.map +1 -1
  270. package/dist/lib/linear/mapper.d.ts +2 -2
  271. package/dist/lib/linear/mapper.js.map +1 -1
  272. package/dist/lib/mcp/types.d.ts +2 -2
  273. package/dist/lib/monday/config.d.ts +9 -9
  274. package/dist/lib/monday/config.js.map +1 -1
  275. package/dist/lib/monday/mapper.d.ts +2 -2
  276. package/dist/lib/monday/mapper.js.map +1 -1
  277. package/dist/lib/orchestrate/actions.d.ts +20 -0
  278. package/dist/lib/orchestrate/actions.js +194 -0
  279. package/dist/lib/orchestrate/actions.js.map +1 -0
  280. package/dist/lib/orchestrate/config-loader.d.ts +31 -0
  281. package/dist/lib/orchestrate/config-loader.js +201 -0
  282. package/dist/lib/orchestrate/config-loader.js.map +1 -0
  283. package/dist/lib/orchestrate/engine.d.ts +94 -0
  284. package/dist/lib/orchestrate/engine.js +290 -0
  285. package/dist/lib/orchestrate/engine.js.map +1 -0
  286. package/dist/lib/orchestrate/index.d.ts +16 -0
  287. package/dist/lib/orchestrate/index.js +14 -0
  288. package/dist/lib/orchestrate/index.js.map +1 -0
  289. package/dist/lib/orchestrate/poller.d.ts +58 -0
  290. package/dist/lib/orchestrate/poller.js +282 -0
  291. package/dist/lib/orchestrate/poller.js.map +1 -0
  292. package/dist/lib/orchestrate/presets.d.ts +27 -0
  293. package/dist/lib/orchestrate/presets.js +65 -0
  294. package/dist/lib/orchestrate/presets.js.map +1 -0
  295. package/dist/lib/orchestrate/types.d.ts +93 -0
  296. package/dist/lib/orchestrate/types.js +46 -0
  297. package/dist/lib/orchestrate/types.js.map +1 -0
  298. package/dist/lib/pmo/diet.d.ts +3 -3
  299. package/dist/lib/pmo/diet.js.map +1 -1
  300. package/dist/lib/pmo/find-pmo.js +5 -1
  301. package/dist/lib/pmo/find-pmo.js.map +1 -1
  302. package/dist/lib/pmo/index.js +7 -6
  303. package/dist/lib/pmo/index.js.map +1 -1
  304. package/dist/lib/pmo/storage/base.d.ts +15 -15
  305. package/dist/lib/pmo/storage/base.js.map +1 -1
  306. package/dist/lib/pmo/storage/dependencies.js.map +1 -1
  307. package/dist/lib/pmo/storage/helpers.js.map +1 -1
  308. package/dist/lib/pmo/storage/index.d.ts +2 -8
  309. package/dist/lib/pmo/storage/index.js +2 -10
  310. package/dist/lib/pmo/storage/index.js.map +1 -1
  311. package/dist/lib/pmo/storage/projects.js.map +1 -1
  312. package/dist/lib/pmo/storage/roadmaps.js +4 -4
  313. package/dist/lib/pmo/storage/roadmaps.js.map +1 -1
  314. package/dist/lib/pmo/storage/specs.js.map +1 -1
  315. package/dist/lib/pmo/storage/statuses.js +1 -1
  316. package/dist/lib/pmo/storage/statuses.js.map +1 -1
  317. package/dist/lib/pmo/storage/tickets.js +1 -1
  318. package/dist/lib/pmo/storage/tickets.js.map +1 -1
  319. package/dist/lib/pmo/storage/types.d.ts +2 -2
  320. package/dist/lib/pmo/storage/views.js.map +1 -1
  321. package/dist/lib/pr/index.d.ts +28 -0
  322. package/dist/lib/pr/index.js +100 -0
  323. package/dist/lib/pr/index.js.map +1 -1
  324. package/dist/lib/providers/event-emitting-provider.d.ts +4 -2
  325. package/dist/lib/providers/event-emitting-provider.js +12 -0
  326. package/dist/lib/providers/event-emitting-provider.js.map +1 -1
  327. package/dist/lib/providers/index.d.ts +1 -1
  328. package/dist/lib/providers/index.js.map +1 -1
  329. package/dist/lib/providers/linear-provider.d.ts +6 -4
  330. package/dist/lib/providers/linear-provider.js +106 -0
  331. package/dist/lib/providers/linear-provider.js.map +1 -1
  332. package/dist/lib/providers/pmo-provider.d.ts +4 -2
  333. package/dist/lib/providers/pmo-provider.js +26 -0
  334. package/dist/lib/providers/pmo-provider.js.map +1 -1
  335. package/dist/lib/providers/resolver.d.ts +3 -3
  336. package/dist/lib/providers/resolver.js.map +1 -1
  337. package/dist/lib/providers/state-resolution.d.ts +8 -8
  338. package/dist/lib/providers/state-resolution.js.map +1 -1
  339. package/dist/lib/providers/status-mapping.d.ts +2 -2
  340. package/dist/lib/providers/status-mapping.js.map +1 -1
  341. package/dist/lib/providers/trigger-config.d.ts +4 -4
  342. package/dist/lib/providers/trigger-config.js.map +1 -1
  343. package/dist/lib/providers/types.d.ts +31 -3
  344. package/dist/lib/registry/index.js +11 -4
  345. package/dist/lib/registry/index.js.map +1 -1
  346. package/dist/lib/shortcut/config.d.ts +8 -8
  347. package/dist/lib/shortcut/config.js.map +1 -1
  348. package/dist/lib/telemetry/analytics.d.ts +1 -1
  349. package/dist/lib/telemetry/analytics.js +16 -8
  350. package/dist/lib/telemetry/analytics.js.map +1 -1
  351. package/dist/lib/trello/config.d.ts +10 -10
  352. package/dist/lib/trello/config.js.map +1 -1
  353. package/dist/lib/trello/mapper.d.ts +2 -2
  354. package/dist/lib/trello/mapper.js.map +1 -1
  355. package/dist/lib/update-check.d.ts +8 -3
  356. package/dist/lib/update-check.js +16 -5
  357. package/dist/lib/update-check.js.map +1 -1
  358. package/dist/lib/work-lifecycle/action-chaining.d.ts +3 -3
  359. package/dist/lib/work-lifecycle/action-chaining.js.map +1 -1
  360. package/dist/lib/work-lifecycle/hooks/manager.d.ts +3 -3
  361. package/dist/lib/work-lifecycle/hooks/manager.js.map +1 -1
  362. package/dist/lib/work-lifecycle/hooks/storage.d.ts +3 -3
  363. package/dist/lib/work-lifecycle/hooks/storage.js.map +1 -1
  364. package/dist/lib/work-lifecycle/hooks/types.d.ts +3 -2
  365. package/dist/lib/work-lifecycle/hooks/types.js +12 -0
  366. package/dist/lib/work-lifecycle/hooks/types.js.map +1 -1
  367. package/dist/lib/work-lifecycle/post-execution.d.ts +2 -2
  368. package/dist/lib/work-lifecycle/post-execution.js.map +1 -1
  369. package/dist/lib/work-lifecycle/rule-evaluator.d.ts +3 -3
  370. package/dist/lib/work-lifecycle/rule-evaluator.js.map +1 -1
  371. package/dist/lib/work-source/config.d.ts +6 -6
  372. package/dist/lib/work-source/config.js.map +1 -1
  373. package/dist/lib/work-source/provider-sources.d.ts +12 -12
  374. package/dist/lib/work-source/provider-sources.js.map +1 -1
  375. package/oclif.manifest.json +1305 -650
  376. package/package.json +4 -3
  377. package/dist/lib/database/sqlite.d.ts +0 -155
  378. package/dist/lib/database/sqlite.js +0 -358
  379. package/dist/lib/database/sqlite.js.map +0 -1
@@ -1787,6 +1787,75 @@
1787
1787
  "discover.js"
1788
1788
  ]
1789
1789
  },
1790
+ "agent:gc": {
1791
+ "aliases": [],
1792
+ "args": {},
1793
+ "description": "Garbage collect stale agent records from the database",
1794
+ "examples": [
1795
+ "<%= config.bin %> <%= command.id %>",
1796
+ "<%= config.bin %> <%= command.id %> --days 7",
1797
+ "<%= config.bin %> <%= command.id %> --dry-run",
1798
+ "<%= config.bin %> <%= command.id %> --all"
1799
+ ],
1800
+ "flags": {
1801
+ "project": {
1802
+ "char": "P",
1803
+ "description": "Project ID (uses first project if only one exists)",
1804
+ "name": "project",
1805
+ "hasDynamicHelp": false,
1806
+ "multiple": false,
1807
+ "type": "option"
1808
+ },
1809
+ "json": {
1810
+ "description": "Output as JSON for AI agents/scripts",
1811
+ "name": "json",
1812
+ "allowNo": false,
1813
+ "type": "boolean"
1814
+ },
1815
+ "machine": {
1816
+ "char": "m",
1817
+ "description": "Output as JSON for AI agents/scripts",
1818
+ "name": "machine",
1819
+ "allowNo": false,
1820
+ "type": "boolean"
1821
+ },
1822
+ "days": {
1823
+ "char": "d",
1824
+ "description": "Only prune records older than this many days",
1825
+ "name": "days",
1826
+ "default": 30,
1827
+ "hasDynamicHelp": false,
1828
+ "multiple": false,
1829
+ "type": "option"
1830
+ },
1831
+ "dry-run": {
1832
+ "description": "Show what would be pruned without actually deleting",
1833
+ "name": "dry-run",
1834
+ "allowNo": false,
1835
+ "type": "boolean"
1836
+ },
1837
+ "all": {
1838
+ "description": "Prune all terminal-state records regardless of age",
1839
+ "name": "all",
1840
+ "allowNo": false,
1841
+ "type": "boolean"
1842
+ }
1843
+ },
1844
+ "hasDynamicHelp": false,
1845
+ "hiddenAliases": [],
1846
+ "id": "agent:gc",
1847
+ "pluginAlias": "@proletariat/cli",
1848
+ "pluginName": "@proletariat/cli",
1849
+ "pluginType": "core",
1850
+ "strict": true,
1851
+ "isESM": true,
1852
+ "relativePath": [
1853
+ "dist",
1854
+ "commands",
1855
+ "agent",
1856
+ "gc.js"
1857
+ ]
1858
+ },
1790
1859
  "agent": {
1791
1860
  "aliases": [],
1792
1861
  "args": {},
@@ -2730,194 +2799,6 @@
2730
2799
  "watch.js"
2731
2800
  ]
2732
2801
  },
2733
- "caffeinate": {
2734
- "aliases": [],
2735
- "args": {},
2736
- "description": "Manage caffeinate to keep macOS awake",
2737
- "examples": [
2738
- "<%= config.bin %> caffeinate",
2739
- "<%= config.bin %> caffeinate start",
2740
- "<%= config.bin %> caffeinate status",
2741
- "<%= config.bin %> caffeinate stop",
2742
- "<%= config.bin %> caffeinate start --duration 3600",
2743
- "<%= config.bin %> caffeinate start --display"
2744
- ],
2745
- "flags": {
2746
- "json": {
2747
- "description": "Output as JSON for AI agents/scripts",
2748
- "name": "json",
2749
- "allowNo": false,
2750
- "type": "boolean"
2751
- },
2752
- "machine": {
2753
- "char": "m",
2754
- "description": "Output as JSON for AI agents/scripts",
2755
- "name": "machine",
2756
- "allowNo": false,
2757
- "type": "boolean"
2758
- }
2759
- },
2760
- "hasDynamicHelp": false,
2761
- "hiddenAliases": [],
2762
- "id": "caffeinate",
2763
- "pluginAlias": "@proletariat/cli",
2764
- "pluginName": "@proletariat/cli",
2765
- "pluginType": "core",
2766
- "strict": true,
2767
- "enableJsonFlag": false,
2768
- "isESM": true,
2769
- "relativePath": [
2770
- "dist",
2771
- "commands",
2772
- "caffeinate",
2773
- "index.js"
2774
- ]
2775
- },
2776
- "caffeinate:start": {
2777
- "aliases": [],
2778
- "args": {},
2779
- "description": "Start caffeinate to prevent macOS from sleeping",
2780
- "examples": [
2781
- "<%= config.bin %> caffeinate start",
2782
- "<%= config.bin %> caffeinate start --duration 3600",
2783
- "<%= config.bin %> caffeinate start --display"
2784
- ],
2785
- "flags": {
2786
- "json": {
2787
- "description": "Output as JSON for AI agents/scripts",
2788
- "name": "json",
2789
- "allowNo": false,
2790
- "type": "boolean"
2791
- },
2792
- "machine": {
2793
- "char": "m",
2794
- "description": "Output as JSON for AI agents/scripts",
2795
- "name": "machine",
2796
- "allowNo": false,
2797
- "type": "boolean"
2798
- },
2799
- "duration": {
2800
- "char": "t",
2801
- "description": "Duration in seconds (default: indefinite)",
2802
- "name": "duration",
2803
- "hasDynamicHelp": false,
2804
- "multiple": false,
2805
- "type": "option"
2806
- },
2807
- "display": {
2808
- "char": "d",
2809
- "description": "Prevent display from sleeping (adds -d flag)",
2810
- "name": "display",
2811
- "allowNo": false,
2812
- "type": "boolean"
2813
- },
2814
- "idle": {
2815
- "char": "i",
2816
- "description": "Prevent idle sleep (adds -i flag)",
2817
- "name": "idle",
2818
- "allowNo": false,
2819
- "type": "boolean"
2820
- },
2821
- "system": {
2822
- "char": "s",
2823
- "description": "Prevent system sleep (adds -s flag)",
2824
- "name": "system",
2825
- "allowNo": false,
2826
- "type": "boolean"
2827
- }
2828
- },
2829
- "hasDynamicHelp": false,
2830
- "hiddenAliases": [],
2831
- "id": "caffeinate:start",
2832
- "pluginAlias": "@proletariat/cli",
2833
- "pluginName": "@proletariat/cli",
2834
- "pluginType": "core",
2835
- "strict": true,
2836
- "enableJsonFlag": false,
2837
- "isESM": true,
2838
- "relativePath": [
2839
- "dist",
2840
- "commands",
2841
- "caffeinate",
2842
- "start.js"
2843
- ]
2844
- },
2845
- "caffeinate:status": {
2846
- "aliases": [],
2847
- "args": {},
2848
- "description": "Check if caffeinate is running",
2849
- "examples": [
2850
- "<%= config.bin %> caffeinate status"
2851
- ],
2852
- "flags": {
2853
- "json": {
2854
- "description": "Output as JSON for AI agents/scripts",
2855
- "name": "json",
2856
- "allowNo": false,
2857
- "type": "boolean"
2858
- },
2859
- "machine": {
2860
- "char": "m",
2861
- "description": "Output as JSON for AI agents/scripts",
2862
- "name": "machine",
2863
- "allowNo": false,
2864
- "type": "boolean"
2865
- }
2866
- },
2867
- "hasDynamicHelp": false,
2868
- "hiddenAliases": [],
2869
- "id": "caffeinate:status",
2870
- "pluginAlias": "@proletariat/cli",
2871
- "pluginName": "@proletariat/cli",
2872
- "pluginType": "core",
2873
- "strict": true,
2874
- "enableJsonFlag": false,
2875
- "isESM": true,
2876
- "relativePath": [
2877
- "dist",
2878
- "commands",
2879
- "caffeinate",
2880
- "status.js"
2881
- ]
2882
- },
2883
- "caffeinate:stop": {
2884
- "aliases": [],
2885
- "args": {},
2886
- "description": "Stop the managed caffeinate process",
2887
- "examples": [
2888
- "<%= config.bin %> caffeinate stop"
2889
- ],
2890
- "flags": {
2891
- "json": {
2892
- "description": "Output as JSON for AI agents/scripts",
2893
- "name": "json",
2894
- "allowNo": false,
2895
- "type": "boolean"
2896
- },
2897
- "machine": {
2898
- "char": "m",
2899
- "description": "Output as JSON for AI agents/scripts",
2900
- "name": "machine",
2901
- "allowNo": false,
2902
- "type": "boolean"
2903
- }
2904
- },
2905
- "hasDynamicHelp": false,
2906
- "hiddenAliases": [],
2907
- "id": "caffeinate:stop",
2908
- "pluginAlias": "@proletariat/cli",
2909
- "pluginName": "@proletariat/cli",
2910
- "pluginType": "core",
2911
- "strict": true,
2912
- "enableJsonFlag": false,
2913
- "isESM": true,
2914
- "relativePath": [
2915
- "dist",
2916
- "commands",
2917
- "caffeinate",
2918
- "stop.js"
2919
- ]
2920
- },
2921
2802
  "branch:create": {
2922
2803
  "aliases": [],
2923
2804
  "args": {
@@ -3298,16 +3179,204 @@
3298
3179
  "where.js"
3299
3180
  ]
3300
3181
  },
3301
- "claude": {
3182
+ "caffeinate": {
3302
3183
  "aliases": [],
3303
3184
  "args": {},
3304
- "description": "Quick launch Claude Code for ad-hoc sessions (works anywhere)",
3185
+ "description": "Manage caffeinate to keep macOS awake",
3305
3186
  "examples": [
3306
- "<%= config.bin %> <%= command.id %>",
3307
- "<%= config.bin %> <%= command.id %> --slug debug-auth --permission-mode danger",
3308
- "<%= config.bin %> <%= command.id %> --environment devcontainer --display-mode background",
3309
- "<%= config.bin %> <%= command.id %> --prompt \"help me debug this function\""
3310
- ],
3187
+ "<%= config.bin %> caffeinate",
3188
+ "<%= config.bin %> caffeinate start",
3189
+ "<%= config.bin %> caffeinate status",
3190
+ "<%= config.bin %> caffeinate stop",
3191
+ "<%= config.bin %> caffeinate start --duration 3600",
3192
+ "<%= config.bin %> caffeinate start --display"
3193
+ ],
3194
+ "flags": {
3195
+ "json": {
3196
+ "description": "Output as JSON for AI agents/scripts",
3197
+ "name": "json",
3198
+ "allowNo": false,
3199
+ "type": "boolean"
3200
+ },
3201
+ "machine": {
3202
+ "char": "m",
3203
+ "description": "Output as JSON for AI agents/scripts",
3204
+ "name": "machine",
3205
+ "allowNo": false,
3206
+ "type": "boolean"
3207
+ }
3208
+ },
3209
+ "hasDynamicHelp": false,
3210
+ "hiddenAliases": [],
3211
+ "id": "caffeinate",
3212
+ "pluginAlias": "@proletariat/cli",
3213
+ "pluginName": "@proletariat/cli",
3214
+ "pluginType": "core",
3215
+ "strict": true,
3216
+ "enableJsonFlag": false,
3217
+ "isESM": true,
3218
+ "relativePath": [
3219
+ "dist",
3220
+ "commands",
3221
+ "caffeinate",
3222
+ "index.js"
3223
+ ]
3224
+ },
3225
+ "caffeinate:start": {
3226
+ "aliases": [],
3227
+ "args": {},
3228
+ "description": "Start caffeinate to prevent macOS from sleeping",
3229
+ "examples": [
3230
+ "<%= config.bin %> caffeinate start",
3231
+ "<%= config.bin %> caffeinate start --duration 3600",
3232
+ "<%= config.bin %> caffeinate start --display"
3233
+ ],
3234
+ "flags": {
3235
+ "json": {
3236
+ "description": "Output as JSON for AI agents/scripts",
3237
+ "name": "json",
3238
+ "allowNo": false,
3239
+ "type": "boolean"
3240
+ },
3241
+ "machine": {
3242
+ "char": "m",
3243
+ "description": "Output as JSON for AI agents/scripts",
3244
+ "name": "machine",
3245
+ "allowNo": false,
3246
+ "type": "boolean"
3247
+ },
3248
+ "duration": {
3249
+ "char": "t",
3250
+ "description": "Duration in seconds (default: indefinite)",
3251
+ "name": "duration",
3252
+ "hasDynamicHelp": false,
3253
+ "multiple": false,
3254
+ "type": "option"
3255
+ },
3256
+ "display": {
3257
+ "char": "d",
3258
+ "description": "Prevent display from sleeping (adds -d flag)",
3259
+ "name": "display",
3260
+ "allowNo": false,
3261
+ "type": "boolean"
3262
+ },
3263
+ "idle": {
3264
+ "char": "i",
3265
+ "description": "Prevent idle sleep (adds -i flag)",
3266
+ "name": "idle",
3267
+ "allowNo": false,
3268
+ "type": "boolean"
3269
+ },
3270
+ "system": {
3271
+ "char": "s",
3272
+ "description": "Prevent system sleep (adds -s flag)",
3273
+ "name": "system",
3274
+ "allowNo": false,
3275
+ "type": "boolean"
3276
+ }
3277
+ },
3278
+ "hasDynamicHelp": false,
3279
+ "hiddenAliases": [],
3280
+ "id": "caffeinate:start",
3281
+ "pluginAlias": "@proletariat/cli",
3282
+ "pluginName": "@proletariat/cli",
3283
+ "pluginType": "core",
3284
+ "strict": true,
3285
+ "enableJsonFlag": false,
3286
+ "isESM": true,
3287
+ "relativePath": [
3288
+ "dist",
3289
+ "commands",
3290
+ "caffeinate",
3291
+ "start.js"
3292
+ ]
3293
+ },
3294
+ "caffeinate:status": {
3295
+ "aliases": [],
3296
+ "args": {},
3297
+ "description": "Check if caffeinate is running",
3298
+ "examples": [
3299
+ "<%= config.bin %> caffeinate status"
3300
+ ],
3301
+ "flags": {
3302
+ "json": {
3303
+ "description": "Output as JSON for AI agents/scripts",
3304
+ "name": "json",
3305
+ "allowNo": false,
3306
+ "type": "boolean"
3307
+ },
3308
+ "machine": {
3309
+ "char": "m",
3310
+ "description": "Output as JSON for AI agents/scripts",
3311
+ "name": "machine",
3312
+ "allowNo": false,
3313
+ "type": "boolean"
3314
+ }
3315
+ },
3316
+ "hasDynamicHelp": false,
3317
+ "hiddenAliases": [],
3318
+ "id": "caffeinate:status",
3319
+ "pluginAlias": "@proletariat/cli",
3320
+ "pluginName": "@proletariat/cli",
3321
+ "pluginType": "core",
3322
+ "strict": true,
3323
+ "enableJsonFlag": false,
3324
+ "isESM": true,
3325
+ "relativePath": [
3326
+ "dist",
3327
+ "commands",
3328
+ "caffeinate",
3329
+ "status.js"
3330
+ ]
3331
+ },
3332
+ "caffeinate:stop": {
3333
+ "aliases": [],
3334
+ "args": {},
3335
+ "description": "Stop the managed caffeinate process",
3336
+ "examples": [
3337
+ "<%= config.bin %> caffeinate stop"
3338
+ ],
3339
+ "flags": {
3340
+ "json": {
3341
+ "description": "Output as JSON for AI agents/scripts",
3342
+ "name": "json",
3343
+ "allowNo": false,
3344
+ "type": "boolean"
3345
+ },
3346
+ "machine": {
3347
+ "char": "m",
3348
+ "description": "Output as JSON for AI agents/scripts",
3349
+ "name": "machine",
3350
+ "allowNo": false,
3351
+ "type": "boolean"
3352
+ }
3353
+ },
3354
+ "hasDynamicHelp": false,
3355
+ "hiddenAliases": [],
3356
+ "id": "caffeinate:stop",
3357
+ "pluginAlias": "@proletariat/cli",
3358
+ "pluginName": "@proletariat/cli",
3359
+ "pluginType": "core",
3360
+ "strict": true,
3361
+ "enableJsonFlag": false,
3362
+ "isESM": true,
3363
+ "relativePath": [
3364
+ "dist",
3365
+ "commands",
3366
+ "caffeinate",
3367
+ "stop.js"
3368
+ ]
3369
+ },
3370
+ "claude": {
3371
+ "aliases": [],
3372
+ "args": {},
3373
+ "description": "Quick launch Claude Code for ad-hoc sessions (works anywhere)",
3374
+ "examples": [
3375
+ "<%= config.bin %> <%= command.id %>",
3376
+ "<%= config.bin %> <%= command.id %> --slug debug-auth --permission-mode danger",
3377
+ "<%= config.bin %> <%= command.id %> --environment devcontainer --display-mode background",
3378
+ "<%= config.bin %> <%= command.id %> --prompt \"help me debug this function\""
3379
+ ],
3311
3380
  "flags": {
3312
3381
  "json": {
3313
3382
  "description": "Output as JSON for AI agents/scripts",
@@ -4308,28 +4377,15 @@
4308
4377
  "sync.js"
4309
4378
  ]
4310
4379
  },
4311
- "execution:config": {
4380
+ "feedback": {
4312
4381
  "aliases": [],
4313
4382
  "args": {},
4314
- "description": "View and update execution preferences",
4383
+ "description": "Interactive menu for feedback and issue operations",
4315
4384
  "examples": [
4316
- "<%= config.bin %> execution config # Interactive menu",
4317
- "<%= config.bin %> execution config --json # Output current config as JSON",
4318
- "<%= config.bin %> execution config --list # Show all settings",
4319
- "<%= config.bin %> execution config --set defaultEnvironment host",
4320
- "<%= config.bin %> execution config --set outputMode interactive",
4321
- "<%= config.bin %> execution config --set permissionMode safe",
4322
- "<%= config.bin %> execution config --setting outputMode --json # Show output mode choices"
4385
+ "<%= config.bin %> <%= command.id %>",
4386
+ "<%= config.bin %> <%= command.id %> --action submit"
4323
4387
  ],
4324
4388
  "flags": {
4325
- "project": {
4326
- "char": "P",
4327
- "description": "Project ID (uses first project if only one exists)",
4328
- "name": "project",
4329
- "hasDynamicHelp": false,
4330
- "multiple": false,
4331
- "type": "option"
4332
- },
4333
4389
  "json": {
4334
4390
  "description": "Output as JSON for AI agents/scripts",
4335
4391
  "name": "json",
@@ -4343,63 +4399,47 @@
4343
4399
  "allowNo": false,
4344
4400
  "type": "boolean"
4345
4401
  },
4346
- "set": {
4347
- "char": "s",
4348
- "description": "Set a config value (format: key value)",
4349
- "name": "set",
4350
- "hasDynamicHelp": false,
4351
- "multiple": true,
4352
- "type": "option"
4353
- },
4354
- "list": {
4355
- "char": "l",
4356
- "description": "List all configuration values",
4357
- "name": "list",
4358
- "allowNo": false,
4359
- "type": "boolean"
4360
- },
4361
- "setting": {
4362
- "description": "Navigate to a specific setting prompt (for agent navigation)",
4363
- "name": "setting",
4402
+ "action": {
4403
+ "char": "a",
4404
+ "description": "Action to perform (submit, list, view)",
4405
+ "name": "action",
4364
4406
  "hasDynamicHelp": false,
4365
4407
  "multiple": false,
4408
+ "options": [
4409
+ "submit",
4410
+ "list",
4411
+ "view"
4412
+ ],
4366
4413
  "type": "option"
4367
4414
  }
4368
4415
  },
4369
4416
  "hasDynamicHelp": false,
4370
4417
  "hiddenAliases": [],
4371
- "id": "execution:config",
4418
+ "id": "feedback",
4372
4419
  "pluginAlias": "@proletariat/cli",
4373
4420
  "pluginName": "@proletariat/cli",
4374
4421
  "pluginType": "core",
4375
4422
  "strict": true,
4423
+ "enableJsonFlag": false,
4376
4424
  "isESM": true,
4377
4425
  "relativePath": [
4378
4426
  "dist",
4379
4427
  "commands",
4380
- "execution",
4381
- "config.js"
4428
+ "feedback",
4429
+ "index.js"
4382
4430
  ]
4383
4431
  },
4384
- "execution": {
4432
+ "feedback:list": {
4385
4433
  "aliases": [],
4386
4434
  "args": {},
4387
- "description": "Single execution operations (view, logs, stop)",
4435
+ "description": "List recent feedback issues from the repository",
4388
4436
  "examples": [
4389
4437
  "<%= config.bin %> <%= command.id %>",
4390
- "<%= config.bin %> <%= command.id %> view WORK-001",
4391
- "<%= config.bin %> <%= command.id %> logs WORK-001",
4392
- "<%= config.bin %> <%= command.id %> stop WORK-001"
4393
- ],
4438
+ "<%= config.bin %> <%= command.id %> --category bug",
4439
+ "<%= config.bin %> <%= command.id %> --state closed --limit 10",
4440
+ "<%= config.bin %> <%= command.id %> --json"
4441
+ ],
4394
4442
  "flags": {
4395
- "project": {
4396
- "char": "P",
4397
- "description": "Project ID (uses first project if only one exists)",
4398
- "name": "project",
4399
- "hasDynamicHelp": false,
4400
- "multiple": false,
4401
- "type": "option"
4402
- },
4403
4443
  "json": {
4404
4444
  "description": "Output as JSON for AI agents/scripts",
4405
4445
  "name": "json",
@@ -4412,42 +4452,70 @@
4412
4452
  "name": "machine",
4413
4453
  "allowNo": false,
4414
4454
  "type": "boolean"
4455
+ },
4456
+ "category": {
4457
+ "char": "c",
4458
+ "description": "Filter by category (bug, feature, general)",
4459
+ "name": "category",
4460
+ "hasDynamicHelp": false,
4461
+ "multiple": false,
4462
+ "options": [
4463
+ "bug",
4464
+ "feature",
4465
+ "general"
4466
+ ],
4467
+ "type": "option"
4468
+ },
4469
+ "state": {
4470
+ "char": "s",
4471
+ "description": "Filter by state",
4472
+ "name": "state",
4473
+ "default": "open",
4474
+ "hasDynamicHelp": false,
4475
+ "multiple": false,
4476
+ "options": [
4477
+ "open",
4478
+ "closed",
4479
+ "all"
4480
+ ],
4481
+ "type": "option"
4482
+ },
4483
+ "limit": {
4484
+ "char": "l",
4485
+ "description": "Maximum number of issues to show",
4486
+ "name": "limit",
4487
+ "default": 20,
4488
+ "hasDynamicHelp": false,
4489
+ "multiple": false,
4490
+ "type": "option"
4415
4491
  }
4416
4492
  },
4417
4493
  "hasDynamicHelp": false,
4418
4494
  "hiddenAliases": [],
4419
- "id": "execution",
4495
+ "id": "feedback:list",
4420
4496
  "pluginAlias": "@proletariat/cli",
4421
4497
  "pluginName": "@proletariat/cli",
4422
4498
  "pluginType": "core",
4423
4499
  "strict": true,
4500
+ "enableJsonFlag": false,
4424
4501
  "isESM": true,
4425
4502
  "relativePath": [
4426
4503
  "dist",
4427
4504
  "commands",
4428
- "execution",
4429
- "index.js"
4505
+ "feedback",
4506
+ "list.js"
4430
4507
  ]
4431
4508
  },
4432
- "execution:list": {
4509
+ "feedback:submit": {
4433
4510
  "aliases": [],
4434
4511
  "args": {},
4435
- "description": "List running and recent executions",
4512
+ "description": "Submit feedback, bug reports, or feature requests to GitHub Issues",
4436
4513
  "examples": [
4437
4514
  "<%= config.bin %> <%= command.id %>",
4438
- "<%= config.bin %> <%= command.id %> --status running",
4439
- "<%= config.bin %> <%= command.id %> --agent alice",
4440
- "<%= config.bin %> <%= command.id %> --limit 50"
4515
+ "<%= config.bin %> <%= command.id %> --title \"Bug in CLI\" --body \"Description here\" --category bug",
4516
+ "<%= config.bin %> <%= command.id %> --json"
4441
4517
  ],
4442
4518
  "flags": {
4443
- "project": {
4444
- "char": "P",
4445
- "description": "Project ID (uses first project if only one exists)",
4446
- "name": "project",
4447
- "hasDynamicHelp": false,
4448
- "multiple": false,
4449
- "type": "option"
4450
- },
4451
4519
  "json": {
4452
4520
  "description": "Output as JSON for AI agents/scripts",
4453
4521
  "name": "json",
@@ -4461,42 +4529,39 @@
4461
4529
  "allowNo": false,
4462
4530
  "type": "boolean"
4463
4531
  },
4464
- "status": {
4465
- "char": "s",
4466
- "description": "Filter by status",
4467
- "name": "status",
4532
+ "title": {
4533
+ "char": "t",
4534
+ "description": "Issue title (one-liner) [required for non-interactive]",
4535
+ "name": "title",
4468
4536
  "hasDynamicHelp": false,
4469
4537
  "multiple": false,
4470
- "options": [
4471
- "starting",
4472
- "running",
4473
- "completed",
4474
- "failed",
4475
- "stopped"
4476
- ],
4477
4538
  "type": "option"
4478
4539
  },
4479
- "agent": {
4480
- "char": "a",
4481
- "description": "Filter by agent name",
4482
- "name": "agent",
4540
+ "body": {
4541
+ "char": "b",
4542
+ "description": "Issue description [required for non-interactive]",
4543
+ "name": "body",
4483
4544
  "hasDynamicHelp": false,
4484
4545
  "multiple": false,
4485
4546
  "type": "option"
4486
4547
  },
4487
- "limit": {
4488
- "char": "l",
4489
- "description": "Number of results",
4490
- "name": "limit",
4491
- "default": 20,
4548
+ "category": {
4549
+ "char": "c",
4550
+ "description": "Feedback category",
4551
+ "name": "category",
4492
4552
  "hasDynamicHelp": false,
4493
4553
  "multiple": false,
4554
+ "options": [
4555
+ "bug",
4556
+ "feature",
4557
+ "general"
4558
+ ],
4494
4559
  "type": "option"
4495
4560
  }
4496
4561
  },
4497
4562
  "hasDynamicHelp": false,
4498
4563
  "hiddenAliases": [],
4499
- "id": "execution:list",
4564
+ "id": "feedback:submit",
4500
4565
  "pluginAlias": "@proletariat/cli",
4501
4566
  "pluginName": "@proletariat/cli",
4502
4567
  "pluginType": "core",
@@ -4505,35 +4570,25 @@
4505
4570
  "relativePath": [
4506
4571
  "dist",
4507
4572
  "commands",
4508
- "execution",
4509
- "list.js"
4573
+ "feedback",
4574
+ "submit.js"
4510
4575
  ]
4511
4576
  },
4512
- "execution:logs": {
4577
+ "feedback:view": {
4513
4578
  "aliases": [],
4514
4579
  "args": {
4515
- "id": {
4516
- "description": "Execution ID - prompts if not provided",
4517
- "name": "id",
4518
- "required": false
4580
+ "number": {
4581
+ "description": "Issue number to view",
4582
+ "name": "number",
4583
+ "required": true
4519
4584
  }
4520
4585
  },
4521
- "description": "View execution logs",
4586
+ "description": "View details of a specific feedback issue",
4522
4587
  "examples": [
4523
- "<%= config.bin %> <%= command.id %> WORK-001",
4524
- "<%= config.bin %> <%= command.id %> WORK-001 --follow",
4525
- "<%= config.bin %> <%= command.id %> WORK-001 --tail 50",
4526
- "<%= config.bin %> <%= command.id %> # Interactive mode"
4588
+ "<%= config.bin %> <%= command.id %> 123",
4589
+ "<%= config.bin %> <%= command.id %> 123 --json"
4527
4590
  ],
4528
4591
  "flags": {
4529
- "project": {
4530
- "char": "P",
4531
- "description": "Project ID (uses first project if only one exists)",
4532
- "name": "project",
4533
- "hasDynamicHelp": false,
4534
- "multiple": false,
4535
- "type": "option"
4536
- },
4537
4592
  "json": {
4538
4593
  "description": "Output as JSON for AI agents/scripts",
4539
4594
  "name": "json",
@@ -4546,55 +4601,36 @@
4546
4601
  "name": "machine",
4547
4602
  "allowNo": false,
4548
4603
  "type": "boolean"
4549
- },
4550
- "follow": {
4551
- "char": "f",
4552
- "description": "Stream logs in real-time",
4553
- "name": "follow",
4554
- "allowNo": false,
4555
- "type": "boolean"
4556
- },
4557
- "tail": {
4558
- "char": "n",
4559
- "description": "Show last n lines",
4560
- "name": "tail",
4561
- "hasDynamicHelp": false,
4562
- "multiple": false,
4563
- "type": "option"
4564
4604
  }
4565
4605
  },
4566
4606
  "hasDynamicHelp": false,
4567
4607
  "hiddenAliases": [],
4568
- "id": "execution:logs",
4608
+ "id": "feedback:view",
4569
4609
  "pluginAlias": "@proletariat/cli",
4570
4610
  "pluginName": "@proletariat/cli",
4571
4611
  "pluginType": "core",
4572
4612
  "strict": true,
4613
+ "enableJsonFlag": false,
4573
4614
  "isESM": true,
4574
4615
  "relativePath": [
4575
4616
  "dist",
4576
4617
  "commands",
4577
- "execution",
4578
- "logs.js"
4618
+ "feedback",
4619
+ "view.js"
4579
4620
  ]
4580
4621
  },
4581
- "execution:stop": {
4622
+ "execution:config": {
4582
4623
  "aliases": [],
4583
- "args": {
4584
- "id": {
4585
- "description": "Execution ID - prompts if not provided (ignored if --all or --agent used)",
4586
- "name": "id",
4587
- "required": false
4588
- }
4589
- },
4590
- "description": "Stop running execution(s)",
4624
+ "args": {},
4625
+ "description": "View and update execution preferences",
4591
4626
  "examples": [
4592
- "<%= config.bin %> <%= command.id %> WORK-001",
4593
- "<%= config.bin %> <%= command.id %> WORK-001 --force",
4594
- "<%= config.bin %> <%= command.id %> # Interactive mode",
4595
- "<%= config.bin %> <%= command.id %> --all",
4596
- "<%= config.bin %> <%= command.id %> --all --force",
4597
- "<%= config.bin %> <%= command.id %> --agent altman"
4627
+ "<%= config.bin %> execution config # Interactive menu",
4628
+ "<%= config.bin %> execution config --json # Output current config as JSON",
4629
+ "<%= config.bin %> execution config --list # Show all settings",
4630
+ "<%= config.bin %> execution config --set defaultEnvironment host",
4631
+ "<%= config.bin %> execution config --set outputMode interactive",
4632
+ "<%= config.bin %> execution config --set permissionMode safe",
4633
+ "<%= config.bin %> execution config --setting outputMode --json # Show output mode choices"
4598
4634
  ],
4599
4635
  "flags": {
4600
4636
  "project": {
@@ -4618,23 +4654,24 @@
4618
4654
  "allowNo": false,
4619
4655
  "type": "boolean"
4620
4656
  },
4621
- "force": {
4622
- "char": "f",
4623
- "description": "Force kill (SIGKILL instead of SIGTERM)",
4624
- "name": "force",
4625
- "allowNo": false,
4626
- "type": "boolean"
4657
+ "set": {
4658
+ "char": "s",
4659
+ "description": "Set a config value (format: key value)",
4660
+ "name": "set",
4661
+ "hasDynamicHelp": false,
4662
+ "multiple": true,
4663
+ "type": "option"
4627
4664
  },
4628
- "all": {
4629
- "description": "Stop all running executions",
4630
- "name": "all",
4665
+ "list": {
4666
+ "char": "l",
4667
+ "description": "List all configuration values",
4668
+ "name": "list",
4631
4669
  "allowNo": false,
4632
4670
  "type": "boolean"
4633
4671
  },
4634
- "agent": {
4635
- "char": "a",
4636
- "description": "Stop all executions for a specific agent",
4637
- "name": "agent",
4672
+ "setting": {
4673
+ "description": "Navigate to a specific setting prompt (for agent navigation)",
4674
+ "name": "setting",
4638
4675
  "hasDynamicHelp": false,
4639
4676
  "multiple": false,
4640
4677
  "type": "option"
@@ -4642,7 +4679,7 @@
4642
4679
  },
4643
4680
  "hasDynamicHelp": false,
4644
4681
  "hiddenAliases": [],
4645
- "id": "execution:stop",
4682
+ "id": "execution:config",
4646
4683
  "pluginAlias": "@proletariat/cli",
4647
4684
  "pluginName": "@proletariat/cli",
4648
4685
  "pluginType": "core",
@@ -4652,22 +4689,18 @@
4652
4689
  "dist",
4653
4690
  "commands",
4654
4691
  "execution",
4655
- "stop.js"
4692
+ "config.js"
4656
4693
  ]
4657
4694
  },
4658
- "execution:view": {
4695
+ "execution": {
4659
4696
  "aliases": [],
4660
- "args": {
4661
- "id": {
4662
- "description": "Execution ID - prompts if not provided",
4663
- "name": "id",
4664
- "required": false
4665
- }
4666
- },
4667
- "description": "View details of a specific execution",
4697
+ "args": {},
4698
+ "description": "Single execution operations (view, logs, stop)",
4668
4699
  "examples": [
4669
- "<%= config.bin %> <%= command.id %> WORK-001",
4670
- "<%= config.bin %> <%= command.id %> # Interactive mode"
4700
+ "<%= config.bin %> <%= command.id %>",
4701
+ "<%= config.bin %> <%= command.id %> view WORK-001",
4702
+ "<%= config.bin %> <%= command.id %> logs WORK-001",
4703
+ "<%= config.bin %> <%= command.id %> stop WORK-001"
4671
4704
  ],
4672
4705
  "flags": {
4673
4706
  "project": {
@@ -4694,7 +4727,7 @@
4694
4727
  },
4695
4728
  "hasDynamicHelp": false,
4696
4729
  "hiddenAliases": [],
4697
- "id": "execution:view",
4730
+ "id": "execution",
4698
4731
  "pluginAlias": "@proletariat/cli",
4699
4732
  "pluginName": "@proletariat/cli",
4700
4733
  "pluginType": "core",
@@ -4704,72 +4737,114 @@
4704
4737
  "dist",
4705
4738
  "commands",
4706
4739
  "execution",
4707
- "view.js"
4740
+ "index.js"
4708
4741
  ]
4709
4742
  },
4710
- "feedback": {
4743
+ "execution:list": {
4711
4744
  "aliases": [],
4712
4745
  "args": {},
4713
- "description": "Interactive menu for feedback and issue operations",
4746
+ "description": "List running and recent executions",
4714
4747
  "examples": [
4715
4748
  "<%= config.bin %> <%= command.id %>",
4716
- "<%= config.bin %> <%= command.id %> --action submit"
4749
+ "<%= config.bin %> <%= command.id %> --status running",
4750
+ "<%= config.bin %> <%= command.id %> --agent alice",
4751
+ "<%= config.bin %> <%= command.id %> --limit 50"
4717
4752
  ],
4718
4753
  "flags": {
4719
- "json": {
4720
- "description": "Output as JSON for AI agents/scripts",
4721
- "name": "json",
4722
- "allowNo": false,
4723
- "type": "boolean"
4724
- },
4725
- "machine": {
4754
+ "project": {
4755
+ "char": "P",
4756
+ "description": "Project ID (uses first project if only one exists)",
4757
+ "name": "project",
4758
+ "hasDynamicHelp": false,
4759
+ "multiple": false,
4760
+ "type": "option"
4761
+ },
4762
+ "json": {
4763
+ "description": "Output as JSON for AI agents/scripts",
4764
+ "name": "json",
4765
+ "allowNo": false,
4766
+ "type": "boolean"
4767
+ },
4768
+ "machine": {
4726
4769
  "char": "m",
4727
4770
  "description": "Output as JSON for AI agents/scripts",
4728
4771
  "name": "machine",
4729
4772
  "allowNo": false,
4730
4773
  "type": "boolean"
4731
4774
  },
4732
- "action": {
4733
- "char": "a",
4734
- "description": "Action to perform (submit, list, view)",
4735
- "name": "action",
4775
+ "status": {
4776
+ "char": "s",
4777
+ "description": "Filter by status",
4778
+ "name": "status",
4736
4779
  "hasDynamicHelp": false,
4737
4780
  "multiple": false,
4738
4781
  "options": [
4739
- "submit",
4740
- "list",
4741
- "view"
4782
+ "starting",
4783
+ "running",
4784
+ "completed",
4785
+ "failed",
4786
+ "stopped"
4742
4787
  ],
4743
4788
  "type": "option"
4789
+ },
4790
+ "agent": {
4791
+ "char": "a",
4792
+ "description": "Filter by agent name",
4793
+ "name": "agent",
4794
+ "hasDynamicHelp": false,
4795
+ "multiple": false,
4796
+ "type": "option"
4797
+ },
4798
+ "limit": {
4799
+ "char": "l",
4800
+ "description": "Number of results",
4801
+ "name": "limit",
4802
+ "default": 20,
4803
+ "hasDynamicHelp": false,
4804
+ "multiple": false,
4805
+ "type": "option"
4744
4806
  }
4745
4807
  },
4746
4808
  "hasDynamicHelp": false,
4747
4809
  "hiddenAliases": [],
4748
- "id": "feedback",
4810
+ "id": "execution:list",
4749
4811
  "pluginAlias": "@proletariat/cli",
4750
4812
  "pluginName": "@proletariat/cli",
4751
4813
  "pluginType": "core",
4752
4814
  "strict": true,
4753
- "enableJsonFlag": false,
4754
4815
  "isESM": true,
4755
4816
  "relativePath": [
4756
4817
  "dist",
4757
4818
  "commands",
4758
- "feedback",
4759
- "index.js"
4819
+ "execution",
4820
+ "list.js"
4760
4821
  ]
4761
4822
  },
4762
- "feedback:list": {
4823
+ "execution:logs": {
4763
4824
  "aliases": [],
4764
- "args": {},
4765
- "description": "List recent feedback issues from the repository",
4825
+ "args": {
4826
+ "id": {
4827
+ "description": "Execution ID - prompts if not provided",
4828
+ "name": "id",
4829
+ "required": false
4830
+ }
4831
+ },
4832
+ "description": "View execution logs",
4766
4833
  "examples": [
4767
- "<%= config.bin %> <%= command.id %>",
4768
- "<%= config.bin %> <%= command.id %> --category bug",
4769
- "<%= config.bin %> <%= command.id %> --state closed --limit 10",
4770
- "<%= config.bin %> <%= command.id %> --json"
4834
+ "<%= config.bin %> <%= command.id %> WORK-001",
4835
+ "<%= config.bin %> <%= command.id %> WORK-001 --follow",
4836
+ "<%= config.bin %> <%= command.id %> WORK-001 --tail 50",
4837
+ "<%= config.bin %> <%= command.id %> # Interactive mode"
4771
4838
  ],
4772
4839
  "flags": {
4840
+ "project": {
4841
+ "char": "P",
4842
+ "description": "Project ID (uses first project if only one exists)",
4843
+ "name": "project",
4844
+ "hasDynamicHelp": false,
4845
+ "multiple": false,
4846
+ "type": "option"
4847
+ },
4773
4848
  "json": {
4774
4849
  "description": "Output as JSON for AI agents/scripts",
4775
4850
  "name": "json",
@@ -4783,38 +4858,17 @@
4783
4858
  "allowNo": false,
4784
4859
  "type": "boolean"
4785
4860
  },
4786
- "category": {
4787
- "char": "c",
4788
- "description": "Filter by category (bug, feature, general)",
4789
- "name": "category",
4790
- "hasDynamicHelp": false,
4791
- "multiple": false,
4792
- "options": [
4793
- "bug",
4794
- "feature",
4795
- "general"
4796
- ],
4797
- "type": "option"
4798
- },
4799
- "state": {
4800
- "char": "s",
4801
- "description": "Filter by state",
4802
- "name": "state",
4803
- "default": "open",
4804
- "hasDynamicHelp": false,
4805
- "multiple": false,
4806
- "options": [
4807
- "open",
4808
- "closed",
4809
- "all"
4810
- ],
4811
- "type": "option"
4861
+ "follow": {
4862
+ "char": "f",
4863
+ "description": "Stream logs in real-time",
4864
+ "name": "follow",
4865
+ "allowNo": false,
4866
+ "type": "boolean"
4812
4867
  },
4813
- "limit": {
4814
- "char": "l",
4815
- "description": "Maximum number of issues to show",
4816
- "name": "limit",
4817
- "default": 20,
4868
+ "tail": {
4869
+ "char": "n",
4870
+ "description": "Show last n lines",
4871
+ "name": "tail",
4818
4872
  "hasDynamicHelp": false,
4819
4873
  "multiple": false,
4820
4874
  "type": "option"
@@ -4822,30 +4876,46 @@
4822
4876
  },
4823
4877
  "hasDynamicHelp": false,
4824
4878
  "hiddenAliases": [],
4825
- "id": "feedback:list",
4879
+ "id": "execution:logs",
4826
4880
  "pluginAlias": "@proletariat/cli",
4827
4881
  "pluginName": "@proletariat/cli",
4828
4882
  "pluginType": "core",
4829
4883
  "strict": true,
4830
- "enableJsonFlag": false,
4831
4884
  "isESM": true,
4832
4885
  "relativePath": [
4833
4886
  "dist",
4834
4887
  "commands",
4835
- "feedback",
4836
- "list.js"
4888
+ "execution",
4889
+ "logs.js"
4837
4890
  ]
4838
4891
  },
4839
- "feedback:submit": {
4892
+ "execution:stop": {
4840
4893
  "aliases": [],
4841
- "args": {},
4842
- "description": "Submit feedback, bug reports, or feature requests to GitHub Issues",
4894
+ "args": {
4895
+ "id": {
4896
+ "description": "Execution ID - prompts if not provided (ignored if --all or --agent used)",
4897
+ "name": "id",
4898
+ "required": false
4899
+ }
4900
+ },
4901
+ "description": "Stop running execution(s)",
4843
4902
  "examples": [
4844
- "<%= config.bin %> <%= command.id %>",
4845
- "<%= config.bin %> <%= command.id %> --title \"Bug in CLI\" --body \"Description here\" --category bug",
4846
- "<%= config.bin %> <%= command.id %> --json"
4903
+ "<%= config.bin %> <%= command.id %> WORK-001",
4904
+ "<%= config.bin %> <%= command.id %> WORK-001 --force",
4905
+ "<%= config.bin %> <%= command.id %> # Interactive mode",
4906
+ "<%= config.bin %> <%= command.id %> --all",
4907
+ "<%= config.bin %> <%= command.id %> --all --force",
4908
+ "<%= config.bin %> <%= command.id %> --agent altman"
4847
4909
  ],
4848
4910
  "flags": {
4911
+ "project": {
4912
+ "char": "P",
4913
+ "description": "Project ID (uses first project if only one exists)",
4914
+ "name": "project",
4915
+ "hasDynamicHelp": false,
4916
+ "multiple": false,
4917
+ "type": "option"
4918
+ },
4849
4919
  "json": {
4850
4920
  "description": "Output as JSON for AI agents/scripts",
4851
4921
  "name": "json",
@@ -4859,39 +4929,31 @@
4859
4929
  "allowNo": false,
4860
4930
  "type": "boolean"
4861
4931
  },
4862
- "title": {
4863
- "char": "t",
4864
- "description": "Issue title (one-liner) [required for non-interactive]",
4865
- "name": "title",
4866
- "hasDynamicHelp": false,
4867
- "multiple": false,
4868
- "type": "option"
4932
+ "force": {
4933
+ "char": "f",
4934
+ "description": "Force kill (SIGKILL instead of SIGTERM)",
4935
+ "name": "force",
4936
+ "allowNo": false,
4937
+ "type": "boolean"
4869
4938
  },
4870
- "body": {
4871
- "char": "b",
4872
- "description": "Issue description [required for non-interactive]",
4873
- "name": "body",
4874
- "hasDynamicHelp": false,
4875
- "multiple": false,
4876
- "type": "option"
4939
+ "all": {
4940
+ "description": "Stop all running executions",
4941
+ "name": "all",
4942
+ "allowNo": false,
4943
+ "type": "boolean"
4877
4944
  },
4878
- "category": {
4879
- "char": "c",
4880
- "description": "Feedback category",
4881
- "name": "category",
4945
+ "agent": {
4946
+ "char": "a",
4947
+ "description": "Stop all executions for a specific agent",
4948
+ "name": "agent",
4882
4949
  "hasDynamicHelp": false,
4883
4950
  "multiple": false,
4884
- "options": [
4885
- "bug",
4886
- "feature",
4887
- "general"
4888
- ],
4889
4951
  "type": "option"
4890
4952
  }
4891
4953
  },
4892
4954
  "hasDynamicHelp": false,
4893
4955
  "hiddenAliases": [],
4894
- "id": "feedback:submit",
4956
+ "id": "execution:stop",
4895
4957
  "pluginAlias": "@proletariat/cli",
4896
4958
  "pluginName": "@proletariat/cli",
4897
4959
  "pluginType": "core",
@@ -4900,25 +4962,33 @@
4900
4962
  "relativePath": [
4901
4963
  "dist",
4902
4964
  "commands",
4903
- "feedback",
4904
- "submit.js"
4965
+ "execution",
4966
+ "stop.js"
4905
4967
  ]
4906
4968
  },
4907
- "feedback:view": {
4969
+ "execution:view": {
4908
4970
  "aliases": [],
4909
4971
  "args": {
4910
- "number": {
4911
- "description": "Issue number to view",
4912
- "name": "number",
4913
- "required": true
4972
+ "id": {
4973
+ "description": "Execution ID - prompts if not provided",
4974
+ "name": "id",
4975
+ "required": false
4914
4976
  }
4915
4977
  },
4916
- "description": "View details of a specific feedback issue",
4978
+ "description": "View details of a specific execution",
4917
4979
  "examples": [
4918
- "<%= config.bin %> <%= command.id %> 123",
4919
- "<%= config.bin %> <%= command.id %> 123 --json"
4980
+ "<%= config.bin %> <%= command.id %> WORK-001",
4981
+ "<%= config.bin %> <%= command.id %> # Interactive mode"
4920
4982
  ],
4921
4983
  "flags": {
4984
+ "project": {
4985
+ "char": "P",
4986
+ "description": "Project ID (uses first project if only one exists)",
4987
+ "name": "project",
4988
+ "hasDynamicHelp": false,
4989
+ "multiple": false,
4990
+ "type": "option"
4991
+ },
4922
4992
  "json": {
4923
4993
  "description": "Output as JSON for AI agents/scripts",
4924
4994
  "name": "json",
@@ -4935,17 +5005,16 @@
4935
5005
  },
4936
5006
  "hasDynamicHelp": false,
4937
5007
  "hiddenAliases": [],
4938
- "id": "feedback:view",
5008
+ "id": "execution:view",
4939
5009
  "pluginAlias": "@proletariat/cli",
4940
5010
  "pluginName": "@proletariat/cli",
4941
5011
  "pluginType": "core",
4942
5012
  "strict": true,
4943
- "enableJsonFlag": false,
4944
5013
  "isESM": true,
4945
5014
  "relativePath": [
4946
5015
  "dist",
4947
5016
  "commands",
4948
- "feedback",
5017
+ "execution",
4949
5018
  "view.js"
4950
5019
  ]
4951
5020
  },
@@ -5052,28 +5121,383 @@
5052
5121
  },
5053
5122
  "hasDynamicHelp": false,
5054
5123
  "hiddenAliases": [],
5055
- "id": "gh:status",
5124
+ "id": "gh:status",
5125
+ "pluginAlias": "@proletariat/cli",
5126
+ "pluginName": "@proletariat/cli",
5127
+ "pluginType": "core",
5128
+ "strict": true,
5129
+ "enableJsonFlag": false,
5130
+ "isESM": true,
5131
+ "relativePath": [
5132
+ "dist",
5133
+ "commands",
5134
+ "gh",
5135
+ "status.js"
5136
+ ]
5137
+ },
5138
+ "gh:token": {
5139
+ "aliases": [],
5140
+ "args": {},
5141
+ "description": "Show GH_TOKEN setup for devcontainer PR creation",
5142
+ "examples": [
5143
+ "<%= config.bin %> <%= command.id %>"
5144
+ ],
5145
+ "flags": {
5146
+ "json": {
5147
+ "description": "Output as JSON for AI agents/scripts",
5148
+ "name": "json",
5149
+ "allowNo": false,
5150
+ "type": "boolean"
5151
+ },
5152
+ "machine": {
5153
+ "char": "m",
5154
+ "description": "Output as JSON for AI agents/scripts",
5155
+ "name": "machine",
5156
+ "allowNo": false,
5157
+ "type": "boolean"
5158
+ }
5159
+ },
5160
+ "hasDynamicHelp": false,
5161
+ "hiddenAliases": [],
5162
+ "id": "gh:token",
5163
+ "pluginAlias": "@proletariat/cli",
5164
+ "pluginName": "@proletariat/cli",
5165
+ "pluginType": "core",
5166
+ "strict": true,
5167
+ "enableJsonFlag": false,
5168
+ "isESM": true,
5169
+ "relativePath": [
5170
+ "dist",
5171
+ "commands",
5172
+ "gh",
5173
+ "token.js"
5174
+ ]
5175
+ },
5176
+ "hook:export": {
5177
+ "aliases": [],
5178
+ "args": {},
5179
+ "description": "Export hook configuration as YAML",
5180
+ "examples": [
5181
+ "<%= config.bin %> <%= command.id %>"
5182
+ ],
5183
+ "flags": {
5184
+ "project": {
5185
+ "char": "P",
5186
+ "description": "Project ID (uses first project if only one exists)",
5187
+ "name": "project",
5188
+ "hasDynamicHelp": false,
5189
+ "multiple": false,
5190
+ "type": "option"
5191
+ },
5192
+ "json": {
5193
+ "description": "Output as JSON for AI agents/scripts",
5194
+ "name": "json",
5195
+ "allowNo": false,
5196
+ "type": "boolean"
5197
+ },
5198
+ "machine": {
5199
+ "char": "m",
5200
+ "description": "Output as JSON for AI agents/scripts",
5201
+ "name": "machine",
5202
+ "allowNo": false,
5203
+ "type": "boolean"
5204
+ }
5205
+ },
5206
+ "hasDynamicHelp": false,
5207
+ "hiddenAliases": [],
5208
+ "id": "hook:export",
5209
+ "pluginAlias": "@proletariat/cli",
5210
+ "pluginName": "@proletariat/cli",
5211
+ "pluginType": "core",
5212
+ "strict": true,
5213
+ "isESM": true,
5214
+ "relativePath": [
5215
+ "dist",
5216
+ "commands",
5217
+ "hook",
5218
+ "export.js"
5219
+ ]
5220
+ },
5221
+ "hook:fire": {
5222
+ "aliases": [],
5223
+ "args": {
5224
+ "event": {
5225
+ "description": "Event name to fire",
5226
+ "name": "event",
5227
+ "options": [
5228
+ "work:started",
5229
+ "work:status_changed",
5230
+ "work:pr_created",
5231
+ "work:pr_merged",
5232
+ "work:pr_closed",
5233
+ "work:completed",
5234
+ "agent:spawned",
5235
+ "agent:stopped",
5236
+ "on_ci_green",
5237
+ "on_ci_failed",
5238
+ "on_pr_opened",
5239
+ "on_pr_merged",
5240
+ "on_pr_conflicting",
5241
+ "on_ticket_ready",
5242
+ "on_agent_spawned",
5243
+ "on_agent_died",
5244
+ "on_agent_completed",
5245
+ "on_agent_idle",
5246
+ "on_version_published"
5247
+ ],
5248
+ "required": true
5249
+ }
5250
+ },
5251
+ "description": "Fire an orchestrate event to trigger configured hooks",
5252
+ "examples": [
5253
+ "<%= config.bin %> <%= command.id %> on_ci_green --pr 123",
5254
+ "<%= config.bin %> <%= command.id %> on_pr_merged --ticket TKT-100 --pr 456",
5255
+ "<%= config.bin %> <%= command.id %> on_ticket_ready --ticket TKT-200",
5256
+ "<%= config.bin %> <%= command.id %> on_agent_died --ticket TKT-100 --agent bold-turing"
5257
+ ],
5258
+ "flags": {
5259
+ "project": {
5260
+ "char": "P",
5261
+ "description": "Project ID (uses first project if only one exists)",
5262
+ "name": "project",
5263
+ "hasDynamicHelp": false,
5264
+ "multiple": false,
5265
+ "type": "option"
5266
+ },
5267
+ "json": {
5268
+ "description": "Output as JSON for AI agents/scripts",
5269
+ "name": "json",
5270
+ "allowNo": false,
5271
+ "type": "boolean"
5272
+ },
5273
+ "machine": {
5274
+ "char": "m",
5275
+ "description": "Output as JSON for AI agents/scripts",
5276
+ "name": "machine",
5277
+ "allowNo": false,
5278
+ "type": "boolean"
5279
+ },
5280
+ "ticket": {
5281
+ "char": "t",
5282
+ "description": "Ticket ID",
5283
+ "name": "ticket",
5284
+ "hasDynamicHelp": false,
5285
+ "multiple": false,
5286
+ "type": "option"
5287
+ },
5288
+ "pr": {
5289
+ "description": "PR number",
5290
+ "name": "pr",
5291
+ "hasDynamicHelp": false,
5292
+ "multiple": false,
5293
+ "type": "option"
5294
+ },
5295
+ "branch": {
5296
+ "description": "Branch name",
5297
+ "name": "branch",
5298
+ "hasDynamicHelp": false,
5299
+ "multiple": false,
5300
+ "type": "option"
5301
+ },
5302
+ "agent": {
5303
+ "description": "Agent name",
5304
+ "name": "agent",
5305
+ "hasDynamicHelp": false,
5306
+ "multiple": false,
5307
+ "type": "option"
5308
+ },
5309
+ "action": {
5310
+ "description": "Action to execute (for direct invocation)",
5311
+ "name": "action",
5312
+ "hasDynamicHelp": false,
5313
+ "multiple": false,
5314
+ "type": "option"
5315
+ },
5316
+ "pr-url": {
5317
+ "description": "PR URL",
5318
+ "name": "pr-url",
5319
+ "hasDynamicHelp": false,
5320
+ "multiple": false,
5321
+ "type": "option"
5322
+ },
5323
+ "dry-run": {
5324
+ "description": "Show what would happen without executing",
5325
+ "name": "dry-run",
5326
+ "allowNo": false,
5327
+ "type": "boolean"
5328
+ }
5329
+ },
5330
+ "hasDynamicHelp": false,
5331
+ "hiddenAliases": [],
5332
+ "id": "hook:fire",
5333
+ "pluginAlias": "@proletariat/cli",
5334
+ "pluginName": "@proletariat/cli",
5335
+ "pluginType": "core",
5336
+ "strict": true,
5337
+ "isESM": true,
5338
+ "relativePath": [
5339
+ "dist",
5340
+ "commands",
5341
+ "hook",
5342
+ "fire.js"
5343
+ ]
5344
+ },
5345
+ "hook": {
5346
+ "aliases": [],
5347
+ "args": {},
5348
+ "description": "Manage orchestrate hooks (event-driven pipeline automation)",
5349
+ "examples": [
5350
+ "<%= config.bin %> <%= command.id %>",
5351
+ "<%= config.bin %> hook fire on_ci_green --pr 123",
5352
+ "<%= config.bin %> hook list",
5353
+ "<%= config.bin %> hook preset supervised"
5354
+ ],
5355
+ "flags": {
5356
+ "project": {
5357
+ "char": "P",
5358
+ "description": "Project ID (uses first project if only one exists)",
5359
+ "name": "project",
5360
+ "hasDynamicHelp": false,
5361
+ "multiple": false,
5362
+ "type": "option"
5363
+ },
5364
+ "json": {
5365
+ "description": "Output as JSON for AI agents/scripts",
5366
+ "name": "json",
5367
+ "allowNo": false,
5368
+ "type": "boolean"
5369
+ },
5370
+ "machine": {
5371
+ "char": "m",
5372
+ "description": "Output as JSON for AI agents/scripts",
5373
+ "name": "machine",
5374
+ "allowNo": false,
5375
+ "type": "boolean"
5376
+ }
5377
+ },
5378
+ "hasDynamicHelp": false,
5379
+ "hiddenAliases": [],
5380
+ "id": "hook",
5381
+ "pluginAlias": "@proletariat/cli",
5382
+ "pluginName": "@proletariat/cli",
5383
+ "pluginType": "core",
5384
+ "strict": true,
5385
+ "isESM": true,
5386
+ "relativePath": [
5387
+ "dist",
5388
+ "commands",
5389
+ "hook",
5390
+ "index.js"
5391
+ ]
5392
+ },
5393
+ "hook:list": {
5394
+ "aliases": [],
5395
+ "args": {},
5396
+ "description": "List configured orchestrate hooks",
5397
+ "examples": [
5398
+ "<%= config.bin %> <%= command.id %>",
5399
+ "<%= config.bin %> <%= command.id %> --event on_ci_green",
5400
+ "<%= config.bin %> <%= command.id %> --mode auto"
5401
+ ],
5402
+ "flags": {
5403
+ "project": {
5404
+ "char": "P",
5405
+ "description": "Project ID (uses first project if only one exists)",
5406
+ "name": "project",
5407
+ "hasDynamicHelp": false,
5408
+ "multiple": false,
5409
+ "type": "option"
5410
+ },
5411
+ "json": {
5412
+ "description": "Output as JSON for AI agents/scripts",
5413
+ "name": "json",
5414
+ "allowNo": false,
5415
+ "type": "boolean"
5416
+ },
5417
+ "machine": {
5418
+ "char": "m",
5419
+ "description": "Output as JSON for AI agents/scripts",
5420
+ "name": "machine",
5421
+ "allowNo": false,
5422
+ "type": "boolean"
5423
+ },
5424
+ "event": {
5425
+ "description": "Filter by event name",
5426
+ "name": "event",
5427
+ "hasDynamicHelp": false,
5428
+ "multiple": false,
5429
+ "type": "option"
5430
+ },
5431
+ "mode": {
5432
+ "description": "Filter by mode (auto, confirm, notify, off)",
5433
+ "name": "mode",
5434
+ "hasDynamicHelp": false,
5435
+ "multiple": false,
5436
+ "options": [
5437
+ "auto",
5438
+ "confirm",
5439
+ "notify",
5440
+ "off"
5441
+ ],
5442
+ "type": "option"
5443
+ },
5444
+ "source": {
5445
+ "description": "Filter by source (yaml, cli, preset)",
5446
+ "name": "source",
5447
+ "hasDynamicHelp": false,
5448
+ "multiple": false,
5449
+ "options": [
5450
+ "yaml",
5451
+ "cli",
5452
+ "preset"
5453
+ ],
5454
+ "type": "option"
5455
+ }
5456
+ },
5457
+ "hasDynamicHelp": false,
5458
+ "hiddenAliases": [],
5459
+ "id": "hook:list",
5056
5460
  "pluginAlias": "@proletariat/cli",
5057
5461
  "pluginName": "@proletariat/cli",
5058
5462
  "pluginType": "core",
5059
5463
  "strict": true,
5060
- "enableJsonFlag": false,
5061
5464
  "isESM": true,
5062
5465
  "relativePath": [
5063
5466
  "dist",
5064
5467
  "commands",
5065
- "gh",
5066
- "status.js"
5468
+ "hook",
5469
+ "list.js"
5067
5470
  ]
5068
5471
  },
5069
- "gh:token": {
5472
+ "hook:preset": {
5070
5473
  "aliases": [],
5071
- "args": {},
5072
- "description": "Show GH_TOKEN setup for devcontainer PR creation",
5474
+ "args": {
5475
+ "preset": {
5476
+ "description": "Preset name to apply",
5477
+ "name": "preset",
5478
+ "options": [
5479
+ "aggressive",
5480
+ "conservative",
5481
+ "supervised"
5482
+ ],
5483
+ "required": true
5484
+ }
5485
+ },
5486
+ "description": "Apply a hook preset (aggressive, conservative, supervised)",
5073
5487
  "examples": [
5074
- "<%= config.bin %> <%= command.id %>"
5488
+ "<%= config.bin %> <%= command.id %> aggressive",
5489
+ "<%= config.bin %> <%= command.id %> conservative",
5490
+ "<%= config.bin %> <%= command.id %> supervised"
5075
5491
  ],
5076
5492
  "flags": {
5493
+ "project": {
5494
+ "char": "P",
5495
+ "description": "Project ID (uses first project if only one exists)",
5496
+ "name": "project",
5497
+ "hasDynamicHelp": false,
5498
+ "multiple": false,
5499
+ "type": "option"
5500
+ },
5077
5501
  "json": {
5078
5502
  "description": "Output as JSON for AI agents/scripts",
5079
5503
  "name": "json",
@@ -5090,18 +5514,17 @@
5090
5514
  },
5091
5515
  "hasDynamicHelp": false,
5092
5516
  "hiddenAliases": [],
5093
- "id": "gh:token",
5517
+ "id": "hook:preset",
5094
5518
  "pluginAlias": "@proletariat/cli",
5095
5519
  "pluginName": "@proletariat/cli",
5096
5520
  "pluginType": "core",
5097
5521
  "strict": true,
5098
- "enableJsonFlag": false,
5099
5522
  "isESM": true,
5100
5523
  "relativePath": [
5101
5524
  "dist",
5102
5525
  "commands",
5103
- "gh",
5104
- "token.js"
5526
+ "hook",
5527
+ "preset.js"
5105
5528
  ]
5106
5529
  },
5107
5530
  "linear:auth": {
@@ -5624,6 +6047,124 @@
5624
6047
  "sync.js"
5625
6048
  ]
5626
6049
  },
6050
+ "orchestrate": {
6051
+ "aliases": [],
6052
+ "args": {},
6053
+ "description": "Start the autonomous pipeline daemon with event-driven hooks",
6054
+ "examples": [
6055
+ "<%= config.bin %> <%= command.id %>",
6056
+ "<%= config.bin %> <%= command.id %> --preset supervised",
6057
+ "<%= config.bin %> <%= command.id %> --load-yaml",
6058
+ "<%= config.bin %> <%= command.id %> --poll-interval 300",
6059
+ "<%= config.bin %> <%= command.id %> --once on_ci_green --pr 123"
6060
+ ],
6061
+ "flags": {
6062
+ "project": {
6063
+ "char": "P",
6064
+ "description": "Project ID (uses first project if only one exists)",
6065
+ "name": "project",
6066
+ "hasDynamicHelp": false,
6067
+ "multiple": false,
6068
+ "type": "option"
6069
+ },
6070
+ "json": {
6071
+ "description": "Output as JSON for AI agents/scripts",
6072
+ "name": "json",
6073
+ "allowNo": false,
6074
+ "type": "boolean"
6075
+ },
6076
+ "machine": {
6077
+ "char": "m",
6078
+ "description": "Output as JSON for AI agents/scripts",
6079
+ "name": "machine",
6080
+ "allowNo": false,
6081
+ "type": "boolean"
6082
+ },
6083
+ "preset": {
6084
+ "description": "Apply a preset before starting (aggressive, conservative, supervised)",
6085
+ "name": "preset",
6086
+ "hasDynamicHelp": false,
6087
+ "multiple": false,
6088
+ "options": [
6089
+ "aggressive",
6090
+ "conservative",
6091
+ "supervised"
6092
+ ],
6093
+ "type": "option"
6094
+ },
6095
+ "load-yaml": {
6096
+ "description": "Load hooks from .proletariat/hooks.yml before starting",
6097
+ "name": "load-yaml",
6098
+ "allowNo": false,
6099
+ "type": "boolean"
6100
+ },
6101
+ "poll-interval": {
6102
+ "description": "Poll interval in seconds for external event sources (0 to disable)",
6103
+ "name": "poll-interval",
6104
+ "default": 0,
6105
+ "hasDynamicHelp": false,
6106
+ "multiple": false,
6107
+ "type": "option"
6108
+ },
6109
+ "once": {
6110
+ "description": "Fire a single event and exit (useful for CI/GitHub Actions)",
6111
+ "name": "once",
6112
+ "hasDynamicHelp": false,
6113
+ "multiple": false,
6114
+ "type": "option"
6115
+ },
6116
+ "ticket": {
6117
+ "char": "t",
6118
+ "description": "Ticket ID (for --once)",
6119
+ "name": "ticket",
6120
+ "hasDynamicHelp": false,
6121
+ "multiple": false,
6122
+ "type": "option"
6123
+ },
6124
+ "pr": {
6125
+ "description": "PR number (for --once)",
6126
+ "name": "pr",
6127
+ "hasDynamicHelp": false,
6128
+ "multiple": false,
6129
+ "type": "option"
6130
+ },
6131
+ "branch": {
6132
+ "description": "Branch name (for --once)",
6133
+ "name": "branch",
6134
+ "hasDynamicHelp": false,
6135
+ "multiple": false,
6136
+ "type": "option"
6137
+ },
6138
+ "agent": {
6139
+ "description": "Agent name (for --once)",
6140
+ "name": "agent",
6141
+ "hasDynamicHelp": false,
6142
+ "multiple": false,
6143
+ "type": "option"
6144
+ },
6145
+ "verbose": {
6146
+ "char": "v",
6147
+ "description": "Show detailed output",
6148
+ "name": "verbose",
6149
+ "allowNo": false,
6150
+ "type": "boolean"
6151
+ }
6152
+ },
6153
+ "hasDynamicHelp": false,
6154
+ "hiddenAliases": [],
6155
+ "id": "orchestrate",
6156
+ "pluginAlias": "@proletariat/cli",
6157
+ "pluginName": "@proletariat/cli",
6158
+ "pluginType": "core",
6159
+ "strict": true,
6160
+ "isESM": true,
6161
+ "relativePath": [
6162
+ "dist",
6163
+ "commands",
6164
+ "orchestrate",
6165
+ "index.js"
6166
+ ]
6167
+ },
5627
6168
  "orchestrator:attach": {
5628
6169
  "aliases": [],
5629
6170
  "args": {},
@@ -7338,99 +7879,6 @@
7338
7879
  "index.js"
7339
7880
  ]
7340
7881
  },
7341
- "run": {
7342
- "aliases": [],
7343
- "args": {
7344
- "task": {
7345
- "description": "Task description for the agent",
7346
- "name": "task",
7347
- "required": true
7348
- }
7349
- },
7350
- "description": "Spawn an agent to work on a task (works anywhere, no HQ required)",
7351
- "examples": [
7352
- "<%= config.bin %> run \"fix the login bug\"",
7353
- "<%= config.bin %> run --runner claude-code \"add dark mode\"",
7354
- "<%= config.bin %> run -d \"fix the bug\"",
7355
- "<%= config.bin %> run --runner codex \"add tests\""
7356
- ],
7357
- "flags": {
7358
- "json": {
7359
- "description": "Output as JSON for AI agents/scripts",
7360
- "name": "json",
7361
- "allowNo": false,
7362
- "type": "boolean"
7363
- },
7364
- "machine": {
7365
- "char": "m",
7366
- "description": "Output as JSON for AI agents/scripts",
7367
- "name": "machine",
7368
- "allowNo": false,
7369
- "type": "boolean"
7370
- },
7371
- "runner": {
7372
- "char": "r",
7373
- "description": "Runner to use (claude-code, codex, pi)",
7374
- "name": "runner",
7375
- "hasDynamicHelp": false,
7376
- "multiple": false,
7377
- "type": "option"
7378
- },
7379
- "detached": {
7380
- "char": "d",
7381
- "description": "Run in background (detached)",
7382
- "name": "detached",
7383
- "allowNo": false,
7384
- "type": "boolean"
7385
- },
7386
- "directory": {
7387
- "description": "Working directory (default: cwd)",
7388
- "name": "directory",
7389
- "hasDynamicHelp": false,
7390
- "multiple": false,
7391
- "type": "option"
7392
- },
7393
- "permission-mode": {
7394
- "char": "p",
7395
- "description": "Permission mode (danger: skip prompts, safe: require approval)",
7396
- "name": "permission-mode",
7397
- "hasDynamicHelp": false,
7398
- "multiple": false,
7399
- "options": [
7400
- "danger",
7401
- "safe"
7402
- ],
7403
- "type": "option"
7404
- },
7405
- "environment": {
7406
- "char": "e",
7407
- "description": "Environment to run in",
7408
- "name": "environment",
7409
- "hasDynamicHelp": false,
7410
- "multiple": false,
7411
- "options": [
7412
- "host",
7413
- "docker",
7414
- "podman"
7415
- ],
7416
- "type": "option"
7417
- }
7418
- },
7419
- "hasDynamicHelp": false,
7420
- "hiddenAliases": [],
7421
- "id": "run",
7422
- "pluginAlias": "@proletariat/cli",
7423
- "pluginName": "@proletariat/cli",
7424
- "pluginType": "core",
7425
- "strict": true,
7426
- "isESM": true,
7427
- "relativePath": [
7428
- "dist",
7429
- "commands",
7430
- "run",
7431
- "index.js"
7432
- ]
7433
- },
7434
7882
  "repo:add": {
7435
7883
  "aliases": [],
7436
7884
  "args": {
@@ -7833,20 +8281,66 @@
7833
8281
  "required": false
7834
8282
  }
7835
8283
  },
7836
- "description": "View detailed information about a repository",
8284
+ "description": "View detailed information about a repository",
8285
+ "examples": [
8286
+ "<%= config.bin %> <%= command.id %> my-repo",
8287
+ "<%= config.bin %> <%= command.id %>"
8288
+ ],
8289
+ "flags": {
8290
+ "project": {
8291
+ "char": "P",
8292
+ "description": "Project ID (uses first project if only one exists)",
8293
+ "name": "project",
8294
+ "hasDynamicHelp": false,
8295
+ "multiple": false,
8296
+ "type": "option"
8297
+ },
8298
+ "json": {
8299
+ "description": "Output as JSON for AI agents/scripts",
8300
+ "name": "json",
8301
+ "allowNo": false,
8302
+ "type": "boolean"
8303
+ },
8304
+ "machine": {
8305
+ "char": "m",
8306
+ "description": "Output as JSON for AI agents/scripts",
8307
+ "name": "machine",
8308
+ "allowNo": false,
8309
+ "type": "boolean"
8310
+ }
8311
+ },
8312
+ "hasDynamicHelp": false,
8313
+ "hiddenAliases": [],
8314
+ "id": "repo:view",
8315
+ "pluginAlias": "@proletariat/cli",
8316
+ "pluginName": "@proletariat/cli",
8317
+ "pluginType": "core",
8318
+ "strict": true,
8319
+ "isESM": true,
8320
+ "relativePath": [
8321
+ "dist",
8322
+ "commands",
8323
+ "repo",
8324
+ "view.js"
8325
+ ]
8326
+ },
8327
+ "run": {
8328
+ "aliases": [],
8329
+ "args": {
8330
+ "task": {
8331
+ "description": "Task description for the agent",
8332
+ "name": "task",
8333
+ "required": true
8334
+ }
8335
+ },
8336
+ "description": "Spawn an agent to work on a task (works anywhere, no HQ required)",
7837
8337
  "examples": [
7838
- "<%= config.bin %> <%= command.id %> my-repo",
7839
- "<%= config.bin %> <%= command.id %>"
8338
+ "<%= config.bin %> run \"fix the login bug\"",
8339
+ "<%= config.bin %> run --runner claude-code \"add dark mode\"",
8340
+ "<%= config.bin %> run -d \"fix the bug\"",
8341
+ "<%= config.bin %> run --runner codex \"add tests\""
7840
8342
  ],
7841
8343
  "flags": {
7842
- "project": {
7843
- "char": "P",
7844
- "description": "Project ID (uses first project if only one exists)",
7845
- "name": "project",
7846
- "hasDynamicHelp": false,
7847
- "multiple": false,
7848
- "type": "option"
7849
- },
7850
8344
  "json": {
7851
8345
  "description": "Output as JSON for AI agents/scripts",
7852
8346
  "name": "json",
@@ -7859,11 +8353,58 @@
7859
8353
  "name": "machine",
7860
8354
  "allowNo": false,
7861
8355
  "type": "boolean"
8356
+ },
8357
+ "runner": {
8358
+ "char": "r",
8359
+ "description": "Runner to use (claude-code, codex, pi)",
8360
+ "name": "runner",
8361
+ "hasDynamicHelp": false,
8362
+ "multiple": false,
8363
+ "type": "option"
8364
+ },
8365
+ "detached": {
8366
+ "char": "d",
8367
+ "description": "Run in background (detached)",
8368
+ "name": "detached",
8369
+ "allowNo": false,
8370
+ "type": "boolean"
8371
+ },
8372
+ "directory": {
8373
+ "description": "Working directory (default: cwd)",
8374
+ "name": "directory",
8375
+ "hasDynamicHelp": false,
8376
+ "multiple": false,
8377
+ "type": "option"
8378
+ },
8379
+ "permission-mode": {
8380
+ "char": "p",
8381
+ "description": "Permission mode (danger: skip prompts, safe: require approval)",
8382
+ "name": "permission-mode",
8383
+ "hasDynamicHelp": false,
8384
+ "multiple": false,
8385
+ "options": [
8386
+ "danger",
8387
+ "safe"
8388
+ ],
8389
+ "type": "option"
8390
+ },
8391
+ "environment": {
8392
+ "char": "e",
8393
+ "description": "Environment to run in",
8394
+ "name": "environment",
8395
+ "hasDynamicHelp": false,
8396
+ "multiple": false,
8397
+ "options": [
8398
+ "host",
8399
+ "docker",
8400
+ "podman"
8401
+ ],
8402
+ "type": "option"
7862
8403
  }
7863
8404
  },
7864
8405
  "hasDynamicHelp": false,
7865
8406
  "hiddenAliases": [],
7866
- "id": "repo:view",
8407
+ "id": "run",
7867
8408
  "pluginAlias": "@proletariat/cli",
7868
8409
  "pluginName": "@proletariat/cli",
7869
8410
  "pluginType": "core",
@@ -7872,8 +8413,8 @@
7872
8413
  "relativePath": [
7873
8414
  "dist",
7874
8415
  "commands",
7875
- "repo",
7876
- "view.js"
8416
+ "run",
8417
+ "index.js"
7877
8418
  ]
7878
8419
  },
7879
8420
  "shortcut:connect": {
@@ -9279,59 +9820,6 @@
9279
9820
  "status.js"
9280
9821
  ]
9281
9822
  },
9282
- "terminal:title": {
9283
- "aliases": [],
9284
- "args": {
9285
- "title": {
9286
- "description": "Title to set for the terminal tab/window",
9287
- "name": "title",
9288
- "required": false
9289
- }
9290
- },
9291
- "description": "Set the terminal tab/window title",
9292
- "examples": [
9293
- "<%= config.bin %> <%= command.id %> \"My Custom Name\"",
9294
- "<%= config.bin %> <%= command.id %> # Interactive prompt",
9295
- "<%= config.bin %> <%= command.id %> --reset",
9296
- "<%= config.bin %> <%= command.id %> --machine # JSON mode for agents"
9297
- ],
9298
- "flags": {
9299
- "reset": {
9300
- "char": "r",
9301
- "description": "Reset terminal title to default",
9302
- "name": "reset",
9303
- "allowNo": false,
9304
- "type": "boolean"
9305
- },
9306
- "json": {
9307
- "description": "Output as JSON for AI agents/scripts",
9308
- "name": "json",
9309
- "allowNo": false,
9310
- "type": "boolean"
9311
- },
9312
- "machine": {
9313
- "char": "m",
9314
- "description": "Output as JSON for AI agents/scripts",
9315
- "name": "machine",
9316
- "allowNo": false,
9317
- "type": "boolean"
9318
- }
9319
- },
9320
- "hasDynamicHelp": false,
9321
- "hiddenAliases": [],
9322
- "id": "terminal:title",
9323
- "pluginAlias": "@proletariat/cli",
9324
- "pluginName": "@proletariat/cli",
9325
- "pluginType": "core",
9326
- "strict": true,
9327
- "isESM": true,
9328
- "relativePath": [
9329
- "dist",
9330
- "commands",
9331
- "terminal",
9332
- "title.js"
9333
- ]
9334
- },
9335
9823
  "theme:add-names": {
9336
9824
  "aliases": [],
9337
9825
  "args": {
@@ -9565,6 +10053,59 @@
9565
10053
  "set.js"
9566
10054
  ]
9567
10055
  },
10056
+ "terminal:title": {
10057
+ "aliases": [],
10058
+ "args": {
10059
+ "title": {
10060
+ "description": "Title to set for the terminal tab/window",
10061
+ "name": "title",
10062
+ "required": false
10063
+ }
10064
+ },
10065
+ "description": "Set the terminal tab/window title",
10066
+ "examples": [
10067
+ "<%= config.bin %> <%= command.id %> \"My Custom Name\"",
10068
+ "<%= config.bin %> <%= command.id %> # Interactive prompt",
10069
+ "<%= config.bin %> <%= command.id %> --reset",
10070
+ "<%= config.bin %> <%= command.id %> --machine # JSON mode for agents"
10071
+ ],
10072
+ "flags": {
10073
+ "reset": {
10074
+ "char": "r",
10075
+ "description": "Reset terminal title to default",
10076
+ "name": "reset",
10077
+ "allowNo": false,
10078
+ "type": "boolean"
10079
+ },
10080
+ "json": {
10081
+ "description": "Output as JSON for AI agents/scripts",
10082
+ "name": "json",
10083
+ "allowNo": false,
10084
+ "type": "boolean"
10085
+ },
10086
+ "machine": {
10087
+ "char": "m",
10088
+ "description": "Output as JSON for AI agents/scripts",
10089
+ "name": "machine",
10090
+ "allowNo": false,
10091
+ "type": "boolean"
10092
+ }
10093
+ },
10094
+ "hasDynamicHelp": false,
10095
+ "hiddenAliases": [],
10096
+ "id": "terminal:title",
10097
+ "pluginAlias": "@proletariat/cli",
10098
+ "pluginName": "@proletariat/cli",
10099
+ "pluginType": "core",
10100
+ "strict": true,
10101
+ "isESM": true,
10102
+ "relativePath": [
10103
+ "dist",
10104
+ "commands",
10105
+ "terminal",
10106
+ "title.js"
10107
+ ]
10108
+ },
9568
10109
  "tools:add": {
9569
10110
  "aliases": [],
9570
10111
  "args": {
@@ -12847,6 +13388,80 @@
12847
13388
  "ready.js"
12848
13389
  ]
12849
13390
  },
13391
+ "work:rebase": {
13392
+ "aliases": [],
13393
+ "args": {
13394
+ "ticketId": {
13395
+ "description": "Ticket ID whose PR should be rebased",
13396
+ "name": "ticketId",
13397
+ "required": false
13398
+ }
13399
+ },
13400
+ "description": "Rebase PR branch(es) onto latest base branch to resolve conflicts",
13401
+ "examples": [
13402
+ "<%= config.bin %> <%= command.id %> TKT-001",
13403
+ "<%= config.bin %> <%= command.id %> --pr 929",
13404
+ "<%= config.bin %> <%= command.id %> --all",
13405
+ "<%= config.bin %> <%= command.id %> --all --dry-run"
13406
+ ],
13407
+ "flags": {
13408
+ "project": {
13409
+ "char": "P",
13410
+ "description": "Project ID (uses first project if only one exists)",
13411
+ "name": "project",
13412
+ "hasDynamicHelp": false,
13413
+ "multiple": false,
13414
+ "type": "option"
13415
+ },
13416
+ "json": {
13417
+ "description": "Output as JSON for AI agents/scripts",
13418
+ "name": "json",
13419
+ "allowNo": false,
13420
+ "type": "boolean"
13421
+ },
13422
+ "machine": {
13423
+ "char": "m",
13424
+ "description": "Output as JSON for AI agents/scripts",
13425
+ "name": "machine",
13426
+ "allowNo": false,
13427
+ "type": "boolean"
13428
+ },
13429
+ "pr": {
13430
+ "description": "PR number to rebase (alternative to ticket ID lookup)",
13431
+ "name": "pr",
13432
+ "required": false,
13433
+ "hasDynamicHelp": false,
13434
+ "multiple": false,
13435
+ "type": "option"
13436
+ },
13437
+ "all": {
13438
+ "description": "Rebase all open PRs that have merge conflicts",
13439
+ "name": "all",
13440
+ "allowNo": false,
13441
+ "type": "boolean"
13442
+ },
13443
+ "dry-run": {
13444
+ "description": "Show what would be rebased without doing it",
13445
+ "name": "dry-run",
13446
+ "allowNo": false,
13447
+ "type": "boolean"
13448
+ }
13449
+ },
13450
+ "hasDynamicHelp": false,
13451
+ "hiddenAliases": [],
13452
+ "id": "work:rebase",
13453
+ "pluginAlias": "@proletariat/cli",
13454
+ "pluginName": "@proletariat/cli",
13455
+ "pluginType": "core",
13456
+ "strict": true,
13457
+ "isESM": true,
13458
+ "relativePath": [
13459
+ "dist",
13460
+ "commands",
13461
+ "work",
13462
+ "rebase.js"
13463
+ ]
13464
+ },
12850
13465
  "work:resolve": {
12851
13466
  "aliases": [],
12852
13467
  "args": {
@@ -12977,7 +13592,8 @@
12977
13592
  "<%= config.bin %> <%= command.id %> --pr 929",
12978
13593
  "<%= config.bin %> <%= command.id %> TKT-001 --dry-run",
12979
13594
  "<%= config.bin %> <%= command.id %> TKT-001 --wait",
12980
- "<%= config.bin %> <%= command.id %> TKT-001 --no-rebase"
13595
+ "<%= config.bin %> <%= command.id %> TKT-001 --no-rebase",
13596
+ "<%= config.bin %> <%= command.id %> TKT-001 --no-rebase-siblings"
12981
13597
  ],
12982
13598
  "flags": {
12983
13599
  "project": {
@@ -13051,6 +13667,12 @@
13051
13667
  "name": "admin",
13052
13668
  "allowNo": false,
13053
13669
  "type": "boolean"
13670
+ },
13671
+ "rebase-siblings": {
13672
+ "description": "After merging, rebase other open PRs that become conflicting",
13673
+ "name": "rebase-siblings",
13674
+ "allowNo": true,
13675
+ "type": "boolean"
13054
13676
  }
13055
13677
  },
13056
13678
  "hasDynamicHelp": false,
@@ -13602,7 +14224,7 @@
13602
14224
  "aliases": [],
13603
14225
  "args": {
13604
14226
  "ticketId": {
13605
- "description": "Ticket ID - prompts with dropdown if not provided",
14227
+ "description": "Ticket ID(s) - prompts with dropdown if not provided. Pass multiple IDs for batch spawn.",
13606
14228
  "name": "ticketId",
13607
14229
  "required": false
13608
14230
  }
@@ -13627,7 +14249,9 @@
13627
14249
  "<%= config.bin %> <%= command.id %> PRLT-933 # Auto-detect: resolves via default source",
13628
14250
  "<%= config.bin %> <%= command.id %> --from-issue # Uses workspace default source",
13629
14251
  "<%= config.bin %> <%= command.id %> TKT-001 --review-gate auto # Ship directly, no approval needed",
13630
- "<%= config.bin %> <%= command.id %> TKT-001 --review-gate post # Ship then human reviews after"
14252
+ "<%= config.bin %> <%= command.id %> TKT-001 --review-gate post # Ship then human reviews after",
14253
+ "<%= config.bin %> <%= command.id %> PRLT-1085 PRLT-1086 PRLT-1087 --action implement --create-pr # Batch spawn in parallel",
14254
+ "<%= config.bin %> <%= command.id %> TKT-001 TKT-002 TKT-003 --max-parallel 2 # Limit concurrent spawns"
13631
14255
  ],
13632
14256
  "flags": {
13633
14257
  "project": {
@@ -13936,6 +14560,13 @@
13936
14560
  "hasDynamicHelp": false,
13937
14561
  "multiple": true,
13938
14562
  "type": "option"
14563
+ },
14564
+ "max-parallel": {
14565
+ "description": "Maximum number of concurrent spawns when starting multiple tickets (default: unlimited)",
14566
+ "name": "max-parallel",
14567
+ "hasDynamicHelp": false,
14568
+ "multiple": false,
14569
+ "type": "option"
13939
14570
  }
13940
14571
  },
13941
14572
  "hasDynamicHelp": false,
@@ -13944,7 +14575,7 @@
13944
14575
  "pluginAlias": "@proletariat/cli",
13945
14576
  "pluginName": "@proletariat/cli",
13946
14577
  "pluginType": "core",
13947
- "strict": true,
14578
+ "strict": false,
13948
14579
  "isESM": true,
13949
14580
  "relativePath": [
13950
14581
  "dist",
@@ -14916,9 +15547,21 @@
14916
15547
  "work:started",
14917
15548
  "work:status_changed",
14918
15549
  "work:pr_created",
15550
+ "work:pr_merged",
14919
15551
  "work:completed",
14920
15552
  "agent:spawned",
14921
- "agent:stopped"
15553
+ "agent:stopped",
15554
+ "on_ci_green",
15555
+ "on_ci_failed",
15556
+ "on_pr_opened",
15557
+ "on_pr_merged",
15558
+ "on_pr_conflicting",
15559
+ "on_ticket_ready",
15560
+ "on_agent_spawned",
15561
+ "on_agent_died",
15562
+ "on_agent_completed",
15563
+ "on_agent_idle",
15564
+ "on_version_published"
14922
15565
  ],
14923
15566
  "type": "option"
14924
15567
  },
@@ -15050,9 +15693,21 @@
15050
15693
  "work:started",
15051
15694
  "work:status_changed",
15052
15695
  "work:pr_created",
15696
+ "work:pr_merged",
15053
15697
  "work:completed",
15054
15698
  "agent:spawned",
15055
- "agent:stopped"
15699
+ "agent:stopped",
15700
+ "on_ci_green",
15701
+ "on_ci_failed",
15702
+ "on_pr_opened",
15703
+ "on_pr_merged",
15704
+ "on_pr_conflicting",
15705
+ "on_ticket_ready",
15706
+ "on_agent_spawned",
15707
+ "on_agent_died",
15708
+ "on_agent_completed",
15709
+ "on_agent_idle",
15710
+ "on_version_published"
15056
15711
  ],
15057
15712
  "type": "option"
15058
15713
  }
@@ -15246,5 +15901,5 @@
15246
15901
  ]
15247
15902
  }
15248
15903
  },
15249
- "version": "0.3.91"
15904
+ "version": "0.3.93"
15250
15905
  }