@sixb/server 0.1.25 → 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 (135) hide show
  1. package/README.md +1 -1
  2. package/dist/auth/public-routes.d.ts.map +1 -1
  3. package/dist/auth/run-token.d.ts +28 -0
  4. package/dist/auth/run-token.d.ts.map +1 -0
  5. package/dist/auth/scope.d.ts +11 -13
  6. package/dist/auth/scope.d.ts.map +1 -1
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +4999 -4151
  10. package/dist/index.js.map +47 -43
  11. package/dist/registerRoutes.d.ts.map +1 -1
  12. package/dist/routes/actions.d.ts +1 -1
  13. package/dist/routes/agent-approval-gate.d.ts +7 -4
  14. package/dist/routes/agent-approval-gate.d.ts.map +1 -1
  15. package/dist/routes/agent-approvals.d.ts +14 -5
  16. package/dist/routes/agent-approvals.d.ts.map +1 -1
  17. package/dist/routes/agent-children.d.ts +2 -2
  18. package/dist/routes/agent-computers.d.ts +338 -0
  19. package/dist/routes/agent-computers.d.ts.map +1 -0
  20. package/dist/routes/agent-runners.d.ts +74 -0
  21. package/dist/routes/agent-runners.d.ts.map +1 -0
  22. package/dist/routes/agents.d.ts +250 -16
  23. package/dist/routes/agents.d.ts.map +1 -1
  24. package/dist/routes/ai-accounting.d.ts.map +1 -1
  25. package/dist/routes/artifacts.d.ts +5 -28
  26. package/dist/routes/artifacts.d.ts.map +1 -1
  27. package/dist/routes/auth.d.ts +10 -1
  28. package/dist/routes/auth.d.ts.map +1 -1
  29. package/dist/routes/datasets.d.ts +93 -17
  30. package/dist/routes/datasets.d.ts.map +1 -1
  31. package/dist/routes/events.d.ts +1 -1
  32. package/dist/routes/links.d.ts +121 -81
  33. package/dist/routes/links.d.ts.map +1 -1
  34. package/dist/routes/logs.d.ts +3 -3
  35. package/dist/routes/objects.d.ts +149 -58
  36. package/dist/routes/objects.d.ts.map +1 -1
  37. package/dist/routes/observed-agent-threads.d.ts +25 -4
  38. package/dist/routes/observed-agent-threads.d.ts.map +1 -1
  39. package/dist/routes/pipelines.d.ts +2 -2
  40. package/dist/routes/pipelines.d.ts.map +1 -1
  41. package/dist/routes/projections.d.ts +124 -122
  42. package/dist/routes/projections.d.ts.map +1 -1
  43. package/dist/routes/rules.d.ts +2 -2
  44. package/dist/routes/shared-access.d.ts +2 -2
  45. package/dist/routes/syncs.d.ts +34 -34
  46. package/dist/routes/syncs.d.ts.map +1 -1
  47. package/dist/routes/telemetry.d.ts +0 -50
  48. package/dist/routes/telemetry.d.ts.map +1 -1
  49. package/dist/routes/users.d.ts +1 -0
  50. package/dist/routes/users.d.ts.map +1 -1
  51. package/dist/routes/webhook-runs.d.ts +1 -1
  52. package/dist/routes/workflows.d.ts +25 -14
  53. package/dist/routes/workflows.d.ts.map +1 -1
  54. package/dist/routes/ws/agents.d.ts +4 -1
  55. package/dist/routes/ws/agents.d.ts.map +1 -1
  56. package/dist/routes/ws/logs.d.ts +10 -10
  57. package/dist/schemas/actions.d.ts +3 -3
  58. package/dist/schemas/activity.d.ts +4 -4
  59. package/dist/schemas/agent-approvals.d.ts +21 -21
  60. package/dist/schemas/agents.d.ts +819 -88
  61. package/dist/schemas/agents.d.ts.map +1 -1
  62. package/dist/schemas/ai-accounting.d.ts +1114 -6
  63. package/dist/schemas/ai-accounting.d.ts.map +1 -1
  64. package/dist/schemas/auth.d.ts +49 -2
  65. package/dist/schemas/auth.d.ts.map +1 -1
  66. package/dist/schemas/datasets.d.ts +303 -60
  67. package/dist/schemas/datasets.d.ts.map +1 -1
  68. package/dist/schemas/event-payloads.d.ts +6 -6
  69. package/dist/schemas/events.d.ts +8 -8
  70. package/dist/schemas/lineage.d.ts +1272 -0
  71. package/dist/schemas/lineage.d.ts.map +1 -0
  72. package/dist/schemas/links.d.ts +4 -27
  73. package/dist/schemas/links.d.ts.map +1 -1
  74. package/dist/schemas/logs.d.ts +22 -22
  75. package/dist/schemas/objects.d.ts +7 -26
  76. package/dist/schemas/objects.d.ts.map +1 -1
  77. package/dist/schemas/pipelines.d.ts +12 -12
  78. package/dist/schemas/projections.d.ts +747 -733
  79. package/dist/schemas/projections.d.ts.map +1 -1
  80. package/dist/schemas/rules.d.ts +4 -4
  81. package/dist/schemas/shared-access.d.ts +2 -2
  82. package/dist/schemas/syncs.d.ts +24 -24
  83. package/dist/schemas/telemetry.d.ts +0 -13
  84. package/dist/schemas/telemetry.d.ts.map +1 -1
  85. package/dist/schemas/users.d.ts +8 -0
  86. package/dist/schemas/users.d.ts.map +1 -1
  87. package/dist/schemas/webhook-runs.d.ts +2 -2
  88. package/dist/schemas/workflows.d.ts +133 -44
  89. package/dist/schemas/workflows.d.ts.map +1 -1
  90. package/dist/server.d.ts +5 -0
  91. package/dist/server.d.ts.map +1 -1
  92. package/dist/utils/request-body.d.ts +5 -0
  93. package/dist/utils/request-body.d.ts.map +1 -1
  94. package/dist/utils/request-timing.d.ts +18 -0
  95. package/dist/utils/request-timing.d.ts.map +1 -0
  96. package/package.json +7 -7
  97. package/src/auth/public-routes.ts +0 -6
  98. package/src/auth/run-token.ts +327 -0
  99. package/src/auth/scope.ts +16 -37
  100. package/src/index.ts +1 -0
  101. package/src/registerRoutes.ts +4 -2
  102. package/src/routes/agent-approval-gate.ts +40 -14
  103. package/src/routes/agent-approvals.ts +3 -3
  104. package/src/routes/agent-computers.ts +348 -0
  105. package/src/routes/agent-runners.ts +205 -0
  106. package/src/routes/agents.ts +193 -26
  107. package/src/routes/ai-accounting.ts +149 -12
  108. package/src/routes/artifacts.ts +55 -11
  109. package/src/routes/auth.ts +24 -2
  110. package/src/routes/datasets.ts +60 -5
  111. package/src/routes/links.ts +43 -76
  112. package/src/routes/objects.ts +49 -42
  113. package/src/routes/observed-agent-threads.ts +2 -2
  114. package/src/routes/pipelines.ts +5 -0
  115. package/src/routes/syncs.ts +4 -0
  116. package/src/routes/telemetry.ts +1 -42
  117. package/src/routes/users.ts +15 -2
  118. package/src/routes/ws/agents.ts +10 -1
  119. package/src/schemas/agents.ts +131 -1
  120. package/src/schemas/ai-accounting.ts +78 -15
  121. package/src/schemas/artifacts.ts +1 -1
  122. package/src/schemas/auth.ts +19 -0
  123. package/src/schemas/datasets.ts +36 -0
  124. package/src/schemas/lineage.ts +115 -0
  125. package/src/schemas/links.ts +3 -11
  126. package/src/schemas/objects.ts +6 -10
  127. package/src/schemas/projections.ts +2 -0
  128. package/src/schemas/telemetry.ts +0 -6
  129. package/src/schemas/users.ts +6 -0
  130. package/src/server.ts +53 -15
  131. package/src/utils/request-body.ts +10 -4
  132. package/src/utils/request-timing.ts +136 -0
  133. package/dist/routes/agent-api-gateway.d.ts +0 -4
  134. package/dist/routes/agent-api-gateway.d.ts.map +0 -1
  135. package/src/routes/agent-api-gateway.ts +0 -404
