@outputai/cli 0.14.1-next.51e8690.0 → 0.14.1-next.5381b5e.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.
|
@@ -289,9 +289,9 @@ export interface WorkflowResultV1Response {
|
|
|
289
289
|
runId: string | null;
|
|
290
290
|
status: WorkflowResultStatus;
|
|
291
291
|
/** The original input passed to the workflow, null if unavailable */
|
|
292
|
-
input: unknown
|
|
292
|
+
input: unknown;
|
|
293
293
|
/** The result of workflow, null if workflow failed */
|
|
294
|
-
output: unknown
|
|
294
|
+
output: unknown;
|
|
295
295
|
trace: TraceInfoV1 | null;
|
|
296
296
|
/**
|
|
297
297
|
* Error message if workflow failed, null otherwise
|
|
@@ -326,9 +326,9 @@ export interface WorkflowResultV2Response {
|
|
|
326
326
|
runId: string | null;
|
|
327
327
|
status: WorkflowResultStatus;
|
|
328
328
|
/** The original input passed to the workflow, null if unavailable */
|
|
329
|
-
input: unknown
|
|
329
|
+
input: unknown;
|
|
330
330
|
/** Direct workflow output, null if no output is available */
|
|
331
|
-
output: unknown
|
|
331
|
+
output: unknown;
|
|
332
332
|
trace: TraceInfoV2 | null;
|
|
333
333
|
error: SerializedWorkflowError | null;
|
|
334
334
|
}
|
|
@@ -78,10 +78,25 @@ export const getPostWorkflowRunUrl = () => {
|
|
|
78
78
|
* @summary Execute a workflow synchronously
|
|
79
79
|
*/
|
|
80
80
|
export const postWorkflowRun = async (postWorkflowRunBody, options) => {
|
|
81
|
+
const getHeaders = (h) => {
|
|
82
|
+
if (!h)
|
|
83
|
+
return {};
|
|
84
|
+
if (h instanceof Headers)
|
|
85
|
+
return Object.fromEntries(h.entries());
|
|
86
|
+
if (Symbol.iterator in h) {
|
|
87
|
+
return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
88
|
+
}
|
|
89
|
+
const headers = {};
|
|
90
|
+
for (const [name, value] of Object.entries(h)) {
|
|
91
|
+
if (value !== undefined)
|
|
92
|
+
headers[name] = value;
|
|
93
|
+
}
|
|
94
|
+
return headers;
|
|
95
|
+
};
|
|
81
96
|
return customFetchInstance(getPostWorkflowRunUrl(), {
|
|
82
97
|
...options,
|
|
83
98
|
method: 'POST',
|
|
84
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
99
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
85
100
|
body: JSON.stringify(postWorkflowRunBody)
|
|
86
101
|
});
|
|
87
102
|
};
|
|
@@ -92,10 +107,25 @@ export const getPostWorkflowStartUrl = () => {
|
|
|
92
107
|
* @summary Start a workflow asynchronously
|
|
93
108
|
*/
|
|
94
109
|
export const postWorkflowStart = async (postWorkflowStartBody, options) => {
|
|
110
|
+
const getHeaders = (h) => {
|
|
111
|
+
if (!h)
|
|
112
|
+
return {};
|
|
113
|
+
if (h instanceof Headers)
|
|
114
|
+
return Object.fromEntries(h.entries());
|
|
115
|
+
if (Symbol.iterator in h) {
|
|
116
|
+
return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
117
|
+
}
|
|
118
|
+
const headers = {};
|
|
119
|
+
for (const [name, value] of Object.entries(h)) {
|
|
120
|
+
if (value !== undefined)
|
|
121
|
+
headers[name] = value;
|
|
122
|
+
}
|
|
123
|
+
return headers;
|
|
124
|
+
};
|
|
95
125
|
return customFetchInstance(getPostWorkflowStartUrl(), {
|
|
96
126
|
...options,
|
|
97
127
|
method: 'POST',
|
|
98
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
128
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
99
129
|
body: JSON.stringify(postWorkflowStartBody)
|
|
100
130
|
});
|
|
101
131
|
};
|
|
@@ -158,10 +188,25 @@ export const getPostWorkflowIdRunsRidTerminateUrl = (id, rid) => {
|
|
|
158
188
|
* @summary Terminate a specific workflow run (force stop)
|
|
159
189
|
*/
|
|
160
190
|
export const postWorkflowIdRunsRidTerminate = async (id, rid, postWorkflowIdRunsRidTerminateBody, options) => {
|
|
191
|
+
const getHeaders = (h) => {
|
|
192
|
+
if (!h)
|
|
193
|
+
return {};
|
|
194
|
+
if (h instanceof Headers)
|
|
195
|
+
return Object.fromEntries(h.entries());
|
|
196
|
+
if (Symbol.iterator in h) {
|
|
197
|
+
return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
198
|
+
}
|
|
199
|
+
const headers = {};
|
|
200
|
+
for (const [name, value] of Object.entries(h)) {
|
|
201
|
+
if (value !== undefined)
|
|
202
|
+
headers[name] = value;
|
|
203
|
+
}
|
|
204
|
+
return headers;
|
|
205
|
+
};
|
|
161
206
|
return customFetchInstance(getPostWorkflowIdRunsRidTerminateUrl(id, rid), {
|
|
162
207
|
...options,
|
|
163
208
|
method: 'POST',
|
|
164
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
209
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
165
210
|
body: JSON.stringify(postWorkflowIdRunsRidTerminateBody)
|
|
166
211
|
});
|
|
167
212
|
};
|
|
@@ -174,10 +219,25 @@ export const getPostWorkflowIdTerminateUrl = (id) => {
|
|
|
174
219
|
* @summary [Deprecated] Terminate the latest workflow run
|
|
175
220
|
*/
|
|
176
221
|
export const postWorkflowIdTerminate = async (id, postWorkflowIdTerminateBody, options) => {
|
|
222
|
+
const getHeaders = (h) => {
|
|
223
|
+
if (!h)
|
|
224
|
+
return {};
|
|
225
|
+
if (h instanceof Headers)
|
|
226
|
+
return Object.fromEntries(h.entries());
|
|
227
|
+
if (Symbol.iterator in h) {
|
|
228
|
+
return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
229
|
+
}
|
|
230
|
+
const headers = {};
|
|
231
|
+
for (const [name, value] of Object.entries(h)) {
|
|
232
|
+
if (value !== undefined)
|
|
233
|
+
headers[name] = value;
|
|
234
|
+
}
|
|
235
|
+
return headers;
|
|
236
|
+
};
|
|
177
237
|
return customFetchInstance(getPostWorkflowIdTerminateUrl(id), {
|
|
178
238
|
...options,
|
|
179
239
|
method: 'POST',
|
|
180
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
240
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
181
241
|
body: JSON.stringify(postWorkflowIdTerminateBody)
|
|
182
242
|
});
|
|
183
243
|
};
|
|
@@ -189,10 +249,25 @@ export const getPostWorkflowIdRunsRidResetUrl = (id, rid) => {
|
|
|
189
249
|
* @summary Reset a specific workflow run to re-run from after a completed step
|
|
190
250
|
*/
|
|
191
251
|
export const postWorkflowIdRunsRidReset = async (id, rid, resetWorkflowRequest, options) => {
|
|
252
|
+
const getHeaders = (h) => {
|
|
253
|
+
if (!h)
|
|
254
|
+
return {};
|
|
255
|
+
if (h instanceof Headers)
|
|
256
|
+
return Object.fromEntries(h.entries());
|
|
257
|
+
if (Symbol.iterator in h) {
|
|
258
|
+
return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
259
|
+
}
|
|
260
|
+
const headers = {};
|
|
261
|
+
for (const [name, value] of Object.entries(h)) {
|
|
262
|
+
if (value !== undefined)
|
|
263
|
+
headers[name] = value;
|
|
264
|
+
}
|
|
265
|
+
return headers;
|
|
266
|
+
};
|
|
192
267
|
return customFetchInstance(getPostWorkflowIdRunsRidResetUrl(id, rid), {
|
|
193
268
|
...options,
|
|
194
269
|
method: 'POST',
|
|
195
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
270
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
196
271
|
body: JSON.stringify(resetWorkflowRequest)
|
|
197
272
|
});
|
|
198
273
|
};
|
|
@@ -205,10 +280,25 @@ export const getPostWorkflowIdResetUrl = (id) => {
|
|
|
205
280
|
* @summary [Deprecated] Reset the latest workflow run
|
|
206
281
|
*/
|
|
207
282
|
export const postWorkflowIdReset = async (id, resetWorkflowRequest, options) => {
|
|
283
|
+
const getHeaders = (h) => {
|
|
284
|
+
if (!h)
|
|
285
|
+
return {};
|
|
286
|
+
if (h instanceof Headers)
|
|
287
|
+
return Object.fromEntries(h.entries());
|
|
288
|
+
if (Symbol.iterator in h) {
|
|
289
|
+
return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
290
|
+
}
|
|
291
|
+
const headers = {};
|
|
292
|
+
for (const [name, value] of Object.entries(h)) {
|
|
293
|
+
if (value !== undefined)
|
|
294
|
+
headers[name] = value;
|
|
295
|
+
}
|
|
296
|
+
return headers;
|
|
297
|
+
};
|
|
208
298
|
return customFetchInstance(getPostWorkflowIdResetUrl(id), {
|
|
209
299
|
...options,
|
|
210
300
|
method: 'POST',
|
|
211
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
301
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
212
302
|
body: JSON.stringify(resetWorkflowRequest)
|
|
213
303
|
});
|
|
214
304
|
};
|
|
@@ -419,10 +509,25 @@ export const getPostWorkflowIdFeedbackUrl = (id) => {
|
|
|
419
509
|
* @summary Send feedback to a workflow
|
|
420
510
|
*/
|
|
421
511
|
export const postWorkflowIdFeedback = async (id, postWorkflowIdFeedbackBody, options) => {
|
|
512
|
+
const getHeaders = (h) => {
|
|
513
|
+
if (!h)
|
|
514
|
+
return {};
|
|
515
|
+
if (h instanceof Headers)
|
|
516
|
+
return Object.fromEntries(h.entries());
|
|
517
|
+
if (Symbol.iterator in h) {
|
|
518
|
+
return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
519
|
+
}
|
|
520
|
+
const headers = {};
|
|
521
|
+
for (const [name, value] of Object.entries(h)) {
|
|
522
|
+
if (value !== undefined)
|
|
523
|
+
headers[name] = value;
|
|
524
|
+
}
|
|
525
|
+
return headers;
|
|
526
|
+
};
|
|
422
527
|
return customFetchInstance(getPostWorkflowIdFeedbackUrl(id), {
|
|
423
528
|
...options,
|
|
424
529
|
method: 'POST',
|
|
425
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
530
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
426
531
|
body: JSON.stringify(postWorkflowIdFeedbackBody)
|
|
427
532
|
});
|
|
428
533
|
};
|
|
@@ -434,10 +539,25 @@ export const getPostWorkflowIdSignalSignalUrl = (id, signal) => {
|
|
|
434
539
|
* @summary Send a signal to an workflow
|
|
435
540
|
*/
|
|
436
541
|
export const postWorkflowIdSignalSignal = async (id, signal, postWorkflowIdSignalSignalBody, options) => {
|
|
542
|
+
const getHeaders = (h) => {
|
|
543
|
+
if (!h)
|
|
544
|
+
return {};
|
|
545
|
+
if (h instanceof Headers)
|
|
546
|
+
return Object.fromEntries(h.entries());
|
|
547
|
+
if (Symbol.iterator in h) {
|
|
548
|
+
return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
549
|
+
}
|
|
550
|
+
const headers = {};
|
|
551
|
+
for (const [name, value] of Object.entries(h)) {
|
|
552
|
+
if (value !== undefined)
|
|
553
|
+
headers[name] = value;
|
|
554
|
+
}
|
|
555
|
+
return headers;
|
|
556
|
+
};
|
|
437
557
|
return customFetchInstance(getPostWorkflowIdSignalSignalUrl(id, signal), {
|
|
438
558
|
...options,
|
|
439
559
|
method: 'POST',
|
|
440
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
560
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
441
561
|
body: JSON.stringify(postWorkflowIdSignalSignalBody)
|
|
442
562
|
});
|
|
443
563
|
};
|
|
@@ -449,10 +569,25 @@ export const getPostWorkflowIdQueryQueryUrl = (id, query) => {
|
|
|
449
569
|
* @summary Send a query to an workflow
|
|
450
570
|
*/
|
|
451
571
|
export const postWorkflowIdQueryQuery = async (id, query, postWorkflowIdQueryQueryBody, options) => {
|
|
572
|
+
const getHeaders = (h) => {
|
|
573
|
+
if (!h)
|
|
574
|
+
return {};
|
|
575
|
+
if (h instanceof Headers)
|
|
576
|
+
return Object.fromEntries(h.entries());
|
|
577
|
+
if (Symbol.iterator in h) {
|
|
578
|
+
return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
579
|
+
}
|
|
580
|
+
const headers = {};
|
|
581
|
+
for (const [name, value] of Object.entries(h)) {
|
|
582
|
+
if (value !== undefined)
|
|
583
|
+
headers[name] = value;
|
|
584
|
+
}
|
|
585
|
+
return headers;
|
|
586
|
+
};
|
|
452
587
|
return customFetchInstance(getPostWorkflowIdQueryQueryUrl(id, query), {
|
|
453
588
|
...options,
|
|
454
589
|
method: 'POST',
|
|
455
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
590
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
456
591
|
body: JSON.stringify(postWorkflowIdQueryQueryBody)
|
|
457
592
|
});
|
|
458
593
|
};
|
|
@@ -464,10 +599,25 @@ export const getPostWorkflowIdUpdateUpdateUrl = (id, update) => {
|
|
|
464
599
|
* @summary Execute an update on an workflow
|
|
465
600
|
*/
|
|
466
601
|
export const postWorkflowIdUpdateUpdate = async (id, update, postWorkflowIdUpdateUpdateBody, options) => {
|
|
602
|
+
const getHeaders = (h) => {
|
|
603
|
+
if (!h)
|
|
604
|
+
return {};
|
|
605
|
+
if (h instanceof Headers)
|
|
606
|
+
return Object.fromEntries(h.entries());
|
|
607
|
+
if (Symbol.iterator in h) {
|
|
608
|
+
return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
609
|
+
}
|
|
610
|
+
const headers = {};
|
|
611
|
+
for (const [name, value] of Object.entries(h)) {
|
|
612
|
+
if (value !== undefined)
|
|
613
|
+
headers[name] = value;
|
|
614
|
+
}
|
|
615
|
+
return headers;
|
|
616
|
+
};
|
|
467
617
|
return customFetchInstance(getPostWorkflowIdUpdateUpdateUrl(id, update), {
|
|
468
618
|
...options,
|
|
469
619
|
method: 'POST',
|
|
470
|
-
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
620
|
+
headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },
|
|
471
621
|
body: JSON.stringify(postWorkflowIdUpdateUpdateBody)
|
|
472
622
|
});
|
|
473
623
|
};
|
package/oclif.manifest.json
CHANGED
|
@@ -156,142 +156,6 @@
|
|
|
156
156
|
"update.js"
|
|
157
157
|
]
|
|
158
158
|
},
|
|
159
|
-
"dev:down": {
|
|
160
|
-
"aliases": [],
|
|
161
|
-
"args": {},
|
|
162
|
-
"description": "Stop Output development services started by `output dev`\n\nUseful after `output dev -d`, or when an attached `output dev` session\nleft the services running on quit.",
|
|
163
|
-
"examples": [
|
|
164
|
-
"<%= config.bin %> <%= command.id %>",
|
|
165
|
-
"<%= config.bin %> <%= command.id %> --compose-file ./custom-docker-compose.yml"
|
|
166
|
-
],
|
|
167
|
-
"flags": {
|
|
168
|
-
"compose-file": {
|
|
169
|
-
"char": "f",
|
|
170
|
-
"description": "Path to a custom docker-compose file",
|
|
171
|
-
"name": "compose-file",
|
|
172
|
-
"required": false,
|
|
173
|
-
"hasDynamicHelp": false,
|
|
174
|
-
"multiple": false,
|
|
175
|
-
"type": "option"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"hasDynamicHelp": false,
|
|
179
|
-
"hiddenAliases": [],
|
|
180
|
-
"id": "dev:down",
|
|
181
|
-
"pluginAlias": "@outputai/cli",
|
|
182
|
-
"pluginName": "@outputai/cli",
|
|
183
|
-
"pluginType": "core",
|
|
184
|
-
"strict": true,
|
|
185
|
-
"enableJsonFlag": false,
|
|
186
|
-
"isESM": true,
|
|
187
|
-
"relativePath": [
|
|
188
|
-
"dist",
|
|
189
|
-
"commands",
|
|
190
|
-
"dev",
|
|
191
|
-
"down.js"
|
|
192
|
-
]
|
|
193
|
-
},
|
|
194
|
-
"dev:eject": {
|
|
195
|
-
"aliases": [],
|
|
196
|
-
"args": {},
|
|
197
|
-
"description": "Eject the Docker Compose configuration to your project root for customization",
|
|
198
|
-
"examples": [
|
|
199
|
-
"<%= config.bin %> <%= command.id %>",
|
|
200
|
-
"<%= config.bin %> <%= command.id %> --output ./custom-compose.yml"
|
|
201
|
-
],
|
|
202
|
-
"flags": {
|
|
203
|
-
"output": {
|
|
204
|
-
"char": "o",
|
|
205
|
-
"description": "Output path for the docker-compose file",
|
|
206
|
-
"name": "output",
|
|
207
|
-
"required": false,
|
|
208
|
-
"default": "docker-compose.yml",
|
|
209
|
-
"hasDynamicHelp": false,
|
|
210
|
-
"multiple": false,
|
|
211
|
-
"type": "option"
|
|
212
|
-
},
|
|
213
|
-
"force": {
|
|
214
|
-
"char": "f",
|
|
215
|
-
"description": "Overwrite existing file without prompting",
|
|
216
|
-
"name": "force",
|
|
217
|
-
"required": false,
|
|
218
|
-
"allowNo": false,
|
|
219
|
-
"type": "boolean"
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
"hasDynamicHelp": false,
|
|
223
|
-
"hiddenAliases": [],
|
|
224
|
-
"id": "dev:eject",
|
|
225
|
-
"pluginAlias": "@outputai/cli",
|
|
226
|
-
"pluginName": "@outputai/cli",
|
|
227
|
-
"pluginType": "core",
|
|
228
|
-
"strict": true,
|
|
229
|
-
"enableJsonFlag": false,
|
|
230
|
-
"isESM": true,
|
|
231
|
-
"relativePath": [
|
|
232
|
-
"dist",
|
|
233
|
-
"commands",
|
|
234
|
-
"dev",
|
|
235
|
-
"eject.js"
|
|
236
|
-
]
|
|
237
|
-
},
|
|
238
|
-
"dev": {
|
|
239
|
-
"aliases": [],
|
|
240
|
-
"args": {},
|
|
241
|
-
"description": "Start Output development services (auto-restarts worker on file changes)\n\nIf services are already running (e.g. after `output dev -d`), this attaches\nto monitor them rather than treating our own containers as a port collision.\nQuitting an attached session leaves the services running — stop them with\n`output dev down`.\n\nTo run a second dev stack concurrently, give it its own compose project and\nhost ports in .env — without DOCKER_SERVICE_NAME both checkouts share one\nstack, and the second will attach to the first instead of starting:\n\n DOCKER_SERVICE_NAME=output-sdk-two\n OUTPUT_API_HOST_PORT=3002\n OUTPUT_TEMPORAL_UI_HOST_PORT=8081\n OUTPUT_TEMPORAL_HOST_PORT=7234",
|
|
242
|
-
"examples": [
|
|
243
|
-
"<%= config.bin %> <%= command.id %>",
|
|
244
|
-
"<%= config.bin %> <%= command.id %> --detached",
|
|
245
|
-
"<%= config.bin %> <%= command.id %> --compose-file ./custom-docker-compose.yml",
|
|
246
|
-
"<%= config.bin %> <%= command.id %> --image-pull-policy missing"
|
|
247
|
-
],
|
|
248
|
-
"flags": {
|
|
249
|
-
"compose-file": {
|
|
250
|
-
"char": "f",
|
|
251
|
-
"description": "Path to a custom docker-compose file",
|
|
252
|
-
"name": "compose-file",
|
|
253
|
-
"required": false,
|
|
254
|
-
"hasDynamicHelp": false,
|
|
255
|
-
"multiple": false,
|
|
256
|
-
"type": "option"
|
|
257
|
-
},
|
|
258
|
-
"image-pull-policy": {
|
|
259
|
-
"description": "Image pull policy for docker compose (always, missing, never)",
|
|
260
|
-
"name": "image-pull-policy",
|
|
261
|
-
"default": "always",
|
|
262
|
-
"hasDynamicHelp": false,
|
|
263
|
-
"multiple": false,
|
|
264
|
-
"options": [
|
|
265
|
-
"always",
|
|
266
|
-
"missing",
|
|
267
|
-
"never"
|
|
268
|
-
],
|
|
269
|
-
"type": "option"
|
|
270
|
-
},
|
|
271
|
-
"detached": {
|
|
272
|
-
"char": "d",
|
|
273
|
-
"description": "Start services in detached (background) mode and exit immediately",
|
|
274
|
-
"name": "detached",
|
|
275
|
-
"allowNo": false,
|
|
276
|
-
"type": "boolean"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"hasDynamicHelp": false,
|
|
280
|
-
"hiddenAliases": [],
|
|
281
|
-
"id": "dev",
|
|
282
|
-
"pluginAlias": "@outputai/cli",
|
|
283
|
-
"pluginName": "@outputai/cli",
|
|
284
|
-
"pluginType": "core",
|
|
285
|
-
"strict": true,
|
|
286
|
-
"enableJsonFlag": false,
|
|
287
|
-
"isESM": true,
|
|
288
|
-
"relativePath": [
|
|
289
|
-
"dist",
|
|
290
|
-
"commands",
|
|
291
|
-
"dev",
|
|
292
|
-
"index.js"
|
|
293
|
-
]
|
|
294
|
-
},
|
|
295
159
|
"credentials:edit": {
|
|
296
160
|
"aliases": [],
|
|
297
161
|
"args": {},
|
|
@@ -552,6 +416,142 @@
|
|
|
552
416
|
"show.js"
|
|
553
417
|
]
|
|
554
418
|
},
|
|
419
|
+
"dev:down": {
|
|
420
|
+
"aliases": [],
|
|
421
|
+
"args": {},
|
|
422
|
+
"description": "Stop Output development services started by `output dev`\n\nUseful after `output dev -d`, or when an attached `output dev` session\nleft the services running on quit.",
|
|
423
|
+
"examples": [
|
|
424
|
+
"<%= config.bin %> <%= command.id %>",
|
|
425
|
+
"<%= config.bin %> <%= command.id %> --compose-file ./custom-docker-compose.yml"
|
|
426
|
+
],
|
|
427
|
+
"flags": {
|
|
428
|
+
"compose-file": {
|
|
429
|
+
"char": "f",
|
|
430
|
+
"description": "Path to a custom docker-compose file",
|
|
431
|
+
"name": "compose-file",
|
|
432
|
+
"required": false,
|
|
433
|
+
"hasDynamicHelp": false,
|
|
434
|
+
"multiple": false,
|
|
435
|
+
"type": "option"
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
"hasDynamicHelp": false,
|
|
439
|
+
"hiddenAliases": [],
|
|
440
|
+
"id": "dev:down",
|
|
441
|
+
"pluginAlias": "@outputai/cli",
|
|
442
|
+
"pluginName": "@outputai/cli",
|
|
443
|
+
"pluginType": "core",
|
|
444
|
+
"strict": true,
|
|
445
|
+
"enableJsonFlag": false,
|
|
446
|
+
"isESM": true,
|
|
447
|
+
"relativePath": [
|
|
448
|
+
"dist",
|
|
449
|
+
"commands",
|
|
450
|
+
"dev",
|
|
451
|
+
"down.js"
|
|
452
|
+
]
|
|
453
|
+
},
|
|
454
|
+
"dev:eject": {
|
|
455
|
+
"aliases": [],
|
|
456
|
+
"args": {},
|
|
457
|
+
"description": "Eject the Docker Compose configuration to your project root for customization",
|
|
458
|
+
"examples": [
|
|
459
|
+
"<%= config.bin %> <%= command.id %>",
|
|
460
|
+
"<%= config.bin %> <%= command.id %> --output ./custom-compose.yml"
|
|
461
|
+
],
|
|
462
|
+
"flags": {
|
|
463
|
+
"output": {
|
|
464
|
+
"char": "o",
|
|
465
|
+
"description": "Output path for the docker-compose file",
|
|
466
|
+
"name": "output",
|
|
467
|
+
"required": false,
|
|
468
|
+
"default": "docker-compose.yml",
|
|
469
|
+
"hasDynamicHelp": false,
|
|
470
|
+
"multiple": false,
|
|
471
|
+
"type": "option"
|
|
472
|
+
},
|
|
473
|
+
"force": {
|
|
474
|
+
"char": "f",
|
|
475
|
+
"description": "Overwrite existing file without prompting",
|
|
476
|
+
"name": "force",
|
|
477
|
+
"required": false,
|
|
478
|
+
"allowNo": false,
|
|
479
|
+
"type": "boolean"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"hasDynamicHelp": false,
|
|
483
|
+
"hiddenAliases": [],
|
|
484
|
+
"id": "dev:eject",
|
|
485
|
+
"pluginAlias": "@outputai/cli",
|
|
486
|
+
"pluginName": "@outputai/cli",
|
|
487
|
+
"pluginType": "core",
|
|
488
|
+
"strict": true,
|
|
489
|
+
"enableJsonFlag": false,
|
|
490
|
+
"isESM": true,
|
|
491
|
+
"relativePath": [
|
|
492
|
+
"dist",
|
|
493
|
+
"commands",
|
|
494
|
+
"dev",
|
|
495
|
+
"eject.js"
|
|
496
|
+
]
|
|
497
|
+
},
|
|
498
|
+
"dev": {
|
|
499
|
+
"aliases": [],
|
|
500
|
+
"args": {},
|
|
501
|
+
"description": "Start Output development services (auto-restarts worker on file changes)\n\nIf services are already running (e.g. after `output dev -d`), this attaches\nto monitor them rather than treating our own containers as a port collision.\nQuitting an attached session leaves the services running — stop them with\n`output dev down`.\n\nTo run a second dev stack concurrently, give it its own compose project and\nhost ports in .env — without DOCKER_SERVICE_NAME both checkouts share one\nstack, and the second will attach to the first instead of starting:\n\n DOCKER_SERVICE_NAME=output-sdk-two\n OUTPUT_API_HOST_PORT=3002\n OUTPUT_TEMPORAL_UI_HOST_PORT=8081\n OUTPUT_TEMPORAL_HOST_PORT=7234",
|
|
502
|
+
"examples": [
|
|
503
|
+
"<%= config.bin %> <%= command.id %>",
|
|
504
|
+
"<%= config.bin %> <%= command.id %> --detached",
|
|
505
|
+
"<%= config.bin %> <%= command.id %> --compose-file ./custom-docker-compose.yml",
|
|
506
|
+
"<%= config.bin %> <%= command.id %> --image-pull-policy missing"
|
|
507
|
+
],
|
|
508
|
+
"flags": {
|
|
509
|
+
"compose-file": {
|
|
510
|
+
"char": "f",
|
|
511
|
+
"description": "Path to a custom docker-compose file",
|
|
512
|
+
"name": "compose-file",
|
|
513
|
+
"required": false,
|
|
514
|
+
"hasDynamicHelp": false,
|
|
515
|
+
"multiple": false,
|
|
516
|
+
"type": "option"
|
|
517
|
+
},
|
|
518
|
+
"image-pull-policy": {
|
|
519
|
+
"description": "Image pull policy for docker compose (always, missing, never)",
|
|
520
|
+
"name": "image-pull-policy",
|
|
521
|
+
"default": "always",
|
|
522
|
+
"hasDynamicHelp": false,
|
|
523
|
+
"multiple": false,
|
|
524
|
+
"options": [
|
|
525
|
+
"always",
|
|
526
|
+
"missing",
|
|
527
|
+
"never"
|
|
528
|
+
],
|
|
529
|
+
"type": "option"
|
|
530
|
+
},
|
|
531
|
+
"detached": {
|
|
532
|
+
"char": "d",
|
|
533
|
+
"description": "Start services in detached (background) mode and exit immediately",
|
|
534
|
+
"name": "detached",
|
|
535
|
+
"allowNo": false,
|
|
536
|
+
"type": "boolean"
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"hasDynamicHelp": false,
|
|
540
|
+
"hiddenAliases": [],
|
|
541
|
+
"id": "dev",
|
|
542
|
+
"pluginAlias": "@outputai/cli",
|
|
543
|
+
"pluginName": "@outputai/cli",
|
|
544
|
+
"pluginType": "core",
|
|
545
|
+
"strict": true,
|
|
546
|
+
"enableJsonFlag": false,
|
|
547
|
+
"isESM": true,
|
|
548
|
+
"relativePath": [
|
|
549
|
+
"dist",
|
|
550
|
+
"commands",
|
|
551
|
+
"dev",
|
|
552
|
+
"index.js"
|
|
553
|
+
]
|
|
554
|
+
},
|
|
555
555
|
"workflow:cost": {
|
|
556
556
|
"aliases": [],
|
|
557
557
|
"args": {
|
|
@@ -1752,5 +1752,5 @@
|
|
|
1752
1752
|
]
|
|
1753
1753
|
}
|
|
1754
1754
|
},
|
|
1755
|
-
"version": "0.14.1-next.
|
|
1755
|
+
"version": "0.14.1-next.5381b5e.0"
|
|
1756
1756
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outputai/cli",
|
|
3
|
-
"version": "0.14.1-next.
|
|
3
|
+
"version": "0.14.1-next.5381b5e.0",
|
|
4
4
|
"description": "CLI for Output.ai workflow generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,37 +17,37 @@
|
|
|
17
17
|
"output": "./bin/run.js"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@anthropic-ai/claude-agent-sdk": "0.
|
|
20
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.278",
|
|
21
21
|
"@hackylabs/deep-redact": "3.0.5",
|
|
22
|
-
"@inquirer/prompts": "8.
|
|
22
|
+
"@inquirer/prompts": "8.7.2",
|
|
23
23
|
"@oclif/core": "4.10.6",
|
|
24
24
|
"@oclif/plugin-help": "6.2.45",
|
|
25
25
|
"change-case": "5.4.4",
|
|
26
26
|
"cli-progress": "3.12.0",
|
|
27
27
|
"cli-table3": "0.6.5",
|
|
28
|
-
"date-fns": "4.
|
|
28
|
+
"date-fns": "4.4.0",
|
|
29
29
|
"debug": "4.4.3",
|
|
30
30
|
"handlebars": "4.7.9",
|
|
31
31
|
"ink": "7.0.1",
|
|
32
32
|
"ink-spinner": "5.0.0",
|
|
33
33
|
"js-yaml": "4.3.2",
|
|
34
|
-
"json-schema-library": "11.
|
|
34
|
+
"json-schema-library": "11.6.2",
|
|
35
35
|
"ky": "2.0.2",
|
|
36
|
-
"react": "19.
|
|
37
|
-
"semver": "7.
|
|
38
|
-
"undici": "8.
|
|
39
|
-
"@outputai/core": "0.14.1-next.
|
|
40
|
-
"@outputai/llm": "0.14.1-next.
|
|
41
|
-
"@outputai/evals": "0.14.1-next.
|
|
36
|
+
"react": "19.3.0",
|
|
37
|
+
"semver": "7.8.5",
|
|
38
|
+
"undici": "8.11.0",
|
|
39
|
+
"@outputai/core": "0.14.1-next.5381b5e.0",
|
|
40
|
+
"@outputai/llm": "0.14.1-next.5381b5e.0",
|
|
41
|
+
"@outputai/evals": "0.14.1-next.5381b5e.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/cli-progress": "3.11.6",
|
|
45
45
|
"@types/debug": "4.1.13",
|
|
46
46
|
"@types/js-yaml": "4.0.9",
|
|
47
|
-
"@types/react": "19.
|
|
48
|
-
"@types/semver": "7.
|
|
47
|
+
"@types/react": "19.3.0",
|
|
48
|
+
"@types/semver": "7.8.0",
|
|
49
49
|
"oclif": "4.23.10",
|
|
50
|
-
"orval": "8.
|
|
50
|
+
"orval": "8.35.0"
|
|
51
51
|
},
|
|
52
52
|
"license": "Apache-2.0",
|
|
53
53
|
"publishConfig": {
|