@sixb/server 0.1.10 → 0.1.12

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 (65) hide show
  1. package/README.md +19 -0
  2. package/dist/auth/browser-origin.d.ts.map +1 -1
  3. package/dist/connectors/http.d.ts.map +1 -1
  4. package/dist/index.js +224 -51
  5. package/dist/index.js.map +19 -19
  6. package/dist/models/display.d.ts +2 -2
  7. package/dist/models/display.d.ts.map +1 -1
  8. package/dist/routes/action-runs.d.ts +2 -0
  9. package/dist/routes/action-runs.d.ts.map +1 -1
  10. package/dist/routes/agents.d.ts +123 -34
  11. package/dist/routes/agents.d.ts.map +1 -1
  12. package/dist/routes/ai-accounting.d.ts.map +1 -1
  13. package/dist/routes/auth.d.ts +2 -2
  14. package/dist/routes/connector-connection-runs.d.ts +138 -4
  15. package/dist/routes/connector-connection-runs.d.ts.map +1 -1
  16. package/dist/routes/datasets.d.ts +8 -8
  17. package/dist/routes/files.d.ts +3 -1
  18. package/dist/routes/files.d.ts.map +1 -1
  19. package/dist/routes/models.d.ts +1 -1
  20. package/dist/routes/objects.d.ts +18 -5
  21. package/dist/routes/objects.d.ts.map +1 -1
  22. package/dist/routes/ontology.d.ts +24 -12
  23. package/dist/routes/ontology.d.ts.map +1 -1
  24. package/dist/routes/syncs.d.ts +5 -5
  25. package/dist/routes/workflows.d.ts +10 -6
  26. package/dist/routes/workflows.d.ts.map +1 -1
  27. package/dist/schemas/agents.d.ts +205 -100
  28. package/dist/schemas/agents.d.ts.map +1 -1
  29. package/dist/schemas/ai-accounting.d.ts +692 -104
  30. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  31. package/dist/schemas/ai-usage.d.ts +2 -2
  32. package/dist/schemas/auth.d.ts +6 -6
  33. package/dist/schemas/common.d.ts +15 -0
  34. package/dist/schemas/common.d.ts.map +1 -1
  35. package/dist/schemas/connectors.d.ts +0 -3
  36. package/dist/schemas/connectors.d.ts.map +1 -1
  37. package/dist/schemas/datasets.d.ts +22 -22
  38. package/dist/schemas/files.d.ts +17 -8
  39. package/dist/schemas/files.d.ts.map +1 -1
  40. package/dist/schemas/models.d.ts +8 -8
  41. package/dist/schemas/objects.d.ts +13 -1
  42. package/dist/schemas/objects.d.ts.map +1 -1
  43. package/dist/schemas/ontology.d.ts +99 -49
  44. package/dist/schemas/ontology.d.ts.map +1 -1
  45. package/dist/schemas/syncs.d.ts +12 -12
  46. package/dist/schemas/workflows.d.ts +50 -50
  47. package/dist/server.d.ts.map +1 -1
  48. package/package.json +6 -5
  49. package/src/auth/browser-origin.ts +50 -1
  50. package/src/connectors/http.ts +0 -1
  51. package/src/models/display.ts +3 -2
  52. package/src/routes/agents.ts +48 -6
  53. package/src/routes/ai-accounting.ts +1 -0
  54. package/src/routes/connector-connection-runs.ts +37 -1
  55. package/src/routes/files.ts +2 -1
  56. package/src/routes/objects.ts +46 -2
  57. package/src/routes/ontology.ts +15 -5
  58. package/src/schemas/agents.ts +9 -0
  59. package/src/schemas/ai-accounting.ts +19 -1
  60. package/src/schemas/common.ts +5 -0
  61. package/src/schemas/connectors.ts +0 -1
  62. package/src/schemas/files.ts +8 -1
  63. package/src/schemas/objects.ts +30 -12
  64. package/src/schemas/ontology.ts +15 -6
  65. package/src/server.ts +2 -0
@@ -296,23 +296,23 @@ export declare const AgentDescriptorSchema: z.ZodObject<{
296
296
  provider: z.ZodString;
297
297
  modelId: z.ZodString;
298
298
  }, "strip", z.ZodTypeAny, {
299
- provider: string;
300
299
  modelId: string;
301
- }, {
302
300
  provider: string;
301
+ }, {
303
302
  modelId: string;
303
+ provider: string;
304
304
  }>;
305
305
  }, "strip", z.ZodTypeAny, {
306
306
  name: string;
307
307
  model: {
308
- provider: string;
309
308
  modelId: string;
309
+ provider: string;
310
310
  };
311
311
  }, {
312
312
  name: string;
313
313
  model: {
314
- provider: string;
315
314
  modelId: string;
315
+ provider: string;
316
316
  };
317
317
  }>;
318
318
  export declare const AgentThreadStatusSchema: z.ZodEnum<["active", "archived"]>;
