@sixb/server 0.1.26 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +2495 -1845
  5. package/dist/index.js.map +29 -27
  6. package/dist/routes/actions.d.ts +1 -1
  7. package/dist/routes/agent-approvals.d.ts +11 -5
  8. package/dist/routes/agent-approvals.d.ts.map +1 -1
  9. package/dist/routes/agent-children.d.ts +2 -2
  10. package/dist/routes/agent-computers.d.ts +214 -10
  11. package/dist/routes/agent-computers.d.ts.map +1 -1
  12. package/dist/routes/agent-runners.d.ts +1 -1
  13. package/dist/routes/agent-runners.d.ts.map +1 -1
  14. package/dist/routes/agents.d.ts +230 -24
  15. package/dist/routes/agents.d.ts.map +1 -1
  16. package/dist/routes/ai-accounting.d.ts.map +1 -1
  17. package/dist/routes/auth.d.ts +9 -0
  18. package/dist/routes/auth.d.ts.map +1 -1
  19. package/dist/routes/datasets.d.ts +93 -17
  20. package/dist/routes/datasets.d.ts.map +1 -1
  21. package/dist/routes/events.d.ts +1 -1
  22. package/dist/routes/links.d.ts +121 -81
  23. package/dist/routes/links.d.ts.map +1 -1
  24. package/dist/routes/logs.d.ts +3 -3
  25. package/dist/routes/objects.d.ts +149 -58
  26. package/dist/routes/objects.d.ts.map +1 -1
  27. package/dist/routes/observed-agent-threads.d.ts +23 -5
  28. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  29. package/dist/routes/pipelines.d.ts +2 -2
  30. package/dist/routes/projections.d.ts +122 -122
  31. package/dist/routes/rules.d.ts +2 -2
  32. package/dist/routes/telemetry.d.ts +0 -50
  33. package/dist/routes/telemetry.d.ts.map +1 -1
  34. package/dist/routes/webhook-runs.d.ts +1 -1
  35. package/dist/routes/workflows.d.ts +21 -10
  36. package/dist/routes/workflows.d.ts.map +1 -1
  37. package/dist/routes/ws/agents.d.ts +4 -1
  38. package/dist/routes/ws/agents.d.ts.map +1 -1
  39. package/dist/routes/ws/logs.d.ts +10 -10
  40. package/dist/schemas/actions.d.ts +3 -3
  41. package/dist/schemas/activity.d.ts +4 -4
  42. package/dist/schemas/agent-approvals.d.ts +21 -21
  43. package/dist/schemas/agents.d.ts +760 -107
  44. package/dist/schemas/agents.d.ts.map +1 -1
  45. package/dist/schemas/ai-accounting.d.ts +1114 -6
  46. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  47. package/dist/schemas/auth.d.ts +47 -0
  48. package/dist/schemas/auth.d.ts.map +1 -1
  49. package/dist/schemas/datasets.d.ts +303 -60
  50. package/dist/schemas/datasets.d.ts.map +1 -1
  51. package/dist/schemas/event-payloads.d.ts +6 -6
  52. package/dist/schemas/events.d.ts +8 -8
  53. package/dist/schemas/lineage.d.ts +1272 -0
  54. package/dist/schemas/lineage.d.ts.map +1 -0
  55. package/dist/schemas/links.d.ts +4 -27
  56. package/dist/schemas/links.d.ts.map +1 -1
  57. package/dist/schemas/logs.d.ts +22 -22
  58. package/dist/schemas/objects.d.ts +7 -26
  59. package/dist/schemas/objects.d.ts.map +1 -1
  60. package/dist/schemas/pipelines.d.ts +12 -12
  61. package/dist/schemas/projections.d.ts +733 -733
  62. package/dist/schemas/rules.d.ts +4 -4
  63. package/dist/schemas/telemetry.d.ts +0 -13
  64. package/dist/schemas/telemetry.d.ts.map +1 -1
  65. package/dist/schemas/webhook-runs.d.ts +2 -2
  66. package/dist/schemas/workflows.d.ts +133 -44
  67. package/dist/schemas/workflows.d.ts.map +1 -1
  68. package/dist/server.d.ts +4 -0
  69. package/dist/server.d.ts.map +1 -1
  70. package/dist/utils/request-body.d.ts +5 -0
  71. package/dist/utils/request-body.d.ts.map +1 -1
  72. package/dist/utils/request-timing.d.ts +18 -0
  73. package/dist/utils/request-timing.d.ts.map +1 -0
  74. package/package.json +7 -7
  75. package/src/index.ts +1 -0
  76. package/src/routes/agent-approvals.ts +2 -2
  77. package/src/routes/agent-computers.ts +309 -87
  78. package/src/routes/agent-runners.ts +30 -6
  79. package/src/routes/agents.ts +187 -25
  80. package/src/routes/ai-accounting.ts +149 -12
  81. package/src/routes/auth.ts +24 -2
  82. package/src/routes/datasets.ts +55 -5
  83. package/src/routes/links.ts +43 -76
  84. package/src/routes/objects.ts +49 -42
  85. package/src/routes/observed-agent-threads.ts +2 -2
  86. package/src/routes/telemetry.ts +1 -42
  87. package/src/routes/ws/agents.ts +10 -1
  88. package/src/schemas/agents.ts +121 -6
  89. package/src/schemas/ai-accounting.ts +78 -15
  90. package/src/schemas/auth.ts +19 -0
  91. package/src/schemas/datasets.ts +36 -0
  92. package/src/schemas/lineage.ts +115 -0
  93. package/src/schemas/links.ts +3 -11
  94. package/src/schemas/objects.ts +6 -10
  95. package/src/schemas/telemetry.ts +0 -6
  96. package/src/server.ts +18 -2
  97. package/src/utils/request-body.ts +10 -4
  98. package/src/utils/request-timing.ts +136 -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" | "queued" | "running" | "waiting" | undefined;
