@sixb/server 0.2.1 → 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.
@@ -158,6 +158,16 @@ export declare function registerAgentApprovalRoutes(app: Elysia, host: SixbHostV
158
158
  spawnedBy: string;
159
159
  } | undefined;
160
160
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
161
+ backgroundCommands?: {
162
+ status: "running" | "exited" | "stopped";
163
+ id: string;
164
+ startedAt: string;
165
+ threadId: string;
166
+ command: string;
167
+ exitCode?: number | undefined;
168
+ endedAt?: string | undefined;
169
+ stopping?: boolean | undefined;
170
+ }[] | undefined;
161
171
  movedAt?: string | undefined;
162
172
  lastMessageAt?: string | undefined;
163
173
  };
@@ -388,7 +398,7 @@ export declare function registerAgentApprovalRoutes(app: Elysia, host: SixbHostV
388
398
  } | undefined;
389
399
  };
390
400
  run?: {
391
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
401
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
392
402
  projectId: string;
393
403
  id: string;
394
404
  kind: "conversation" | "subagent";
@@ -1 +1 @@
1
- {"version":3,"file":"agent-approvals.d.ts","sourceRoot":"","sources":["../../src/routes/agent-approvals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAuB,YAAY,EAAE,MAAM,YAAY,CAAA;AAGnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA+DpC,wFAAwF;AACxF,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuO1E"}
@@ -76,7 +76,7 @@ export declare function registerAgentChildRoutes(app: Elysia, host: SixbHostView
76
76
  response: {
77
77
  200: {
78
78
  children: {
79
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
79
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
80
80
  projectId: string;
81
81
  id: string;
82
82
  model: {
@@ -84,7 +84,7 @@ export declare function registerAgentChildRoutes(app: Elysia, host: SixbHostView
84
84
  provider: string;
85
85
  };
86
86
  runs: {
87
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
87
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
88
88
  id: string;
89
89
  createdAt: string;
90
90
  attempt: number;
@@ -1,4 +1,4 @@
1
- import type { SixbHostView } from "@sixb/core";
1
+ import { type SixbHostView } from "@sixb/core";
2
2
  import type { AgentRunSessionHost } from "@sixb/core/internal/agents";
3
3
  import type { AgentThreadComputer, ConversationAgentRunRecord } from "@sixb/core/storage";
4
4
  import type { Elysia } from "elysia";
@@ -103,6 +103,16 @@ export declare function registerAgentComputerRoutes(app: Elysia, host: SixbHostV
103
103
  spawnedBy: string;
104
104
  } | undefined;
105
105
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
106
+ backgroundCommands?: {
107
+ status: "running" | "exited" | "stopped";
108
+ id: string;
109
+ startedAt: string;
110
+ threadId: string;
111
+ command: string;
112
+ exitCode?: number | undefined;
113
+ endedAt?: string | undefined;
114
+ stopping?: boolean | undefined;
115
+ }[] | undefined;
106
116
  movedAt?: string | undefined;
107
117
  lastMessageAt?: string | undefined;
108
118
  };
@@ -204,6 +214,16 @@ export declare function registerAgentComputerRoutes(app: Elysia, host: SixbHostV
204
214
  spawnedBy: string;
205
215
  } | undefined;
206
216
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
217
+ backgroundCommands?: {
218
+ status: "running" | "exited" | "stopped";
219
+ id: string;
220
+ startedAt: string;
221
+ threadId: string;
222
+ command: string;
223
+ exitCode?: number | undefined;
224
+ endedAt?: string | undefined;
225
+ stopping?: boolean | undefined;
226
+ }[] | undefined;
207
227
  movedAt?: string | undefined;
208
228
  lastMessageAt?: string | undefined;
209
229
  };
@@ -253,6 +273,15 @@ export declare function registerAgentComputerRoutes(app: Elysia, host: SixbHostV
253
273
  name: string;
254
274
  folder: string;
255
275
  };
276
+ backgroundCommands?: {
277
+ status: "running" | "exited" | "stopped";
278
+ id: string;
279
+ startedAt: string;
280
+ threadId: string;
281
+ command: string;
282
+ exitCode?: number | undefined;
283
+ endedAt?: string | undefined;
284
+ }[] | undefined;
256
285
  };
257
286
  params: {
258
287
  sessionId: string;
@@ -263,6 +292,11 @@ export declare function registerAgentComputerRoutes(app: Elysia, host: SixbHostV
263
292
  200: {
264
293
  expiresAt: string;
265
294
  waiting: string[];
295
+ stop?: {
296
+ id: string;
297
+ startedAt: string;
298
+ threadId: string;
299
+ }[] | undefined;
266
300
  };
267
301
  400: {
268
302
  error: string;
@@ -289,6 +323,85 @@ export declare function registerAgentComputerRoutes(app: Elysia, host: SixbHostV
289
323
  };
290
324
  };
291
325
  };
326
+ } & {
327
+ api: {
328
+ "agent-threads": {
329
+ ":threadId": {
330
+ "background-commands": {
331
+ ":commandId": {
332
+ stop: {
333
+ post: {
334
+ body: {
335
+ startedAt: string;
336
+ };
337
+ params: {
338
+ threadId: string;
339
+ commandId: string;
340
+ };
341
+ query: unknown;
342
+ headers: unknown;
343
+ response: {
344
+ 200: {
345
+ command: {
346
+ status: "running" | "exited" | "stopped";
347
+ id: string;
348
+ startedAt: string;
349
+ threadId: string;
350
+ command: string;
351
+ exitCode?: number | undefined;
352
+ endedAt?: string | undefined;
353
+ stopping?: boolean | undefined;
354
+ };
355
+ } | {
356
+ error: string;
357
+ } | {
358
+ readonly error: string;
359
+ readonly code: import("@sixb/core").AgentRequestErrorCode;
360
+ };
361
+ 404: {
362
+ error: string;
363
+ code?: string | undefined;
364
+ };
365
+ 403: {
366
+ error: string;
367
+ code?: string | undefined;
368
+ };
369
+ 400: {
370
+ error: string;
371
+ code?: string | undefined;
372
+ };
373
+ 501: {
374
+ error: string;
375
+ };
376
+ 202: {
377
+ command: {
378
+ status: "running" | "exited" | "stopped";
379
+ id: string;
380
+ startedAt: string;
381
+ threadId: string;
382
+ command: string;
383
+ exitCode?: number | undefined;
384
+ endedAt?: string | undefined;
385
+ stopping?: boolean | undefined;
386
+ };
387
+ };
388
+ 422: {
389
+ type: "validation";
390
+ on: string;
391
+ summary?: string;
392
+ message?: string;
393
+ found?: unknown;
394
+ property?: string;
395
+ expected?: string;
396
+ };
397
+ };
398
+ };
399
+ };
400
+ };
401
+ };
402
+ };
403
+ };
404
+ };
292
405
  } & {
293
406
  api: {
294
407
  "agent-computers": {
@@ -1 +1 @@
1
- {"version":3,"file":"agent-computers.d.ts","sourceRoot":"","sources":["../../src/routes/agent-computers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAErE,OAAO,KAAK,EAGV,mBAAmB,EACnB,0BAA0B,EAE3B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA6BpC,KAAK,aAAa,GACd;IAAE,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAA;CAAE,GAC1C;IACE,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,MAAM,EAAE,GAA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,GAC1C;IACE,QAAQ,CAAC,OAAO,EAAE;QAChB,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG,CAAA;QAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KACvC,CAAA;CACF,CAAA;AAEL;;;;GAIG;AACH,wBAAsB,gBAAgB,CACpC,QAAQ,EAAE,mBAAmB,EAC7B,GAAG,EAAE,0BAA0B,EAC/B,IAAI,EAAE,OAAO,GACZ,OAAO,CAAC,aAAa,CAAC,CAoCxB;AAED,qFAAqF;AACrF,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAKjF;AAED,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoR1E"}
@@ -1,5 +1,5 @@
1
1
  import { type AgentRequestErrorCode, type AgentRunView, type AgentThreadView, type SixbHostView } from "@sixb/core";
2
- import { type AgentStorage, type AgentThreadRecord, type Principal } from "@sixb/core/storage";
2
+ import { type AgentBackgroundCommandRef, type AgentStorage, type AgentThreadRecord, type Principal } from "@sixb/core/storage";
3
3
  import type { Elysia } from "elysia";
4
4
  import { z } from "zod";
5
5
  import { requireRequestSixb } from "../auth/scope";
@@ -11,6 +11,8 @@ import { handleRouteError } from "../utils/http";
11
11
  */
12
12
  export declare function serializeThreads(host: SixbHostView, threads: readonly AgentThreadView[], viewer: Principal): Promise<ReturnType<typeof AgentThreadSchema.parse>[]>;
13
13
  export declare function serializeThread(host: SixbHostView, thread: AgentThreadView, viewer: Principal): Promise<ReturnType<typeof AgentThreadSchema.parse>>;
14
+ /** Whether a reported background command is the one `ref` names: by its start, as ids repeat. */
15
+ export declare function sameBackgroundCommand(command: AgentBackgroundCommandRef, ref: AgentBackgroundCommandRef): boolean;
14
16
  export declare function serializeAgentRun(run: AgentRunView): ReturnType<typeof AgentRunSchema.parse>;
15
17
  export declare function handleAgentRouteError(error: unknown, set: {
16
18
  status?: number | string;
@@ -254,6 +256,16 @@ export declare function serializeThreadRead(host: SixbHostView, sixb: ReturnType
254
256
  spawnedBy: string;
255
257
  } | undefined;
256
258
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
259
+ backgroundCommands?: {
260
+ status: "running" | "exited" | "stopped";
261
+ id: string;
262
+ startedAt: string;
263
+ threadId: string;
264
+ command: string;
265
+ exitCode?: number | undefined;
266
+ endedAt?: string | undefined;
267
+ stopping?: boolean | undefined;
268
+ }[] | undefined;
257
269
  movedAt?: string | undefined;
258
270
  lastMessageAt?: string | undefined;
259
271
  }>;
@@ -373,6 +385,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
373
385
  spawnedBy: string;
374
386
  } | undefined;
375
387
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
388
+ backgroundCommands?: {
389
+ status: "running" | "exited" | "stopped";
390
+ id: string;
391
+ startedAt: string;
392
+ threadId: string;
393
+ command: string;
394
+ exitCode?: number | undefined;
395
+ endedAt?: string | undefined;
396
+ stopping?: boolean | undefined;
397
+ }[] | undefined;
376
398
  movedAt?: string | undefined;
377
399
  lastMessageAt?: string | undefined;
378
400
  }[];
@@ -467,6 +489,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
467
489
  spawnedBy: string;
468
490
  } | undefined;
469
491
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
492
+ backgroundCommands?: {
493
+ status: "running" | "exited" | "stopped";
494
+ id: string;
495
+ startedAt: string;
496
+ threadId: string;
497
+ command: string;
498
+ exitCode?: number | undefined;
499
+ endedAt?: string | undefined;
500
+ stopping?: boolean | undefined;
501
+ }[] | undefined;
470
502
  movedAt?: string | undefined;
471
503
  lastMessageAt?: string | undefined;
472
504
  };
@@ -540,6 +572,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
540
572
  spawnedBy: string;
541
573
  } | undefined;
542
574
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
575
+ backgroundCommands?: {
576
+ status: "running" | "exited" | "stopped";
577
+ id: string;
578
+ startedAt: string;
579
+ threadId: string;
580
+ command: string;
581
+ exitCode?: number | undefined;
582
+ endedAt?: string | undefined;
583
+ stopping?: boolean | undefined;
584
+ }[] | undefined;
543
585
  movedAt?: string | undefined;
544
586
  lastMessageAt?: string | undefined;
545
587
  };
@@ -620,6 +662,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
620
662
  spawnedBy: string;
621
663
  } | undefined;
622
664
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
665
+ backgroundCommands?: {
666
+ status: "running" | "exited" | "stopped";
667
+ id: string;
668
+ startedAt: string;
669
+ threadId: string;
670
+ command: string;
671
+ exitCode?: number | undefined;
672
+ endedAt?: string | undefined;
673
+ stopping?: boolean | undefined;
674
+ }[] | undefined;
623
675
  movedAt?: string | undefined;
624
676
  lastMessageAt?: string | undefined;
625
677
  };
@@ -717,6 +769,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
717
769
  spawnedBy: string;
718
770
  } | undefined;
719
771
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
772
+ backgroundCommands?: {
773
+ status: "running" | "exited" | "stopped";
774
+ id: string;
775
+ startedAt: string;
776
+ threadId: string;
777
+ command: string;
778
+ exitCode?: number | undefined;
779
+ endedAt?: string | undefined;
780
+ stopping?: boolean | undefined;
781
+ }[] | undefined;
720
782
  movedAt?: string | undefined;
721
783
  lastMessageAt?: string | undefined;
722
784
  };
