@sixb/server 0.1.8 → 0.1.9
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 +36 -32
- package/dist/index.js.map +8 -8
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/workflows.d.ts +6 -6
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/ai-accounting.d.ts +332 -24
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/common.d.ts +6 -0
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/workflows.d.ts +16 -16
- package/package.json +7 -7
- package/src/routes/agents.ts +1 -1
- package/src/routes/files.ts +2 -6
- package/src/routes/ws/agents.ts +5 -3
- package/src/routes/ws/events.ts +1 -1
- package/src/schemas/ai-accounting.ts +3 -0
- package/src/schemas/common.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,YAAY,EAElB,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/routes/files.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,YAAY,EAElB,MAAM,YAAY,CAAA;AAInB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqBpC,eAAO,MAAM,qCAAqC,QAAiD,CAAA;AAEnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgajE"}
|
package/dist/routes/logs.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare function registerLogRoutes(app: Elysia, _host: SixbHostView): Ely
|
|
|
22
22
|
body: unknown;
|
|
23
23
|
params: {};
|
|
24
24
|
query: {
|
|
25
|
-
kind?: "workflow" | "agent" | "
|
|
25
|
+
kind?: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection" | undefined;
|
|
26
26
|
runId?: string | undefined;
|
|
27
27
|
limit?: number | undefined;
|
|
28
28
|
afterCursor?: string | undefined;
|
|
@@ -40,7 +40,7 @@ export declare function registerLogRoutes(app: Elysia, _host: SixbHostView): Ely
|
|
|
40
40
|
context: {
|
|
41
41
|
run: {
|
|
42
42
|
id: string;
|
|
43
|
-
kind: "workflow" | "agent" | "
|
|
43
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
44
44
|
};
|
|
45
45
|
phase?: string | undefined;
|
|
46
46
|
attempt?: number | undefined;
|
|
@@ -174,8 +174,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
174
174
|
offset?: string | undefined;
|
|
175
175
|
order?: "asc" | "desc" | undefined;
|
|
176
176
|
workflowId?: string | undefined;
|
|
177
|
-
nodeRunId?: string | undefined;
|
|
178
177
|
workflowRunId?: string | undefined;
|
|
178
|
+
nodeRunId?: string | undefined;
|
|
179
179
|
interventionId?: string | undefined;
|
|
180
180
|
nodeId?: string | undefined;
|
|
181
181
|
nodeKey?: string | undefined;
|
|
@@ -193,8 +193,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
193
193
|
id: string;
|
|
194
194
|
input: Record<string, import("../schemas/common").JsonValue>;
|
|
195
195
|
workflowId: string;
|
|
196
|
-
nodeRunId: string;
|
|
197
196
|
workflowRunId: string;
|
|
197
|
+
nodeRunId: string;
|
|
198
198
|
interventionId: string;
|
|
199
199
|
nodeId: string;
|
|
200
200
|
nodeKey: string;
|
|
@@ -253,8 +253,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
253
253
|
id: string;
|
|
254
254
|
input: Record<string, import("../schemas/common").JsonValue>;
|
|
255
255
|
workflowId: string;
|
|
256
|
-
nodeRunId: string;
|
|
257
256
|
workflowRunId: string;
|
|
257
|
+
nodeRunId: string;
|
|
258
258
|
interventionId: string;
|
|
259
259
|
nodeId: string;
|
|
260
260
|
nodeKey: string;
|
|
@@ -323,8 +323,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
323
323
|
id: string;
|
|
324
324
|
input: Record<string, import("../schemas/common").JsonValue>;
|
|
325
325
|
workflowId: string;
|
|
326
|
-
nodeRunId: string;
|
|
327
326
|
workflowRunId: string;
|
|
327
|
+
nodeRunId: string;
|
|
328
328
|
interventionId: string;
|
|
329
329
|
nodeId: string;
|
|
330
330
|
nodeKey: string;
|
|
@@ -363,8 +363,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
363
363
|
id: string;
|
|
364
364
|
input: Record<string, import("../schemas/common").JsonValue>;
|
|
365
365
|
workflowId: string;
|
|
366
|
-
nodeRunId: string;
|
|
367
366
|
workflowRunId: string;
|
|
367
|
+
nodeRunId: string;
|
|
368
368
|
interventionId: string;
|
|
369
369
|
nodeId: string;
|
|
370
370
|
nodeKey: string;
|
|
@@ -421,8 +421,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
|
|
|
421
421
|
id: string;
|
|
422
422
|
input: Record<string, import("../schemas/common").JsonValue>;
|
|
423
423
|
workflowId: string;
|
|
424
|
-
nodeRunId: string;
|
|
425
424
|
workflowRunId: string;
|
|
425
|
+
nodeRunId: string;
|
|
426
426
|
interventionId: string;
|
|
427
427
|
nodeId: string;
|
|
428
428
|
nodeKey: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/agents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAEL,KAAK,qBAAqB,
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/agents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAEL,KAAK,qBAAqB,EAE3B,MAAM,2BAA2B,CAAA;AAOlC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAA;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAgC9C,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK5B,CAAA;AAMF,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GACpD;IACE,EAAE,EAAE,IAAI,CAAA;IACR,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;CAC/C,GACD;IACE,EAAE,EAAE,KAAK,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;CACd,CAcJ;AAED,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC,EACrC,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC,CAMxD;AAED,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,IAAI,CAAC,SAAS,cAAc,EAAE,CAAC,EACrC,KAAK,EAAE,qBAAqB,GAC3B,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCxE"}
|
package/dist/routes/ws/logs.d.ts
CHANGED
|
@@ -10,46 +10,46 @@ declare const SubscriptionMessageSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
10
10
|
id: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
id: string;
|
|
13
|
-
kind: "workflow" | "agent" | "
|
|
13
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
14
14
|
}, {
|
|
15
15
|
id: string;
|
|
16
|
-
kind: "workflow" | "agent" | "
|
|
16
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
17
17
|
}>>;
|
|
18
18
|
afterCursor: z.ZodOptional<z.ZodString>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
type: "subscribe";
|
|
21
21
|
run?: {
|
|
22
22
|
id: string;
|
|
23
|
-
kind: "workflow" | "agent" | "
|
|
23
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
24
24
|
} | undefined;
|
|
25
|
-
kinds?: ("workflow" | "agent" | "
|
|
25
|
+
kinds?: ("workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
26
26
|
afterCursor?: string | undefined;
|
|
27
27
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
type: "subscribe";
|
|
30
30
|
run?: {
|
|
31
31
|
id: string;
|
|
32
|
-
kind: "workflow" | "agent" | "
|
|
32
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
33
33
|
} | undefined;
|
|
34
|
-
kinds?: ("workflow" | "agent" | "
|
|
34
|
+
kinds?: ("workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
35
35
|
afterCursor?: string | undefined;
|
|
36
36
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
type: "subscribe";
|
|
39
39
|
run?: {
|
|
40
40
|
id: string;
|
|
41
|
-
kind: "workflow" | "agent" | "
|
|
41
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
42
42
|
} | undefined;
|
|
43
|
-
kinds?: ("workflow" | "agent" | "
|
|
43
|
+
kinds?: ("workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
44
44
|
afterCursor?: string | undefined;
|
|
45
45
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
type: "subscribe";
|
|
48
48
|
run?: {
|
|
49
49
|
id: string;
|
|
50
|
-
kind: "workflow" | "agent" | "
|
|
50
|
+
kind: "workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection";
|
|
51
51
|
} | undefined;
|
|
52
|
-
kinds?: ("workflow" | "agent" | "
|
|
52
|
+
kinds?: ("workflow" | "agent" | "action" | "webhook" | "sync" | "pipeline" | "projection")[] | undefined;
|
|
53
53
|
afterCursor?: string | undefined;
|
|
54
54
|
levels?: ("error" | "debug" | "info" | "warn")[] | undefined;
|
|
55
55
|
}>, z.ZodObject<{
|