@sixb/server 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,7 @@ export declare const SyncRunsQuerySchema: z.ZodObject<{
18
18
  offset: z.ZodOptional<z.ZodString>;
19
19
  order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
20
20
  }, "strip", z.ZodTypeAny, {
21
- status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | undefined;
21
+ status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
22
22
  startedAfter?: string | undefined;
23
23
  startedBefore?: string | undefined;
24
24
  limit?: string | undefined;
@@ -27,7 +27,7 @@ export declare const SyncRunsQuerySchema: z.ZodObject<{
27
27
  datasetId?: string | undefined;
28
28
  syncId?: string | undefined;
29
29
  }, {
30
- status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | undefined;
30
+ status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
31
31
  startedAfter?: string | undefined;
32
32
  startedBefore?: string | undefined;
33
33
  limit?: string | undefined;
@@ -71,7 +71,7 @@ export declare const SyncRunSchema: z.ZodObject<{
71
71
  commitMessage: z.ZodOptional<z.ZodString>;
72
72
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">>>;
73
73
  }, "strip", z.ZodTypeAny, {
74
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
74
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
75
75
  projectId: string;
76
76
  id: string;
77
77
  mode: "append" | "merge" | "snapshot";
@@ -89,7 +89,7 @@ export declare const SyncRunSchema: z.ZodObject<{
89
89
  commitMessage?: string | undefined;
90
90
  rowsRead?: number | undefined;
91
91
  }, {
92
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
92
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
93
93
  projectId: string;
94
94
  id: string;
95
95
  mode: "append" | "merge" | "snapshot";
@@ -250,7 +250,7 @@ export declare const SyncSchema: z.ZodObject<{
250
250
  commitMessage: z.ZodOptional<z.ZodString>;
251
251
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">>>;
252
252
  }, "strip", z.ZodTypeAny, {
253
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
253
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
254
254
  projectId: string;
255
255
  id: string;
256
256
  mode: "append" | "merge" | "snapshot";
@@ -268,7 +268,7 @@ export declare const SyncSchema: z.ZodObject<{
268
268
  commitMessage?: string | undefined;
269
269
  rowsRead?: number | undefined;
270
270
  }, {
271
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
271
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
272
272
  projectId: string;
273
273
  id: string;
274
274
  mode: "append" | "merge" | "snapshot";
@@ -298,7 +298,7 @@ export declare const SyncSchema: z.ZodObject<{
298
298
  scheduleId: string;
299
299
  }[];
300
300
  latestRun: {
301
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
301
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
302
302
  projectId: string;
303
303
  id: string;
304
304
  mode: "append" | "merge" | "snapshot";
@@ -345,7 +345,7 @@ export declare const SyncSchema: z.ZodObject<{
345
345
  scheduleId: string;
346
346
  }[];
347
347
  latestRun: {
348
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
348
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
349
349
  projectId: string;
350
350
  id: string;
351
351
  mode: "append" | "merge" | "snapshot";
@@ -407,7 +407,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
407
407
  commitMessage: z.ZodOptional<z.ZodString>;
408
408
  error: z.ZodOptional<z.ZodType<SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">, z.ZodTypeDef, SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed">>>;
409
409
  }, "strip", z.ZodTypeAny, {
410
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
410
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
411
411
  projectId: string;
412
412
  id: string;
413
413
  mode: "append" | "merge" | "snapshot";
@@ -425,7 +425,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
425
425
  commitMessage?: string | undefined;
426
426
  rowsRead?: number | undefined;
427
427
  }, {
428
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
428
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
429
429
  projectId: string;
430
430
  id: string;
431
431
  mode: "append" | "merge" | "snapshot";
@@ -447,7 +447,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
447
447
  total: z.ZodNumber;
448
448
  }, "strip", z.ZodTypeAny, {
449
449
  runs: {
450
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
450
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
451
451
  projectId: string;
452
452
  id: string;
453
453
  mode: "append" | "merge" | "snapshot";
@@ -469,7 +469,7 @@ export declare const SyncRunListResponseSchema: z.ZodObject<{
469
469
  total: number;
470
470
  }, {
471
471
  runs: {
472
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
472
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
473
473
  projectId: string;
474
474
  id: string;
475
475
  mode: "append" | "merge" | "snapshot";
@@ -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" | "waiting" | "queued" | "running" | undefined;
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" | "waiting" | "queued" | "running" | undefined;
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "queued" | "running";
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" | "queued" | "running";
328
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
329
329
  attempt: number;
330
330
  modelId?: string | undefined;
331
331
  startedAt?: string | 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" | "queued" | "running";
1027
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
1028
1028
  createdAt: string;
1029
1029
  prompt: string;
1030
1030
  attempt: number;
@@ -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" | "queued" | "running";
1194
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
1195
1195
  createdAt: string;
1196
1196
  prompt: string;
1197
1197
  attempt: number;
@@ -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" | "queued" | "running";
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" | "queued" | "running";
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" | "waiting" | "running";
1526
+ status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
1527
1527
  projectId: string;
1528
1528
  id: string;
1529
1529
  startedAt: string;
@@ -1536,7 +1536,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
1536
1536
  nodeType: "agent" | "action" | "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" | "queued" | "running";
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" | "waiting" | "running";
1574
+ status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
1575
1575
  projectId: string;
1576
1576
  id: string;
1577
1577
  startedAt: string;
@@ -1584,7 +1584,7 @@ export declare const WorkflowNodeRunSchema: z.ZodObject<{
1584
1584
  nodeType: "agent" | "action" | "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" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "queued" | "running";
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" | "queued" | "running";
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" | "waiting" | "running";
2249
+ status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2250
2250
  projectId: string;
2251
2251
  id: string;
2252
2252
  startedAt: string;
@@ -2259,7 +2259,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
2259
2259
  nodeType: "agent" | "action" | "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" | "queued" | "running";
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" | "waiting" | "running";
2297
+ status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2298
2298
  projectId: string;
2299
2299
  id: string;
2300
2300
  startedAt: string;
@@ -2307,7 +2307,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
2307
2307
  nodeType: "agent" | "action" | "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" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "running";
2363
+ status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2364
2364
  projectId: string;
2365
2365
  id: string;
2366
2366
  startedAt: string;
@@ -2373,7 +2373,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
2373
2373
  nodeType: "agent" | "action" | "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" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "running";
2429
+ status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2430
2430
  projectId: string;
2431
2431
  id: string;
2432
2432
  startedAt: string;
@@ -2439,7 +2439,7 @@ export declare const WorkflowRunDetailResponseSchema: z.ZodObject<{
2439
2439
  nodeType: "agent" | "action" | "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" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "queued" | "running";
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" | "queued" | "running";
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" | "waiting" | "running";
2697
+ status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2698
2698
  projectId: string;
2699
2699
  id: string;
2700
2700
  startedAt: string;
@@ -2707,7 +2707,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2707
2707
  nodeType: "agent" | "action" | "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" | "queued" | "running";
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" | "waiting" | "running";
2745
+ status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2746
2746
  projectId: string;
2747
2747
  id: string;
2748
2748
  startedAt: string;
@@ -2755,7 +2755,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2755
2755
  nodeType: "agent" | "action" | "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" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "running";
2811
+ status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2812
2812
  projectId: string;
2813
2813
  id: string;
2814
2814
  startedAt: string;
@@ -2821,7 +2821,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2821
2821
  nodeType: "agent" | "action" | "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" | "queued" | "running";
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" | "waiting" | "queued" | "running";
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" | "waiting" | "running";
2877
+ status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
2878
2878
  projectId: string;
2879
2879
  id: string;
2880
2880
  startedAt: string;
@@ -2887,7 +2887,7 @@ export declare const CancelWorkflowRunResponseSchema: z.ZodObject<{
2887
2887
  nodeType: "agent" | "action" | "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" | "queued" | "running";
2890
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
2891
2891
  attempt: number;
2892
2892
  modelId?: string | undefined;
2893
2893
  startedAt?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sixb/server",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "HTTP and WebSocket API server for Sixb",
5
5
  "keywords": [
6
6
  "sixb",
@@ -38,14 +38,14 @@
38
38
  "zod-to-json-schema": "^3.24.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "@sixb/core": "0.2.1"
41
+ "@sixb/core": "0.2.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@sixb/auth-magic-link": "0.2.0",
45
45
  "@sixb/auth-oidc": "0.2.0",
46
- "@sixb/cli-core": "0.2.0",
47
- "@sixb/core": "0.2.1",
48
- "@sixb/sqlite": "0.2.1",
46
+ "@sixb/cli-core": "0.2.1",
47
+ "@sixb/core": "0.2.2",
48
+ "@sixb/sqlite": "0.2.2",
49
49
  "@types/bun": "latest",
50
50
  "typescript": "^5.7.0"
51
51
  },