@outputai/cli 0.7.1-next.ae5bab4.0 → 0.7.1-next.bd6bd49.0
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.
- package/bin/run.js +1 -1
- package/dist/api/generated/api.d.ts +38 -0
- package/dist/assets/docker/docker-compose-dev.yml +1 -1
- package/dist/commands/update.js +1 -1
- package/dist/generated/framework_version.json +1 -1
- package/dist/hooks/init.js +12 -3
- package/dist/hooks/init.spec.js +18 -8
- package/dist/scripts/refresh_version_check.d.ts +1 -0
- package/dist/scripts/refresh_version_check.js +9 -0
- package/dist/services/cost_calculator.d.ts +1 -5
- package/dist/services/cost_calculator.js +214 -102
- package/dist/services/cost_calculator.spec.js +329 -253
- package/dist/services/npm_update_service.js +11 -3
- package/dist/services/npm_update_service.spec.js +20 -7
- package/dist/services/version_check.d.ts +19 -1
- package/dist/services/version_check.js +53 -17
- package/dist/services/version_check.spec.js +88 -58
- package/dist/types/cost.d.ts +64 -23
- package/dist/types/cost.js +4 -0
- package/dist/utils/cost_formatter.js +65 -43
- package/dist/utils/proxy.d.ts +3 -2
- package/dist/utils/proxy.js +4 -3
- package/dist/utils/proxy.spec.js +4 -4
- package/oclif.manifest.json +1428 -0
- package/package.json +6 -5
|
@@ -0,0 +1,1428 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"fix": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Fix Output scripts in the package.json (reset overwrites, add missing and remove deprecated)",
|
|
7
|
+
"examples": [
|
|
8
|
+
"<%= config.bin %> <%= command.id %>"
|
|
9
|
+
],
|
|
10
|
+
"flags": {},
|
|
11
|
+
"hasDynamicHelp": false,
|
|
12
|
+
"hiddenAliases": [],
|
|
13
|
+
"id": "fix",
|
|
14
|
+
"pluginAlias": "@outputai/cli",
|
|
15
|
+
"pluginName": "@outputai/cli",
|
|
16
|
+
"pluginType": "core",
|
|
17
|
+
"strict": true,
|
|
18
|
+
"enableJsonFlag": false,
|
|
19
|
+
"isESM": true,
|
|
20
|
+
"relativePath": [
|
|
21
|
+
"dist",
|
|
22
|
+
"commands",
|
|
23
|
+
"fix.js"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"init": {
|
|
27
|
+
"aliases": [],
|
|
28
|
+
"args": {
|
|
29
|
+
"folderName": {
|
|
30
|
+
"description": "Optional folder name for the project (skips folder name prompt)",
|
|
31
|
+
"name": "folderName",
|
|
32
|
+
"required": false
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"description": "Initialize a new Output project by scaffolding the complete project structure",
|
|
36
|
+
"examples": [
|
|
37
|
+
"<%= config.bin %> <%= command.id %>",
|
|
38
|
+
"<%= config.bin %> <%= command.id %> my-workflow-project"
|
|
39
|
+
],
|
|
40
|
+
"flags": {
|
|
41
|
+
"skip-env": {
|
|
42
|
+
"description": "Skip interactive environment variable configuration",
|
|
43
|
+
"name": "skip-env",
|
|
44
|
+
"allowNo": false,
|
|
45
|
+
"type": "boolean"
|
|
46
|
+
},
|
|
47
|
+
"skip-git": {
|
|
48
|
+
"description": "Skip git repository initialization",
|
|
49
|
+
"name": "skip-git",
|
|
50
|
+
"allowNo": false,
|
|
51
|
+
"type": "boolean"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"hasDynamicHelp": false,
|
|
55
|
+
"hiddenAliases": [],
|
|
56
|
+
"id": "init",
|
|
57
|
+
"pluginAlias": "@outputai/cli",
|
|
58
|
+
"pluginName": "@outputai/cli",
|
|
59
|
+
"pluginType": "core",
|
|
60
|
+
"strict": true,
|
|
61
|
+
"enableJsonFlag": false,
|
|
62
|
+
"isESM": true,
|
|
63
|
+
"relativePath": [
|
|
64
|
+
"dist",
|
|
65
|
+
"commands",
|
|
66
|
+
"init.js"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"migrate": {
|
|
70
|
+
"aliases": [],
|
|
71
|
+
"args": {},
|
|
72
|
+
"description": "Upgrade a project between versions of the Output framework. Fetches the matching migration guide from docs.output.ai and applies it.",
|
|
73
|
+
"examples": [
|
|
74
|
+
"<%= config.bin %> <%= command.id %>",
|
|
75
|
+
"<%= config.bin %> <%= command.id %> --to 0.2.0",
|
|
76
|
+
"<%= config.bin %> <%= command.id %> --from 0.1.12 --to 0.2.0",
|
|
77
|
+
"<%= config.bin %> <%= command.id %> --to 0.2.0 --notes \"skip the http changes, we don't use that package\""
|
|
78
|
+
],
|
|
79
|
+
"flags": {
|
|
80
|
+
"from": {
|
|
81
|
+
"description": "Version to migrate from. Defaults to the framework version in your package.json.",
|
|
82
|
+
"name": "from",
|
|
83
|
+
"required": false,
|
|
84
|
+
"hasDynamicHelp": false,
|
|
85
|
+
"multiple": false,
|
|
86
|
+
"type": "option"
|
|
87
|
+
},
|
|
88
|
+
"to": {
|
|
89
|
+
"description": "Version to migrate to. Defaults to the latest published version.",
|
|
90
|
+
"name": "to",
|
|
91
|
+
"required": false,
|
|
92
|
+
"hasDynamicHelp": false,
|
|
93
|
+
"multiple": false,
|
|
94
|
+
"type": "option"
|
|
95
|
+
},
|
|
96
|
+
"notes": {
|
|
97
|
+
"char": "n",
|
|
98
|
+
"description": "Extra guidance passed through to the migration agent.",
|
|
99
|
+
"name": "notes",
|
|
100
|
+
"required": false,
|
|
101
|
+
"hasDynamicHelp": false,
|
|
102
|
+
"multiple": false,
|
|
103
|
+
"type": "option"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"hasDynamicHelp": false,
|
|
107
|
+
"hiddenAliases": [],
|
|
108
|
+
"id": "migrate",
|
|
109
|
+
"pluginAlias": "@outputai/cli",
|
|
110
|
+
"pluginName": "@outputai/cli",
|
|
111
|
+
"pluginType": "core",
|
|
112
|
+
"strict": true,
|
|
113
|
+
"enableJsonFlag": false,
|
|
114
|
+
"isESM": true,
|
|
115
|
+
"relativePath": [
|
|
116
|
+
"dist",
|
|
117
|
+
"commands",
|
|
118
|
+
"migrate.js"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"update": {
|
|
122
|
+
"aliases": [],
|
|
123
|
+
"args": {},
|
|
124
|
+
"description": "Update Output CLI and agent configuration",
|
|
125
|
+
"examples": [
|
|
126
|
+
"<%= config.bin %> update",
|
|
127
|
+
"<%= config.bin %> update --cli",
|
|
128
|
+
"<%= config.bin %> update --agents"
|
|
129
|
+
],
|
|
130
|
+
"flags": {
|
|
131
|
+
"cli": {
|
|
132
|
+
"description": "Update CLI packages only",
|
|
133
|
+
"name": "cli",
|
|
134
|
+
"allowNo": false,
|
|
135
|
+
"type": "boolean"
|
|
136
|
+
},
|
|
137
|
+
"agents": {
|
|
138
|
+
"description": "Update Claude Code agent configuration",
|
|
139
|
+
"name": "agents",
|
|
140
|
+
"allowNo": false,
|
|
141
|
+
"type": "boolean"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"hasDynamicHelp": false,
|
|
145
|
+
"hiddenAliases": [],
|
|
146
|
+
"id": "update",
|
|
147
|
+
"pluginAlias": "@outputai/cli",
|
|
148
|
+
"pluginName": "@outputai/cli",
|
|
149
|
+
"pluginType": "core",
|
|
150
|
+
"strict": true,
|
|
151
|
+
"enableJsonFlag": false,
|
|
152
|
+
"isESM": true,
|
|
153
|
+
"relativePath": [
|
|
154
|
+
"dist",
|
|
155
|
+
"commands",
|
|
156
|
+
"update.js"
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
"credentials:edit": {
|
|
160
|
+
"aliases": [],
|
|
161
|
+
"args": {},
|
|
162
|
+
"description": "Edit encrypted credentials in your $EDITOR",
|
|
163
|
+
"examples": [
|
|
164
|
+
"<%= config.bin %> <%= command.id %>",
|
|
165
|
+
"<%= config.bin %> <%= command.id %> --environment production",
|
|
166
|
+
"<%= config.bin %> <%= command.id %> --workflow my_workflow"
|
|
167
|
+
],
|
|
168
|
+
"flags": {
|
|
169
|
+
"environment": {
|
|
170
|
+
"char": "e",
|
|
171
|
+
"description": "Target environment (e.g. production, development)",
|
|
172
|
+
"name": "environment",
|
|
173
|
+
"hasDynamicHelp": false,
|
|
174
|
+
"multiple": false,
|
|
175
|
+
"type": "option"
|
|
176
|
+
},
|
|
177
|
+
"workflow": {
|
|
178
|
+
"char": "w",
|
|
179
|
+
"description": "Target a specific workflow directory",
|
|
180
|
+
"name": "workflow",
|
|
181
|
+
"hasDynamicHelp": false,
|
|
182
|
+
"multiple": false,
|
|
183
|
+
"type": "option"
|
|
184
|
+
},
|
|
185
|
+
"force": {
|
|
186
|
+
"char": "f",
|
|
187
|
+
"description": "Edit on an empty file and re-encrypt with the current key when it cannot decrypt the existing file (discards existing values)",
|
|
188
|
+
"name": "force",
|
|
189
|
+
"allowNo": false,
|
|
190
|
+
"type": "boolean"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"hasDynamicHelp": false,
|
|
194
|
+
"hiddenAliases": [],
|
|
195
|
+
"id": "credentials:edit",
|
|
196
|
+
"pluginAlias": "@outputai/cli",
|
|
197
|
+
"pluginName": "@outputai/cli",
|
|
198
|
+
"pluginType": "core",
|
|
199
|
+
"strict": true,
|
|
200
|
+
"enableJsonFlag": false,
|
|
201
|
+
"isESM": true,
|
|
202
|
+
"relativePath": [
|
|
203
|
+
"dist",
|
|
204
|
+
"commands",
|
|
205
|
+
"credentials",
|
|
206
|
+
"edit.js"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"credentials:get": {
|
|
210
|
+
"aliases": [],
|
|
211
|
+
"args": {
|
|
212
|
+
"path": {
|
|
213
|
+
"description": "Dot-notation path to the credential (e.g. anthropic.api_key)",
|
|
214
|
+
"name": "path",
|
|
215
|
+
"required": true
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"description": "Get a specific credential value by dot-notation path",
|
|
219
|
+
"examples": [
|
|
220
|
+
"<%= config.bin %> <%= command.id %> anthropic.api_key",
|
|
221
|
+
"<%= config.bin %> <%= command.id %> aws.region --environment production",
|
|
222
|
+
"<%= config.bin %> <%= command.id %> stripe.key --workflow my_workflow"
|
|
223
|
+
],
|
|
224
|
+
"flags": {
|
|
225
|
+
"environment": {
|
|
226
|
+
"char": "e",
|
|
227
|
+
"description": "Target environment (e.g. production, development)",
|
|
228
|
+
"name": "environment",
|
|
229
|
+
"hasDynamicHelp": false,
|
|
230
|
+
"multiple": false,
|
|
231
|
+
"type": "option"
|
|
232
|
+
},
|
|
233
|
+
"workflow": {
|
|
234
|
+
"char": "w",
|
|
235
|
+
"description": "Target a specific workflow directory",
|
|
236
|
+
"name": "workflow",
|
|
237
|
+
"hasDynamicHelp": false,
|
|
238
|
+
"multiple": false,
|
|
239
|
+
"type": "option"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"hasDynamicHelp": false,
|
|
243
|
+
"hiddenAliases": [],
|
|
244
|
+
"id": "credentials:get",
|
|
245
|
+
"pluginAlias": "@outputai/cli",
|
|
246
|
+
"pluginName": "@outputai/cli",
|
|
247
|
+
"pluginType": "core",
|
|
248
|
+
"strict": true,
|
|
249
|
+
"enableJsonFlag": false,
|
|
250
|
+
"isESM": true,
|
|
251
|
+
"relativePath": [
|
|
252
|
+
"dist",
|
|
253
|
+
"commands",
|
|
254
|
+
"credentials",
|
|
255
|
+
"get.js"
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
"credentials:init": {
|
|
259
|
+
"aliases": [],
|
|
260
|
+
"args": {},
|
|
261
|
+
"description": "Initialize encrypted credentials file and master key",
|
|
262
|
+
"examples": [
|
|
263
|
+
"<%= config.bin %> <%= command.id %>",
|
|
264
|
+
"<%= config.bin %> <%= command.id %> --environment production",
|
|
265
|
+
"<%= config.bin %> <%= command.id %> --workflow my_workflow"
|
|
266
|
+
],
|
|
267
|
+
"flags": {
|
|
268
|
+
"environment": {
|
|
269
|
+
"char": "e",
|
|
270
|
+
"description": "Target environment (e.g. production, development)",
|
|
271
|
+
"name": "environment",
|
|
272
|
+
"hasDynamicHelp": false,
|
|
273
|
+
"multiple": false,
|
|
274
|
+
"type": "option"
|
|
275
|
+
},
|
|
276
|
+
"workflow": {
|
|
277
|
+
"char": "w",
|
|
278
|
+
"description": "Target a specific workflow directory",
|
|
279
|
+
"name": "workflow",
|
|
280
|
+
"hasDynamicHelp": false,
|
|
281
|
+
"multiple": false,
|
|
282
|
+
"type": "option"
|
|
283
|
+
},
|
|
284
|
+
"force": {
|
|
285
|
+
"char": "f",
|
|
286
|
+
"description": "Overwrite existing credentials",
|
|
287
|
+
"name": "force",
|
|
288
|
+
"allowNo": false,
|
|
289
|
+
"type": "boolean"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"hasDynamicHelp": false,
|
|
293
|
+
"hiddenAliases": [],
|
|
294
|
+
"id": "credentials:init",
|
|
295
|
+
"pluginAlias": "@outputai/cli",
|
|
296
|
+
"pluginName": "@outputai/cli",
|
|
297
|
+
"pluginType": "core",
|
|
298
|
+
"strict": true,
|
|
299
|
+
"enableJsonFlag": false,
|
|
300
|
+
"isESM": true,
|
|
301
|
+
"relativePath": [
|
|
302
|
+
"dist",
|
|
303
|
+
"commands",
|
|
304
|
+
"credentials",
|
|
305
|
+
"init.js"
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
"credentials:set": {
|
|
309
|
+
"aliases": [],
|
|
310
|
+
"args": {
|
|
311
|
+
"path": {
|
|
312
|
+
"description": "Dot-notation path to the credential (e.g. anthropic.api_key)",
|
|
313
|
+
"name": "path",
|
|
314
|
+
"required": true
|
|
315
|
+
},
|
|
316
|
+
"value": {
|
|
317
|
+
"description": "Value to set",
|
|
318
|
+
"name": "value",
|
|
319
|
+
"required": true
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"description": "Set a credential value by dot-notation path",
|
|
323
|
+
"examples": [
|
|
324
|
+
"<%= config.bin %> <%= command.id %> anthropic.api_key sk-ant-...",
|
|
325
|
+
"<%= config.bin %> <%= command.id %> openai.api_key sk-... --environment production",
|
|
326
|
+
"<%= config.bin %> <%= command.id %> stripe.key sk_live_... --workflow my_workflow"
|
|
327
|
+
],
|
|
328
|
+
"flags": {
|
|
329
|
+
"environment": {
|
|
330
|
+
"char": "e",
|
|
331
|
+
"description": "Target environment (e.g. production, development)",
|
|
332
|
+
"name": "environment",
|
|
333
|
+
"hasDynamicHelp": false,
|
|
334
|
+
"multiple": false,
|
|
335
|
+
"type": "option"
|
|
336
|
+
},
|
|
337
|
+
"workflow": {
|
|
338
|
+
"char": "w",
|
|
339
|
+
"description": "Target a specific workflow directory",
|
|
340
|
+
"name": "workflow",
|
|
341
|
+
"hasDynamicHelp": false,
|
|
342
|
+
"multiple": false,
|
|
343
|
+
"type": "option"
|
|
344
|
+
},
|
|
345
|
+
"yes": {
|
|
346
|
+
"char": "y",
|
|
347
|
+
"description": "Skip confirmation prompts when overwriting a value of a different shape",
|
|
348
|
+
"name": "yes",
|
|
349
|
+
"allowNo": false,
|
|
350
|
+
"type": "boolean"
|
|
351
|
+
},
|
|
352
|
+
"force": {
|
|
353
|
+
"char": "f",
|
|
354
|
+
"description": "Re-encrypt with the current key even if it cannot decrypt the existing file (discards existing values)",
|
|
355
|
+
"name": "force",
|
|
356
|
+
"allowNo": false,
|
|
357
|
+
"type": "boolean"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"hasDynamicHelp": false,
|
|
361
|
+
"hiddenAliases": [],
|
|
362
|
+
"id": "credentials:set",
|
|
363
|
+
"pluginAlias": "@outputai/cli",
|
|
364
|
+
"pluginName": "@outputai/cli",
|
|
365
|
+
"pluginType": "core",
|
|
366
|
+
"strict": true,
|
|
367
|
+
"enableJsonFlag": false,
|
|
368
|
+
"isESM": true,
|
|
369
|
+
"relativePath": [
|
|
370
|
+
"dist",
|
|
371
|
+
"commands",
|
|
372
|
+
"credentials",
|
|
373
|
+
"set.js"
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
"credentials:show": {
|
|
377
|
+
"aliases": [],
|
|
378
|
+
"args": {},
|
|
379
|
+
"description": "Show decrypted credentials (for debugging)",
|
|
380
|
+
"examples": [
|
|
381
|
+
"<%= config.bin %> <%= command.id %>",
|
|
382
|
+
"<%= config.bin %> <%= command.id %> --environment production",
|
|
383
|
+
"<%= config.bin %> <%= command.id %> --workflow my_workflow"
|
|
384
|
+
],
|
|
385
|
+
"flags": {
|
|
386
|
+
"environment": {
|
|
387
|
+
"char": "e",
|
|
388
|
+
"description": "Target environment (e.g. production, development)",
|
|
389
|
+
"name": "environment",
|
|
390
|
+
"hasDynamicHelp": false,
|
|
391
|
+
"multiple": false,
|
|
392
|
+
"type": "option"
|
|
393
|
+
},
|
|
394
|
+
"workflow": {
|
|
395
|
+
"char": "w",
|
|
396
|
+
"description": "Target a specific workflow directory",
|
|
397
|
+
"name": "workflow",
|
|
398
|
+
"hasDynamicHelp": false,
|
|
399
|
+
"multiple": false,
|
|
400
|
+
"type": "option"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"hasDynamicHelp": false,
|
|
404
|
+
"hiddenAliases": [],
|
|
405
|
+
"id": "credentials:show",
|
|
406
|
+
"pluginAlias": "@outputai/cli",
|
|
407
|
+
"pluginName": "@outputai/cli",
|
|
408
|
+
"pluginType": "core",
|
|
409
|
+
"strict": true,
|
|
410
|
+
"enableJsonFlag": false,
|
|
411
|
+
"isESM": true,
|
|
412
|
+
"relativePath": [
|
|
413
|
+
"dist",
|
|
414
|
+
"commands",
|
|
415
|
+
"credentials",
|
|
416
|
+
"show.js"
|
|
417
|
+
]
|
|
418
|
+
},
|
|
419
|
+
"dev:eject": {
|
|
420
|
+
"aliases": [],
|
|
421
|
+
"args": {},
|
|
422
|
+
"description": "Eject the Docker Compose configuration to your project root for customization",
|
|
423
|
+
"examples": [
|
|
424
|
+
"<%= config.bin %> <%= command.id %>",
|
|
425
|
+
"<%= config.bin %> <%= command.id %> --output ./custom-compose.yml"
|
|
426
|
+
],
|
|
427
|
+
"flags": {
|
|
428
|
+
"output": {
|
|
429
|
+
"char": "o",
|
|
430
|
+
"description": "Output path for the docker-compose file",
|
|
431
|
+
"name": "output",
|
|
432
|
+
"required": false,
|
|
433
|
+
"default": "docker-compose.yml",
|
|
434
|
+
"hasDynamicHelp": false,
|
|
435
|
+
"multiple": false,
|
|
436
|
+
"type": "option"
|
|
437
|
+
},
|
|
438
|
+
"force": {
|
|
439
|
+
"char": "f",
|
|
440
|
+
"description": "Overwrite existing file without prompting",
|
|
441
|
+
"name": "force",
|
|
442
|
+
"required": false,
|
|
443
|
+
"allowNo": false,
|
|
444
|
+
"type": "boolean"
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"hasDynamicHelp": false,
|
|
448
|
+
"hiddenAliases": [],
|
|
449
|
+
"id": "dev:eject",
|
|
450
|
+
"pluginAlias": "@outputai/cli",
|
|
451
|
+
"pluginName": "@outputai/cli",
|
|
452
|
+
"pluginType": "core",
|
|
453
|
+
"strict": true,
|
|
454
|
+
"enableJsonFlag": false,
|
|
455
|
+
"isESM": true,
|
|
456
|
+
"relativePath": [
|
|
457
|
+
"dist",
|
|
458
|
+
"commands",
|
|
459
|
+
"dev",
|
|
460
|
+
"eject.js"
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
"dev": {
|
|
464
|
+
"aliases": [],
|
|
465
|
+
"args": {},
|
|
466
|
+
"description": "Start Output development services (auto-restarts worker on file changes)\n\nTo run a second dev stack concurrently, override host ports in .env:\n\n OUTPUT_API_HOST_PORT=3002\n OUTPUT_TEMPORAL_UI_HOST_PORT=8081\n OUTPUT_TEMPORAL_HOST_PORT=7234",
|
|
467
|
+
"examples": [
|
|
468
|
+
"<%= config.bin %> <%= command.id %>",
|
|
469
|
+
"<%= config.bin %> <%= command.id %> --compose-file ./custom-docker-compose.yml",
|
|
470
|
+
"<%= config.bin %> <%= command.id %> --image-pull-policy missing"
|
|
471
|
+
],
|
|
472
|
+
"flags": {
|
|
473
|
+
"compose-file": {
|
|
474
|
+
"char": "f",
|
|
475
|
+
"description": "Path to a custom docker-compose file",
|
|
476
|
+
"name": "compose-file",
|
|
477
|
+
"required": false,
|
|
478
|
+
"hasDynamicHelp": false,
|
|
479
|
+
"multiple": false,
|
|
480
|
+
"type": "option"
|
|
481
|
+
},
|
|
482
|
+
"image-pull-policy": {
|
|
483
|
+
"description": "Image pull policy for docker compose (always, missing, never)",
|
|
484
|
+
"name": "image-pull-policy",
|
|
485
|
+
"default": "always",
|
|
486
|
+
"hasDynamicHelp": false,
|
|
487
|
+
"multiple": false,
|
|
488
|
+
"options": [
|
|
489
|
+
"always",
|
|
490
|
+
"missing",
|
|
491
|
+
"never"
|
|
492
|
+
],
|
|
493
|
+
"type": "option"
|
|
494
|
+
},
|
|
495
|
+
"detached": {
|
|
496
|
+
"char": "d",
|
|
497
|
+
"description": "Start services in detached (background) mode and exit immediately",
|
|
498
|
+
"name": "detached",
|
|
499
|
+
"allowNo": false,
|
|
500
|
+
"type": "boolean"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"hasDynamicHelp": false,
|
|
504
|
+
"hiddenAliases": [],
|
|
505
|
+
"id": "dev",
|
|
506
|
+
"pluginAlias": "@outputai/cli",
|
|
507
|
+
"pluginName": "@outputai/cli",
|
|
508
|
+
"pluginType": "core",
|
|
509
|
+
"strict": true,
|
|
510
|
+
"enableJsonFlag": false,
|
|
511
|
+
"isESM": true,
|
|
512
|
+
"relativePath": [
|
|
513
|
+
"dist",
|
|
514
|
+
"commands",
|
|
515
|
+
"dev",
|
|
516
|
+
"index.js"
|
|
517
|
+
]
|
|
518
|
+
},
|
|
519
|
+
"workflow:cost": {
|
|
520
|
+
"aliases": [],
|
|
521
|
+
"args": {
|
|
522
|
+
"workflowId": {
|
|
523
|
+
"description": "Workflow ID to calculate cost for",
|
|
524
|
+
"name": "workflowId",
|
|
525
|
+
"required": true
|
|
526
|
+
},
|
|
527
|
+
"tracePath": {
|
|
528
|
+
"description": "Path to a trace JSON file (optional, fetches latest trace if omitted)",
|
|
529
|
+
"name": "tracePath",
|
|
530
|
+
"required": false
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"description": "Calculate the cost of a workflow execution",
|
|
534
|
+
"examples": [
|
|
535
|
+
"<%= config.bin %> <%= command.id %> my_workflow_id",
|
|
536
|
+
"<%= config.bin %> <%= command.id %> my_workflow_id --verbose",
|
|
537
|
+
"<%= config.bin %> <%= command.id %> my_workflow_id path/to/trace.json",
|
|
538
|
+
"<%= config.bin %> <%= command.id %> my_workflow_id --format json"
|
|
539
|
+
],
|
|
540
|
+
"flags": {
|
|
541
|
+
"format": {
|
|
542
|
+
"char": "f",
|
|
543
|
+
"description": "Output format",
|
|
544
|
+
"name": "format",
|
|
545
|
+
"default": "text",
|
|
546
|
+
"hasDynamicHelp": false,
|
|
547
|
+
"multiple": false,
|
|
548
|
+
"options": [
|
|
549
|
+
"json",
|
|
550
|
+
"text"
|
|
551
|
+
],
|
|
552
|
+
"type": "option"
|
|
553
|
+
},
|
|
554
|
+
"verbose": {
|
|
555
|
+
"description": "Show detailed per-call breakdown",
|
|
556
|
+
"name": "verbose",
|
|
557
|
+
"allowNo": false,
|
|
558
|
+
"type": "boolean"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
"hasDynamicHelp": false,
|
|
562
|
+
"hiddenAliases": [],
|
|
563
|
+
"id": "workflow:cost",
|
|
564
|
+
"pluginAlias": "@outputai/cli",
|
|
565
|
+
"pluginName": "@outputai/cli",
|
|
566
|
+
"pluginType": "core",
|
|
567
|
+
"strict": true,
|
|
568
|
+
"enableJsonFlag": false,
|
|
569
|
+
"isESM": true,
|
|
570
|
+
"relativePath": [
|
|
571
|
+
"dist",
|
|
572
|
+
"commands",
|
|
573
|
+
"workflow",
|
|
574
|
+
"cost.js"
|
|
575
|
+
]
|
|
576
|
+
},
|
|
577
|
+
"workflow:debug": {
|
|
578
|
+
"aliases": [],
|
|
579
|
+
"args": {
|
|
580
|
+
"workflowId": {
|
|
581
|
+
"description": "The workflow ID to debug",
|
|
582
|
+
"name": "workflowId",
|
|
583
|
+
"required": true
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"description": "Get and display workflow execution trace for debugging",
|
|
587
|
+
"examples": [
|
|
588
|
+
"<%= config.bin %> <%= command.id %> wf-12345",
|
|
589
|
+
"<%= config.bin %> <%= command.id %> wf-12345 --format json",
|
|
590
|
+
"<%= config.bin %> <%= command.id %> wf-12345 --format text"
|
|
591
|
+
],
|
|
592
|
+
"flags": {
|
|
593
|
+
"format": {
|
|
594
|
+
"char": "f",
|
|
595
|
+
"description": "Output format",
|
|
596
|
+
"name": "format",
|
|
597
|
+
"default": "text",
|
|
598
|
+
"hasDynamicHelp": false,
|
|
599
|
+
"multiple": false,
|
|
600
|
+
"options": [
|
|
601
|
+
"json",
|
|
602
|
+
"text"
|
|
603
|
+
],
|
|
604
|
+
"type": "option"
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
"hasDynamicHelp": false,
|
|
608
|
+
"hiddenAliases": [],
|
|
609
|
+
"id": "workflow:debug",
|
|
610
|
+
"pluginAlias": "@outputai/cli",
|
|
611
|
+
"pluginName": "@outputai/cli",
|
|
612
|
+
"pluginType": "core",
|
|
613
|
+
"strict": true,
|
|
614
|
+
"enableJsonFlag": false,
|
|
615
|
+
"isESM": true,
|
|
616
|
+
"relativePath": [
|
|
617
|
+
"dist",
|
|
618
|
+
"commands",
|
|
619
|
+
"workflow",
|
|
620
|
+
"debug.js"
|
|
621
|
+
]
|
|
622
|
+
},
|
|
623
|
+
"workflow:generate": {
|
|
624
|
+
"aliases": [],
|
|
625
|
+
"args": {
|
|
626
|
+
"name": {
|
|
627
|
+
"description": "Name of the workflow to generate",
|
|
628
|
+
"name": "name",
|
|
629
|
+
"required": true
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
"description": "Generate a new Output workflow from a skeleton or plan file",
|
|
633
|
+
"examples": [
|
|
634
|
+
"<%= config.bin %> <%= command.id %> my-workflow --skeleton",
|
|
635
|
+
"<%= config.bin %> <%= command.id %> my-workflow --skeleton --description \"Process and transform data\"",
|
|
636
|
+
"<%= config.bin %> <%= command.id %> my-workflow --plan-file .outputai/plans/2025_10_09_my_workflow/PLAN.md",
|
|
637
|
+
"<%= config.bin %> <%= command.id %> my-workflow --skeleton --output-dir ./custom/path"
|
|
638
|
+
],
|
|
639
|
+
"flags": {
|
|
640
|
+
"skeleton": {
|
|
641
|
+
"char": "s",
|
|
642
|
+
"description": "Generate minimal skeleton workflow without example steps",
|
|
643
|
+
"name": "skeleton",
|
|
644
|
+
"allowNo": false,
|
|
645
|
+
"type": "boolean"
|
|
646
|
+
},
|
|
647
|
+
"description": {
|
|
648
|
+
"char": "d",
|
|
649
|
+
"description": "Description of the workflow",
|
|
650
|
+
"name": "description",
|
|
651
|
+
"required": false,
|
|
652
|
+
"hasDynamicHelp": false,
|
|
653
|
+
"multiple": false,
|
|
654
|
+
"type": "option"
|
|
655
|
+
},
|
|
656
|
+
"output-dir": {
|
|
657
|
+
"char": "o",
|
|
658
|
+
"description": "Output directory for the workflow",
|
|
659
|
+
"name": "output-dir",
|
|
660
|
+
"default": "src/workflows",
|
|
661
|
+
"hasDynamicHelp": false,
|
|
662
|
+
"multiple": false,
|
|
663
|
+
"type": "option"
|
|
664
|
+
},
|
|
665
|
+
"force": {
|
|
666
|
+
"char": "f",
|
|
667
|
+
"description": "Overwrite existing directory",
|
|
668
|
+
"name": "force",
|
|
669
|
+
"allowNo": false,
|
|
670
|
+
"type": "boolean"
|
|
671
|
+
},
|
|
672
|
+
"plan-file": {
|
|
673
|
+
"char": "p",
|
|
674
|
+
"description": "Path to plan file for AI-assisted workflow implementation",
|
|
675
|
+
"name": "plan-file",
|
|
676
|
+
"required": false,
|
|
677
|
+
"hasDynamicHelp": false,
|
|
678
|
+
"multiple": false,
|
|
679
|
+
"type": "option"
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
"hasDynamicHelp": false,
|
|
683
|
+
"hiddenAliases": [],
|
|
684
|
+
"id": "workflow:generate",
|
|
685
|
+
"pluginAlias": "@outputai/cli",
|
|
686
|
+
"pluginName": "@outputai/cli",
|
|
687
|
+
"pluginType": "core",
|
|
688
|
+
"strict": true,
|
|
689
|
+
"enableJsonFlag": false,
|
|
690
|
+
"isESM": true,
|
|
691
|
+
"relativePath": [
|
|
692
|
+
"dist",
|
|
693
|
+
"commands",
|
|
694
|
+
"workflow",
|
|
695
|
+
"generate.js"
|
|
696
|
+
]
|
|
697
|
+
},
|
|
698
|
+
"workflow:list": {
|
|
699
|
+
"aliases": [],
|
|
700
|
+
"args": {},
|
|
701
|
+
"description": "List available workflows from the catalog",
|
|
702
|
+
"examples": [
|
|
703
|
+
"<%= config.bin %> <%= command.id %>",
|
|
704
|
+
"<%= config.bin %> <%= command.id %> --format table",
|
|
705
|
+
"<%= config.bin %> <%= command.id %> --format json",
|
|
706
|
+
"<%= config.bin %> <%= command.id %> --detailed",
|
|
707
|
+
"<%= config.bin %> <%= command.id %> --filter simple"
|
|
708
|
+
],
|
|
709
|
+
"flags": {
|
|
710
|
+
"format": {
|
|
711
|
+
"char": "f",
|
|
712
|
+
"description": "Output format",
|
|
713
|
+
"name": "format",
|
|
714
|
+
"default": "list",
|
|
715
|
+
"hasDynamicHelp": false,
|
|
716
|
+
"multiple": false,
|
|
717
|
+
"options": [
|
|
718
|
+
"list",
|
|
719
|
+
"table",
|
|
720
|
+
"json"
|
|
721
|
+
],
|
|
722
|
+
"type": "option"
|
|
723
|
+
},
|
|
724
|
+
"detailed": {
|
|
725
|
+
"char": "d",
|
|
726
|
+
"description": "Show detailed parameter information",
|
|
727
|
+
"name": "detailed",
|
|
728
|
+
"allowNo": false,
|
|
729
|
+
"type": "boolean"
|
|
730
|
+
},
|
|
731
|
+
"filter": {
|
|
732
|
+
"description": "Filter workflows by name",
|
|
733
|
+
"name": "filter",
|
|
734
|
+
"hasDynamicHelp": false,
|
|
735
|
+
"multiple": false,
|
|
736
|
+
"type": "option"
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
"hasDynamicHelp": false,
|
|
740
|
+
"hiddenAliases": [],
|
|
741
|
+
"id": "workflow:list",
|
|
742
|
+
"pluginAlias": "@outputai/cli",
|
|
743
|
+
"pluginName": "@outputai/cli",
|
|
744
|
+
"pluginType": "core",
|
|
745
|
+
"strict": true,
|
|
746
|
+
"enableJsonFlag": false,
|
|
747
|
+
"isESM": true,
|
|
748
|
+
"relativePath": [
|
|
749
|
+
"dist",
|
|
750
|
+
"commands",
|
|
751
|
+
"workflow",
|
|
752
|
+
"list.js"
|
|
753
|
+
]
|
|
754
|
+
},
|
|
755
|
+
"workflow:plan": {
|
|
756
|
+
"aliases": [],
|
|
757
|
+
"args": {},
|
|
758
|
+
"description": "Generate a workflow plan from a description",
|
|
759
|
+
"examples": [
|
|
760
|
+
"<%= config.bin %> <%= command.id %>",
|
|
761
|
+
"<%= config.bin %> <%= command.id %> --description \"A workflow to take a question and answer it\"",
|
|
762
|
+
"<%= config.bin %> <%= command.id %> --force-agent-file-write"
|
|
763
|
+
],
|
|
764
|
+
"flags": {
|
|
765
|
+
"force-agent-file-write": {
|
|
766
|
+
"description": "Force overwrite of agent template files",
|
|
767
|
+
"name": "force-agent-file-write",
|
|
768
|
+
"allowNo": false,
|
|
769
|
+
"type": "boolean"
|
|
770
|
+
},
|
|
771
|
+
"description": {
|
|
772
|
+
"char": "d",
|
|
773
|
+
"description": "Workflow description",
|
|
774
|
+
"name": "description",
|
|
775
|
+
"required": false,
|
|
776
|
+
"hasDynamicHelp": false,
|
|
777
|
+
"multiple": false,
|
|
778
|
+
"type": "option"
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
"hasDynamicHelp": false,
|
|
782
|
+
"hiddenAliases": [],
|
|
783
|
+
"id": "workflow:plan",
|
|
784
|
+
"pluginAlias": "@outputai/cli",
|
|
785
|
+
"pluginName": "@outputai/cli",
|
|
786
|
+
"pluginType": "core",
|
|
787
|
+
"strict": true,
|
|
788
|
+
"enableJsonFlag": false,
|
|
789
|
+
"isESM": true,
|
|
790
|
+
"relativePath": [
|
|
791
|
+
"dist",
|
|
792
|
+
"commands",
|
|
793
|
+
"workflow",
|
|
794
|
+
"plan.js"
|
|
795
|
+
]
|
|
796
|
+
},
|
|
797
|
+
"workflow:reset": {
|
|
798
|
+
"aliases": [],
|
|
799
|
+
"args": {
|
|
800
|
+
"workflowId": {
|
|
801
|
+
"description": "The workflow ID to reset",
|
|
802
|
+
"name": "workflowId",
|
|
803
|
+
"required": true
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
"description": "Reset a workflow to re-run from after a specific step",
|
|
807
|
+
"examples": [
|
|
808
|
+
"<%= config.bin %> <%= command.id %> wf-12345 --step generateBlogPost",
|
|
809
|
+
"<%= config.bin %> <%= command.id %> wf-12345 --step consolidateCompetitors --reason \"Retry with updated prompt\""
|
|
810
|
+
],
|
|
811
|
+
"flags": {
|
|
812
|
+
"step": {
|
|
813
|
+
"char": "s",
|
|
814
|
+
"description": "The step name to reset after",
|
|
815
|
+
"name": "step",
|
|
816
|
+
"required": true,
|
|
817
|
+
"hasDynamicHelp": false,
|
|
818
|
+
"multiple": false,
|
|
819
|
+
"type": "option"
|
|
820
|
+
},
|
|
821
|
+
"reason": {
|
|
822
|
+
"char": "r",
|
|
823
|
+
"description": "Reason for the reset",
|
|
824
|
+
"name": "reason",
|
|
825
|
+
"hasDynamicHelp": false,
|
|
826
|
+
"multiple": false,
|
|
827
|
+
"type": "option"
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"hasDynamicHelp": false,
|
|
831
|
+
"hiddenAliases": [],
|
|
832
|
+
"id": "workflow:reset",
|
|
833
|
+
"pluginAlias": "@outputai/cli",
|
|
834
|
+
"pluginName": "@outputai/cli",
|
|
835
|
+
"pluginType": "core",
|
|
836
|
+
"strict": true,
|
|
837
|
+
"enableJsonFlag": false,
|
|
838
|
+
"isESM": true,
|
|
839
|
+
"relativePath": [
|
|
840
|
+
"dist",
|
|
841
|
+
"commands",
|
|
842
|
+
"workflow",
|
|
843
|
+
"reset.js"
|
|
844
|
+
]
|
|
845
|
+
},
|
|
846
|
+
"workflow:result": {
|
|
847
|
+
"aliases": [],
|
|
848
|
+
"args": {
|
|
849
|
+
"workflowId": {
|
|
850
|
+
"description": "The workflow ID to get result for",
|
|
851
|
+
"name": "workflowId",
|
|
852
|
+
"required": true
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
"description": "Get workflow execution result",
|
|
856
|
+
"examples": [
|
|
857
|
+
"<%= config.bin %> <%= command.id %> wf-12345",
|
|
858
|
+
"<%= config.bin %> <%= command.id %> wf-12345 --format json"
|
|
859
|
+
],
|
|
860
|
+
"flags": {
|
|
861
|
+
"format": {
|
|
862
|
+
"char": "f",
|
|
863
|
+
"description": "Output format",
|
|
864
|
+
"name": "format",
|
|
865
|
+
"default": "text",
|
|
866
|
+
"hasDynamicHelp": false,
|
|
867
|
+
"multiple": false,
|
|
868
|
+
"options": [
|
|
869
|
+
"json",
|
|
870
|
+
"text"
|
|
871
|
+
],
|
|
872
|
+
"type": "option"
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
"hasDynamicHelp": false,
|
|
876
|
+
"hiddenAliases": [],
|
|
877
|
+
"id": "workflow:result",
|
|
878
|
+
"pluginAlias": "@outputai/cli",
|
|
879
|
+
"pluginName": "@outputai/cli",
|
|
880
|
+
"pluginType": "core",
|
|
881
|
+
"strict": true,
|
|
882
|
+
"enableJsonFlag": false,
|
|
883
|
+
"isESM": true,
|
|
884
|
+
"relativePath": [
|
|
885
|
+
"dist",
|
|
886
|
+
"commands",
|
|
887
|
+
"workflow",
|
|
888
|
+
"result.js"
|
|
889
|
+
]
|
|
890
|
+
},
|
|
891
|
+
"workflow:run": {
|
|
892
|
+
"aliases": [],
|
|
893
|
+
"args": {
|
|
894
|
+
"workflowName": {
|
|
895
|
+
"description": "Name of the workflow to execute",
|
|
896
|
+
"name": "workflowName",
|
|
897
|
+
"required": true
|
|
898
|
+
},
|
|
899
|
+
"scenario": {
|
|
900
|
+
"description": "Scenario name (resolved from the workflow's scenarios/ directory)",
|
|
901
|
+
"name": "scenario",
|
|
902
|
+
"required": false
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
"description": "Execute a workflow synchronously and wait for completion",
|
|
906
|
+
"examples": [
|
|
907
|
+
"<%= config.bin %> <%= command.id %> simple basic_input",
|
|
908
|
+
"<%= config.bin %> <%= command.id %> simple my_scenario --format json",
|
|
909
|
+
"<%= config.bin %> <%= command.id %> simple --input '{\"values\":[1,2,3]}'",
|
|
910
|
+
"<%= config.bin %> <%= command.id %> simple --input input.json",
|
|
911
|
+
"<%= config.bin %> <%= command.id %> simple --input '{\"key\":\"value\"}' --catalog my-catalog"
|
|
912
|
+
],
|
|
913
|
+
"flags": {
|
|
914
|
+
"input": {
|
|
915
|
+
"char": "i",
|
|
916
|
+
"description": "Workflow input as JSON string or file path (overrides scenario)",
|
|
917
|
+
"name": "input",
|
|
918
|
+
"required": false,
|
|
919
|
+
"hasDynamicHelp": false,
|
|
920
|
+
"multiple": false,
|
|
921
|
+
"type": "option"
|
|
922
|
+
},
|
|
923
|
+
"catalog": {
|
|
924
|
+
"aliases": [
|
|
925
|
+
"task-queue"
|
|
926
|
+
],
|
|
927
|
+
"char": "c",
|
|
928
|
+
"charAliases": [
|
|
929
|
+
"q"
|
|
930
|
+
],
|
|
931
|
+
"deprecateAliases": true,
|
|
932
|
+
"description": "Catalog name for workflow execution (defaults to OUTPUT_CATALOG_ID)",
|
|
933
|
+
"env": "OUTPUT_CATALOG_ID",
|
|
934
|
+
"name": "catalog",
|
|
935
|
+
"hasDynamicHelp": false,
|
|
936
|
+
"multiple": false,
|
|
937
|
+
"type": "option"
|
|
938
|
+
},
|
|
939
|
+
"format": {
|
|
940
|
+
"char": "f",
|
|
941
|
+
"description": "Output format",
|
|
942
|
+
"name": "format",
|
|
943
|
+
"default": "text",
|
|
944
|
+
"hasDynamicHelp": false,
|
|
945
|
+
"multiple": false,
|
|
946
|
+
"options": [
|
|
947
|
+
"json",
|
|
948
|
+
"text"
|
|
949
|
+
],
|
|
950
|
+
"type": "option"
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
"hasDynamicHelp": false,
|
|
954
|
+
"hiddenAliases": [],
|
|
955
|
+
"id": "workflow:run",
|
|
956
|
+
"pluginAlias": "@outputai/cli",
|
|
957
|
+
"pluginName": "@outputai/cli",
|
|
958
|
+
"pluginType": "core",
|
|
959
|
+
"strict": true,
|
|
960
|
+
"enableJsonFlag": false,
|
|
961
|
+
"isESM": true,
|
|
962
|
+
"relativePath": [
|
|
963
|
+
"dist",
|
|
964
|
+
"commands",
|
|
965
|
+
"workflow",
|
|
966
|
+
"run.js"
|
|
967
|
+
]
|
|
968
|
+
},
|
|
969
|
+
"workflow:start": {
|
|
970
|
+
"aliases": [],
|
|
971
|
+
"args": {
|
|
972
|
+
"workflowName": {
|
|
973
|
+
"description": "Name of the workflow to start",
|
|
974
|
+
"name": "workflowName",
|
|
975
|
+
"required": true
|
|
976
|
+
},
|
|
977
|
+
"scenario": {
|
|
978
|
+
"description": "Scenario name (resolved from the workflow's scenarios/ directory)",
|
|
979
|
+
"name": "scenario",
|
|
980
|
+
"required": false
|
|
981
|
+
}
|
|
982
|
+
},
|
|
983
|
+
"description": "Start a workflow asynchronously without waiting for completion",
|
|
984
|
+
"examples": [
|
|
985
|
+
"<%= config.bin %> <%= command.id %> simple basic_input",
|
|
986
|
+
"<%= config.bin %> <%= command.id %> simple --input '{\"values\":[1,2,3]}'",
|
|
987
|
+
"<%= config.bin %> <%= command.id %> simple --input input.json",
|
|
988
|
+
"<%= config.bin %> <%= command.id %> simple --input '{\"key\":\"value\"}' --catalog my-catalog"
|
|
989
|
+
],
|
|
990
|
+
"flags": {
|
|
991
|
+
"input": {
|
|
992
|
+
"char": "i",
|
|
993
|
+
"description": "Workflow input as JSON string or file path (overrides scenario)",
|
|
994
|
+
"name": "input",
|
|
995
|
+
"required": false,
|
|
996
|
+
"hasDynamicHelp": false,
|
|
997
|
+
"multiple": false,
|
|
998
|
+
"type": "option"
|
|
999
|
+
},
|
|
1000
|
+
"catalog": {
|
|
1001
|
+
"aliases": [
|
|
1002
|
+
"task-queue"
|
|
1003
|
+
],
|
|
1004
|
+
"char": "c",
|
|
1005
|
+
"charAliases": [
|
|
1006
|
+
"q"
|
|
1007
|
+
],
|
|
1008
|
+
"deprecateAliases": true,
|
|
1009
|
+
"description": "Catalog name for workflow execution (defaults to OUTPUT_CATALOG_ID)",
|
|
1010
|
+
"env": "OUTPUT_CATALOG_ID",
|
|
1011
|
+
"name": "catalog",
|
|
1012
|
+
"hasDynamicHelp": false,
|
|
1013
|
+
"multiple": false,
|
|
1014
|
+
"type": "option"
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
"hasDynamicHelp": false,
|
|
1018
|
+
"hiddenAliases": [],
|
|
1019
|
+
"id": "workflow:start",
|
|
1020
|
+
"pluginAlias": "@outputai/cli",
|
|
1021
|
+
"pluginName": "@outputai/cli",
|
|
1022
|
+
"pluginType": "core",
|
|
1023
|
+
"strict": true,
|
|
1024
|
+
"enableJsonFlag": false,
|
|
1025
|
+
"isESM": true,
|
|
1026
|
+
"relativePath": [
|
|
1027
|
+
"dist",
|
|
1028
|
+
"commands",
|
|
1029
|
+
"workflow",
|
|
1030
|
+
"start.js"
|
|
1031
|
+
]
|
|
1032
|
+
},
|
|
1033
|
+
"workflow:status": {
|
|
1034
|
+
"aliases": [],
|
|
1035
|
+
"args": {
|
|
1036
|
+
"workflowId": {
|
|
1037
|
+
"description": "The workflow ID to check status for",
|
|
1038
|
+
"name": "workflowId",
|
|
1039
|
+
"required": true
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
"description": "Get workflow execution status",
|
|
1043
|
+
"examples": [
|
|
1044
|
+
"<%= config.bin %> <%= command.id %> wf-12345",
|
|
1045
|
+
"<%= config.bin %> <%= command.id %> wf-12345 --format json"
|
|
1046
|
+
],
|
|
1047
|
+
"flags": {
|
|
1048
|
+
"format": {
|
|
1049
|
+
"char": "f",
|
|
1050
|
+
"description": "Output format",
|
|
1051
|
+
"name": "format",
|
|
1052
|
+
"default": "text",
|
|
1053
|
+
"hasDynamicHelp": false,
|
|
1054
|
+
"multiple": false,
|
|
1055
|
+
"options": [
|
|
1056
|
+
"json",
|
|
1057
|
+
"text"
|
|
1058
|
+
],
|
|
1059
|
+
"type": "option"
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
"hasDynamicHelp": false,
|
|
1063
|
+
"hiddenAliases": [],
|
|
1064
|
+
"id": "workflow:status",
|
|
1065
|
+
"pluginAlias": "@outputai/cli",
|
|
1066
|
+
"pluginName": "@outputai/cli",
|
|
1067
|
+
"pluginType": "core",
|
|
1068
|
+
"strict": true,
|
|
1069
|
+
"enableJsonFlag": false,
|
|
1070
|
+
"isESM": true,
|
|
1071
|
+
"relativePath": [
|
|
1072
|
+
"dist",
|
|
1073
|
+
"commands",
|
|
1074
|
+
"workflow",
|
|
1075
|
+
"status.js"
|
|
1076
|
+
]
|
|
1077
|
+
},
|
|
1078
|
+
"workflow:stop": {
|
|
1079
|
+
"aliases": [],
|
|
1080
|
+
"args": {
|
|
1081
|
+
"workflowId": {
|
|
1082
|
+
"description": "The workflow ID to stop",
|
|
1083
|
+
"name": "workflowId",
|
|
1084
|
+
"required": true
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
"description": "Stop a workflow execution",
|
|
1088
|
+
"examples": [
|
|
1089
|
+
"<%= config.bin %> <%= command.id %> wf-12345"
|
|
1090
|
+
],
|
|
1091
|
+
"flags": {},
|
|
1092
|
+
"hasDynamicHelp": false,
|
|
1093
|
+
"hiddenAliases": [],
|
|
1094
|
+
"id": "workflow:stop",
|
|
1095
|
+
"pluginAlias": "@outputai/cli",
|
|
1096
|
+
"pluginName": "@outputai/cli",
|
|
1097
|
+
"pluginType": "core",
|
|
1098
|
+
"strict": true,
|
|
1099
|
+
"enableJsonFlag": false,
|
|
1100
|
+
"isESM": true,
|
|
1101
|
+
"relativePath": [
|
|
1102
|
+
"dist",
|
|
1103
|
+
"commands",
|
|
1104
|
+
"workflow",
|
|
1105
|
+
"stop.js"
|
|
1106
|
+
]
|
|
1107
|
+
},
|
|
1108
|
+
"workflow:terminate": {
|
|
1109
|
+
"aliases": [],
|
|
1110
|
+
"args": {
|
|
1111
|
+
"workflowId": {
|
|
1112
|
+
"description": "The workflow ID to terminate",
|
|
1113
|
+
"name": "workflowId",
|
|
1114
|
+
"required": true
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
"description": "Terminate a workflow execution (force stop)",
|
|
1118
|
+
"examples": [
|
|
1119
|
+
"<%= config.bin %> <%= command.id %> wf-12345",
|
|
1120
|
+
"<%= config.bin %> <%= command.id %> wf-12345 --reason \"Cleaning up old workflows\""
|
|
1121
|
+
],
|
|
1122
|
+
"flags": {
|
|
1123
|
+
"reason": {
|
|
1124
|
+
"char": "r",
|
|
1125
|
+
"description": "Reason for termination",
|
|
1126
|
+
"name": "reason",
|
|
1127
|
+
"hasDynamicHelp": false,
|
|
1128
|
+
"multiple": false,
|
|
1129
|
+
"type": "option"
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
"hasDynamicHelp": false,
|
|
1133
|
+
"hiddenAliases": [],
|
|
1134
|
+
"id": "workflow:terminate",
|
|
1135
|
+
"pluginAlias": "@outputai/cli",
|
|
1136
|
+
"pluginName": "@outputai/cli",
|
|
1137
|
+
"pluginType": "core",
|
|
1138
|
+
"strict": true,
|
|
1139
|
+
"enableJsonFlag": false,
|
|
1140
|
+
"isESM": true,
|
|
1141
|
+
"relativePath": [
|
|
1142
|
+
"dist",
|
|
1143
|
+
"commands",
|
|
1144
|
+
"workflow",
|
|
1145
|
+
"terminate.js"
|
|
1146
|
+
]
|
|
1147
|
+
},
|
|
1148
|
+
"workflow:test_eval": {
|
|
1149
|
+
"aliases": [
|
|
1150
|
+
"workflow:test"
|
|
1151
|
+
],
|
|
1152
|
+
"args": {
|
|
1153
|
+
"workflowName": {
|
|
1154
|
+
"description": "Name of the workflow to test",
|
|
1155
|
+
"name": "workflowName",
|
|
1156
|
+
"required": true
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
"description": "Run evaluations against a workflow using its datasets",
|
|
1160
|
+
"examples": [
|
|
1161
|
+
"<%= config.bin %> <%= command.id %> simple",
|
|
1162
|
+
"<%= config.bin %> <%= command.id %> simple --cached",
|
|
1163
|
+
"<%= config.bin %> <%= command.id %> simple --save",
|
|
1164
|
+
"<%= config.bin %> <%= command.id %> simple --dataset basic_input,edge_case",
|
|
1165
|
+
"<%= config.bin %> <%= command.id %> simple --format json"
|
|
1166
|
+
],
|
|
1167
|
+
"flags": {
|
|
1168
|
+
"cached": {
|
|
1169
|
+
"description": "Use cached output from dataset files (skip workflow execution)",
|
|
1170
|
+
"exclusive": [
|
|
1171
|
+
"save"
|
|
1172
|
+
],
|
|
1173
|
+
"name": "cached",
|
|
1174
|
+
"allowNo": false,
|
|
1175
|
+
"type": "boolean"
|
|
1176
|
+
},
|
|
1177
|
+
"save": {
|
|
1178
|
+
"description": "Run workflow and save output back to dataset files",
|
|
1179
|
+
"exclusive": [
|
|
1180
|
+
"cached"
|
|
1181
|
+
],
|
|
1182
|
+
"name": "save",
|
|
1183
|
+
"allowNo": false,
|
|
1184
|
+
"type": "boolean"
|
|
1185
|
+
},
|
|
1186
|
+
"dataset": {
|
|
1187
|
+
"char": "d",
|
|
1188
|
+
"description": "Comma-separated list of dataset names to run",
|
|
1189
|
+
"name": "dataset",
|
|
1190
|
+
"hasDynamicHelp": false,
|
|
1191
|
+
"multiple": false,
|
|
1192
|
+
"type": "option"
|
|
1193
|
+
},
|
|
1194
|
+
"format": {
|
|
1195
|
+
"char": "f",
|
|
1196
|
+
"description": "Output format",
|
|
1197
|
+
"name": "format",
|
|
1198
|
+
"default": "text",
|
|
1199
|
+
"hasDynamicHelp": false,
|
|
1200
|
+
"multiple": false,
|
|
1201
|
+
"options": [
|
|
1202
|
+
"json",
|
|
1203
|
+
"text"
|
|
1204
|
+
],
|
|
1205
|
+
"type": "option"
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
"hasDynamicHelp": false,
|
|
1209
|
+
"hiddenAliases": [],
|
|
1210
|
+
"id": "workflow:test_eval",
|
|
1211
|
+
"pluginAlias": "@outputai/cli",
|
|
1212
|
+
"pluginName": "@outputai/cli",
|
|
1213
|
+
"pluginType": "core",
|
|
1214
|
+
"strict": true,
|
|
1215
|
+
"enableJsonFlag": false,
|
|
1216
|
+
"isESM": true,
|
|
1217
|
+
"relativePath": [
|
|
1218
|
+
"dist",
|
|
1219
|
+
"commands",
|
|
1220
|
+
"workflow",
|
|
1221
|
+
"test_eval.js"
|
|
1222
|
+
]
|
|
1223
|
+
},
|
|
1224
|
+
"workflow:dataset:generate": {
|
|
1225
|
+
"aliases": [],
|
|
1226
|
+
"args": {
|
|
1227
|
+
"workflowName": {
|
|
1228
|
+
"description": "Name of the workflow",
|
|
1229
|
+
"name": "workflowName",
|
|
1230
|
+
"required": true
|
|
1231
|
+
},
|
|
1232
|
+
"scenario": {
|
|
1233
|
+
"description": "Scenario name (resolved from the workflow's scenarios/ directory)",
|
|
1234
|
+
"name": "scenario",
|
|
1235
|
+
"required": false
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"description": "Generate a dataset for a workflow from a scenario, trace file, or S3",
|
|
1239
|
+
"examples": [
|
|
1240
|
+
"<%= config.bin %> <%= command.id %> simple basic_input",
|
|
1241
|
+
"<%= config.bin %> <%= command.id %> simple --trace logs/runs/simple/trace.json --name edge_case",
|
|
1242
|
+
"<%= config.bin %> <%= command.id %> simple --download --limit 5"
|
|
1243
|
+
],
|
|
1244
|
+
"flags": {
|
|
1245
|
+
"trace": {
|
|
1246
|
+
"char": "t",
|
|
1247
|
+
"description": "Path to a local trace file to extract dataset from",
|
|
1248
|
+
"exclusive": [
|
|
1249
|
+
"download"
|
|
1250
|
+
],
|
|
1251
|
+
"name": "trace",
|
|
1252
|
+
"hasDynamicHelp": false,
|
|
1253
|
+
"multiple": false,
|
|
1254
|
+
"type": "option"
|
|
1255
|
+
},
|
|
1256
|
+
"name": {
|
|
1257
|
+
"char": "n",
|
|
1258
|
+
"description": "Dataset name (defaults to scenario name or trace filename)",
|
|
1259
|
+
"name": "name",
|
|
1260
|
+
"hasDynamicHelp": false,
|
|
1261
|
+
"multiple": false,
|
|
1262
|
+
"type": "option"
|
|
1263
|
+
},
|
|
1264
|
+
"download": {
|
|
1265
|
+
"char": "d",
|
|
1266
|
+
"description": "Download traces from S3 and create datasets",
|
|
1267
|
+
"exclusive": [
|
|
1268
|
+
"trace"
|
|
1269
|
+
],
|
|
1270
|
+
"name": "download",
|
|
1271
|
+
"allowNo": false,
|
|
1272
|
+
"type": "boolean"
|
|
1273
|
+
},
|
|
1274
|
+
"limit": {
|
|
1275
|
+
"char": "l",
|
|
1276
|
+
"description": "Maximum number of traces to download from S3",
|
|
1277
|
+
"name": "limit",
|
|
1278
|
+
"default": 5,
|
|
1279
|
+
"hasDynamicHelp": false,
|
|
1280
|
+
"multiple": false,
|
|
1281
|
+
"type": "option"
|
|
1282
|
+
},
|
|
1283
|
+
"input": {
|
|
1284
|
+
"char": "i",
|
|
1285
|
+
"description": "Workflow input as JSON string or file path (overrides scenario)",
|
|
1286
|
+
"name": "input",
|
|
1287
|
+
"hasDynamicHelp": false,
|
|
1288
|
+
"multiple": false,
|
|
1289
|
+
"type": "option"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
"hasDynamicHelp": false,
|
|
1293
|
+
"hiddenAliases": [],
|
|
1294
|
+
"id": "workflow:dataset:generate",
|
|
1295
|
+
"pluginAlias": "@outputai/cli",
|
|
1296
|
+
"pluginName": "@outputai/cli",
|
|
1297
|
+
"pluginType": "core",
|
|
1298
|
+
"strict": true,
|
|
1299
|
+
"enableJsonFlag": false,
|
|
1300
|
+
"isESM": true,
|
|
1301
|
+
"relativePath": [
|
|
1302
|
+
"dist",
|
|
1303
|
+
"commands",
|
|
1304
|
+
"workflow",
|
|
1305
|
+
"dataset",
|
|
1306
|
+
"generate.js"
|
|
1307
|
+
]
|
|
1308
|
+
},
|
|
1309
|
+
"workflow:dataset:list": {
|
|
1310
|
+
"aliases": [],
|
|
1311
|
+
"args": {
|
|
1312
|
+
"workflowName": {
|
|
1313
|
+
"description": "Workflow name to list datasets for",
|
|
1314
|
+
"name": "workflowName",
|
|
1315
|
+
"required": true
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
"description": "List datasets for a workflow",
|
|
1319
|
+
"examples": [
|
|
1320
|
+
"<%= config.bin %> <%= command.id %> simple",
|
|
1321
|
+
"<%= config.bin %> <%= command.id %> simple --format json",
|
|
1322
|
+
"<%= config.bin %> <%= command.id %> simple --format table"
|
|
1323
|
+
],
|
|
1324
|
+
"flags": {
|
|
1325
|
+
"format": {
|
|
1326
|
+
"char": "f",
|
|
1327
|
+
"description": "Output format",
|
|
1328
|
+
"name": "format",
|
|
1329
|
+
"default": "table",
|
|
1330
|
+
"hasDynamicHelp": false,
|
|
1331
|
+
"multiple": false,
|
|
1332
|
+
"options": [
|
|
1333
|
+
"table",
|
|
1334
|
+
"json",
|
|
1335
|
+
"text"
|
|
1336
|
+
],
|
|
1337
|
+
"type": "option"
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
"hasDynamicHelp": false,
|
|
1341
|
+
"hiddenAliases": [],
|
|
1342
|
+
"id": "workflow:dataset:list",
|
|
1343
|
+
"pluginAlias": "@outputai/cli",
|
|
1344
|
+
"pluginName": "@outputai/cli",
|
|
1345
|
+
"pluginType": "core",
|
|
1346
|
+
"strict": true,
|
|
1347
|
+
"enableJsonFlag": false,
|
|
1348
|
+
"isESM": true,
|
|
1349
|
+
"relativePath": [
|
|
1350
|
+
"dist",
|
|
1351
|
+
"commands",
|
|
1352
|
+
"workflow",
|
|
1353
|
+
"dataset",
|
|
1354
|
+
"list.js"
|
|
1355
|
+
]
|
|
1356
|
+
},
|
|
1357
|
+
"workflow:runs:list": {
|
|
1358
|
+
"aliases": [],
|
|
1359
|
+
"args": {
|
|
1360
|
+
"workflowName": {
|
|
1361
|
+
"description": "Filter by workflow type/name",
|
|
1362
|
+
"name": "workflowName",
|
|
1363
|
+
"required": false
|
|
1364
|
+
}
|
|
1365
|
+
},
|
|
1366
|
+
"description": "List workflow runs with optional filtering by workflow type",
|
|
1367
|
+
"examples": [
|
|
1368
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1369
|
+
"<%= config.bin %> <%= command.id %> simple",
|
|
1370
|
+
"<%= config.bin %> <%= command.id %> simple --limit 10",
|
|
1371
|
+
"<%= config.bin %> <%= command.id %> --catalog my-catalog",
|
|
1372
|
+
"<%= config.bin %> <%= command.id %> --format json",
|
|
1373
|
+
"<%= config.bin %> <%= command.id %> --format table"
|
|
1374
|
+
],
|
|
1375
|
+
"flags": {
|
|
1376
|
+
"catalog": {
|
|
1377
|
+
"char": "c",
|
|
1378
|
+
"description": "Filter runs by catalog (defaults to OUTPUT_CATALOG_ID)",
|
|
1379
|
+
"env": "OUTPUT_CATALOG_ID",
|
|
1380
|
+
"name": "catalog",
|
|
1381
|
+
"hasDynamicHelp": false,
|
|
1382
|
+
"multiple": false,
|
|
1383
|
+
"type": "option"
|
|
1384
|
+
},
|
|
1385
|
+
"limit": {
|
|
1386
|
+
"char": "l",
|
|
1387
|
+
"description": "Maximum number of runs to return",
|
|
1388
|
+
"name": "limit",
|
|
1389
|
+
"default": 100,
|
|
1390
|
+
"hasDynamicHelp": false,
|
|
1391
|
+
"multiple": false,
|
|
1392
|
+
"type": "option"
|
|
1393
|
+
},
|
|
1394
|
+
"format": {
|
|
1395
|
+
"char": "f",
|
|
1396
|
+
"description": "Output format",
|
|
1397
|
+
"name": "format",
|
|
1398
|
+
"default": "table",
|
|
1399
|
+
"hasDynamicHelp": false,
|
|
1400
|
+
"multiple": false,
|
|
1401
|
+
"options": [
|
|
1402
|
+
"table",
|
|
1403
|
+
"json",
|
|
1404
|
+
"text"
|
|
1405
|
+
],
|
|
1406
|
+
"type": "option"
|
|
1407
|
+
}
|
|
1408
|
+
},
|
|
1409
|
+
"hasDynamicHelp": false,
|
|
1410
|
+
"hiddenAliases": [],
|
|
1411
|
+
"id": "workflow:runs:list",
|
|
1412
|
+
"pluginAlias": "@outputai/cli",
|
|
1413
|
+
"pluginName": "@outputai/cli",
|
|
1414
|
+
"pluginType": "core",
|
|
1415
|
+
"strict": true,
|
|
1416
|
+
"enableJsonFlag": false,
|
|
1417
|
+
"isESM": true,
|
|
1418
|
+
"relativePath": [
|
|
1419
|
+
"dist",
|
|
1420
|
+
"commands",
|
|
1421
|
+
"workflow",
|
|
1422
|
+
"runs",
|
|
1423
|
+
"list.js"
|
|
1424
|
+
]
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
"version": "0.7.1-next.bd6bd49.0"
|
|
1428
|
+
}
|