@sixb/server 0.1.26 → 0.2.0

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 (98) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +2495 -1845
  5. package/dist/index.js.map +29 -27
  6. package/dist/routes/actions.d.ts +1 -1
  7. package/dist/routes/agent-approvals.d.ts +11 -5
  8. package/dist/routes/agent-approvals.d.ts.map +1 -1
  9. package/dist/routes/agent-children.d.ts +2 -2
  10. package/dist/routes/agent-computers.d.ts +214 -10
  11. package/dist/routes/agent-computers.d.ts.map +1 -1
  12. package/dist/routes/agent-runners.d.ts +1 -1
  13. package/dist/routes/agent-runners.d.ts.map +1 -1
  14. package/dist/routes/agents.d.ts +230 -24
  15. package/dist/routes/agents.d.ts.map +1 -1
  16. package/dist/routes/ai-accounting.d.ts.map +1 -1
  17. package/dist/routes/auth.d.ts +9 -0
  18. package/dist/routes/auth.d.ts.map +1 -1
  19. package/dist/routes/datasets.d.ts +93 -17
  20. package/dist/routes/datasets.d.ts.map +1 -1
  21. package/dist/routes/events.d.ts +1 -1
  22. package/dist/routes/links.d.ts +121 -81
  23. package/dist/routes/links.d.ts.map +1 -1
  24. package/dist/routes/logs.d.ts +3 -3
  25. package/dist/routes/objects.d.ts +149 -58
  26. package/dist/routes/objects.d.ts.map +1 -1
  27. package/dist/routes/observed-agent-threads.d.ts +23 -5
  28. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  29. package/dist/routes/pipelines.d.ts +2 -2
  30. package/dist/routes/projections.d.ts +122 -122
  31. package/dist/routes/rules.d.ts +2 -2
  32. package/dist/routes/telemetry.d.ts +0 -50
  33. package/dist/routes/telemetry.d.ts.map +1 -1
  34. package/dist/routes/webhook-runs.d.ts +1 -1
  35. package/dist/routes/workflows.d.ts +21 -10
  36. package/dist/routes/workflows.d.ts.map +1 -1
  37. package/dist/routes/ws/agents.d.ts +4 -1
  38. package/dist/routes/ws/agents.d.ts.map +1 -1
  39. package/dist/routes/ws/logs.d.ts +10 -10
  40. package/dist/schemas/actions.d.ts +3 -3
  41. package/dist/schemas/activity.d.ts +4 -4
  42. package/dist/schemas/agent-approvals.d.ts +21 -21
  43. package/dist/schemas/agents.d.ts +760 -107
  44. package/dist/schemas/agents.d.ts.map +1 -1
  45. package/dist/schemas/ai-accounting.d.ts +1114 -6
  46. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  47. package/dist/schemas/auth.d.ts +47 -0
  48. package/dist/schemas/auth.d.ts.map +1 -1
  49. package/dist/schemas/datasets.d.ts +303 -60
  50. package/dist/schemas/datasets.d.ts.map +1 -1
  51. package/dist/schemas/event-payloads.d.ts +6 -6
  52. package/dist/schemas/events.d.ts +8 -8
  53. package/dist/schemas/lineage.d.ts +1272 -0
  54. package/dist/schemas/lineage.d.ts.map +1 -0
  55. package/dist/schemas/links.d.ts +4 -27
  56. package/dist/schemas/links.d.ts.map +1 -1
  57. package/dist/schemas/logs.d.ts +22 -22
  58. package/dist/schemas/objects.d.ts +7 -26
  59. package/dist/schemas/objects.d.ts.map +1 -1
  60. package/dist/schemas/pipelines.d.ts +12 -12
  61. package/dist/schemas/projections.d.ts +733 -733
  62. package/dist/schemas/rules.d.ts +4 -4
  63. package/dist/schemas/telemetry.d.ts +0 -13
  64. package/dist/schemas/telemetry.d.ts.map +1 -1
  65. package/dist/schemas/webhook-runs.d.ts +2 -2
  66. package/dist/schemas/workflows.d.ts +133 -44
  67. package/dist/schemas/workflows.d.ts.map +1 -1
  68. package/dist/server.d.ts +4 -0
  69. package/dist/server.d.ts.map +1 -1
  70. package/dist/utils/request-body.d.ts +5 -0
  71. package/dist/utils/request-body.d.ts.map +1 -1
  72. package/dist/utils/request-timing.d.ts +18 -0
  73. package/dist/utils/request-timing.d.ts.map +1 -0
  74. package/package.json +7 -7
  75. package/src/index.ts +1 -0
  76. package/src/routes/agent-approvals.ts +2 -2
  77. package/src/routes/agent-computers.ts +309 -87
  78. package/src/routes/agent-runners.ts +30 -6
  79. package/src/routes/agents.ts +187 -25
  80. package/src/routes/ai-accounting.ts +149 -12
  81. package/src/routes/auth.ts +24 -2
  82. package/src/routes/datasets.ts +55 -5
  83. package/src/routes/links.ts +43 -76
  84. package/src/routes/objects.ts +49 -42
  85. package/src/routes/observed-agent-threads.ts +2 -2
  86. package/src/routes/telemetry.ts +1 -42
  87. package/src/routes/ws/agents.ts +10 -1
  88. package/src/schemas/agents.ts +121 -6
  89. package/src/schemas/ai-accounting.ts +78 -15
  90. package/src/schemas/auth.ts +19 -0
  91. package/src/schemas/datasets.ts +36 -0
  92. package/src/schemas/lineage.ts +115 -0
  93. package/src/schemas/links.ts +3 -11
  94. package/src/schemas/objects.ts +6 -10
  95. package/src/schemas/telemetry.ts +0 -6
  96. package/src/server.ts +18 -2
  97. package/src/utils/request-body.ts +10 -4
  98. package/src/utils/request-timing.ts +136 -0