36
+ status?: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running" | 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" | "queued" | "running" | "waiting" | undefined;
44
+ status?: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running" | 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" | "queued" | "running" | "waiting";
132
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
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" | "queued" | "running" | "waiting";
145
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
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" | "queued" | "running" | "waiting";
181
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
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" | "queued" | "running" | "waiting";
196
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
197
197
  projectId: string;
198
198
  id: string;
199
199
  requestedBy: {
@@ -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.execution_failed" | "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.execution_failed" | "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.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")[]]>;
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.execution_failed" | "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.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.execution_failed" | "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.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.execution_failed" | "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.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.execution_failed" | "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.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.execution_failed" | "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.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.execution_failed" | "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.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;
@@ -876,6 +876,51 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
876
876
  } & {
877
877
  state: z.ZodLiteral<"output-available">;
878
878
  output: z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>;
879
+ outputFile: z.ZodOptional<z.ZodObject<{
880
+ fileRef: z.ZodObject<{
881
+ blobId: z.ZodString;
882
+ digest: z.ZodString;
883
+ sizeBytes: z.ZodNumber;
884
+ fileName: z.ZodOptional<z.ZodString>;
885
+ mediaType: z.ZodOptional<z.ZodString>;
886
+ logicalPath: z.ZodOptional<z.ZodString>;
887
+ }, "strip", z.ZodTypeAny, {
888
+ blobId: string;
889
+ digest: string;
890
+ sizeBytes: number;
891
+ fileName?: string | undefined;
892
+ mediaType?: string | undefined;
893
+ logicalPath?: string | undefined;
894
+ }, {
895
+ blobId: string;
896
+ digest: string;
897
+ sizeBytes: number;
898
+ fileName?: string | undefined;
899
+ mediaType?: string | undefined;
900
+ logicalPath?: string | undefined;
901
+ }>;
902
+ path: z.ZodString;
903
+ }, "strip", z.ZodTypeAny, {
904
+ path: string;
905
+ fileRef: {
906
+ blobId: string;
907
+ digest: string;
908
+ sizeBytes: number;
909
+ fileName?: string | undefined;
910
+ mediaType?: string | undefined;
911
+ logicalPath?: string | undefined;
912
+ };
913
+ }, {
914
+ path: string;
915
+ fileRef: {
916
+ blobId: string;
917
+ digest: string;
918
+ sizeBytes: number;
919
+ fileName?: string | undefined;
920
+ mediaType?: string | undefined;
921
+ logicalPath?: string | undefined;
922
+ };
923
+ }>>;
879
924
  }, "strip", z.ZodTypeAny, {
880
925
  type: "tool-call";
881
926
  input: import("./common").JsonValue;
@@ -886,6 +931,17 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
886
931
  providerMetadata?: import("./common").JsonValue | undefined;
887
932
  dynamic?: boolean | undefined;
888
933
  providerExecuted?: boolean | undefined;
934
+ outputFile?: {
935
+ path: string;
936
+ fileRef: {
937
+ blobId: string;
938
+ digest: string;
939
+ sizeBytes: number;
940
+ fileName?: string | undefined;
941
+ mediaType?: string | undefined;
942
+ logicalPath?: string | undefined;
943
+ };
944
+ } | undefined;
889
945
  }, {
890
946
  type: "tool-call";
891
947
  input: import("./common").JsonValue;
@@ -896,6 +952,17 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
896
952
  providerMetadata?: import("./common").JsonValue | undefined;
897
953
  dynamic?: boolean | undefined;
898
954
  providerExecuted?: boolean | undefined;
955
+ outputFile?: {
956
+ path: string;
957
+ fileRef: {
958
+ blobId: string;
959
+ digest: string;
960
+ sizeBytes: number;
961
+ fileName?: string | undefined;
962
+ mediaType?: string | undefined;
963
+ logicalPath?: string | undefined;
964
+ };
965
+ } | undefined;
899
966
  }>, z.ZodObject<{
900
967
  type: z.ZodLiteral<"tool-call">;
901
968
  toolCallId: z.ZodString;
@@ -954,7 +1021,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
954
1021
  }>]>, "many">>;