@@ -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,C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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,13 @@ 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;
74
+ runsOn?: "computer" | undefined;
68
75
  sandboxState?: {
69
76
  status: "unavailable" | "new" | "busy" | "ready" | "blocked";
70
77
  name: string;
@@ -76,6 +83,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
76
83
  spawnedBy: string;
77
84
  } | undefined;
78
85
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
86
+ movedAt?: string | undefined;
79
87
  lastMessageAt?: string | undefined;
80
88
  };
81
89
  404: {
@@ -183,6 +191,17 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
183
191
  providerMetadata?: import("../schemas/common").JsonValue | undefined;
184
192
  dynamic?: boolean | undefined;
185
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;
186
205
  } | {
187
206
  type: "tool-call";
188
207
  input: import("../schemas/common").JsonValue;
@@ -230,7 +249,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
230
249
  } | {
231
250
  error: {
232
251
  at: string;
233
- 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";
234
253
  message: string;
235
254
  retryable: boolean;
236
255
  details?: import("../schemas/common").JsonValue | undefined;
@@ -264,6 +283,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
264
283
  type: "user" | "serviceAccount" | "system";
265
284
  } | undefined;
266
285
  compaction?: {
286
+ reason: "threshold" | "overflow";
267
287
  createdAt: string;
268
288
  checkpointId: string;
269
289
  summary: string;
@@ -377,7 +397,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
377
397
  attempt: number;
378
398
  triggerMessageId: string;
379
399
  streamId: string;
380
- 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;
381
401
  requestedBy?: {
382
402
  id: string;
383
403
  type: "user" | "serviceAccount";
@@ -421,6 +441,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
421
441
  } | undefined;
422
442
  finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
423
443
  parentRunId?: string | undefined;
444
+ runsOn?: "computer" | undefined;
424
445
  diagnostics?: {
425
446
  code: "step_limit_reached" | "output_limit_reached";
426
447
  message: string;
@@ -489,7 +510,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
489
510
  attempt: number;
490
511
  parentRunId: string;
491
512
  streamId: string;
492
- 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;
493
514
  modelId?: string | undefined;
494
515
  startedAt?: string | undefined;
495
516
  completedAt?: string | undefined;
@@ -552,7 +573,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
552
573
  logicalPath?: string | undefined;
553
574
  };
554
575
  }[];
555
- 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;
556
577
  completedAt?: string | undefined;
557
578
  tier?: "light" | "standard" | "heavy" | undefined;
558
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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;
@@ -1 +1 @@
1
- {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyHpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8KrE"}
1
+ {"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAEx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