@aexhq/sdk 1.0.7-canary → 1.0.8-canary
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.
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import * as z from "zod/mini";
|
|
18
18
|
export declare const RuntimeCapabilitiesSchema: z.ZodMiniObject<{
|
|
19
|
-
schemaVersion: z.ZodMiniLiteral<
|
|
19
|
+
schemaVersion: z.ZodMiniLiteral<2>;
|
|
20
20
|
capabilityVersion: z.ZodMiniString<string>;
|
|
21
21
|
capabilityHash: z.ZodMiniString<string>;
|
|
22
22
|
availableRuntimeKinds: z.ZodMiniArray<z.ZodMiniEnum<{
|
|
@@ -58,6 +58,233 @@ export declare const RuntimeCapabilitiesSchema: z.ZodMiniObject<{
|
|
|
58
58
|
code: z.ZodMiniString<string>;
|
|
59
59
|
}, z.core.$strict>>;
|
|
60
60
|
}, z.core.$strict>;
|
|
61
|
+
profilesByRuntimeKind: z.ZodMiniObject<{
|
|
62
|
+
container: z.ZodMiniObject<{
|
|
63
|
+
schemaVersion: z.ZodMiniLiteral<1>;
|
|
64
|
+
runtimeKind: z.ZodMiniEnum<{
|
|
65
|
+
container: "container";
|
|
66
|
+
spot_container: "spot_container";
|
|
67
|
+
lambda: "lambda";
|
|
68
|
+
}>;
|
|
69
|
+
capabilities: z.ZodMiniObject<{
|
|
70
|
+
toolExecution: z.ZodMiniEnum<{
|
|
71
|
+
supported: "supported";
|
|
72
|
+
unsupported: "unsupported";
|
|
73
|
+
}>;
|
|
74
|
+
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
75
|
+
supported: "supported";
|
|
76
|
+
unsupported: "unsupported";
|
|
77
|
+
}>;
|
|
78
|
+
workspaceFileCapture: z.ZodMiniEnum<{
|
|
79
|
+
supported: "supported";
|
|
80
|
+
unsupported: "unsupported";
|
|
81
|
+
}>;
|
|
82
|
+
streamingDeltas: z.ZodMiniEnum<{
|
|
83
|
+
supported: "supported";
|
|
84
|
+
unsupported: "unsupported";
|
|
85
|
+
}>;
|
|
86
|
+
approvalGate: z.ZodMiniEnum<{
|
|
87
|
+
supported: "supported";
|
|
88
|
+
unsupported: "unsupported";
|
|
89
|
+
}>;
|
|
90
|
+
postHook: z.ZodMiniEnum<{
|
|
91
|
+
supported: "supported";
|
|
92
|
+
unsupported: "unsupported";
|
|
93
|
+
}>;
|
|
94
|
+
mcpTools: z.ZodMiniEnum<{
|
|
95
|
+
supported: "supported";
|
|
96
|
+
unsupported: "unsupported";
|
|
97
|
+
}>;
|
|
98
|
+
scheduledWait: z.ZodMiniEnum<{
|
|
99
|
+
supported: "supported";
|
|
100
|
+
unsupported: "unsupported";
|
|
101
|
+
}>;
|
|
102
|
+
customerSecrets: z.ZodMiniEnum<{
|
|
103
|
+
supported: "supported";
|
|
104
|
+
unsupported: "unsupported";
|
|
105
|
+
}>;
|
|
106
|
+
containedEgress: z.ZodMiniEnum<{
|
|
107
|
+
supported: "supported";
|
|
108
|
+
unsupported: "unsupported";
|
|
109
|
+
}>;
|
|
110
|
+
}, z.core.$strict>;
|
|
111
|
+
limits: z.ZodMiniObject<{
|
|
112
|
+
maxSessionMs: z.ZodMiniNumber<number>;
|
|
113
|
+
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
114
|
+
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
115
|
+
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
116
|
+
}, z.core.$strict>;
|
|
117
|
+
delivery: z.ZodMiniObject<{
|
|
118
|
+
toolExecution: z.ZodMiniEnum<{
|
|
119
|
+
"at-least-once": "at-least-once";
|
|
120
|
+
"exactly-once": "exactly-once";
|
|
121
|
+
}>;
|
|
122
|
+
coldStartClass: z.ZodMiniEnum<{
|
|
123
|
+
warm: "warm";
|
|
124
|
+
"cold-seconds": "cold-seconds";
|
|
125
|
+
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
126
|
+
}>;
|
|
127
|
+
idleBilling: z.ZodMiniEnum<{
|
|
128
|
+
"wall-clock": "wall-clock";
|
|
129
|
+
zero: "zero";
|
|
130
|
+
}>;
|
|
131
|
+
}, z.core.$strict>;
|
|
132
|
+
computeBasis: z.ZodMiniEnum<{
|
|
133
|
+
wall_clock: "wall_clock";
|
|
134
|
+
microvm_running: "microvm_running";
|
|
135
|
+
}>;
|
|
136
|
+
}, z.core.$strict>;
|
|
137
|
+
spot_container: z.ZodMiniObject<{
|
|
138
|
+
schemaVersion: z.ZodMiniLiteral<1>;
|
|
139
|
+
runtimeKind: z.ZodMiniEnum<{
|
|
140
|
+
container: "container";
|
|
141
|
+
spot_container: "spot_container";
|
|
142
|
+
lambda: "lambda";
|
|
143
|
+
}>;
|
|
144
|
+
capabilities: z.ZodMiniObject<{
|
|
145
|
+
toolExecution: z.ZodMiniEnum<{
|
|
146
|
+
supported: "supported";
|
|
147
|
+
unsupported: "unsupported";
|
|
148
|
+
}>;
|
|
149
|
+
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
150
|
+
supported: "supported";
|
|
151
|
+
unsupported: "unsupported";
|
|
152
|
+
}>;
|
|
153
|
+
workspaceFileCapture: z.ZodMiniEnum<{
|
|
154
|
+
supported: "supported";
|
|
155
|
+
unsupported: "unsupported";
|
|
156
|
+
}>;
|
|
157
|
+
streamingDeltas: z.ZodMiniEnum<{
|
|
158
|
+
supported: "supported";
|
|
159
|
+
unsupported: "unsupported";
|
|
160
|
+
}>;
|
|
161
|
+
approvalGate: z.ZodMiniEnum<{
|
|
162
|
+
supported: "supported";
|
|
163
|
+
unsupported: "unsupported";
|
|
164
|
+
}>;
|
|
165
|
+
postHook: z.ZodMiniEnum<{
|
|
166
|
+
supported: "supported";
|
|
167
|
+
unsupported: "unsupported";
|
|
168
|
+
}>;
|
|
169
|
+
mcpTools: z.ZodMiniEnum<{
|
|
170
|
+
supported: "supported";
|
|
171
|
+
unsupported: "unsupported";
|
|
172
|
+
}>;
|
|
173
|
+
scheduledWait: z.ZodMiniEnum<{
|
|
174
|
+
supported: "supported";
|
|
175
|
+
unsupported: "unsupported";
|
|
176
|
+
}>;
|
|
177
|
+
customerSecrets: z.ZodMiniEnum<{
|
|
178
|
+
supported: "supported";
|
|
179
|
+
unsupported: "unsupported";
|
|
180
|
+
}>;
|
|
181
|
+
containedEgress: z.ZodMiniEnum<{
|
|
182
|
+
supported: "supported";
|
|
183
|
+
unsupported: "unsupported";
|
|
184
|
+
}>;
|
|
185
|
+
}, z.core.$strict>;
|
|
186
|
+
limits: z.ZodMiniObject<{
|
|
187
|
+
maxSessionMs: z.ZodMiniNumber<number>;
|
|
188
|
+
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
189
|
+
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
190
|
+
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
191
|
+
}, z.core.$strict>;
|
|
192
|
+
delivery: z.ZodMiniObject<{
|
|
193
|
+
toolExecution: z.ZodMiniEnum<{
|
|
194
|
+
"at-least-once": "at-least-once";
|
|
195
|
+
"exactly-once": "exactly-once";
|
|
196
|
+
}>;
|
|
197
|
+
coldStartClass: z.ZodMiniEnum<{
|
|
198
|
+
warm: "warm";
|
|
199
|
+
"cold-seconds": "cold-seconds";
|
|
200
|
+
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
201
|
+
}>;
|
|
202
|
+
idleBilling: z.ZodMiniEnum<{
|
|
203
|
+
"wall-clock": "wall-clock";
|
|
204
|
+
zero: "zero";
|
|
205
|
+
}>;
|
|
206
|
+
}, z.core.$strict>;
|
|
207
|
+
computeBasis: z.ZodMiniEnum<{
|
|
208
|
+
wall_clock: "wall_clock";
|
|
209
|
+
microvm_running: "microvm_running";
|
|
210
|
+
}>;
|
|
211
|
+
}, z.core.$strict>;
|
|
212
|
+
lambda: z.ZodMiniObject<{
|
|
213
|
+
schemaVersion: z.ZodMiniLiteral<1>;
|
|
214
|
+
runtimeKind: z.ZodMiniEnum<{
|
|
215
|
+
container: "container";
|
|
216
|
+
spot_container: "spot_container";
|
|
217
|
+
lambda: "lambda";
|
|
218
|
+
}>;
|
|
219
|
+
capabilities: z.ZodMiniObject<{
|
|
220
|
+
toolExecution: z.ZodMiniEnum<{
|
|
221
|
+
supported: "supported";
|
|
222
|
+
unsupported: "unsupported";
|
|
223
|
+
}>;
|
|
224
|
+
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
225
|
+
supported: "supported";
|
|
226
|
+
unsupported: "unsupported";
|
|
227
|
+
}>;
|
|
228
|
+
workspaceFileCapture: z.ZodMiniEnum<{
|
|
229
|
+
supported: "supported";
|
|
230
|
+
unsupported: "unsupported";
|
|
231
|
+
}>;
|
|
232
|
+
streamingDeltas: z.ZodMiniEnum<{
|
|
233
|
+
supported: "supported";
|
|
234
|
+
unsupported: "unsupported";
|
|
235
|
+
}>;
|
|
236
|
+
approvalGate: z.ZodMiniEnum<{
|
|
237
|
+
supported: "supported";
|
|
238
|
+
unsupported: "unsupported";
|
|
239
|
+
}>;
|
|
240
|
+
postHook: z.ZodMiniEnum<{
|
|
241
|
+
supported: "supported";
|
|
242
|
+
unsupported: "unsupported";
|
|
243
|
+
}>;
|
|
244
|
+
mcpTools: z.ZodMiniEnum<{
|
|
245
|
+
supported: "supported";
|
|
246
|
+
unsupported: "unsupported";
|
|
247
|
+
}>;
|
|
248
|
+
scheduledWait: z.ZodMiniEnum<{
|
|
249
|
+
supported: "supported";
|
|
250
|
+
unsupported: "unsupported";
|
|
251
|
+
}>;
|
|
252
|
+
customerSecrets: z.ZodMiniEnum<{
|
|
253
|
+
supported: "supported";
|
|
254
|
+
unsupported: "unsupported";
|
|
255
|
+
}>;
|
|
256
|
+
containedEgress: z.ZodMiniEnum<{
|
|
257
|
+
supported: "supported";
|
|
258
|
+
unsupported: "unsupported";
|
|
259
|
+
}>;
|
|
260
|
+
}, z.core.$strict>;
|
|
261
|
+
limits: z.ZodMiniObject<{
|
|
262
|
+
maxSessionMs: z.ZodMiniNumber<number>;
|
|
263
|
+
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
264
|
+
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
265
|
+
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
266
|
+
}, z.core.$strict>;
|
|
267
|
+
delivery: z.ZodMiniObject<{
|
|
268
|
+
toolExecution: z.ZodMiniEnum<{
|
|
269
|
+
"at-least-once": "at-least-once";
|
|
270
|
+
"exactly-once": "exactly-once";
|
|
271
|
+
}>;
|
|
272
|
+
coldStartClass: z.ZodMiniEnum<{
|
|
273
|
+
warm: "warm";
|
|
274
|
+
"cold-seconds": "cold-seconds";
|
|
275
|
+
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
276
|
+
}>;
|
|
277
|
+
idleBilling: z.ZodMiniEnum<{
|
|
278
|
+
"wall-clock": "wall-clock";
|
|
279
|
+
zero: "zero";
|
|
280
|
+
}>;
|
|
281
|
+
}, z.core.$strict>;
|
|
282
|
+
computeBasis: z.ZodMiniEnum<{
|
|
283
|
+
wall_clock: "wall_clock";
|
|
284
|
+
microvm_running: "microvm_running";
|
|
285
|
+
}>;
|
|
286
|
+
}, z.core.$strict>;
|
|
287
|
+
}, z.core.$strict>;
|
|
61
288
|
}, z.core.$strict>;
|
|
62
289
|
/**
|
|
63
290
|
* Effective workspace limits, from the same read models admission uses.
|
|
@@ -129,7 +356,7 @@ export declare const WhoAmIResponseSchema: z.ZodMiniObject<{
|
|
|
129
356
|
}>;
|
|
130
357
|
}, z.core.$strict>;
|
|
131
358
|
runtimeCapabilities: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
132
|
-
schemaVersion: z.ZodMiniLiteral<
|
|
359
|
+
schemaVersion: z.ZodMiniLiteral<2>;
|
|
133
360
|
capabilityVersion: z.ZodMiniString<string>;
|
|
134
361
|
capabilityHash: z.ZodMiniString<string>;
|
|
135
362
|
availableRuntimeKinds: z.ZodMiniArray<z.ZodMiniEnum<{
|
|
@@ -171,6 +398,233 @@ export declare const WhoAmIResponseSchema: z.ZodMiniObject<{
|
|
|
171
398
|
code: z.ZodMiniString<string>;
|
|
172
399
|
}, z.core.$strict>>;
|
|
173
400
|
}, z.core.$strict>;
|
|
401
|
+
profilesByRuntimeKind: z.ZodMiniObject<{
|
|
402
|
+
container: z.ZodMiniObject<{
|
|
403
|
+
schemaVersion: z.ZodMiniLiteral<1>;
|
|
404
|
+
runtimeKind: z.ZodMiniEnum<{
|
|
405
|
+
container: "container";
|
|
406
|
+
spot_container: "spot_container";
|
|
407
|
+
lambda: "lambda";
|
|
408
|
+
}>;
|
|
409
|
+
capabilities: z.ZodMiniObject<{
|
|
410
|
+
toolExecution: z.ZodMiniEnum<{
|
|
411
|
+
supported: "supported";
|
|
412
|
+
unsupported: "unsupported";
|
|
413
|
+
}>;
|
|
414
|
+
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
415
|
+
supported: "supported";
|
|
416
|
+
unsupported: "unsupported";
|
|
417
|
+
}>;
|
|
418
|
+
workspaceFileCapture: z.ZodMiniEnum<{
|
|
419
|
+
supported: "supported";
|
|
420
|
+
unsupported: "unsupported";
|
|
421
|
+
}>;
|
|
422
|
+
streamingDeltas: z.ZodMiniEnum<{
|
|
423
|
+
supported: "supported";
|
|
424
|
+
unsupported: "unsupported";
|
|
425
|
+
}>;
|
|
426
|
+
approvalGate: z.ZodMiniEnum<{
|
|
427
|
+
supported: "supported";
|
|
428
|
+
unsupported: "unsupported";
|
|
429
|
+
}>;
|
|
430
|
+
postHook: z.ZodMiniEnum<{
|
|
431
|
+
supported: "supported";
|
|
432
|
+
unsupported: "unsupported";
|
|
433
|
+
}>;
|
|
434
|
+
mcpTools: z.ZodMiniEnum<{
|
|
435
|
+
supported: "supported";
|
|
436
|
+
unsupported: "unsupported";
|
|
437
|
+
}>;
|
|
438
|
+
scheduledWait: z.ZodMiniEnum<{
|
|
439
|
+
supported: "supported";
|
|
440
|
+
unsupported: "unsupported";
|
|
441
|
+
}>;
|
|
442
|
+
customerSecrets: z.ZodMiniEnum<{
|
|
443
|
+
supported: "supported";
|
|
444
|
+
unsupported: "unsupported";
|
|
445
|
+
}>;
|
|
446
|
+
containedEgress: z.ZodMiniEnum<{
|
|
447
|
+
supported: "supported";
|
|
448
|
+
unsupported: "unsupported";
|
|
449
|
+
}>;
|
|
450
|
+
}, z.core.$strict>;
|
|
451
|
+
limits: z.ZodMiniObject<{
|
|
452
|
+
maxSessionMs: z.ZodMiniNumber<number>;
|
|
453
|
+
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
454
|
+
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
455
|
+
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
456
|
+
}, z.core.$strict>;
|
|
457
|
+
delivery: z.ZodMiniObject<{
|
|
458
|
+
toolExecution: z.ZodMiniEnum<{
|
|
459
|
+
"at-least-once": "at-least-once";
|
|
460
|
+
"exactly-once": "exactly-once";
|
|
461
|
+
}>;
|
|
462
|
+
coldStartClass: z.ZodMiniEnum<{
|
|
463
|
+
warm: "warm";
|
|
464
|
+
"cold-seconds": "cold-seconds";
|
|
465
|
+
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
466
|
+
}>;
|
|
467
|
+
idleBilling: z.ZodMiniEnum<{
|
|
468
|
+
"wall-clock": "wall-clock";
|
|
469
|
+
zero: "zero";
|
|
470
|
+
}>;
|
|
471
|
+
}, z.core.$strict>;
|
|
472
|
+
computeBasis: z.ZodMiniEnum<{
|
|
473
|
+
wall_clock: "wall_clock";
|
|
474
|
+
microvm_running: "microvm_running";
|
|
475
|
+
}>;
|
|
476
|
+
}, z.core.$strict>;
|
|
477
|
+
spot_container: z.ZodMiniObject<{
|
|
478
|
+
schemaVersion: z.ZodMiniLiteral<1>;
|
|
479
|
+
runtimeKind: z.ZodMiniEnum<{
|
|
480
|
+
container: "container";
|
|
481
|
+
spot_container: "spot_container";
|
|
482
|
+
lambda: "lambda";
|
|
483
|
+
}>;
|
|
484
|
+
capabilities: z.ZodMiniObject<{
|
|
485
|
+
toolExecution: z.ZodMiniEnum<{
|
|
486
|
+
supported: "supported";
|
|
487
|
+
unsupported: "unsupported";
|
|
488
|
+
}>;
|
|
489
|
+
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
490
|
+
supported: "supported";
|
|
491
|
+
unsupported: "unsupported";
|
|
492
|
+
}>;
|
|
493
|
+
workspaceFileCapture: z.ZodMiniEnum<{
|
|
494
|
+
supported: "supported";
|
|
495
|
+
unsupported: "unsupported";
|
|
496
|
+
}>;
|
|
497
|
+
streamingDeltas: z.ZodMiniEnum<{
|
|
498
|
+
supported: "supported";
|
|
499
|
+
unsupported: "unsupported";
|
|
500
|
+
}>;
|
|
501
|
+
approvalGate: z.ZodMiniEnum<{
|
|
502
|
+
supported: "supported";
|
|
503
|
+
unsupported: "unsupported";
|
|
504
|
+
}>;
|
|
505
|
+
postHook: z.ZodMiniEnum<{
|
|
506
|
+
supported: "supported";
|
|
507
|
+
unsupported: "unsupported";
|
|
508
|
+
}>;
|
|
509
|
+
mcpTools: z.ZodMiniEnum<{
|
|
510
|
+
supported: "supported";
|
|
511
|
+
unsupported: "unsupported";
|
|
512
|
+
}>;
|
|
513
|
+
scheduledWait: z.ZodMiniEnum<{
|
|
514
|
+
supported: "supported";
|
|
515
|
+
unsupported: "unsupported";
|
|
516
|
+
}>;
|
|
517
|
+
customerSecrets: z.ZodMiniEnum<{
|
|
518
|
+
supported: "supported";
|
|
519
|
+
unsupported: "unsupported";
|
|
520
|
+
}>;
|
|
521
|
+
containedEgress: z.ZodMiniEnum<{
|
|
522
|
+
supported: "supported";
|
|
523
|
+
unsupported: "unsupported";
|
|
524
|
+
}>;
|
|
525
|
+
}, z.core.$strict>;
|
|
526
|
+
limits: z.ZodMiniObject<{
|
|
527
|
+
maxSessionMs: z.ZodMiniNumber<number>;
|
|
528
|
+
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
529
|
+
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
530
|
+
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
531
|
+
}, z.core.$strict>;
|
|
532
|
+
delivery: z.ZodMiniObject<{
|
|
533
|
+
toolExecution: z.ZodMiniEnum<{
|
|
534
|
+
"at-least-once": "at-least-once";
|
|
535
|
+
"exactly-once": "exactly-once";
|
|
536
|
+
}>;
|
|
537
|
+
coldStartClass: z.ZodMiniEnum<{
|
|
538
|
+
warm: "warm";
|
|
539
|
+
"cold-seconds": "cold-seconds";
|
|
540
|
+
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
541
|
+
}>;
|
|
542
|
+
idleBilling: z.ZodMiniEnum<{
|
|
543
|
+
"wall-clock": "wall-clock";
|
|
544
|
+
zero: "zero";
|
|
545
|
+
}>;
|
|
546
|
+
}, z.core.$strict>;
|
|
547
|
+
computeBasis: z.ZodMiniEnum<{
|
|
548
|
+
wall_clock: "wall_clock";
|
|
549
|
+
microvm_running: "microvm_running";
|
|
550
|
+
}>;
|
|
551
|
+
}, z.core.$strict>;
|
|
552
|
+
lambda: z.ZodMiniObject<{
|
|
553
|
+
schemaVersion: z.ZodMiniLiteral<1>;
|
|
554
|
+
runtimeKind: z.ZodMiniEnum<{
|
|
555
|
+
container: "container";
|
|
556
|
+
spot_container: "spot_container";
|
|
557
|
+
lambda: "lambda";
|
|
558
|
+
}>;
|
|
559
|
+
capabilities: z.ZodMiniObject<{
|
|
560
|
+
toolExecution: z.ZodMiniEnum<{
|
|
561
|
+
supported: "supported";
|
|
562
|
+
unsupported: "unsupported";
|
|
563
|
+
}>;
|
|
564
|
+
workspaceCheckpoint: z.ZodMiniEnum<{
|
|
565
|
+
supported: "supported";
|
|
566
|
+
unsupported: "unsupported";
|
|
567
|
+
}>;
|
|
568
|
+
workspaceFileCapture: z.ZodMiniEnum<{
|
|
569
|
+
supported: "supported";
|
|
570
|
+
unsupported: "unsupported";
|
|
571
|
+
}>;
|
|
572
|
+
streamingDeltas: z.ZodMiniEnum<{
|
|
573
|
+
supported: "supported";
|
|
574
|
+
unsupported: "unsupported";
|
|
575
|
+
}>;
|
|
576
|
+
approvalGate: z.ZodMiniEnum<{
|
|
577
|
+
supported: "supported";
|
|
578
|
+
unsupported: "unsupported";
|
|
579
|
+
}>;
|
|
580
|
+
postHook: z.ZodMiniEnum<{
|
|
581
|
+
supported: "supported";
|
|
582
|
+
unsupported: "unsupported";
|
|
583
|
+
}>;
|
|
584
|
+
mcpTools: z.ZodMiniEnum<{
|
|
585
|
+
supported: "supported";
|
|
586
|
+
unsupported: "unsupported";
|
|
587
|
+
}>;
|
|
588
|
+
scheduledWait: z.ZodMiniEnum<{
|
|
589
|
+
supported: "supported";
|
|
590
|
+
unsupported: "unsupported";
|
|
591
|
+
}>;
|
|
592
|
+
customerSecrets: z.ZodMiniEnum<{
|
|
593
|
+
supported: "supported";
|
|
594
|
+
unsupported: "unsupported";
|
|
595
|
+
}>;
|
|
596
|
+
containedEgress: z.ZodMiniEnum<{
|
|
597
|
+
supported: "supported";
|
|
598
|
+
unsupported: "unsupported";
|
|
599
|
+
}>;
|
|
600
|
+
}, z.core.$strict>;
|
|
601
|
+
limits: z.ZodMiniObject<{
|
|
602
|
+
maxSessionMs: z.ZodMiniNumber<number>;
|
|
603
|
+
maxSingleEffectMs: z.ZodMiniNumber<number>;
|
|
604
|
+
maxWorkspaceBytes: z.ZodMiniNumber<number>;
|
|
605
|
+
maxConcurrentToolCalls: z.ZodMiniNumber<number>;
|
|
606
|
+
}, z.core.$strict>;
|
|
607
|
+
delivery: z.ZodMiniObject<{
|
|
608
|
+
toolExecution: z.ZodMiniEnum<{
|
|
609
|
+
"at-least-once": "at-least-once";
|
|
610
|
+
"exactly-once": "exactly-once";
|
|
611
|
+
}>;
|
|
612
|
+
coldStartClass: z.ZodMiniEnum<{
|
|
613
|
+
warm: "warm";
|
|
614
|
+
"cold-seconds": "cold-seconds";
|
|
615
|
+
"cold-tens-of-seconds": "cold-tens-of-seconds";
|
|
616
|
+
}>;
|
|
617
|
+
idleBilling: z.ZodMiniEnum<{
|
|
618
|
+
"wall-clock": "wall-clock";
|
|
619
|
+
zero: "zero";
|
|
620
|
+
}>;
|
|
621
|
+
}, z.core.$strict>;
|
|
622
|
+
computeBasis: z.ZodMiniEnum<{
|
|
623
|
+
wall_clock: "wall_clock";
|
|
624
|
+
microvm_running: "microvm_running";
|
|
625
|
+
}>;
|
|
626
|
+
}, z.core.$strict>;
|
|
627
|
+
}, z.core.$strict>;
|
|
174
628
|
}, z.core.$strict>>;
|
|
175
629
|
}, z.core.$strict>;
|
|
176
630
|
/**
|
|
@@ -28,14 +28,49 @@ function byRuntimeKind(value) {
|
|
|
28
28
|
lambda: optional(value)
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
"`unavailable` are complementary partial maps over the runtime kinds.", responseObject({
|
|
31
|
+
const RuntimeProfileSchema = responseObject({
|
|
33
32
|
schemaVersion: wireLiteral(1),
|
|
33
|
+
runtimeKind: wireEnum(RUNTIME_KINDS),
|
|
34
|
+
capabilities: responseObject({
|
|
35
|
+
toolExecution: wireEnum(["supported", "unsupported"]),
|
|
36
|
+
workspaceCheckpoint: wireEnum(["supported", "unsupported"]),
|
|
37
|
+
workspaceFileCapture: wireEnum(["supported", "unsupported"]),
|
|
38
|
+
streamingDeltas: wireEnum(["supported", "unsupported"]),
|
|
39
|
+
approvalGate: wireEnum(["supported", "unsupported"]),
|
|
40
|
+
postHook: wireEnum(["supported", "unsupported"]),
|
|
41
|
+
mcpTools: wireEnum(["supported", "unsupported"]),
|
|
42
|
+
scheduledWait: wireEnum(["supported", "unsupported"]),
|
|
43
|
+
customerSecrets: wireEnum(["supported", "unsupported"]),
|
|
44
|
+
containedEgress: wireEnum(["supported", "unsupported"])
|
|
45
|
+
}),
|
|
46
|
+
limits: responseObject({
|
|
47
|
+
maxSessionMs: wireNumber,
|
|
48
|
+
maxSingleEffectMs: wireNumber,
|
|
49
|
+
maxWorkspaceBytes: wireNumber,
|
|
50
|
+
maxConcurrentToolCalls: wireNumber
|
|
51
|
+
}),
|
|
52
|
+
delivery: responseObject({
|
|
53
|
+
toolExecution: wireEnum(["at-least-once", "exactly-once"]),
|
|
54
|
+
coldStartClass: wireEnum(["warm", "cold-seconds", "cold-tens-of-seconds"]),
|
|
55
|
+
idleBilling: wireEnum(["wall-clock", "zero"])
|
|
56
|
+
}),
|
|
57
|
+
computeBasis: wireEnum(["wall_clock", "microvm_running"])
|
|
58
|
+
});
|
|
59
|
+
const RuntimeProfilesSchema = responseObject({
|
|
60
|
+
container: RuntimeProfileSchema,
|
|
61
|
+
spot_container: RuntimeProfileSchema,
|
|
62
|
+
lambda: RuntimeProfileSchema
|
|
63
|
+
});
|
|
64
|
+
export const RuntimeCapabilitiesSchema = describeResponse("RuntimeCapabilities", "Authenticated runtime availability and behavior profiles for the workspace. " +
|
|
65
|
+
"`sizesByRuntimeKind` and `unavailable` are complementary partial maps over " +
|
|
66
|
+
"the runtime kinds; `profilesByRuntimeKind` is total.", responseObject({
|
|
67
|
+
schemaVersion: wireLiteral(2),
|
|
34
68
|
capabilityVersion: wireNonEmptyString,
|
|
35
69
|
capabilityHash: wireNonEmptyString,
|
|
36
70
|
availableRuntimeKinds: z.array(wireEnum(RUNTIME_KINDS)),
|
|
37
71
|
sizesByRuntimeKind: byRuntimeKind(z.array(wireEnum(RUNTIME_SIZES))),
|
|
38
|
-
unavailable: byRuntimeKind(responseObject({ code: wireNonEmptyString }))
|
|
72
|
+
unavailable: byRuntimeKind(responseObject({ code: wireNonEmptyString })),
|
|
73
|
+
profilesByRuntimeKind: RuntimeProfilesSchema
|
|
39
74
|
}));
|
|
40
75
|
/**
|
|
41
76
|
* Effective workspace limits, from the same read models admission uses.
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aexhq/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8-canary",
|
|
4
4
|
"description": "TypeScript SDK for autonomous agent sessions with managed Vercel AI Gateway model access.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
"zod": "4.4.3"
|
|
56
56
|
},
|
|
57
57
|
"aexRelease": {
|
|
58
|
-
"sourceSha": "
|
|
58
|
+
"sourceSha": "87d4c5206dfbd48ffb63e5c26955a3a90c360d1f"
|
|
59
59
|
}
|
|
60
60
|
}
|