@sixb/server 0.1.17 → 0.1.19

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 (110) hide show
  1. package/README.md +3 -3
  2. package/dist/actions/serialize.d.ts +7 -0
  3. package/dist/actions/serialize.d.ts.map +1 -0
  4. package/dist/auth/experience.d.ts +5 -1
  5. package/dist/auth/experience.d.ts.map +1 -1
  6. package/dist/files/content.d.ts +0 -1
  7. package/dist/files/content.d.ts.map +1 -1
  8. package/dist/index.js +812 -769
  9. package/dist/index.js.map +32 -31
  10. package/dist/routes/action-runs.d.ts +11 -13
  11. package/dist/routes/action-runs.d.ts.map +1 -1
  12. package/dist/routes/actions.d.ts +44 -13
  13. package/dist/routes/actions.d.ts.map +1 -1
  14. package/dist/routes/agent-api-gateway.d.ts.map +1 -1
  15. package/dist/routes/agents.d.ts +67 -47
  16. package/dist/routes/agents.d.ts.map +1 -1
  17. package/dist/routes/auth.d.ts +3 -2
  18. package/dist/routes/auth.d.ts.map +1 -1
  19. package/dist/routes/connector-connection-runs.d.ts +21 -21
  20. package/dist/routes/connector-connections.d.ts +8 -8
  21. package/dist/routes/connectors.d.ts +2 -2
  22. package/dist/routes/datasets.d.ts +9 -6
  23. package/dist/routes/datasets.d.ts.map +1 -1
  24. package/dist/routes/events.d.ts +4 -4
  25. package/dist/routes/files.d.ts +15 -12
  26. package/dist/routes/files.d.ts.map +1 -1
  27. package/dist/routes/models.d.ts +1 -0
  28. package/dist/routes/models.d.ts.map +1 -1
  29. package/dist/routes/objects.d.ts +21 -4
  30. package/dist/routes/objects.d.ts.map +1 -1
  31. package/dist/routes/ontology.d.ts +6 -6
  32. package/dist/routes/pipelines.d.ts +16 -16
  33. package/dist/routes/project.d.ts +2 -0
  34. package/dist/routes/project.d.ts.map +1 -1
  35. package/dist/routes/projections.d.ts +49 -49
  36. package/dist/routes/syncs.d.ts +10 -10
  37. package/dist/routes/webhook-runs.d.ts +2 -2
  38. package/dist/routes/workflows.d.ts +51 -48
  39. package/dist/routes/workflows.d.ts.map +1 -1
  40. package/dist/routes/ws/events.d.ts +6 -9
  41. package/dist/routes/ws/events.d.ts.map +1 -1
  42. package/dist/routes/ws/subscription-hub.d.ts +5 -0
  43. package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
  44. package/dist/schemas/actions.d.ts +100 -84
  45. package/dist/schemas/actions.d.ts.map +1 -1
  46. package/dist/schemas/agents.d.ts +242 -143
  47. package/dist/schemas/agents.d.ts.map +1 -1
  48. package/dist/schemas/ai-accounting.d.ts +10 -10
  49. package/dist/schemas/ai-limits.d.ts +10 -10
  50. package/dist/schemas/auth.d.ts +7 -0
  51. package/dist/schemas/auth.d.ts.map +1 -1
  52. package/dist/schemas/common.d.ts +8 -0
  53. package/dist/schemas/common.d.ts.map +1 -1
  54. package/dist/schemas/connectors.d.ts +8 -8
  55. package/dist/schemas/datasets.d.ts +58 -43
  56. package/dist/schemas/datasets.d.ts.map +1 -1
  57. package/dist/schemas/event-payloads.d.ts +39 -0
  58. package/dist/schemas/event-payloads.d.ts.map +1 -1
  59. package/dist/schemas/events.d.ts +24 -24
  60. package/dist/schemas/events.d.ts.map +1 -1
  61. package/dist/schemas/files.d.ts +5 -5
  62. package/dist/schemas/files.d.ts.map +1 -1
  63. package/dist/schemas/models.d.ts +10 -0
  64. package/dist/schemas/models.d.ts.map +1 -1
  65. package/dist/schemas/objects.d.ts +32 -0
  66. package/dist/schemas/objects.d.ts.map +1 -1
  67. package/dist/schemas/ontology.d.ts +40 -40
  68. package/dist/schemas/pipelines.d.ts +92 -92
  69. package/dist/schemas/project.d.ts +8 -0
  70. package/dist/schemas/project.d.ts.map +1 -1
  71. package/dist/schemas/projections.d.ts +290 -290
  72. package/dist/schemas/syncs.d.ts +34 -34
  73. package/dist/schemas/webhook-runs.d.ts +8 -8
  74. package/dist/schemas/workflows.d.ts +177 -160
  75. package/dist/schemas/workflows.d.ts.map +1 -1
  76. package/dist/server.d.ts +1 -0
  77. package/dist/server.d.ts.map +1 -1
  78. package/dist/utils/http.d.ts.map +1 -1
  79. package/dist/utils/request-body.d.ts +20 -6
  80. package/dist/utils/request-body.d.ts.map +1 -1
  81. package/package.json +6 -5
  82. package/src/actions/serialize.ts +55 -0
  83. package/src/auth/experience.ts +20 -2
  84. package/src/files/content.ts +43 -88
  85. package/src/routes/action-runs.ts +1 -54
  86. package/src/routes/actions.ts +26 -8
  87. package/src/routes/agent-api-gateway.ts +18 -42
  88. package/src/routes/agents.ts +29 -9
  89. package/src/routes/auth.ts +84 -19
  90. package/src/routes/datasets.ts +12 -43
  91. package/src/routes/files.ts +18 -64
  92. package/src/routes/models.ts +3 -0
  93. package/src/routes/objects.ts +12 -2
  94. package/src/routes/project.ts +2 -1
  95. package/src/routes/workflows.ts +5 -0
  96. package/src/routes/ws/events.ts +7 -15
  97. package/src/routes/ws/subscription-hub.ts +20 -5
  98. package/src/schemas/actions.ts +21 -18
  99. package/src/schemas/agents.ts +28 -3
  100. package/src/schemas/auth.ts +5 -0
  101. package/src/schemas/common.ts +3 -0
  102. package/src/schemas/datasets.ts +23 -1
  103. package/src/schemas/event-payloads.ts +3 -1
  104. package/src/schemas/files.ts +7 -1
  105. package/src/schemas/models.ts +2 -0
  106. package/src/schemas/objects.ts +13 -0
  107. package/src/schemas/project.ts +4 -0
  108. package/src/server.ts +23 -4
  109. package/src/utils/http.ts +2 -0
  110. package/src/utils/request-body.ts +55 -6
