@sixb/server 0.0.1 → 0.1.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.
- package/dist/auth/scope.d.ts +18 -8
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/files/content.d.ts +11 -0
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.js +2115 -2081
- package/dist/index.js.map +15 -15
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +21 -21
- package/dist/routes/auth.d.ts +6 -6
- package/dist/routes/datasets.d.ts +7 -5
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +6 -0
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/objects.d.ts +3 -0
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +24 -24
- package/dist/routes/pipelines.d.ts +4 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +7 -5
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +3 -0
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +61 -62
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/agents.d.ts +84 -84
- package/dist/schemas/auth.d.ts +26 -26
- package/dist/schemas/datasets.d.ts +27 -21
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/events.d.ts +12 -12
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/ontology.d.ts +88 -88
- package/dist/schemas/pipelines.d.ts +36 -0
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +23 -16
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +299 -246
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/auth/scope.ts +16 -2
- package/src/files/content.ts +11 -0
- package/src/routes/action-runs.ts +10 -3
- package/src/routes/agent-api-gateway.ts +46 -4
- package/src/routes/files.ts +2 -1
- package/src/routes/links.ts +1 -0
- package/src/routes/workflows.ts +39 -16
- package/src/schemas/datasets.ts +3 -2
- package/src/schemas/pipelines.ts +1 -25
- package/src/schemas/syncs.ts +3 -2
- package/src/schemas/workflows.ts +27 -20
- package/src/server.ts +1 -1
|
@@ -26,7 +26,7 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
26
26
|
response: {
|
|
27
27
|
200: {
|
|
28
28
|
id: string;
|
|
29
|
-
input: Record<string,
|
|
29
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
30
30
|
triggers: {
|
|
31
31
|
type: "schedule";
|
|
32
32
|
scheduleId: string;
|
|
@@ -34,39 +34,38 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
34
34
|
nodes: ({
|
|
35
35
|
type: "step";
|
|
36
36
|
id: string;
|
|
37
|
-
output: Record<string,
|
|
37
|
+
output: Record<string, import("../schemas/common").JsonValue>;
|
|
38
38
|
key: string;
|
|
39
|
-
input: Record<string,
|
|
39
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
40
40
|
} | {
|
|
41
41
|
type: "action";
|
|
42
|
-
params: Record<string,
|
|
42
|
+
params: Record<string, import("../schemas/common").JsonValue>;
|
|
43
43
|
id: string;
|
|
44
44
|
key: string;
|
|
45
45
|
objectTypeId?: string | undefined;
|
|
46
46
|
} | {
|
|
47
|
-
response: Record<string,
|
|
47
|
+
response: Record<string, import("../schemas/common").JsonValue>;
|
|
48
48
|
type: "intervention";
|
|
49
49
|
id: string;
|
|
50
50
|
key: string;
|
|
51
|
-
input: Record<string,
|
|
51
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
52
52
|
description?: string | undefined;
|
|
53
53
|
} | {
|
|
54
54
|
agentId: string;
|
|
55
55
|
type: "agent";
|
|
56
56
|
id: string;
|
|
57
|
-
output: Record<string,
|
|
57
|
+
output: Record<string, import("../schemas/common").JsonValue>;
|
|
58
58
|
key: string;
|
|
59
|
-
input: Record<string,
|
|
59
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
60
60
|
})[];
|
|
61
61
|
latestRun: {
|
|
62
62
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
63
63
|
projectId: string;
|
|
64
64
|
id: string;
|
|
65
65
|
startedAt: string;
|
|
66
|
-
input: Record<string, unknown>;
|
|
67
66
|
workflowId: string;
|
|
68
67
|
requestedBy: {
|
|
69
|
-
principalType: "
|
|
68
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
70
69
|
principalId: string;
|
|
71
70
|
};
|
|
72
71
|
error?: string | undefined;
|
|
@@ -101,7 +100,7 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
101
100
|
response: {
|
|
102
101
|
200: {
|
|
103
102
|
id: string;
|
|
104
|
-
input: Record<string,
|
|
103
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
105
104
|
triggers: {
|
|
106
105
|
type: "schedule";
|
|
107
106
|
scheduleId: string;
|
|
@@ -109,39 +108,38 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
109
108
|
nodes: ({
|
|
110
109
|
type: "step";
|
|
111
110
|
id: string;
|
|
112
|
-
output: Record<string,
|
|
111
|
+
output: Record<string, import("../schemas/common").JsonValue>;
|
|
113
112
|
key: string;
|
|
114
|
-
input: Record<string,
|
|
113
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
115
114
|
} | {
|
|
116
115
|
type: "action";
|
|
117
|
-
params: Record<string,
|
|
116
|
+
params: Record<string, import("../schemas/common").JsonValue>;
|
|
118
117
|
id: string;
|
|
119
118
|
key: string;
|
|
120
119
|
objectTypeId?: string | undefined;
|
|
121
120
|
} | {
|
|
122
|
-
response: Record<string,
|
|
121
|
+
response: Record<string, import("../schemas/common").JsonValue>;
|
|
123
122
|
type: "intervention";
|
|
124
123
|
id: string;
|
|
125
124
|
key: string;
|
|
126
|
-
input: Record<string,
|
|
125
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
127
126
|
description?: string | undefined;
|
|
128
127
|
} | {
|
|
129
128
|
agentId: string;
|
|
130
129
|
type: "agent";
|
|
131
130
|
id: string;
|
|
132
|
-
output: Record<string,
|
|
131
|
+
output: Record<string, import("../schemas/common").JsonValue>;
|
|
133
132
|
key: string;
|
|
134
|
-
input: Record<string,
|
|
133
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
135
134
|
})[];
|
|
136
135
|
latestRun: {
|
|
137
136
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
138
137
|
projectId: string;
|
|
139
138
|
id: string;
|
|
140
139
|
startedAt: string;
|
|
141
|
-
input: Record<string, unknown>;
|
|
142
140
|
workflowId: string;
|
|
143
141
|
requestedBy: {
|
|
144
|
-
principalType: "
|
|
142
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
145
143
|
principalId: string;
|
|
146
144
|
};
|
|
147
145
|
error?: string | undefined;
|
|
@@ -195,7 +193,7 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
195
193
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
196
194
|
projectId: string;
|
|
197
195
|
id: string;
|
|
198
|
-
input: Record<string,
|
|
196
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
199
197
|
workflowId: string;
|
|
200
198
|
nodeRunId: string;
|
|
201
199
|
nodeIndex: number;
|
|
@@ -204,18 +202,18 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
204
202
|
interventionId: string;
|
|
205
203
|
requestedAt: string;
|
|
206
204
|
workflowRunId: string;
|
|
207
|
-
defaultResponse: Record<string,
|
|
208
|
-
response?: Record<string,
|
|
205
|
+
defaultResponse: Record<string, import("../schemas/common").JsonValue>;
|
|
206
|
+
response?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
209
207
|
expiresAt?: string | undefined;
|
|
210
208
|
submittedAt?: string | undefined;
|
|
211
209
|
cancelledAt?: string | undefined;
|
|
212
210
|
expiredAt?: string | undefined;
|
|
213
211
|
submittedBy?: {
|
|
214
|
-
principalType: "
|
|
212
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
215
213
|
principalId: string;
|
|
216
214
|
} | undefined;
|
|
217
215
|
cancelledBy?: {
|
|
218
|
-
principalType: "
|
|
216
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
219
217
|
principalId: string;
|
|
220
218
|
} | undefined;
|
|
221
219
|
}[];
|
|
@@ -255,7 +253,7 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
255
253
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
256
254
|
projectId: string;
|
|
257
255
|
id: string;
|
|
258
|
-
input: Record<string,
|
|
256
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
259
257
|
workflowId: string;
|
|
260
258
|
nodeRunId: string;
|
|
261
259
|
nodeIndex: number;
|
|
@@ -264,18 +262,18 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
264
262
|
interventionId: string;
|
|
265
263
|
requestedAt: string;
|
|
266
264
|
workflowRunId: string;
|
|
267
|
-
defaultResponse: Record<string,
|
|
268
|
-
response?: Record<string,
|
|
265
|
+
defaultResponse: Record<string, import("../schemas/common").JsonValue>;
|
|
266
|
+
response?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
269
267
|
expiresAt?: string | undefined;
|
|
270
268
|
submittedAt?: string | undefined;
|
|
271
269
|
cancelledAt?: string | undefined;
|
|
272
270
|
expiredAt?: string | undefined;
|
|
273
271
|
submittedBy?: {
|
|
274
|
-
principalType: "
|
|
272
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
275
273
|
principalId: string;
|
|
276
274
|
} | undefined;
|
|
277
275
|
cancelledBy?: {
|
|
278
|
-
principalType: "
|
|
276
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
279
277
|
principalId: string;
|
|
280
278
|
} | undefined;
|
|
281
279
|
};
|
|
@@ -309,7 +307,7 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
309
307
|
submit: {
|
|
310
308
|
post: {
|
|
311
309
|
body: {
|
|
312
|
-
response: Record<string,
|
|
310
|
+
response: Record<string, import("../schemas/common").JsonValue>;
|
|
313
311
|
};
|
|
314
312
|
params: {
|
|
315
313
|
interventionId: string;
|
|
@@ -325,7 +323,7 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
325
323
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
326
324
|
projectId: string;
|
|
327
325
|
id: string;
|
|
328
|
-
input: Record<string,
|
|
326
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
329
327
|
workflowId: string;
|
|
330
328
|
nodeRunId: string;
|
|
331
329
|
nodeIndex: number;
|
|
@@ -334,18 +332,18 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
334
332
|
interventionId: string;
|
|
335
333
|
requestedAt: string;
|
|
336
334
|
workflowRunId: string;
|
|
337
|
-
defaultResponse: Record<string,
|
|
338
|
-
response?: Record<string,
|
|
335
|
+
defaultResponse: Record<string, import("../schemas/common").JsonValue>;
|
|
336
|
+
response?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
339
337
|
expiresAt?: string | undefined;
|
|
340
338
|
submittedAt?: string | undefined;
|
|
341
339
|
cancelledAt?: string | undefined;
|
|
342
340
|
expiredAt?: string | undefined;
|
|
343
341
|
submittedBy?: {
|
|
344
|
-
principalType: "
|
|
342
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
345
343
|
principalId: string;
|
|
346
344
|
} | undefined;
|
|
347
345
|
cancelledBy?: {
|
|
348
|
-
principalType: "
|
|
346
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
349
347
|
principalId: string;
|
|
350
348
|
} | undefined;
|
|
351
349
|
};
|
|
@@ -365,7 +363,7 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
365
363
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
366
364
|
projectId: string;
|
|
367
365
|
id: string;
|
|
368
|
-
input: Record<string,
|
|
366
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
369
367
|
workflowId: string;
|
|
370
368
|
nodeRunId: string;
|
|
371
369
|
nodeIndex: number;
|
|
@@ -374,18 +372,18 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
374
372
|
interventionId: string;
|
|
375
373
|
requestedAt: string;
|
|
376
374
|
workflowRunId: string;
|
|
377
|
-
defaultResponse: Record<string,
|
|
378
|
-
response?: Record<string,
|
|
375
|
+
defaultResponse: Record<string, import("../schemas/common").JsonValue>;
|
|
376
|
+
response?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
379
377
|
expiresAt?: string | undefined;
|
|
380
378
|
submittedAt?: string | undefined;
|
|
381
379
|
cancelledAt?: string | undefined;
|
|
382
380
|
expiredAt?: string | undefined;
|
|
383
381
|
submittedBy?: {
|
|
384
|
-
principalType: "
|
|
382
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
385
383
|
principalId: string;
|
|
386
384
|
} | undefined;
|
|
387
385
|
cancelledBy?: {
|
|
388
|
-
principalType: "
|
|
386
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
389
387
|
principalId: string;
|
|
390
388
|
} | undefined;
|
|
391
389
|
};
|
|
@@ -423,7 +421,7 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
423
421
|
status: "cancelled" | "expired" | "pending" | "submitted";
|
|
424
422
|
projectId: string;
|
|
425
423
|
id: string;
|
|
426
|
-
input: Record<string,
|
|
424
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
427
425
|
workflowId: string;
|
|
428
426
|
nodeRunId: string;
|
|
429
427
|
nodeIndex: number;
|
|
@@ -432,18 +430,18 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
432
430
|
interventionId: string;
|
|
433
431
|
requestedAt: string;
|
|
434
432
|
workflowRunId: string;
|
|
435
|
-
defaultResponse: Record<string,
|
|
436
|
-
response?: Record<string,
|
|
433
|
+
defaultResponse: Record<string, import("../schemas/common").JsonValue>;
|
|
434
|
+
response?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
437
435
|
expiresAt?: string | undefined;
|
|
438
436
|
submittedAt?: string | undefined;
|
|
439
437
|
cancelledAt?: string | undefined;
|
|
440
438
|
expiredAt?: string | undefined;
|
|
441
439
|
submittedBy?: {
|
|
442
|
-
principalType: "
|
|
440
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
443
441
|
principalId: string;
|
|
444
442
|
} | undefined;
|
|
445
443
|
cancelledBy?: {
|
|
446
|
-
principalType: "
|
|
444
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
447
445
|
principalId: string;
|
|
448
446
|
} | undefined;
|
|
449
447
|
};
|
|
@@ -495,10 +493,9 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
495
493
|
projectId: string;
|
|
496
494
|
id: string;
|
|
497
495
|
startedAt: string;
|
|
498
|
-
input: Record<string, unknown>;
|
|
499
496
|
workflowId: string;
|
|
500
497
|
requestedBy: {
|
|
501
|
-
principalType: "
|
|
498
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
502
499
|
principalId: string;
|
|
503
500
|
};
|
|
504
501
|
error?: string | undefined;
|
|
@@ -545,31 +542,29 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
545
542
|
projectId: string;
|
|
546
543
|
id: string;
|
|
547
544
|
startedAt: string;
|
|
548
|
-
input: Record<string,
|
|
545
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
549
546
|
workflowId: string;
|
|
550
547
|
requestedBy: {
|
|
551
|
-
principalType: "
|
|
548
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
552
549
|
principalId: string;
|
|
553
550
|
};
|
|
554
551
|
error?: string | undefined;
|
|
555
552
|
queuedAt?: string | undefined;
|
|
556
553
|
finishedAt?: string | undefined;
|
|
554
|
+
output?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
557
555
|
};
|
|
558
556
|
nodes: {
|
|
559
557
|
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
560
558
|
projectId: string;
|
|
561
559
|
id: string;
|
|
562
560
|
startedAt: string;
|
|
563
|
-
input: Record<string,
|
|
561
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
564
562
|
workflowId: string;
|
|
565
563
|
nodeIndex: number;
|
|
566
564
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
567
565
|
nodeId: string;
|
|
568
566
|
nodeKey: string;
|
|
569
567
|
workflowRunId: string;
|
|
570
|
-
error?: string | undefined;
|
|
571
|
-
finishedAt?: string | undefined;
|
|
572
|
-
output?: Record<string, unknown> | undefined;
|
|
573
568
|
agentExecution?: {
|
|
574
569
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
575
570
|
agentId: string;
|
|
@@ -580,6 +575,9 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
580
575
|
finishReason?: string | undefined;
|
|
581
576
|
usage?: Record<string, unknown> | undefined;
|
|
582
577
|
} | undefined;
|
|
578
|
+
error?: string | undefined;
|
|
579
|
+
finishedAt?: string | undefined;
|
|
580
|
+
output?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
583
581
|
}[];
|
|
584
582
|
};
|
|
585
583
|
400: {
|
|
@@ -632,7 +630,7 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
632
630
|
startedAt?: string | undefined;
|
|
633
631
|
completedAt?: string | undefined;
|
|
634
632
|
executionPrincipal?: {
|
|
635
|
-
principalType: "
|
|
633
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
636
634
|
principalId: string;
|
|
637
635
|
} | undefined;
|
|
638
636
|
modelId?: string | undefined;
|
|
@@ -686,31 +684,29 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
686
684
|
projectId: string;
|
|
687
685
|
id: string;
|
|
688
686
|
startedAt: string;
|
|
689
|
-
input: Record<string,
|
|
687
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
690
688
|
workflowId: string;
|
|
691
689
|
requestedBy: {
|
|
692
|
-
principalType: "
|
|
690
|
+
principalType: "user" | "serviceAccount" | "system";
|
|
693
691
|
principalId: string;
|
|
694
692
|
};
|
|
695
693
|
error?: string | undefined;
|
|
696
694
|
queuedAt?: string | undefined;
|
|
697
695
|
finishedAt?: string | undefined;
|
|
696
|
+
output?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
698
697
|
};
|
|
699
698
|
nodes: {
|
|
700
699
|
status: "running" | "succeeded" | "failed" | "cancelled" | "waiting";
|
|
701
700
|
projectId: string;
|
|
702
701
|
id: string;
|
|
703
702
|
startedAt: string;
|
|
704
|
-
input: Record<string,
|
|
703
|
+
input: Record<string, import("../schemas/common").JsonValue>;
|
|
705
704
|
workflowId: string;
|
|
706
705
|
nodeIndex: number;
|
|
707
706
|
nodeType: "action" | "agent" | "step" | "intervention";
|
|
708
707
|
nodeId: string;
|
|
709
708
|
nodeKey: string;
|
|
710
709
|
workflowRunId: string;
|
|
711
|
-
error?: string | undefined;
|
|
712
|
-
finishedAt?: string | undefined;
|
|
713
|
-
output?: Record<string, unknown> | undefined;
|
|
714
710
|
agentExecution?: {
|
|
715
711
|
status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
|
|
716
712
|
agentId: string;
|
|
@@ -721,6 +717,9 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
721
717
|
finishReason?: string | undefined;
|
|
722
718
|
usage?: Record<string, unknown> | undefined;
|
|
723
719
|
} | undefined;
|
|
720
|
+
error?: string | undefined;
|
|
721
|
+
finishedAt?: string | undefined;
|
|
722
|
+
output?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
724
723
|
}[];
|
|
725
724
|
};
|
|
726
725
|
400: {
|
|
@@ -908,7 +907,7 @@ export declare function registerWorkflowRoutes(app: Elysia, sixb: Sixb<readonly
|
|
|
908
907
|
runs: {
|
|
909
908
|
post: {
|
|
910
909
|
body: {
|
|
911
|
-
input?: Record<string,
|
|
910
|
+
input?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
912
911
|
};
|
|
913
912
|
params: {
|
|
914
913
|
workflowId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/routes/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAGnB,KAAK,IAAI,EAGV,MAAM,YAAY,CAAA;AAcnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/routes/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAGnB,KAAK,IAAI,EAGV,MAAM,YAAY,CAAA;AAcnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA8gBpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwyBxF"}
|
package/dist/routes/ws/logs.d.ts
CHANGED
|
@@ -9,48 +9,48 @@ declare const SubscriptionMessageSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
9
9
|
kind: z.ZodEnum<["action", "agent", "pipeline", "projection", "sync", "webhook", "workflow"]>;
|
|
10
10
|
id: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
kind: "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection"
|
|
12
|
+
kind: "workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection";
|
|
13
13
|
id: string;
|
|
14
14
|
}, {
|
|
15
|
-
kind: "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection"
|
|
15
|
+
kind: "workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection";
|
|
16
16
|
id: string;
|
|
17
17
|
}>>;
|
|
18
18
|
afterCursor: z.ZodOptional<z.ZodString>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
type: "subscribe";
|
|
21
21
|
run?: {
|
|
22
|
-
kind: "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection"
|
|
22
|
+
kind: "workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection";
|
|
23
23
|
id: string;
|
|
24
24
|
} | undefined;
|
|
25
25
|
afterCursor?: string | undefined;
|
|
26
|
-
kinds?: ("action" | "agent" | "webhook" | "sync" | "pipeline" | "projection"
|
|
26
|
+
kinds?: ("workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
27
27
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
type: "subscribe";
|
|
30
30
|
run?: {
|
|
31
|
-
kind: "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection"
|
|
31
|
+
kind: "workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection";
|
|
32
32
|
id: string;
|
|
33
33
|
} | undefined;
|
|
34
34
|
afterCursor?: string | undefined;
|
|
35
|
-
kinds?: ("action" | "agent" | "webhook" | "sync" | "pipeline" | "projection"
|
|
35
|
+
kinds?: ("workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
36
36
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
type: "subscribe";
|
|
39
39
|
run?: {
|
|
40
|
-
kind: "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection"
|
|
40
|
+
kind: "workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection";
|
|
41
41
|
id: string;
|
|
42
42
|
} | undefined;
|
|
43
43
|
afterCursor?: string | undefined;
|
|
44
|
-
kinds?: ("action" | "agent" | "webhook" | "sync" | "pipeline" | "projection"
|
|
44
|
+
kinds?: ("workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
45
45
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
type: "subscribe";
|
|
48
48
|
run?: {
|
|
49
|
-
kind: "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection"
|
|
49
|
+
kind: "workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection";
|
|
50
50
|
id: string;
|
|
51
51
|
} | undefined;
|
|
52
52
|
afterCursor?: string | undefined;
|
|
53
|
-
kinds?: ("action" | "agent" | "webhook" | "sync" | "pipeline" | "projection"
|
|
53
|
+
kinds?: ("workflow" | "action" | "agent" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
54
54
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
55
55
|
}>, z.ZodObject<{
|
|
56
56
|
type: z.ZodLiteral<"unsubscribe">;
|