@sixb/server 0.2.0 → 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.
- package/dist/index.js +140 -25
- package/dist/index.js.map +6 -6
- package/dist/routes/agent-approvals.d.ts +11 -1
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-children.d.ts +2 -2
- package/dist/routes/agent-computers.d.ts +114 -1
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +104 -12
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +14 -4
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +5 -5
- package/dist/routes/projections.d.ts +25 -25
- package/dist/routes/syncs.d.ts +4 -4
- package/dist/routes/workflows.d.ts +11 -11
- package/dist/schemas/activity.d.ts +8 -8
- package/dist/schemas/agents.d.ts +447 -42
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +29 -29
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +16 -16
- package/dist/schemas/projections.d.ts +146 -146
- package/dist/schemas/syncs.d.ts +12 -12
- package/dist/schemas/workflows.d.ts +52 -52
- package/package.json +5 -5
- package/src/routes/agent-computers.ts +149 -13
- package/src/routes/agents.ts +52 -7
- package/src/schemas/agents.ts +60 -1
- package/src/schemas/ai-accounting.ts +1 -0
|
@@ -36,7 +36,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
36
36
|
sourceField?: string | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
latestRun: {
|
|
39
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
39
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
40
40
|
projectId: string;
|
|
41
41
|
id: string;
|
|
42
42
|
queuedAt: string;
|
|
@@ -67,7 +67,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
67
67
|
startedAt?: string | undefined;
|
|
68
68
|
finishedAt?: string | undefined;
|
|
69
69
|
} | {
|
|
70
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
70
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
71
71
|
projectId: string;
|
|
72
72
|
id: string;
|
|
73
73
|
queuedAt: string;
|
|
@@ -99,7 +99,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
99
99
|
startedAt?: string | undefined;
|
|
100
100
|
finishedAt?: string | undefined;
|
|
101
101
|
} | {
|
|
102
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
102
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
103
103
|
projectId: string;
|
|
104
104
|
id: string;
|
|
105
105
|
queuedAt: string;
|
|
@@ -144,7 +144,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
144
144
|
id: string;
|
|
145
145
|
targetObjectTypeId: string;
|
|
146
146
|
latestRun: {
|
|
147
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
147
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
148
148
|
projectId: string;
|
|
149
149
|
id: string;
|
|
150
150
|
queuedAt: string;
|
|
@@ -175,7 +175,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
175
175
|
startedAt?: string | undefined;
|
|
176
176
|
finishedAt?: string | undefined;
|
|
177
177
|
} | {
|
|
178
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
178
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
179
179
|
projectId: string;
|
|
180
180
|
id: string;
|
|
181
181
|
queuedAt: string;
|
|
@@ -207,7 +207,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
207
207
|
startedAt?: string | undefined;
|
|
208
208
|
finishedAt?: string | undefined;
|
|
209
209
|
} | {
|
|
210
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
210
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
211
211
|
projectId: string;
|
|
212
212
|
id: string;
|
|
213
213
|
queuedAt: string;
|
|
@@ -253,7 +253,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
253
253
|
}>;
|
|
254
254
|
objectTypeId: string;
|
|
255
255
|
latestRun: {
|
|
256
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
256
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
257
257
|
projectId: string;
|
|
258
258
|
id: string;
|
|
259
259
|
queuedAt: string;
|
|
@@ -284,7 +284,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
284
284
|
startedAt?: string | undefined;
|
|
285
285
|
finishedAt?: string | undefined;
|
|
286
286
|
} | {
|
|
287
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
287
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
288
288
|
projectId: string;
|
|
289
289
|
id: string;
|
|
290
290
|
queuedAt: string;
|
|
@@ -316,7 +316,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
316
316
|
startedAt?: string | undefined;
|
|
317
317
|
finishedAt?: string | undefined;
|
|
318
318
|
} | {
|
|
319
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
319
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
320
320
|
projectId: string;
|
|
321
321
|
id: string;
|
|
322
322
|
queuedAt: string;
|
|
@@ -389,7 +389,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
389
389
|
sourceField?: string | undefined;
|
|
390
390
|
}>;
|
|
391
391
|
latestRun: {
|
|
392
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
392
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
393
393
|
projectId: string;
|
|
394
394
|
id: string;
|
|
395
395
|
queuedAt: string;
|
|
@@ -420,7 +420,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
420
420
|
startedAt?: string | undefined;
|
|
421
421
|
finishedAt?: string | undefined;
|
|
422
422
|
} | {
|
|
423
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
423
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
424
424
|
projectId: string;
|
|
425
425
|
id: string;
|
|
426
426
|
queuedAt: string;
|
|
@@ -452,7 +452,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
452
452
|
startedAt?: string | undefined;
|
|
453
453
|
finishedAt?: string | undefined;
|
|
454
454
|
} | {
|
|
455
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
455
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
456
456
|
projectId: string;
|
|
457
457
|
id: string;
|
|
458
458
|
queuedAt: string;
|
|
@@ -496,7 +496,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
496
496
|
id: string;
|
|
497
497
|
targetObjectTypeId: string;
|
|
498
498
|
latestRun: {
|
|
499
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
499
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
500
500
|
projectId: string;
|
|
501
501
|
id: string;
|
|
502
502
|
queuedAt: string;
|
|
@@ -527,7 +527,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
527
527
|
startedAt?: string | undefined;
|
|
528
528
|
finishedAt?: string | undefined;
|
|
529
529
|
} | {
|
|
530
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
530
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
531
531
|
projectId: string;
|
|
532
532
|
id: string;
|
|
533
533
|
queuedAt: string;
|
|
@@ -559,7 +559,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
559
559
|
startedAt?: string | undefined;
|
|
560
560
|
finishedAt?: string | undefined;
|
|
561
561
|
} | {
|
|
562
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
562
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
563
563
|
projectId: string;
|
|
564
564
|
id: string;
|
|
565
565
|
queuedAt: string;
|
|
@@ -604,7 +604,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
604
604
|
}>;
|
|
605
605
|
objectTypeId: string;
|
|
606
606
|
latestRun: {
|
|
607
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
607
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
608
608
|
projectId: string;
|
|
609
609
|
id: string;
|
|
610
610
|
queuedAt: string;
|
|
@@ -635,7 +635,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
635
635
|
startedAt?: string | undefined;
|
|
636
636
|
finishedAt?: string | undefined;
|
|
637
637
|
} | {
|
|
638
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
638
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
639
639
|
projectId: string;
|
|
640
640
|
id: string;
|
|
641
641
|
queuedAt: string;
|
|
@@ -667,7 +667,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
667
667
|
startedAt?: string | undefined;
|
|
668
668
|
finishedAt?: string | undefined;
|
|
669
669
|
} | {
|
|
670
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
670
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
671
671
|
projectId: string;
|
|
672
672
|
id: string;
|
|
673
673
|
queuedAt: string;
|
|
@@ -727,7 +727,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
727
727
|
body: unknown;
|
|
728
728
|
params: {};
|
|
729
729
|
query: {
|
|
730
|
-
status?: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
730
|
+
status?: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued" | undefined;
|
|
731
731
|
startedAfter?: string | undefined;
|
|
732
732
|
startedBefore?: string | undefined;
|
|
733
733
|
limit?: string | undefined;
|
|
@@ -742,7 +742,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
742
742
|
response: {
|
|
743
743
|
200: {
|
|
744
744
|
runs: ({
|
|
745
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
745
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
746
746
|
projectId: string;
|
|
747
747
|
id: string;
|
|
748
748
|
queuedAt: string;
|
|
@@ -773,7 +773,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
773
773
|
startedAt?: string | undefined;
|
|
774
774
|
finishedAt?: string | undefined;
|
|
775
775
|
} | {
|
|
776
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
776
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
777
777
|
projectId: string;
|
|
778
778
|
id: string;
|
|
779
779
|
queuedAt: string;
|
|
@@ -805,7 +805,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
805
805
|
startedAt?: string | undefined;
|
|
806
806
|
finishedAt?: string | undefined;
|
|
807
807
|
} | {
|
|
808
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
808
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
809
809
|
projectId: string;
|
|
810
810
|
id: string;
|
|
811
811
|
queuedAt: string;
|
|
@@ -871,7 +871,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
871
871
|
headers: unknown;
|
|
872
872
|
response: {
|
|
873
873
|
200: {
|
|
874
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
874
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
875
875
|
projectId: string;
|
|
876
876
|
id: string;
|
|
877
877
|
queuedAt: string;
|
|
@@ -902,7 +902,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
902
902
|
startedAt?: string | undefined;
|
|
903
903
|
finishedAt?: string | undefined;
|
|
904
904
|
} | {
|
|
905
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
905
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
906
906
|
projectId: string;
|
|
907
907
|
id: string;
|
|
908
908
|
queuedAt: string;
|
|
@@ -934,7 +934,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
|
|
|
934
934
|
startedAt?: string | undefined;
|
|
935
935
|
finishedAt?: string | undefined;
|
|
936
936
|
} | {
|
|
937
|
-
status: "succeeded" | "failed" | "cancelled" | "superseded" | "
|
|
937
|
+
status: "succeeded" | "failed" | "cancelled" | "superseded" | "running" | "queued";
|
|
938
938
|
projectId: string;
|
|
939
939
|
id: string;
|
|
940
940
|
queuedAt: string;
|
package/dist/routes/syncs.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
36
36
|
scheduleId: string;
|
|
37
37
|
}[];
|
|
38
38
|
latestRun: {
|
|
39
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
39
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
40
40
|
projectId: string;
|
|
41
41
|
id: string;
|
|
42
42
|
mode: "append" | "merge" | "snapshot";
|
|
@@ -109,7 +109,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
109
109
|
scheduleId: string;
|
|
110
110
|
}[];
|
|
111
111
|
latestRun: {
|
|
112
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
112
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
113
113
|
projectId: string;
|
|
114
114
|
id: string;
|
|
115
115
|
mode: "append" | "merge" | "snapshot";
|
|
@@ -169,7 +169,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
169
169
|
body: unknown;
|
|
170
170
|
params: {};
|
|
171
171
|
query: {
|
|
172
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
172
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
|
|
173
173
|
startedAfter?: string | undefined;
|
|
174
174
|
startedBefore?: string | undefined;
|
|
175
175
|
limit?: string | undefined;
|
|
@@ -182,7 +182,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
182
182
|
response: {
|
|
183
183
|
200: {
|
|
184
184
|
runs: {
|
|
185
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
185
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
186
186
|
projectId: string;
|
|
187
187
|
id: string;
|
|
188
188
|
mode: "append" | "merge" | "snapshot";
|
|
@@ -58,7 +58,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
58
58
|
output: Record<string, import("../schemas/common").JsonValue>;
|
|
59
59
|
})[];
|
|
60
60
|
latestRun: {
|
|
61
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
61
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
62
62
|
projectId: string;
|
|
63
63
|
id: string;
|
|
64
64
|
requestedBy: {
|
|
@@ -131,7 +131,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
131
131
|
output: Record<string, import("../schemas/common").JsonValue>;
|
|
132
132
|
})[];
|
|
133
133
|
latestRun: {
|
|
134
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
134
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
135
135
|
projectId: string;
|
|
136
136
|
id: string;
|
|
137
137
|
requestedBy: {
|
|
@@ -475,7 +475,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
475
475
|
body: unknown;
|
|
476
476
|
params: {};
|
|
477
477
|
query: {
|
|
478
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
478
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued" | undefined;
|
|
479
479
|
startedAfter?: string | undefined;
|
|
480
480
|
startedBefore?: string | undefined;
|
|
481
481
|
limit?: string | undefined;
|
|
@@ -487,7 +487,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
487
487
|
response: {
|
|
488
488
|
200: {
|
|
489
489
|
runs: {
|
|
490
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
490
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
491
491
|
projectId: string;
|
|
492
492
|
id: string;
|
|
493
493
|
requestedBy: {
|
|
@@ -536,7 +536,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
536
536
|
response: {
|
|
537
537
|
200: {
|
|
538
538
|
run: {
|
|
539
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
539
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
540
540
|
projectId: string;
|
|
541
541
|
id: string;
|
|
542
542
|
requestedBy: {
|
|
@@ -552,7 +552,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
552
552
|
output?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
553
553
|
};
|
|
554
554
|
nodes: {
|
|
555
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
555
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
556
556
|
projectId: string;
|
|
557
557
|
id: string;
|
|
558
558
|
startedAt: string;
|
|
@@ -565,7 +565,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
565
565
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
566
566
|
error?: import("@sixb/core").SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
567
567
|
agentExecution?: {
|
|
568
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
568
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
569
569
|
attempt: number;
|
|
570
570
|
modelId?: string | undefined;
|
|
571
571
|
startedAt?: string | undefined;
|
|
@@ -641,7 +641,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
641
641
|
headers: unknown;
|
|
642
642
|
response: {
|
|
643
643
|
200: {
|
|
644
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
644
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
645
645
|
createdAt: string;
|
|
646
646
|
prompt: string;
|
|
647
647
|
attempt: number;
|
|
@@ -849,7 +849,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
849
849
|
response: {
|
|
850
850
|
200: {
|
|
851
851
|
run: {
|
|
852
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
852
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued";
|
|
853
853
|
projectId: string;
|
|
854
854
|
id: string;
|
|
855
855
|
requestedBy: {
|
|
@@ -865,7 +865,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
865
865
|
output?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
866
866
|
};
|
|
867
867
|
nodes: {
|
|
868
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
868
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting";
|
|
869
869
|
projectId: string;
|
|
870
870
|
id: string;
|
|
871
871
|
startedAt: string;
|
|
@@ -878,7 +878,7 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
878
878
|
nodeType: "agent" | "action" | "step" | "intervention";
|
|
879
879
|
error?: import("@sixb/core").SixbFailure<"ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | "workflow.node_failed"> | undefined;
|
|
880
880
|
agentExecution?: {
|
|
881
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
881
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
882
882
|
attempt: number;
|
|
883
883
|
modelId?: string | undefined;
|
|
884
884
|
startedAt?: string | undefined;
|
|
@@ -623,7 +623,7 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
623
623
|
runVisible: z.ZodBoolean;
|
|
624
624
|
}, "strip", z.ZodTypeAny, {
|
|
625
625
|
at: string;
|
|
626
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
626
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued" | "incomplete";
|
|
627
627
|
kind: "workflow";
|
|
628
628
|
runId: string;
|
|
629
629
|
workflowId: string;
|
|
@@ -631,7 +631,7 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
631
631
|
runVisible: boolean;
|
|
632
632
|
}, {
|
|
633
633
|
at: string;
|
|
634
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
634
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued" | "incomplete";
|
|
635
635
|
kind: "workflow";
|
|
636
636
|
runId: string;
|
|
637
637
|
workflowId: string;
|
|
@@ -686,7 +686,7 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
686
686
|
}>>;
|
|
687
687
|
}, "strip", z.ZodTypeAny, {
|
|
688
688
|
at: string;
|
|
689
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
689
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
690
690
|
kind: "agent";
|
|
691
691
|
runId: string;
|
|
692
692
|
threadId: string;
|
|
@@ -706,7 +706,7 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
706
706
|
} | undefined;
|
|
707
707
|
}, {
|
|
708
708
|
at: string;
|
|
709
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
709
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
710
710
|
kind: "agent";
|
|
711
711
|
runId: string;
|
|
712
712
|
threadId: string;
|
|
@@ -752,7 +752,7 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
752
752
|
} | undefined;
|
|
753
753
|
} | {
|
|
754
754
|
at: string;
|
|
755
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
755
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued" | "incomplete";
|
|
756
756
|
kind: "workflow";
|
|
757
757
|
runId: string;
|
|
758
758
|
workflowId: string;
|
|
@@ -760,7 +760,7 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
760
760
|
runVisible: boolean;
|
|
761
761
|
} | {
|
|
762
762
|
at: string;
|
|
763
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
763
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
764
764
|
kind: "agent";
|
|
765
765
|
runId: string;
|
|
766
766
|
threadId: string;
|
|
@@ -846,7 +846,7 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
846
846
|
} | undefined;
|
|
847
847
|
} | {
|
|
848
848
|
at: string;
|
|
849
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
849
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "waiting" | "queued" | "incomplete";
|
|
850
850
|
kind: "workflow";
|
|
851
851
|
runId: string;
|
|
852
852
|
workflowId: string;
|
|
@@ -854,7 +854,7 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
854
854
|
runVisible: boolean;
|
|
855
855
|
} | {
|
|
856
856
|
at: string;
|
|
857
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
857
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
858
858
|
kind: "agent";
|
|
859
859
|
runId: string;
|
|
860
860
|
threadId: string;
|