librechat-data-provider 0.8.522 → 0.8.523

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/{data-service-CaB7saTP.mjs → data-service-Bx6IFaSa.mjs} +638 -27
  2. package/dist/data-service-Bx6IFaSa.mjs.map +1 -0
  3. package/dist/{data-service-D5kHzBt-.js → data-service-CTX0tVO5.js} +871 -26
  4. package/dist/data-service-CTX0tVO5.js.map +1 -0
  5. package/dist/index.js +557 -19
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +491 -20
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/react-query/index.js +1 -1
  10. package/dist/react-query/index.mjs +1 -1
  11. package/dist/types/accessPermissions.d.ts +54 -1
  12. package/dist/types/api-endpoints.d.ts +6 -0
  13. package/dist/types/bedrock.d.ts +80 -20
  14. package/dist/types/code/approval.d.ts +26 -0
  15. package/dist/types/code/worker.d.ts +10 -0
  16. package/dist/types/code/workspace.d.ts +28 -0
  17. package/dist/types/codeEnvRef.d.ts +5 -0
  18. package/dist/types/config.d.ts +6062 -3828
  19. package/dist/types/data-service.d.ts +8 -0
  20. package/dist/types/errors.d.ts +2 -0
  21. package/dist/types/file-config.d.ts +137 -9
  22. package/dist/types/filters.d.ts +176 -176
  23. package/dist/types/generate.d.ts +28 -4
  24. package/dist/types/index.d.ts +7 -0
  25. package/dist/types/keys.d.ts +11 -1
  26. package/dist/types/mcp.d.ts +336 -330
  27. package/dist/types/messages.d.ts +19 -0
  28. package/dist/types/models.d.ts +367 -238
  29. package/dist/types/parameterSettings.d.ts +8 -0
  30. package/dist/types/providers.d.ts +1 -0
  31. package/dist/types/resolve-llm-delivery-path.d.ts +68 -0
  32. package/dist/types/schemas.d.ts +628 -317
  33. package/dist/types/svg.d.ts +34 -0
  34. package/dist/types/types/agents.d.ts +24 -0
  35. package/dist/types/types/assistants.d.ts +27 -3
  36. package/dist/types/types/files.d.ts +34 -0
  37. package/dist/types/types/insights.d.ts +9 -0
  38. package/dist/types/types/queries.d.ts +8 -1
  39. package/dist/types/types/queuedTurns.d.ts +16 -16
  40. package/dist/types/types/runs.d.ts +24 -5
  41. package/dist/types/types/schedules.d.ts +44 -11
  42. package/dist/types/types/traces.d.ts +85 -0
  43. package/dist/types/types.d.ts +41 -1
  44. package/package.json +2 -2
  45. package/dist/data-service-CaB7saTP.mjs.map +0 -1
  46. package/dist/data-service-D5kHzBt-.js.map +0 -1
