@sixb/server 0.2.1 → 0.2.3
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/README.md +3 -3
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +3 -0
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/shared-access.d.ts +23 -0
- package/dist/auth/shared-access.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +6 -1
- package/dist/connectors/http.d.ts.map +1 -1
- package/dist/index.js +2876 -667
- package/dist/index.js.map +43 -36
- package/dist/live/awareness.d.ts +48 -0
- package/dist/live/awareness.d.ts.map +1 -0
- package/dist/live/room.d.ts +198 -0
- package/dist/live/room.d.ts.map +1 -0
- package/dist/live/rooms.d.ts +67 -0
- package/dist/live/rooms.d.ts.map +1 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +3 -3
- package/dist/routes/agent-approvals.d.ts +21 -11
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-children.d.ts +4 -4
- package/dist/routes/agent-computers.d.ts +146 -1
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agent-runners.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +152 -60
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +2 -1
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +1713 -178
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +21 -21
- package/dist/routes/connector-connection-runs.d.ts +124 -5
- package/dist/routes/connector-connection-runs.d.ts.map +1 -1
- package/dist/routes/connector-connections.d.ts +9 -1
- package/dist/routes/connector-connections.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +5 -5
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/lake.d.ts +91 -0
- package/dist/routes/lake.d.ts.map +1 -0
- package/dist/routes/links.d.ts +6 -6
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/model-generations.d.ts +2 -2
- package/dist/routes/objects.d.ts +6 -6
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +21 -11
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +13 -9
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +27 -27
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/shared-access.d.ts +57 -2
- package/dist/routes/shared-access.d.ts.map +1 -1
- package/dist/routes/status.d.ts +11 -15
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +9 -6
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +7 -7
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +14 -14
- package/dist/routes/ws/artifacts.d.ts +57 -0
- package/dist/routes/ws/artifacts.d.ts.map +1 -0
- package/dist/routes/ws/events.d.ts +8 -7
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/index.d.ts +2 -1
- package/dist/routes/ws/index.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/shared-sockets.d.ts +52 -0
- package/dist/routes/ws/shared-sockets.d.ts.map +1 -0
- package/dist/schemas/actions.d.ts +7 -7
- package/dist/schemas/activity.d.ts +16 -16
- package/dist/schemas/agent-approvals.d.ts +27 -27
- package/dist/schemas/agents.d.ts +642 -196
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +41 -41
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +2106 -127
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +63 -63
- package/dist/schemas/connectors.d.ts +180 -20
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +44 -44
- package/dist/schemas/event-payloads.d.ts +2 -2
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +12 -0
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/lake.d.ts +251 -0
- package/dist/schemas/lake.d.ts.map +1 -0
- package/dist/schemas/lineage.d.ts +56 -56
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/models.d.ts +4 -4
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +14 -14
- package/dist/schemas/pipelines.d.ts +86 -64
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +160 -160
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/shared-access.d.ts +17 -4
- package/dist/schemas/shared-access.d.ts.map +1 -1
- package/dist/schemas/status.d.ts +59 -79
- package/dist/schemas/status.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +38 -22
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/telemetry.d.ts +26 -26
- package/dist/schemas/workflows.d.ts +71 -71
- package/dist/server.d.ts +13 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +3 -0
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +11 -7
- package/src/artifacts/frame.ts +4 -13
- package/src/auth/scope.ts +10 -1
- package/src/auth/shared-access.ts +108 -12
- package/src/connectors/http.ts +35 -1
- package/src/live/README.md +136 -0
- package/src/live/awareness.ts +141 -0
- package/src/live/room.ts +933 -0
- package/src/live/rooms.ts +288 -0
- package/src/registerRoutes.ts +2 -0
- package/src/routes/agent-computers.ts +208 -14
- package/src/routes/agent-runners.ts +1 -0
- package/src/routes/agents.ts +52 -7
- package/src/routes/artifact-frames.ts +40 -12
- package/src/routes/artifacts.ts +713 -28
- package/src/routes/connector-connection-runs.ts +7 -12
- package/src/routes/connector-connections.ts +10 -7
- package/src/routes/lake.ts +73 -0
- package/src/routes/objects.ts +3 -9
- package/src/routes/pipelines.ts +1 -0
- package/src/routes/shared-access.ts +53 -1
- package/src/routes/status.ts +9 -4
- package/src/routes/syncs.ts +1 -0
- package/src/routes/webhooks.ts +44 -3
- package/src/routes/ws/artifacts.ts +138 -0
- package/src/routes/ws/events.ts +7 -2
- package/src/routes/ws/index.ts +13 -2
- package/src/routes/ws/shared-sockets.ts +152 -0
- package/src/schemas/agents.ts +71 -1
- package/src/schemas/ai-accounting.ts +1 -0
- package/src/schemas/artifacts.ts +255 -18
- package/src/schemas/connectors.ts +17 -2
- package/src/schemas/files.ts +12 -0
- package/src/schemas/lake.ts +53 -0
- package/src/schemas/objects.ts +1 -0
- package/src/schemas/pipelines.ts +2 -0
- package/src/schemas/projections.ts +2 -2
- package/src/schemas/shared-access.ts +16 -0
- package/src/schemas/status.ts +16 -22
- package/src/schemas/syncs.ts +2 -0
- package/src/server.ts +35 -4
- package/src/utils/ws.ts +7 -0
|
@@ -33,7 +33,7 @@ export declare const WorkflowRunsQuerySchema: z.ZodObject<{
|
|
|
33
33
|
offset: z.ZodOptional<z.ZodString>;
|
|
34
34
|
order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
36
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued" | undefined;
|
|
37
37
|
startedAfter?: string | undefined;
|
|
38
38
|
startedBefore?: string | undefined;
|
|
39
39
|
limit?: string | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const WorkflowRunsQuerySchema: z.ZodObject<{
|
|
|
41
41
|
order?: "asc" | "desc" | undefined;
|
|
42
42
|
workflowId?: string | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
44
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued" | undefined;
|
|
45
45
|
startedAfter?: string | undefined;
|
|
46
46
|
startedBefore?: string | undefined;
|
|
47
47
|
limit?: string | undefined;
|
|
@@ -129,7 +129,7 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
129
129
|
type: "user" | "serviceAccount" | "system";
|
|
130
130
|
}>;
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
132
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
133
133
|
projectId: string;
|
|
134
134
|
id: string;
|
|
135
135
|
requestedBy: {
|
|
@@ -142,7 +142,7 @@ export declare const WorkflowRunSummarySchema: z.ZodObject<{
|
|
|
142
142
|
finishedAt?: string | undefined;
|
|
143
143
|
queuedAt?: string | undefined;
|
|
144
144
|
}, {
|
|
145
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
145
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
146
146
|
projectId: string;
|
|
147
147
|
id: string;
|
|
148
148
|
requestedBy: {
|
|
@@ -178,7 +178,7 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
178
178
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
179
179
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
181
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
182
182
|
projectId: string;
|
|
183
183
|
id: string;
|
|
184
184
|
requestedBy: {
|
|
@@ -193,7 +193,7 @@ export declare const WorkflowRunDetailSchema: z.ZodObject<{
|
|
|
193
193
|
queuedAt?: string | undefined;
|
|
194
194
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
195
195
|
}, {
|
|
196
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
196
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
197
197
|
projectId: string;
|
|
198
198
|
id: string;
|
|
199
199
|
requestedBy: {
|
|
@@ -293,7 +293,7 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
293
293
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
294
294
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
296
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
296
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
297
297
|
attempt: number;
|
|
298
298
|
modelId?: string | undefined;
|
|
299
299
|
startedAt?: string | undefined;
|
|
@@ -325,7 +325,7 @@ export declare const WorkflowAgentNodeExecutionSummarySchema: z.ZodObject<{
|
|
|
325
325
|
} | undefined;
|
|
326
326
|
finishReason?: string | undefined;
|
|
327
327
|
}, {
|
|
328
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
328
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
329
329
|
attempt: number;
|
|
330
330
|
modelId?: string | undefined;
|
|
331
331
|
startedAt?: string | undefined;
|
|
@@ -549,7 +549,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
549
549
|
}>, z.ZodObject<{
|
|
550
550
|
kind: z.ZodLiteral<"error">;
|
|
551
551
|
error: z.ZodObject<{
|
|
552
|
-
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
552
|
+
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed", ...("action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed")[]]>;
|
|
553
553
|
message: z.ZodString;
|
|
554
554
|
retryable: z.ZodBoolean;
|
|
555
555
|
at: z.ZodString;
|
|
@@ -559,7 +559,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
559
559
|
truncated: z.ZodOptional<z.ZodLiteral<true>>;
|
|
560
560
|
}, "strip", z.ZodTypeAny, {
|
|
561
561
|
at: string;
|
|
562
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
562
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
563
563
|
message: string;
|
|
564
564
|
retryable: boolean;
|
|
565
565
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -568,7 +568,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
568
568
|
truncated?: true | undefined;
|
|
569
569
|
}, {
|
|
570
570
|
at: string;
|
|
571
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
571
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
572
572
|
message: string;
|
|
573
573
|
retryable: boolean;
|
|
574
574
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -579,7 +579,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
579
579
|
}, "strip", z.ZodTypeAny, {
|
|
580
580
|
error: {
|
|
581
581
|
at: string;
|
|
582
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
582
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
583
583
|
message: string;
|
|
584
584
|
retryable: boolean;
|
|
585
585
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -591,7 +591,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
591
591
|
}, {
|
|
592
592
|
error: {
|
|
593
593
|
at: string;
|
|
594
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
594
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
595
595
|
message: string;
|
|
596
596
|
retryable: boolean;
|
|
597
597
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -649,7 +649,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
649
649
|
} | {
|
|
650
650
|
error: {
|
|
651
651
|
at: string;
|
|
652
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
652
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
653
653
|
message: string;
|
|
654
654
|
retryable: boolean;
|
|
655
655
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -694,7 +694,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
694
694
|
} | {
|
|
695
695
|
error: {
|
|
696
696
|
at: string;
|
|
697
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
697
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
698
698
|
message: string;
|
|
699
699
|
retryable: boolean;
|
|
700
700
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1024,7 +1024,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
1024
1024
|
error: z.ZodOptional<z.ZodType<SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
|
|
1025
1025
|
createdAt: z.ZodString;
|
|
1026
1026
|
}, "strip", z.ZodTypeAny, {
|
|
1027
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1027
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1028
1028
|
createdAt: string;
|
|
1029
1029
|
prompt: string;
|
|
1030
1030
|
attempt: number;
|
|
@@ -1170,7 +1170,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
1170
1170
|
} | {
|
|
1171
1171
|
error: {
|
|
1172
1172
|
at: string;
|
|
1173
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1173
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1174
1174
|
message: string;
|
|
1175
1175
|
retryable: boolean;
|
|
1176
1176
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1191,7 +1191,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
1191
1191
|
})[] | undefined;
|
|
1192
1192
|
failurePhase?: "agent-loop" | "structured-finalizer" | undefined;
|
|
1193
1193
|
}, {
|
|
1194
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1194
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1195
1195
|
createdAt: string;
|
|
1196
1196
|
prompt: string;
|
|
1197
1197
|
attempt: number;
|
|
@@ -1337,7 +1337,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
|
|
|
1337
1337
|
} | {
|
|
1338
1338
|
error: {
|
|
1339
1339
|
at: string;
|
|
1340
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1340
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.change_refused" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1341
1341
|
message: string;
|
|
1342
1342
|
retryable: boolean;
|
|
1343
1343
|
details?: import("./common").JsonValue | undefined;
|
|
@@ -1458,7 +1458,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1458
1458
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
1459
1459
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
1460
1460
|
}, "strip", z.ZodTypeAny, {
|
|
1461
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1461
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1462
1462
|
attempt: number;
|
|
1463
1463
|
modelId?: string | undefined;
|
|
1464
1464
|
startedAt?: string | undefined;
|
|
@@ -1490,7 +1490,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1490
1490
|
} | undefined;
|
|
1491
1491
|
finishReason?: string | undefined;
|
|
1492
1492
|
}, {
|
|
1493
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1493
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1494
1494
|
attempt: number;
|
|
1495
1495
|
modelId?: string | undefined;
|
|
1496
1496
|
startedAt?: string | undefined;
|
|
@@ -1523,7 +1523,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1523
1523
|
finishReason?: string | undefined;
|
|
1524
1524
|
}>>;
|
|
1525
1525
|
}, "strip", z.ZodTypeAny, {
|
|
1526
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1526
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
1527
1527
|
projectId: string;
|
|
1528
1528
|
id: string;
|
|
1529
1529
|
startedAt: string;
|
|
@@ -1533,10 +1533,10 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1533
1533
|
nodeId: string;
|
|
1534
1534
|
nodeKey: string;
|
|
1535
1535
|
nodeIndex: number;
|
|
1536
|
-
nodeType: "
|
|
1536
|
+
nodeType: "action" | "agent" | "step" | "intervention";
|
|
1537
1537
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1538
1538
|
agentExecution?: {
|
|
1539
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1539
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1540
1540
|
attempt: number;
|
|
1541
1541
|
modelId?: string | undefined;
|
|
1542
1542
|
startedAt?: string | undefined;
|
|
@@ -1571,7 +1571,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1571
1571
|
finishedAt?: string | undefined;
|
|
1572
1572
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
1573
1573
|
}, {
|
|
1574
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1574
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
1575
1575
|
projectId: string;
|
|
1576
1576
|
id: string;
|
|
1577
1577
|
startedAt: string;
|
|
@@ -1581,10 +1581,10 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
|
|
|
1581
1581
|
nodeId: string;
|
|
1582
1582
|
nodeKey: string;
|
|
1583
1583
|
nodeIndex: number;
|
|
1584
|
-
nodeType: "
|
|
1584
|
+
nodeType: "action" | "agent" | "step" | "intervention";
|
|
1585
1585
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
1586
1586
|
agentExecution?: {
|
|
1587
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1587
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1588
1588
|
attempt: number;
|
|
1589
1589
|
modelId?: string | undefined;
|
|
1590
1590
|
startedAt?: string | undefined;
|
|
@@ -1822,7 +1822,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1822
1822
|
type: "user" | "serviceAccount" | "system";
|
|
1823
1823
|
}>;
|
|
1824
1824
|
}, "strip", z.ZodTypeAny, {
|
|
1825
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1825
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
1826
1826
|
projectId: string;
|
|
1827
1827
|
id: string;
|
|
1828
1828
|
requestedBy: {
|
|
@@ -1835,7 +1835,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1835
1835
|
finishedAt?: string | undefined;
|
|
1836
1836
|
queuedAt?: string | undefined;
|
|
1837
1837
|
}, {
|
|
1838
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1838
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
1839
1839
|
projectId: string;
|
|
1840
1840
|
id: string;
|
|
1841
1841
|
requestedBy: {
|
|
@@ -1882,7 +1882,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1882
1882
|
output: Record<string, import("./common").JsonValue>;
|
|
1883
1883
|
})[];
|
|
1884
1884
|
latestRun: {
|
|
1885
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1885
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
1886
1886
|
projectId: string;
|
|
1887
1887
|
id: string;
|
|
1888
1888
|
requestedBy: {
|
|
@@ -1929,7 +1929,7 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
1929
1929
|
output: Record<string, import("./common").JsonValue>;
|
|
1930
1930
|
})[];
|
|
1931
1931
|
latestRun: {
|
|
1932
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1932
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
1933
1933
|
projectId: string;
|
|
1934
1934
|
id: string;
|
|
1935
1935
|
requestedBy: {
|
|
@@ -1964,7 +1964,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1964
1964
|
type: "user" | "serviceAccount" | "system";
|
|
1965
1965
|
}>;
|
|
1966
1966
|
}, "strip", z.ZodTypeAny, {
|
|
1967
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1967
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
1968
1968
|
projectId: string;
|
|
1969
1969
|
id: string;
|
|
1970
1970
|
requestedBy: {
|
|
@@ -1977,7 +1977,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1977
1977
|
finishedAt?: string | undefined;
|
|
1978
1978
|
queuedAt?: string | undefined;
|
|
1979
1979
|
}, {
|
|
1980
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1980
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
1981
1981
|
projectId: string;
|
|
1982
1982
|
id: string;
|
|
1983
1983
|
requestedBy: {
|
|
@@ -1994,7 +1994,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
1994
1994
|
total: z.ZodNumber;
|
|
1995
1995
|
}, "strip", z.ZodTypeAny, {
|
|
1996
1996
|
runs: {
|
|
1997
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1997
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
1998
1998
|
projectId: string;
|
|
1999
1999
|
id: string;
|
|
2000
2000
|
requestedBy: {
|
|
@@ -2011,7 +2011,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
|
|
|
2011
2011
|
total: number;
|
|
2012
2012
|
}, {
|
|
2013
2013
|
runs: {
|
|
2014
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2014
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
2015
2015
|
projectId: string;
|
|
2016
2016
|
id: string;
|
|
2017
2017
|
requestedBy: {
|
|
@@ -2051,7 +2051,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2051
2051
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
2052
2052
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
2053
2053
|
}, "strip", z.ZodTypeAny, {
|
|
2054
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2054
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
2055
2055
|
projectId: string;
|
|
2056
2056
|
id: string;
|
|
2057
2057
|
requestedBy: {
|
|
@@ -2066,7 +2066,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2066
2066
|
queuedAt?: string | undefined;
|
|
2067
2067
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2068
2068
|
}, {
|
|
2069
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2069
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
2070
2070
|
projectId: string;
|
|
2071
2071
|
id: string;
|
|
2072
2072
|
requestedBy: {
|
|
@@ -2181,7 +2181,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2181
2181
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
2182
2182
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
2183
2183
|
}, "strip", z.ZodTypeAny, {
|
|
2184
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2184
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2185
2185
|
attempt: number;
|
|
2186
2186
|
modelId?: string | undefined;
|
|
2187
2187
|
startedAt?: string | undefined;
|
|
@@ -2213,7 +2213,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2213
2213
|
} | undefined;
|
|
2214
2214
|
finishReason?: string | undefined;
|
|
2215
2215
|
}, {
|
|
2216
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2216
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2217
2217
|
attempt: number;
|
|
2218
2218
|
modelId?: string | undefined;
|
|
2219
2219
|
startedAt?: string | undefined;
|
|
@@ -2246,7 +2246,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2246
2246
|
finishReason?: string | undefined;
|
|
2247
2247
|
}>>;
|
|
2248
2248
|
}, "strip", z.ZodTypeAny, {
|
|
2249
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2249
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2250
2250
|
projectId: string;
|
|
2251
2251
|
id: string;
|
|
2252
2252
|
startedAt: string;
|
|
@@ -2256,10 +2256,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2256
2256
|
nodeId: string;
|
|
2257
2257
|
nodeKey: string;
|
|
2258
2258
|
nodeIndex: number;
|
|
2259
|
-
nodeType: "
|
|
2259
|
+
nodeType: "action" | "agent" | "step" | "intervention";
|
|
2260
2260
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2261
2261
|
agentExecution?: {
|
|
2262
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2262
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2263
2263
|
attempt: number;
|
|
2264
2264
|
modelId?: string | undefined;
|
|
2265
2265
|
startedAt?: string | undefined;
|
|
@@ -2294,7 +2294,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2294
2294
|
finishedAt?: string | undefined;
|
|
2295
2295
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2296
2296
|
}, {
|
|
2297
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2297
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2298
2298
|
projectId: string;
|
|
2299
2299
|
id: string;
|
|
2300
2300
|
startedAt: string;
|
|
@@ -2304,10 +2304,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2304
2304
|
nodeId: string;
|
|
2305
2305
|
nodeKey: string;
|
|
2306
2306
|
nodeIndex: number;
|
|
2307
|
-
nodeType: "
|
|
2307
|
+
nodeType: "action" | "agent" | "step" | "intervention";
|
|
2308
2308
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2309
2309
|
agentExecution?: {
|
|
2310
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2310
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2311
2311
|
attempt: number;
|
|
2312
2312
|
modelId?: string | undefined;
|
|
2313
2313
|
startedAt?: string | undefined;
|
|
@@ -2344,7 +2344,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2344
2344
|
}>, "many">;
|
|
2345
2345
|
}, "strip", z.ZodTypeAny, {
|
|
2346
2346
|
run: {
|
|
2347
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2347
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
2348
2348
|
projectId: string;
|
|
2349
2349
|
id: string;
|
|
2350
2350
|
requestedBy: {
|
|
@@ -2360,7 +2360,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2360
2360
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2361
2361
|
};
|
|
2362
2362
|
nodes: {
|
|
2363
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2363
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2364
2364
|
projectId: string;
|
|
2365
2365
|
id: string;
|
|
2366
2366
|
startedAt: string;
|
|
@@ -2370,10 +2370,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2370
2370
|
nodeId: string;
|
|
2371
2371
|
nodeKey: string;
|
|
2372
2372
|
nodeIndex: number;
|
|
2373
|
-
nodeType: "
|
|
2373
|
+
nodeType: "action" | "agent" | "step" | "intervention";
|
|
2374
2374
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2375
2375
|
agentExecution?: {
|
|
2376
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2376
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2377
2377
|
attempt: number;
|
|
2378
2378
|
modelId?: string | undefined;
|
|
2379
2379
|
startedAt?: string | undefined;
|
|
@@ -2410,7 +2410,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2410
2410
|
}[];
|
|
2411
2411
|
}, {
|
|
2412
2412
|
run: {
|
|
2413
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2413
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
2414
2414
|
projectId: string;
|
|
2415
2415
|
id: string;
|
|
2416
2416
|
requestedBy: {
|
|
@@ -2426,7 +2426,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2426
2426
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2427
2427
|
};
|
|
2428
2428
|
nodes: {
|
|
2429
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2429
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2430
2430
|
projectId: string;
|
|
2431
2431
|
id: string;
|
|
2432
2432
|
startedAt: string;
|
|
@@ -2436,10 +2436,10 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
|
|
|
2436
2436
|
nodeId: string;
|
|
2437
2437
|
nodeKey: string;
|
|
2438
2438
|
nodeIndex: number;
|
|
2439
|
-
nodeType: "
|
|
2439
|
+
nodeType: "action" | "agent" | "step" | "intervention";
|
|
2440
2440
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2441
2441
|
agentExecution?: {
|
|
2442
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2442
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2443
2443
|
attempt: number;
|
|
2444
2444
|
modelId?: string | undefined;
|
|
2445
2445
|
startedAt?: string | undefined;
|
|
@@ -2499,7 +2499,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2499
2499
|
input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
|
|
2500
2500
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
|
|
2501
2501
|
}, "strip", z.ZodTypeAny, {
|
|
2502
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2502
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
2503
2503
|
projectId: string;
|
|
2504
2504
|
id: string;
|
|
2505
2505
|
requestedBy: {
|
|
@@ -2514,7 +2514,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2514
2514
|
queuedAt?: string | undefined;
|
|
2515
2515
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2516
2516
|
}, {
|
|
2517
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2517
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
2518
2518
|
projectId: string;
|
|
2519
2519
|
id: string;
|
|
2520
2520
|
requestedBy: {
|
|
@@ -2629,7 +2629,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2629
2629
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
2630
2630
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
2631
2631
|
}, "strip", z.ZodTypeAny, {
|
|
2632
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2632
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2633
2633
|
attempt: number;
|
|
2634
2634
|
modelId?: string | undefined;
|
|
2635
2635
|
startedAt?: string | undefined;
|
|
@@ -2661,7 +2661,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2661
2661
|
} | undefined;
|
|
2662
2662
|
finishReason?: string | undefined;
|
|
2663
2663
|
}, {
|
|
2664
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2664
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2665
2665
|
attempt: number;
|
|
2666
2666
|
modelId?: string | undefined;
|
|
2667
2667
|
startedAt?: string | undefined;
|
|
@@ -2694,7 +2694,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2694
2694
|
finishReason?: string | undefined;
|
|
2695
2695
|
}>>;
|
|
2696
2696
|
}, "strip", z.ZodTypeAny, {
|
|
2697
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2697
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2698
2698
|
projectId: string;
|
|
2699
2699
|
id: string;
|
|
2700
2700
|
startedAt: string;
|
|
@@ -2704,10 +2704,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2704
2704
|
nodeId: string;
|
|
2705
2705
|
nodeKey: string;
|
|
2706
2706
|
nodeIndex: number;
|
|
2707
|
-
nodeType: "
|
|
2707
|
+
nodeType: "action" | "agent" | "step" | "intervention";
|
|
2708
2708
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2709
2709
|
agentExecution?: {
|
|
2710
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2710
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2711
2711
|
attempt: number;
|
|
2712
2712
|
modelId?: string | undefined;
|
|
2713
2713
|
startedAt?: string | undefined;
|
|
@@ -2742,7 +2742,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2742
2742
|
finishedAt?: string | undefined;
|
|
2743
2743
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2744
2744
|
}, {
|
|
2745
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2745
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2746
2746
|
projectId: string;
|
|
2747
2747
|
id: string;
|
|
2748
2748
|
startedAt: string;
|
|
@@ -2752,10 +2752,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2752
2752
|
nodeId: string;
|
|
2753
2753
|
nodeKey: string;
|
|
2754
2754
|
nodeIndex: number;
|
|
2755
|
-
nodeType: "
|
|
2755
|
+
nodeType: "action" | "agent" | "step" | "intervention";
|
|
2756
2756
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2757
2757
|
agentExecution?: {
|
|
2758
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2758
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2759
2759
|
attempt: number;
|
|
2760
2760
|
modelId?: string | undefined;
|
|
2761
2761
|
startedAt?: string | undefined;
|
|
@@ -2792,7 +2792,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2792
2792
|
}>, "many">;
|
|
2793
2793
|
}, "strip", z.ZodTypeAny, {
|
|
2794
2794
|
run: {
|
|
2795
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2795
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
2796
2796
|
projectId: string;
|
|
2797
2797
|
id: string;
|
|
2798
2798
|
requestedBy: {
|
|
@@ -2808,7 +2808,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2808
2808
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2809
2809
|
};
|
|
2810
2810
|
nodes: {
|
|
2811
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2811
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2812
2812
|
projectId: string;
|
|
2813
2813
|
id: string;
|
|
2814
2814
|
startedAt: string;
|
|
@@ -2818,10 +2818,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2818
2818
|
nodeId: string;
|
|
2819
2819
|
nodeKey: string;
|
|
2820
2820
|
nodeIndex: number;
|
|
2821
|
-
nodeType: "
|
|
2821
|
+
nodeType: "action" | "agent" | "step" | "intervention";
|
|
2822
2822
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2823
2823
|
agentExecution?: {
|
|
2824
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2824
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2825
2825
|
attempt: number;
|
|
2826
2826
|
modelId?: string | undefined;
|
|
2827
2827
|
startedAt?: string | undefined;
|
|
@@ -2858,7 +2858,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2858
2858
|
}[];
|
|
2859
2859
|
}, {
|
|
2860
2860
|
run: {
|
|
2861
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2861
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
2862
2862
|
projectId: string;
|
|
2863
2863
|
id: string;
|
|
2864
2864
|
requestedBy: {
|
|
@@ -2874,7 +2874,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2874
2874
|
output?: Record<string, import("./common").JsonValue> | undefined;
|
|
2875
2875
|
};
|
|
2876
2876
|
nodes: {
|
|
2877
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2877
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
2878
2878
|
projectId: string;
|
|
2879
2879
|
id: string;
|
|
2880
2880
|
startedAt: string;
|
|
@@ -2884,10 +2884,10 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
|
|
|
2884
2884
|
nodeId: string;
|
|
2885
2885
|
nodeKey: string;
|
|
2886
2886
|
nodeIndex: number;
|
|
2887
|
-
nodeType: "
|
|
2887
|
+
nodeType: "action" | "agent" | "step" | "intervention";
|
|
2888
2888
|
error?: SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
2889
2889
|
agentExecution?: {
|
|
2890
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2890
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2891
2891
|
attempt: number;
|
|
2892
2892
|
modelId?: string | undefined;
|
|
2893
2893
|
startedAt?: string | undefined;
|