@outputai/cli 0.9.2-next.9d7a870.0 → 0.9.2
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.
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { type ApiRequestOptions } from '../http_client.js';
|
|
9
9
|
/**
|
|
10
|
-
* API error body (WorkflowNotFoundError, WorkflowExecutionTimedOutError, WorkflowNotCompletedError, CatalogNotAvailableError, or server error)
|
|
10
|
+
* API error body (WorkflowNotFoundError, UnsupportedWorkflowError, WorkflowExecutionTimedOutError, WorkflowNotCompletedError, CatalogNotAvailableError, or server error)
|
|
11
11
|
*/
|
|
12
12
|
export interface ErrorResponse {
|
|
13
|
-
/** Error type name (e.g. WorkflowNotFoundError, CatalogNotAvailableError) */
|
|
13
|
+
/** Error type name (e.g. WorkflowNotFoundError, UnsupportedWorkflowError, CatalogNotAvailableError) */
|
|
14
14
|
error?: string;
|
|
15
15
|
/** Human-readable error message */
|
|
16
16
|
message?: string;
|
|
@@ -309,7 +309,7 @@ export type NotFoundResponse = ErrorResponse;
|
|
|
309
309
|
*/
|
|
310
310
|
export type RequestTimeoutResponse = ErrorResponse;
|
|
311
311
|
/**
|
|
312
|
-
* Workflow not in a terminal state
|
|
312
|
+
* Workflow dependency failed (e.g. workflow not in a terminal state, or workflow type is unsupported by the selected catalog)
|
|
313
313
|
*/
|
|
314
314
|
export type FailedDependencyResponse = ErrorResponse;
|
|
315
315
|
/**
|
|
@@ -589,6 +589,10 @@ export type postWorkflowRunResponse408 = {
|
|
|
589
589
|
data: RequestTimeoutResponse;
|
|
590
590
|
status: 408;
|
|
591
591
|
};
|
|
592
|
+
export type postWorkflowRunResponse424 = {
|
|
593
|
+
data: FailedDependencyResponse;
|
|
594
|
+
status: 424;
|
|
595
|
+
};
|
|
592
596
|
export type postWorkflowRunResponse500 = {
|
|
593
597
|
data: InternalServerErrorResponse;
|
|
594
598
|
status: 500;
|
|
@@ -600,7 +604,7 @@ export type postWorkflowRunResponse503 = {
|
|
|
600
604
|
export type postWorkflowRunResponseSuccess = (postWorkflowRunResponse200) & {
|
|
601
605
|
headers: Headers;
|
|
602
606
|
};
|
|
603
|
-
export type postWorkflowRunResponseError = (postWorkflowRunResponse400 | postWorkflowRunResponse404 | postWorkflowRunResponse408 | postWorkflowRunResponse500 | postWorkflowRunResponse503) & {
|
|
607
|
+
export type postWorkflowRunResponseError = (postWorkflowRunResponse400 | postWorkflowRunResponse404 | postWorkflowRunResponse408 | postWorkflowRunResponse424 | postWorkflowRunResponse500 | postWorkflowRunResponse503) & {
|
|
604
608
|
headers: Headers;
|
|
605
609
|
};
|
|
606
610
|
export type postWorkflowRunResponse = (postWorkflowRunResponseSuccess | postWorkflowRunResponseError);
|
|
@@ -621,14 +625,22 @@ export type postWorkflowStartResponse404 = {
|
|
|
621
625
|
data: NotFoundResponse;
|
|
622
626
|
status: 404;
|
|
623
627
|
};
|
|
628
|
+
export type postWorkflowStartResponse424 = {
|
|
629
|
+
data: FailedDependencyResponse;
|
|
630
|
+
status: 424;
|
|
631
|
+
};
|
|
624
632
|
export type postWorkflowStartResponse500 = {
|
|
625
633
|
data: InternalServerErrorResponse;
|
|
626
634
|
status: 500;
|
|
627
635
|
};
|
|
636
|
+
export type postWorkflowStartResponse503 = {
|
|
637
|
+
data: ServiceUnavailableResponse;
|
|
638
|
+
status: 503;
|
|
639
|
+
};
|
|
628
640
|
export type postWorkflowStartResponseSuccess = (postWorkflowStartResponse200) & {
|
|
629
641
|
headers: Headers;
|
|
630
642
|
};
|
|
631
|
-
export type postWorkflowStartResponseError = (postWorkflowStartResponse400 | postWorkflowStartResponse404 | postWorkflowStartResponse500) & {
|
|
643
|
+
export type postWorkflowStartResponseError = (postWorkflowStartResponse400 | postWorkflowStartResponse404 | postWorkflowStartResponse424 | postWorkflowStartResponse500 | postWorkflowStartResponse503) & {
|
|
632
644
|
headers: Headers;
|
|
633
645
|
};
|
|
634
646
|
export type postWorkflowStartResponse = (postWorkflowStartResponseSuccess | postWorkflowStartResponseError);
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outputai/cli",
|
|
3
|
-
"version": "0.9.2
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "CLI for Output.ai workflow generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"semver": "7.7.4",
|
|
40
40
|
"undici": "8.5.0",
|
|
41
41
|
"yaml": "^2.8.3",
|
|
42
|
-
"@outputai/credentials": "0.9.2
|
|
43
|
-
"@outputai/
|
|
44
|
-
"@outputai/
|
|
42
|
+
"@outputai/credentials": "0.9.2",
|
|
43
|
+
"@outputai/llm": "0.9.2",
|
|
44
|
+
"@outputai/evals": "0.9.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/cli-progress": "3.11.6",
|