@@ -868,6 +930,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
868
930
  spawnedBy: string;
869
931
  } | undefined;
870
932
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
933
+ backgroundCommands?: {
934
+ status: "running" | "exited" | "stopped";
935
+ id: string;
936
+ startedAt: string;
937
+ threadId: string;
938
+ command: string;
939
+ exitCode?: number | undefined;
940
+ endedAt?: string | undefined;
941
+ stopping?: boolean | undefined;
942
+ }[] | undefined;
871
943
  movedAt?: string | undefined;
872
944
  lastMessageAt?: string | undefined;
873
945
  };
@@ -943,6 +1015,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
943
1015
  spawnedBy: string;
944
1016
  } | undefined;
945
1017
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
1018
+ backgroundCommands?: {
1019
+ status: "running" | "exited" | "stopped";
1020
+ id: string;
1021
+ startedAt: string;
1022
+ threadId: string;
1023
+ command: string;
1024
+ exitCode?: number | undefined;
1025
+ endedAt?: string | undefined;
1026
+ stopping?: boolean | undefined;
1027
+ }[] | undefined;
946
1028
  movedAt?: string | undefined;
947
1029
  lastMessageAt?: string | undefined;
948
1030
  };
@@ -1029,6 +1111,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1029
1111
  spawnedBy: string;
