@proletariat/cli 0.3.32 → 0.3.34

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 (310) hide show
  1. package/dist/commands/action/create.d.ts +1 -0
  2. package/dist/commands/action/delete.d.ts +1 -0
  3. package/dist/commands/action/index.d.ts +1 -0
  4. package/dist/commands/action/list.d.ts +1 -0
  5. package/dist/commands/action/list.js +0 -6
  6. package/dist/commands/action/run.d.ts +1 -0
  7. package/dist/commands/action/show.d.ts +1 -0
  8. package/dist/commands/action/update.d.ts +1 -0
  9. package/dist/commands/agent/auth.d.ts +2 -1
  10. package/dist/commands/agent/auth.js +2 -6
  11. package/dist/commands/agent/cleanup.d.ts +2 -1
  12. package/dist/commands/agent/cleanup.js +0 -6
  13. package/dist/commands/agent/discover.d.ts +2 -1
  14. package/dist/commands/agent/discover.js +2 -6
  15. package/dist/commands/agent/index.d.ts +1 -0
  16. package/dist/commands/agent/index.js +0 -7
  17. package/dist/commands/agent/list.d.ts +1 -0
  18. package/dist/commands/agent/login.d.ts +1 -0
  19. package/dist/commands/agent/login.js +1 -7
  20. package/dist/commands/agent/rebuild.d.ts +2 -1
  21. package/dist/commands/agent/rebuild.js +0 -6
  22. package/dist/commands/agent/remove.d.ts +2 -1
  23. package/dist/commands/agent/remove.js +0 -6
  24. package/dist/commands/agent/restart.d.ts +1 -0
  25. package/dist/commands/agent/restart.js +1 -7
  26. package/dist/commands/agent/shell.d.ts +1 -0
  27. package/dist/commands/agent/shell.js +1 -7
  28. package/dist/commands/agent/status.d.ts +1 -0
  29. package/dist/commands/agent/status.js +1 -7
  30. package/dist/commands/agent/visit.d.ts +1 -0
  31. package/dist/commands/agent/visit.js +1 -7
  32. package/dist/commands/autocomplete/setup.d.ts +1 -0
  33. package/dist/commands/board/index.d.ts +1 -0
  34. package/dist/commands/board/view.d.ts +1 -0
  35. package/dist/commands/board/watch.d.ts +1 -0
  36. package/dist/commands/branch/create.d.ts +1 -0
  37. package/dist/commands/branch/create.js +0 -6
  38. package/dist/commands/branch/index.d.ts +1 -0
  39. package/dist/commands/branch/index.js +0 -7
  40. package/dist/commands/branch/list.d.ts +1 -0
  41. package/dist/commands/branch/validate.d.ts +1 -0
  42. package/dist/commands/branch/where.d.ts +1 -0
  43. package/dist/commands/branch/where.js +3 -9
  44. package/dist/commands/category/create.d.ts +1 -0
  45. package/dist/commands/category/delete.d.ts +1 -0
  46. package/dist/commands/category/index.d.ts +1 -0
  47. package/dist/commands/category/list.d.ts +1 -0
  48. package/dist/commands/category/list.js +1 -1
  49. package/dist/commands/category/rename.d.ts +1 -0
  50. package/dist/commands/claude.d.ts +2 -1
  51. package/dist/commands/claude.js +2 -6
  52. package/dist/commands/commit.d.ts +2 -1
  53. package/dist/commands/commit.js +2 -6
  54. package/dist/commands/config/index.d.ts +2 -1
  55. package/dist/commands/config/index.js +3 -7
  56. package/dist/commands/diet.d.ts +1 -0
  57. package/dist/commands/docker/clean.d.ts +1 -0
  58. package/dist/commands/docker/index.d.ts +1 -0
  59. package/dist/commands/docker/list.d.ts +1 -0
  60. package/dist/commands/docker/logs.d.ts +2 -0
  61. package/dist/commands/docker/logs.js +2 -0
  62. package/dist/commands/docker/prune.d.ts +1 -0
  63. package/dist/commands/docker/restart.d.ts +1 -0
  64. package/dist/commands/docker/shell.d.ts +2 -0
  65. package/dist/commands/docker/shell.js +2 -0
  66. package/dist/commands/docker/start.d.ts +2 -0
  67. package/dist/commands/docker/start.js +2 -0
  68. package/dist/commands/docker/status.d.ts +1 -0
  69. package/dist/commands/docker/stop.d.ts +1 -0
  70. package/dist/commands/epic/activate.d.ts +1 -0
  71. package/dist/commands/epic/activate.js +1 -7
  72. package/dist/commands/epic/archive.d.ts +2 -1
  73. package/dist/commands/epic/archive.js +0 -6
  74. package/dist/commands/epic/create.d.ts +2 -1
  75. package/dist/commands/epic/create.js +0 -6
  76. package/dist/commands/epic/delete.d.ts +1 -0
  77. package/dist/commands/epic/index.d.ts +1 -0
  78. package/dist/commands/epic/index.js +0 -7
  79. package/dist/commands/epic/list.d.ts +1 -0
  80. package/dist/commands/epic/move.d.ts +2 -1
  81. package/dist/commands/epic/move.js +0 -6
  82. package/dist/commands/epic/progress.d.ts +2 -1
  83. package/dist/commands/epic/progress.js +0 -6
  84. package/dist/commands/epic/project.d.ts +2 -1
  85. package/dist/commands/epic/project.js +0 -6
  86. package/dist/commands/epic/reorder.d.ts +1 -0
  87. package/dist/commands/epic/reorder.js +0 -6
  88. package/dist/commands/epic/spec.d.ts +2 -1
  89. package/dist/commands/epic/spec.js +0 -6
  90. package/dist/commands/epic/ticket.d.ts +2 -1
  91. package/dist/commands/epic/ticket.js +0 -6
  92. package/dist/commands/epic/view.d.ts +1 -0
  93. package/dist/commands/epic/view.js +1 -7
  94. package/dist/commands/execution/config.d.ts +2 -1
  95. package/dist/commands/execution/config.js +1 -7
  96. package/dist/commands/execution/index.d.ts +1 -0
  97. package/dist/commands/execution/index.js +1 -8
  98. package/dist/commands/execution/list.d.ts +1 -0
  99. package/dist/commands/execution/logs.d.ts +1 -0
  100. package/dist/commands/execution/logs.js +1 -7
  101. package/dist/commands/execution/stop.d.ts +1 -0
  102. package/dist/commands/execution/stop.js +1 -7
  103. package/dist/commands/execution/view.d.ts +1 -0
  104. package/dist/commands/execution/view.js +2 -8
  105. package/dist/commands/feedback/index.d.ts +1 -0
  106. package/dist/commands/feedback/list.d.ts +1 -0
  107. package/dist/commands/feedback/submit.d.ts +1 -0
  108. package/dist/commands/feedback/view.d.ts +1 -0
  109. package/dist/commands/gh/index.d.ts +1 -0
  110. package/dist/commands/gh/login.d.ts +1 -0
  111. package/dist/commands/gh/status.d.ts +1 -0
  112. package/dist/commands/gh/token.d.ts +1 -0
  113. package/dist/commands/init.d.ts +2 -1
  114. package/dist/commands/init.js +3 -8
  115. package/dist/commands/link/create.d.ts +1 -0
  116. package/dist/commands/link/create.js +0 -6
  117. package/dist/commands/link/index.d.ts +1 -0
  118. package/dist/commands/link/index.js +1 -7
  119. package/dist/commands/link/list.d.ts +1 -0
  120. package/dist/commands/link/list.js +0 -6
  121. package/dist/commands/link/remove.d.ts +1 -0
  122. package/dist/commands/link/remove.js +0 -6
  123. package/dist/commands/phase/create.d.ts +1 -0
  124. package/dist/commands/phase/create.js +1 -1
  125. package/dist/commands/phase/delete.d.ts +1 -0
  126. package/dist/commands/phase/delete.js +1 -1
  127. package/dist/commands/phase/list.d.ts +1 -0
  128. package/dist/commands/phase/move.d.ts +1 -0
  129. package/dist/commands/phase/move.js +2 -2
  130. package/dist/commands/phase/update.d.ts +1 -0
  131. package/dist/commands/phase/update.js +2 -2
  132. package/dist/commands/pmo/init.d.ts +4 -3
  133. package/dist/commands/pmo/init.js +2 -7
  134. package/dist/commands/pr/create.d.ts +1 -0
  135. package/dist/commands/pr/index.d.ts +1 -0
  136. package/dist/commands/pr/link.d.ts +1 -0
  137. package/dist/commands/pr/list.d.ts +1 -0
  138. package/dist/commands/pr/status.d.ts +1 -0
  139. package/dist/commands/priority/add.d.ts +1 -0
  140. package/dist/commands/priority/list.d.ts +1 -0
  141. package/dist/commands/priority/remove.d.ts +1 -0
  142. package/dist/commands/priority/set.d.ts +1 -0
  143. package/dist/commands/project/archive.d.ts +1 -0
  144. package/dist/commands/project/create.d.ts +1 -0
  145. package/dist/commands/project/delete.d.ts +1 -0
  146. package/dist/commands/project/index.d.ts +1 -0
  147. package/dist/commands/project/list.d.ts +1 -0
  148. package/dist/commands/project/spec.d.ts +1 -0
  149. package/dist/commands/project/unarchive.d.ts +1 -0
  150. package/dist/commands/project/update.d.ts +1 -0
  151. package/dist/commands/project/view.d.ts +1 -0
  152. package/dist/commands/pull.d.ts +1 -0
  153. package/dist/commands/repo/add.d.ts +1 -0
  154. package/dist/commands/repo/add.js +0 -6
  155. package/dist/commands/repo/create.d.ts +1 -0
  156. package/dist/commands/repo/index.d.ts +1 -0
  157. package/dist/commands/repo/list.d.ts +1 -0
  158. package/dist/commands/repo/remove.d.ts +1 -0
  159. package/dist/commands/repo/view.d.ts +1 -0
  160. package/dist/commands/roadmap/add-project.d.ts +1 -0
  161. package/dist/commands/roadmap/add-project.js +0 -6
  162. package/dist/commands/roadmap/create.d.ts +1 -0
  163. package/dist/commands/roadmap/create.js +0 -6
  164. package/dist/commands/roadmap/delete.d.ts +1 -0
  165. package/dist/commands/roadmap/delete.js +0 -6
  166. package/dist/commands/roadmap/generate.d.ts +1 -0
  167. package/dist/commands/roadmap/generate.js +0 -6
  168. package/dist/commands/roadmap/index.d.ts +1 -0
  169. package/dist/commands/roadmap/index.js +0 -7
  170. package/dist/commands/roadmap/list.d.ts +1 -0
  171. package/dist/commands/roadmap/remove-project.d.ts +1 -0
  172. package/dist/commands/roadmap/remove-project.js +0 -6
  173. package/dist/commands/roadmap/reorder.d.ts +1 -0
  174. package/dist/commands/roadmap/reorder.js +0 -6
  175. package/dist/commands/roadmap/update.d.ts +1 -0
  176. package/dist/commands/roadmap/update.js +0 -6
  177. package/dist/commands/roadmap/view.d.ts +1 -0
  178. package/dist/commands/roadmap/view.js +1 -7
  179. package/dist/commands/session/attach.d.ts +2 -1
  180. package/dist/commands/session/attach.js +0 -6
  181. package/dist/commands/session/health.d.ts +1 -0
  182. package/dist/commands/session/index.d.ts +1 -0
  183. package/dist/commands/session/index.js +0 -7
  184. package/dist/commands/session/list.d.ts +1 -0
  185. package/dist/commands/spec/create.d.ts +1 -0
  186. package/dist/commands/spec/delete.d.ts +1 -0
  187. package/dist/commands/spec/edit.d.ts +1 -0
  188. package/dist/commands/spec/index.d.ts +1 -0
  189. package/dist/commands/spec/list.d.ts +1 -0
  190. package/dist/commands/spec/plan.d.ts +1 -0
  191. package/dist/commands/spec/ticket.d.ts +1 -0
  192. package/dist/commands/spec/view.d.ts +1 -0
  193. package/dist/commands/staff/add.d.ts +3 -2
  194. package/dist/commands/staff/add.js +2 -6
  195. package/dist/commands/staff/index.d.ts +2 -1
  196. package/dist/commands/staff/index.js +0 -6
  197. package/dist/commands/staff/list.d.ts +1 -0
  198. package/dist/commands/staff/remove.d.ts +2 -1
  199. package/dist/commands/staff/remove.js +0 -6
  200. package/dist/commands/status/category.d.ts +1 -0
  201. package/dist/commands/status/create.d.ts +1 -0
  202. package/dist/commands/status/delete.d.ts +1 -0
  203. package/dist/commands/status/index.d.ts +1 -0
  204. package/dist/commands/status/list.d.ts +1 -0
  205. package/dist/commands/status/move.d.ts +1 -0
  206. package/dist/commands/status/update.d.ts +1 -0
  207. package/dist/commands/support/book.d.ts +1 -0
  208. package/dist/commands/support/discord.d.ts +1 -0
  209. package/dist/commands/support/docs.d.ts +1 -0
  210. package/dist/commands/support/index.d.ts +1 -0
  211. package/dist/commands/support/issues.d.ts +1 -0
  212. package/dist/commands/support/logs.d.ts +1 -0
  213. package/dist/commands/template/apply.d.ts +1 -0
  214. package/dist/commands/template/apply.js +0 -6
  215. package/dist/commands/template/create.d.ts +1 -0
  216. package/dist/commands/template/create.js +0 -6
  217. package/dist/commands/template/delete.d.ts +1 -0
  218. package/dist/commands/template/delete.js +0 -6
  219. package/dist/commands/template/index.d.ts +1 -0
  220. package/dist/commands/template/index.js +2 -7
  221. package/dist/commands/template/list.d.ts +1 -0
  222. package/dist/commands/template/list.js +1 -7
  223. package/dist/commands/template/save.d.ts +1 -0
  224. package/dist/commands/template/save.js +0 -6
  225. package/dist/commands/template/update.d.ts +1 -0
  226. package/dist/commands/template/update.js +0 -6
  227. package/dist/commands/terminal/title.d.ts +1 -0
  228. package/dist/commands/theme/index.d.ts +1 -0
  229. package/dist/commands/theme/index.js +2 -7
  230. package/dist/commands/theme/list.d.ts +1 -0
  231. package/dist/commands/theme/set.d.ts +1 -0
  232. package/dist/commands/theme/set.js +3 -7
  233. package/dist/commands/ticket/bulk.d.ts +1 -0
  234. package/dist/commands/ticket/bulk.js +0 -7
  235. package/dist/commands/ticket/category.d.ts +1 -0
  236. package/dist/commands/ticket/complete.d.ts +2 -1
  237. package/dist/commands/ticket/complete.js +2 -8
  238. package/dist/commands/ticket/create.d.ts +2 -1
  239. package/dist/commands/ticket/create.js +0 -6
  240. package/dist/commands/ticket/delete.d.ts +2 -1
  241. package/dist/commands/ticket/delete.js +0 -6
  242. package/dist/commands/ticket/edit.d.ts +1 -0
  243. package/dist/commands/ticket/edit.js +0 -6
  244. package/dist/commands/ticket/epic.d.ts +2 -1
  245. package/dist/commands/ticket/epic.js +0 -6
  246. package/dist/commands/ticket/index.d.ts +1 -0
  247. package/dist/commands/ticket/index.js +6 -9
  248. package/dist/commands/ticket/list.d.ts +1 -0
  249. package/dist/commands/ticket/move.d.ts +2 -1
  250. package/dist/commands/ticket/move.js +2 -8
  251. package/dist/commands/ticket/project.d.ts +2 -1
  252. package/dist/commands/ticket/project.js +0 -6
  253. package/dist/commands/ticket/reassign.d.ts +2 -1
  254. package/dist/commands/ticket/reassign.js +0 -6
  255. package/dist/commands/ticket/resolve.d.ts +68 -0
  256. package/dist/commands/ticket/resolve.js +294 -0
  257. package/dist/commands/ticket/spec.d.ts +2 -1
  258. package/dist/commands/ticket/spec.js +0 -6
  259. package/dist/commands/ticket/status.d.ts +1 -0
  260. package/dist/commands/ticket/status.js +1 -7
  261. package/dist/commands/ticket/update.d.ts +2 -1
  262. package/dist/commands/ticket/update.js +0 -6
  263. package/dist/commands/ticket/view.d.ts +1 -0
  264. package/dist/commands/ticket/view.js +1 -7
  265. package/dist/commands/whoami.d.ts +1 -0
  266. package/dist/commands/work/complete.d.ts +1 -0
  267. package/dist/commands/work/complete.js +1 -7
  268. package/dist/commands/work/index.d.ts +1 -0
  269. package/dist/commands/work/index.js +4 -7
  270. package/dist/commands/work/ready.d.ts +2 -1
  271. package/dist/commands/work/ready.js +21 -14
  272. package/dist/commands/work/resolve.d.ts +15 -0
  273. package/dist/commands/work/resolve.js +76 -0
  274. package/dist/commands/work/revise.d.ts +2 -1
  275. package/dist/commands/work/revise.js +0 -6
  276. package/dist/commands/work/spawn-all.d.ts +2 -1
  277. package/dist/commands/work/spawn-all.js +2 -6
  278. package/dist/commands/work/spawn.d.ts +2 -1
  279. package/dist/commands/work/spawn.js +9 -11
  280. package/dist/commands/work/start.d.ts +3 -1
  281. package/dist/commands/work/start.js +5 -6
  282. package/dist/commands/work/watch.d.ts +2 -1
  283. package/dist/commands/work/watch.js +0 -6
  284. package/dist/commands/workflow/create.d.ts +1 -0
  285. package/dist/commands/workflow/delete.d.ts +1 -0
  286. package/dist/commands/workflow/index.d.ts +1 -0
  287. package/dist/commands/workflow/index.js +1 -7
  288. package/dist/commands/workflow/list.d.ts +1 -0
  289. package/dist/commands/workflow/switch.d.ts +1 -0
  290. package/dist/commands/workflow/view.d.ts +1 -0
  291. package/dist/commands/workspace/add.d.ts +2 -0
  292. package/dist/commands/workspace/add.js +2 -0
  293. package/dist/commands/workspace/list.d.ts +1 -0
  294. package/dist/commands/workspace/list.js +4 -8
  295. package/dist/commands/workspace/prune.d.ts +1 -0
  296. package/dist/commands/workspace/prune.js +4 -6
  297. package/dist/commands/workspace/remove.d.ts +1 -0
  298. package/dist/commands/workspace/remove.js +3 -7
  299. package/dist/commands/workspace/use.d.ts +1 -0
  300. package/dist/commands/workspace/use.js +3 -7
  301. package/dist/lib/database/drizzle-schema.d.ts +1 -1
  302. package/dist/lib/execution/runners.js +4 -0
  303. package/dist/lib/execution/types.d.ts +1 -0
  304. package/dist/lib/pmo/base-command.d.ts +4 -1
  305. package/dist/lib/pmo/base-command.js +9 -3
  306. package/dist/lib/pmo/storage/base.js +69 -5
  307. package/dist/lib/prompt-json.d.ts +5 -2
  308. package/dist/lib/prompt-json.js +4 -4
  309. package/oclif.manifest.json +4228 -3440
  310. package/package.json +1 -1