@@ -335,14 +335,30 @@ export declare const AgentThreadListQuerySchema: z.ZodObject<{
335
335
  export declare const CreateAgentThreadBodySchema: z.ZodObject<{
336
336
  title: z.ZodOptional<z.ZodString>;
337
337
  threadId: z.ZodOptional<z.ZodString>;
338
+ sandbox: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
338
339
  }, "strict", z.ZodTypeAny, {
339
340
  title?: string | undefined;
340
341
  threadId?: string | undefined;
342
+ sandbox?: Record<string, import("./common").JsonValue> | undefined;
341
343
  }, {
342
344
  title?: string | undefined;
343
345
  threadId?: string | undefined;
346
+ sandbox?: Record<string, import("./common").JsonValue> | undefined;
344
347
  }>;
345
348
  export declare const AgentThreadSchema: z.ZodObject<{
349
+ sandboxState: z.ZodOptional<z.ZodObject<{
350
+ name: z.ZodString;
351
+ status: z.ZodEnum<["new", "busy", "ready", "blocked", "unavailable"]>;
352
+ initialized: z.ZodBoolean;
353
+ }, "strip", z.ZodTypeAny, {
354
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
355
+ name: string;
356
+ initialized: boolean;
357
+ }, {
358
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
359
+ name: string;
360
+ initialized: boolean;
361
+ }>>;
346
362
  id: z.ZodString;
347
363
  projectId: z.ZodString;
348
364
  ownerPrincipal: z.ZodObject<{
@@ -356,6 +372,7 @@ export declare const AgentThreadSchema: z.ZodObject<{
356
372
  type: "user" | "serviceAccount" | "system";
357
373
  }>;
358
374
  title: z.ZodOptional<z.ZodString>;
375
+ sandboxParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
359
376
  status: z.ZodEnum<["active", "archived"]>;
360
377
  activeRunId: z.ZodNullable<z.ZodString>;
361
378
  lastMessageAt: z.ZodOptional<z.ZodString>;
@@ -375,6 +392,12 @@ export declare const AgentThreadSchema: z.ZodObject<{
375
392
  createdAt: string;
376
393
  updatedAt: string;
377
394
  title?: string | undefined;
395
+ sandboxState?: {
396
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
397
+ name: string;
398
+ initialized: boolean;
399
+ } | undefined;
400
+ sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
378
401
  lastMessageAt?: string | undefined;
379
402
  }, {
380
403
  status: "active" | "archived";
@@ -389,10 +412,29 @@ export declare const AgentThreadSchema: z.ZodObject<{
389
412
  createdAt: string;
390
413
  updatedAt: string;
391
414
  title?: string | undefined;
415
+ sandboxState?: {
416
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
417
+ name: string;
418
+ initialized: boolean;
419
+ } | undefined;
420
+ sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
392
421
  lastMessageAt?: string | undefined;
393
422
  }>;
394
423
  export declare const AgentThreadListResponseSchema: z.ZodObject<{
395
424
  threads: z.ZodArray<z.ZodObject<{
425
+ sandboxState: z.ZodOptional<z.ZodObject<{
426
+ name: z.ZodString;
427
+ status: z.ZodEnum<["new", "busy", "ready", "blocked", "unavailable"]>;
428
+ initialized: z.ZodBoolean;
429
+ }, "strip", z.ZodTypeAny, {
430
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
431
+ name: string;
432
+ initialized: boolean;
433
+ }, {
434
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
435
+ name: string;
436
+ initialized: boolean;
437
+ }>>;
396
438
  id: z.ZodString;
397
439
  projectId: z.ZodString;
398
440
  ownerPrincipal: z.ZodObject<{
@@ -406,6 +448,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
406
448
  type: "user" | "serviceAccount" | "system";
407
449
  }>;
408
450
  title: z.ZodOptional<z.ZodString>;
451
+ sandboxParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
409
452
  status: z.ZodEnum<["active", "archived"]>;
410
453
  activeRunId: z.ZodNullable<z.ZodString>;
411
454
  lastMessageAt: z.ZodOptional<z.ZodString>;
@@ -425,6 +468,12 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
425
468
  createdAt: string;
426
469
  updatedAt: string;
427
470
  title?: string | undefined;
471
+ sandboxState?: {
472
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
473
+ name: string;
474
+ initialized: boolean;
475
+ } | undefined;
476
+ sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
428
477
  lastMessageAt?: string | undefined;
429
478
  }, {
430
479
  status: "active" | "archived";
@@ -439,6 +488,12 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
439
488
  createdAt: string;
440
489
  updatedAt: string;
441
490
  title?: string | undefined;
491
+ sandboxState?: {
492
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
493
+ name: string;
494
+ initialized: boolean;
495
+ } | undefined;
496
+ sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
442
497
  lastMessageAt?: string | undefined;
443
498
  }>, "many">;
444
499
  hasMore: z.ZodBoolean;
@@ -459,6 +514,12 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
459
514
  createdAt: string;
460
515
  updatedAt: string;
461
516
  title?: string | undefined;
517
+ sandboxState?: {
518
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
519
+ name: string;
520
+ initialized: boolean;
521
+ } | undefined;
522
+ sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
462
523
  lastMessageAt?: string | undefined;
463
524
  }[];
464
525
  }, {
@@ -477,11 +538,30 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
477
538
  createdAt: string;
478
539
  updatedAt: string;
479
540
  title?: string | undefined;
541
+ sandboxState?: {
542
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
543
+ name: string;
544
+ initialized: boolean;
545
+ } | undefined;
546
+ sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
480
547
  lastMessageAt?: string | undefined;
481
548
  }[];
482
549
  }>;
483
550
  export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
484
551
  thread: z.ZodObject<{
552
+ sandboxState: z.ZodOptional<z.ZodObject<{
553
+ name: z.ZodString;
554
+ status: z.ZodEnum<["new", "busy", "ready", "blocked", "unavailable"]>;
555
+ initialized: z.ZodBoolean;
556
+ }, "strip", z.ZodTypeAny, {
557
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
558
+ name: string;
559
+ initialized: boolean;
560
+ }, {
561
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
562
+ name: string;
563
+ initialized: boolean;
564
+ }>>;
485
565
  id: z.ZodString;
486
566
  projectId: z.ZodString;
487
567
  ownerPrincipal: z.ZodObject<{
@@ -495,6 +575,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
495
575
  type: "user" | "serviceAccount" | "system";
496
576
  }>;
497
577
  title: z.ZodOptional<z.ZodString>;
578
+ sandboxParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, z.ZodTypeDef, import("./common").JsonValue>>>;
498
579
  status: z.ZodEnum<["active", "archived"]>;
499
580
  activeRunId: z.ZodNullable<z.ZodString>;
500
581
  lastMessageAt: z.ZodOptional<z.ZodString>;
@@ -514,6 +595,12 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
514
595
  createdAt: string;
515
596
  updatedAt: string;
516
597
  title?: string | undefined;
598
+ sandboxState?: {
599
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
600
+ name: string;
601
+ initialized: boolean;
602
+ } | undefined;
603
+ sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
517
604
  lastMessageAt?: string | undefined;
518
605
  }, {
519
606
  status: "active" | "archived";
@@ -528,6 +615,12 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
528
615
  createdAt: string;
529
616
  updatedAt: string;
530
617
  title?: string | undefined;
618
+ sandboxState?: {
619
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
620
+ name: string;
621
+ initialized: boolean;
622
+ } | undefined;
623
+ sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
531
624
  lastMessageAt?: string | undefined;
532
625
  }>;
533
626
  }, "strip", z.ZodTypeAny, {
@@ -544,6 +637,12 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
544
637
  createdAt: string;
545
638
  updatedAt: string;
546
639
  title?: string | undefined;
640
+ sandboxState?: {
641
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
642
+ name: string;
643
+ initialized: boolean;
644
+ } | undefined;
645
+ sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
547
646
  lastMessageAt?: string | undefined;
548
647
  };
549
648
  }, {
@@ -560,6 +659,12 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
560
659
  createdAt: string;
561
660
  updatedAt: string;
562
661
  title?: string | undefined;
662
+ sandboxState?: {
663
+ status: "unavailable" | "new" | "busy" | "ready" | "blocked";
664
+ name: string;
665
+ initialized: boolean;
666
+ } | undefined;
667
+ sandboxParams?: Record<string, import("./common").JsonValue> | undefined;
563
668
  lastMessageAt?: string | undefined;
564
669
  };
