@perstack/api-client 0.0.48 → 0.0.51

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