@@ -3,7 +3,6 @@ export default class Claude extends PromptCommand {
3
3
  static description: string;
4
4
  static examples: string[];
5
5
  static flags: {
6
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
6
  slug: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
7
  'permission-mode': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
8
  environment: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -12,6 +11,8 @@ export default class Claude extends PromptCommand {
12
11
  directory: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
12
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
13
  title: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
16
  };
16
17
  run(): Promise<void>;
17
18
  /**
@@ -4,6 +4,7 @@ import * as path from 'node:path';
4
4
  import * as os from 'node:os';
5
5
  import { execSync } from 'node:child_process';
6
6
  import { PromptCommand } from '../lib/prompt-command.js';
7
+ import { machineOutputFlags } from '../lib/pmo/index.js';
7
8
  import Database from 'better-sqlite3';
8
9
  import { findHQRoot } from '../lib/workspace.js';
9
10
  import { getWorkspaceInfo, createEphemeralAgent, } from '../lib/agents/commands.js';
@@ -49,12 +50,7 @@ export default class Claude extends PromptCommand {
49
50
  '<%= config.bin %> <%= command.id %> --prompt "help me debug this function"',
50
51
  ];
51
52
  static flags = {
52
- json: Flags.boolean({
53
- char: 'm',
54
- aliases: ['machine'],
55
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
56
- default: false,
57
- }),
53
+ ...machineOutputFlags,
58
54
  slug: Flags.string({
59
55
  char: 's',
60
56
  description: 'Session name for pane/tab title',
@@ -57,6 +57,8 @@ export default class Commit extends PromptCommand {
57
57
  message: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
58
58
  };
59
59
  static flags: {
60
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
61
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
60
62
  format: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
61
63
  formats: import("@oclif/core/interfaces").BooleanFlag<boolean>;
62
64
  type: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
@@ -64,7 +66,6 @@ export default class Commit extends PromptCommand {
64
66
  all: import("@oclif/core/interfaces").BooleanFlag<boolean>;
65
67
  stage: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
66
68
  'dry-run': import("@oclif/core/interfaces").BooleanFlag<boolean>;
67
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
68
69
  };
69
70
  run(): Promise<void>;
70
71
  }
@@ -1,6 +1,7 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import { execSync } from 'node:child_process';
3
3
  import { PromptCommand } from '../lib/prompt-command.js';
4
+ import { machineOutputFlags } from '../lib/pmo/index.js';
4
5
  import { validateBranchName } from '../lib/branch/index.js';
5
6
  import { styles } from '../lib/styles.js';
6
7
  import { shouldOutputJson, outputErrorAsJson, createMetadata, } from '../lib/prompt-json.js';
@@ -190,12 +191,7 @@ export default class Commit extends PromptCommand {
190
191
  description: 'Show what would be committed without committing',
191
192
  default: false,
192
193
  }),
193
- json: Flags.boolean({
194
- char: 'm',
195
- aliases: ['machine'],
196
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
197
- default: false,
198
- }),
194
+ ...machineOutputFlags,
199
195
  };
200
196
  async run() {
201
197
  const { args, flags } = await this.parse(Commit);
@@ -3,10 +3,11 @@ export default class Config extends PromptCommand {
3
3
  static description: string;
4
4
  static examples: string[];
5
5
  static flags: {
6
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
6
  set: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
7
  list: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
8
  setting: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
11
  };
11
12
  run(): Promise<void>;
12
13
  /**
@@ -3,6 +3,7 @@ import * as path from 'node:path';
3
3
  import Database from 'better-sqlite3';
4
4
  import inquirer from 'inquirer';
5
5
  import { PromptCommand } from '../../lib/prompt-command.js';
6
+ import { machineOutputFlags } from '../../lib/pmo/index.js';
6
7
  import { styles } from '../../lib/styles.js';
7
8
  import { getWorkspaceInfo } from '../../lib/agents/commands.js';
8
9
  import { loadExecutionConfig, saveTerminalApp, saveTerminalOpenInBackground, saveTmuxControlMode, saveShell, } from '../../lib/execution/config.js';
@@ -17,12 +18,7 @@ export default class Config extends PromptCommand {
17
18
  '<%= config.bin %> <%= command.id %> --setting terminal.app --json # Show terminal app choices',
18
19
  ];
19
20
  static flags = {
20
- json: Flags.boolean({
21
- char: 'm',
22
- aliases: ['machine'],
23
- description: 'Output configuration as JSON (for AI agents/scripts)',
24
- default: false,
25
- }),
21
+ ...machineOutputFlags,
26
22
  set: Flags.string({
27
23
  char: 's',
28
24
  description: 'Set a config value (format: key value)',
@@ -80,7 +76,7 @@ export default class Config extends PromptCommand {
80
76
  }
81
77
  // Handle --list or --json flag without --setting (just show config)
82
78
  // Also handle non-TTY mode without explicit flags - output config as readable list
83
- const isExplicitJsonMode = flags.json === true;
79
+ const isExplicitJsonMode = (flags.json === true || flags.machine === true);
84
80
  const shouldShowConfigList = flags.list || (isExplicitJsonMode && !flags.setting) || (isNonTTY() && !flags.setting && !flags.set?.length);
85
81
  if (shouldShowConfigList) {
86
82
  if (isExplicitJsonMode) {
@@ -6,6 +6,7 @@ export default class Diet extends PMOCommand {
6
6
  set: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
7
  reset: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
8
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
11
  };
11
12
  protected execute(): Promise<void>;
@@ -4,6 +4,7 @@ export default class DockerClean extends Command {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
9
  'dry-run': import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  all: import("@oclif/core/interfaces").BooleanFlag<boolean>;
@@ -4,6 +4,7 @@ export default class Docker extends PromptCommand {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  };
8
9
  run(): Promise<void>;
9
10
  private selectContainer;
@@ -6,6 +6,7 @@ export default class DockerList extends Command {
6
6
  all: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
7
  running: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
8
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  run(): Promise<void>;
11
12
  private getTrackedContainers;
@@ -6,6 +6,8 @@ export default class DockerLogs extends Command {
6
6
  follow: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
7
  tail: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
8
8
  timestamps: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
11
  };
10
12
  static args: {
11
13
  target: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
@@ -7,6 +7,7 @@ import { getWorkspaceInfo } from '../../lib/agents/commands.js';
7
7
  import { ExecutionStorage } from '../../lib/execution/storage.js';
8
8
  import { isDockerRunning } from '../../lib/execution/runners.js';
9
9
  import { resolveContainerId } from '../../lib/docker/resolve.js';
10
+ import { machineOutputFlags } from '../../lib/pmo/index.js';
10
11
  export default class DockerLogs extends Command {
11
12
  static description = 'View logs from a container (by execution ID, agent name, or container ID)';
12
13
  static examples = [
@@ -16,6 +17,7 @@ export default class DockerLogs extends Command {
16
17
  '<%= config.bin %> <%= command.id %> WORK-001 --tail 100',
17
18
  ];
18
19
  static flags = {
20
+ ...machineOutputFlags,
19
21
  follow: Flags.boolean({
20
22
  char: 'f',
21
23
  description: 'Follow log output',
@@ -4,6 +4,7 @@ export default class DockerPrune extends Command {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
9
  'dry-run': import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  all: import("@oclif/core/interfaces").BooleanFlag<boolean>;
@@ -4,6 +4,7 @@ export default class DockerRestart extends Command {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
9
  time: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
9
10
  };
@@ -6,6 +6,8 @@ export default class DockerShell extends Command {
6
6
  shell: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
7
7
  user: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
8
  workdir: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
11
  };
10
12
  static args: {
11
13
  target: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
@@ -7,6 +7,7 @@ import { getWorkspaceInfo } from '../../lib/agents/commands.js';
7
7
  import { ExecutionStorage } from '../../lib/execution/storage.js';
8
8
  import { isDockerRunning } from '../../lib/execution/runners.js';
9
9
  import { resolveContainerId, isContainerRunning } from '../../lib/docker/resolve.js';
10
+ import { machineOutputFlags } from '../../lib/pmo/index.js';
10
11
  export default class DockerShell extends Command {
11
12
  static description = 'Open a shell in a running container (by execution ID, agent name, or container ID)';
12
13
  static examples = [
@@ -15,6 +16,7 @@ export default class DockerShell extends Command {
15
16
  '<%= config.bin %> <%= command.id %> abc123 --shell /bin/bash',
16
17
  ];
17
18
  static flags = {
19
+ ...machineOutputFlags,
18
20
  shell: Flags.string({
19
21
  char: 's',
20
22
  description: 'Shell to use',
@@ -4,6 +4,8 @@ export default class DockerStart extends Command {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  attach: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
9
  };
8
10
  static args: {
9
11
  target: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
@@ -7,6 +7,7 @@ import { getWorkspaceInfo } from '../../lib/agents/commands.js';
7
7
  import { ExecutionStorage } from '../../lib/execution/storage.js';
8
8
  import { isDockerRunning } from '../../lib/execution/runners.js';
9
9
  import { resolveContainerId, isContainerRunning, sanitizeContainerId } from '../../lib/docker/resolve.js';
10
+ import { machineOutputFlags } from '../../lib/pmo/index.js';
10
11
  export default class DockerStart extends Command {
11
12
  static description = 'Start a stopped container (by execution ID, agent name, or container ID)';
12
13
  static examples = [
@@ -15,6 +16,7 @@ export default class DockerStart extends Command {
15
16
  '<%= config.bin %> <%= command.id %> abc123',
16
17
  ];
17
18
  static flags = {
19
+ ...machineOutputFlags,
18
20
  attach: Flags.boolean({
19
21
  char: 'a',
20
22
  description: 'Attach to container after starting',
@@ -4,6 +4,7 @@ export default class DockerStatus extends Command {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  };
8
9
  run(): Promise<void>;
9
10
  }
@@ -4,6 +4,7 @@ export default class DockerStop extends Command {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
9
  time: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
9
10
  };
@@ -7,6 +7,7 @@ export default class EpicActivate extends PMOCommand {
7
7
  };
8
8
  static flags: {
9
9
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
11
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
12
  };
12
13
  execute(): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { Args, Flags } from '@oclif/core';
1
+ import { Args } from '@oclif/core';
2
2
  import { PMOCommand, pmoBaseFlags } from '../../lib/pmo/index.js';
3
3
  import { styles } from '../../lib/styles.js';
4
4
  import { moveEpicFile, getRelativeEpicPath } from '../../lib/pmo/epic-files.js';
@@ -17,12 +17,6 @@ export default class EpicActivate extends PMOCommand {
17
17
  };
18
18
  static flags = {
19
19
  ...pmoBaseFlags,
20
- json: Flags.boolean({
21
- char: 'm',
22
- aliases: ['machine'],
23
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
24
- default: false,
25
- }),
26
20
  };
27
21
  async execute() {
28
22
  const { args, flags } = await this.parse(EpicActivate);
@@ -6,8 +6,9 @@ export default class EpicArchive extends PMOCommand {
6
6
  id: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
7
7
  };
8
8
  static flags: {
9
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
9
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
13
  };
13
14
  execute(): Promise<void>;
@@ -17,12 +17,6 @@ export default class EpicArchive extends PMOCommand {
17
17
  };
18
18
  static flags = {
19
19
  ...pmoBaseFlags,
20
- json: Flags.boolean({
21
- char: 'm',
22
- aliases: ['machine'],
23
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
24
- default: false,
25
- }),
26
20
  force: Flags.boolean({
27
21
  char: 'f',
28
22
  description: 'Skip ticket completion check',
@@ -7,8 +7,9 @@ export default class EpicCreate extends PMOCommand {
7
7
  status: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  description: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
9
  spec: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
10
  'dry-run': import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
13
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  };
14
15
  execute(): Promise<void>;
@@ -31,12 +31,6 @@ export default class EpicCreate extends PMOCommand {
31
31
  spec: Flags.string({
32
32
  description: 'Link to spec ID (the design spec that describes this epic)',
33
33
  }),
34
- json: Flags.boolean({
35
- char: 'm',
36
- aliases: ['machine'],
37
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
38
- default: false,
39
- }),
40
34
  'dry-run': Flags.boolean({
41
35
  description: 'Validate inputs without creating epic (use with --json for structured output)',
42
36
  default: false,
@@ -8,6 +8,7 @@ export default class EpicDelete extends PMOCommand {
8
8
  static flags: {
9
9
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
10
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
13
  };
13
14
  execute(): Promise<void>;
@@ -4,6 +4,7 @@ export default class Epic extends PMOCommand {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
9
  };
9
10
  protected getPMOOptions(): {
@@ -1,4 +1,3 @@
1
- import { Flags } from '@oclif/core';
2
1
  import { PMOCommand, pmoBaseFlags } from '../../lib/pmo/index.js';
3
2
  import { shouldOutputJson } from '../../lib/prompt-json.js';
4
3
  export default class Epic extends PMOCommand {
@@ -8,12 +7,6 @@ export default class Epic extends PMOCommand {
8
7
  ];
9
8
  static flags = {
10
9
  ...pmoBaseFlags,
11
- json: Flags.boolean({
12
- char: 'm',
13
- aliases: ['machine'],
14
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
15
- default: false,
16
- }),
17
10
  };
18
11
  getPMOOptions() {
19
12
  return { promptIfMultiple: false };
@@ -5,6 +5,7 @@ export default class EpicList extends PMOCommand {
5
5
  static flags: {
6
6
  status: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
7
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
9
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  };
10
11
  execute(): Promise<void>;
@@ -7,8 +7,9 @@ export default class EpicMove extends PMOCommand {
7
7
  status: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
8
8
  };
9
9
  static flags: {
10
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
10
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
13
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  };
14
15
  execute(): Promise<void>;
@@ -29,12 +29,6 @@ export default class EpicMove extends PMOCommand {
29
29
  };
30
30
  static flags = {
31
31
  ...pmoBaseFlags,
32
- json: Flags.boolean({
33
- char: 'm',
34
- aliases: ['machine'],
35
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
36
- default: false,
37
- }),
38
32
  force: Flags.boolean({
39
33
  char: 'f',
40
34
  description: 'Skip validation checks',
@@ -6,8 +6,9 @@ export default class EpicProgress extends PMOCommand {
6
6
  id: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
7
7
  };
8
8
  static flags: {
9
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
9
  all: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
13
  };
13
14
  execute(): Promise<void>;
@@ -23,12 +23,6 @@ export default class EpicProgress extends PMOCommand {
23
23
  };
24
24
  static flags = {
25
25
  ...pmoBaseFlags,
26
- json: Flags.boolean({
27
- char: 'm',
28
- aliases: ['machine'],
29
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
30
- default: false,
31
- }),
32
26
  all: Flags.boolean({
33
27
  char: 'a',
34
28
  description: 'Show progress for all epics',
@@ -7,8 +7,9 @@ export default class EpicProject extends PMOCommand {
7
7
  targetProject: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
8
8
  };
9
9
  static flags: {
10
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
10
  'with-tickets': import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
13
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  };
14
15
  execute(): Promise<void>;
@@ -22,12 +22,6 @@ export default class EpicProject extends PMOCommand {
22
22
  };
23
23
  static flags = {
24
24
  ...pmoBaseFlags,
25
- json: Flags.boolean({
26
- char: 'm',
27
- aliases: ['machine'],
28
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
29
- default: false,
30
- }),
31
25
  'with-tickets': Flags.boolean({
32
26
  char: 't',
33
27
  description: 'Also move all tickets assigned to this epic',
@@ -15,6 +15,7 @@ export default class EpicReorder extends PMOCommand {
15
15
  after: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
16
  before: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
17
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
18
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
18
19
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
19
20
  };
20
21
  execute(): Promise<void>;
@@ -37,12 +37,6 @@ export default class EpicReorder extends PMOCommand {
37
37
  description: 'Move before this epic ID',
38
38
  exclusive: ['first', 'last', 'after'],
39
39
  }),
40
- json: Flags.boolean({
41
- char: 'm',
42
- aliases: ['machine'],
43
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
44
- default: false,
45
- }),
46
40
  };
47
41
  async execute() {
48
42
  const { args, flags } = await this.parse(EpicReorder);
@@ -7,9 +7,10 @@ export default class EpicSpec extends PMOCommand {
7
7
  specId: import("@oclif/core/interfaces").Arg<string | undefined, Record<string, unknown>>;
8
8
  };
9
9
  static flags: {
10
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
10
  unlink: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
11
  'align-tickets': import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
14
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  };
15
16
  execute(): Promise<void>;
@@ -22,12 +22,6 @@ export default class EpicSpec extends PMOCommand {
22
22
  };
23
23
  static flags = {
24
24
  ...pmoBaseFlags,
25
- json: Flags.boolean({
26
- char: 'm',
27
- aliases: ['machine'],
28
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
29
- default: false,
30
- }),
31
25
  unlink: Flags.boolean({
32
26
  char: 'u',
33
27
  description: 'Remove spec from epic instead of adding',
@@ -8,12 +8,13 @@ export default class EpicTicket extends PMOCommand {
8
8
  };
9
9
  static strict: boolean;
10
10
  static flags: {
11
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
11
  unlink: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
12
  spec: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
13
  'unlink-spec': import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
14
  reconcile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
15
  'inherit-spec': import("@oclif/core/interfaces").BooleanFlag<boolean>;
16
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
17
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
17
18
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
19
  };
19
20
  execute(): Promise<void>;
@@ -25,12 +25,6 @@ export default class EpicTicket extends PMOCommand {
25
25
  static strict = false; // Allow multiple ticket arguments
26
26
  static flags = {
27
27
  ...pmoBaseFlags,
28
- json: Flags.boolean({
29
- char: 'm',
30
- aliases: ['machine'],
31
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
32
- default: false,
33
- }),
34
28
  unlink: Flags.boolean({
35
29
  char: 'u',
36
30
  description: 'Remove tickets from this epic instead of adding',
@@ -7,6 +7,7 @@ export default class EpicView extends PMOCommand {
7
7
  };
8
8
  static flags: {
9
9
  json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
11
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
12
  };
12
13
  execute(): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { Args, Flags } from '@oclif/core';
1
+ import { Args } from '@oclif/core';
2
2
  import { PMOCommand, pmoBaseFlags } from '../../lib/pmo/index.js';
3
3
  import { styles } from '../../lib/styles.js';
4
4
  import { shouldOutputJson, outputErrorAsJson, createMetadata, } from '../../lib/prompt-json.js';
@@ -22,12 +22,6 @@ export default class EpicView extends PMOCommand {
22
22
  };
23
23
  static flags = {
24
24
  ...pmoBaseFlags,
25
- json: Flags.boolean({
26
- char: 'm',
27
- aliases: ['machine'],
28
- description: 'Output prompt configuration as JSON (for AI agents/scripts)',
29
- default: false,
30
- }),
31
25
  };
32
26
  async execute() {
33
27
  const { args, flags } = await this.parse(EpicView);
@@ -3,10 +3,11 @@ export default class ExecutionConfig extends PMOCommand {
3
3
  static description: string;
4
4
  static examples: string[];
5
5
  static flags: {
6
- json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
6
  set: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
7
  list: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
8
  setting: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ json: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
+ machine: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
11
  project: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
12
  };
12
13
  protected getPMOOptions(): {