565
670
  }>;
@@ -1969,11 +2074,11 @@ export declare const PostAgentMessageBodySchema: z.ZodObject<{
1969
2074
  provider: z.ZodString;
1970
2075
  modelId: z.ZodString;
1971
2076
  }, "strip", z.ZodTypeAny, {
1972
- provider: string;
1973
2077
  modelId: string;
1974
- }, {
1975
2078
  provider: string;
2079
+ }, {
1976
2080
  modelId: string;
2081
+ provider: string;
1977
2082
  }>>;
1978
2083
  reasoning: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>, z.ZodObject<{
1979
2084
  budgetTokens: z.ZodNumber;
@@ -2100,8 +2205,8 @@ export declare const PostAgentMessageBodySchema: z.ZodObject<{
2100
2205
  };
2101
2206
  }[] | undefined;
2102
2207
  model?: {
2103
- provider: string;
2104
2208
  modelId: string;
2209
+ provider: string;
2105
2210
  } | undefined;
2106
2211
  attachments?: {
2107
2212
  blobId: string;
@@ -2134,8 +2239,8 @@ export declare const PostAgentMessageBodySchema: z.ZodObject<{
2134
2239
  };
2135
2240
  }[] | undefined;
2136
2241
  model?: {
2137
- provider: string;
2138
2242
  modelId: string;
2243
+ provider: string;
2139
2244
  } | undefined;