@@ -95,10 +95,10 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
95
95
  primaryId: string;
96
96
  createdAt: string;
97
97
  updatedAt: string;
98
- score?: number | undefined;
99
98
  redactions?: Record<string, {
100
99
  reason: "missing_clearance";
101
100
  }> | undefined;
101
+ score?: number | undefined;
102
102
  }[];
103
103
  hasMore: boolean;
104
104
  total: number;
@@ -153,6 +153,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
153
153
  readonly maxRows: number;
154
154
  readonly requiresExplicitBound: boolean;
155
155
  } | undefined;
156
+ readObjectTypeIds: readonly string[] | undefined;
156
157
  };
157
158
  };
158
159
  };
@@ -232,6 +233,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
232
233
  readonly maxRows: number;
233
234
  readonly requiresExplicitBound: boolean;
234
235
  } | undefined;
236
+ readObjectTypeIds: readonly string[] | undefined;
235
237
  };
236
238
  };
237
239
  };
@@ -269,6 +271,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
269
271
  readonly maxRows: number;
270
272
  readonly requiresExplicitBound: boolean;
271
273
  } | undefined;
274
+ readObjectTypeIds: readonly string[] | undefined;
272
275
  };
273
276
  };
274
277
  };
@@ -307,6 +310,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
307
310
  readonly maxRows: number;
308
311
  readonly requiresExplicitBound: boolean;
309
312
  } | undefined;
313
+ readObjectTypeIds: readonly string[] | undefined;
310
314
  };
311
315
  };
312
316
  };
@@ -417,10 +421,10 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
417
421
  primaryId: string;
418
422
  createdAt: string;
419
423
  updatedAt: string;
420
- score?: number | undefined;
421
424
  redactions?: Record<string, {
422
425
  reason: "missing_clearance";
423
426
  }> | undefined;
427
+ score?: number | undefined;
424
428
  };
425
429
  404: {
426
430
  error: string;
@@ -440,6 +444,148 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
440
444
  };
441
445
  };
442
446
  };
