@sixb/server 0.1.25 → 0.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/auth/public-routes.d.ts.map +1 -1
  2. package/dist/auth/run-token.d.ts +28 -0
  3. package/dist/auth/run-token.d.ts.map +1 -0
  4. package/dist/auth/scope.d.ts +11 -13
  5. package/dist/auth/scope.d.ts.map +1 -1
  6. package/dist/index.js +3240 -3042
  7. package/dist/index.js.map +29 -27
  8. package/dist/registerRoutes.d.ts.map +1 -1
  9. package/dist/routes/agent-approval-gate.d.ts +7 -4
  10. package/dist/routes/agent-approval-gate.d.ts.map +1 -1
  11. package/dist/routes/agent-approvals.d.ts +4 -1
  12. package/dist/routes/agent-approvals.d.ts.map +1 -1
  13. package/dist/routes/agent-computers.d.ts +134 -0
  14. package/dist/routes/agent-computers.d.ts.map +1 -0
  15. package/dist/routes/agent-runners.d.ts +74 -0
  16. package/dist/routes/agent-runners.d.ts.map +1 -0
  17. package/dist/routes/agents.d.ts +28 -0
  18. package/dist/routes/agents.d.ts.map +1 -1
  19. package/dist/routes/artifacts.d.ts +5 -28
  20. package/dist/routes/artifacts.d.ts.map +1 -1
  21. package/dist/routes/auth.d.ts +1 -1
  22. package/dist/routes/datasets.d.ts.map +1 -1
  23. package/dist/routes/observed-agent-threads.d.ts +3 -0
  24. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  25. package/dist/routes/pipelines.d.ts.map +1 -1
  26. package/dist/routes/projections.d.ts +2 -0
  27. package/dist/routes/projections.d.ts.map +1 -1
  28. package/dist/routes/shared-access.d.ts +2 -2
  29. package/dist/routes/syncs.d.ts +34 -34
  30. package/dist/routes/syncs.d.ts.map +1 -1
  31. package/dist/routes/users.d.ts +1 -0
  32. package/dist/routes/users.d.ts.map +1 -1
  33. package/dist/routes/workflows.d.ts +4 -4
  34. package/dist/schemas/agents.d.ts +79 -1
  35. package/dist/schemas/agents.d.ts.map +1 -1
  36. package/dist/schemas/auth.d.ts +2 -2
  37. package/dist/schemas/projections.d.ts +14 -0
  38. package/dist/schemas/projections.d.ts.map +1 -1
  39. package/dist/schemas/shared-access.d.ts +2 -2
  40. package/dist/schemas/syncs.d.ts +24 -24
  41. package/dist/schemas/users.d.ts +8 -0
  42. package/dist/schemas/users.d.ts.map +1 -1
  43. package/dist/server.d.ts +1 -0
  44. package/dist/server.d.ts.map +1 -1
  45. package/package.json +5 -5
  46. package/src/auth/public-routes.ts +0 -6
  47. package/src/auth/run-token.ts +327 -0
  48. package/src/auth/scope.ts +16 -37
  49. package/src/registerRoutes.ts +4 -2
  50. package/src/routes/agent-approval-gate.ts +40 -14
  51. package/src/routes/agent-approvals.ts +1 -1
  52. package/src/routes/agent-computers.ts +126 -0
  53. package/src/routes/agent-runners.ts +181 -0
  54. package/src/routes/agents.ts +7 -2
  55. package/src/routes/artifacts.ts +55 -11
  56. package/src/routes/datasets.ts +5 -0
  57. package/src/routes/pipelines.ts +5 -0
  58. package/src/routes/syncs.ts +4 -0
  59. package/src/routes/users.ts +15 -2
  60. package/src/schemas/agents.ts +16 -1
  61. package/src/schemas/artifacts.ts +1 -1
  62. package/src/schemas/projections.ts +2 -0
  63. package/src/schemas/users.ts +6 -0
  64. package/src/server.ts +35 -13
  65. package/dist/routes/agent-api-gateway.d.ts +0 -4
  66. package/dist/routes/agent-api-gateway.d.ts.map +0 -1
  67. package/src/routes/agent-api-gateway.ts +0 -404