2140
2245
  attachments?: {
2141
2246
  blobId: string;
@@ -2179,11 +2284,11 @@ export declare const AgentRunSchema: z.ZodObject<{
2179
2284
  provider: z.ZodString;
2180
2285
  modelId: z.ZodString;
2181
2286
  }, "strip", z.ZodTypeAny, {
2182
- provider: string;
2183
2287
  modelId: string;
2184
- }, {
2185
2288
  provider: string;
2289
+ }, {
2186
2290
  modelId: string;
2291
+ provider: string;
2187
2292
  }>>;
2188
2293
  reasoning: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>, z.ZodObject<{
2189
2294
  budgetTokens: z.ZodNumber;
@@ -2205,7 +2310,7 @@ export declare const AgentRunSchema: z.ZodObject<{
2205
2310
  reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
2206
2311
  reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
2207
2312
  }, "strip", z.ZodTypeAny, {
2208
- reportingStatus: "complete" | "partial" | "unavailable";
2313
+ reportingStatus: "partial" | "complete" | "unavailable";
2209
2314
  inputTokens?: number | undefined;
2210
2315
  outputTokens?: number | undefined;
2211
2316
  totalTokens?: number | undefined;
@@ -2215,7 +2320,7 @@ export declare const AgentRunSchema: z.ZodObject<{
2215
2320
  textOutputTokens?: number | undefined;
2216
2321
  reasoningOutputTokens?: number | undefined;
2217
2322
  }, {
2218
- reportingStatus: "complete" | "partial" | "unavailable";
2323
+ reportingStatus: "partial" | "complete" | "unavailable";
2219
2324
  inputTokens?: number | undefined;
2220
2325
  outputTokens?: number | undefined;
2221
2326
  totalTokens?: number | undefined;
@@ -2291,18 +2396,18 @@ export declare const AgentRunSchema: z.ZodObject<{
2291
2396
  triggerMessageId: string;
2292
2397
  streamId: string;
2293
2398
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
2294
- startedAt?: string | undefined;
2295
- completedAt?: string | undefined;
2296
2399
  model?: {
2297
- provider: string;
2298
2400
  modelId: string;
2401
+ provider: string;
2299
2402
  } | undefined;
2300
2403
  modelId?: string | undefined;
2404
+ startedAt?: string | undefined;
2405
+ completedAt?: string | undefined;
2301
2406
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
2302
2407
  budgetTokens: number;
2303
2408
  } | undefined;
2304
2409
  usage?: {
2305
- reportingStatus: "complete" | "partial" | "unavailable";
2410
+ reportingStatus: "partial" | "complete" | "unavailable";
2306
2411
  inputTokens?: number | undefined;
2307
2412
  outputTokens?: number | undefined;
2308
2413
  totalTokens?: number | undefined;
@@ -2343,18 +2448,18 @@ export declare const AgentRunSchema: z.ZodObject<{
2343
2448
  triggerMessageId: string;
2344
2449
  streamId: string;
2345
2450
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
2346
- startedAt?: string | undefined;
2347
- completedAt?: string | undefined;
2348
2451
  model?: {
2349
- provider: string;
2350
2452
  modelId: string;
2453
+ provider: string;
2351
2454
  } | undefined;
2352
2455
  modelId?: string | undefined;
2456
+ startedAt?: string | undefined;
2457
+ completedAt?: string | undefined;
2353
2458
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
2354
2459
  budgetTokens: number;
2355
2460
  } | undefined;
2356
2461
  usage?: {
2357
- reportingStatus: "complete" | "partial" | "unavailable";
2462
+ reportingStatus: "partial" | "complete" | "unavailable";
2358
2463
  inputTokens?: number | undefined;
2359
2464
  outputTokens?: number | undefined;
2360
2465
  totalTokens?: number | undefined;
@@ -2407,11 +2512,11 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
2407
2512
  provider: z.ZodString;
2408
2513
  modelId: z.ZodString;
2409
2514
  }, "strip", z.ZodTypeAny, {
2410
- provider: string;
2411
2515
  modelId: string;
2412
- }, {
2413
2516
  provider: string;
2517
+ }, {
2414
2518
  modelId: string;
2519
+ provider: string;
2415
2520
  }>>;
2416
2521
  reasoning: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>, z.ZodObject<{
2417
2522
  budgetTokens: z.ZodNumber;
@@ -2433,7 +2538,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
2433
2538
  reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
2434
2539
  reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
2435
2540
  }, "strip", z.ZodTypeAny, {
2436
- reportingStatus: "complete" | "partial" | "unavailable";
2541
+ reportingStatus: "partial" | "complete" | "unavailable";
2437
2542
  inputTokens?: number | undefined;
2438
2543
  outputTokens?: number | undefined;
2439
2544
  totalTokens?: number | undefined;
@@ -2443,7 +2548,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
2443
2548
  textOutputTokens?: number | undefined;
2444
2549
  reasoningOutputTokens?: number | undefined;
2445
2550
  }, {
2446
- reportingStatus: "complete" | "partial" | "unavailable";
2551
+ reportingStatus: "partial" | "complete" | "unavailable";
2447
2552
  inputTokens?: number | undefined;
2448
2553
  outputTokens?: number | undefined;
2449
2554
  totalTokens?: number | undefined;
@@ -2519,18 +2624,18 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
2519
2624
  triggerMessageId: string;
2520
2625
  streamId: string;
2521
2626
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
2522
- startedAt?: string | undefined;
2523
- completedAt?: string | undefined;
2524
2627
  model?: {
2525
- provider: string;
2526
2628
  modelId: string;
2629
+ provider: string;
2527
2630
  } | undefined;
2528
2631
  modelId?: string | undefined;
2632
+ startedAt?: string | undefined;
2633
+ completedAt?: string | undefined;
2529
2634
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
2530
2635
  budgetTokens: number;
2531
2636
  } | undefined;
2532
2637
  usage?: {
2533
- reportingStatus: "complete" | "partial" | "unavailable";
2638
+ reportingStatus: "partial" | "complete" | "unavailable";
2534
2639
  inputTokens?: number | undefined;
2535
2640
  outputTokens?: number | undefined;
2536
2641
  totalTokens?: number | undefined;
@@ -2571,18 +2676,18 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
2571
2676
  triggerMessageId: string;
2572
2677
  streamId: string;
2573
2678
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
2574
- startedAt?: string | undefined;
2575
- completedAt?: string | undefined;
2576
2679
  model?: {
2577
- provider: string;
2578
2680
  modelId: string;
2681
+ provider: string;
2579
2682
  } | undefined;
2580
2683
  modelId?: string | undefined;
2684
+ startedAt?: string | undefined;
2685
+ completedAt?: string | undefined;
2581
2686
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
2582
2687
  budgetTokens: number;
2583
2688
  } | undefined;
2584
2689
  usage?: {
2585
- reportingStatus: "complete" | "partial" | "unavailable";
2690
+ reportingStatus: "partial" | "complete" | "unavailable";
2586
2691
  inputTokens?: number | undefined;
2587
2692
  outputTokens?: number | undefined;
2588
2693
  totalTokens?: number | undefined;
@@ -2625,18 +2730,18 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
2625
2730
  triggerMessageId: string;
2626
2731
  streamId: string;
2627
2732
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
2628
- startedAt?: string | undefined;
2629
- completedAt?: string | undefined;
2630
2733
  model?: {
2631
- provider: string;
2632
2734
  modelId: string;
2735
+ provider: string;
2633
2736
  } | undefined;
2634
2737
  modelId?: string | undefined;
2738
+ startedAt?: string | undefined;
2739
+ completedAt?: string | undefined;
2635
2740
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
2636
2741
  budgetTokens: number;
2637
2742
  } | undefined;
2638
2743
  usage?: {
2639
- reportingStatus: "complete" | "partial" | "unavailable";
2744
+ reportingStatus: "partial" | "complete" | "unavailable";
2640
2745
  inputTokens?: number | undefined;
2641
2746
  outputTokens?: number | undefined;
2642
2747
  totalTokens?: number | undefined;
@@ -2679,18 +2784,18 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
2679
2784
  triggerMessageId: string;
2680
2785
  streamId: string;
2681
2786
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
2682
- startedAt?: string | undefined;
2683
- completedAt?: string | undefined;
2684
2787
  model?: {
2685
- provider: string;
2686
2788
  modelId: string;
2789
+ provider: string;
2687
2790
  } | undefined;
2688
2791
  modelId?: string | undefined;
2792
+ startedAt?: string | undefined;
2793
+ completedAt?: string | undefined;
2689
2794
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
2690
2795
  budgetTokens: number;
2691
2796
  } | undefined;
2692
2797
  usage?: {
2693
- reportingStatus: "complete" | "partial" | "unavailable";
2798
+ reportingStatus: "partial" | "complete" | "unavailable";
2694
2799
  inputTokens?: number | undefined;
2695
2800
  outputTokens?: number | undefined;
2696
2801
  totalTokens?: number | undefined;
@@ -2744,11 +2849,11 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
2744
2849
  provider: z.ZodString;
2745
2850
  modelId: z.ZodString;
2746
2851
  }, "strip", z.ZodTypeAny, {
2747
- provider: string;
2748
2852
  modelId: string;
2749
- }, {
2750
2853
  provider: string;
2854
+ }, {
2751
2855
  modelId: string;
2856
+ provider: string;
2752
2857
  }>>;
2753
2858
  reasoning: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>, z.ZodObject<{
2754
2859
  budgetTokens: z.ZodNumber;
@@ -2770,7 +2875,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
2770
2875
  reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
2771
2876
  reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
2772
2877
  }, "strip", z.ZodTypeAny, {
2773
- reportingStatus: "complete" | "partial" | "unavailable";
2878
+ reportingStatus: "partial" | "complete" | "unavailable";
2774
2879
  inputTokens?: number | undefined;
2775
2880
  outputTokens?: number | undefined;
2776
2881
  totalTokens?: number | undefined;
@@ -2780,7 +2885,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
2780
2885
  textOutputTokens?: number | undefined;
2781
2886
  reasoningOutputTokens?: number | undefined;
2782
2887
  }, {
2783
- reportingStatus: "complete" | "partial" | "unavailable";
2888
+ reportingStatus: "partial" | "complete" | "unavailable";
2784
2889
  inputTokens?: number | undefined;
2785
2890
  outputTokens?: number | undefined;
2786
2891
  totalTokens?: number | undefined;
@@ -2856,18 +2961,18 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
2856
2961
  triggerMessageId: string;
2857
2962
  streamId: string;
2858
2963
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
2859
- startedAt?: string | undefined;
2860
- completedAt?: string | undefined;
2861
2964
  model?: {
2862
- provider: string;
2863
2965
  modelId: string;
2966
+ provider: string;
2864
2967
  } | undefined;
2865
2968
  modelId?: string | undefined;
2969
+ startedAt?: string | undefined;
2970
+ completedAt?: string | undefined;
2866
2971
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
2867
2972
  budgetTokens: number;
2868
2973
  } | undefined;
2869
2974
  usage?: {
2870
- reportingStatus: "complete" | "partial" | "unavailable";
2975
+ reportingStatus: "partial" | "complete" | "unavailable";
2871
2976
  inputTokens?: number | undefined;
2872
2977
  outputTokens?: number | undefined;
2873
2978
  totalTokens?: number | undefined;
@@ -2908,18 +3013,18 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
2908
3013
  triggerMessageId: string;
2909
3014
  streamId: string;
2910
3015
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
2911
- startedAt?: string | undefined;
2912
- completedAt?: string | undefined;
2913
3016
  model?: {
2914
- provider: string;
2915
3017
  modelId: string;
3018
+ provider: string;
2916
3019
  } | undefined;
2917
3020
  modelId?: string | undefined;
3021
+ startedAt?: string | undefined;
3022
+ completedAt?: string | undefined;
2918
3023
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
2919
3024
  budgetTokens: number;
2920
3025
  } | undefined;
2921
3026
  usage?: {
2922
- reportingStatus: "complete" | "partial" | "unavailable";
3027
+ reportingStatus: "partial" | "complete" | "unavailable";
2923
3028
  inputTokens?: number | undefined;
2924
3029
  outputTokens?: number | undefined;
2925
3030
  totalTokens?: number | undefined;
@@ -2962,18 +3067,18 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
2962
3067
  triggerMessageId: string;
2963
3068
  streamId: string;
2964
3069
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
2965
- startedAt?: string | undefined;
2966
- completedAt?: string | undefined;
2967
3070
  model?: {
2968
- provider: string;
2969
3071
  modelId: string;
3072
+ provider: string;
2970
3073
  } | undefined;
2971
3074
  modelId?: string | undefined;
3075
+ startedAt?: string | undefined;
3076
+ completedAt?: string | undefined;
2972
3077
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
2973
3078
  budgetTokens: number;
2974
3079
  } | undefined;
2975
3080
  usage?: {
2976
- reportingStatus: "complete" | "partial" | "unavailable";
3081
+ reportingStatus: "partial" | "complete" | "unavailable";
2977
3082
  inputTokens?: number | undefined;
2978
3083
  outputTokens?: number | undefined;
2979
3084
  totalTokens?: number | undefined;
@@ -3016,18 +3121,18 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
3016
3121
  triggerMessageId: string;
3017
3122
  streamId: string;
3018
3123
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
3019
- startedAt?: string | undefined;
3020
- completedAt?: string | undefined;
3021
3124
  model?: {
3022
- provider: string;
3023
3125
  modelId: string;
3126
+ provider: string;
3024
3127
  } | undefined;
3025
3128
  modelId?: string | undefined;
3129
+ startedAt?: string | undefined;
3130
+ completedAt?: string | undefined;
3026
3131
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3027
3132
  budgetTokens: number;
3028
3133
  } | undefined;
3029
3134
  usage?: {
3030
- reportingStatus: "complete" | "partial" | "unavailable";
3135
+ reportingStatus: "partial" | "complete" | "unavailable";
3031
3136
  inputTokens?: number | undefined;
3032
3137
  outputTokens?: number | undefined;
3033
3138
  totalTokens?: number | undefined;
@@ -3081,11 +3186,11 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
3081
3186
  provider: z.ZodString;
3082
3187
  modelId: z.ZodString;
3083
3188
  }, "strip", z.ZodTypeAny, {
3084
- provider: string;
3085
3189
  modelId: string;
3086
- }, {
3087
3190
  provider: string;
3191
+ }, {
3088
3192
  modelId: string;
3193
+ provider: string;
3089
3194
  }>>;
3090
3195
  reasoning: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>, z.ZodObject<{
3091
3196
  budgetTokens: z.ZodNumber;
@@ -3107,7 +3212,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
3107
3212
  reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
3108
3213
  reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
3109
3214
  }, "strip", z.ZodTypeAny, {
3110
- reportingStatus: "complete" | "partial" | "unavailable";
3215
+ reportingStatus: "partial" | "complete" | "unavailable";
3111
3216
  inputTokens?: number | undefined;
3112
3217
  outputTokens?: number | undefined;
3113
3218
  totalTokens?: number | undefined;
@@ -3117,7 +3222,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
3117
3222
  textOutputTokens?: number | undefined;
3118
3223
  reasoningOutputTokens?: number | undefined;
3119
3224
  }, {
3120
- reportingStatus: "complete" | "partial" | "unavailable";
3225
+ reportingStatus: "partial" | "complete" | "unavailable";
3121
3226
  inputTokens?: number | undefined;
3122
3227
  outputTokens?: number | undefined;
3123
3228
  totalTokens?: number | undefined;
@@ -3193,18 +3298,18 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
3193
3298
  triggerMessageId: string;
3194
3299
  streamId: string;
3195
3300
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
3196
- startedAt?: string | undefined;
3197
- completedAt?: string | undefined;
3198
3301
  model?: {
3199
- provider: string;
3200
3302
  modelId: string;
3303
+ provider: string;
3201
3304
  } | undefined;
3202
3305
  modelId?: string | undefined;
3306
+ startedAt?: string | undefined;
3307
+ completedAt?: string | undefined;
3203
3308
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3204
3309
  budgetTokens: number;
3205
3310
  } | undefined;
3206
3311
  usage?: {
3207
- reportingStatus: "complete" | "partial" | "unavailable";
3312
+ reportingStatus: "partial" | "complete" | "unavailable";
3208
3313
  inputTokens?: number | undefined;
3209
3314
  outputTokens?: number | undefined;
3210
3315
  totalTokens?: number | undefined;
@@ -3245,18 +3350,18 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
3245
3350
  triggerMessageId: string;
3246
3351
  streamId: string;
3247
3352
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
3248
- startedAt?: string | undefined;
3249
- completedAt?: string | undefined;
3250
3353
  model?: {
3251
- provider: string;
3252
3354
  modelId: string;
3355
+ provider: string;
3253
3356
  } | undefined;
3254
3357
  modelId?: string | undefined;
3358
+ startedAt?: string | undefined;
3359
+ completedAt?: string | undefined;
3255
3360
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3256
3361
  budgetTokens: number;
3257
3362
  } | undefined;
3258
3363
  usage?: {
3259
- reportingStatus: "complete" | "partial" | "unavailable";
3364
+ reportingStatus: "partial" | "complete" | "unavailable";
3260
3365
  inputTokens?: number | undefined;
3261
3366
  outputTokens?: number | undefined;
3262
3367
  totalTokens?: number | undefined;
@@ -3299,18 +3404,18 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
3299
3404
  triggerMessageId: string;
3300
3405
  streamId: string;
3301
3406
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
3302
- startedAt?: string | undefined;
3303
- completedAt?: string | undefined;
3304
3407
  model?: {
3305
- provider: string;
3306
3408
  modelId: string;
3409
+ provider: string;
3307
3410
  } | undefined;
3308
3411
  modelId?: string | undefined;
3412
+ startedAt?: string | undefined;
3413
+ completedAt?: string | undefined;
3309
3414
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3310
3415
  budgetTokens: number;
3311
3416
  } | undefined;
3312
3417
  usage?: {
3313
- reportingStatus: "complete" | "partial" | "unavailable";
3418
+ reportingStatus: "partial" | "complete" | "unavailable";
3314
3419
  inputTokens?: number | undefined;
3315
3420
  outputTokens?: number | undefined;
3316
3421
  totalTokens?: number | undefined;
@@ -3353,18 +3458,18 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
3353
3458
  triggerMessageId: string;
3354
3459
  streamId: string;
3355
3460
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
3356
- startedAt?: string | undefined;
3357
- completedAt?: string | undefined;
3358
3461
  model?: {
3359
- provider: string;
3360
3462
  modelId: string;
3463
+ provider: string;
3361
3464
  } | undefined;
3362
3465
  modelId?: string | undefined;
3466
+ startedAt?: string | undefined;
3467
+ completedAt?: string | undefined;
3363
3468
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3364
3469
  budgetTokens: number;
3365
3470
  } | undefined;
3366
3471
  usage?: {
3367
- reportingStatus: "complete" | "partial" | "unavailable";
3472
+ reportingStatus: "partial" | "complete" | "unavailable";
3368
3473
  inputTokens?: number | undefined;
3369
3474
  outputTokens?: number | undefined;
3370
3475
  totalTokens?: number | undefined;
@@ -3434,11 +3539,11 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
3434
3539
  provider: z.ZodString;
3435
3540
  modelId: z.ZodString;
3436
3541
  }, "strip", z.ZodTypeAny, {
3437
- provider: string;
3438
3542
  modelId: string;
3439
- }, {
3440
3543
  provider: string;
3544
+ }, {
3441
3545
  modelId: string;
3546
+ provider: string;
3442
3547
  }>>;
3443
3548
  reasoning: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["provider-default", "none", "minimal", "low", "medium", "high", "xhigh", "max"]>, z.ZodObject<{
3444
3549
  budgetTokens: z.ZodNumber;
@@ -3460,7 +3565,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
3460
3565
  reasoningOutputTokens: z.ZodOptional<z.ZodNumber>;
3461
3566
  reportingStatus: z.ZodEnum<["complete", "partial", "unavailable"]>;
3462
3567
  }, "strip", z.ZodTypeAny, {
3463
- reportingStatus: "complete" | "partial" | "unavailable";
3568
+ reportingStatus: "partial" | "complete" | "unavailable";
3464
3569
  inputTokens?: number | undefined;
3465
3570
  outputTokens?: number | undefined;
3466
3571
  totalTokens?: number | undefined;
@@ -3470,7 +3575,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
3470
3575
  textOutputTokens?: number | undefined;
3471
3576
  reasoningOutputTokens?: number | undefined;
3472
3577
  }, {
3473
- reportingStatus: "complete" | "partial" | "unavailable";
3578
+ reportingStatus: "partial" | "complete" | "unavailable";
3474
3579
  inputTokens?: number | undefined;
3475
3580
  outputTokens?: number | undefined;
3476
3581
  totalTokens?: number | undefined;
@@ -3546,18 +3651,18 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
3546
3651
  triggerMessageId: string;
3547
3652
  streamId: string;
3548
3653
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
3549
- startedAt?: string | undefined;
3550
- completedAt?: string | undefined;
3551
3654
  model?: {
3552
- provider: string;
3553
3655
  modelId: string;
3656
+ provider: string;
3554
3657
  } | undefined;
3555
3658
  modelId?: string | undefined;
3659
+ startedAt?: string | undefined;
3660
+ completedAt?: string | undefined;
3556
3661
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3557
3662
  budgetTokens: number;
3558
3663
  } | undefined;
3559
3664
  usage?: {
3560
- reportingStatus: "complete" | "partial" | "unavailable";
3665
+ reportingStatus: "partial" | "complete" | "unavailable";
3561
3666
  inputTokens?: number | undefined;
3562
3667
  outputTokens?: number | undefined;
3563
3668
  totalTokens?: number | undefined;
@@ -3598,18 +3703,18 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
3598
3703
  triggerMessageId: string;
3599
3704
  streamId: string;
3600
3705
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
3601
- startedAt?: string | undefined;
3602
- completedAt?: string | undefined;
3603
3706
  model?: {
3604
- provider: string;
3605
3707
  modelId: string;
3708
+ provider: string;
3606
3709
  } | undefined;
3607
3710
  modelId?: string | undefined;
3711
+ startedAt?: string | undefined;
3712
+ completedAt?: string | undefined;
3608
3713
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3609
3714
  budgetTokens: number;
3610
3715
  } | undefined;
3611
3716
  usage?: {
3612
- reportingStatus: "complete" | "partial" | "unavailable";
3717
+ reportingStatus: "partial" | "complete" | "unavailable";
3613
3718
  inputTokens?: number | undefined;
3614
3719
  outputTokens?: number | undefined;
3615
3720
  totalTokens?: number | undefined;
@@ -3654,18 +3759,18 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
3654
3759
  triggerMessageId: string;
3655
3760
  streamId: string;
3656
3761
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
3657
- startedAt?: string | undefined;
3658
- completedAt?: string | undefined;
3659
3762
  model?: {
3660
- provider: string;
3661
3763
  modelId: string;
3764
+ provider: string;
3662
3765
  } | undefined;
3663
3766
  modelId?: string | undefined;
3767
+ startedAt?: string | undefined;
3768
+ completedAt?: string | undefined;
3664
3769
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3665
3770
  budgetTokens: number;
3666
3771
  } | undefined;
3667
3772
  usage?: {
3668
- reportingStatus: "complete" | "partial" | "unavailable";
3773
+ reportingStatus: "partial" | "complete" | "unavailable";
3669
3774
  inputTokens?: number | undefined;
3670
3775
  outputTokens?: number | undefined;
3671
3776
  totalTokens?: number | undefined;
@@ -3710,18 +3815,18 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
3710
3815
  triggerMessageId: string;
3711
3816
  streamId: string;
3712
3817
  error?: SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
3713
- startedAt?: string | undefined;
3714
- completedAt?: string | undefined;
3715
3818
  model?: {
3716
- provider: string;
3717
3819
  modelId: string;
3820
+ provider: string;
3718
3821
  } | undefined;
3719
3822
  modelId?: string | undefined;
3823
+ startedAt?: string | undefined;
3824
+ completedAt?: string | undefined;
3720
3825
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3721
3826
  budgetTokens: number;
3722
3827
  } | undefined;
3723
3828
  usage?: {
3724
- reportingStatus: "complete" | "partial" | "unavailable";
3829
+ reportingStatus: "partial" | "complete" | "unavailable";
3725
3830
  inputTokens?: number | undefined;
3726
3831
  outputTokens?: number | undefined;
3727
3832
  totalTokens?: number | undefined;