@@ -22,7 +22,7 @@ export declare function registerActionRunRoutes(app: Elysia, host: SixbHostView)
22
22
  body: unknown;
23
23
  params: {};
24
24
  query: {
25
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
25
+ status?: "succeeded" | "failed" | undefined;
26
26
  objectTypeId?: string | undefined;
27
27
  actionId?: string | undefined;
28
28
  primaryId?: string | undefined;
@@ -36,7 +36,7 @@ export declare function registerActionRunRoutes(app: Elysia, host: SixbHostView)
36
36
  response: {
37
37
  200: {
38
38
  runs: {
39
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
39
+ status: "succeeded" | "failed";
40
40
  projectId: string;
41
41
  id: string;
42
42
  actionId: string;
@@ -47,11 +47,10 @@ export declare function registerActionRunRoutes(app: Elysia, host: SixbHostView)
47
47
  objectTypeId: string;
48
48
  primaryId: string;
49
49
  };
50
- queuedAt: string;
51
- error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit"> | undefined;
52
- phase?: "validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit" | undefined;
53
- startedAt?: string | undefined;
54
- finishedAt?: string | undefined;
50
+ phase: "validation" | "writeback" | "edits" | "effects" | "commit";
51
+ startedAt: string;
52
+ finishedAt: string;
53
+ error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
55
54
  }[];
56
55
  hasMore: boolean;
57
56
  total: number;
@@ -88,7 +87,7 @@ export declare function registerActionRunRoutes(app: Elysia, host: SixbHostView)
88
87
  headers: unknown;
89
88
  response: {
90
89
  200: {
91
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
90
+ status: "succeeded" | "failed";
92
91
  projectId: string;
93
92
  id: string;
94
93
  params: Record<string, unknown>;
@@ -100,8 +99,10 @@ export declare function registerActionRunRoutes(app: Elysia, host: SixbHostView)
100
99
  objectTypeId: string;
101
100
  primaryId: string;
102
101
  };
103
- queuedAt: string;
104
- error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit"> | undefined;
102
+ phase: "validation" | "writeback" | "edits" | "effects" | "commit";
103
+ startedAt: string;
104
+ finishedAt: string;
105
+ error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
105
106
  writeback?: {
106
107
  status: "succeeded";
107
108
  completedAt: string;
@@ -119,9 +120,6 @@ export declare function registerActionRunRoutes(app: Elysia, host: SixbHostView)
119
120
  status: "failed";
120
121
  completedAt: string;
121
122
  } | undefined;
122
- phase?: "validation" | "writeback" | "edits" | "effects" | "cancelled" | "request" | "enqueue" | "commit" | undefined;
123
- startedAt?: string | undefined;
124
- finishedAt?: string | undefined;
125
123
  };
126
124
  404: {
127
125
  error: string;
@@ -1 +1 @@
1
- {"version":3,"file":"action-runs.d.ts","sourceRoot":"","sources":["../../src/routes/action-runs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAwHpC,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0HtE"}
1
+ {"version":3,"file":"action-runs.d.ts","sourceRoot":"","sources":["../../src/routes/action-runs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAoEpC,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0HtE"}
@@ -132,14 +132,39 @@ export declare function registerActionRoutes(app: Elysia, host: SixbHostView): E
132
132
  headers: unknown;
133
133
  response: {
134
134
  200: {
135
- runId: string;
136
- queuedAt: string;
137
- created: boolean;
138
- jobId?: string | undefined;
139
- } | {
140
- error: string;
141
- code?: import("@sixb/core").SixbErrorCode;
142
- details?: import("@sixb/core").ReadonlyJsonValue;
135
+ status: "succeeded" | "failed";
136
+ projectId: string;
137
+ id: string;
138
+ params: Record<string, unknown>;
139
+ actionId: string;
140
+ subject: {
141
+ kind: "none";
142
+ } | {
143
+ kind: "object";
144
+ objectTypeId: string;
145
+ primaryId: string;
146
+ };
147
+ phase: "validation" | "writeback" | "edits" | "effects" | "commit";
148
+ startedAt: string;
149
+ finishedAt: string;
150
+ error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
151
+ writeback?: {
152
+ status: "succeeded";
153
+ completedAt: string;
154
+ result: import("../schemas/common").JsonValue;
155
+ } | {
156
+ error: import("@sixb/core").ActionRunFailure<"writeback">;
157
+ status: "failed";
158
+ completedAt: string;
159
+ } | undefined;
160
+ effects?: {
161
+ status: "succeeded";
162
+ completedAt: string;
163
+ } | {
164
+ error: import("@sixb/core").ActionRunFailure<"effects">;
165
+ status: "failed";
166
+ completedAt: string;
167
+ } | undefined;
143
168
  };
144
169
  404: {
145
170
  error: string;
@@ -147,14 +172,20 @@ export declare function registerActionRoutes(app: Elysia, host: SixbHostView): E
147
172
  403: {
148
173
  error: string;
149
174
  };
175
+ 503: {
176
+ error: string;
177
+ code: "runtime.stopping";
178
+ };
179
+ 409: {
180
+ error: string;
181
+ code: "action.run_in_progress";
182
+ };
150
183
  400: {
151
184
  error: string;
152
185
  };
153
- 202: {
154
- runId: string;
155
- queuedAt: string;
156
- created: boolean;
157
- jobId?: string | undefined;
186
+ 500: {
187
+ error: string;
188
+ code: "action.phase_failed" | "action.read_conflict" | "action.run_in_progress" | "action.timeout" | "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" | "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";
158
189
  };
159
190
  422: {
160
191
  type: "validation";
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/routes/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAgDpC,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EnE"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/routes/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,YAAY,CAAA;AAEhE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAoDpC,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FnE"}
@@ -1 +1 @@
1
- {"version":3,"file":"agent-api-gateway.d.ts","sourceRoot":"","sources":["../../src/routes/agent-api-gateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAoB9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAgBpC,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,QAuB5E"}
1
+ {"version":3,"file":"agent-api-gateway.d.ts","sourceRoot":"","sources":["../../src/routes/agent-api-gateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAoB9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAiBpC,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,QAuB5E"}
@@ -1,4 +1,4 @@
1
- import { type AgentRunView, type SixbHostView } from "@sixb/core";
1
+ import { type AgentRequestErrorCode, type AgentRunView, type SixbHostView } from "@sixb/core";
2
2
  import type { Elysia } from "elysia";
3
3
  import { AgentRunSchema } from "../schemas/agents";
4
4
  export declare function serializeAgentRun(run: AgentRunView): ReturnType<typeof AgentRunSchema.parse>;
@@ -142,16 +142,19 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
142
142
  sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
143
143
  lastMessageAt?: string | undefined;
144
144
  };
145
+ } | {
146
+ readonly error: string;
147
+ readonly code: AgentRequestErrorCode;
145
148
  } | {
146
149
  error: string;
147
150
  };
148
151
  404: {
149
152
  error: string;
150
153
  };
151
- 400: {
154
+ 409: {
152
155
  error: string;
153
156
  };
154
- 409: {
157
+ 400: {
155
158
  error: string;
156
159
  };
157
160
  501: {
@@ -289,10 +292,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
289
292
  404: {
290
293
  error: string;
291
294
  };
292
- 400: {
295
+ 409: {
293
296
  error: string;
294
297
  };
295
- 409: {
298
+ 400: {
296
299
  error: string;
297
300
  };
298
301
  422: {
@@ -344,6 +347,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
344
347
  objectTypeId: string;
345
348
  primaryId: string;
346
349
  };
350
+ label?: string | undefined;
347
351
  } | {
348
352
  id: string;
349
353
  kind: "app-state";
@@ -397,16 +401,18 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
397
401
  providerMetadata?: import("../schemas/common").JsonValue | undefined;
398
402
  dynamic?: boolean | undefined;
399
403
  providerExecuted?: boolean | undefined;
404
+ } | {
405
+ type: "continuation";
400
406
  })[];
401
407
  threadId: string;
402
408
  createdAt: string;
403
409
  role: "user" | "system" | "assistant";
404
410
  seq: number;
405
411
  annotations: {
406
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
412
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
407
413
  message: string;
408
414
  severity: "error" | "warning";
409
- scope: "output";
415
+ scope: "output" | "run";
410
416
  path?: string | undefined;
411
417
  }[];
412
418
  contentVersion: number;
@@ -540,7 +546,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
540
546
  messages: {
541
547
  post: {
542
548
  body: {
543
- text: string;
549
+ locale?: string | undefined;
550
+ timeZone?: string | undefined;
544
551
  context?: {
545
552
  origin: "ambient" | "explicit";
546
553
  context: {
@@ -549,6 +556,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
549
556
  objectTypeId: string;
550
557
  primaryId: string;
551
558
  };
559
+ label?: string | undefined;
552
560
  } | {
553
561
  id: string;
554
562
  kind: "app-state";
@@ -557,6 +565,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
557
565
  label: string;
558
566
  };
559
567
  }[] | undefined;
568
+ text?: string | undefined;
560
569
  model?: {
561
570
  modelId: string;
562
571
  provider: string;
@@ -573,6 +582,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
573
582
  budgetTokens: number;
574
583
  } | undefined;
575
584
  messageId?: string | undefined;
585
+ continue?: true | undefined;
576
586
  };
577
587
  params: {
578
588
  threadId: string;
@@ -582,7 +592,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
582
592
  response: {
583
593
  200: {
584
594
  run: {
585
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
595
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
586
596
  projectId: string;
587
597
  id: string;
588
598
  attempt: number;
@@ -626,15 +636,18 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
626
636
  id: string;
627
637
  type: "user" | "serviceAccount";
628
638
  } | undefined;
629
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
639
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
630
640
  diagnostics?: {
631
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
641
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
632
642
  message: string;
633
643
  severity: "error" | "warning";
634
- scope: "output";
644
+ scope: "output" | "run";
635
645
  path?: string | undefined;
636
646
  }[] | undefined;
637
647
  };
648
+ } | {
649
+ readonly error: string;
650
+ readonly code: AgentRequestErrorCode;
638
651
  } | {
639
652
  error: string;
640
653
  };
@@ -644,11 +657,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
644
657
  403: {
645
658
  error: string;
646
659
  };
647
- 400: {
660
+ 409: {
648
661
  error: string;
649
662
  };
650
- 409: {
663
+ 400: {
651
664
  error: string;
665
+ code?: string | undefined;
652
666
  };
653
667
  429: {
654
668
  error: string;
@@ -660,7 +674,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
660
674
  };
661
675
  202: {
662
676
  run: {
663
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
677
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
664
678
  projectId: string;
665
679
  id: string;
666
680
  attempt: number;
@@ -704,12 +718,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
704
718
  id: string;
705
719
  type: "user" | "serviceAccount";
706
720
  } | undefined;
707
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
721
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
708
722
  diagnostics?: {
709
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
723
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
710
724
  message: string;
711
725
  severity: "error" | "warning";
712
- scope: "output";
726
+ scope: "output" | "run";
713
727
  path?: string | undefined;
714
728
  }[] | undefined;
715
729
  };
@@ -746,7 +760,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
746
760
  response: {
747
761
  200: {
748
762
  run: {
749
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
763
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
750
764
  projectId: string;
751
765
  id: string;
752
766
  attempt: number;
@@ -790,25 +804,28 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
790
804
  id: string;
791
805
  type: "user" | "serviceAccount";
792
806
  } | undefined;
793
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
807
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
794
808
  diagnostics?: {
795
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
809
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
796
810
  message: string;
797
811
  severity: "error" | "warning";
798
- scope: "output";
812
+ scope: "output" | "run";
799
813
  path?: string | undefined;
800
814
  }[] | undefined;
801
815
  };
816
+ } | {
817
+ readonly error: string;
818
+ readonly code: AgentRequestErrorCode;
802
819
  } | {
803
820
  error: string;
804
821
  };
805
822
  404: {
806
823
  error: string;
807
824
  };
808
- 400: {
825
+ 409: {
809
826
  error: string;
810
827
  };
811
- 409: {
828
+ 400: {
812
829
  error: string;
813
830
  };
814
831
  501: {
@@ -816,7 +833,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
816
833
  };
817
834
  202: {
818
835
  run: {
819
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
836
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
820
837
  projectId: string;
821
838
  id: string;
822
839
  attempt: number;
@@ -860,12 +877,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
860
877
  id: string;
861
878
  type: "user" | "serviceAccount";
862
879
  } | undefined;
863
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
880
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
864
881
  diagnostics?: {
865
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
882
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
866
883
  message: string;
867
884
  severity: "error" | "warning";
868
- scope: "output";
885
+ scope: "output" | "run";
869
886
  path?: string | undefined;
870
887
  }[] | undefined;
871
888
  };
@@ -903,7 +920,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
903
920
  response: {
904
921
  200: {
905
922
  run: {
906
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
923
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
907
924
  projectId: string;
908
925
  id: string;
909
926
  attempt: number;
@@ -947,25 +964,28 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
947
964
  id: string;
948
965
  type: "user" | "serviceAccount";
949
966
  } | undefined;
950
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
967
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
951
968
  diagnostics?: {
952
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
969
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
953
970
  message: string;
954
971
  severity: "error" | "warning";
955
- scope: "output";
972
+ scope: "output" | "run";
956
973
  path?: string | undefined;
957
974
  }[] | undefined;
958
975
  };
976
+ } | {
977
+ readonly error: string;
978
+ readonly code: AgentRequestErrorCode;
959
979
  } | {
960
980
  error: string;
961
981
  };
962
982
  404: {
963
983
  error: string;
964
984
  };
965
- 400: {
985
+ 409: {
966
986
  error: string;
967
987
  };
968
- 409: {
988
+ 400: {
969
989
  error: string;
970
990
  };
971
991
  429: {
@@ -978,7 +998,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
978
998
  };
979
999
  202: {
980
1000
  run: {
981
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1001
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
982
1002
  projectId: string;
983
1003
  id: string;
984
1004
  attempt: number;
@@ -1022,12 +1042,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1022
1042
  id: string;
1023
1043
  type: "user" | "serviceAccount";
1024
1044
  } | undefined;
1025
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
1045
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
1026
1046
  diagnostics?: {
1027
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
1047
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
1028
1048
  message: string;
1029
1049
  severity: "error" | "warning";
1030
- scope: "output";
1050
+ scope: "output" | "run";
1031
1051
  path?: string | undefined;
1032
1052
  }[] | undefined;
1033
1053
  };
@@ -1060,7 +1080,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1060
1080
  threadId: string;
1061
1081
  };
1062
1082
  query: {
1063
- status?: "queued" | "running" | "succeeded" | "failed" | "cancelled" | undefined;
1083
+ status?: "succeeded" | "failed" | "queued" | "running" | "cancelled" | undefined;
1064
1084
  limit?: string | undefined;
1065
1085
  offset?: string | undefined;
1066
1086
  order?: "asc" | "desc" | undefined;
@@ -1069,7 +1089,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1069
1089
  response: {
1070
1090
  200: {
1071
1091
  runs: {
1072
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1092
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1073
1093
  projectId: string;
1074
1094
  id: string;
1075
1095
  attempt: number;
@@ -1113,12 +1133,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1113
1133
  id: string;
1114
1134
  type: "user" | "serviceAccount";
1115
1135
  } | undefined;
1116
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
1136
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
1117
1137
  diagnostics?: {
1118
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
1138
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
1119
1139
  message: string;
1120
1140
  severity: "error" | "warning";
1121
- scope: "output";
1141
+ scope: "output" | "run";
1122
1142
  path?: string | undefined;
1123
1143
  }[] | undefined;
1124
1144
  }[];
@@ -1162,7 +1182,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1162
1182
  headers: unknown;
1163
1183
  response: {
1164
1184
  200: {
1165
- status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
1185
+ status: "succeeded" | "failed" | "queued" | "running" | "cancelled";
1166
1186
  projectId: string;
1167
1187
  id: string;
1168
1188
  attempt: number;
@@ -1206,12 +1226,12 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
1206
1226
  id: string;
1207
1227
  type: "user" | "serviceAccount";
1208
1228
  } | undefined;
1209
- finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "other" | undefined;
1229
+ finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
1210
1230
  diagnostics?: {
1211
- code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed";
1231
+ code: "output_file_limit_exceeded" | "output_file_too_large" | "output_budget_exhausted" | "output_collection_failed" | "output_file_changed" | "output_storage_failed" | "step_limit_reached";
1212
1232
  message: string;
1213
1233
  severity: "error" | "warning";
1214
- scope: "output";
1234
+ scope: "output" | "run";
1215
1235
  path?: string | undefined;
1216
1236
  }[] | undefined;
1217
1237
  };
@@ -1 +1 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,YAAY,EAAgB,KAAK,YAAY,EAAE,MAAM,YAAY,CAAA;AAalG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAYpC,OAAO,EASL,cAAc,EAYf,MAAM,mBAAmB,CAAA;AAmE1B,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,YAAY,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,KAAK,CAAC,CAsB5F;AAyJD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAxEe,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAhDlE,MAAM;+CAAiB,qBAAqB;;uCAgDgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAhDlE,MAAM;+CAAiB,qBAAqB;;uCAgDgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDAhDlE,MAAM;uDAAiB,qBAAqB;;+CAgDgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8oBvF"}
@@ -1,14 +1,14 @@
1
1
  import { type SixbHostView } from "@sixb/core";
2
2
  import { type Elysia } from "elysia";
3
3
  import { type AuthInvitationDestinationOptions, type AuthInvitationRedirectContext, type AuthInvitationRedirectInput, type ResolveAuthRedirectContext, type ResolveRequestAuthContext } from "../auth/browser-origin";
4
- import { type SixbAuthExperienceOptions } from "../auth/experience";
4
+ import { type ProjectAuthExperience } from "../auth/experience";
5
5
  export interface AuthRoutesOptions {
6
6
  readonly resolveAuthContext: ResolveRequestAuthContext;
7
7
  readonly resolveAuthRedirectContext: ResolveAuthRedirectContext;
8
8
  readonly getInvitationDestinationOptions: (request: Request) => AuthInvitationDestinationOptions;
9
9
  readonly resolveAuthRequestOrigin: (request: Request) => string;
10
10
  readonly resolveInvitationRedirectContext: (request: Request, input: AuthInvitationRedirectInput) => AuthInvitationRedirectContext;
11
- readonly authExperience?: SixbAuthExperienceOptions;
11
+ readonly authExperience?: ProjectAuthExperience;
12
12
  }
13
13
  export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, options: AuthRoutesOptions): Elysia<"", {
14
14
  decorator: {};
@@ -244,6 +244,7 @@ export declare function registerAuthRoutes(app: Elysia, host: SixbHostView, opti
244
244
  response: {
245
245
  200: {
246
246
  authenticated: false;
247
+ authEnabled: boolean;
247
248
  } | {
248
249
  session: {
249
250
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routes/auth.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AA+BnB,OAAO,EAAE,KAAK,MAAM,EAAK,MAAM,QAAQ,CAAA;AAGvC,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,6BAA6B,EAClC,KAAK,2BAA2B,EAGhC,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,oBAAoB,CAAA;AAiF3B,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,kBAAkB,EAAE,yBAAyB,CAAA;IACtD,QAAQ,CAAC,0BAA0B,EAAE,0BAA0B,CAAA;IAC/D,QAAQ,C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