447
+ } & {
448
+ api: {
449
+ objects: {
450
+ ":objectTypeId": {
451
+ ":objectId": {
452
+ lineage: {
453
+ get: {
454
+ body: unknown;
455
+ params: {
456
+ objectTypeId: string;
457
+ objectId: string;
458
+ };
459
+ query: unknown;
460
+ headers: unknown;
461
+ response: {
462
+ 200: {
463
+ properties: Record<string, {
464
+ source: string;
465
+ at?: string | undefined;
466
+ replaced?: {
467
+ source: string;
468
+ value?: import("../schemas/common").JsonValue | undefined;
469
+ column?: string | undefined;
470
+ } | undefined;
471
+ column?: string | undefined;
472
+ origins?: {
473
+ datasetId: string;
474
+ column: string;
475
+ }[] | undefined;
476
+ removed?: true | undefined;
477
+ resolution?: {
478
+ strategy: "editsWin";
479
+ } | {
480
+ strategy: "mostRecent";
481
+ sourceUpdatedAt: string;
482
+ editedAt?: string | undefined;
483
+ } | undefined;
484
+ }>;
485
+ objectTypeId: string;
486
+ primaryId: string;
487
+ restricted: number;
488
+ existence: {
489
+ source: string;
490
+ };
491
+ sources: Record<string, {
492
+ kind: "projection";
493
+ projectionId: string;
494
+ projectionRunId?: string | undefined;
495
+ datasetVersion?: {
496
+ datasetId: string;
497
+ versionId: string;
498
+ } | undefined;
499
+ rowOrigins?: {
500
+ datasetId: string;
501
+ column: string;
502
+ }[] | undefined;
503
+ } | {
504
+ kind: "edit";
505
+ commitId: string | null;
506
+ committedAt: string;
507
+ executor?: {
508
+ type: "request";
509
+ requestId: string;
510
+ } | {
511
+ id: string;
512
+ kind: "workflow" | "action" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
513
+ type: "primitive";
514
+ runId: string;
515
+ } | {
516
+ type: "agent";
517
+ runId: string;
518
+ } | {
519
+ type: "kernel";
520
+ operation: {
521
+ type: "ontology.recover";
522
+ recoveryId: string;
523
+ } | {
524
+ type: "ontology.indexVectors";
525
+ indexingId: string;
526
+ };
527
+ } | undefined;
528
+ requestedBy?: {
529
+ id: string;
530
+ type: "user" | "serviceAccount";
531
+ } | undefined;
532
+ action?: {
533
+ actionId: string;
534
+ runId: string;
535
+ } | undefined;
536
+ } | {
537
+ kind: "telemetry";
538
+ commitId: string;
539
+ committedAt: string;
540
+ executor?: {
541
+ type: "request";
542
+ requestId: string;
543
+ } | {
544
+ id: string;
545
+ kind: "workflow" | "action" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
546
+ type: "primitive";
547
+ runId: string;
548
+ } | {
549
+ type: "agent";
550
+ runId: string;
551
+ } | {
552
+ type: "kernel";
553
+ operation: {
554
+ type: "ontology.recover";
555
+ recoveryId: string;
556
+ } | {
557
+ type: "ontology.indexVectors";
558
+ indexingId: string;
559
+ };
560
+ } | undefined;
561
+ requestedBy?: {
562
+ id: string;
563
+ type: "user" | "serviceAccount";
564
+ } | undefined;
565
+ projectionId?: string | undefined;
566
+ } | {
567
+ kind: "identity";
568
+ }>;
569
+ };
570
+ 404: {
571
+ error: string;
572
+ };
573
+ 422: {
574
+ type: "validation";
575
+ on: string;
576
+ summary?: string;
577
+ message?: string;
578
+ found?: unknown;
579
+ property?: string;
580
+ expected?: string;
581
+ };
582
+ };
583
+ };
584
+ };
585
+ };
586
+ };
587
+ };
588
+ };
443
589
  } & {
444
590
  api: {
445
591
  objects: {
@@ -463,10 +609,10 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
463
609
  primaryId: string;
464
610
  createdAt: string;
465
611
  updatedAt: string;
466
- score?: number | undefined;
467
612
  redactions?: Record<string, {
468
613
  reason: "missing_clearance";
469
614
  }> | undefined;
615
+ score?: number | undefined;
470
616
  };
471
617
  404: {
472
618
  error: string;
@@ -494,61 +640,6 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
494
640
  };
495
641
  };
496
642
  };
