@perstack/api-client 0.0.48 → 0.0.50

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.
@@ -2,27 +2,27 @@ import { z } from "zod";
2
2
  import { Activity, ActivityOrGroup, ActivityType, CheckpointStatus } from "@perstack/core";
3
3
 
4
4
  //#region ../models/src/api/api-keys/create.d.ts
5
- declare const request$42: {
5
+ declare const request$37: {
6
6
  body: z.ZodObject<{
7
7
  name: z.ZodOptional<z.ZodString>;
8
8
  operations: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
9
  experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
10
10
  wildcardApplicationAccess: z.ZodOptional<z.ZodBoolean>;
11
- applicationIds: z.ZodOptional<z.ZodArray<z.ZodCUID2>>;
11
+ applicationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
12
  expiresIn: z.ZodOptional<z.ZodNumber>;
13
13
  }, z.core.$strip>;
14
14
  };
15
- declare const response$47: z.ZodObject<{
15
+ declare const response$42: z.ZodObject<{
16
16
  data: z.ZodObject<{
17
17
  apiKey: z.ZodObject<{
18
18
  type: z.ZodLiteral<"apiKey">;
19
- id: z.ZodCUID2;
19
+ id: z.ZodString;
20
20
  name: z.ZodOptional<z.ZodString>;
21
21
  start: z.ZodOptional<z.ZodString>;
22
22
  prefix: z.ZodOptional<z.ZodString>;
23
23
  user: z.ZodOptional<z.ZodObject<{
24
24
  type: z.ZodLiteral<"user">;
25
- id: z.ZodCUID2;
25
+ id: z.ZodString;
26
26
  email: z.ZodString;
27
27
  emailVerified: z.ZodBoolean;
28
28
  name: z.ZodOptional<z.ZodString>;
@@ -34,7 +34,7 @@ declare const response$47: z.ZodObject<{
34
34
  }>;
35
35
  organizations: z.ZodArray<z.ZodObject<{
36
36
  type: z.ZodLiteral<"organization">;
37
- id: z.ZodCUID2;
37
+ id: z.ZodString;
38
38
  createdAt: z.ZodString;
39
39
  updatedAt: z.ZodString;
40
40
  name: z.ZodOptional<z.ZodString>;
@@ -67,26 +67,26 @@ declare const response$47: z.ZodObject<{
67
67
  experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
68
68
  }, z.core.$strip>>;
69
69
  wildcardApplicationAccess: z.ZodBoolean;
70
- applicationIds: z.ZodArray<z.ZodCUID2>;
70
+ applicationIds: z.ZodArray<z.ZodString>;
71
71
  }, z.core.$strip>;
72
72
  key: z.ZodString;
73
73
  }, z.core.$strip>;
74
74
  }, z.core.$strip>;
75
- type RequestBody$16 = z.infer<typeof request$42.body>;
76
- type Response$48 = z.infer<typeof response$47>;
75
+ type RequestBody$14 = z.infer<typeof request$37.body>;
76
+ type Response$43 = z.infer<typeof response$42>;
77
77
  //#endregion
78
78
  //#region ../models/src/api/api-keys/get.d.ts
79
- declare const response$46: z.ZodObject<{
79
+ declare const response$41: z.ZodObject<{
80
80
  data: z.ZodObject<{
81
81
  apiKey: z.ZodObject<{
82
82
  type: z.ZodLiteral<"apiKey">;
83
- id: z.ZodCUID2;
83
+ id: z.ZodString;
84
84
  name: z.ZodOptional<z.ZodString>;
85
85
  start: z.ZodOptional<z.ZodString>;
86
86
  prefix: z.ZodOptional<z.ZodString>;
87
87
  user: z.ZodOptional<z.ZodObject<{
88
88
  type: z.ZodLiteral<"user">;
89
- id: z.ZodCUID2;
89
+ id: z.ZodString;
90
90
  email: z.ZodString;
91
91
  emailVerified: z.ZodBoolean;
92
92
  name: z.ZodOptional<z.ZodString>;
@@ -98,7 +98,7 @@ declare const response$46: z.ZodObject<{
98
98
  }>;
99
99
  organizations: z.ZodArray<z.ZodObject<{
100
100
  type: z.ZodLiteral<"organization">;
101
- id: z.ZodCUID2;
101
+ id: z.ZodString;
102
102
  createdAt: z.ZodString;
103
103
  updatedAt: z.ZodString;
104
104
  name: z.ZodOptional<z.ZodString>;
@@ -131,30 +131,30 @@ declare const response$46: z.ZodObject<{
131
131
  experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
132
132
  }, z.core.$strip>>;
133
133
  wildcardApplicationAccess: z.ZodBoolean;
134
- applicationIds: z.ZodArray<z.ZodCUID2>;
134
+ applicationIds: z.ZodArray<z.ZodString>;
135
135
  }, z.core.$strip>;
136
136
  }, z.core.$strip>;
137
137
  }, z.core.$strip>;
138
- type Response$47 = z.infer<typeof response$46>;
138
+ type Response$42 = z.infer<typeof response$41>;
139
139
  //#endregion
140
140
  //#region ../models/src/api/api-keys/getAll.d.ts
141
- declare const request$41: {
141
+ declare const request$36: {
142
142
  query: z.ZodObject<{
143
143
  take: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
144
144
  skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
145
145
  }, z.core.$strip>;
146
146
  };
147
- declare const response$45: z.ZodObject<{
147
+ declare const response$40: z.ZodObject<{
148
148
  data: z.ZodObject<{
149
149
  apiKeys: z.ZodArray<z.ZodObject<{
150
150
  type: z.ZodLiteral<"apiKey">;
151
- id: z.ZodCUID2;
151
+ id: z.ZodString;
152
152
  name: z.ZodOptional<z.ZodString>;
153
153
  start: z.ZodOptional<z.ZodString>;
154
154
  prefix: z.ZodOptional<z.ZodString>;
155
155
  user: z.ZodOptional<z.ZodObject<{
156
156
  type: z.ZodLiteral<"user">;
157
- id: z.ZodCUID2;
157
+ id: z.ZodString;
158
158
  email: z.ZodString;
159
159
  emailVerified: z.ZodBoolean;
160
160
  name: z.ZodOptional<z.ZodString>;
@@ -166,7 +166,7 @@ declare const response$45: z.ZodObject<{
166
166
  }>;
167
167
  organizations: z.ZodArray<z.ZodObject<{
168
168
  type: z.ZodLiteral<"organization">;
169
- id: z.ZodCUID2;
169
+ id: z.ZodString;
170
170
  createdAt: z.ZodString;
171
171
  updatedAt: z.ZodString;
172
172
  name: z.ZodOptional<z.ZodString>;
@@ -199,7 +199,7 @@ declare const response$45: z.ZodObject<{
199
199
  experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
200
200
  }, z.core.$strip>>;
201
201
  wildcardApplicationAccess: z.ZodBoolean;
202
- applicationIds: z.ZodArray<z.ZodCUID2>;
202
+ applicationIds: z.ZodArray<z.ZodString>;
203
203
  }, z.core.$strip>>;
204
204
  }, z.core.$strip>;
205
205
  meta: z.ZodObject<{
@@ -208,21 +208,92 @@ declare const response$45: z.ZodObject<{
208
208
  skip: z.ZodNumber;
209
209
  }, z.core.$strip>;
210
210
  }, z.core.$strip>;
211
- type RequestQuery$11 = z.infer<typeof request$41.query>;
212
- type Response$46 = z.infer<typeof response$45>;
211
+ type RequestQuery$10 = z.infer<typeof request$36.query>;
212
+ type Response$41 = z.infer<typeof response$40>;
213
213
  //#endregion
214
214
  //#region ../models/src/api/api-keys/revoke.d.ts
215
- declare const response$44: z.ZodObject<{
215
+ declare const response$39: z.ZodObject<{
216
+ data: z.ZodObject<{
217
+ apiKey: z.ZodObject<{
218
+ type: z.ZodLiteral<"apiKey">;
219
+ id: z.ZodString;
220
+ name: z.ZodOptional<z.ZodString>;
221
+ start: z.ZodOptional<z.ZodString>;
222
+ prefix: z.ZodOptional<z.ZodString>;
223
+ user: z.ZodOptional<z.ZodObject<{
224
+ type: z.ZodLiteral<"user">;
225
+ id: z.ZodString;
226
+ email: z.ZodString;
227
+ emailVerified: z.ZodBoolean;
228
+ name: z.ZodOptional<z.ZodString>;
229
+ image: z.ZodOptional<z.ZodString>;
230
+ status: z.ZodEnum<{
231
+ active: "active";
232
+ inactive: "inactive";
233
+ deleted: "deleted";
234
+ }>;
235
+ organizations: z.ZodArray<z.ZodObject<{
236
+ type: z.ZodLiteral<"organization">;
237
+ id: z.ZodString;
238
+ createdAt: z.ZodString;
239
+ updatedAt: z.ZodString;
240
+ name: z.ZodOptional<z.ZodString>;
241
+ nameChangedAt: z.ZodOptional<z.ZodString>;
242
+ status: z.ZodEnum<{
243
+ active: "active";
244
+ inactive: "inactive";
245
+ deleted: "deleted";
246
+ }>;
247
+ organizationType: z.ZodEnum<{
248
+ personal: "personal";
249
+ personalPlus: "personalPlus";
250
+ team: "team";
251
+ serviceAdmin: "serviceAdmin";
252
+ }>;
253
+ maxApplications: z.ZodNumber;
254
+ maxApiKeys: z.ZodNumber;
255
+ maxExperts: z.ZodNumber;
256
+ }, z.core.$strip>>;
257
+ createdAt: z.ZodString;
258
+ updatedAt: z.ZodString;
259
+ }, z.core.$strip>>;
260
+ enabled: z.ZodBoolean;
261
+ expiresAt: z.ZodOptional<z.ZodString>;
262
+ lastRequest: z.ZodOptional<z.ZodString>;
263
+ createdAt: z.ZodString;
264
+ updatedAt: z.ZodString;
265
+ permissions: z.ZodOptional<z.ZodObject<{
266
+ operations: z.ZodArray<z.ZodString>;
267
+ experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
268
+ }, z.core.$strip>>;
269
+ wildcardApplicationAccess: z.ZodBoolean;
270
+ applicationIds: z.ZodArray<z.ZodString>;
271
+ }, z.core.$strip>;
272
+ }, z.core.$strip>;
273
+ }, z.core.$strip>;
274
+ type Response$40 = z.infer<typeof response$39>;
275
+ //#endregion
276
+ //#region ../models/src/api/api-keys/update.d.ts
277
+ declare const request$35: {
278
+ params: z.ZodObject<{
279
+ apiKeyId: z.ZodString;
280
+ }, z.core.$strip>;
281
+ body: z.ZodObject<{
282
+ applicationIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
283
+ wildcardApplicationAccess: z.ZodOptional<z.ZodBoolean>;
284
+ }, z.core.$strip>;
285
+ };
286
+ declare const response$38: z.ZodObject<{
216
287
  data: z.ZodObject<{
217
288
  apiKey: z.ZodObject<{
218
289
  type: z.ZodLiteral<"apiKey">;
219
- id: z.ZodCUID2;
290
+ id: z.ZodString;
220
291
  name: z.ZodOptional<z.ZodString>;
221
292
  start: z.ZodOptional<z.ZodString>;
222
293
  prefix: z.ZodOptional<z.ZodString>;
223
294
  user: z.ZodOptional<z.ZodObject<{
224
295
  type: z.ZodLiteral<"user">;
225
- id: z.ZodCUID2;
296
+ id: z.ZodString;
226
297
  email: z.ZodString;
227
298
  emailVerified: z.ZodBoolean;
228
299
  name: z.ZodOptional<z.ZodString>;
@@ -234,7 +305,7 @@ declare const response$44: z.ZodObject<{
234
305
  }>;
235
306
  organizations: z.ZodArray<z.ZodObject<{
236
307
  type: z.ZodLiteral<"organization">;
237
- id: z.ZodCUID2;
308
+ id: z.ZodString;
238
309
  createdAt: z.ZodString;
239
310
  updatedAt: z.ZodString;
240
311
  name: z.ZodOptional<z.ZodString>;
@@ -267,29 +338,30 @@ declare const response$44: z.ZodObject<{
267
338
  experts: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"*">]>>;
268
339
  }, z.core.$strip>>;
269
340
  wildcardApplicationAccess: z.ZodBoolean;
270
- applicationIds: z.ZodArray<z.ZodCUID2>;
341
+ applicationIds: z.ZodArray<z.ZodString>;
271
342
  }, z.core.$strip>;
272
343
  }, z.core.$strip>;
273
344
  }, z.core.$strip>;
274
- type Response$45 = z.infer<typeof response$44>;
275
- declare namespace create_d_exports$5 {
276
- export { RequestBody$15 as RequestBody, Response$44 as Response, request$40 as request, response$43 as response };
345
+ type RequestBody$13 = z.infer<typeof request$35.body>;
346
+ type Response$39 = z.infer<typeof response$38>;
347
+ declare namespace create_d_exports$4 {
348
+ export { RequestBody$12 as RequestBody, Response$38 as Response, request$34 as request, response$37 as response };
277
349
  }
278
- declare const request$40: {
350
+ declare const request$34: {
279
351
  body: z.ZodObject<{
280
352
  name: z.ZodString;
281
- applicationGroupId: z.ZodOptional<z.ZodCUID2>;
353
+ applicationGroupId: z.ZodOptional<z.ZodString>;
282
354
  }, z.core.$strip>;
283
355
  };
284
- declare const response$43: z.ZodObject<{
356
+ declare const response$37: z.ZodObject<{
285
357
  data: z.ZodObject<{
286
358
  application: z.ZodObject<{
287
359
  type: z.ZodLiteral<"application">;
288
- id: z.ZodCUID2;
289
- organizationId: z.ZodCUID2;
360
+ id: z.ZodString;
361
+ organizationId: z.ZodString;
290
362
  organization: z.ZodObject<{
291
363
  type: z.ZodLiteral<"organization">;
292
- id: z.ZodCUID2;
364
+ id: z.ZodString;
293
365
  createdAt: z.ZodString;
294
366
  updatedAt: z.ZodString;
295
367
  name: z.ZodOptional<z.ZodString>;
@@ -322,7 +394,6 @@ declare const response$43: z.ZodObject<{
322
394
  anthropic: "anthropic";
323
395
  google: "google";
324
396
  openai: "openai";
325
- ollama: "ollama";
326
397
  deepseek: "deepseek";
327
398
  "azure-openai": "azure-openai";
328
399
  "amazon-bedrock": "amazon-bedrock";
@@ -331,25 +402,25 @@ declare const response$43: z.ZodObject<{
331
402
  }, z.core.$strip>;
332
403
  }, z.core.$strip>;
333
404
  }, z.core.$strip>;
334
- type RequestBody$15 = z.infer<typeof request$40.body>;
335
- type Response$44 = z.infer<typeof response$43>;
336
- declare namespace delete_d_exports$4 {
337
- export { RequestParams$27 as RequestParams, Response$43 as Response, request$39 as request, response$42 as response };
405
+ type RequestBody$12 = z.infer<typeof request$34.body>;
406
+ type Response$38 = z.infer<typeof response$37>;
407
+ declare namespace delete_d_exports$3 {
408
+ export { RequestParams$21 as RequestParams, Response$37 as Response, request$33 as request, response$36 as response };
338
409
  }
339
- declare const request$39: {
410
+ declare const request$33: {
340
411
  params: z.ZodObject<{
341
- applicationId: z.ZodCUID2;
412
+ applicationId: z.ZodString;
342
413
  }, z.core.$strip>;
343
414
  };
344
- declare const response$42: z.ZodObject<{
415
+ declare const response$36: z.ZodObject<{
345
416
  data: z.ZodObject<{
346
417
  application: z.ZodObject<{
347
418
  type: z.ZodLiteral<"application">;
348
- id: z.ZodCUID2;
349
- organizationId: z.ZodCUID2;
419
+ id: z.ZodString;
420
+ organizationId: z.ZodString;
350
421
  organization: z.ZodObject<{
351
422
  type: z.ZodLiteral<"organization">;
352
- id: z.ZodCUID2;
423
+ id: z.ZodString;
353
424
  createdAt: z.ZodString;
354
425
  updatedAt: z.ZodString;
355
426
  name: z.ZodOptional<z.ZodString>;
@@ -382,7 +453,6 @@ declare const response$42: z.ZodObject<{
382
453
  anthropic: "anthropic";
383
454
  google: "google";
384
455
  openai: "openai";
385
- ollama: "ollama";
386
456
  deepseek: "deepseek";
387
457
  "azure-openai": "azure-openai";
388
458
  "amazon-bedrock": "amazon-bedrock";
@@ -391,25 +461,25 @@ declare const response$42: z.ZodObject<{
391
461
  }, z.core.$strip>;
392
462
  }, z.core.$strip>;
393
463
  }, z.core.$strip>;
394
- type RequestParams$27 = z.infer<typeof request$39.params>;
395
- type Response$43 = z.infer<typeof response$42>;
396
- declare namespace get_d_exports$6 {
397
- export { RequestParams$26 as RequestParams, Response$42 as Response, request$38 as request, response$41 as response };
464
+ type RequestParams$21 = z.infer<typeof request$33.params>;
465
+ type Response$37 = z.infer<typeof response$36>;
466
+ declare namespace get_d_exports$5 {
467
+ export { RequestParams$20 as RequestParams, Response$36 as Response, request$32 as request, response$35 as response };
398
468
  }
399
- declare const request$38: {
469
+ declare const request$32: {
400
470
  params: z.ZodObject<{
401
- applicationId: z.ZodCUID2;
471
+ applicationId: z.ZodString;
402
472
  }, z.core.$strip>;
403
473
  };
404
- declare const response$41: z.ZodObject<{
474
+ declare const response$35: z.ZodObject<{
405
475
  data: z.ZodObject<{
406
476
  application: z.ZodObject<{
407
477
  type: z.ZodLiteral<"application">;
408
- id: z.ZodCUID2;
409
- organizationId: z.ZodCUID2;
478
+ id: z.ZodString;
479
+ organizationId: z.ZodString;
410
480
  organization: z.ZodObject<{
411
481
  type: z.ZodLiteral<"organization">;
412
- id: z.ZodCUID2;
482
+ id: z.ZodString;
413
483
  createdAt: z.ZodString;
414
484
  updatedAt: z.ZodString;
415
485
  name: z.ZodOptional<z.ZodString>;
@@ -442,7 +512,6 @@ declare const response$41: z.ZodObject<{
442
512
  anthropic: "anthropic";
443
513
  google: "google";
444
514
  openai: "openai";
445
- ollama: "ollama";
446
515
  deepseek: "deepseek";
447
516
  "azure-openai": "azure-openai";
448
517
  "amazon-bedrock": "amazon-bedrock";
@@ -451,12 +520,12 @@ declare const response$41: z.ZodObject<{
451
520
  }, z.core.$strip>;
452
521
  }, z.core.$strip>;
453
522
  }, z.core.$strip>;
454
- type RequestParams$26 = z.infer<typeof request$38.params>;
455
- type Response$42 = z.infer<typeof response$41>;
456
- declare namespace getAll_d_exports$6 {
457
- export { RequestQuery$10 as RequestQuery, Response$41 as Response, request$37 as request, response$40 as response };
523
+ type RequestParams$20 = z.infer<typeof request$32.params>;
524
+ type Response$36 = z.infer<typeof response$35>;
525
+ declare namespace getAll_d_exports$5 {
526
+ export { RequestQuery$9 as RequestQuery, Response$35 as Response, request$31 as request, response$34 as response };
458
527
  }
459
- declare const request$37: {
528
+ declare const request$31: {
460
529
  query: z.ZodObject<{
461
530
  name: z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>, z.ZodTransform<string | undefined, string | string[] | undefined>>;
462
531
  sort: z.ZodOptional<z.ZodEnum<{
@@ -472,15 +541,15 @@ declare const request$37: {
472
541
  skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
473
542
  }, z.core.$strip>;
474
543
  };
475
- declare const response$40: z.ZodObject<{
544
+ declare const response$34: z.ZodObject<{
476
545
  data: z.ZodObject<{
477
546
  applications: z.ZodArray<z.ZodObject<{
478
547
  type: z.ZodLiteral<"application">;
479
- id: z.ZodCUID2;
480
- organizationId: z.ZodCUID2;
548
+ id: z.ZodString;
549
+ organizationId: z.ZodString;
481
550
  organization: z.ZodObject<{
482
551
  type: z.ZodLiteral<"organization">;
483
- id: z.ZodCUID2;
552
+ id: z.ZodString;
484
553
  createdAt: z.ZodString;
485
554
  updatedAt: z.ZodString;
486
555
  name: z.ZodOptional<z.ZodString>;
@@ -513,7 +582,6 @@ declare const response$40: z.ZodObject<{
513
582
  anthropic: "anthropic";
514
583
  google: "google";
515
584
  openai: "openai";
516
- ollama: "ollama";
517
585
  deepseek: "deepseek";
518
586
  "azure-openai": "azure-openai";
519
587
  "amazon-bedrock": "amazon-bedrock";
@@ -527,14 +595,14 @@ declare const response$40: z.ZodObject<{
527
595
  skip: z.ZodNumber;
528
596
  }, z.core.$strip>;
529
597
  }, z.core.$strip>;
530
- type RequestQuery$10 = z.infer<typeof request$37.query>;
531
- type Response$41 = z.infer<typeof response$40>;
532
- declare namespace update_d_exports$4 {
533
- export { RequestBody$14 as RequestBody, RequestParams$25 as RequestParams, Response$40 as Response, request$36 as request, response$39 as response };
598
+ type RequestQuery$9 = z.infer<typeof request$31.query>;
599
+ type Response$35 = z.infer<typeof response$34>;
600
+ declare namespace update_d_exports$3 {
601
+ export { RequestBody$11 as RequestBody, RequestParams$19 as RequestParams, Response$34 as Response, request$30 as request, response$33 as response };
534
602
  }
535
- declare const request$36: {
603
+ declare const request$30: {
536
604
  params: z.ZodObject<{
537
- applicationId: z.ZodCUID2;
605
+ applicationId: z.ZodString;
538
606
  }, z.core.$strip>;
539
607
  body: z.ZodObject<{
540
608
  name: z.ZodOptional<z.ZodString>;
@@ -544,15 +612,15 @@ declare const request$36: {
544
612
  }>>;
545
613
  }, z.core.$strip>;
546
614
  };
547
- declare const response$39: z.ZodObject<{
615
+ declare const response$33: z.ZodObject<{
548
616
  data: z.ZodObject<{
549
617
  application: z.ZodObject<{
550
618
  type: z.ZodLiteral<"application">;
551
- id: z.ZodCUID2;
552
- organizationId: z.ZodCUID2;
619
+ id: z.ZodString;
620
+ organizationId: z.ZodString;
553
621
  organization: z.ZodObject<{
554
622
  type: z.ZodLiteral<"organization">;
555
- id: z.ZodCUID2;
623
+ id: z.ZodString;
556
624
  createdAt: z.ZodString;
557
625
  updatedAt: z.ZodString;
558
626
  name: z.ZodOptional<z.ZodString>;
@@ -585,7 +653,6 @@ declare const response$39: z.ZodObject<{
585
653
  anthropic: "anthropic";
586
654
  google: "google";
587
655
  openai: "openai";
588
- ollama: "ollama";
589
656
  deepseek: "deepseek";
590
657
  "azure-openai": "azure-openai";
591
658
  "amazon-bedrock": "amazon-bedrock";
@@ -594,23 +661,23 @@ declare const response$39: z.ZodObject<{
594
661
  }, z.core.$strip>;
595
662
  }, z.core.$strip>;
596
663
  }, z.core.$strip>;
597
- type RequestParams$25 = z.infer<typeof request$36.params>;
598
- type RequestBody$14 = z.infer<typeof request$36.body>;
599
- type Response$40 = z.infer<typeof response$39>;
664
+ type RequestParams$19 = z.infer<typeof request$30.params>;
665
+ type RequestBody$11 = z.infer<typeof request$30.body>;
666
+ type Response$34 = z.infer<typeof response$33>;
600
667
  declare namespace index_d_exports {
601
- export { create_d_exports$5 as Create, delete_d_exports$4 as Delete, get_d_exports$6 as Get, getAll_d_exports$6 as GetAll, update_d_exports$4 as Update };
668
+ export { create_d_exports$4 as Create, delete_d_exports$3 as Delete, get_d_exports$5 as Get, getAll_d_exports$5 as GetAll, update_d_exports$3 as Update };
602
669
  }
603
- declare namespace create_d_exports$4 {
604
- export { RequestBody$13 as RequestBody, Response$39 as Response, request$35 as request, response$38 as response };
670
+ declare namespace create_d_exports$3 {
671
+ export { RequestBody$10 as RequestBody, Response$33 as Response, request$29 as request, response$32 as response };
605
672
  }
606
- declare const request$35: {
673
+ declare const request$29: {
607
674
  body: z.ZodObject<{
608
- applicationId: z.ZodCUID2;
675
+ applicationId: z.ZodString;
609
676
  name: z.ZodString;
610
677
  value: z.ZodString;
611
678
  }, z.core.$strip>;
612
679
  };
613
- declare const response$38: z.ZodObject<{
680
+ declare const response$32: z.ZodObject<{
614
681
  data: z.ZodObject<{
615
682
  secret: z.ZodObject<{
616
683
  name: z.ZodString;
@@ -619,35 +686,35 @@ declare const response$38: z.ZodObject<{
619
686
  }, z.core.$strip>;
620
687
  }, z.core.$strip>;
621
688
  }, z.core.$strip>;
622
- type RequestBody$13 = z.infer<typeof request$35.body>;
623
- type Response$39 = z.infer<typeof response$38>;
624
- declare namespace delete_d_exports$3 {
625
- export { RequestParams$24 as RequestParams, RequestQuery$9 as RequestQuery, Response$38 as Response, request$34 as request, response$37 as response };
689
+ type RequestBody$10 = z.infer<typeof request$29.body>;
690
+ type Response$33 = z.infer<typeof response$32>;
691
+ declare namespace delete_d_exports$2 {
692
+ export { RequestParams$18 as RequestParams, RequestQuery$8 as RequestQuery, Response$32 as Response, request$28 as request, response$31 as response };
626
693
  }
627
- declare const request$34: {
694
+ declare const request$28: {
628
695
  params: z.ZodObject<{
629
696
  name: z.ZodString;
630
697
  }, z.core.$strip>;
631
698
  query: z.ZodObject<{
632
- applicationId: z.ZodCUID2;
699
+ applicationId: z.ZodString;
633
700
  }, z.core.$strip>;
634
701
  };
635
- declare const response$37: z.ZodNull;
636
- type RequestParams$24 = z.infer<typeof request$34.params>;
637
- type RequestQuery$9 = z.infer<typeof request$34.query>;
638
- type Response$38 = z.infer<typeof response$37>;
639
- declare namespace get_d_exports$5 {
640
- export { RequestParams$23 as RequestParams, RequestQuery$8 as RequestQuery, Response$37 as Response, request$33 as request, response$36 as response };
702
+ declare const response$31: z.ZodNull;
703
+ type RequestParams$18 = z.infer<typeof request$28.params>;
704
+ type RequestQuery$8 = z.infer<typeof request$28.query>;
705
+ type Response$32 = z.infer<typeof response$31>;
706
+ declare namespace get_d_exports$4 {
707
+ export { RequestParams$17 as RequestParams, RequestQuery$7 as RequestQuery, Response$31 as Response, request$27 as request, response$30 as response };
641
708
  }
642
- declare const request$33: {
709
+ declare const request$27: {
643
710
  params: z.ZodObject<{
644
711
  name: z.ZodString;
645
712
  }, z.core.$strip>;
646
713
  query: z.ZodObject<{
647
- applicationId: z.ZodCUID2;
714
+ applicationId: z.ZodString;
648
715
  }, z.core.$strip>;
649
716
  };
650
- declare const response$36: z.ZodObject<{
717
+ declare const response$30: z.ZodObject<{
651
718
  data: z.ZodObject<{
652
719
  secret: z.ZodObject<{
653
720
  name: z.ZodString;
@@ -656,18 +723,18 @@ declare const response$36: z.ZodObject<{
656
723
  }, z.core.$strip>;
657
724
  }, z.core.$strip>;
658
725
  }, z.core.$strip>;
659
- type RequestParams$23 = z.infer<typeof request$33.params>;
660
- type RequestQuery$8 = z.infer<typeof request$33.query>;
661
- type Response$37 = z.infer<typeof response$36>;
662
- declare namespace getAll_d_exports$5 {
663
- export { RequestQuery$7 as RequestQuery, Response$36 as Response, request$32 as request, response$35 as response };
726
+ type RequestParams$17 = z.infer<typeof request$27.params>;
727
+ type RequestQuery$7 = z.infer<typeof request$27.query>;
728
+ type Response$31 = z.infer<typeof response$30>;
729
+ declare namespace getAll_d_exports$4 {
730
+ export { RequestQuery$6 as RequestQuery, Response$30 as Response, request$26 as request, response$29 as response };
664
731
  }
665
- declare const request$32: {
732
+ declare const request$26: {
666
733
  query: z.ZodObject<{
667
- applicationId: z.ZodOptional<z.ZodCUID2>;
734
+ applicationId: z.ZodOptional<z.ZodString>;
668
735
  }, z.core.$strip>;
669
736
  };
670
- declare const response$35: z.ZodObject<{
737
+ declare const response$29: z.ZodObject<{
671
738
  data: z.ZodObject<{
672
739
  secrets: z.ZodArray<z.ZodObject<{
673
740
  name: z.ZodString;
@@ -676,21 +743,21 @@ declare const response$35: z.ZodObject<{
676
743
  }, z.core.$strip>>;
677
744
  }, z.core.$strip>;
678
745
  }, z.core.$strip>;
679
- type RequestQuery$7 = z.infer<typeof request$32.query>;
680
- type Response$36 = z.infer<typeof response$35>;
681
- declare namespace update_d_exports$3 {
682
- export { RequestBody$12 as RequestBody, RequestParams$22 as RequestParams, Response$35 as Response, request$31 as request, response$34 as response };
746
+ type RequestQuery$6 = z.infer<typeof request$26.query>;
747
+ type Response$30 = z.infer<typeof response$29>;
748
+ declare namespace update_d_exports$2 {
749
+ export { RequestBody$9 as RequestBody, RequestParams$16 as RequestParams, Response$29 as Response, request$25 as request, response$28 as response };
683
750
  }
684
- declare const request$31: {
751
+ declare const request$25: {
685
752
  params: z.ZodObject<{
686
753
  name: z.ZodString;
687
754
  }, z.core.$strip>;
688
755
  body: z.ZodObject<{
689
- applicationId: z.ZodCUID2;
756
+ applicationId: z.ZodString;
690
757
  value: z.ZodString;
691
758
  }, z.core.$strip>;
692
759
  };
693
- declare const response$34: z.ZodObject<{
760
+ declare const response$28: z.ZodObject<{
694
761
  data: z.ZodObject<{
695
762
  secret: z.ZodObject<{
696
763
  name: z.ZodString;
@@ -699,23 +766,23 @@ declare const response$34: z.ZodObject<{
699
766
  }, z.core.$strip>;
700
767
  }, z.core.$strip>;
701
768
  }, z.core.$strip>;
702
- type RequestParams$22 = z.infer<typeof request$31.params>;
703
- type RequestBody$12 = z.infer<typeof request$31.body>;
704
- type Response$35 = z.infer<typeof response$34>;
705
- declare namespace index_d_exports$7 {
706
- export { create_d_exports$4 as Create, delete_d_exports$3 as Delete, get_d_exports$5 as Get, getAll_d_exports$5 as GetAll, update_d_exports$3 as Update };
769
+ type RequestParams$16 = z.infer<typeof request$25.params>;
770
+ type RequestBody$9 = z.infer<typeof request$25.body>;
771
+ type Response$29 = z.infer<typeof response$28>;
772
+ declare namespace index_d_exports$6 {
773
+ export { create_d_exports$3 as Create, delete_d_exports$2 as Delete, get_d_exports$4 as Get, getAll_d_exports$4 as GetAll, update_d_exports$2 as Update };
707
774
  }
708
- declare namespace create_d_exports$3 {
709
- export { RequestBody$11 as RequestBody, Response$34 as Response, request$30 as request, response$33 as response };
775
+ declare namespace create_d_exports$2 {
776
+ export { RequestBody$8 as RequestBody, Response$28 as Response, request$24 as request, response$27 as response };
710
777
  }
711
- declare const request$30: {
778
+ declare const request$24: {
712
779
  body: z.ZodObject<{
713
- applicationId: z.ZodCUID2;
780
+ applicationId: z.ZodString;
714
781
  name: z.ZodString;
715
782
  value: z.ZodString;
716
783
  }, z.core.$strip>;
717
784
  };
718
- declare const response$33: z.ZodObject<{
785
+ declare const response$27: z.ZodObject<{
719
786
  data: z.ZodObject<{
720
787
  variable: z.ZodObject<{
721
788
  name: z.ZodString;
@@ -725,35 +792,35 @@ declare const response$33: z.ZodObject<{
725
792
  }, z.core.$strip>;
726
793
  }, z.core.$strip>;
727
794
  }, z.core.$strip>;
728
- type RequestBody$11 = z.infer<typeof request$30.body>;
729
- type Response$34 = z.infer<typeof response$33>;
730
- declare namespace delete_d_exports$2 {
731
- export { RequestParams$21 as RequestParams, RequestQuery$6 as RequestQuery, Response$33 as Response, request$29 as request, response$32 as response };
795
+ type RequestBody$8 = z.infer<typeof request$24.body>;
796
+ type Response$28 = z.infer<typeof response$27>;
797
+ declare namespace delete_d_exports$1 {
798
+ export { RequestParams$15 as RequestParams, RequestQuery$5 as RequestQuery, Response$27 as Response, request$23 as request, response$26 as response };
732
799
  }
733
- declare const request$29: {
800
+ declare const request$23: {
734
801
  params: z.ZodObject<{
735
802
  name: z.ZodString;
736
803
  }, z.core.$strip>;
737
804
  query: z.ZodObject<{
738
- applicationId: z.ZodCUID2;
805
+ applicationId: z.ZodString;
739
806
  }, z.core.$strip>;
740
807
  };
741
- declare const response$32: z.ZodNull;
742
- type RequestParams$21 = z.infer<typeof request$29.params>;
743
- type RequestQuery$6 = z.infer<typeof request$29.query>;
744
- type Response$33 = z.infer<typeof response$32>;
745
- declare namespace get_d_exports$4 {
746
- export { RequestParams$20 as RequestParams, RequestQuery$5 as RequestQuery, Response$32 as Response, request$28 as request, response$31 as response };
808
+ declare const response$26: z.ZodNull;
809
+ type RequestParams$15 = z.infer<typeof request$23.params>;
810
+ type RequestQuery$5 = z.infer<typeof request$23.query>;
811
+ type Response$27 = z.infer<typeof response$26>;
812
+ declare namespace get_d_exports$3 {
813
+ export { RequestParams$14 as RequestParams, RequestQuery$4 as RequestQuery, Response$26 as Response, request$22 as request, response$25 as response };
747
814
  }
748
- declare const request$28: {
815
+ declare const request$22: {
749
816
  params: z.ZodObject<{
750
817
  name: z.ZodString;
751
818
  }, z.core.$strip>;
752
819
  query: z.ZodObject<{
753
- applicationId: z.ZodCUID2;
820
+ applicationId: z.ZodString;
754
821
  }, z.core.$strip>;
755
822
  };
756
- declare const response$31: z.ZodObject<{
823
+ declare const response$25: z.ZodObject<{
757
824
  data: z.ZodObject<{
758
825
  variable: z.ZodObject<{
759
826
  name: z.ZodString;
@@ -763,18 +830,18 @@ declare const response$31: z.ZodObject<{
763
830
  }, z.core.$strip>;
764
831
  }, z.core.$strip>;
765
832
  }, z.core.$strip>;
766
- type RequestParams$20 = z.infer<typeof request$28.params>;
767
- type RequestQuery$5 = z.infer<typeof request$28.query>;
768
- type Response$32 = z.infer<typeof response$31>;
769
- declare namespace getAll_d_exports$4 {
770
- export { RequestQuery$4 as RequestQuery, Response$31 as Response, request$27 as request, response$30 as response };
833
+ type RequestParams$14 = z.infer<typeof request$22.params>;
834
+ type RequestQuery$4 = z.infer<typeof request$22.query>;
835
+ type Response$26 = z.infer<typeof response$25>;
836
+ declare namespace getAll_d_exports$3 {
837
+ export { RequestQuery$3 as RequestQuery, Response$25 as Response, request$21 as request, response$24 as response };
771
838
  }
772
- declare const request$27: {
839
+ declare const request$21: {
773
840
  query: z.ZodObject<{
774
- applicationId: z.ZodCUID2;
841
+ applicationId: z.ZodString;
775
842
  }, z.core.$strip>;
776
843
  };
777
- declare const response$30: z.ZodObject<{
844
+ declare const response$24: z.ZodObject<{
778
845
  data: z.ZodObject<{
779
846
  variables: z.ZodArray<z.ZodObject<{
780
847
  name: z.ZodString;
@@ -783,609 +850,108 @@ declare const response$30: z.ZodObject<{
783
850
  updatedAt: z.ZodString;
784
851
  }, z.core.$strip>>;
785
852
  }, z.core.$strip>;
786
- }, z.core.$strip>;
787
- type RequestQuery$4 = z.infer<typeof request$27.query>;
788
- type Response$31 = z.infer<typeof response$30>;
789
- declare namespace update_d_exports$2 {
790
- export { RequestBody$10 as RequestBody, RequestParams$19 as RequestParams, Response$30 as Response, request$26 as request, response$29 as response };
791
- }
792
- declare const request$26: {
793
- params: z.ZodObject<{
794
- name: z.ZodString;
795
- }, z.core.$strip>;
796
- body: z.ZodObject<{
797
- applicationId: z.ZodCUID2;
798
- value: z.ZodString;
799
- }, z.core.$strip>;
800
- };
801
- declare const response$29: z.ZodObject<{
802
- data: z.ZodObject<{
803
- variable: z.ZodObject<{
804
- name: z.ZodString;
805
- value: z.ZodString;
806
- createdAt: z.ZodString;
807
- updatedAt: z.ZodString;
808
- }, z.core.$strip>;
809
- }, z.core.$strip>;
810
- }, z.core.$strip>;
811
- type RequestParams$19 = z.infer<typeof request$26.params>;
812
- type RequestBody$10 = z.infer<typeof request$26.body>;
813
- type Response$30 = z.infer<typeof response$29>;
814
- declare namespace index_d_exports$6 {
815
- export { create_d_exports$3 as Create, delete_d_exports$2 as Delete, get_d_exports$4 as Get, getAll_d_exports$4 as GetAll, update_d_exports$2 as Update };
816
- }
817
- declare namespace index_d_exports$1 {
818
- export { index_d_exports$7 as Secrets, index_d_exports$6 as Variables };
819
- }
820
- declare namespace definition_d_exports$1 {
821
- export { ExpertDefinition, expertDefinitionSchema };
822
- }
823
- declare const expertDefinitionSchema: z.ZodObject<{
824
- name: z.ZodString;
825
- version: z.ZodString;
826
- organizationId: z.ZodCUID2;
827
- createdAt: z.ZodString;
828
- updatedAt: z.ZodString;
829
- createdBy: z.ZodCUID2;
830
- updatedBy: z.ZodCUID2;
831
- experts: z.ZodRecord<z.ZodString, z.ZodObject<{
832
- name: z.ZodString;
833
- version: z.ZodString;
834
- description: z.ZodOptional<z.ZodString>;
835
- instruction: z.ZodString;
836
- skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
837
- type: z.ZodLiteral<"mcpStdioSkill">;
838
- name: z.ZodString;
839
- description: z.ZodString;
840
- rule: z.ZodOptional<z.ZodString>;
841
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
842
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
843
- command: z.ZodEnum<{
844
- npx: "npx";
845
- uvx: "uvx";
846
- }>;
847
- packageName: z.ZodString;
848
- requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
849
- }, z.core.$strip>, z.ZodObject<{
850
- type: z.ZodLiteral<"mcpSseSkill">;
851
- name: z.ZodString;
852
- description: z.ZodString;
853
- rule: z.ZodOptional<z.ZodString>;
854
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
855
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
856
- endpoint: z.ZodString;
857
- }, z.core.$strip>, z.ZodObject<{
858
- type: z.ZodLiteral<"interactiveSkill">;
859
- name: z.ZodString;
860
- description: z.ZodString;
861
- rule: z.ZodOptional<z.ZodString>;
862
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
863
- description: z.ZodString;
864
- inputJsonSchema: z.ZodString;
865
- }, z.core.$strip>>;
866
- }, z.core.$strip>], "type">>>>;
867
- delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
868
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
869
- }, z.core.$strip>>;
870
- }, z.core.$strip>;
871
- /** Immutable expert definition. Passed to perstack runtime. */
872
- type ExpertDefinition = z.infer<typeof expertDefinitionSchema>;
873
- declare namespace delete_d_exports$1 {
874
- export { RequestParams$18 as RequestParams, Response$29 as Response, request$25 as request, response$28 as response };
875
- }
876
- declare const request$25: {
877
- params: z.ZodObject<{
878
- scopeName: z.ZodString;
879
- }, z.core.$strip>;
880
- };
881
- declare const response$28: z.ZodObject<{
882
- data: z.ZodObject<{
883
- scope: z.ZodObject<{
884
- id: z.ZodCUID2;
885
- name: z.ZodString;
886
- organizationId: z.ZodCUID2;
887
- published: z.ZodBoolean;
888
- publishedAt: z.ZodOptional<z.ZodString>;
889
- category: z.ZodEnum<{
890
- general: "general";
891
- coding: "coding";
892
- research: "research";
893
- writing: "writing";
894
- data: "data";
895
- automation: "automation";
896
- }>;
897
- totalRuns: z.ZodNumber;
898
- totalJobs: z.ZodNumber;
899
- totalStars: z.ZodNumber;
900
- createdAt: z.ZodString;
901
- updatedAt: z.ZodString;
902
- createdBy: z.ZodCUID2;
903
- updatedBy: z.ZodCUID2;
904
- }, z.core.$strip>;
905
- version: z.ZodObject<{
906
- id: z.ZodCUID2;
907
- expertScopeId: z.ZodCUID2;
908
- version: z.ZodString;
909
- public: z.ZodBoolean;
910
- yanked: z.ZodBoolean;
911
- totalRuns: z.ZodNumber;
912
- totalJobs: z.ZodNumber;
913
- createdAt: z.ZodString;
914
- updatedAt: z.ZodString;
915
- createdBy: z.ZodCUID2;
916
- updatedBy: z.ZodCUID2;
917
- tags: z.ZodArray<z.ZodString>;
918
- }, z.core.$strip>;
919
- yanked: z.ZodLiteral<true>;
920
- latestTagUpdated: z.ZodBoolean;
921
- }, z.core.$strip>;
922
- }, z.core.$strip>;
923
- type RequestParams$18 = z.infer<typeof request$25.params>;
924
- type Response$29 = z.infer<typeof response$28>;
925
- declare namespace create_d_exports$2 {
926
- export { RequestBody$9 as RequestBody, RequestParams$17 as RequestParams, Response$28 as Response, request$24 as request, response$27 as response };
927
- }
928
- declare const request$24: {
929
- params: z.ZodObject<{
930
- scopeName: z.ZodString;
931
- }, z.core.$strip>;
932
- body: z.ZodObject<{
933
- applicationId: z.ZodCUID2;
934
- experts: z.ZodArray<z.ZodObject<{
935
- key: z.ZodString;
936
- name: z.ZodString;
937
- version: z.ZodString;
938
- description: z.ZodOptional<z.ZodString>;
939
- instruction: z.ZodString;
940
- skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
941
- type: z.ZodLiteral<"mcpStdioSkill">;
942
- name: z.ZodString;
943
- description: z.ZodString;
944
- rule: z.ZodOptional<z.ZodString>;
945
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
946
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
947
- command: z.ZodEnum<{
948
- npx: "npx";
949
- uvx: "uvx";
950
- }>;
951
- packageName: z.ZodString;
952
- requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
953
- }, z.core.$strip>, z.ZodObject<{
954
- type: z.ZodLiteral<"mcpSseSkill">;
955
- name: z.ZodString;
956
- description: z.ZodString;
957
- rule: z.ZodOptional<z.ZodString>;
958
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
959
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
960
- endpoint: z.ZodString;
961
- }, z.core.$strip>, z.ZodObject<{
962
- type: z.ZodLiteral<"interactiveSkill">;
963
- name: z.ZodString;
964
- description: z.ZodString;
965
- rule: z.ZodOptional<z.ZodString>;
966
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
967
- description: z.ZodString;
968
- inputJsonSchema: z.ZodString;
969
- }, z.core.$strip>>;
970
- }, z.core.$strip>], "type">>>>;
971
- delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
972
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
973
- }, z.core.$strip>>;
974
- }, z.core.$strip>;
975
- };
976
- declare const response$27: z.ZodObject<{
977
- data: z.ZodObject<{
978
- scope: z.ZodObject<{
979
- id: z.ZodCUID2;
980
- name: z.ZodString;
981
- organizationId: z.ZodCUID2;
982
- applicationId: z.ZodCUID2;
983
- totalRuns: z.ZodNumber;
984
- totalJobs: z.ZodNumber;
985
- createdAt: z.ZodString;
986
- updatedAt: z.ZodString;
987
- createdBy: z.ZodCUID2;
988
- updatedBy: z.ZodCUID2;
989
- }, z.core.$strip>;
990
- draftRef: z.ZodObject<{
991
- id: z.ZodCUID2;
992
- expertDraftScopeId: z.ZodCUID2;
993
- totalRuns: z.ZodNumber;
994
- totalJobs: z.ZodNumber;
995
- createdAt: z.ZodString;
996
- updatedAt: z.ZodString;
997
- createdBy: z.ZodCUID2;
998
- updatedBy: z.ZodCUID2;
999
- }, z.core.$strip>;
1000
- definition: z.ZodObject<{
1001
- name: z.ZodString;
1002
- version: z.ZodLiteral<"0.0.0-draft">;
1003
- applicationId: z.ZodCUID2;
1004
- createdAt: z.ZodString;
1005
- updatedAt: z.ZodString;
1006
- createdBy: z.ZodCUID2;
1007
- updatedBy: z.ZodCUID2;
1008
- experts: z.ZodRecord<z.ZodString, z.ZodObject<{
1009
- name: z.ZodString;
1010
- version: z.ZodString;
1011
- description: z.ZodOptional<z.ZodString>;
1012
- instruction: z.ZodString;
1013
- skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1014
- type: z.ZodLiteral<"mcpStdioSkill">;
1015
- name: z.ZodString;
1016
- description: z.ZodString;
1017
- rule: z.ZodOptional<z.ZodString>;
1018
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1019
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1020
- command: z.ZodEnum<{
1021
- npx: "npx";
1022
- uvx: "uvx";
1023
- }>;
1024
- packageName: z.ZodString;
1025
- requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
1026
- }, z.core.$strip>, z.ZodObject<{
1027
- type: z.ZodLiteral<"mcpSseSkill">;
1028
- name: z.ZodString;
1029
- description: z.ZodString;
1030
- rule: z.ZodOptional<z.ZodString>;
1031
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1032
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1033
- endpoint: z.ZodString;
1034
- }, z.core.$strip>, z.ZodObject<{
1035
- type: z.ZodLiteral<"interactiveSkill">;
1036
- name: z.ZodString;
1037
- description: z.ZodString;
1038
- rule: z.ZodOptional<z.ZodString>;
1039
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
1040
- description: z.ZodString;
1041
- inputJsonSchema: z.ZodString;
1042
- }, z.core.$strip>>;
1043
- }, z.core.$strip>], "type">>>>;
1044
- delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1045
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1046
- }, z.core.$strip>>;
1047
- }, z.core.$strip>;
1048
- }, z.core.$strip>;
1049
- }, z.core.$strip>;
1050
- type RequestParams$17 = z.infer<typeof request$24.params>;
1051
- type RequestBody$9 = z.infer<typeof request$24.body>;
1052
- type Response$28 = z.infer<typeof response$27>;
1053
- declare namespace definition_d_exports {
1054
- export { ExpertDefinitionContent, expertDefinitionContentSchema };
1055
- }
1056
- declare const expertDefinitionContentSchema: z.ZodObject<{
1057
- name: z.ZodString;
1058
- version: z.ZodLiteral<"0.0.0-draft">;
1059
- applicationId: z.ZodCUID2;
1060
- createdAt: z.ZodString;
1061
- updatedAt: z.ZodString;
1062
- createdBy: z.ZodCUID2;
1063
- updatedBy: z.ZodCUID2;
1064
- experts: z.ZodRecord<z.ZodString, z.ZodObject<{
1065
- name: z.ZodString;
1066
- version: z.ZodString;
1067
- description: z.ZodOptional<z.ZodString>;
1068
- instruction: z.ZodString;
1069
- skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1070
- type: z.ZodLiteral<"mcpStdioSkill">;
1071
- name: z.ZodString;
1072
- description: z.ZodString;
1073
- rule: z.ZodOptional<z.ZodString>;
1074
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1075
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1076
- command: z.ZodEnum<{
1077
- npx: "npx";
1078
- uvx: "uvx";
1079
- }>;
1080
- packageName: z.ZodString;
1081
- requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
1082
- }, z.core.$strip>, z.ZodObject<{
1083
- type: z.ZodLiteral<"mcpSseSkill">;
1084
- name: z.ZodString;
1085
- description: z.ZodString;
1086
- rule: z.ZodOptional<z.ZodString>;
1087
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1088
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1089
- endpoint: z.ZodString;
1090
- }, z.core.$strip>, z.ZodObject<{
1091
- type: z.ZodLiteral<"interactiveSkill">;
1092
- name: z.ZodString;
1093
- description: z.ZodString;
1094
- rule: z.ZodOptional<z.ZodString>;
1095
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
1096
- description: z.ZodString;
1097
- inputJsonSchema: z.ZodString;
1098
- }, z.core.$strip>>;
1099
- }, z.core.$strip>], "type">>>>;
1100
- delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1101
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1102
- }, z.core.$strip>>;
1103
- }, z.core.$strip>;
1104
- /** Immutable expert definition. Passed to perstack runtime. */
1105
- type ExpertDefinitionContent = z.infer<typeof expertDefinitionContentSchema>;
1106
- declare namespace delete_d_exports {
1107
- export { RequestParams$16 as RequestParams, Response$27 as Response, request$23 as request, response$26 as response };
1108
- }
1109
- declare const request$23: {
1110
- params: z.ZodObject<{
1111
- scopeName: z.ZodString;
1112
- draftRef: z.ZodCUID2;
1113
- }, z.core.$strip>;
1114
- };
1115
- declare const response$26: z.ZodObject<{
1116
- data: z.ZodObject<{
1117
- deleted: z.ZodBoolean;
1118
- draftRef: z.ZodString;
1119
- }, z.core.$strip>;
1120
- }, z.core.$strip>;
1121
- type RequestParams$16 = z.infer<typeof request$23.params>;
1122
- type Response$27 = z.infer<typeof response$26>;
1123
- declare namespace get_d_exports$3 {
1124
- export { RequestParams$15 as RequestParams, Response$26 as Response, request$22 as request, response$25 as response };
1125
- }
1126
- declare const request$22: {
1127
- params: z.ZodObject<{
1128
- scopeName: z.ZodString;
1129
- draftRef: z.ZodCUID2;
1130
- }, z.core.$strip>;
1131
- };
1132
- declare const response$25: z.ZodObject<{
1133
- data: z.ZodObject<{
1134
- scope: z.ZodObject<{
1135
- id: z.ZodCUID2;
1136
- name: z.ZodString;
1137
- organizationId: z.ZodCUID2;
1138
- applicationId: z.ZodCUID2;
1139
- totalRuns: z.ZodNumber;
1140
- totalJobs: z.ZodNumber;
1141
- createdAt: z.ZodString;
1142
- updatedAt: z.ZodString;
1143
- createdBy: z.ZodCUID2;
1144
- updatedBy: z.ZodCUID2;
1145
- }, z.core.$strip>;
1146
- draftRef: z.ZodObject<{
1147
- id: z.ZodCUID2;
1148
- expertDraftScopeId: z.ZodCUID2;
1149
- totalRuns: z.ZodNumber;
1150
- totalJobs: z.ZodNumber;
1151
- createdAt: z.ZodString;
1152
- updatedAt: z.ZodString;
1153
- createdBy: z.ZodCUID2;
1154
- updatedBy: z.ZodCUID2;
1155
- }, z.core.$strip>;
1156
- definition: z.ZodObject<{
1157
- name: z.ZodString;
1158
- version: z.ZodLiteral<"0.0.0-draft">;
1159
- applicationId: z.ZodCUID2;
1160
- createdAt: z.ZodString;
1161
- updatedAt: z.ZodString;
1162
- createdBy: z.ZodCUID2;
1163
- updatedBy: z.ZodCUID2;
1164
- experts: z.ZodRecord<z.ZodString, z.ZodObject<{
1165
- name: z.ZodString;
1166
- version: z.ZodString;
1167
- description: z.ZodOptional<z.ZodString>;
1168
- instruction: z.ZodString;
1169
- skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1170
- type: z.ZodLiteral<"mcpStdioSkill">;
1171
- name: z.ZodString;
1172
- description: z.ZodString;
1173
- rule: z.ZodOptional<z.ZodString>;
1174
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1175
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1176
- command: z.ZodEnum<{
1177
- npx: "npx";
1178
- uvx: "uvx";
1179
- }>;
1180
- packageName: z.ZodString;
1181
- requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
1182
- }, z.core.$strip>, z.ZodObject<{
1183
- type: z.ZodLiteral<"mcpSseSkill">;
1184
- name: z.ZodString;
1185
- description: z.ZodString;
1186
- rule: z.ZodOptional<z.ZodString>;
1187
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1188
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1189
- endpoint: z.ZodString;
1190
- }, z.core.$strip>, z.ZodObject<{
1191
- type: z.ZodLiteral<"interactiveSkill">;
1192
- name: z.ZodString;
1193
- description: z.ZodString;
1194
- rule: z.ZodOptional<z.ZodString>;
1195
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
1196
- description: z.ZodString;
1197
- inputJsonSchema: z.ZodString;
1198
- }, z.core.$strip>>;
1199
- }, z.core.$strip>], "type">>>>;
1200
- delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1201
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1202
- }, z.core.$strip>>;
1203
- }, z.core.$strip>;
1204
- }, z.core.$strip>;
1205
- }, z.core.$strip>;
1206
- type RequestParams$15 = z.infer<typeof request$22.params>;
1207
- type Response$26 = z.infer<typeof response$25>;
1208
- declare namespace getAll_d_exports$3 {
1209
- export { RequestParams$14 as RequestParams, RequestQuery$3 as RequestQuery, Response$25 as Response, request$21 as request, response$24 as response };
1210
- }
1211
- declare const request$21: {
1212
- params: z.ZodObject<{
1213
- scopeName: z.ZodString;
1214
- }, z.core.$strip>;
1215
- query: z.ZodObject<{
1216
- take: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1217
- skip: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1218
- }, z.core.$strip>;
1219
- };
1220
- declare const response$24: z.ZodObject<{
1221
- data: z.ZodObject<{
1222
- draftRefs: z.ZodArray<z.ZodObject<{
1223
- id: z.ZodCUID2;
1224
- expertDraftScopeId: z.ZodCUID2;
1225
- totalRuns: z.ZodNumber;
1226
- totalJobs: z.ZodNumber;
1227
- createdAt: z.ZodString;
1228
- updatedAt: z.ZodString;
1229
- createdBy: z.ZodCUID2;
1230
- updatedBy: z.ZodCUID2;
1231
- }, z.core.$strip>>;
1232
- }, z.core.$strip>;
1233
- meta: z.ZodObject<{
1234
- total: z.ZodNumber;
1235
- take: z.ZodNumber;
1236
- skip: z.ZodNumber;
1237
- }, z.core.$strip>;
1238
- }, z.core.$strip>;
1239
- type RequestParams$14 = z.infer<typeof request$21.params>;
1240
- type RequestQuery$3 = z.infer<typeof request$21.query>;
1241
- type Response$25 = z.infer<typeof response$24>;
1242
- declare namespace update_d_exports$1 {
1243
- export { RequestBody$8 as RequestBody, RequestParams$13 as RequestParams, Response$24 as Response, request$20 as request, response$23 as response };
1244
- }
1245
- declare const request$20: {
1246
- params: z.ZodObject<{
1247
- scopeName: z.ZodString;
1248
- draftRef: z.ZodCUID2;
1249
- }, z.core.$strip>;
1250
- body: z.ZodObject<{
1251
- experts: z.ZodArray<z.ZodObject<{
1252
- key: z.ZodString;
1253
- name: z.ZodString;
1254
- version: z.ZodString;
1255
- description: z.ZodOptional<z.ZodString>;
1256
- instruction: z.ZodString;
1257
- skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1258
- type: z.ZodLiteral<"mcpStdioSkill">;
1259
- name: z.ZodString;
1260
- description: z.ZodString;
1261
- rule: z.ZodOptional<z.ZodString>;
1262
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1263
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1264
- command: z.ZodEnum<{
1265
- npx: "npx";
1266
- uvx: "uvx";
1267
- }>;
1268
- packageName: z.ZodString;
1269
- requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
1270
- }, z.core.$strip>, z.ZodObject<{
1271
- type: z.ZodLiteral<"mcpSseSkill">;
1272
- name: z.ZodString;
1273
- description: z.ZodString;
1274
- rule: z.ZodOptional<z.ZodString>;
1275
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1276
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1277
- endpoint: z.ZodString;
1278
- }, z.core.$strip>, z.ZodObject<{
1279
- type: z.ZodLiteral<"interactiveSkill">;
1280
- name: z.ZodString;
1281
- description: z.ZodString;
1282
- rule: z.ZodOptional<z.ZodString>;
1283
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
1284
- description: z.ZodString;
1285
- inputJsonSchema: z.ZodString;
1286
- }, z.core.$strip>>;
1287
- }, z.core.$strip>], "type">>>>;
1288
- delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1289
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1290
- }, z.core.$strip>>;
1291
- }, z.core.$strip>;
1292
- };
1293
- declare const response$23: z.ZodObject<{
1294
- data: z.ZodObject<{
1295
- scope: z.ZodObject<{
1296
- id: z.ZodCUID2;
1297
- name: z.ZodString;
1298
- organizationId: z.ZodCUID2;
1299
- applicationId: z.ZodCUID2;
1300
- totalRuns: z.ZodNumber;
1301
- totalJobs: z.ZodNumber;
1302
- createdAt: z.ZodString;
1303
- updatedAt: z.ZodString;
1304
- createdBy: z.ZodCUID2;
1305
- updatedBy: z.ZodCUID2;
1306
- }, z.core.$strip>;
1307
- draftRef: z.ZodObject<{
1308
- id: z.ZodCUID2;
1309
- expertDraftScopeId: z.ZodCUID2;
1310
- totalRuns: z.ZodNumber;
1311
- totalJobs: z.ZodNumber;
1312
- createdAt: z.ZodString;
1313
- updatedAt: z.ZodString;
1314
- createdBy: z.ZodCUID2;
1315
- updatedBy: z.ZodCUID2;
1316
- }, z.core.$strip>;
1317
- definition: z.ZodObject<{
1318
- name: z.ZodString;
1319
- version: z.ZodLiteral<"0.0.0-draft">;
1320
- applicationId: z.ZodCUID2;
1321
- createdAt: z.ZodString;
1322
- updatedAt: z.ZodString;
1323
- createdBy: z.ZodCUID2;
1324
- updatedBy: z.ZodCUID2;
1325
- experts: z.ZodRecord<z.ZodString, z.ZodObject<{
1326
- name: z.ZodString;
1327
- version: z.ZodString;
1328
- description: z.ZodOptional<z.ZodString>;
1329
- instruction: z.ZodString;
1330
- skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1331
- type: z.ZodLiteral<"mcpStdioSkill">;
1332
- name: z.ZodString;
1333
- description: z.ZodString;
1334
- rule: z.ZodOptional<z.ZodString>;
1335
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1336
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1337
- command: z.ZodEnum<{
1338
- npx: "npx";
1339
- uvx: "uvx";
1340
- }>;
1341
- packageName: z.ZodString;
1342
- requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
1343
- }, z.core.$strip>, z.ZodObject<{
1344
- type: z.ZodLiteral<"mcpSseSkill">;
1345
- name: z.ZodString;
1346
- description: z.ZodString;
1347
- rule: z.ZodOptional<z.ZodString>;
1348
- pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1349
- omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1350
- endpoint: z.ZodString;
1351
- }, z.core.$strip>, z.ZodObject<{
1352
- type: z.ZodLiteral<"interactiveSkill">;
1353
- name: z.ZodString;
1354
- description: z.ZodString;
1355
- rule: z.ZodOptional<z.ZodString>;
1356
- tools: z.ZodRecord<z.ZodString, z.ZodObject<{
1357
- description: z.ZodString;
1358
- inputJsonSchema: z.ZodString;
1359
- }, z.core.$strip>>;
1360
- }, z.core.$strip>], "type">>>>;
1361
- delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1362
- tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1363
- }, z.core.$strip>>;
853
+ }, z.core.$strip>;
854
+ type RequestQuery$3 = z.infer<typeof request$21.query>;
855
+ type Response$25 = z.infer<typeof response$24>;
856
+ declare namespace update_d_exports$1 {
857
+ export { RequestBody$7 as RequestBody, RequestParams$13 as RequestParams, Response$24 as Response, request$20 as request, response$23 as response };
858
+ }
859
+ declare const request$20: {
860
+ params: z.ZodObject<{
861
+ name: z.ZodString;
862
+ }, z.core.$strip>;
863
+ body: z.ZodObject<{
864
+ applicationId: z.ZodString;
865
+ value: z.ZodString;
866
+ }, z.core.$strip>;
867
+ };
868
+ declare const response$23: z.ZodObject<{
869
+ data: z.ZodObject<{
870
+ variable: z.ZodObject<{
871
+ name: z.ZodString;
872
+ value: z.ZodString;
873
+ createdAt: z.ZodString;
874
+ updatedAt: z.ZodString;
1364
875
  }, z.core.$strip>;
1365
876
  }, z.core.$strip>;
1366
877
  }, z.core.$strip>;
1367
878
  type RequestParams$13 = z.infer<typeof request$20.params>;
1368
- type RequestBody$8 = z.infer<typeof request$20.body>;
879
+ type RequestBody$7 = z.infer<typeof request$20.body>;
1369
880
  type Response$24 = z.infer<typeof response$23>;
1370
- declare namespace version_d_exports {
1371
- export { RequestBody$7 as RequestBody, RequestParams$12 as RequestParams, Response$23 as Response, request$19 as request, response$22 as response };
881
+ declare namespace index_d_exports$5 {
882
+ export { create_d_exports$2 as Create, delete_d_exports$1 as Delete, get_d_exports$3 as Get, getAll_d_exports$3 as GetAll, update_d_exports$1 as Update };
883
+ }
884
+ declare namespace index_d_exports$1 {
885
+ export { index_d_exports$6 as Secrets, index_d_exports$5 as Variables };
886
+ }
887
+ declare namespace definition_d_exports {
888
+ export { ExpertDefinition, expertDefinitionSchema };
889
+ }
890
+ declare const expertDefinitionSchema: z.ZodObject<{
891
+ name: z.ZodString;
892
+ version: z.ZodString;
893
+ organizationId: z.ZodString;
894
+ createdAt: z.ZodString;
895
+ updatedAt: z.ZodString;
896
+ createdBy: z.ZodString;
897
+ updatedBy: z.ZodString;
898
+ experts: z.ZodRecord<z.ZodString, z.ZodObject<{
899
+ name: z.ZodString;
900
+ version: z.ZodString;
901
+ description: z.ZodOptional<z.ZodString>;
902
+ instruction: z.ZodString;
903
+ skills: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
904
+ type: z.ZodLiteral<"mcpStdioSkill">;
905
+ name: z.ZodString;
906
+ description: z.ZodString;
907
+ rule: z.ZodOptional<z.ZodString>;
908
+ pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
909
+ omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
910
+ command: z.ZodEnum<{
911
+ npx: "npx";
912
+ uvx: "uvx";
913
+ }>;
914
+ packageName: z.ZodString;
915
+ requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
916
+ }, z.core.$strip>, z.ZodObject<{
917
+ type: z.ZodLiteral<"mcpSseSkill">;
918
+ name: z.ZodString;
919
+ description: z.ZodString;
920
+ rule: z.ZodOptional<z.ZodString>;
921
+ pick: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
922
+ omit: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
923
+ endpoint: z.ZodString;
924
+ }, z.core.$strip>, z.ZodObject<{
925
+ type: z.ZodLiteral<"interactiveSkill">;
926
+ name: z.ZodString;
927
+ description: z.ZodString;
928
+ rule: z.ZodOptional<z.ZodString>;
929
+ tools: z.ZodRecord<z.ZodString, z.ZodObject<{
930
+ description: z.ZodString;
931
+ inputJsonSchema: z.ZodString;
932
+ }, z.core.$strip>>;
933
+ }, z.core.$strip>], "type">>>>;
934
+ delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
935
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
936
+ }, z.core.$strip>>;
937
+ }, z.core.$strip>;
938
+ /** Immutable expert definition. Passed to perstack runtime. */
939
+ type ExpertDefinition = z.infer<typeof expertDefinitionSchema>;
940
+ declare namespace delete_d_exports {
941
+ export { RequestParams$12 as RequestParams, Response$23 as Response, request$19 as request, response$22 as response };
1372
942
  }
1373
943
  declare const request$19: {
1374
944
  params: z.ZodObject<{
1375
945
  scopeName: z.ZodString;
1376
- draftRef: z.ZodString;
1377
- }, z.core.$strip>;
1378
- body: z.ZodObject<{
1379
- version: z.ZodString;
1380
- tag: z.ZodOptional<z.ZodString>;
1381
946
  }, z.core.$strip>;
1382
947
  };
1383
948
  declare const response$22: z.ZodObject<{
1384
949
  data: z.ZodObject<{
1385
950
  scope: z.ZodObject<{
1386
- id: z.ZodCUID2;
951
+ id: z.ZodString;
1387
952
  name: z.ZodString;
1388
- organizationId: z.ZodCUID2;
953
+ organizationId: z.ZodString;
954
+ expertDraftScopeId: z.ZodString;
1389
955
  published: z.ZodBoolean;
1390
956
  publishedAt: z.ZodOptional<z.ZodString>;
1391
957
  category: z.ZodEnum<{
@@ -1401,12 +967,12 @@ declare const response$22: z.ZodObject<{
1401
967
  totalStars: z.ZodNumber;
1402
968
  createdAt: z.ZodString;
1403
969
  updatedAt: z.ZodString;
1404
- createdBy: z.ZodCUID2;
1405
- updatedBy: z.ZodCUID2;
970
+ createdBy: z.ZodString;
971
+ updatedBy: z.ZodString;
1406
972
  }, z.core.$strip>;
1407
973
  version: z.ZodObject<{
1408
- id: z.ZodCUID2;
1409
- expertScopeId: z.ZodCUID2;
974
+ id: z.ZodString;
975
+ expertScopeId: z.ZodString;
1410
976
  version: z.ZodString;
1411
977
  public: z.ZodBoolean;
1412
978
  yanked: z.ZodBoolean;
@@ -1414,19 +980,16 @@ declare const response$22: z.ZodObject<{
1414
980
  totalJobs: z.ZodNumber;
1415
981
  createdAt: z.ZodString;
1416
982
  updatedAt: z.ZodString;
1417
- createdBy: z.ZodCUID2;
1418
- updatedBy: z.ZodCUID2;
983
+ createdBy: z.ZodString;
984
+ updatedBy: z.ZodString;
1419
985
  tags: z.ZodArray<z.ZodString>;
1420
986
  }, z.core.$strip>;
1421
- definitionUrl: z.ZodString;
987
+ yanked: z.ZodLiteral<true>;
988
+ latestTagUpdated: z.ZodBoolean;
1422
989
  }, z.core.$strip>;
1423
990
  }, z.core.$strip>;
1424
991
  type RequestParams$12 = z.infer<typeof request$19.params>;
1425
- type RequestBody$7 = z.infer<typeof request$19.body>;
1426
992
  type Response$23 = z.infer<typeof response$22>;
1427
- declare namespace index_d_exports$5 {
1428
- export { create_d_exports$2 as Create, definition_d_exports as Definition, delete_d_exports as Delete, get_d_exports$3 as Get, getAll_d_exports$3 as GetAll, update_d_exports$1 as Update, version_d_exports as Version };
1429
- }
1430
993
  declare namespace featured_d_exports {
1431
994
  export { Response$22 as Response, request$18 as request, response$21 as response };
1432
995
  }
@@ -1435,9 +998,10 @@ declare const response$21: z.ZodObject<{
1435
998
  data: z.ZodObject<{
1436
999
  featuredExperts: z.ZodArray<z.ZodObject<{
1437
1000
  scope: z.ZodObject<{
1438
- id: z.ZodCUID2;
1001
+ id: z.ZodString;
1439
1002
  name: z.ZodString;
1440
- organizationId: z.ZodCUID2;
1003
+ organizationId: z.ZodString;
1004
+ expertDraftScopeId: z.ZodString;
1441
1005
  published: z.ZodBoolean;
1442
1006
  publishedAt: z.ZodOptional<z.ZodString>;
1443
1007
  category: z.ZodEnum<{
@@ -1453,12 +1017,12 @@ declare const response$21: z.ZodObject<{
1453
1017
  totalStars: z.ZodNumber;
1454
1018
  createdAt: z.ZodString;
1455
1019
  updatedAt: z.ZodString;
1456
- createdBy: z.ZodCUID2;
1457
- updatedBy: z.ZodCUID2;
1020
+ createdBy: z.ZodString;
1021
+ updatedBy: z.ZodString;
1458
1022
  }, z.core.$strip>;
1459
1023
  currentVersion: z.ZodObject<{
1460
- id: z.ZodCUID2;
1461
- expertScopeId: z.ZodCUID2;
1024
+ id: z.ZodString;
1025
+ expertScopeId: z.ZodString;
1462
1026
  version: z.ZodString;
1463
1027
  public: z.ZodBoolean;
1464
1028
  yanked: z.ZodBoolean;
@@ -1466,8 +1030,8 @@ declare const response$21: z.ZodObject<{
1466
1030
  totalJobs: z.ZodNumber;
1467
1031
  createdAt: z.ZodString;
1468
1032
  updatedAt: z.ZodString;
1469
- createdBy: z.ZodCUID2;
1470
- updatedBy: z.ZodCUID2;
1033
+ createdBy: z.ZodString;
1034
+ updatedBy: z.ZodString;
1471
1035
  tags: z.ZodArray<z.ZodString>;
1472
1036
  }, z.core.$strip>;
1473
1037
  displayOrder: z.ZodNumber;
@@ -1489,11 +1053,11 @@ declare const response$20: z.ZodObject<{
1489
1053
  definition: z.ZodObject<{
1490
1054
  name: z.ZodString;
1491
1055
  version: z.ZodString;
1492
- organizationId: z.ZodCUID2;
1056
+ organizationId: z.ZodString;
1493
1057
  createdAt: z.ZodString;
1494
1058
  updatedAt: z.ZodString;
1495
- createdBy: z.ZodCUID2;
1496
- updatedBy: z.ZodCUID2;
1059
+ createdBy: z.ZodString;
1060
+ updatedBy: z.ZodString;
1497
1061
  experts: z.ZodRecord<z.ZodString, z.ZodObject<{
1498
1062
  name: z.ZodString;
1499
1063
  version: z.ZodString;
@@ -1561,9 +1125,10 @@ declare const request$16: {
1561
1125
  declare const response$19: z.ZodObject<{
1562
1126
  data: z.ZodObject<{
1563
1127
  experts: z.ZodArray<z.ZodObject<{
1564
- id: z.ZodCUID2;
1128
+ id: z.ZodString;
1565
1129
  name: z.ZodString;
1566
- organizationId: z.ZodCUID2;
1130
+ organizationId: z.ZodString;
1131
+ expertDraftScopeId: z.ZodString;
1567
1132
  published: z.ZodBoolean;
1568
1133
  publishedAt: z.ZodOptional<z.ZodString>;
1569
1134
  category: z.ZodEnum<{
@@ -1579,11 +1144,11 @@ declare const response$19: z.ZodObject<{
1579
1144
  totalStars: z.ZodNumber;
1580
1145
  createdAt: z.ZodString;
1581
1146
  updatedAt: z.ZodString;
1582
- createdBy: z.ZodCUID2;
1583
- updatedBy: z.ZodCUID2;
1584
- currentVersion: z.ZodObject<{
1585
- id: z.ZodCUID2;
1586
- expertScopeId: z.ZodCUID2;
1147
+ createdBy: z.ZodString;
1148
+ updatedBy: z.ZodString;
1149
+ currentVersion: z.ZodNullable<z.ZodObject<{
1150
+ id: z.ZodString;
1151
+ expertScopeId: z.ZodString;
1587
1152
  version: z.ZodString;
1588
1153
  public: z.ZodBoolean;
1589
1154
  yanked: z.ZodBoolean;
@@ -1591,10 +1156,10 @@ declare const response$19: z.ZodObject<{
1591
1156
  totalJobs: z.ZodNumber;
1592
1157
  createdAt: z.ZodString;
1593
1158
  updatedAt: z.ZodString;
1594
- createdBy: z.ZodCUID2;
1595
- updatedBy: z.ZodCUID2;
1159
+ createdBy: z.ZodString;
1160
+ updatedBy: z.ZodString;
1596
1161
  tags: z.ZodArray<z.ZodString>;
1597
- }, z.core.$strip>;
1162
+ }, z.core.$strip>>;
1598
1163
  }, z.core.$strip>>;
1599
1164
  }, z.core.$strip>;
1600
1165
  meta: z.ZodObject<{
@@ -1622,9 +1187,10 @@ declare const request$15: {
1622
1187
  declare const response$18: z.ZodObject<{
1623
1188
  data: z.ZodObject<{
1624
1189
  scope: z.ZodObject<{
1625
- id: z.ZodCUID2;
1190
+ id: z.ZodString;
1626
1191
  name: z.ZodString;
1627
- organizationId: z.ZodCUID2;
1192
+ organizationId: z.ZodString;
1193
+ expertDraftScopeId: z.ZodString;
1628
1194
  published: z.ZodBoolean;
1629
1195
  publishedAt: z.ZodOptional<z.ZodString>;
1630
1196
  category: z.ZodEnum<{
@@ -1640,12 +1206,12 @@ declare const response$18: z.ZodObject<{
1640
1206
  totalStars: z.ZodNumber;
1641
1207
  createdAt: z.ZodString;
1642
1208
  updatedAt: z.ZodString;
1643
- createdBy: z.ZodCUID2;
1644
- updatedBy: z.ZodCUID2;
1209
+ createdBy: z.ZodString;
1210
+ updatedBy: z.ZodString;
1645
1211
  }, z.core.$strip>;
1646
1212
  version: z.ZodObject<{
1647
- id: z.ZodCUID2;
1648
- expertScopeId: z.ZodCUID2;
1213
+ id: z.ZodString;
1214
+ expertScopeId: z.ZodString;
1649
1215
  version: z.ZodString;
1650
1216
  public: z.ZodBoolean;
1651
1217
  yanked: z.ZodBoolean;
@@ -1653,8 +1219,8 @@ declare const response$18: z.ZodObject<{
1653
1219
  totalJobs: z.ZodNumber;
1654
1220
  createdAt: z.ZodString;
1655
1221
  updatedAt: z.ZodString;
1656
- createdBy: z.ZodCUID2;
1657
- updatedBy: z.ZodCUID2;
1222
+ createdBy: z.ZodString;
1223
+ updatedBy: z.ZodString;
1658
1224
  tags: z.ZodArray<z.ZodString>;
1659
1225
  }, z.core.$strip>;
1660
1226
  definitionUrl: z.ZodString;
@@ -1673,9 +1239,10 @@ declare const request$14: {
1673
1239
  declare const response$17: z.ZodObject<{
1674
1240
  data: z.ZodObject<{
1675
1241
  scope: z.ZodObject<{
1676
- id: z.ZodCUID2;
1242
+ id: z.ZodString;
1677
1243
  name: z.ZodString;
1678
- organizationId: z.ZodCUID2;
1244
+ organizationId: z.ZodString;
1245
+ expertDraftScopeId: z.ZodString;
1679
1246
  published: z.ZodBoolean;
1680
1247
  publishedAt: z.ZodOptional<z.ZodString>;
1681
1248
  category: z.ZodEnum<{
@@ -1691,8 +1258,8 @@ declare const response$17: z.ZodObject<{
1691
1258
  totalStars: z.ZodNumber;
1692
1259
  createdAt: z.ZodString;
1693
1260
  updatedAt: z.ZodString;
1694
- createdBy: z.ZodCUID2;
1695
- updatedBy: z.ZodCUID2;
1261
+ createdBy: z.ZodString;
1262
+ updatedBy: z.ZodString;
1696
1263
  }, z.core.$strip>;
1697
1264
  }, z.core.$strip>;
1698
1265
  }, z.core.$strip>;
@@ -1709,9 +1276,10 @@ declare const request$13: {
1709
1276
  declare const response$16: z.ZodObject<{
1710
1277
  data: z.ZodObject<{
1711
1278
  scope: z.ZodObject<{
1712
- id: z.ZodCUID2;
1279
+ id: z.ZodString;
1713
1280
  name: z.ZodString;
1714
- organizationId: z.ZodCUID2;
1281
+ organizationId: z.ZodString;
1282
+ expertDraftScopeId: z.ZodString;
1715
1283
  published: z.ZodBoolean;
1716
1284
  publishedAt: z.ZodOptional<z.ZodString>;
1717
1285
  category: z.ZodEnum<{
@@ -1727,8 +1295,8 @@ declare const response$16: z.ZodObject<{
1727
1295
  totalStars: z.ZodNumber;
1728
1296
  createdAt: z.ZodString;
1729
1297
  updatedAt: z.ZodString;
1730
- createdBy: z.ZodCUID2;
1731
- updatedBy: z.ZodCUID2;
1298
+ createdBy: z.ZodString;
1299
+ updatedBy: z.ZodString;
1732
1300
  }, z.core.$strip>;
1733
1301
  }, z.core.$strip>;
1734
1302
  }, z.core.$strip>;
@@ -1745,8 +1313,8 @@ declare const request$12: {
1745
1313
  declare const response$15: z.ZodObject<{
1746
1314
  data: z.ZodObject<{
1747
1315
  versions: z.ZodArray<z.ZodObject<{
1748
- id: z.ZodCUID2;
1749
- expertScopeId: z.ZodCUID2;
1316
+ id: z.ZodString;
1317
+ expertScopeId: z.ZodString;
1750
1318
  version: z.ZodString;
1751
1319
  public: z.ZodBoolean;
1752
1320
  yanked: z.ZodBoolean;
@@ -1754,8 +1322,8 @@ declare const response$15: z.ZodObject<{
1754
1322
  totalJobs: z.ZodNumber;
1755
1323
  createdAt: z.ZodString;
1756
1324
  updatedAt: z.ZodString;
1757
- createdBy: z.ZodCUID2;
1758
- updatedBy: z.ZodCUID2;
1325
+ createdBy: z.ZodString;
1326
+ updatedBy: z.ZodString;
1759
1327
  tags: z.ZodArray<z.ZodString>;
1760
1328
  }, z.core.$strip>>;
1761
1329
  }, z.core.$strip>;
@@ -1763,7 +1331,7 @@ declare const response$15: z.ZodObject<{
1763
1331
  type RequestParams$7 = z.infer<typeof request$12.params>;
1764
1332
  type Response$16 = z.infer<typeof response$15>;
1765
1333
  declare namespace index_d_exports$2 {
1766
- export { definition_d_exports$1 as Definition, delete_d_exports$1 as Delete, index_d_exports$5 as Drafts, featured_d_exports as Featured, get_d_exports$2 as Get, getAll_d_exports$2 as GetAll, meta_d_exports as Meta, publish_d_exports as Publish, unpublish_d_exports as Unpublish, versions_d_exports as Versions };
1334
+ export { definition_d_exports as Definition, delete_d_exports as Delete, featured_d_exports as Featured, get_d_exports$2 as Get, getAll_d_exports$2 as GetAll, meta_d_exports as Meta, publish_d_exports as Publish, unpublish_d_exports as Unpublish, versions_d_exports as Versions };
1767
1335
  }
1768
1336
  declare namespace create_d_exports$1 {
1769
1337
  export { RequestBody$6 as RequestBody, RequestCheckpoint, RequestParams$6 as RequestParams, Response$15 as Response, request$11 as request, requestCheckpointSchema, response$14 as response };
@@ -2014,7 +1582,7 @@ declare const requestCheckpointSchema: z.ZodObject<{
2014
1582
  type RequestCheckpoint = z.infer<typeof requestCheckpointSchema>;
2015
1583
  declare const request$11: {
2016
1584
  params: z.ZodObject<{
2017
- jobId: z.ZodCUID2;
1585
+ jobId: z.ZodString;
2018
1586
  }, z.core.$strip>;
2019
1587
  body: z.ZodObject<{
2020
1588
  checkpoint: z.ZodObject<{
@@ -2599,9 +2167,9 @@ declare const response$14: z.ZodObject<{
2599
2167
  data: z.ZodObject<{
2600
2168
  checkpoint: z.ZodObject<{
2601
2169
  type: z.ZodLiteral<"checkpoint">;
2602
- id: z.ZodCUID2;
2603
- jobId: z.ZodCUID2;
2604
- runId: z.ZodCUID2;
2170
+ id: z.ZodString;
2171
+ jobId: z.ZodString;
2172
+ runId: z.ZodString;
2605
2173
  activities: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
2606
2174
  id: z.ZodString;
2607
2175
  expertKey: z.ZodString;
@@ -3614,8 +3182,8 @@ declare const response$14: z.ZodObject<{
3614
3182
  }, z.core.$strip>;
3615
3183
  toolCallId: z.ZodString;
3616
3184
  toolName: z.ZodString;
3617
- checkpointId: z.ZodCUID2;
3618
- runId: z.ZodCUID2;
3185
+ checkpointId: z.ZodString;
3186
+ runId: z.ZodString;
3619
3187
  }, z.core.$strip>>;
3620
3188
  inputMessages: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3621
3189
  id: z.ZodString;
@@ -4067,17 +3635,17 @@ declare namespace get_d_exports$1 {
4067
3635
  }
4068
3636
  declare const request$10: {
4069
3637
  params: z.ZodObject<{
4070
- jobId: z.ZodCUID2;
4071
- checkpointId: z.ZodCUID2;
3638
+ jobId: z.ZodString;
3639
+ checkpointId: z.ZodString;
4072
3640
  }, z.core.$strip>;
4073
3641
  };
4074
3642
  declare const response$13: z.ZodObject<{
4075
3643
  data: z.ZodObject<{
4076
3644
  checkpoint: z.ZodObject<{
4077
3645
  type: z.ZodLiteral<"checkpoint">;
4078
- id: z.ZodCUID2;
4079
- jobId: z.ZodCUID2;
4080
- runId: z.ZodCUID2;
3646
+ id: z.ZodString;
3647
+ jobId: z.ZodString;
3648
+ runId: z.ZodString;
4081
3649
  activities: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
4082
3650
  id: z.ZodString;
4083
3651
  expertKey: z.ZodString;
@@ -5090,8 +4658,8 @@ declare const response$13: z.ZodObject<{
5090
4658
  }, z.core.$strip>;
5091
4659
  toolCallId: z.ZodString;
5092
4660
  toolName: z.ZodString;
5093
- checkpointId: z.ZodCUID2;
5094
- runId: z.ZodCUID2;
4661
+ checkpointId: z.ZodString;
4662
+ runId: z.ZodString;
5095
4663
  }, z.core.$strip>>;
5096
4664
  inputMessages: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5097
4665
  id: z.ZodString;
@@ -5542,7 +5110,7 @@ declare namespace getAll_d_exports$1 {
5542
5110
  }
5543
5111
  declare const request$9: {
5544
5112
  params: z.ZodObject<{
5545
- jobId: z.ZodCUID2;
5113
+ jobId: z.ZodString;
5546
5114
  }, z.core.$strip>;
5547
5115
  query: z.ZodObject<{
5548
5116
  filter: z.ZodOptional<z.ZodString>;
@@ -5562,9 +5130,9 @@ declare const response$12: z.ZodObject<{
5562
5130
  data: z.ZodObject<{
5563
5131
  checkpoints: z.ZodArray<z.ZodObject<{
5564
5132
  type: z.ZodLiteral<"checkpoint">;
5565
- id: z.ZodCUID2;
5566
- jobId: z.ZodCUID2;
5567
- runId: z.ZodCUID2;
5133
+ id: z.ZodString;
5134
+ jobId: z.ZodString;
5135
+ runId: z.ZodString;
5568
5136
  activities: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
5569
5137
  id: z.ZodString;
5570
5138
  expertKey: z.ZodString;
@@ -6577,8 +6145,8 @@ declare const response$12: z.ZodObject<{
6577
6145
  }, z.core.$strip>;
6578
6146
  toolCallId: z.ZodString;
6579
6147
  toolName: z.ZodString;
6580
- checkpointId: z.ZodCUID2;
6581
- runId: z.ZodCUID2;
6148
+ checkpointId: z.ZodString;
6149
+ runId: z.ZodString;
6582
6150
  }, z.core.$strip>>;
6583
6151
  inputMessages: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
6584
6152
  id: z.ZodString;
@@ -7035,15 +6603,15 @@ declare namespace stream_d_exports {
7035
6603
  }
7036
6604
  declare const request$8: {
7037
6605
  params: z.ZodObject<{
7038
- jobId: z.ZodCUID2;
6606
+ jobId: z.ZodString;
7039
6607
  }, z.core.$strip>;
7040
6608
  };
7041
6609
  declare const response$11: z.ZodObject<{
7042
6610
  data: z.ZodObject<{
7043
6611
  type: z.ZodLiteral<"checkpoint">;
7044
- id: z.ZodCUID2;
7045
- jobId: z.ZodCUID2;
7046
- runId: z.ZodCUID2;
6612
+ id: z.ZodString;
6613
+ jobId: z.ZodString;
6614
+ runId: z.ZodString;
7047
6615
  activities: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
7048
6616
  id: z.ZodString;
7049
6617
  expertKey: z.ZodString;
@@ -8056,8 +7624,8 @@ declare const response$11: z.ZodObject<{
8056
7624
  }, z.core.$strip>;
8057
7625
  toolCallId: z.ZodString;
8058
7626
  toolName: z.ZodString;
8059
- checkpointId: z.ZodCUID2;
8060
- runId: z.ZodCUID2;
7627
+ checkpointId: z.ZodString;
7628
+ runId: z.ZodString;
8061
7629
  }, z.core.$strip>>;
8062
7630
  inputMessages: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
8063
7631
  id: z.ZodString;
@@ -8510,7 +8078,7 @@ declare namespace continue_d_exports {
8510
8078
  }
8511
8079
  declare const request$7: {
8512
8080
  params: z.ZodObject<{
8513
- jobId: z.ZodCUID2;
8081
+ jobId: z.ZodString;
8514
8082
  }, z.core.$strip>;
8515
8083
  body: z.ZodObject<{
8516
8084
  query: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -8520,7 +8088,6 @@ declare const request$7: {
8520
8088
  anthropic: "anthropic";
8521
8089
  google: "google";
8522
8090
  openai: "openai";
8523
- ollama: "ollama";
8524
8091
  deepseek: "deepseek";
8525
8092
  "azure-openai": "azure-openai";
8526
8093
  "amazon-bedrock": "amazon-bedrock";
@@ -8544,9 +8111,9 @@ declare const response$10: z.ZodObject<{
8544
8111
  data: z.ZodObject<{
8545
8112
  job: z.ZodObject<{
8546
8113
  type: z.ZodLiteral<"job">;
8547
- id: z.ZodCUID2;
8548
- organizationId: z.ZodCUID2;
8549
- applicationId: z.ZodCUID2;
8114
+ id: z.ZodString;
8115
+ organizationId: z.ZodString;
8116
+ applicationId: z.ZodString;
8550
8117
  createdAt: z.ZodString;
8551
8118
  updatedAt: z.ZodString;
8552
8119
  status: z.ZodEnum<{
@@ -8603,9 +8170,10 @@ declare const response$10: z.ZodObject<{
8603
8170
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
8604
8171
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
8605
8172
  scope: z.ZodObject<{
8606
- id: z.ZodCUID2;
8173
+ id: z.ZodString;
8607
8174
  name: z.ZodString;
8608
- organizationId: z.ZodCUID2;
8175
+ organizationId: z.ZodString;
8176
+ expertDraftScopeId: z.ZodString;
8609
8177
  published: z.ZodBoolean;
8610
8178
  publishedAt: z.ZodOptional<z.ZodString>;
8611
8179
  category: z.ZodEnum<{
@@ -8621,12 +8189,12 @@ declare const response$10: z.ZodObject<{
8621
8189
  totalStars: z.ZodNumber;
8622
8190
  createdAt: z.ZodString;
8623
8191
  updatedAt: z.ZodString;
8624
- createdBy: z.ZodCUID2;
8625
- updatedBy: z.ZodCUID2;
8192
+ createdBy: z.ZodString;
8193
+ updatedBy: z.ZodString;
8626
8194
  }, z.core.$strip>;
8627
8195
  version: z.ZodObject<{
8628
- id: z.ZodCUID2;
8629
- expertScopeId: z.ZodCUID2;
8196
+ id: z.ZodString;
8197
+ expertScopeId: z.ZodString;
8630
8198
  version: z.ZodString;
8631
8199
  public: z.ZodBoolean;
8632
8200
  yanked: z.ZodBoolean;
@@ -8634,8 +8202,8 @@ declare const response$10: z.ZodObject<{
8634
8202
  totalJobs: z.ZodNumber;
8635
8203
  createdAt: z.ZodString;
8636
8204
  updatedAt: z.ZodString;
8637
- createdBy: z.ZodCUID2;
8638
- updatedBy: z.ZodCUID2;
8205
+ createdBy: z.ZodString;
8206
+ updatedBy: z.ZodString;
8639
8207
  tags: z.ZodArray<z.ZodString>;
8640
8208
  }, z.core.$strip>;
8641
8209
  }, z.core.$strip>;
@@ -8643,7 +8211,6 @@ declare const response$10: z.ZodObject<{
8643
8211
  anthropic: "anthropic";
8644
8212
  google: "google";
8645
8213
  openai: "openai";
8646
- ollama: "ollama";
8647
8214
  deepseek: "deepseek";
8648
8215
  "azure-openai": "azure-openai";
8649
8216
  "amazon-bedrock": "amazon-bedrock";
@@ -8682,7 +8249,7 @@ declare namespace create_d_exports {
8682
8249
  }
8683
8250
  declare const request$6: {
8684
8251
  body: z.ZodObject<{
8685
- applicationId: z.ZodCUID2;
8252
+ applicationId: z.ZodString;
8686
8253
  expertKey: z.ZodString;
8687
8254
  query: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8688
8255
  files: z.ZodOptional<z.ZodUnion<readonly [z.ZodCustom<File, File>, z.ZodArray<z.ZodCustom<File, File>>]>>;
@@ -8690,7 +8257,6 @@ declare const request$6: {
8690
8257
  anthropic: "anthropic";
8691
8258
  google: "google";
8692
8259
  openai: "openai";
8693
- ollama: "ollama";
8694
8260
  deepseek: "deepseek";
8695
8261
  "azure-openai": "azure-openai";
8696
8262
  "amazon-bedrock": "amazon-bedrock";
@@ -8714,9 +8280,9 @@ declare const response$9: z.ZodObject<{
8714
8280
  data: z.ZodObject<{
8715
8281
  job: z.ZodObject<{
8716
8282
  type: z.ZodLiteral<"job">;
8717
- id: z.ZodCUID2;
8718
- organizationId: z.ZodCUID2;
8719
- applicationId: z.ZodCUID2;
8283
+ id: z.ZodString;
8284
+ organizationId: z.ZodString;
8285
+ applicationId: z.ZodString;
8720
8286
  createdAt: z.ZodString;
8721
8287
  updatedAt: z.ZodString;
8722
8288
  status: z.ZodEnum<{
@@ -8773,9 +8339,10 @@ declare const response$9: z.ZodObject<{
8773
8339
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
8774
8340
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
8775
8341
  scope: z.ZodObject<{
8776
- id: z.ZodCUID2;
8342
+ id: z.ZodString;
8777
8343
  name: z.ZodString;
8778
- organizationId: z.ZodCUID2;
8344
+ organizationId: z.ZodString;
8345
+ expertDraftScopeId: z.ZodString;
8779
8346
  published: z.ZodBoolean;
8780
8347
  publishedAt: z.ZodOptional<z.ZodString>;
8781
8348
  category: z.ZodEnum<{
@@ -8791,12 +8358,12 @@ declare const response$9: z.ZodObject<{
8791
8358
  totalStars: z.ZodNumber;
8792
8359
  createdAt: z.ZodString;
8793
8360
  updatedAt: z.ZodString;
8794
- createdBy: z.ZodCUID2;
8795
- updatedBy: z.ZodCUID2;
8361
+ createdBy: z.ZodString;
8362
+ updatedBy: z.ZodString;
8796
8363
  }, z.core.$strip>;
8797
8364
  version: z.ZodObject<{
8798
- id: z.ZodCUID2;
8799
- expertScopeId: z.ZodCUID2;
8365
+ id: z.ZodString;
8366
+ expertScopeId: z.ZodString;
8800
8367
  version: z.ZodString;
8801
8368
  public: z.ZodBoolean;
8802
8369
  yanked: z.ZodBoolean;
@@ -8804,8 +8371,8 @@ declare const response$9: z.ZodObject<{
8804
8371
  totalJobs: z.ZodNumber;
8805
8372
  createdAt: z.ZodString;
8806
8373
  updatedAt: z.ZodString;
8807
- createdBy: z.ZodCUID2;
8808
- updatedBy: z.ZodCUID2;
8374
+ createdBy: z.ZodString;
8375
+ updatedBy: z.ZodString;
8809
8376
  tags: z.ZodArray<z.ZodString>;
8810
8377
  }, z.core.$strip>;
8811
8378
  }, z.core.$strip>;
@@ -8813,7 +8380,6 @@ declare const response$9: z.ZodObject<{
8813
8380
  anthropic: "anthropic";
8814
8381
  google: "google";
8815
8382
  openai: "openai";
8816
- ollama: "ollama";
8817
8383
  deepseek: "deepseek";
8818
8384
  "azure-openai": "azure-openai";
8819
8385
  "amazon-bedrock": "amazon-bedrock";
@@ -8851,16 +8417,16 @@ declare namespace get_d_exports {
8851
8417
  }
8852
8418
  declare const request$5: {
8853
8419
  params: z.ZodObject<{
8854
- jobId: z.ZodCUID2;
8420
+ jobId: z.ZodString;
8855
8421
  }, z.core.$strip>;
8856
8422
  };
8857
8423
  declare const response$8: z.ZodObject<{
8858
8424
  data: z.ZodObject<{
8859
8425
  job: z.ZodObject<{
8860
8426
  type: z.ZodLiteral<"job">;
8861
- id: z.ZodCUID2;
8862
- organizationId: z.ZodCUID2;
8863
- applicationId: z.ZodCUID2;
8427
+ id: z.ZodString;
8428
+ organizationId: z.ZodString;
8429
+ applicationId: z.ZodString;
8864
8430
  createdAt: z.ZodString;
8865
8431
  updatedAt: z.ZodString;
8866
8432
  status: z.ZodEnum<{
@@ -8917,9 +8483,10 @@ declare const response$8: z.ZodObject<{
8917
8483
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
8918
8484
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
8919
8485
  scope: z.ZodObject<{
8920
- id: z.ZodCUID2;
8486
+ id: z.ZodString;
8921
8487
  name: z.ZodString;
8922
- organizationId: z.ZodCUID2;
8488
+ organizationId: z.ZodString;
8489
+ expertDraftScopeId: z.ZodString;
8923
8490
  published: z.ZodBoolean;
8924
8491
  publishedAt: z.ZodOptional<z.ZodString>;
8925
8492
  category: z.ZodEnum<{
@@ -8935,12 +8502,12 @@ declare const response$8: z.ZodObject<{
8935
8502
  totalStars: z.ZodNumber;
8936
8503
  createdAt: z.ZodString;
8937
8504
  updatedAt: z.ZodString;
8938
- createdBy: z.ZodCUID2;
8939
- updatedBy: z.ZodCUID2;
8505
+ createdBy: z.ZodString;
8506
+ updatedBy: z.ZodString;
8940
8507
  }, z.core.$strip>;
8941
8508
  version: z.ZodObject<{
8942
- id: z.ZodCUID2;
8943
- expertScopeId: z.ZodCUID2;
8509
+ id: z.ZodString;
8510
+ expertScopeId: z.ZodString;
8944
8511
  version: z.ZodString;
8945
8512
  public: z.ZodBoolean;
8946
8513
  yanked: z.ZodBoolean;
@@ -8948,8 +8515,8 @@ declare const response$8: z.ZodObject<{
8948
8515
  totalJobs: z.ZodNumber;
8949
8516
  createdAt: z.ZodString;
8950
8517
  updatedAt: z.ZodString;
8951
- createdBy: z.ZodCUID2;
8952
- updatedBy: z.ZodCUID2;
8518
+ createdBy: z.ZodString;
8519
+ updatedBy: z.ZodString;
8953
8520
  tags: z.ZodArray<z.ZodString>;
8954
8521
  }, z.core.$strip>;
8955
8522
  }, z.core.$strip>;
@@ -8957,7 +8524,6 @@ declare const response$8: z.ZodObject<{
8957
8524
  anthropic: "anthropic";
8958
8525
  google: "google";
8959
8526
  openai: "openai";
8960
- ollama: "ollama";
8961
8527
  deepseek: "deepseek";
8962
8528
  "azure-openai": "azure-openai";
8963
8529
  "amazon-bedrock": "amazon-bedrock";
@@ -9011,9 +8577,9 @@ declare const response$7: z.ZodObject<{
9011
8577
  data: z.ZodObject<{
9012
8578
  jobs: z.ZodArray<z.ZodObject<{
9013
8579
  type: z.ZodLiteral<"job">;
9014
- id: z.ZodCUID2;
9015
- organizationId: z.ZodCUID2;
9016
- applicationId: z.ZodCUID2;
8580
+ id: z.ZodString;
8581
+ organizationId: z.ZodString;
8582
+ applicationId: z.ZodString;
9017
8583
  createdAt: z.ZodString;
9018
8584
  updatedAt: z.ZodString;
9019
8585
  status: z.ZodEnum<{
@@ -9070,9 +8636,10 @@ declare const response$7: z.ZodObject<{
9070
8636
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
9071
8637
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
9072
8638
  scope: z.ZodObject<{
9073
- id: z.ZodCUID2;
8639
+ id: z.ZodString;
9074
8640
  name: z.ZodString;
9075
- organizationId: z.ZodCUID2;
8641
+ organizationId: z.ZodString;
8642
+ expertDraftScopeId: z.ZodString;
9076
8643
  published: z.ZodBoolean;
9077
8644
  publishedAt: z.ZodOptional<z.ZodString>;
9078
8645
  category: z.ZodEnum<{
@@ -9088,12 +8655,12 @@ declare const response$7: z.ZodObject<{
9088
8655
  totalStars: z.ZodNumber;
9089
8656
  createdAt: z.ZodString;
9090
8657
  updatedAt: z.ZodString;
9091
- createdBy: z.ZodCUID2;
9092
- updatedBy: z.ZodCUID2;
8658
+ createdBy: z.ZodString;
8659
+ updatedBy: z.ZodString;
9093
8660
  }, z.core.$strip>;
9094
8661
  version: z.ZodObject<{
9095
- id: z.ZodCUID2;
9096
- expertScopeId: z.ZodCUID2;
8662
+ id: z.ZodString;
8663
+ expertScopeId: z.ZodString;
9097
8664
  version: z.ZodString;
9098
8665
  public: z.ZodBoolean;
9099
8666
  yanked: z.ZodBoolean;
@@ -9101,8 +8668,8 @@ declare const response$7: z.ZodObject<{
9101
8668
  totalJobs: z.ZodNumber;
9102
8669
  createdAt: z.ZodString;
9103
8670
  updatedAt: z.ZodString;
9104
- createdBy: z.ZodCUID2;
9105
- updatedBy: z.ZodCUID2;
8671
+ createdBy: z.ZodString;
8672
+ updatedBy: z.ZodString;
9106
8673
  tags: z.ZodArray<z.ZodString>;
9107
8674
  }, z.core.$strip>;
9108
8675
  }, z.core.$strip>;
@@ -9110,7 +8677,6 @@ declare const response$7: z.ZodObject<{
9110
8677
  anthropic: "anthropic";
9111
8678
  google: "google";
9112
8679
  openai: "openai";
9113
- ollama: "ollama";
9114
8680
  deepseek: "deepseek";
9115
8681
  "azure-openai": "azure-openai";
9116
8682
  "amazon-bedrock": "amazon-bedrock";
@@ -9153,7 +8719,7 @@ declare namespace update_d_exports {
9153
8719
  }
9154
8720
  declare const request$3: {
9155
8721
  params: z.ZodObject<{
9156
- jobId: z.ZodCUID2;
8722
+ jobId: z.ZodString;
9157
8723
  }, z.core.$strip>;
9158
8724
  body: z.ZodObject<{
9159
8725
  status: z.ZodEnum<{
@@ -9174,9 +8740,9 @@ declare const response$6: z.ZodObject<{
9174
8740
  data: z.ZodObject<{
9175
8741
  job: z.ZodObject<{
9176
8742
  type: z.ZodLiteral<"job">;
9177
- id: z.ZodCUID2;
9178
- organizationId: z.ZodCUID2;
9179
- applicationId: z.ZodCUID2;
8743
+ id: z.ZodString;
8744
+ organizationId: z.ZodString;
8745
+ applicationId: z.ZodString;
9180
8746
  createdAt: z.ZodString;
9181
8747
  updatedAt: z.ZodString;
9182
8748
  status: z.ZodEnum<{
@@ -9233,9 +8799,10 @@ declare const response$6: z.ZodObject<{
9233
8799
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
9234
8800
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
9235
8801
  scope: z.ZodObject<{
9236
- id: z.ZodCUID2;
8802
+ id: z.ZodString;
9237
8803
  name: z.ZodString;
9238
- organizationId: z.ZodCUID2;
8804
+ organizationId: z.ZodString;
8805
+ expertDraftScopeId: z.ZodString;
9239
8806
  published: z.ZodBoolean;
9240
8807
  publishedAt: z.ZodOptional<z.ZodString>;
9241
8808
  category: z.ZodEnum<{
@@ -9251,12 +8818,12 @@ declare const response$6: z.ZodObject<{
9251
8818
  totalStars: z.ZodNumber;
9252
8819
  createdAt: z.ZodString;
9253
8820
  updatedAt: z.ZodString;
9254
- createdBy: z.ZodCUID2;
9255
- updatedBy: z.ZodCUID2;
8821
+ createdBy: z.ZodString;
8822
+ updatedBy: z.ZodString;
9256
8823
  }, z.core.$strip>;
9257
8824
  version: z.ZodObject<{
9258
- id: z.ZodCUID2;
9259
- expertScopeId: z.ZodCUID2;
8825
+ id: z.ZodString;
8826
+ expertScopeId: z.ZodString;
9260
8827
  version: z.ZodString;
9261
8828
  public: z.ZodBoolean;
9262
8829
  yanked: z.ZodBoolean;
@@ -9264,8 +8831,8 @@ declare const response$6: z.ZodObject<{
9264
8831
  totalJobs: z.ZodNumber;
9265
8832
  createdAt: z.ZodString;
9266
8833
  updatedAt: z.ZodString;
9267
- createdBy: z.ZodCUID2;
9268
- updatedBy: z.ZodCUID2;
8834
+ createdBy: z.ZodString;
8835
+ updatedBy: z.ZodString;
9269
8836
  tags: z.ZodArray<z.ZodString>;
9270
8837
  }, z.core.$strip>;
9271
8838
  }, z.core.$strip>;
@@ -9273,7 +8840,6 @@ declare const response$6: z.ZodObject<{
9273
8840
  anthropic: "anthropic";
9274
8841
  google: "google";
9275
8842
  openai: "openai";
9276
- ollama: "ollama";
9277
8843
  deepseek: "deepseek";
9278
8844
  "azure-openai": "azure-openai";
9279
8845
  "amazon-bedrock": "amazon-bedrock";
@@ -9314,12 +8880,11 @@ declare namespace index_d_exports$3 {
9314
8880
  //#region ../models/src/api/provider-settings/api-keys/create.d.ts
9315
8881
  declare const request$2: {
9316
8882
  params: z.ZodObject<{
9317
- applicationId: z.ZodCUID2;
8883
+ applicationId: z.ZodString;
9318
8884
  provider: z.ZodEnum<{
9319
8885
  anthropic: "anthropic";
9320
8886
  google: "google";
9321
8887
  openai: "openai";
9322
- ollama: "ollama";
9323
8888
  deepseek: "deepseek";
9324
8889
  "azure-openai": "azure-openai";
9325
8890
  "amazon-bedrock": "amazon-bedrock";
@@ -9334,7 +8899,7 @@ declare const request$2: {
9334
8899
  declare const response$5: z.ZodObject<{
9335
8900
  data: z.ZodObject<{
9336
8901
  apiKey: z.ZodObject<{
9337
- id: z.ZodCUID2;
8902
+ id: z.ZodString;
9338
8903
  name: z.ZodString;
9339
8904
  createdAt: z.ZodString;
9340
8905
  updatedAt: z.ZodString;
@@ -9350,7 +8915,7 @@ type Response$6 = z.infer<typeof response$5>;
9350
8915
  declare const response$4: z.ZodObject<{
9351
8916
  data: z.ZodObject<{
9352
8917
  apiKeys: z.ZodArray<z.ZodObject<{
9353
- id: z.ZodCUID2;
8918
+ id: z.ZodString;
9354
8919
  name: z.ZodString;
9355
8920
  createdAt: z.ZodString;
9356
8921
  updatedAt: z.ZodString;
@@ -9364,14 +8929,13 @@ type Response$5 = z.infer<typeof response$4>;
9364
8929
  //#region ../models/src/api/provider-settings/create.d.ts
9365
8930
  declare const request$1: {
9366
8931
  params: z.ZodObject<{
9367
- applicationId: z.ZodCUID2;
8932
+ applicationId: z.ZodString;
9368
8933
  }, z.core.$strip>;
9369
8934
  body: z.ZodObject<{
9370
8935
  provider: z.ZodEnum<{
9371
8936
  anthropic: "anthropic";
9372
8937
  google: "google";
9373
8938
  openai: "openai";
9374
- ollama: "ollama";
9375
8939
  deepseek: "deepseek";
9376
8940
  "azure-openai": "azure-openai";
9377
8941
  "amazon-bedrock": "amazon-bedrock";
@@ -9412,12 +8976,11 @@ declare const response$3: z.ZodObject<{
9412
8976
  data: z.ZodObject<{
9413
8977
  providerSetting: z.ZodObject<{
9414
8978
  type: z.ZodLiteral<"providerSetting">;
9415
- id: z.ZodCUID2;
8979
+ id: z.ZodString;
9416
8980
  provider: z.ZodEnum<{
9417
8981
  anthropic: "anthropic";
9418
8982
  google: "google";
9419
8983
  openai: "openai";
9420
- ollama: "ollama";
9421
8984
  deepseek: "deepseek";
9422
8985
  "azure-openai": "azure-openai";
9423
8986
  "amazon-bedrock": "amazon-bedrock";
@@ -9465,12 +9028,11 @@ declare const response$2: z.ZodObject<{
9465
9028
  data: z.ZodObject<{
9466
9029
  providerSetting: z.ZodObject<{
9467
9030
  type: z.ZodLiteral<"providerSetting">;
9468
- id: z.ZodCUID2;
9031
+ id: z.ZodString;
9469
9032
  provider: z.ZodEnum<{
9470
9033
  anthropic: "anthropic";
9471
9034
  google: "google";
9472
9035
  openai: "openai";
9473
- ollama: "ollama";
9474
9036
  deepseek: "deepseek";
9475
9037
  "azure-openai": "azure-openai";
9476
9038
  "amazon-bedrock": "amazon-bedrock";
@@ -9509,7 +9071,7 @@ declare const response$2: z.ZodObject<{
9509
9071
  updatedAt: z.ZodString;
9510
9072
  }, z.core.$strip>;
9511
9073
  apiKeys: z.ZodArray<z.ZodObject<{
9512
- id: z.ZodCUID2;
9074
+ id: z.ZodString;
9513
9075
  name: z.ZodString;
9514
9076
  createdAt: z.ZodString;
9515
9077
  updatedAt: z.ZodString;
@@ -9525,12 +9087,11 @@ declare const response$1: z.ZodObject<{
9525
9087
  data: z.ZodObject<{
9526
9088
  providerSettings: z.ZodArray<z.ZodObject<{
9527
9089
  type: z.ZodLiteral<"providerSetting">;
9528
- id: z.ZodCUID2;
9090
+ id: z.ZodString;
9529
9091
  provider: z.ZodEnum<{
9530
9092
  anthropic: "anthropic";
9531
9093
  google: "google";
9532
9094
  openai: "openai";
9533
- ollama: "ollama";
9534
9095
  deepseek: "deepseek";
9535
9096
  "azure-openai": "azure-openai";
9536
9097
  "amazon-bedrock": "amazon-bedrock";
@@ -9575,12 +9136,11 @@ type Response$2 = z.infer<typeof response$1>;
9575
9136
  //#region ../models/src/api/provider-settings/update.d.ts
9576
9137
  declare const request: {
9577
9138
  params: z.ZodObject<{
9578
- applicationId: z.ZodCUID2;
9139
+ applicationId: z.ZodString;
9579
9140
  provider: z.ZodEnum<{
9580
9141
  anthropic: "anthropic";
9581
9142
  google: "google";
9582
9143
  openai: "openai";
9583
- ollama: "ollama";
9584
9144
  deepseek: "deepseek";
9585
9145
  "azure-openai": "azure-openai";
9586
9146
  "amazon-bedrock": "amazon-bedrock";
@@ -9623,12 +9183,11 @@ declare const response: z.ZodObject<{
9623
9183
  data: z.ZodObject<{
9624
9184
  providerSetting: z.ZodObject<{
9625
9185
  type: z.ZodLiteral<"providerSetting">;
9626
- id: z.ZodCUID2;
9186
+ id: z.ZodString;
9627
9187
  provider: z.ZodEnum<{
9628
9188
  anthropic: "anthropic";
9629
9189
  google: "google";
9630
9190
  openai: "openai";
9631
- ollama: "ollama";
9632
9191
  deepseek: "deepseek";
9633
9192
  "azure-openai": "azure-openai";
9634
9193
  "amazon-bedrock": "amazon-bedrock";
@@ -9687,11 +9246,11 @@ declare const applicationStatusSchema: z.ZodEnum<{
9687
9246
  type ApplicationStatus = z.infer<typeof applicationStatusSchema>;
9688
9247
  declare const applicationSchema: z.ZodObject<{
9689
9248
  type: z.ZodLiteral<"application">;
9690
- id: z.ZodCUID2;
9691
- organizationId: z.ZodCUID2;
9249
+ id: z.ZodString;
9250
+ organizationId: z.ZodString;
9692
9251
  organization: z.ZodObject<{
9693
9252
  type: z.ZodLiteral<"organization">;
9694
- id: z.ZodCUID2;
9253
+ id: z.ZodString;
9695
9254
  createdAt: z.ZodString;
9696
9255
  updatedAt: z.ZodString;
9697
9256
  name: z.ZodOptional<z.ZodString>;
@@ -9724,7 +9283,6 @@ declare const applicationSchema: z.ZodObject<{
9724
9283
  anthropic: "anthropic";
9725
9284
  google: "google";
9726
9285
  openai: "openai";
9727
- ollama: "ollama";
9728
9286
  deepseek: "deepseek";
9729
9287
  "azure-openai": "azure-openai";
9730
9288
  "amazon-bedrock": "amazon-bedrock";
@@ -9744,9 +9302,9 @@ type Application = z.infer<typeof applicationSchema>;
9744
9302
  */
9745
9303
  declare const apiCheckpointSchema: z.ZodObject<{
9746
9304
  type: z.ZodLiteral<"checkpoint">;
9747
- id: z.ZodCUID2;
9748
- jobId: z.ZodCUID2;
9749
- runId: z.ZodCUID2;
9305
+ id: z.ZodString;
9306
+ jobId: z.ZodString;
9307
+ runId: z.ZodString;
9750
9308
  activities: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
9751
9309
  id: z.ZodString;
9752
9310
  expertKey: z.ZodString;
@@ -10759,8 +10317,8 @@ declare const apiCheckpointSchema: z.ZodObject<{
10759
10317
  }, z.core.$strip>;
10760
10318
  toolCallId: z.ZodString;
10761
10319
  toolName: z.ZodString;
10762
- checkpointId: z.ZodCUID2;
10763
- runId: z.ZodCUID2;
10320
+ checkpointId: z.ZodString;
10321
+ runId: z.ZodString;
10764
10322
  }, z.core.$strip>>;
10765
10323
  inputMessages: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
10766
10324
  id: z.ZodString;
@@ -11249,9 +10807,10 @@ declare const expertSchema: z.ZodObject<{
11249
10807
  type Expert = z.infer<typeof expertSchema>;
11250
10808
  declare const expertMetadataSchema: z.ZodObject<{
11251
10809
  scope: z.ZodObject<{
11252
- id: z.ZodCUID2;
10810
+ id: z.ZodString;
11253
10811
  name: z.ZodString;
11254
- organizationId: z.ZodCUID2;
10812
+ organizationId: z.ZodString;
10813
+ expertDraftScopeId: z.ZodString;
11255
10814
  published: z.ZodBoolean;
11256
10815
  publishedAt: z.ZodOptional<z.ZodString>;
11257
10816
  category: z.ZodEnum<{
@@ -11267,12 +10826,12 @@ declare const expertMetadataSchema: z.ZodObject<{
11267
10826
  totalStars: z.ZodNumber;
11268
10827
  createdAt: z.ZodString;
11269
10828
  updatedAt: z.ZodString;
11270
- createdBy: z.ZodCUID2;
11271
- updatedBy: z.ZodCUID2;
10829
+ createdBy: z.ZodString;
10830
+ updatedBy: z.ZodString;
11272
10831
  }, z.core.$strip>;
11273
10832
  version: z.ZodObject<{
11274
- id: z.ZodCUID2;
11275
- expertScopeId: z.ZodCUID2;
10833
+ id: z.ZodString;
10834
+ expertScopeId: z.ZodString;
11276
10835
  version: z.ZodString;
11277
10836
  public: z.ZodBoolean;
11278
10837
  yanked: z.ZodBoolean;
@@ -11280,8 +10839,8 @@ declare const expertMetadataSchema: z.ZodObject<{
11280
10839
  totalJobs: z.ZodNumber;
11281
10840
  createdAt: z.ZodString;
11282
10841
  updatedAt: z.ZodString;
11283
- createdBy: z.ZodCUID2;
11284
- updatedBy: z.ZodCUID2;
10842
+ createdBy: z.ZodString;
10843
+ updatedBy: z.ZodString;
11285
10844
  tags: z.ZodArray<z.ZodString>;
11286
10845
  }, z.core.$strip>;
11287
10846
  }, z.core.$strip>;
@@ -11326,9 +10885,10 @@ declare const expertWithMetadataSchema: z.ZodObject<{
11326
10885
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
11327
10886
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
11328
10887
  scope: z.ZodObject<{
11329
- id: z.ZodCUID2;
10888
+ id: z.ZodString;
11330
10889
  name: z.ZodString;
11331
- organizationId: z.ZodCUID2;
10890
+ organizationId: z.ZodString;
10891
+ expertDraftScopeId: z.ZodString;
11332
10892
  published: z.ZodBoolean;
11333
10893
  publishedAt: z.ZodOptional<z.ZodString>;
11334
10894
  category: z.ZodEnum<{
@@ -11344,12 +10904,12 @@ declare const expertWithMetadataSchema: z.ZodObject<{
11344
10904
  totalStars: z.ZodNumber;
11345
10905
  createdAt: z.ZodString;
11346
10906
  updatedAt: z.ZodString;
11347
- createdBy: z.ZodCUID2;
11348
- updatedBy: z.ZodCUID2;
10907
+ createdBy: z.ZodString;
10908
+ updatedBy: z.ZodString;
11349
10909
  }, z.core.$strip>;
11350
10910
  version: z.ZodObject<{
11351
- id: z.ZodCUID2;
11352
- expertScopeId: z.ZodCUID2;
10911
+ id: z.ZodString;
10912
+ expertScopeId: z.ZodString;
11353
10913
  version: z.ZodString;
11354
10914
  public: z.ZodBoolean;
11355
10915
  yanked: z.ZodBoolean;
@@ -11357,8 +10917,8 @@ declare const expertWithMetadataSchema: z.ZodObject<{
11357
10917
  totalJobs: z.ZodNumber;
11358
10918
  createdAt: z.ZodString;
11359
10919
  updatedAt: z.ZodString;
11360
- createdBy: z.ZodCUID2;
11361
- updatedBy: z.ZodCUID2;
10920
+ createdBy: z.ZodString;
10921
+ updatedBy: z.ZodString;
11362
10922
  tags: z.ZodArray<z.ZodString>;
11363
10923
  }, z.core.$strip>;
11364
10924
  }, z.core.$strip>;
@@ -11367,37 +10927,38 @@ type ExpertWithMetadata = z.infer<typeof expertWithMetadataSchema>;
11367
10927
  //#endregion
11368
10928
  //#region ../models/src/domain/expertDraftScope.d.ts
11369
10929
  declare const expertDraftScopeSchema: z.ZodObject<{
11370
- id: z.ZodCUID2;
10930
+ id: z.ZodString;
11371
10931
  name: z.ZodString;
11372
- organizationId: z.ZodCUID2;
11373
- applicationId: z.ZodCUID2;
10932
+ organizationId: z.ZodString;
10933
+ applicationId: z.ZodString;
11374
10934
  totalRuns: z.ZodNumber;
11375
10935
  totalJobs: z.ZodNumber;
11376
10936
  createdAt: z.ZodString;
11377
10937
  updatedAt: z.ZodString;
11378
- createdBy: z.ZodCUID2;
11379
- updatedBy: z.ZodCUID2;
10938
+ createdBy: z.ZodString;
10939
+ updatedBy: z.ZodString;
11380
10940
  }, z.core.$strip>;
11381
10941
  /** Mutable workspace for developing experts. Per-application until versioned. */
11382
10942
  type ExpertDraftScope = z.infer<typeof expertDraftScopeSchema>;
11383
10943
  declare const expertDraftRefSchema: z.ZodObject<{
11384
- id: z.ZodCUID2;
11385
- expertDraftScopeId: z.ZodCUID2;
10944
+ id: z.ZodString;
10945
+ expertDraftScopeId: z.ZodString;
11386
10946
  totalRuns: z.ZodNumber;
11387
10947
  totalJobs: z.ZodNumber;
11388
10948
  createdAt: z.ZodString;
11389
10949
  updatedAt: z.ZodString;
11390
- createdBy: z.ZodCUID2;
11391
- updatedBy: z.ZodCUID2;
10950
+ createdBy: z.ZodString;
10951
+ updatedBy: z.ZodString;
11392
10952
  }, z.core.$strip>;
11393
10953
  /** Snapshot of a draft scope. Each update creates a new ref. */
11394
10954
  type ExpertDraftRef = z.infer<typeof expertDraftRefSchema>;
11395
10955
  //#endregion
11396
10956
  //#region ../models/src/domain/expertScope.d.ts
11397
10957
  declare const expertScopeSchema: z.ZodObject<{
11398
- id: z.ZodCUID2;
10958
+ id: z.ZodString;
11399
10959
  name: z.ZodString;
11400
- organizationId: z.ZodCUID2;
10960
+ organizationId: z.ZodString;
10961
+ expertDraftScopeId: z.ZodString;
11401
10962
  published: z.ZodBoolean;
11402
10963
  publishedAt: z.ZodOptional<z.ZodString>;
11403
10964
  category: z.ZodEnum<{
@@ -11413,14 +10974,14 @@ declare const expertScopeSchema: z.ZodObject<{
11413
10974
  totalStars: z.ZodNumber;
11414
10975
  createdAt: z.ZodString;
11415
10976
  updatedAt: z.ZodString;
11416
- createdBy: z.ZodCUID2;
11417
- updatedBy: z.ZodCUID2;
10977
+ createdBy: z.ZodString;
10978
+ updatedBy: z.ZodString;
11418
10979
  }, z.core.$strip>;
11419
10980
  /** Namespace for versioned experts. Globally unique name owned by an organization. */
11420
10981
  type ExpertScope = z.infer<typeof expertScopeSchema>;
11421
10982
  declare const expertVersionSchema: z.ZodObject<{
11422
- id: z.ZodCUID2;
11423
- expertScopeId: z.ZodCUID2;
10983
+ id: z.ZodString;
10984
+ expertScopeId: z.ZodString;
11424
10985
  version: z.ZodString;
11425
10986
  public: z.ZodBoolean;
11426
10987
  yanked: z.ZodBoolean;
@@ -11428,8 +10989,8 @@ declare const expertVersionSchema: z.ZodObject<{
11428
10989
  totalJobs: z.ZodNumber;
11429
10990
  createdAt: z.ZodString;
11430
10991
  updatedAt: z.ZodString;
11431
- createdBy: z.ZodCUID2;
11432
- updatedBy: z.ZodCUID2;
10992
+ createdBy: z.ZodString;
10993
+ updatedBy: z.ZodString;
11433
10994
  tags: z.ZodArray<z.ZodString>;
11434
10995
  }, z.core.$strip>;
11435
10996
  /** Immutable version record in DB. Content stored in R2. See `expert.ts` for version string schema. */
@@ -11459,9 +11020,9 @@ declare const jobStatusSchema: z.ZodEnum<{
11459
11020
  type JobStatus = z.infer<typeof jobStatusSchema>;
11460
11021
  declare const jobSchema: z.ZodObject<{
11461
11022
  type: z.ZodLiteral<"job">;
11462
- id: z.ZodCUID2;
11463
- organizationId: z.ZodCUID2;
11464
- applicationId: z.ZodCUID2;
11023
+ id: z.ZodString;
11024
+ organizationId: z.ZodString;
11025
+ applicationId: z.ZodString;
11465
11026
  createdAt: z.ZodString;
11466
11027
  updatedAt: z.ZodString;
11467
11028
  status: z.ZodEnum<{
@@ -11518,9 +11079,10 @@ declare const jobSchema: z.ZodObject<{
11518
11079
  delegates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
11519
11080
  tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
11520
11081
  scope: z.ZodObject<{
11521
- id: z.ZodCUID2;
11082
+ id: z.ZodString;
11522
11083
  name: z.ZodString;
11523
- organizationId: z.ZodCUID2;
11084
+ organizationId: z.ZodString;
11085
+ expertDraftScopeId: z.ZodString;
11524
11086
  published: z.ZodBoolean;
11525
11087
  publishedAt: z.ZodOptional<z.ZodString>;
11526
11088
  category: z.ZodEnum<{
@@ -11536,12 +11098,12 @@ declare const jobSchema: z.ZodObject<{
11536
11098
  totalStars: z.ZodNumber;
11537
11099
  createdAt: z.ZodString;
11538
11100
  updatedAt: z.ZodString;
11539
- createdBy: z.ZodCUID2;
11540
- updatedBy: z.ZodCUID2;
11101
+ createdBy: z.ZodString;
11102
+ updatedBy: z.ZodString;
11541
11103
  }, z.core.$strip>;
11542
11104
  version: z.ZodObject<{
11543
- id: z.ZodCUID2;
11544
- expertScopeId: z.ZodCUID2;
11105
+ id: z.ZodString;
11106
+ expertScopeId: z.ZodString;
11545
11107
  version: z.ZodString;
11546
11108
  public: z.ZodBoolean;
11547
11109
  yanked: z.ZodBoolean;
@@ -11549,8 +11111,8 @@ declare const jobSchema: z.ZodObject<{
11549
11111
  totalJobs: z.ZodNumber;
11550
11112
  createdAt: z.ZodString;
11551
11113
  updatedAt: z.ZodString;
11552
- createdBy: z.ZodCUID2;
11553
- updatedBy: z.ZodCUID2;
11114
+ createdBy: z.ZodString;
11115
+ updatedBy: z.ZodString;
11554
11116
  tags: z.ZodArray<z.ZodString>;
11555
11117
  }, z.core.$strip>;
11556
11118
  }, z.core.$strip>;
@@ -11558,7 +11120,6 @@ declare const jobSchema: z.ZodObject<{
11558
11120
  anthropic: "anthropic";
11559
11121
  google: "google";
11560
11122
  openai: "openai";
11561
- ollama: "ollama";
11562
11123
  deepseek: "deepseek";
11563
11124
  "azure-openai": "azure-openai";
11564
11125
  "amazon-bedrock": "amazon-bedrock";
@@ -11605,7 +11166,7 @@ declare const organizationTypeSchema: z.ZodEnum<{
11605
11166
  type OrganizationType = z.infer<typeof organizationTypeSchema>;
11606
11167
  declare const organizationSchema: z.ZodObject<{
11607
11168
  type: z.ZodLiteral<"organization">;
11608
- id: z.ZodCUID2;
11169
+ id: z.ZodString;
11609
11170
  createdAt: z.ZodString;
11610
11171
  updatedAt: z.ZodString;
11611
11172
  name: z.ZodOptional<z.ZodString>;
@@ -11644,6 +11205,23 @@ declare const variableResponseSchema: z.ZodObject<{
11644
11205
  }, z.core.$strip>;
11645
11206
  type VariableResponse = z.infer<typeof variableResponseSchema>;
11646
11207
  //#endregion
11208
+ //#region src/lib/api-key.d.ts
11209
+ declare function matchWildcard(value: string, pattern: string): boolean;
11210
+ declare function matchOperations(operations: string[], requiredOperation: string): boolean;
11211
+ declare function matchExperts(experts: string[] | "*" | undefined, expertId: string): boolean;
11212
+ declare function parseApiKeyPermissions(permissionsJson: string | null): ApiKeyPermissions | null;
11213
+ declare function stringifyApiKeyPermissions(permissions: ApiKeyPermissions): string;
11214
+ //#endregion
11215
+ //#region src/lib/auth.d.ts
11216
+ type AuthOptions = {
11217
+ type: "apiKey";
11218
+ apiKey: string;
11219
+ } | {
11220
+ type: "cookie";
11221
+ cookie: string;
11222
+ };
11223
+ declare function buildAuthHeaders(auth: AuthOptions): Record<string, string>;
11224
+ //#endregion
11647
11225
  //#region src/lib/fetcher.d.ts
11648
11226
  type ApiResult<T> = {
11649
11227
  ok: true;
@@ -11692,31 +11270,67 @@ interface Fetcher {
11692
11270
  }
11693
11271
  declare function createFetcher(config: ApiClientConfig): Fetcher;
11694
11272
  //#endregion
11273
+ //#region src/lib/errors.d.ts
11274
+ interface ValidationError {
11275
+ issues: ReadonlyArray<{
11276
+ path: ReadonlyArray<PropertyKey>;
11277
+ message: string;
11278
+ }>;
11279
+ }
11280
+ declare function createValidationError(error: ValidationError): ApiError;
11281
+ declare function createAbortError(): ApiError;
11282
+ declare function createTimeoutError(): ApiError;
11283
+ declare function createNetworkError(error: unknown): ApiError;
11284
+ declare function handleHttpError(response: Response): Promise<{
11285
+ ok: false;
11286
+ error: ApiError;
11287
+ }>;
11288
+ declare function createHttpError(status: number, statusText: string, body?: unknown): ApiError;
11289
+ declare function isHttpError(error: ApiError): boolean;
11290
+ declare function isNetworkError(error: ApiError): boolean;
11291
+ declare function isTimeoutError(error: ApiError): boolean;
11292
+ declare function isValidationError(error: ApiError): boolean;
11293
+ declare function isAbortError(error: ApiError): boolean;
11294
+ declare function isClientError(error: ApiError): boolean;
11295
+ //#endregion
11296
+ //#region src/lib/query-string.d.ts
11297
+ declare function buildQueryString<T extends Record<string, unknown>>(params?: T): string;
11298
+ //#endregion
11299
+ //#region src/lib/sse.d.ts
11300
+ interface StreamReader {
11301
+ read(): Promise<{
11302
+ value: Uint8Array | undefined;
11303
+ done: boolean;
11304
+ }>;
11305
+ }
11306
+ declare function parseSSE<T>(reader: StreamReader): AsyncGenerator<T>;
11307
+ //#endregion
11695
11308
  //#region src/endpoints/api-keys.d.ts
11696
11309
  interface ApiKeysApi {
11697
- create(input: RequestBody$16, options?: RequestOptions): Promise<ApiResult<Response$48>>;
11698
- list(input?: RequestQuery$11, options?: RequestOptions): Promise<ApiResult<Response$46>>;
11699
- get(id: string, options?: RequestOptions): Promise<ApiResult<Response$47>>;
11700
- revoke(id: string, options?: RequestOptions): Promise<ApiResult<Response$45>>;
11310
+ create(input: RequestBody$14, options?: RequestOptions): Promise<ApiResult<Response$43>>;
11311
+ list(input?: RequestQuery$10, options?: RequestOptions): Promise<ApiResult<Response$41>>;
11312
+ get(id: string, options?: RequestOptions): Promise<ApiResult<Response$42>>;
11313
+ revoke(id: string, options?: RequestOptions): Promise<ApiResult<Response$40>>;
11314
+ update(id: string, input: RequestBody$13, options?: RequestOptions): Promise<ApiResult<Response$39>>;
11701
11315
  }
11702
11316
  //#endregion
11703
11317
  //#region src/endpoints/applications.d.ts
11704
11318
  interface ApplicationsApi {
11705
- list(params?: RequestQuery$10, options?: RequestOptions): Promise<ApiResult<Response$41>>;
11706
- get(id: string, options?: RequestOptions): Promise<ApiResult<Response$42>>;
11707
- create(input: RequestBody$15, options?: RequestOptions): Promise<ApiResult<Response$42>>;
11708
- update(id: string, input: RequestBody$14, options?: RequestOptions): Promise<ApiResult<Response$42>>;
11709
- delete(id: string, options?: RequestOptions): Promise<ApiResult<Response$42>>;
11319
+ list(params?: RequestQuery$9, options?: RequestOptions): Promise<ApiResult<Response$35>>;
11320
+ get(id: string, options?: RequestOptions): Promise<ApiResult<Response$36>>;
11321
+ create(input: RequestBody$12, options?: RequestOptions): Promise<ApiResult<Response$36>>;
11322
+ update(id: string, input: RequestBody$11, options?: RequestOptions): Promise<ApiResult<Response$36>>;
11323
+ delete(id: string, options?: RequestOptions): Promise<ApiResult<Response$36>>;
11710
11324
  }
11711
11325
  //#endregion
11712
11326
  //#region src/endpoints/env-secrets.d.ts
11713
11327
  interface SecretsApi {
11714
11328
  list(params?: {
11715
11329
  applicationId?: string;
11716
- }, options?: RequestOptions): Promise<ApiResult<Response$36>>;
11717
- get(name: string, options?: RequestOptions): Promise<ApiResult<Response$37>>;
11718
- create(input: RequestBody$13, options?: RequestOptions): Promise<ApiResult<Response$37>>;
11719
- update(name: string, input: RequestBody$12, options?: RequestOptions): Promise<ApiResult<Response$37>>;
11330
+ }, options?: RequestOptions): Promise<ApiResult<Response$30>>;
11331
+ get(name: string, options?: RequestOptions): Promise<ApiResult<Response$31>>;
11332
+ create(input: RequestBody$10, options?: RequestOptions): Promise<ApiResult<Response$31>>;
11333
+ update(name: string, input: RequestBody$9, options?: RequestOptions): Promise<ApiResult<Response$31>>;
11720
11334
  delete(name: string, options?: RequestOptions): Promise<ApiResult<void>>;
11721
11335
  }
11722
11336
  //#endregion
@@ -11724,10 +11338,10 @@ interface SecretsApi {
11724
11338
  interface VariablesApi {
11725
11339
  list(params: {
11726
11340
  applicationId: string;
11727
- }, options?: RequestOptions): Promise<ApiResult<Response$31>>;
11728
- get(name: string, options?: RequestOptions): Promise<ApiResult<Response$32>>;
11729
- create(input: RequestBody$11, options?: RequestOptions): Promise<ApiResult<Response$32>>;
11730
- update(name: string, input: RequestBody$10, options?: RequestOptions): Promise<ApiResult<Response$32>>;
11341
+ }, options?: RequestOptions): Promise<ApiResult<Response$25>>;
11342
+ get(name: string, options?: RequestOptions): Promise<ApiResult<Response$26>>;
11343
+ create(input: RequestBody$8, options?: RequestOptions): Promise<ApiResult<Response$26>>;
11344
+ update(name: string, input: RequestBody$7, options?: RequestOptions): Promise<ApiResult<Response$26>>;
11731
11345
  delete(name: string, options?: RequestOptions): Promise<ApiResult<void>>;
11732
11346
  }
11733
11347
  //#endregion
@@ -11737,16 +11351,6 @@ interface EnvApi {
11737
11351
  variables: VariablesApi;
11738
11352
  }
11739
11353
  //#endregion
11740
- //#region src/endpoints/experts-drafts.d.ts
11741
- interface DraftsApi {
11742
- list(scopeName: string, params?: RequestQuery$3, options?: RequestOptions): Promise<ApiResult<Response$25>>;
11743
- get(scopeName: string, draftRef: string, options?: RequestOptions): Promise<ApiResult<Response$26>>;
11744
- create(scopeName: string, input: RequestBody$9, options?: RequestOptions): Promise<ApiResult<Response$28>>;
11745
- update(scopeName: string, draftRef: string, input: RequestBody$8, options?: RequestOptions): Promise<ApiResult<Response$24>>;
11746
- delete(scopeName: string, draftRef: string, options?: RequestOptions): Promise<ApiResult<Response$27>>;
11747
- assignVersion(scopeName: string, draftRef: string, input: RequestBody$7, options?: RequestOptions): Promise<ApiResult<Response$23>>;
11748
- }
11749
- //#endregion
11750
11354
  //#region src/endpoints/experts-versions.d.ts
11751
11355
  interface VersionsApi {
11752
11356
  list(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$16>>;
@@ -11760,8 +11364,7 @@ interface ExpertsApi {
11760
11364
  getMeta(key: string, options?: RequestOptions): Promise<ApiResult<Response$19>>;
11761
11365
  publish(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$18>>;
11762
11366
  unpublish(scopeName: string, options?: RequestOptions): Promise<ApiResult<Response$17>>;
11763
- yank(key: string, options?: RequestOptions): Promise<ApiResult<Response$29>>;
11764
- drafts: DraftsApi;
11367
+ yank(key: string, options?: RequestOptions): Promise<ApiResult<Response$23>>;
11765
11368
  versions: VersionsApi;
11766
11369
  }
11767
11370
  //#endregion
@@ -11796,7 +11399,7 @@ interface ProviderSettingsApi {
11796
11399
  deleteApiKey(applicationId: string, provider: string, apiKeyId: string, options?: RequestOptions): Promise<ApiResult<void>>;
11797
11400
  }
11798
11401
  //#endregion
11799
- //#region src/client-public.d.ts
11402
+ //#region src/public/client.d.ts
11800
11403
  interface ApiClient {
11801
11404
  apiKeys: ApiKeysApi;
11802
11405
  applications: ApplicationsApi;
@@ -11807,57 +11410,5 @@ interface ApiClient {
11807
11410
  }
11808
11411
  declare function createApiClient(config: ApiClientConfig): ApiClient;
11809
11412
  //#endregion
11810
- //#region src/lib/api-key.d.ts
11811
- declare function matchWildcard(value: string, pattern: string): boolean;
11812
- declare function matchOperations(operations: string[], requiredOperation: string): boolean;
11813
- declare function matchExperts(experts: string[] | "*" | undefined, expertId: string): boolean;
11814
- declare function parseApiKeyPermissions(permissionsJson: string | null): ApiKeyPermissions | null;
11815
- declare function stringifyApiKeyPermissions(permissions: ApiKeyPermissions): string;
11816
- //#endregion
11817
- //#region src/lib/auth.d.ts
11818
- type AuthOptions = {
11819
- type: "apiKey";
11820
- apiKey: string;
11821
- } | {
11822
- type: "cookie";
11823
- cookie: string;
11824
- };
11825
- declare function buildAuthHeaders(auth: AuthOptions): Record<string, string>;
11826
- //#endregion
11827
- //#region src/lib/errors.d.ts
11828
- interface ValidationError {
11829
- issues: ReadonlyArray<{
11830
- path: ReadonlyArray<PropertyKey>;
11831
- message: string;
11832
- }>;
11833
- }
11834
- declare function createValidationError(error: ValidationError): ApiError;
11835
- declare function createAbortError(): ApiError;
11836
- declare function createTimeoutError(): ApiError;
11837
- declare function createNetworkError(error: unknown): ApiError;
11838
- declare function handleHttpError(response: Response): Promise<{
11839
- ok: false;
11840
- error: ApiError;
11841
- }>;
11842
- declare function createHttpError(status: number, statusText: string, body?: unknown): ApiError;
11843
- declare function isHttpError(error: ApiError): boolean;
11844
- declare function isNetworkError(error: ApiError): boolean;
11845
- declare function isTimeoutError(error: ApiError): boolean;
11846
- declare function isValidationError(error: ApiError): boolean;
11847
- declare function isAbortError(error: ApiError): boolean;
11848
- declare function isClientError(error: ApiError): boolean;
11849
- //#endregion
11850
- //#region src/lib/query-string.d.ts
11851
- declare function buildQueryString<T extends Record<string, unknown>>(params?: T): string;
11852
- //#endregion
11853
- //#region src/lib/sse.d.ts
11854
- interface StreamReader {
11855
- read(): Promise<{
11856
- value: Uint8Array | undefined;
11857
- done: boolean;
11858
- }>;
11859
- }
11860
- declare function parseSSE<T>(reader: StreamReader): AsyncGenerator<T>;
11861
- //#endregion
11862
11413
  export { type Activity, type ActivityOrGroup, type ActivityType, type ApiClient, ApiClientConfig, ApiError, ApiErrorType, ApiResult, type Application, type ApplicationStatus, type index_d_exports as ApplicationsAPI, AuthOptions, type ApiCheckpoint as Checkpoint, type CheckpointStatus, type index_d_exports$1 as EnvAPI, type Expert, type ExpertDefinition, type ExpertDraftRef, type ExpertDraftScope, type ExpertMetadata, type ExpertScope, type ExpertVersion, type ExpertWithMetadata, type index_d_exports$2 as ExpertsAPI, Fetcher, type Job, type JobStatus, type index_d_exports$3 as JobsAPI, type Organization, type OrganizationStatus, type OrganizationType, type ReasoningBudget, RequestOptions, type SecretMetadata, StreamRequestOptions, type VariableResponse, buildAuthHeaders, buildQueryString, createAbortError, createApiClient, createFetcher, createHttpError, createNetworkError, createTimeoutError, createValidationError, handleHttpError, isAbortError, isClientError, isHttpError, isNetworkError, isTimeoutError, isValidationError, matchExperts, matchOperations, matchWildcard, parseApiKeyPermissions, parseSSE, stringifyApiKeyPermissions };
11863
- //# sourceMappingURL=bundle.d.mts.map
11414
+ //# sourceMappingURL=index.d.mts.map