1030
1112
  } | undefined;
1031
1113
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
1114
+ backgroundCommands?: {
1115
+ status: "running" | "exited" | "stopped";
1116
+ id: string;
1117
+ startedAt: string;
1118
+ threadId: string;
1119
+ command: string;
1120
+ exitCode?: number | undefined;
1121
+ endedAt?: string | undefined;
1122
+ stopping?: boolean | undefined;
1123
+ }[] | undefined;
1032
1124
  movedAt?: string | undefined;
1033
1125
  lastMessageAt?: string | undefined;
1034
1126
  };
@@ -1408,7 +1500,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1408
1500
  response: {
1409
1501
  200: {
1410
1502
  run: {
1411
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1503
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
1412
1504
  projectId: string;
1413
1505
  id: string;
1414
1506
  kind: "conversation" | "subagent";
@@ -1500,7 +1592,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1500
1592
  };
1501
1593
  202: {
1502
1594
  run: {
1503
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1595
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
1504
1596
  projectId: string;
1505
1597
  id: string;
1506
1598
  kind: "conversation" | "subagent";
@@ -1594,7 +1686,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1594
1686
  response: {
1595
1687
  200: {
1596
1688
  run: {
1597
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1689
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
1598
1690
  projectId: string;
1599
1691
  id: string;
1600
1692
  kind: "conversation" | "subagent";
@@ -1681,7 +1773,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1681
1773
  };
1682
1774
  202: {
1683
1775
  run: {
1684
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1776
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
1685
1777
  projectId: string;
1686
1778
  id: string;
1687
1779
  kind: "conversation" | "subagent";
@@ -1776,7 +1868,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1776
1868
  response: {
1777
1869
  200: {
1778
1870
  run: {
1779
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1871
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
1780
1872
  projectId: string;
1781
1873
  id: string;
1782
1874
  kind: "conversation" | "subagent";
@@ -1868,7 +1960,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1868
1960
  };
1869
1961
  202: {
1870
1962
  run: {
1871
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
1963
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
1872
1964
  projectId: string;
1873
1965
  id: string;
1874
1966
  kind: "conversation" | "subagent";
@@ -2027,7 +2119,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
2027
2119
  threadId: string;
2028
2120
  };
2029
2121
  query: {
2030
- status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | undefined;
2122
+ status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
2031
2123
  limit?: string | undefined;
2032
2124
  offset?: string | undefined;
2033
2125
  order?: "asc" | "desc" | undefined;
@@ -2036,7 +2128,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
2036
2128
  response: {
2037
2129
  200: {
2038
2130
  runs: {
2039
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
2131
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
2040
2132
  projectId: string;
2041
2133
  id: string;
2042
2134
  kind: "conversation" | "subagent";
@@ -2137,7 +2229,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
2137
2229
  headers: unknown;
2138
2230
  response: {
2139
2231
  200: {
2140
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
2232
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
2141
2233
  projectId: string;
2142
2234
  id: string;
2143
2235
  kind: "conversation" | "subagent";
@@ -2236,7 +2328,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
2236
2328
  response: {
2237
2329
  200: {
2238
2330
  run: {
2239
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
2331
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
2240
2332
  projectId: string;
2241
2333
  id: string;
2242
2334
  kind: "conversation" | "subagent";
@@ -2323,7 +2415,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
2323
2415
  };
2324
2416
  202: {
2325
2417
  run: {
2326
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
2418
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
2327
2419
  projectId: string;
2328
2420
  id: string;
2329
2421
  kind: "conversation" | "subagent";
@@ -1 +1 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,eAAe,EAIpB,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AASnB,OAAO,EAIL,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,EAML,wBAAwB,EAKxB,cAAc,EAOd,iBAAiB,EAQlB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EACL,gBAAgB,EAIjB,MAAM,eAAe,CAAA;AAYtB;;;GAGG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE,SAAS,eAAe,EAAE,EACnC,MAAM,EAAE,SAAS,GAChB,OAAO,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC,CA4CvD;AAED,wBAAsB,eAAe,CACnC,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE,eAAe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BAAqB;;+CA6DgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDA7DlE,MAAM;+CAAiB,qBAAqB;;uCA6DgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAu7BvF"}
@@ -83,6 +83,16 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
83
83
  spawnedBy: string;
84
84
  } | undefined;
85
85
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
86
+ backgroundCommands?: {
87
+ status: "running" | "exited" | "stopped";
88
+ id: string;
89
+ startedAt: string;
90
+ threadId: string;
91
+ command: string;
92
+ exitCode?: number | undefined;
93
+ endedAt?: string | undefined;
94
+ stopping?: boolean | undefined;
95
+ }[] | undefined;
86
96
  movedAt?: string | undefined;
87
97
  lastMessageAt?: string | undefined;
88
98
  };
@@ -379,7 +389,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
379
389
  threadId: string;
380
390
  };
381
391
  query: {
382
- status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | undefined;
392
+ status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
383
393
  limit?: string | undefined;
384
394
  offset?: string | undefined;
385
395
  order?: "asc" | "desc" | undefined;
@@ -388,7 +398,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
388
398
  response: {
389
399
  200: {
390
400
  runs: {
391
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
401
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
392
402
  projectId: string;
393
403
  id: string;
394
404
  kind: "conversation" | "subagent";
@@ -496,7 +506,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
496
506
  response: {
497
507
  200: {
498
508
  children: {
499
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
509
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
500
510
  projectId: string;
501
511
  id: string;
502
512
  model: {
@@ -504,7 +514,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
504
514
  provider: string;
505
515
  };
506
516
  runs: {
507
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
517
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
508
518
  id: string;
509
519
  createdAt: string;
510
520
  attempt: number;
@@ -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"}
@@ -31,7 +31,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
31
31
  scheduleId: string;
32
32
  }[];
33
33
  latestRun: {
34
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
34
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
35
35
  projectId: string;
36
36
  id: string;
37
37
  queuedAt: string;
@@ -124,7 +124,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
124
124
  scheduleId: string;
125
125
  }[];
126
126
  latestRun: {
127
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
127
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
128
128
  projectId: string;
129
129
  id: string;
130
130
  queuedAt: string;
@@ -209,7 +209,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
209
209
  body: unknown;
210
210
  params: {};
211
211
  query: {
212
- status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | undefined;
212
+ status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
213
213
  startedAfter?: string | undefined;
214
214
  startedBefore?: string | undefined;
215
215
  limit?: string | undefined;
@@ -221,7 +221,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
221
221
  response: {
222
222
  200: {
223
223
  runs: {
224
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
224
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
225
225
  projectId: string;
226
226
  id: string;
227
227
  queuedAt: string;
@@ -270,7 +270,7 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
270
270
  response: {
271
271
  200: {
272
272
  run: {
273
- status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
273
+ status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
274
274
  projectId: string;
275
275
  id: string;
276
276
  queuedAt: string;