497
- } & {
498
- api: {
499
- objects: {
500
- ":objectTypeId": {
501
- ":objectId": {
502
- put: {
503
- body: {
504
- properties: Record<string, unknown>;
505
- };
506
- params: {
507
- objectTypeId: string;
508
- objectId: string;
509
- };
510
- query: unknown;
511
- headers: unknown;
512
- response: {
513
- 200: {
514
- properties: Record<string, unknown>;
515
- objectTypeId: string;
516
- primaryId: string;
517
- createdAt: string;
518
- updatedAt: string;
519
- score?: number | undefined;
520
- redactions?: Record<string, {
521
- reason: "missing_clearance";
522
- }> | undefined;
523
- };
524
- 404: {
525
- error: string;
526
- };
527
- 403: {
528
- error: string;
529
- };
530
- 409: {
531
- error: string;
532
- code: "object.unique_violation";
533
- };
534
- 400: {
535
- error: string;
536
- };
537
- 422: {
538
- type: "validation";
539
- on: string;
540
- summary?: string;
541
- message?: string;
542
- found?: unknown;
543
- property?: string;
544
- expected?: string;
545
- };
546
- };
547
- };
548
- };
549
- };
550
- };
551
- };
552
643
  }, {
553
644
  derive: {};
554
645
  resolve: {};
@@ -1 +1 @@
1
- {"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAInB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA+FpC,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE;;;;;;;EAyCvF;AAgID,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDApL1B,MAAM;oEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAu0BxF"}
1
+ {"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAInB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyGpC,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE;;;;;;;EAyCvF;AAgID,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDArL1B,MAAM;oEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAq0BxF"}
@@ -65,6 +65,12 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
65
65
  title?: string | undefined;
66
66
  approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
67
67
  approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
68
+ computer?: {
69
+ id: string;
70
+ name: string;
71
+ folder: string;
72
+ online: boolean;
73
+ } | undefined;
68
74
  runsOn?: "computer" | undefined;
69
75
  sandboxState?: {
70
76
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
@@ -77,7 +83,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
77
83
  spawnedBy: string;
78
84
  } | undefined;
79
85
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
80
- computerId?: string | undefined;
86
+ movedAt?: string | undefined;
81
87
  lastMessageAt?: string | undefined;
82
88
  };
83
89
  404: {
@@ -185,6 +191,17 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
185
191
  providerMetadata?: import("../schemas/common").JsonValue | undefined;
186
192
  dynamic?: boolean | undefined;
187
193
  providerExecuted?: boolean | undefined;
194
+ outputFile?: {
195
+ path: string;
196
+ fileRef: {
197
+ blobId: string;
198
+ digest: string;
199
+ sizeBytes: number;
200
+ fileName?: string | undefined;
201
+ mediaType?: string | undefined;
202
+ logicalPath?: string | undefined;
203
+ };
204
+ } | undefined;
188
205
  } | {
189
206
  type: "tool-call";
190
207
  input: import("../schemas/common").JsonValue;
@@ -232,7 +249,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
232
249
  } | {
233
250
  error: {
234
251
  at: string;
235
- code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
252
+ code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
236
253
  message: string;
237
254
  retryable: boolean;
238
255
  details?: import("../schemas/common").JsonValue | undefined;
@@ -266,6 +283,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
266
283
  type: "user" | "serviceAccount" | "system";
267
284
  } | undefined;
268
285
  compaction?: {
286
+ reason: "threshold" | "overflow";
269
287
  createdAt: string;
270
288
  checkpointId: string;
271
289
  summary: string;
@@ -379,7 +397,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
379
397
  attempt: number;
380
398
  triggerMessageId: string;
381
399
  streamId: string;
382
- error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
400
+ error?: import("@sixb/core").SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
383
401
  requestedBy?: {
384
402
  id: string;
385
403
  type: "user" | "serviceAccount";
@@ -492,7 +510,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
492
510
  attempt: number;
493
511
  parentRunId: string;
494
512
  streamId: string;
495
- error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
513
+ error?: import("@sixb/core").SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
496
514
  modelId?: string | undefined;
497
515
  startedAt?: string | undefined;
498
516
  completedAt?: string | undefined;
@@ -555,7 +573,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
555
573
  logicalPath?: string | undefined;
556
574
  };
557
575
  }[];
558
- error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
576
+ error?: import("@sixb/core").SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
559
577
  completedAt?: string | undefined;
560
578
  tier?: "light" | "standard" | "heavy" | undefined;
561
579
  reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiMhF"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiMhF"}
@@ -289,12 +289,12 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
289
289
  id: string;
290
290
  mode: "append" | "snapshot";
291
291
  startedAt: string;
292
+ datasetId: string;
293
+ stepId: string;
292
294
  inputs: {
293
295
  datasetId: string;
294
296
  versionId: string;
295
297
  }[];
296
- datasetId: string;
297
- stepId: string;
298
298
  pipelineId: string;
299
299
  pipelineRunId: string;
300
300
  error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;