955
1022
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>, "many">>;
956
1023
  failurePhase: z.ZodOptional<z.ZodEnum<["agent-loop", "structured-finalizer"]>>;
957
- error: z.ZodOptional<z.ZodType<SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">, z.ZodTypeDef, SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled">>>;
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">>>;
958
1025
  createdAt: z.ZodString;
959
1026
  }, "strip", z.ZodTypeAny, {
960
1027
  status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
@@ -962,7 +1029,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
962
1029
  prompt: string;
963
1030
  attempt: number;
964
1031
  nodeRunId: string;
965
- error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
1032
+ error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
966
1033
  modelId?: string | undefined;
967
1034
  startedAt?: string | undefined;
968
1035
  completedAt?: string | undefined;
@@ -1045,6 +1112,17 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
1045
1112
  providerMetadata?: import("./common").JsonValue | undefined;
1046
1113
  dynamic?: boolean | undefined;
1047
1114
  providerExecuted?: boolean | undefined;
1115
+ outputFile?: {
1116
+ path: string;
1117
+ fileRef: {
1118
+ blobId: string;
1119
+ digest: string;
1120
+ sizeBytes: number;
1121
+ fileName?: string | undefined;
1122
+ mediaType?: string | undefined;
1123
+ logicalPath?: string | undefined;
1124
+ };
1125
+ } | undefined;
1048
1126
  } | {
1049
1127
  type: "tool-call";
1050
1128
  input: import("./common").JsonValue;
@@ -1092,7 +1170,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
1092
1170
  } | {
1093
1171
  error: {
1094
1172
  at: string;
1095
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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.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";
1096
1174
  message: string;
1097
1175
  retryable: boolean;
1098
1176
  details?: import("./common").JsonValue | undefined;
@@ -1118,7 +1196,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
1118
1196
  prompt: string;
1119
1197
  attempt: number;
1120
1198
  nodeRunId: string;
1121
- error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
1199
+ error?: SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
1122
1200
  modelId?: string | undefined;
1123
1201
  startedAt?: string | undefined;
1124
1202
  completedAt?: string | undefined;
@@ -1201,6 +1279,17 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
1201
1279
  providerMetadata?: import("./common").JsonValue | undefined;
1202
1280
  dynamic?: boolean | undefined;
1203
1281
  providerExecuted?: boolean | undefined;
1282
+ outputFile?: {
1283
+ path: string;
1284
+ fileRef: {
1285
+ blobId: string;
1286
+ digest: string;
1287
+ sizeBytes: number;
1288
+ fileName?: string | undefined;
1289
+ mediaType?: string | undefined;
1290
+ logicalPath?: string | undefined;
1291
+ };
1292
+ } | undefined;
1204
1293
  } | {
1205
1294
  type: "tool-call";
1206
1295
  input: import("./common").JsonValue;
@@ -1248,7 +1337,7 @@ export declare const WorkflowAgentNodeExecutionSchema: z.ZodObject<{
1248
1337
  } | {
1249
1338
  error: {
1250
1339
  at: string;
1251
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "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.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";
1252
1341
  message: string;
1253
1342
  retryable: boolean;
1254
1343
  details?: import("./common").JsonValue | undefined;
@@ -1434,7 +1523,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
1434
1523
  finishReason?: string | undefined;
1435
1524
  }>>;
1436
1525
  }, "strip", z.ZodTypeAny, {
1437
- status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
1526
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "running";
1438
1527
  projectId: string;
1439
1528
  id: string;
1440
1529
  startedAt: string;
@@ -1482,7 +1571,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
1482
1571
  finishedAt?: string | undefined;
1483
1572
  output?: Record<string, import("./common").JsonValue> | undefined;
1484
1573
  }, {
1485
- status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
1574
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "running";
1486
1575
  projectId: string;
1487
1576
  id: string;
1488
1577
  startedAt: string;
@@ -1733,7 +1822,7 @@ export declare const WorkflowSchema: z.ZodObject<{
1733
1822
  type: "user" | "serviceAccount" | "system";
1734
1823
  }>;
1735
1824
  }, "strip", z.ZodTypeAny, {
1736
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
1825
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
1737
1826
  projectId: string;
1738
1827
  id: string;
1739
1828
  requestedBy: {
@@ -1746,7 +1835,7 @@ export declare const WorkflowSchema: z.ZodObject<{
1746
1835
  finishedAt?: string | undefined;
1747
1836
  queuedAt?: string | undefined;
1748
1837
  }, {
1749
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
1838
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
1750
1839
  projectId: string;
1751
1840
  id: string;
1752
1841
  requestedBy: {
@@ -1793,7 +1882,7 @@ export declare const WorkflowSchema: z.ZodObject<{
1793
1882
  output: Record<string, import("./common").JsonValue>;
1794
1883
  })[];
1795
1884
  latestRun: {
1796
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
1885
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
1797
1886
  projectId: string;
1798
1887
  id: string;
1799
1888
  requestedBy: {
@@ -1840,7 +1929,7 @@ export declare const WorkflowSchema: z.ZodObject<{
1840
1929
  output: Record<string, import("./common").JsonValue>;
1841
1930
  })[];
1842
1931
  latestRun: {
1843
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
1932
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
1844
1933
  projectId: string;
1845
1934
  id: string;
1846
1935
  requestedBy: {
@@ -1875,7 +1964,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
1875
1964
  type: "user" | "serviceAccount" | "system";
1876
1965
  }>;
1877
1966
  }, "strip", z.ZodTypeAny, {
1878
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
1967
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
1879
1968
  projectId: string;
1880
1969
  id: string;
1881
1970
  requestedBy: {
@@ -1888,7 +1977,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
1888
1977
  finishedAt?: string | undefined;
1889
1978
  queuedAt?: string | undefined;
1890
1979
  }, {
1891
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
1980
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
1892
1981
  projectId: string;
1893
1982
  id: string;
1894
1983
  requestedBy: {
@@ -1905,7 +1994,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
1905
1994
  total: z.ZodNumber;
1906
1995
  }, "strip", z.ZodTypeAny, {
1907
1996
  runs: {
1908
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
1997
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
1909
1998
  projectId: string;
1910
1999
  id: string;
1911
2000
  requestedBy: {
@@ -1922,7 +2011,7 @@ export declare const WorkflowRunListResponseSchema: z.ZodObject<{
1922
2011
  total: number;
1923
2012
  }, {
1924
2013
  runs: {
1925
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
2014
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
1926
2015
  projectId: string;
1927
2016
  id: string;
1928
2017
  requestedBy: {
@@ -1962,7 +2051,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
1962
2051
  input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
1963
2052
  output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
1964
2053
  }, "strip", z.ZodTypeAny, {
1965
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
2054
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
1966
2055
  projectId: string;
1967
2056
  id: string;
1968
2057
  requestedBy: {
@@ -1977,7 +2066,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
1977
2066
  queuedAt?: string | undefined;
1978
2067
  output?: Record<string, import("./common").JsonValue> | undefined;
1979
2068
  }, {
1980
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
2069
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
1981
2070
  projectId: string;
1982
2071
  id: string;
1983
2072
  requestedBy: {
@@ -2157,7 +2246,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
2157
2246
  finishReason?: string | undefined;
2158
2247
  }>>;
2159
2248
  }, "strip", z.ZodTypeAny, {
2160
- status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2249
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "running";
2161
2250
  projectId: string;
2162
2251
  id: string;
2163
2252
  startedAt: string;
@@ -2205,7 +2294,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
2205
2294
  finishedAt?: string | undefined;
2206
2295
  output?: Record<string, import("./common").JsonValue> | undefined;
2207
2296
  }, {
2208
- status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2297
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "running";
2209
2298
  projectId: string;
2210
2299
  id: string;
2211
2300
  startedAt: string;
@@ -2255,7 +2344,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
2255
2344
  }>, "many">;
2256
2345
  }, "strip", z.ZodTypeAny, {
2257
2346
  run: {
2258
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
2347
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
2259
2348
  projectId: string;
2260
2349
  id: string;
2261
2350
  requestedBy: {
@@ -2271,7 +2360,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
2271
2360
  output?: Record<string, import("./common").JsonValue> | undefined;
2272
2361
  };
2273
2362
  nodes: {
2274
- status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2363
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "running";
2275
2364
  projectId: string;
2276
2365
  id: string;
2277
2366
  startedAt: string;
@@ -2321,7 +2410,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
2321
2410
  }[];
2322
2411
  }, {
2323
2412
  run: {
2324
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
2413
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
2325
2414
  projectId: string;
2326
2415
  id: string;
2327
2416
  requestedBy: {
@@ -2337,7 +2426,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
2337
2426
  output?: Record<string, import("./common").JsonValue> | undefined;
2338
2427
  };
2339
2428
  nodes: {
2340
- status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2429
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "running";
2341
2430
  projectId: string;
2342
2431
  id: string;
2343
2432
  startedAt: string;
@@ -2410,7 +2499,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2410
2499
  input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>;
2411
2500
  output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
2412
2501
  }, "strip", z.ZodTypeAny, {
2413
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
2502
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
2414
2503
  projectId: string;
2415
2504
  id: string;
2416
2505
  requestedBy: {
@@ -2425,7 +2514,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2425
2514
  queuedAt?: string | undefined;
2426
2515
  output?: Record<string, import("./common").JsonValue> | undefined;
2427
2516
  }, {
2428
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
2517
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
2429
2518
  projectId: string;
2430
2519
  id: string;
2431
2520
  requestedBy: {
@@ -2605,7 +2694,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2605
2694
  finishReason?: string | undefined;
2606
2695
  }>>;
2607
2696
  }, "strip", z.ZodTypeAny, {
2608
- status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2697
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "running";
2609
2698
  projectId: string;
2610
2699
  id: string;
2611
2700
  startedAt: string;
@@ -2653,7 +2742,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2653
2742
  finishedAt?: string | undefined;
2654
2743
  output?: Record<string, import("./common").JsonValue> | undefined;
2655
2744
  }, {
2656
- status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2745
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "running";
2657
2746
  projectId: string;
2658
2747
  id: string;
2659
2748
  startedAt: string;
@@ -2703,7 +2792,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2703
2792
  }>, "many">;
2704
2793
  }, "strip", z.ZodTypeAny, {
2705
2794
  run: {
2706
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
2795
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
2707
2796
  projectId: string;
2708
2797
  id: string;
2709
2798
  requestedBy: {
@@ -2719,7 +2808,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2719
2808
  output?: Record<string, import("./common").JsonValue> | undefined;
2720
2809
  };
2721
2810
  nodes: {
2722
- status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2811
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "running";
2723
2812
  projectId: string;
2724
2813
  id: string;
2725
2814
  startedAt: string;
@@ -2769,7 +2858,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2769
2858
  }[];
2770
2859
  }, {
2771
2860
  run: {
2772
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting";
2861
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "queued" | "running";
2773
2862
  projectId: string;
2774
2863
  id: string;
2775
2864
  requestedBy: {
@@ -2785,7 +2874,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2785
2874
  output?: Record<string, import("./common").JsonValue> | undefined;
2786
2875
  };
2787
2876
  nodes: {
2788
- status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2877
+ status: "succeeded" | "failed" | "cancelled" | "waiting" | "running";
2789
2878
  projectId: string;
2790
2879
  id: string;
2791
2880
  startedAt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/schemas/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAGjB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAMvB,eAAO,MAAM,wBAAwB,+GAA4B,CAAA;AAMjE,eAAO,MAAM,oBAAoB;;;;;;EAE/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;EAE3C,CAAA;AAEF,eAAO,MAAM,uBAAuB,iFAOlC,CAAA;AAEF,eAAO,MAAM,gCAAgC,6DAK3C,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa3C,CAAA;AAEF,eAAO,MAAM,4BAA4B;;IAGrC,8FAA8F;;;;;;;;GAGpF,CAAA;AAEd,eAAO,MAAM,2BAA2B,8DAA2B,CAAA;AAEnE,eAAO,MAAM,oCAAoC;;;;;;EAE/C,CAAA;AAEF,eAAO,MAAM,oCAAoC,8DAA2B,CAAA;AAuC5E,eAAO,MAAM,wBAAwB;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkC,CAAA;AAE9E,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjD,CAAA;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnD,CAAA;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEnD,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAA"}
package/dist/server.d.ts CHANGED
@@ -3,6 +3,7 @@ import { Elysia } from "elysia";
3
3
  import { type AuthInvitationRedirectContext, type AuthInvitationRedirectInput, type RequestAuthContext, type ResolveAuthRedirectContext, type ResolvedSixbApiBrowserPolicy, type SixbApiBrowserPolicy } from "./auth/browser-origin";
4
4
  import type { SixbAuthExperienceOptions } from "./auth/experience";
5
5
  import { type SixbSharedAccessOptions } from "./auth/shared-access";
6
+ import { type SixbRequestTimingOptions } from "./utils/request-timing";
6
7
  export declare const MAX_WEBSOCKET_MESSAGE_BYTES: number;
7
8
  export interface SixbServerOptions {
8
9
  host: SixbHostView;
@@ -19,6 +20,8 @@ export interface SixbServerOptions {
19
20
  * `"private"` for loopback, private, and link-local networks. Defaults to `["private"]`.
20
21
  */
21
22
  trustedProxies?: readonly string[];
23
+ /** Where requests spend their time: a `Server-Timing` header and a log of slow requests. */
24
+ timing?: SixbRequestTimingOptions;
22
25
  }
23
26
  export declare function createSixbServer(options: SixbServerOptions): SixbServer;
24
27
  export declare class SixbServer {
@@ -32,6 +35,7 @@ export declare class SixbServer {
32
35
  private readonly authExperience?;
33
36
  private readonly sharedAccessOptions;
34
37
  private readonly resolveClientAddress;
38
+ private readonly timing;
35
39
  private app;
36
40
  private bunServer;
37
41
  private maintenance;