@sixb/server 0.2.5 → 0.2.6
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.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +525 -61
- package/dist/index.js.map +19 -18
- package/dist/registerRoutes.d.ts +1 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/agent-approvals.d.ts +22 -0
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-computers.d.ts +36 -0
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agent-thread-reads.d.ts +82 -0
- package/dist/routes/agent-thread-reads.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +783 -1
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/model-generations.d.ts +6 -0
- package/dist/routes/model-generations.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +22 -0
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/status.d.ts +4 -1
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +175 -12
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +6 -6
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/schemas/activity.d.ts +4 -4
- package/dist/schemas/agents.d.ts +2602 -6
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +3 -0
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/models.d.ts +46 -0
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +724 -25
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +22 -22
- package/dist/server.d.ts +16 -1
- package/dist/server.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/index.ts +6 -1
- package/src/registerRoutes.ts +4 -1
- package/src/routes/agent-computers.ts +7 -6
- package/src/routes/agent-thread-reads.ts +67 -0
- package/src/routes/agents.ts +129 -16
- package/src/routes/ai-accounting.ts +1 -0
- package/src/routes/model-generations.ts +1 -1
- package/src/routes/observed-agent-threads.ts +3 -4
- package/src/routes/status.ts +18 -1
- package/src/routes/syncs.ts +135 -8
- package/src/routes/ws/agents.ts +43 -3
- package/src/schemas/agents.ts +80 -10
- package/src/schemas/ai-accounting.ts +12 -0
- package/src/schemas/common.ts +15 -9
- package/src/schemas/models.ts +10 -0
- package/src/schemas/syncs.ts +63 -1
- package/src/server.ts +205 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,eAAe,EAIpB,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AASnB,OAAO,EACL,KAAK,yBAAyB,EAG9B,KAAK,oBAAoB,EAGzB,KAAK,YAAY,EAGjB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACf,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAY,CAAC,EAAE,MAAM,KAAK,CAAA;AAEjC,OAAO,EAIL,kBAAkB,EACnB,MAAM,eAAe,CAAA;AAStB,OAAO,EAGL,oBAAoB,EAKpB,wBAAwB,EAKxB,cAAc,EAQd,iBAAiB,EAYlB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EACL,gBAAgB,EAIjB,MAAM,eAAe,CAAA;AAYtB;;;GAGG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,YAAY,EAClB,OAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6oCvF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-accounting.d.ts","sourceRoot":"","sources":["../../src/routes/ai-accounting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;AAahE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiUpC,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ai-accounting.d.ts","sourceRoot":"","sources":["../../src/routes/ai-accounting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;AAahE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiUpC,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8WzE"}
|
|
@@ -338,6 +338,12 @@ export declare function registerModelGenerationRoutes(app: Elysia, host: SixbHos
|
|
|
338
338
|
amountNanos: string;
|
|
339
339
|
} | undefined;
|
|
340
340
|
};
|
|
341
|
+
words?: {
|
|
342
|
+
text: string;
|
|
343
|
+
startMs: number;
|
|
344
|
+
endMs: number;
|
|
345
|
+
speaker?: string | undefined;
|
|
346
|
+
}[] | undefined;
|
|
341
347
|
};
|
|
342
348
|
404: {
|
|
343
349
|
error: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-generations.d.ts","sourceRoot":"","sources":["../../src/routes/model-generations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsD,YAAY,EAAE,MAAM,YAAY,CAAA;AAUlG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAsJpC;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"model-generations.d.ts","sourceRoot":"","sources":["../../src/routes/model-generations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsD,YAAY,EAAE,MAAM,YAAY,CAAA;AAUlG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAsJpC;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgI5E"}
|
|
@@ -62,6 +62,13 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
62
62
|
activeRunId: string | null;
|
|
63
63
|
messageCount: number;
|
|
64
64
|
updatedAt: string;
|
|
65
|
+
read?: {
|
|
66
|
+
threadId: string;
|
|
67
|
+
throughSeq: number;
|
|
68
|
+
headSeq: number;
|
|
69
|
+
unread: number;
|
|
70
|
+
readAt?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
65
72
|
title?: string | undefined;
|
|
66
73
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
67
74
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
@@ -95,6 +102,17 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
95
102
|
}[] | undefined;
|
|
96
103
|
movedAt?: string | undefined;
|
|
97
104
|
lastMessageAt?: string | undefined;
|
|
105
|
+
lastRun?: {
|
|
106
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
107
|
+
id: string;
|
|
108
|
+
requestedBy?: {
|
|
109
|
+
id: string;
|
|
110
|
+
type: "user" | "serviceAccount";
|
|
111
|
+
} | undefined;
|
|
112
|
+
completedAt?: string | undefined;
|
|
113
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
114
|
+
errorCode?: "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled" | undefined;
|
|
115
|
+
} | undefined;
|
|
98
116
|
};
|
|
99
117
|
404: {
|
|
100
118
|
error: string;
|
|
@@ -451,6 +469,10 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
451
469
|
} | undefined;
|
|
452
470
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
453
471
|
parentRunId?: string | undefined;
|
|
472
|
+
computer?: {
|
|
473
|
+
id: string;
|
|
474
|
+
folder: string;
|
|
475
|
+
} | undefined;
|
|
454
476
|
runsOn?: "computer" | undefined;
|
|
455
477
|
diagnostics?: {
|
|
456
478
|
code: "step_limit_reached" | "output_limit_reached";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observed-agent-threads.d.ts","sourceRoot":"","sources":["../../src/routes/observed-agent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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgMhF"}
|
package/dist/routes/status.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { SixbHostView } from "@sixb/core";
|
|
2
2
|
import type { Elysia } from "elysia";
|
|
3
|
-
export
|
|
3
|
+
export interface StatusRouteOptions {
|
|
4
|
+
readonly isStopping?: () => boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function registerStatusRoutes(app: Elysia, host: SixbHostView, options?: StatusRouteOptions): Elysia<"", {
|
|
4
7
|
decorator: {};
|
|
5
8
|
store: {};
|
|
6
9
|
derive: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/routes/status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/routes/status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAQpC,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,OAAO,CAAA;CACpC;AAED,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,YAAY,EAClB,OAAO,GAAE,kBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DjC"}
|
package/dist/routes/syncs.d.ts
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
import type { SixbHostView } from "@sixb/core";
|
|
1
|
+
import type { SixbHostView, SyncAccount } from "@sixb/core";
|
|
2
2
|
import type { Elysia } from "elysia";
|
|
3
|
+
/**
|
|
4
|
+
* Where a sync's accounts stand, by the latest run of each. An account counts once: running,
|
|
5
|
+
* needing reconnecting, failing or synced. One whose latest run was cancelled, or that never ran,
|
|
6
|
+
* is in `total` alone.
|
|
7
|
+
*/
|
|
8
|
+
export declare function summarizeSyncAccounts(syncId: string, accounts: readonly SyncAccount[]): {
|
|
9
|
+
lastSyncedAt?: string | undefined;
|
|
10
|
+
total: number;
|
|
11
|
+
running: number;
|
|
12
|
+
needsReconnecting: number;
|
|
13
|
+
failing: number;
|
|
14
|
+
synced: number;
|
|
15
|
+
};
|
|
3
16
|
export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
|
|
4
17
|
decorator: {};
|
|
5
18
|
store: {};
|
|
@@ -44,13 +57,14 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
44
57
|
attempt: number;
|
|
45
58
|
datasetId: string;
|
|
46
59
|
syncId: string;
|
|
47
|
-
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
60
|
+
error?: import("@sixb/core").SixbFailure<"connector.authorization_required" | "internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
48
61
|
startedAt?: string | undefined;
|
|
49
62
|
finishedAt?: string | undefined;
|
|
50
63
|
output?: {
|
|
51
64
|
datasetId: string;
|
|
52
65
|
versionId: string;
|
|
53
66
|
} | undefined;
|
|
67
|
+
connectionId?: string | undefined;
|
|
54
68
|
expectedLatestVersionId?: string | undefined;
|
|
55
69
|
commitMessage?: string | undefined;
|
|
56
70
|
rowsRead?: number | undefined;
|
|
@@ -72,6 +86,14 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
72
86
|
partitionBy?: string[] | undefined;
|
|
73
87
|
};
|
|
74
88
|
};
|
|
89
|
+
accounts?: {
|
|
90
|
+
total: number;
|
|
91
|
+
running: number;
|
|
92
|
+
failing: number;
|
|
93
|
+
needsReconnecting: number;
|
|
94
|
+
synced: number;
|
|
95
|
+
lastSyncedAt?: string | undefined;
|
|
96
|
+
} | undefined;
|
|
75
97
|
}[];
|
|
76
98
|
422: {
|
|
77
99
|
type: "validation";
|
|
@@ -118,13 +140,14 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
118
140
|
attempt: number;
|
|
119
141
|
datasetId: string;
|
|
120
142
|
syncId: string;
|
|
121
|
-
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
143
|
+
error?: import("@sixb/core").SixbFailure<"connector.authorization_required" | "internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
122
144
|
startedAt?: string | undefined;
|
|
123
145
|
finishedAt?: string | undefined;
|
|
124
146
|
output?: {
|
|
125
147
|
datasetId: string;
|
|
126
148
|
versionId: string;
|
|
127
149
|
} | undefined;
|
|
150
|
+
connectionId?: string | undefined;
|
|
128
151
|
expectedLatestVersionId?: string | undefined;
|
|
129
152
|
commitMessage?: string | undefined;
|
|
130
153
|
rowsRead?: number | undefined;
|
|
@@ -146,6 +169,14 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
146
169
|
partitionBy?: string[] | undefined;
|
|
147
170
|
};
|
|
148
171
|
};
|
|
172
|
+
accounts?: {
|
|
173
|
+
total: number;
|
|
174
|
+
running: number;
|
|
175
|
+
failing: number;
|
|
176
|
+
needsReconnecting: number;
|
|
177
|
+
synced: number;
|
|
178
|
+
lastSyncedAt?: string | undefined;
|
|
179
|
+
} | undefined;
|
|
149
180
|
};
|
|
150
181
|
404: {
|
|
151
182
|
error: string;
|
|
@@ -164,6 +195,129 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
164
195
|
};
|
|
165
196
|
};
|
|
166
197
|
};
|
|
198
|
+
} & {
|
|
199
|
+
api: {
|
|
200
|
+
connectors: {
|
|
201
|
+
":connectorId": {
|
|
202
|
+
accounts: {
|
|
203
|
+
get: {
|
|
204
|
+
body: unknown;
|
|
205
|
+
params: {
|
|
206
|
+
connectorId: string;
|
|
207
|
+
};
|
|
208
|
+
query: unknown;
|
|
209
|
+
headers: unknown;
|
|
210
|
+
response: {
|
|
211
|
+
200: {
|
|
212
|
+
accounts: {
|
|
213
|
+
connection: {
|
|
214
|
+
id: string;
|
|
215
|
+
owner: {
|
|
216
|
+
type: "project";
|
|
217
|
+
} | {
|
|
218
|
+
id: string;
|
|
219
|
+
type: "user";
|
|
220
|
+
};
|
|
221
|
+
slot: string;
|
|
222
|
+
account: {
|
|
223
|
+
id: string;
|
|
224
|
+
label: string;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
latestRuns: {
|
|
228
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
229
|
+
projectId: string;
|
|
230
|
+
id: string;
|
|
231
|
+
mode: "append" | "merge" | "snapshot";
|
|
232
|
+
queuedAt: string;
|
|
233
|
+
attempt: number;
|
|
234
|
+
datasetId: string;
|
|
235
|
+
syncId: string;
|
|
236
|
+
error?: import("@sixb/core").SixbFailure<"connector.authorization_required" | "internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
237
|
+
startedAt?: string | undefined;
|
|
238
|
+
finishedAt?: string | undefined;
|
|
239
|
+
output?: {
|
|
240
|
+
datasetId: string;
|
|
241
|
+
versionId: string;
|
|
242
|
+
} | undefined;
|
|
243
|
+
connectionId?: string | undefined;
|
|
244
|
+
expectedLatestVersionId?: string | undefined;
|
|
245
|
+
commitMessage?: string | undefined;
|
|
246
|
+
rowsRead?: number | undefined;
|
|
247
|
+
}[];
|
|
248
|
+
}[];
|
|
249
|
+
};
|
|
250
|
+
422: {
|
|
251
|
+
type: "validation";
|
|
252
|
+
on: string;
|
|
253
|
+
summary?: string;
|
|
254
|
+
message?: string;
|
|
255
|
+
found?: unknown;
|
|
256
|
+
property?: string;
|
|
257
|
+
expected?: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
} & {
|
|
266
|
+
api: {
|
|
267
|
+
connectors: {
|
|
268
|
+
":connectorId": {
|
|
269
|
+
connections: {
|
|
270
|
+
":connectionId": {
|
|
271
|
+
"sync-runs": {
|
|
272
|
+
get: {
|
|
273
|
+
body: unknown;
|
|
274
|
+
params: {
|
|
275
|
+
connectorId: string;
|
|
276
|
+
connectionId: string;
|
|
277
|
+
};
|
|
278
|
+
query: unknown;
|
|
279
|
+
headers: unknown;
|
|
280
|
+
response: {
|
|
281
|
+
200: {
|
|
282
|
+
runs: {
|
|
283
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
284
|
+
projectId: string;
|
|
285
|
+
id: string;
|
|
286
|
+
mode: "append" | "merge" | "snapshot";
|
|
287
|
+
queuedAt: string;
|
|
288
|
+
attempt: number;
|
|
289
|
+
datasetId: string;
|
|
290
|
+
syncId: string;
|
|
291
|
+
error?: import("@sixb/core").SixbFailure<"connector.authorization_required" | "internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
292
|
+
startedAt?: string | undefined;
|
|
293
|
+
finishedAt?: string | undefined;
|
|
294
|
+
output?: {
|
|
295
|
+
datasetId: string;
|
|
296
|
+
versionId: string;
|
|
297
|
+
} | undefined;
|
|
298
|
+
connectionId?: string | undefined;
|
|
299
|
+
expectedLatestVersionId?: string | undefined;
|
|
300
|
+
commitMessage?: string | undefined;
|
|
301
|
+
rowsRead?: number | undefined;
|
|
302
|
+
}[];
|
|
303
|
+
};
|
|
304
|
+
422: {
|
|
305
|
+
type: "validation";
|
|
306
|
+
on: string;
|
|
307
|
+
summary?: string;
|
|
308
|
+
message?: string;
|
|
309
|
+
found?: unknown;
|
|
310
|
+
property?: string;
|
|
311
|
+
expected?: string;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
};
|
|
167
321
|
} & {
|
|
168
322
|
api: {
|
|
169
323
|
"sync-runs": {
|
|
@@ -178,6 +332,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
178
332
|
offset?: string | undefined;
|
|
179
333
|
order?: "asc" | "desc" | undefined;
|
|
180
334
|
datasetId?: string | undefined;
|
|
335
|
+
connectionId?: string | undefined;
|
|
181
336
|
syncId?: string | undefined;
|
|
182
337
|
};
|
|
183
338
|
headers: unknown;
|
|
@@ -192,13 +347,14 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
192
347
|
attempt: number;
|
|
193
348
|
datasetId: string;
|
|
194
349
|
syncId: string;
|
|
195
|
-
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
350
|
+
error?: import("@sixb/core").SixbFailure<"connector.authorization_required" | "internal.unexpected" | "queue.enqueue_failed" | "runtime.cancelled" | "sync.execution_failed"> | undefined;
|
|
196
351
|
startedAt?: string | undefined;
|
|
197
352
|
finishedAt?: string | undefined;
|
|
198
353
|
output?: {
|
|
199
354
|
datasetId: string;
|
|
200
355
|
versionId: string;
|
|
201
356
|
} | undefined;
|
|
357
|
+
connectionId?: string | undefined;
|
|
202
358
|
expectedLatestVersionId?: string | undefined;
|
|
203
359
|
commitMessage?: string | undefined;
|
|
204
360
|
rowsRead?: number | undefined;
|
|
@@ -232,6 +388,7 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
232
388
|
runs: {
|
|
233
389
|
post: {
|
|
234
390
|
body: {
|
|
391
|
+
connectionId?: string | undefined;
|
|
235
392
|
expectedLatestVersionId?: string | undefined;
|
|
236
393
|
commitMessage?: string | undefined;
|
|
237
394
|
};
|
|
@@ -246,10 +403,13 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
246
403
|
code?: import("@sixb/core").SixbErrorCode;
|
|
247
404
|
details?: import("@sixb/core").ReadonlyJsonValue;
|
|
248
405
|
} | {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
406
|
+
runs: {
|
|
407
|
+
runId: string;
|
|
408
|
+
jobId: string;
|
|
409
|
+
syncId: string;
|
|
410
|
+
connectionId: string | undefined;
|
|
411
|
+
queuedAt: string;
|
|
412
|
+
}[];
|
|
253
413
|
};
|
|
254
414
|
404: {
|
|
255
415
|
error: string;
|
|
@@ -261,10 +421,13 @@ export declare function registerSyncRoutes(app: Elysia, host: SixbHostView): Ely
|
|
|
261
421
|
error: string;
|
|
262
422
|
};
|
|
263
423
|
202: {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
424
|
+
runs: {
|
|
425
|
+
runId: string;
|
|
426
|
+
queuedAt: string;
|
|
427
|
+
jobId: string;
|
|
428
|
+
syncId: string;
|
|
429
|
+
connectionId?: string | undefined;
|
|
430
|
+
}[];
|
|
268
431
|
};
|
|
269
432
|
422: {
|
|
270
433
|
type: "validation";
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"syncs.d.ts","sourceRoot":"","sources":["../../src/routes/syncs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAkB,MAAM,YAAY,CAAA;AAG3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyGpC;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,WAAW,EAAE;;;;;;;EAqBrF;AAwBD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8LjE"}
|
|
@@ -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" | "running" | "
|
|
61
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued" | "waiting";
|
|
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" | "running" | "
|
|
134
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued" | "waiting";
|
|
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" | "running" | "
|
|
478
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | "waiting" | 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" | "running" | "
|
|
490
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued" | "waiting";
|
|
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" | "running" | "
|
|
539
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued" | "waiting";
|
|
540
540
|
projectId: string;
|
|
541
541
|
id: string;
|
|
542
542
|
requestedBy: {
|
|
@@ -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" | "running" | "
|
|
852
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued" | "waiting";
|
|
853
853
|
projectId: string;
|
|
854
854
|
id: string;
|
|
855
855
|
requestedBy: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/agents.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/agents.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,kBAAkB,EAExB,MAAM,2BAA2B,CAAA;AASlC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAA;AAEjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,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;;;GAGG;AACH,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,IAAI,EACV,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;;;GAGG;AACH,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC,OAAO,CAAC,CAMlB;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCxE"}
|
|
@@ -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" | "running" | "
|
|
626
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued" | "waiting" | "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" | "running" | "
|
|
634
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued" | "waiting" | "incomplete";
|
|
635
635
|
kind: "workflow";
|
|
636
636
|
runId: string;
|
|
637
637
|
workflowId: 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" | "running" | "
|
|
755
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued" | "waiting" | "incomplete";
|
|
756
756
|
kind: "workflow";
|
|
757
757
|
runId: string;
|
|
758
758
|
workflowId: 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" | "running" | "
|
|
849
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued" | "waiting" | "incomplete";
|
|
850
850
|
kind: "workflow";
|
|
851
851
|
runId: string;
|
|
852
852
|
workflowId: string;
|