@@ -1 +1 @@
1
- {"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/routes/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,YAAY,CAAA;AAOjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2LpC,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiLpE"}
1
+ {"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../src/routes/datasets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,YAAY,CAAA;AAOjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA4LpC,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqLpE"}
@@ -65,6 +65,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
65
65
  title?: string | undefined;
66
66
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
67
67
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
68
+ runsOn?: "computer" | undefined;
68
69
  sandboxState?: {
69
70
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
70
71
  name: string;
@@ -76,6 +77,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
76
77
  spawnedBy: string;
77
78
  } | undefined;
78
79
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
80
+ computerId?: string | undefined;
79
81
  lastMessageAt?: string | undefined;
80
82
  };
81
83
  404: {
@@ -421,6 +423,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
421
423
  } | undefined;
422
424
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
423
425
  parentRunId?: string | undefined;
426
+ runsOn?: "computer" | undefined;
424
427
  diagnostics?: {
425
428
  code: "step_limit_reached" | "output_limit_reached";
426
429
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"observed-agent-threads.d.ts","sourceRoot":"","sources":["../../src/routes/observed-agent-threads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyCpC;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiMhF"}
@@ -1 +1 @@
1
- {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyHpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8KrE"}
1
+ {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA0HpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkLrE"}
@@ -138,6 +138,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
138
138
  strategy: "mostRecent";
139
139
  sourceTimestamp: string;
140
140
  };
141
+ users?: Record<string, "email"> | undefined;
141
142
  }[];
142
143
  linkProjections: {
143
144
  id: string;
@@ -490,6 +491,7 @@ export declare function registerProjectionRoutes(app: Elysia, host: SixbHostView
490
491
  strategy: "mostRecent";
491
492
  sourceTimestamp: string;
492
493
  };
494
+ users?: Record<string, "email"> | undefined;
493
495
  } | {
494
496
  id: string;
495
497
  targetObjectTypeId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../src/routes/projections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAIV,YAAY,EAGb,MAAM,YAAY,CAAA;AAEnB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAmHpC,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgIvE"}
@@ -32,8 +32,8 @@ export declare function registerSharedAccessRoutes(app: Elysia, boundary: Shared
32
32
  response: {
33
33
  200: {
34
34
  grantId: string;
35
- csrfToken: string;
36
35
  expiresAt: string;
36
+ csrfToken: string;
37
37
  destinationPath: string;
38
38
  absoluteExpiresAt: string;
39
39
  };
@@ -73,8 +73,8 @@ export declare function registerSharedAccessRoutes(app: Elysia, boundary: Shared
73
73
  response: {
74
74
  200: {
75
75
  grantId: string;
76
- csrfToken: string;
77
76
  expiresAt: string;
77
+ csrfToken: string;
78
78
  destinationPath: string;
79
79
  absoluteExpiresAt: string;
80
80
  };
@@ -31,23 +31,6 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
31
31
  type: string;
32
32
  };
33
33
  mode: "append" | "merge" | "snapshot";
34
- target: {
35
- kind: "dataset";
36
- dataset: {
37
- id: string;
38
- schema: {
39
- columns: {
40
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
41
- name: string;
42
- nullable?: boolean | undefined;
43
- }[];
44
- };
45
- description?: string | undefined;
46
- primaryKey?: string | string[] | undefined;
47
- sequenceBy?: string | undefined;
48
- partitionBy?: string[] | undefined;
49
- };
50
- };
51
34
  triggers: {
52
35
  type: "schedule";
53
36
  scheduleId: string;
@@ -71,6 +54,23 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
71
54
  commitMessage?: string | undefined;
72
55
  rowsRead?: number | undefined;
73
56
  } | null;
57
+ target: {
58
+ kind: "dataset";
59
+ dataset: {
60
+ id: string;
61
+ schema: {
62
+ columns: {
63
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
64
+ name: string;
65
+ nullable?: boolean | undefined;
66
+ }[];
67
+ };
68
+ description?: string | undefined;
69
+ primaryKey?: string | string[] | undefined;
70
+ sequenceBy?: string | undefined;
71
+ partitionBy?: string[] | undefined;
72
+ };
73
+ };
74
74
  }[];
75
75
  422: {
76
76
  type: "validation";
@@ -104,23 +104,6 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
104
104
  type: string;
105
105
  };
106
106
  mode: "append" | "merge" | "snapshot";
107
- target: {
108
- kind: "dataset";
109
- dataset: {
110
- id: string;
111
- schema: {
112
- columns: {
113
- type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
114
- name: string;
115
- nullable?: boolean | undefined;
116
- }[];
117
- };
118
- description?: string | undefined;
119
- primaryKey?: string | string[] | undefined;
120
- sequenceBy?: string | undefined;
121
- partitionBy?: string[] | undefined;
122
- };
123
- };
124
107
  triggers: {
125
108
  type: "schedule";
126
109
  scheduleId: string;
@@ -144,6 +127,23 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
144
127
  commitMessage?: string | undefined;
145
128
  rowsRead?: number | undefined;
146
129
  } | null;
130
+ target: {
131
+ kind: "dataset";
132
+ dataset: {
133
+ id: string;
134
+ schema: {
135
+ columns: {
136
+ type: "string" | "boolean" | "date" | "int64" | "fileRef" | "json" | "decimal" | "timestamp" | "float64";
137
+ name: string;
138
+ nullable?: boolean | undefined;
139
+ }[];
140
+ };
141
+ description?: string | undefined;
142
+ primaryKey?: string | string[] | undefined;
143
+ sequenceBy?: string | undefined;
144
+ partitionBy?: string[] | undefined;
145
+ };
146
+ };
147
147
  };
148
148
  404: {
149
149
  error: string;
@@ -1 +1 @@
1
- {"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/routes/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,YAAY,CAAA;AAE9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAqFpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiIjE"}
1
+ {"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/routes/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,YAAY,CAAA;AAE9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAsFpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoIjE"}
@@ -23,6 +23,7 @@ export declare function registerUserRoutes(app: Elysia, _host: SixbHostView): El
23
23
  params: {};
24
24
  query: {
25
25
  status?: "active" | "all" | "suspended" | undefined;
26
+ email?: string | undefined;
26
27
  search?: string | undefined;
27
28
  limit?: number | undefined;
28
29
  offset?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/routes/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,YAAY,CAAA;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AASpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DlE"}
1
+ {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/routes/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,YAAY,CAAA;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AASpC,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2ElE"}
@@ -314,8 +314,6 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
314
314
  headers: unknown;
315
315
  response: {
316
316
  200: {
317
- error: string;
318
- } | {
319
317
  intervention: {
320
318
  status: "pending" | "cancelled" | "expired" | "submitted";
321
319
  projectId: string;
@@ -345,6 +343,8 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
345
343
  expiredAt?: string | undefined;
346
344
  };
347
345
  jobId: string;
346
+ } | {
347
+ error: string;
348
348
  };
349
349
  404: {
350
350
  error: string;
@@ -1102,12 +1102,12 @@ export declare function registerWorkflowRoutes(app: Elysia, host: SixbHostView):
1102
1102
  headers: unknown;
1103
1103
  response: {
1104
1104
  200: {
1105
- error: string;
1106
- } | {
1107
1105
  runId: string;
1108
1106
  workflowId: string;
1109
1107
  queuedAt: string;
1110
1108
  jobId: string;
1109
+ } | {
1110
+ error: string;
1111
1111
  };
1112
1112
  404: {
1113
1113
  error: string;