@@ -77,23 +77,28 @@ export type TModelSpec = {
77
77
  export declare const modelSpecSubagentsSchema: z.ZodEffects<z.ZodObject<{
78
78
  enabled: z.ZodOptional<z.ZodBoolean>;
79
79
  allowSelf: z.ZodOptional<z.ZodBoolean>;
80
+ shareFiles: z.ZodOptional<z.ZodBoolean>;
80
81
  agent_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81
82
  }, "strip", z.ZodTypeAny, {
83
+ agent_ids?: string[] | undefined;
82
84
  enabled?: boolean | undefined;
83
85
  allowSelf?: boolean | undefined;
84
- agent_ids?: string[] | undefined;
86
+ shareFiles?: boolean | undefined;
85
87
  }, {
88
+ agent_ids?: string[] | undefined;
86
89
  enabled?: boolean | undefined;
87
90
  allowSelf?: boolean | undefined;
88
- agent_ids?: string[] | undefined;
91
+ shareFiles?: boolean | undefined;
89
92
  }>, {
93
+ agent_ids?: string[] | undefined;
90
94
  enabled?: boolean | undefined;
91
95
  allowSelf?: boolean | undefined;
92
- agent_ids?: string[] | undefined;
96
+ shareFiles?: boolean | undefined;
93
97
  }, {
98
+ agent_ids?: string[] | undefined;
94
99
  enabled?: boolean | undefined;
95
100
  allowSelf?: boolean | undefined;
96
- agent_ids?: string[] | undefined;
101
+ shareFiles?: boolean | undefined;
97
102
  }>;
98
103
  /**
99
104
  * The endpoint a spec targets. Only the agents endpoint can serve a preset that
@@ -129,11 +134,11 @@ export declare const tModelSpecSchema: z.ZodObject<{
129
134
  name: z.ZodString;
130
135
  label: z.ZodString;
131
136
  preset: z.ZodEffects<z.ZodObject<{
132
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
- endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
134
- archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
- pinned: z.ZodOptional<z.ZodBoolean>;
136
- isShared: z.ZodOptional<z.ZodBoolean>;
137
+ web_search: z.ZodOptional<z.ZodBoolean>;
138
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
+ artifacts: z.ZodOptional<z.ZodString>;
140
+ instructions: z.ZodOptional<z.ZodString>;
141
+ additional_instructions: z.ZodOptional<z.ZodString>;
137
142
  tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
138
143
  name: z.ZodString;
139
144
  pluginKey: z.ZodString;
@@ -198,6 +203,23 @@ export declare const tModelSpecSchema: z.ZodObject<{
198
203
  toolkit?: boolean | undefined;
199
204
  serverToolName?: string | undefined;
200
205
  }>, "many">, z.ZodArray<z.ZodString, "many">]>>;
206
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
+ endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
208
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
+ pinned: z.ZodOptional<z.ZodBoolean>;
210
+ isShared: z.ZodOptional<z.ZodBoolean>;
211
+ codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
212
+ codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
213
+ codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
214
+ environmentId: z.ZodString;
215
+ workspaceId: z.ZodString;
216
+ }, "strict", z.ZodTypeAny, {
217
+ environmentId: string;
218
+ workspaceId: string;
219
+ }, {
220
+ environmentId: string;
221
+ workspaceId: string;
222
+ }>, "many">>;
201
223
  modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
224
  userLabel: z.ZodOptional<z.ZodString>;
203
225
  promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -217,8 +239,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
217
239
  thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
218
240
  thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingLevel>>;
219
241
  stream: z.ZodOptional<z.ZodBoolean>;
220
- artifacts: z.ZodOptional<z.ZodString>;
221
- context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
242
  examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
223
243
  input: z.ZodObject<{
224
244
  content: z.ZodString;
@@ -259,7 +279,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
259
279
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
260
280
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
261
281
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
262
- web_search: z.ZodOptional<z.ZodBoolean>;
263
282
  url_context: z.ZodOptional<z.ZodBoolean>;
264
283
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
265
284
  assistant_id: z.ZodOptional<z.ZodString>;
@@ -274,21 +293,21 @@ export declare const tModelSpecSchema: z.ZodObject<{
274
293
  subagentKind: z.ZodEnum<["agent", "graph"]>;
275
294
  depth: z.ZodNumber;
276
295
  }, "strip", z.ZodTypeAny, {
296
+ subagentKind: "agent" | "graph";
277
297
  parentMessageId: string;
278
298
  rootConversationId: string;
279
299
  parentConversationId: string;
280
300
  parentToolCallId: string;
281
301
  subagentType: string;
282
- subagentKind: "agent" | "graph";
283
302
  depth: number;
284
303
  parentAgentId?: string | undefined;
285
304
  }, {
305
+ subagentKind: "agent" | "graph";
286
306
  parentMessageId: string;
287
307
  rootConversationId: string;
288
308
  parentConversationId: string;
289
309
  parentToolCallId: string;
290
310
  subagentType: string;
291
- subagentKind: "agent" | "graph";
292
311
  depth: number;
293
312
  parentAgentId?: string | undefined;
294
313
  }>>;
@@ -343,8 +362,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
343
362
  } | null)[] | {
344
363
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
345
364
  } | null>>;
346
- instructions: z.ZodOptional<z.ZodString>;
347
- additional_instructions: z.ZodOptional<z.ZodString>;
348
365
  append_current_datetime: z.ZodOptional<z.ZodBoolean>;
349
366
  stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
350
367
  greeting: z.ZodOptional<z.ZodString>;
@@ -354,12 +371,12 @@ export declare const tModelSpecSchema: z.ZodObject<{
354
371
  } & {
355
372
  endpoint: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>>;
356
373
  }, "strip", z.ZodTypeAny, {
357
- model?: string | null | undefined;
374
+ web_search?: boolean | undefined;
375
+ context?: string | null | undefined;
376
+ artifacts?: string | undefined;
358
377
  endpoint?: string | null | undefined;
359
- endpointType?: EModelEndpoint | null | undefined;
360
- archivedAt?: string | null | undefined;
361
- pinned?: boolean | undefined;
362
- isShared?: boolean | undefined;
378
+ instructions?: string | undefined;
379
+ additional_instructions?: string | undefined;
363
380
  tools?: string[] | {
364
381
  name: string;
365
382
  pluginKey: string;
@@ -378,6 +395,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
378
395
  toolkit?: boolean | undefined;
379
396
  serverToolName?: string | undefined;
380
397
  }[] | undefined;
398
+ model?: string | null | undefined;
399
+ endpointType?: EModelEndpoint | null | undefined;
400
+ archivedAt?: string | null | undefined;
401
+ pinned?: boolean | undefined;
402
+ isShared?: boolean | undefined;
403
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
404
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
405
+ codeWorkspaces?: {
406
+ environmentId: string;
407
+ workspaceId: string;
408
+ }[] | undefined;
381
409
  modelLabel?: string | null | undefined;
382
410
  userLabel?: string | undefined;
383
411
  promptPrefix?: string | null | undefined;
@@ -397,8 +425,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
397
425
  thinkingBudget?: number | undefined;
398
426
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
399
427
  stream?: boolean | undefined;
400
- artifacts?: string | undefined;
401
- context?: string | null | undefined;
402
428
  examples?: {
403
429
  input: {
404
430
  content: string;
@@ -417,18 +443,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
417
443
  useResponsesApi?: boolean | undefined;
418
444
  effort?: import("./schemas").AnthropicEffort | null | undefined;
419
445
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
420
- web_search?: boolean | undefined;
421
446
  url_context?: boolean | undefined;
422
447
  disableStreaming?: boolean | undefined;
423
448
  assistant_id?: string | undefined;
424
449
  agent_id?: string | undefined;
425
450
  subagentThread?: {
451
+ subagentKind: "agent" | "graph";
426
452
  parentMessageId: string;
427
453
  rootConversationId: string;
428
454
  parentConversationId: string;
429
455
  parentToolCallId: string;
430
456
  subagentType: string;
431
- subagentKind: "agent" | "graph";
432
457
  depth: number;
433
458
  parentAgentId?: string | undefined;
434
459
  } | undefined;
@@ -459,8 +484,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
459
484
  } | null)[] | {
460
485
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
461
486
  } | null) | undefined;
462
- instructions?: string | undefined;
463
- additional_instructions?: string | undefined;
464
487
  append_current_datetime?: boolean | undefined;
465
488
  stop?: string[] | undefined;
466
489
  greeting?: string | undefined;
@@ -468,12 +491,12 @@ export declare const tModelSpecSchema: z.ZodObject<{
468
491
  isTemporary?: boolean | undefined;
469
492
  fileTokenLimit?: number | undefined;
470
493
  }, {
471
- model?: string | null | undefined;
494
+ web_search?: boolean | undefined;
495
+ context?: string | null | undefined;
496
+ artifacts?: string | undefined;
472
497
  endpoint?: string | null | undefined;
473
- endpointType?: EModelEndpoint | null | undefined;
474
- archivedAt?: string | null | undefined;
475
- pinned?: boolean | undefined;
476
- isShared?: boolean | undefined;
498
+ instructions?: string | undefined;
499
+ additional_instructions?: string | undefined;
477
500
  tools?: string[] | {
478
501
  name: string;
479
502
  pluginKey: string;
@@ -492,6 +515,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
492
515
  toolkit?: boolean | undefined;
493
516
  serverToolName?: string | undefined;
494
517
  }[] | undefined;
518
+ model?: string | null | undefined;
519
+ endpointType?: EModelEndpoint | null | undefined;
520
+ archivedAt?: string | null | undefined;
521
+ pinned?: boolean | undefined;
522
+ isShared?: boolean | undefined;
523
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
524
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
525
+ codeWorkspaces?: {
526
+ environmentId: string;
527
+ workspaceId: string;
528
+ }[] | undefined;
495
529
  modelLabel?: string | null | undefined;
496
530
  userLabel?: string | undefined;
497
531
  promptPrefix?: string | null | undefined;
@@ -511,8 +545,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
511
545
  thinkingBudget?: string | number | undefined;
512
546
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
513
547
  stream?: boolean | undefined;
514
- artifacts?: string | undefined;
515
- context?: string | null | undefined;
516
548
  examples?: {
517
549
  input: {
518
550
  content: string;
@@ -531,18 +563,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
531
563
  useResponsesApi?: boolean | undefined;
532
564
  effort?: import("./schemas").AnthropicEffort | null | undefined;
533
565
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
534
- web_search?: boolean | undefined;
535
566
  url_context?: boolean | undefined;
536
567
  disableStreaming?: boolean | undefined;
537
568
  assistant_id?: string | undefined;
538
569
  agent_id?: string | undefined;
539
570
  subagentThread?: {
571
+ subagentKind: "agent" | "graph";
540
572
  parentMessageId: string;
541
573
  rootConversationId: string;
542
574
  parentConversationId: string;
543
575
  parentToolCallId: string;
544
576
  subagentType: string;
545
- subagentKind: "agent" | "graph";
546
577
  depth: number;
547
578
  parentAgentId?: string | undefined;
548
579
  } | undefined;
@@ -573,8 +604,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
573
604
  } | null)[] | {
574
605
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
575
606
  } | null) | undefined;
576
- instructions?: string | undefined;
577
- additional_instructions?: string | undefined;
578
607
  append_current_datetime?: boolean | undefined;
579
608
  stop?: string[] | undefined;
580
609
  greeting?: string | undefined;
@@ -582,12 +611,12 @@ export declare const tModelSpecSchema: z.ZodObject<{
582
611
  isTemporary?: boolean | undefined;
583
612
  fileTokenLimit?: string | number | undefined;
584
613
  }>, {
585
- model?: string | null | undefined;
614
+ web_search?: boolean | undefined;
615
+ context?: string | null | undefined;
616
+ artifacts?: string | undefined;
586
617
  endpoint?: string | null | undefined;
587
- endpointType?: EModelEndpoint | null | undefined;
588
- archivedAt?: string | null | undefined;
589
- pinned?: boolean | undefined;
590
- isShared?: boolean | undefined;
618
+ instructions?: string | undefined;
619
+ additional_instructions?: string | undefined;
591
620
  tools?: string[] | {
592
621
  name: string;
593
622
  pluginKey: string;
@@ -606,6 +635,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
606
635
  toolkit?: boolean | undefined;
607
636
  serverToolName?: string | undefined;
608
637
  }[] | undefined;
638
+ model?: string | null | undefined;
639
+ endpointType?: EModelEndpoint | null | undefined;
640
+ archivedAt?: string | null | undefined;
641
+ pinned?: boolean | undefined;
642
+ isShared?: boolean | undefined;
643
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
644
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
645
+ codeWorkspaces?: {
646
+ environmentId: string;
647
+ workspaceId: string;
648
+ }[] | undefined;
609
649
  modelLabel?: string | null | undefined;
610
650
  userLabel?: string | undefined;
611
651
  promptPrefix?: string | null | undefined;
@@ -625,8 +665,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
625
665
  thinkingBudget?: number | undefined;
626
666
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
627
667
  stream?: boolean | undefined;
628
- artifacts?: string | undefined;
629
- context?: string | null | undefined;
630
668
  examples?: {
631
669
  input: {
632
670
  content: string;
@@ -645,18 +683,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
645
683
  useResponsesApi?: boolean | undefined;
646
684
  effort?: import("./schemas").AnthropicEffort | null | undefined;
647
685
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
648
- web_search?: boolean | undefined;
649
686
  url_context?: boolean | undefined;
650
687
  disableStreaming?: boolean | undefined;
651
688
  assistant_id?: string | undefined;
652
689
  agent_id?: string | undefined;
653
690
  subagentThread?: {
691
+ subagentKind: "agent" | "graph";
654
692
  parentMessageId: string;
655
693
  rootConversationId: string;
656
694
  parentConversationId: string;
657
695
  parentToolCallId: string;
658
696
  subagentType: string;
659
- subagentKind: "agent" | "graph";
660
697
  depth: number;
661
698
  parentAgentId?: string | undefined;
662
699
  } | undefined;
@@ -687,8 +724,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
687
724
  } | null)[] | {
688
725
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
689
726
  } | null) | undefined;
690
- instructions?: string | undefined;
691
- additional_instructions?: string | undefined;
692
727
  append_current_datetime?: boolean | undefined;
693
728
  stop?: string[] | undefined;
694
729
  greeting?: string | undefined;
@@ -696,12 +731,12 @@ export declare const tModelSpecSchema: z.ZodObject<{
696
731
  isTemporary?: boolean | undefined;
697
732
  fileTokenLimit?: number | undefined;
698
733
  }, {
699
- model?: string | null | undefined;
734
+ web_search?: boolean | undefined;
735
+ context?: string | null | undefined;
736
+ artifacts?: string | undefined;
700
737
  endpoint?: string | null | undefined;
701
- endpointType?: EModelEndpoint | null | undefined;
702
- archivedAt?: string | null | undefined;
703
- pinned?: boolean | undefined;
704
- isShared?: boolean | undefined;
738
+ instructions?: string | undefined;
739
+ additional_instructions?: string | undefined;
705
740
  tools?: string[] | {
706
741
  name: string;
707
742
  pluginKey: string;
@@ -720,6 +755,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
720
755
  toolkit?: boolean | undefined;
721
756
  serverToolName?: string | undefined;
722
757
  }[] | undefined;
758
+ model?: string | null | undefined;
759
+ endpointType?: EModelEndpoint | null | undefined;
760
+ archivedAt?: string | null | undefined;
761
+ pinned?: boolean | undefined;
762
+ isShared?: boolean | undefined;
763
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
764
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
765
+ codeWorkspaces?: {
766
+ environmentId: string;
767
+ workspaceId: string;
768
+ }[] | undefined;
723
769
  modelLabel?: string | null | undefined;
724
770
  userLabel?: string | undefined;
725
771
  promptPrefix?: string | null | undefined;
@@ -739,8 +785,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
739
785
  thinkingBudget?: string | number | undefined;
740
786
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
741
787
  stream?: boolean | undefined;
742
- artifacts?: string | undefined;
743
- context?: string | null | undefined;
744
788
  examples?: {
745
789
  input: {
746
790
  content: string;
@@ -759,18 +803,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
759
803
  useResponsesApi?: boolean | undefined;
760
804
  effort?: import("./schemas").AnthropicEffort | null | undefined;
761
805
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
762
- web_search?: boolean | undefined;
763
806
  url_context?: boolean | undefined;
764
807
  disableStreaming?: boolean | undefined;
765
808
  assistant_id?: string | undefined;
766
809
  agent_id?: string | undefined;
767
810
  subagentThread?: {
811
+ subagentKind: "agent" | "graph";
768
812
  parentMessageId: string;
769
813
  rootConversationId: string;
770
814
  parentConversationId: string;
771
815
  parentToolCallId: string;
772
816
  subagentType: string;
773
- subagentKind: "agent" | "graph";
774
817
  depth: number;
775
818
  parentAgentId?: string | undefined;
776
819
  } | undefined;
@@ -801,8 +844,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
801
844
  } | null)[] | {
802
845
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
803
846
  } | null) | undefined;
804
- instructions?: string | undefined;
805
- additional_instructions?: string | undefined;
806
847
  append_current_datetime?: boolean | undefined;
807
848
  stop?: string[] | undefined;
808
849
  greeting?: string | undefined;
@@ -837,34 +878,39 @@ export declare const tModelSpecSchema: z.ZodObject<{
837
878
  subagents: z.ZodOptional<z.ZodEffects<z.ZodObject<{
838
879
  enabled: z.ZodOptional<z.ZodBoolean>;
839
880
  allowSelf: z.ZodOptional<z.ZodBoolean>;
881
+ shareFiles: z.ZodOptional<z.ZodBoolean>;
840
882
  agent_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
841
883
  }, "strip", z.ZodTypeAny, {
884
+ agent_ids?: string[] | undefined;
842
885
  enabled?: boolean | undefined;
843
886
  allowSelf?: boolean | undefined;
844
- agent_ids?: string[] | undefined;
887
+ shareFiles?: boolean | undefined;
845
888
  }, {
889
+ agent_ids?: string[] | undefined;
846
890
  enabled?: boolean | undefined;
847
891
  allowSelf?: boolean | undefined;
848
- agent_ids?: string[] | undefined;
892
+ shareFiles?: boolean | undefined;
849
893
  }>, {
894
+ agent_ids?: string[] | undefined;
850
895
  enabled?: boolean | undefined;
851
896
  allowSelf?: boolean | undefined;
852
- agent_ids?: string[] | undefined;
897
+ shareFiles?: boolean | undefined;
853
898
  }, {
899
+ agent_ids?: string[] | undefined;
854
900
  enabled?: boolean | undefined;
855
901
  allowSelf?: boolean | undefined;
856
- agent_ids?: string[] | undefined;
902
+ shareFiles?: boolean | undefined;
857
903
  }>>;
858
904
  }, "strip", z.ZodTypeAny, {
859
905
  name: string;
860
906
  label: string;
861
907
  preset: {
862
- model?: string | null | undefined;
908
+ web_search?: boolean | undefined;
909
+ context?: string | null | undefined;
910
+ artifacts?: string | undefined;
863
911
  endpoint?: string | null | undefined;
864
- endpointType?: EModelEndpoint | null | undefined;
865
- archivedAt?: string | null | undefined;
866
- pinned?: boolean | undefined;
867
- isShared?: boolean | undefined;
912
+ instructions?: string | undefined;
913
+ additional_instructions?: string | undefined;
868
914
  tools?: string[] | {
869
915
  name: string;
870
916
  pluginKey: string;
@@ -883,6 +929,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
883
929
  toolkit?: boolean | undefined;
884
930
  serverToolName?: string | undefined;
885
931
  }[] | undefined;
932
+ model?: string | null | undefined;
933
+ endpointType?: EModelEndpoint | null | undefined;
934
+ archivedAt?: string | null | undefined;
935
+ pinned?: boolean | undefined;
936
+ isShared?: boolean | undefined;
937
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
938
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
939
+ codeWorkspaces?: {
940
+ environmentId: string;
941
+ workspaceId: string;
942
+ }[] | undefined;
886
943
  modelLabel?: string | null | undefined;
887
944
  userLabel?: string | undefined;
888
945
  promptPrefix?: string | null | undefined;
@@ -902,8 +959,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
902
959
  thinkingBudget?: number | undefined;
903
960
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
904
961
  stream?: boolean | undefined;
905
- artifacts?: string | undefined;
906
- context?: string | null | undefined;
907
962
  examples?: {
908
963
  input: {
909
964
  content: string;
@@ -922,18 +977,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
922
977
  useResponsesApi?: boolean | undefined;
923
978
  effort?: import("./schemas").AnthropicEffort | null | undefined;
924
979
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
925
- web_search?: boolean | undefined;
926
980
  url_context?: boolean | undefined;
927
981
  disableStreaming?: boolean | undefined;
928
982
  assistant_id?: string | undefined;
929
983
  agent_id?: string | undefined;
930
984
  subagentThread?: {
985
+ subagentKind: "agent" | "graph";
931
986
  parentMessageId: string;
932
987
  rootConversationId: string;
933
988
  parentConversationId: string;
934
989
  parentToolCallId: string;
935
990
  subagentType: string;
936
- subagentKind: "agent" | "graph";
937
991
  depth: number;
938
992
  parentAgentId?: string | undefined;
939
993
  } | undefined;
@@ -964,8 +1018,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
964
1018
  } | null)[] | {
965
1019
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
966
1020
  } | null) | undefined;
967
- instructions?: string | undefined;
968
- additional_instructions?: string | undefined;
969
1021
  append_current_datetime?: boolean | undefined;
970
1022
  stop?: string[] | undefined;
971
1023
  greeting?: string | undefined;
@@ -976,42 +1028,43 @@ export declare const tModelSpecSchema: z.ZodObject<{
976
1028
  group?: string | undefined;
977
1029
  description?: string | undefined;
978
1030
  default?: boolean | undefined;
1031
+ memory?: boolean | undefined;
979
1032
  artifacts?: string | boolean | undefined;
1033
+ skills?: boolean | string[] | undefined;
1034
+ subagents?: {
1035
+ agent_ids?: string[] | undefined;
1036
+ enabled?: boolean | undefined;
1037
+ allowSelf?: boolean | undefined;
1038
+ shareFiles?: boolean | undefined;
1039
+ } | undefined;
1040
+ conversation_starters?: string[] | undefined;
980
1041
  iconURL?: string | undefined;
981
1042
  order?: number | undefined;
982
- skills?: boolean | string[] | undefined;
983
1043
  softDefault?: boolean | undefined;
984
1044
  groupIcon?: string | undefined;
985
1045
  showIconInMenu?: boolean | undefined;
986
1046
  showIconInHeader?: boolean | undefined;
987
1047
  showOnLanding?: boolean | undefined;
988
- conversation_starters?: string[] | undefined;
989
1048
  showInMenu?: boolean | undefined;
990
1049
  authType?: AuthType | undefined;
991
1050
  hideBadgeRow?: boolean | undefined;
992
1051
  webSearch?: boolean | undefined;
993
1052
  fileSearch?: boolean | undefined;
994
1053
  executeCode?: boolean | undefined;
995
- memory?: boolean | undefined;
996
1054
  askUserQuestion?: boolean | undefined;
997
1055
  runInBackground?: boolean | string[] | undefined;
998
1056
  describeIntent?: boolean | string[] | undefined;
999
1057
  mcpServers?: string[] | undefined;
1000
- subagents?: {
1001
- enabled?: boolean | undefined;
1002
- allowSelf?: boolean | undefined;
1003
- agent_ids?: string[] | undefined;
1004
- } | undefined;
1005
1058
  }, {
1006
1059
  name: string;
1007
1060
  label: string;
1008
1061
  preset: {
1009
- model?: string | null | undefined;
1062
+ web_search?: boolean | undefined;
1063
+ context?: string | null | undefined;
1064
+ artifacts?: string | undefined;
1010
1065
  endpoint?: string | null | undefined;
1011
- endpointType?: EModelEndpoint | null | undefined;
1012
- archivedAt?: string | null | undefined;
1013
- pinned?: boolean | undefined;
1014
- isShared?: boolean | undefined;
1066
+ instructions?: string | undefined;
1067
+ additional_instructions?: string | undefined;
1015
1068
  tools?: string[] | {
1016
1069
  name: string;
1017
1070
  pluginKey: string;
@@ -1030,6 +1083,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
1030
1083
  toolkit?: boolean | undefined;
1031
1084
  serverToolName?: string | undefined;
1032
1085
  }[] | undefined;
1086
+ model?: string | null | undefined;
1087
+ endpointType?: EModelEndpoint | null | undefined;
1088
+ archivedAt?: string | null | undefined;
1089
+ pinned?: boolean | undefined;
1090
+ isShared?: boolean | undefined;
1091
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1092
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1093
+ codeWorkspaces?: {
1094
+ environmentId: string;
1095
+ workspaceId: string;
1096
+ }[] | undefined;
1033
1097
  modelLabel?: string | null | undefined;
1034
1098
  userLabel?: string | undefined;
1035
1099
  promptPrefix?: string | null | undefined;
@@ -1049,8 +1113,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
1049
1113
  thinkingBudget?: string | number | undefined;
1050
1114
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
1051
1115
  stream?: boolean | undefined;
1052
- artifacts?: string | undefined;
1053
- context?: string | null | undefined;
1054
1116
  examples?: {
1055
1117
  input: {
1056
1118
  content: string;
@@ -1069,18 +1131,17 @@ export declare const tModelSpecSchema: z.ZodObject<{
1069
1131
  useResponsesApi?: boolean | undefined;
1070
1132
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1071
1133
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1072
- web_search?: boolean | undefined;
1073
1134
  url_context?: boolean | undefined;
1074
1135
  disableStreaming?: boolean | undefined;
1075
1136
  assistant_id?: string | undefined;
1076
1137
  agent_id?: string | undefined;
1077
1138
  subagentThread?: {
1139
+ subagentKind: "agent" | "graph";
1078
1140
  parentMessageId: string;
1079
1141
  rootConversationId: string;
1080
1142
  parentConversationId: string;
1081
1143
  parentToolCallId: string;
1082
1144
  subagentType: string;
1083
- subagentKind: "agent" | "graph";
1084
1145
  depth: number;
1085
1146
  parentAgentId?: string | undefined;
1086
1147
  } | undefined;
@@ -1111,8 +1172,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
1111
1172
  } | null)[] | {
1112
1173
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
1113
1174
  } | null) | undefined;
1114
- instructions?: string | undefined;
1115
- additional_instructions?: string | undefined;
1116
1175
  append_current_datetime?: boolean | undefined;
1117
1176
  stop?: string[] | undefined;
1118
1177
  greeting?: string | undefined;
@@ -1123,32 +1182,33 @@ export declare const tModelSpecSchema: z.ZodObject<{
1123
1182
  group?: string | undefined;
1124
1183
  description?: string | undefined;
1125
1184
  default?: boolean | undefined;
1185
+ memory?: boolean | undefined;
1126
1186
  artifacts?: string | boolean | undefined;
1187
+ skills?: boolean | string[] | undefined;
1188
+ subagents?: {
1189
+ agent_ids?: string[] | undefined;
1190
+ enabled?: boolean | undefined;
1191
+ allowSelf?: boolean | undefined;
1192
+ shareFiles?: boolean | undefined;
1193
+ } | undefined;
1194
+ conversation_starters?: string[] | undefined;
1127
1195
  iconURL?: string | undefined;
1128
1196
  order?: number | undefined;
1129
- skills?: boolean | string[] | undefined;
1130
1197
  softDefault?: boolean | undefined;
1131
1198
  groupIcon?: string | undefined;
1132
1199
  showIconInMenu?: boolean | undefined;
1133
1200
  showIconInHeader?: boolean | undefined;
1134
1201
  showOnLanding?: boolean | undefined;
1135
- conversation_starters?: string[] | undefined;
1136
1202
  showInMenu?: boolean | undefined;
1137
1203
  authType?: AuthType | undefined;
1138
1204
  hideBadgeRow?: boolean | undefined;
1139
1205
  webSearch?: boolean | undefined;
1140
1206
  fileSearch?: boolean | undefined;
1141
1207
  executeCode?: boolean | undefined;
1142
- memory?: boolean | undefined;
1143
1208
  askUserQuestion?: boolean | undefined;
1144
1209
  runInBackground?: boolean | string[] | undefined;
1145
1210
  describeIntent?: boolean | string[] | undefined;
1146
1211
  mcpServers?: string[] | undefined;
1147
- subagents?: {
1148
- enabled?: boolean | undefined;
1149
- allowSelf?: boolean | undefined;
1150
- agent_ids?: string[] | undefined;
1151
- } | undefined;
1152
1212
  }>;
1153
1213
  export declare const specsConfigSchema: z.ZodObject<{
1154
1214
  enforce: z.ZodDefault<z.ZodBoolean>;
@@ -1157,11 +1217,11 @@ export declare const specsConfigSchema: z.ZodObject<{
1157
1217
  name: z.ZodString;
1158
1218
  label: z.ZodString;
1159
1219
  preset: z.ZodEffects<z.ZodObject<{
1160
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1161
- endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
1162
- archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1163
- pinned: z.ZodOptional<z.ZodBoolean>;
1164
- isShared: z.ZodOptional<z.ZodBoolean>;
1220
+ web_search: z.ZodOptional<z.ZodBoolean>;
1221
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1222
+ artifacts: z.ZodOptional<z.ZodString>;
1223
+ instructions: z.ZodOptional<z.ZodString>;
1224
+ additional_instructions: z.ZodOptional<z.ZodString>;
1165
1225
  tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1166
1226
  name: z.ZodString;
1167
1227
  pluginKey: z.ZodString;
@@ -1226,6 +1286,23 @@ export declare const specsConfigSchema: z.ZodObject<{
1226
1286
  toolkit?: boolean | undefined;
1227
1287
  serverToolName?: string | undefined;
1228
1288
  }>, "many">, z.ZodArray<z.ZodString, "many">]>>;
1289
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1290
+ endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
1291
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1292
+ pinned: z.ZodOptional<z.ZodBoolean>;
1293
+ isShared: z.ZodOptional<z.ZodBoolean>;
1294
+ codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
1295
+ codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
1296
+ codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1297
+ environmentId: z.ZodString;
1298
+ workspaceId: z.ZodString;
1299
+ }, "strict", z.ZodTypeAny, {
1300
+ environmentId: string;
1301
+ workspaceId: string;
1302
+ }, {
1303
+ environmentId: string;
1304
+ workspaceId: string;
1305
+ }>, "many">>;
1229
1306
  modelLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1230
1307
  userLabel: z.ZodOptional<z.ZodString>;
1231
1308
  promptPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1245,8 +1322,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1245
1322
  thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
1246
1323
  thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingLevel>>;
1247
1324
  stream: z.ZodOptional<z.ZodBoolean>;
1248
- artifacts: z.ZodOptional<z.ZodString>;
1249
- context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1250
1325
  examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
1251
1326
  input: z.ZodObject<{
1252
1327
  content: z.ZodString;
@@ -1287,7 +1362,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1287
1362
  useResponsesApi: z.ZodOptional<z.ZodBoolean>;
1288
1363
  effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
1289
1364
  thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
1290
- web_search: z.ZodOptional<z.ZodBoolean>;
1291
1365
  url_context: z.ZodOptional<z.ZodBoolean>;
1292
1366
  disableStreaming: z.ZodOptional<z.ZodBoolean>;
1293
1367
  assistant_id: z.ZodOptional<z.ZodString>;
@@ -1302,21 +1376,21 @@ export declare const specsConfigSchema: z.ZodObject<{
1302
1376
  subagentKind: z.ZodEnum<["agent", "graph"]>;
1303
1377
  depth: z.ZodNumber;
1304
1378
  }, "strip", z.ZodTypeAny, {
1379
+ subagentKind: "agent" | "graph";
1305
1380
  parentMessageId: string;
1306
1381
  rootConversationId: string;
1307
1382
  parentConversationId: string;
1308
1383
  parentToolCallId: string;
1309
1384
  subagentType: string;
1310
- subagentKind: "agent" | "graph";
1311
1385
  depth: number;
1312
1386
  parentAgentId?: string | undefined;
1313
1387
  }, {
1388
+ subagentKind: "agent" | "graph";
1314
1389
  parentMessageId: string;
1315
1390
  rootConversationId: string;
1316
1391
  parentConversationId: string;
1317
1392
  parentToolCallId: string;
1318
1393
  subagentType: string;
1319
- subagentKind: "agent" | "graph";
1320
1394
  depth: number;
1321
1395
  parentAgentId?: string | undefined;
1322
1396
  }>>;
@@ -1371,8 +1445,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1371
1445
  } | null)[] | {
1372
1446
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
1373
1447
  } | null>>;
1374
- instructions: z.ZodOptional<z.ZodString>;
1375
- additional_instructions: z.ZodOptional<z.ZodString>;
1376
1448
  append_current_datetime: z.ZodOptional<z.ZodBoolean>;
1377
1449
  stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1378
1450
  greeting: z.ZodOptional<z.ZodString>;
@@ -1382,12 +1454,12 @@ export declare const specsConfigSchema: z.ZodObject<{
1382
1454
  } & {
1383
1455
  endpoint: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>>;
1384
1456
  }, "strip", z.ZodTypeAny, {
1385
- model?: string | null | undefined;
1457
+ web_search?: boolean | undefined;
1458
+ context?: string | null | undefined;
1459
+ artifacts?: string | undefined;
1386
1460
  endpoint?: string | null | undefined;
1387
- endpointType?: EModelEndpoint | null | undefined;
1388
- archivedAt?: string | null | undefined;
1389
- pinned?: boolean | undefined;
1390
- isShared?: boolean | undefined;
1461
+ instructions?: string | undefined;
1462
+ additional_instructions?: string | undefined;
1391
1463
  tools?: string[] | {
1392
1464
  name: string;
1393
1465
  pluginKey: string;
@@ -1406,6 +1478,17 @@ export declare const specsConfigSchema: z.ZodObject<{
1406
1478
  toolkit?: boolean | undefined;
1407
1479
  serverToolName?: string | undefined;
1408
1480
  }[] | undefined;
1481
+ model?: string | null | undefined;
1482
+ endpointType?: EModelEndpoint | null | undefined;
1483
+ archivedAt?: string | null | undefined;
1484
+ pinned?: boolean | undefined;
1485
+ isShared?: boolean | undefined;
1486
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1487
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1488
+ codeWorkspaces?: {
1489
+ environmentId: string;
1490
+ workspaceId: string;
1491
+ }[] | undefined;
1409
1492
  modelLabel?: string | null | undefined;
1410
1493
  userLabel?: string | undefined;
1411
1494
  promptPrefix?: string | null | undefined;
@@ -1425,8 +1508,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1425
1508
  thinkingBudget?: number | undefined;
1426
1509
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
1427
1510
  stream?: boolean | undefined;
1428
- artifacts?: string | undefined;
1429
- context?: string | null | undefined;
1430
1511
  examples?: {
1431
1512
  input: {
1432
1513
  content: string;
@@ -1445,18 +1526,17 @@ export declare const specsConfigSchema: z.ZodObject<{
1445
1526
  useResponsesApi?: boolean | undefined;
1446
1527
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1447
1528
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1448
- web_search?: boolean | undefined;
1449
1529
  url_context?: boolean | undefined;
1450
1530
  disableStreaming?: boolean | undefined;
1451
1531
  assistant_id?: string | undefined;
1452
1532
  agent_id?: string | undefined;
1453
1533
  subagentThread?: {
1534
+ subagentKind: "agent" | "graph";
1454
1535
  parentMessageId: string;
1455
1536
  rootConversationId: string;
1456
1537
  parentConversationId: string;
1457
1538
  parentToolCallId: string;
1458
1539
  subagentType: string;
1459
- subagentKind: "agent" | "graph";
1460
1540
  depth: number;
1461
1541
  parentAgentId?: string | undefined;
1462
1542
  } | undefined;
@@ -1487,8 +1567,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1487
1567
  } | null)[] | {
1488
1568
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
1489
1569
  } | null) | undefined;
1490
- instructions?: string | undefined;
1491
- additional_instructions?: string | undefined;
1492
1570
  append_current_datetime?: boolean | undefined;
1493
1571
  stop?: string[] | undefined;
1494
1572
  greeting?: string | undefined;
@@ -1496,12 +1574,12 @@ export declare const specsConfigSchema: z.ZodObject<{
1496
1574
  isTemporary?: boolean | undefined;
1497
1575
  fileTokenLimit?: number | undefined;
1498
1576
  }, {
1499
- model?: string | null | undefined;
1577
+ web_search?: boolean | undefined;
1578
+ context?: string | null | undefined;
1579
+ artifacts?: string | undefined;
1500
1580
  endpoint?: string | null | undefined;
1501
- endpointType?: EModelEndpoint | null | undefined;
1502
- archivedAt?: string | null | undefined;
1503
- pinned?: boolean | undefined;
1504
- isShared?: boolean | undefined;
1581
+ instructions?: string | undefined;
1582
+ additional_instructions?: string | undefined;
1505
1583
  tools?: string[] | {
1506
1584
  name: string;
1507
1585
  pluginKey: string;
@@ -1520,6 +1598,17 @@ export declare const specsConfigSchema: z.ZodObject<{
1520
1598
  toolkit?: boolean | undefined;
1521
1599
  serverToolName?: string | undefined;
1522
1600
  }[] | undefined;
1601
+ model?: string | null | undefined;
1602
+ endpointType?: EModelEndpoint | null | undefined;
1603
+ archivedAt?: string | null | undefined;
1604
+ pinned?: boolean | undefined;
1605
+ isShared?: boolean | undefined;
1606
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1607
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1608
+ codeWorkspaces?: {
1609
+ environmentId: string;
1610
+ workspaceId: string;
1611
+ }[] | undefined;
1523
1612
  modelLabel?: string | null | undefined;
1524
1613
  userLabel?: string | undefined;
1525
1614
  promptPrefix?: string | null | undefined;
@@ -1539,8 +1628,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1539
1628
  thinkingBudget?: string | number | undefined;
1540
1629
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
1541
1630
  stream?: boolean | undefined;
1542
- artifacts?: string | undefined;
1543
- context?: string | null | undefined;
1544
1631
  examples?: {
1545
1632
  input: {
1546
1633
  content: string;
@@ -1559,18 +1646,17 @@ export declare const specsConfigSchema: z.ZodObject<{
1559
1646
  useResponsesApi?: boolean | undefined;
1560
1647
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1561
1648
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1562
- web_search?: boolean | undefined;
1563
1649
  url_context?: boolean | undefined;
1564
1650
  disableStreaming?: boolean | undefined;
1565
1651
  assistant_id?: string | undefined;
1566
1652
  agent_id?: string | undefined;
1567
1653
  subagentThread?: {
1654
+ subagentKind: "agent" | "graph";
1568
1655
  parentMessageId: string;
1569
1656
  rootConversationId: string;
1570
1657
  parentConversationId: string;
1571
1658
  parentToolCallId: string;
1572
1659
  subagentType: string;
1573
- subagentKind: "agent" | "graph";
1574
1660
  depth: number;
1575
1661
  parentAgentId?: string | undefined;
1576
1662
  } | undefined;
@@ -1601,8 +1687,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1601
1687
  } | null)[] | {
1602
1688
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
1603
1689
  } | null) | undefined;
1604
- instructions?: string | undefined;
1605
- additional_instructions?: string | undefined;
1606
1690
  append_current_datetime?: boolean | undefined;
1607
1691
  stop?: string[] | undefined;
1608
1692
  greeting?: string | undefined;
@@ -1610,12 +1694,12 @@ export declare const specsConfigSchema: z.ZodObject<{
1610
1694
  isTemporary?: boolean | undefined;
1611
1695
  fileTokenLimit?: string | number | undefined;
1612
1696
  }>, {
1613
- model?: string | null | undefined;
1697
+ web_search?: boolean | undefined;
1698
+ context?: string | null | undefined;
1699
+ artifacts?: string | undefined;
1614
1700
  endpoint?: string | null | undefined;
1615
- endpointType?: EModelEndpoint | null | undefined;
1616
- archivedAt?: string | null | undefined;
1617
- pinned?: boolean | undefined;
1618
- isShared?: boolean | undefined;
1701
+ instructions?: string | undefined;
1702
+ additional_instructions?: string | undefined;
1619
1703
  tools?: string[] | {
1620
1704
  name: string;
1621
1705
  pluginKey: string;
@@ -1634,6 +1718,17 @@ export declare const specsConfigSchema: z.ZodObject<{
1634
1718
  toolkit?: boolean | undefined;
1635
1719
  serverToolName?: string | undefined;
1636
1720
  }[] | undefined;
1721
+ model?: string | null | undefined;
1722
+ endpointType?: EModelEndpoint | null | undefined;
1723
+ archivedAt?: string | null | undefined;
1724
+ pinned?: boolean | undefined;
1725
+ isShared?: boolean | undefined;
1726
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1727
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1728
+ codeWorkspaces?: {
1729
+ environmentId: string;
1730
+ workspaceId: string;
1731
+ }[] | undefined;
1637
1732
  modelLabel?: string | null | undefined;
1638
1733
  userLabel?: string | undefined;
1639
1734
  promptPrefix?: string | null | undefined;
@@ -1653,8 +1748,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1653
1748
  thinkingBudget?: number | undefined;
1654
1749
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
1655
1750
  stream?: boolean | undefined;
1656
- artifacts?: string | undefined;
1657
- context?: string | null | undefined;
1658
1751
  examples?: {
1659
1752
  input: {
1660
1753
  content: string;
@@ -1673,18 +1766,17 @@ export declare const specsConfigSchema: z.ZodObject<{
1673
1766
  useResponsesApi?: boolean | undefined;
1674
1767
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1675
1768
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1676
- web_search?: boolean | undefined;
1677
1769
  url_context?: boolean | undefined;
1678
1770
  disableStreaming?: boolean | undefined;
1679
1771
  assistant_id?: string | undefined;
1680
1772
  agent_id?: string | undefined;
1681
1773
  subagentThread?: {
1774
+ subagentKind: "agent" | "graph";
1682
1775
  parentMessageId: string;
1683
1776
  rootConversationId: string;
1684
1777
  parentConversationId: string;
1685
1778
  parentToolCallId: string;
1686
1779
  subagentType: string;
1687
- subagentKind: "agent" | "graph";
1688
1780
  depth: number;
1689
1781
  parentAgentId?: string | undefined;
1690
1782
  } | undefined;
@@ -1715,8 +1807,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1715
1807
  } | null)[] | {
1716
1808
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
1717
1809
  } | null) | undefined;
1718
- instructions?: string | undefined;
1719
- additional_instructions?: string | undefined;
1720
1810
  append_current_datetime?: boolean | undefined;
1721
1811
  stop?: string[] | undefined;
1722
1812
  greeting?: string | undefined;
@@ -1724,12 +1814,12 @@ export declare const specsConfigSchema: z.ZodObject<{
1724
1814
  isTemporary?: boolean | undefined;
1725
1815
  fileTokenLimit?: number | undefined;
1726
1816
  }, {
1727
- model?: string | null | undefined;
1817
+ web_search?: boolean | undefined;
1818
+ context?: string | null | undefined;
1819
+ artifacts?: string | undefined;
1728
1820
  endpoint?: string | null | undefined;
1729
- endpointType?: EModelEndpoint | null | undefined;
1730
- archivedAt?: string | null | undefined;
1731
- pinned?: boolean | undefined;
1732
- isShared?: boolean | undefined;
1821
+ instructions?: string | undefined;
1822
+ additional_instructions?: string | undefined;
1733
1823
  tools?: string[] | {
1734
1824
  name: string;
1735
1825
  pluginKey: string;
@@ -1748,6 +1838,17 @@ export declare const specsConfigSchema: z.ZodObject<{
1748
1838
  toolkit?: boolean | undefined;
1749
1839
  serverToolName?: string | undefined;
1750
1840
  }[] | undefined;
1841
+ model?: string | null | undefined;
1842
+ endpointType?: EModelEndpoint | null | undefined;
1843
+ archivedAt?: string | null | undefined;
1844
+ pinned?: boolean | undefined;
1845
+ isShared?: boolean | undefined;
1846
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
1847
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
1848
+ codeWorkspaces?: {
1849
+ environmentId: string;
1850
+ workspaceId: string;
1851
+ }[] | undefined;
1751
1852
  modelLabel?: string | null | undefined;
1752
1853
  userLabel?: string | undefined;
1753
1854
  promptPrefix?: string | null | undefined;
@@ -1767,8 +1868,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1767
1868
  thinkingBudget?: string | number | undefined;
1768
1869
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
1769
1870
  stream?: boolean | undefined;
1770
- artifacts?: string | undefined;
1771
- context?: string | null | undefined;
1772
1871
  examples?: {
1773
1872
  input: {
1774
1873
  content: string;
@@ -1787,18 +1886,17 @@ export declare const specsConfigSchema: z.ZodObject<{
1787
1886
  useResponsesApi?: boolean | undefined;
1788
1887
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1789
1888
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1790
- web_search?: boolean | undefined;
1791
1889
  url_context?: boolean | undefined;
1792
1890
  disableStreaming?: boolean | undefined;
1793
1891
  assistant_id?: string | undefined;
1794
1892
  agent_id?: string | undefined;
1795
1893
  subagentThread?: {
1894
+ subagentKind: "agent" | "graph";
1796
1895
  parentMessageId: string;
1797
1896
  rootConversationId: string;
1798
1897
  parentConversationId: string;
1799
1898
  parentToolCallId: string;
1800
1899
  subagentType: string;
1801
- subagentKind: "agent" | "graph";
1802
1900
  depth: number;
1803
1901
  parentAgentId?: string | undefined;
1804
1902
  } | undefined;
@@ -1829,8 +1927,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1829
1927
  } | null)[] | {
1830
1928
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
1831
1929
  } | null) | undefined;
1832
- instructions?: string | undefined;
1833
- additional_instructions?: string | undefined;
1834
1930
  append_current_datetime?: boolean | undefined;
1835
1931
  stop?: string[] | undefined;
1836
1932
  greeting?: string | undefined;
@@ -1865,34 +1961,39 @@ export declare const specsConfigSchema: z.ZodObject<{
1865
1961
  subagents: z.ZodOptional<z.ZodEffects<z.ZodObject<{
1866
1962
  enabled: z.ZodOptional<z.ZodBoolean>;
1867
1963
  allowSelf: z.ZodOptional<z.ZodBoolean>;
1964
+ shareFiles: z.ZodOptional<z.ZodBoolean>;
1868
1965
  agent_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1869
1966
  }, "strip", z.ZodTypeAny, {
1967
+ agent_ids?: string[] | undefined;
1870
1968
  enabled?: boolean | undefined;
1871
1969
  allowSelf?: boolean | undefined;
1872
- agent_ids?: string[] | undefined;
1970
+ shareFiles?: boolean | undefined;
1873
1971
  }, {
1972
+ agent_ids?: string[] | undefined;
1874
1973
  enabled?: boolean | undefined;
1875
1974
  allowSelf?: boolean | undefined;
1876
- agent_ids?: string[] | undefined;
1975
+ shareFiles?: boolean | undefined;
1877
1976
  }>, {
1977
+ agent_ids?: string[] | undefined;
1878
1978
  enabled?: boolean | undefined;
1879
1979
  allowSelf?: boolean | undefined;
1880
- agent_ids?: string[] | undefined;
1980
+ shareFiles?: boolean | undefined;
1881
1981
  }, {
1982
+ agent_ids?: string[] | undefined;
1882
1983
  enabled?: boolean | undefined;
1883
1984
  allowSelf?: boolean | undefined;
1884
- agent_ids?: string[] | undefined;
1985
+ shareFiles?: boolean | undefined;
1885
1986
  }>>;
1886
1987
  }, "strip", z.ZodTypeAny, {
1887
1988
  name: string;
1888
1989
  label: string;
1889
1990
  preset: {
1890
- model?: string | null | undefined;
1991
+ web_search?: boolean | undefined;
1992
+ context?: string | null | undefined;
1993
+ artifacts?: string | undefined;
1891
1994
  endpoint?: string | null | undefined;
1892
- endpointType?: EModelEndpoint | null | undefined;
1893
- archivedAt?: string | null | undefined;
1894
- pinned?: boolean | undefined;
1895
- isShared?: boolean | undefined;
1995
+ instructions?: string | undefined;
1996
+ additional_instructions?: string | undefined;
1896
1997
  tools?: string[] | {
1897
1998
  name: string;
1898
1999
  pluginKey: string;
@@ -1911,6 +2012,17 @@ export declare const specsConfigSchema: z.ZodObject<{
1911
2012
  toolkit?: boolean | undefined;
1912
2013
  serverToolName?: string | undefined;
1913
2014
  }[] | undefined;
2015
+ model?: string | null | undefined;
2016
+ endpointType?: EModelEndpoint | null | undefined;
2017
+ archivedAt?: string | null | undefined;
2018
+ pinned?: boolean | undefined;
2019
+ isShared?: boolean | undefined;
2020
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
2021
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
2022
+ codeWorkspaces?: {
2023
+ environmentId: string;
2024
+ workspaceId: string;
2025
+ }[] | undefined;
1914
2026
  modelLabel?: string | null | undefined;
1915
2027
  userLabel?: string | undefined;
1916
2028
  promptPrefix?: string | null | undefined;
@@ -1930,8 +2042,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1930
2042
  thinkingBudget?: number | undefined;
1931
2043
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
1932
2044
  stream?: boolean | undefined;
1933
- artifacts?: string | undefined;
1934
- context?: string | null | undefined;
1935
2045
  examples?: {
1936
2046
  input: {
1937
2047
  content: string;
@@ -1950,18 +2060,17 @@ export declare const specsConfigSchema: z.ZodObject<{
1950
2060
  useResponsesApi?: boolean | undefined;
1951
2061
  effort?: import("./schemas").AnthropicEffort | null | undefined;
1952
2062
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
1953
- web_search?: boolean | undefined;
1954
2063
  url_context?: boolean | undefined;
1955
2064
  disableStreaming?: boolean | undefined;
1956
2065
  assistant_id?: string | undefined;
1957
2066
  agent_id?: string | undefined;
1958
2067
  subagentThread?: {
2068
+ subagentKind: "agent" | "graph";
1959
2069
  parentMessageId: string;
1960
2070
  rootConversationId: string;
1961
2071
  parentConversationId: string;
1962
2072
  parentToolCallId: string;
1963
2073
  subagentType: string;
1964
- subagentKind: "agent" | "graph";
1965
2074
  depth: number;
1966
2075
  parentAgentId?: string | undefined;
1967
2076
  } | undefined;
@@ -1992,8 +2101,6 @@ export declare const specsConfigSchema: z.ZodObject<{
1992
2101
  } | null)[] | {
1993
2102
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
1994
2103
  } | null) | undefined;
1995
- instructions?: string | undefined;
1996
- additional_instructions?: string | undefined;
1997
2104
  append_current_datetime?: boolean | undefined;
1998
2105
  stop?: string[] | undefined;
1999
2106
  greeting?: string | undefined;
@@ -2004,42 +2111,43 @@ export declare const specsConfigSchema: z.ZodObject<{
2004
2111
  group?: string | undefined;
2005
2112
  description?: string | undefined;
2006
2113
  default?: boolean | undefined;
2114
+ memory?: boolean | undefined;
2007
2115
  artifacts?: string | boolean | undefined;
2116
+ skills?: boolean | string[] | undefined;
2117
+ subagents?: {
2118
+ agent_ids?: string[] | undefined;
2119
+ enabled?: boolean | undefined;
2120
+ allowSelf?: boolean | undefined;
2121
+ shareFiles?: boolean | undefined;
2122
+ } | undefined;
2123
+ conversation_starters?: string[] | undefined;
2008
2124
  iconURL?: string | undefined;
2009
2125
  order?: number | undefined;
2010
- skills?: boolean | string[] | undefined;
2011
2126
  softDefault?: boolean | undefined;
2012
2127
  groupIcon?: string | undefined;
2013
2128
  showIconInMenu?: boolean | undefined;
2014
2129
  showIconInHeader?: boolean | undefined;
2015
2130
  showOnLanding?: boolean | undefined;
2016
- conversation_starters?: string[] | undefined;
2017
2131
  showInMenu?: boolean | undefined;
2018
2132
  authType?: AuthType | undefined;
2019
2133
  hideBadgeRow?: boolean | undefined;
2020
2134
  webSearch?: boolean | undefined;
2021
2135
  fileSearch?: boolean | undefined;
2022
2136
  executeCode?: boolean | undefined;
2023
- memory?: boolean | undefined;
2024
2137
  askUserQuestion?: boolean | undefined;
2025
2138
  runInBackground?: boolean | string[] | undefined;
2026
2139
  describeIntent?: boolean | string[] | undefined;
2027
2140
  mcpServers?: string[] | undefined;
2028
- subagents?: {
2029
- enabled?: boolean | undefined;
2030
- allowSelf?: boolean | undefined;
2031
- agent_ids?: string[] | undefined;
2032
- } | undefined;
2033
2141
  }, {
2034
2142
  name: string;
2035
2143
  label: string;
2036
2144
  preset: {
2037
- model?: string | null | undefined;
2145
+ web_search?: boolean | undefined;
2146
+ context?: string | null | undefined;
2147
+ artifacts?: string | undefined;
2038
2148
  endpoint?: string | null | undefined;
2039
- endpointType?: EModelEndpoint | null | undefined;
2040
- archivedAt?: string | null | undefined;
2041
- pinned?: boolean | undefined;
2042
- isShared?: boolean | undefined;
2149
+ instructions?: string | undefined;
2150
+ additional_instructions?: string | undefined;
2043
2151
  tools?: string[] | {
2044
2152
  name: string;
2045
2153
  pluginKey: string;
@@ -2058,6 +2166,17 @@ export declare const specsConfigSchema: z.ZodObject<{
2058
2166
  toolkit?: boolean | undefined;
2059
2167
  serverToolName?: string | undefined;
2060
2168
  }[] | undefined;
2169
+ model?: string | null | undefined;
2170
+ endpointType?: EModelEndpoint | null | undefined;
2171
+ archivedAt?: string | null | undefined;
2172
+ pinned?: boolean | undefined;
2173
+ isShared?: boolean | undefined;
2174
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
2175
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
2176
+ codeWorkspaces?: {
2177
+ environmentId: string;
2178
+ workspaceId: string;
2179
+ }[] | undefined;
2061
2180
  modelLabel?: string | null | undefined;
2062
2181
  userLabel?: string | undefined;
2063
2182
  promptPrefix?: string | null | undefined;
@@ -2077,8 +2196,6 @@ export declare const specsConfigSchema: z.ZodObject<{
2077
2196
  thinkingBudget?: string | number | undefined;
2078
2197
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
2079
2198
  stream?: boolean | undefined;
2080
- artifacts?: string | undefined;
2081
- context?: string | null | undefined;
2082
2199
  examples?: {
2083
2200
  input: {
2084
2201
  content: string;
@@ -2097,18 +2214,17 @@ export declare const specsConfigSchema: z.ZodObject<{
2097
2214
  useResponsesApi?: boolean | undefined;
2098
2215
  effort?: import("./schemas").AnthropicEffort | null | undefined;
2099
2216
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
2100
- web_search?: boolean | undefined;
2101
2217
  url_context?: boolean | undefined;
2102
2218
  disableStreaming?: boolean | undefined;
2103
2219
  assistant_id?: string | undefined;
2104
2220
  agent_id?: string | undefined;
2105
2221
  subagentThread?: {
2222
+ subagentKind: "agent" | "graph";
2106
2223
  parentMessageId: string;
2107
2224
  rootConversationId: string;
2108
2225
  parentConversationId: string;
2109
2226
  parentToolCallId: string;
2110
2227
  subagentType: string;
2111
- subagentKind: "agent" | "graph";
2112
2228
  depth: number;
2113
2229
  parentAgentId?: string | undefined;
2114
2230
  } | undefined;
@@ -2139,8 +2255,6 @@ export declare const specsConfigSchema: z.ZodObject<{
2139
2255
  } | null)[] | {
2140
2256
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
2141
2257
  } | null) | undefined;
2142
- instructions?: string | undefined;
2143
- additional_instructions?: string | undefined;
2144
2258
  append_current_datetime?: boolean | undefined;
2145
2259
  stop?: string[] | undefined;
2146
2260
  greeting?: string | undefined;
@@ -2151,32 +2265,33 @@ export declare const specsConfigSchema: z.ZodObject<{
2151
2265
  group?: string | undefined;
2152
2266
  description?: string | undefined;
2153
2267
  default?: boolean | undefined;
2268
+ memory?: boolean | undefined;
2154
2269
  artifacts?: string | boolean | undefined;
2270
+ skills?: boolean | string[] | undefined;
2271
+ subagents?: {
2272
+ agent_ids?: string[] | undefined;
2273
+ enabled?: boolean | undefined;
2274
+ allowSelf?: boolean | undefined;
2275
+ shareFiles?: boolean | undefined;
2276
+ } | undefined;
2277
+ conversation_starters?: string[] | undefined;
2155
2278
  iconURL?: string | undefined;
2156
2279
  order?: number | undefined;
2157
- skills?: boolean | string[] | undefined;
2158
2280
  softDefault?: boolean | undefined;
2159
2281
  groupIcon?: string | undefined;
2160
2282
  showIconInMenu?: boolean | undefined;
2161
2283
  showIconInHeader?: boolean | undefined;
2162
2284
  showOnLanding?: boolean | undefined;
2163
- conversation_starters?: string[] | undefined;
2164
2285
  showInMenu?: boolean | undefined;
2165
2286
  authType?: AuthType | undefined;
2166
2287
  hideBadgeRow?: boolean | undefined;
2167
2288
  webSearch?: boolean | undefined;
2168
2289
  fileSearch?: boolean | undefined;
2169
2290
  executeCode?: boolean | undefined;
2170
- memory?: boolean | undefined;
2171
2291
  askUserQuestion?: boolean | undefined;
2172
2292
  runInBackground?: boolean | string[] | undefined;
2173
2293
  describeIntent?: boolean | string[] | undefined;
2174
2294
  mcpServers?: string[] | undefined;
2175
- subagents?: {
2176
- enabled?: boolean | undefined;
2177
- allowSelf?: boolean | undefined;
2178
- agent_ids?: string[] | undefined;
2179
- } | undefined;
2180
2295
  }>, "many">>;
2181
2296
  addedEndpoints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<typeof EModelEndpoint>]>, "many">>;
2182
2297
  }, "strip", z.ZodTypeAny, {
@@ -2184,12 +2299,12 @@ export declare const specsConfigSchema: z.ZodObject<{
2184
2299
  name: string;
2185
2300
  label: string;
2186
2301
  preset: {
2187
- model?: string | null | undefined;
2302
+ web_search?: boolean | undefined;
2303
+ context?: string | null | undefined;
2304
+ artifacts?: string | undefined;
2188
2305
  endpoint?: string | null | undefined;
2189
- endpointType?: EModelEndpoint | null | undefined;
2190
- archivedAt?: string | null | undefined;
2191
- pinned?: boolean | undefined;
2192
- isShared?: boolean | undefined;
2306
+ instructions?: string | undefined;
2307
+ additional_instructions?: string | undefined;
2193
2308
  tools?: string[] | {
2194
2309
  name: string;
2195
2310
  pluginKey: string;
@@ -2208,6 +2323,17 @@ export declare const specsConfigSchema: z.ZodObject<{
2208
2323
  toolkit?: boolean | undefined;
2209
2324
  serverToolName?: string | undefined;
2210
2325
  }[] | undefined;
2326
+ model?: string | null | undefined;
2327
+ endpointType?: EModelEndpoint | null | undefined;
2328
+ archivedAt?: string | null | undefined;
2329
+ pinned?: boolean | undefined;
2330
+ isShared?: boolean | undefined;
2331
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
2332
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
2333
+ codeWorkspaces?: {
2334
+ environmentId: string;
2335
+ workspaceId: string;
2336
+ }[] | undefined;
2211
2337
  modelLabel?: string | null | undefined;
2212
2338
  userLabel?: string | undefined;
2213
2339
  promptPrefix?: string | null | undefined;
@@ -2227,8 +2353,6 @@ export declare const specsConfigSchema: z.ZodObject<{
2227
2353
  thinkingBudget?: number | undefined;
2228
2354
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
2229
2355
  stream?: boolean | undefined;
2230
- artifacts?: string | undefined;
2231
- context?: string | null | undefined;
2232
2356
  examples?: {
2233
2357
  input: {
2234
2358
  content: string;
@@ -2247,18 +2371,17 @@ export declare const specsConfigSchema: z.ZodObject<{
2247
2371
  useResponsesApi?: boolean | undefined;
2248
2372
  effort?: import("./schemas").AnthropicEffort | null | undefined;
2249
2373
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
2250
- web_search?: boolean | undefined;
2251
2374
  url_context?: boolean | undefined;
2252
2375
  disableStreaming?: boolean | undefined;
2253
2376
  assistant_id?: string | undefined;
2254
2377
  agent_id?: string | undefined;
2255
2378
  subagentThread?: {
2379
+ subagentKind: "agent" | "graph";
2256
2380
  parentMessageId: string;
2257
2381
  rootConversationId: string;
2258
2382
  parentConversationId: string;
2259
2383
  parentToolCallId: string;
2260
2384
  subagentType: string;
2261
- subagentKind: "agent" | "graph";
2262
2385
  depth: number;
2263
2386
  parentAgentId?: string | undefined;
2264
2387
  } | undefined;
@@ -2289,8 +2412,6 @@ export declare const specsConfigSchema: z.ZodObject<{
2289
2412
  } | null)[] | {
2290
2413
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
2291
2414
  } | null) | undefined;
2292
- instructions?: string | undefined;
2293
- additional_instructions?: string | undefined;
2294
2415
  append_current_datetime?: boolean | undefined;
2295
2416
  stop?: string[] | undefined;
2296
2417
  greeting?: string | undefined;
@@ -2301,32 +2422,33 @@ export declare const specsConfigSchema: z.ZodObject<{
2301
2422
  group?: string | undefined;
2302
2423
  description?: string | undefined;
2303
2424
  default?: boolean | undefined;
2425
+ memory?: boolean | undefined;
2304
2426
  artifacts?: string | boolean | undefined;
2427
+ skills?: boolean | string[] | undefined;
2428
+ subagents?: {
2429
+ agent_ids?: string[] | undefined;
2430
+ enabled?: boolean | undefined;
2431
+ allowSelf?: boolean | undefined;
2432
+ shareFiles?: boolean | undefined;
2433
+ } | undefined;
2434
+ conversation_starters?: string[] | undefined;
2305
2435
  iconURL?: string | undefined;
2306
2436
  order?: number | undefined;
2307
- skills?: boolean | string[] | undefined;
2308
2437
  softDefault?: boolean | undefined;
2309
2438
  groupIcon?: string | undefined;
2310
2439
  showIconInMenu?: boolean | undefined;
2311
2440
  showIconInHeader?: boolean | undefined;
2312
2441
  showOnLanding?: boolean | undefined;
2313
- conversation_starters?: string[] | undefined;
2314
2442
  showInMenu?: boolean | undefined;
2315
2443
  authType?: AuthType | undefined;
2316
2444
  hideBadgeRow?: boolean | undefined;
2317
2445
  webSearch?: boolean | undefined;
2318
2446
  fileSearch?: boolean | undefined;
2319
2447
  executeCode?: boolean | undefined;
2320
- memory?: boolean | undefined;
2321
2448
  askUserQuestion?: boolean | undefined;
2322
2449
  runInBackground?: boolean | string[] | undefined;
2323
2450
  describeIntent?: boolean | string[] | undefined;
2324
2451
  mcpServers?: string[] | undefined;
2325
- subagents?: {
2326
- enabled?: boolean | undefined;
2327
- allowSelf?: boolean | undefined;
2328
- agent_ids?: string[] | undefined;
2329
- } | undefined;
2330
2452
  }[];
2331
2453
  enforce: boolean;
2332
2454
  prioritize: boolean;
@@ -2336,12 +2458,12 @@ export declare const specsConfigSchema: z.ZodObject<{
2336
2458
  name: string;
2337
2459
  label: string;
2338
2460
  preset: {
2339
- model?: string | null | undefined;
2461
+ web_search?: boolean | undefined;
2462
+ context?: string | null | undefined;
2463
+ artifacts?: string | undefined;
2340
2464
  endpoint?: string | null | undefined;
2341
- endpointType?: EModelEndpoint | null | undefined;
2342
- archivedAt?: string | null | undefined;
2343
- pinned?: boolean | undefined;
2344
- isShared?: boolean | undefined;
2465
+ instructions?: string | undefined;
2466
+ additional_instructions?: string | undefined;
2345
2467
  tools?: string[] | {
2346
2468
  name: string;
2347
2469
  pluginKey: string;
@@ -2360,6 +2482,17 @@ export declare const specsConfigSchema: z.ZodObject<{
2360
2482
  toolkit?: boolean | undefined;
2361
2483
  serverToolName?: string | undefined;
2362
2484
  }[] | undefined;
2485
+ model?: string | null | undefined;
2486
+ endpointType?: EModelEndpoint | null | undefined;
2487
+ archivedAt?: string | null | undefined;
2488
+ pinned?: boolean | undefined;
2489
+ isShared?: boolean | undefined;
2490
+ codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
2491
+ codeEnvironmentMode?: "attached" | "without_attached" | undefined;
2492
+ codeWorkspaces?: {
2493
+ environmentId: string;
2494
+ workspaceId: string;
2495
+ }[] | undefined;
2363
2496
  modelLabel?: string | null | undefined;
2364
2497
  userLabel?: string | undefined;
2365
2498
  promptPrefix?: string | null | undefined;
@@ -2379,8 +2512,6 @@ export declare const specsConfigSchema: z.ZodObject<{
2379
2512
  thinkingBudget?: string | number | undefined;
2380
2513
  thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
2381
2514
  stream?: boolean | undefined;
2382
- artifacts?: string | undefined;
2383
- context?: string | null | undefined;
2384
2515
  examples?: {
2385
2516
  input: {
2386
2517
  content: string;
@@ -2399,18 +2530,17 @@ export declare const specsConfigSchema: z.ZodObject<{
2399
2530
  useResponsesApi?: boolean | undefined;
2400
2531
  effort?: import("./schemas").AnthropicEffort | null | undefined;
2401
2532
  thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
2402
- web_search?: boolean | undefined;
2403
2533
  url_context?: boolean | undefined;
2404
2534
  disableStreaming?: boolean | undefined;
2405
2535
  assistant_id?: string | undefined;
2406
2536
  agent_id?: string | undefined;
2407
2537
  subagentThread?: {
2538
+ subagentKind: "agent" | "graph";
2408
2539
  parentMessageId: string;
2409
2540
  rootConversationId: string;
2410
2541
  parentConversationId: string;
2411
2542
  parentToolCallId: string;
2412
2543
  subagentType: string;
2413
- subagentKind: "agent" | "graph";
2414
2544
  depth: number;
2415
2545
  parentAgentId?: string | undefined;
2416
2546
  } | undefined;
@@ -2441,8 +2571,6 @@ export declare const specsConfigSchema: z.ZodObject<{
2441
2571
  } | null)[] | {
2442
2572
  [key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
2443
2573
  } | null) | undefined;
2444
- instructions?: string | undefined;
2445
- additional_instructions?: string | undefined;
2446
2574
  append_current_datetime?: boolean | undefined;
2447
2575
  stop?: string[] | undefined;
2448
2576
  greeting?: string | undefined;
@@ -2453,32 +2581,33 @@ export declare const specsConfigSchema: z.ZodObject<{
2453
2581
  group?: string | undefined;
2454
2582
  description?: string | undefined;
2455
2583
  default?: boolean | undefined;
2584
+ memory?: boolean | undefined;
2456
2585
  artifacts?: string | boolean | undefined;
2586
+ skills?: boolean | string[] | undefined;
2587
+ subagents?: {
2588
+ agent_ids?: string[] | undefined;
2589
+ enabled?: boolean | undefined;
2590
+ allowSelf?: boolean | undefined;
2591
+ shareFiles?: boolean | undefined;
2592
+ } | undefined;
2593
+ conversation_starters?: string[] | undefined;
2457
2594
  iconURL?: string | undefined;
2458
2595
  order?: number | undefined;
2459
- skills?: boolean | string[] | undefined;
2460
2596
  softDefault?: boolean | undefined;
2461
2597
  groupIcon?: string | undefined;
2462
2598
  showIconInMenu?: boolean | undefined;
2463
2599
  showIconInHeader?: boolean | undefined;
2464
2600
  showOnLanding?: boolean | undefined;
2465
- conversation_starters?: string[] | undefined;
2466
2601
  showInMenu?: boolean | undefined;
2467
2602
  authType?: AuthType | undefined;
2468
2603
  hideBadgeRow?: boolean | undefined;
2469
2604
  webSearch?: boolean | undefined;
2470
2605
  fileSearch?: boolean | undefined;
2471
2606
  executeCode?: boolean | undefined;
2472
- memory?: boolean | undefined;
2473
2607
  askUserQuestion?: boolean | undefined;
2474
2608
  runInBackground?: boolean | string[] | undefined;
2475
2609
  describeIntent?: boolean | string[] | undefined;
2476
2610
  mcpServers?: string[] | undefined;
2477
- subagents?: {
2478
- enabled?: boolean | undefined;
2479
- allowSelf?: boolean | undefined;
2480
- agent_ids?: string[] | undefined;
2481
- } | undefined;
2482
2611
  }[] | undefined;
2483
2612
  enforce?: boolean | undefined;
2484
2613
  prioritize?: boolean | undefined;