librechat-data-provider 0.8.509 → 0.8.522

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 (61) hide show
  1. package/dist/{data-service-BsdHkdKS.mjs → data-service-CaB7saTP.mjs} +2175 -113
  2. package/dist/data-service-CaB7saTP.mjs.map +1 -0
  3. package/dist/{data-service-XTxx76uB.js → data-service-D5kHzBt-.js} +2806 -150
  4. package/dist/data-service-D5kHzBt-.js.map +1 -0
  5. package/dist/index.js +1403 -92
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +1248 -93
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/react-query/index.js +2 -1
  10. package/dist/react-query/index.js.map +1 -1
  11. package/dist/react-query/index.mjs +2 -1
  12. package/dist/react-query/index.mjs.map +1 -1
  13. package/dist/types/accessPermissions.d.ts +4 -0
  14. package/dist/types/actions.d.ts +3 -3
  15. package/dist/types/agentToolOptions.d.ts +11 -0
  16. package/dist/types/api-endpoints.d.ts +28 -2
  17. package/dist/types/bedrock.d.ts +220 -0
  18. package/dist/types/cadence.d.ts +33 -0
  19. package/dist/types/codeEnvRef.d.ts +21 -0
  20. package/dist/types/config.d.ts +13457 -1573
  21. package/dist/types/data-service.d.ts +65 -14
  22. package/dist/types/feedback.d.ts +9 -1
  23. package/dist/types/file-config.d.ts +42 -5
  24. package/dist/types/filters.d.ts +1422 -0
  25. package/dist/types/generate.d.ts +85 -1
  26. package/dist/types/index.d.ts +10 -0
  27. package/dist/types/keys.d.ts +29 -4
  28. package/dist/types/langchain.d.ts +4 -0
  29. package/dist/types/limits.d.ts +13 -0
  30. package/dist/types/mcp.d.ts +338 -228
  31. package/dist/types/messages.d.ts +13 -0
  32. package/dist/types/models.d.ts +840 -68
  33. package/dist/types/parameterSettings.d.ts +7 -3
  34. package/dist/types/parsers.d.ts +13 -1
  35. package/dist/types/permissions.d.ts +42 -1
  36. package/dist/types/providers.d.ts +36 -0
  37. package/dist/types/react-query/react-query-service.d.ts +2 -7
  38. package/dist/types/request.d.ts +4 -2
  39. package/dist/types/roles.d.ts +34 -0
  40. package/dist/types/runSteps.d.ts +59 -0
  41. package/dist/types/schemas.d.ts +1358 -34
  42. package/dist/types/stateful-code.d.ts +7 -0
  43. package/dist/types/types/agents.d.ts +303 -8
  44. package/dist/types/types/assistants.d.ts +170 -7
  45. package/dist/types/types/files.d.ts +29 -8
  46. package/dist/types/types/index.d.ts +2 -0
  47. package/dist/types/types/insights.d.ts +62 -0
  48. package/dist/types/types/mcpServers.d.ts +25 -0
  49. package/dist/types/types/mutations.d.ts +2 -0
  50. package/dist/types/types/queries.d.ts +47 -5
  51. package/dist/types/types/queuedTurns.d.ts +870 -0
  52. package/dist/types/types/runs.d.ts +206 -26
  53. package/dist/types/types/schedules.d.ts +306 -0
  54. package/dist/types/types/skills.d.ts +34 -6
  55. package/dist/types/types/subagents.d.ts +159 -0
  56. package/dist/types/types/web.d.ts +12 -2
  57. package/dist/types/types.d.ts +175 -2
  58. package/dist/types/upload.d.ts +2 -0
  59. package/package.json +7 -5
  60. package/dist/data-service-BsdHkdKS.mjs.map +0 -1
  61. package/dist/data-service-XTxx76uB.js.map +0 -1
@@ -1,7 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  import { TokenExchangeMethodEnum } from './types/agents';
3
+ export declare const MCP_SERVER_TITLE_PATTERN: RegExp;
4
+ export declare const MCP_SERVER_TITLE_ERROR = "Title must start with a letter or number and can include spaces, hyphens, and apostrophes";
5
+ export declare function isProcessMCPServerField(field: string): boolean;
6
+ export declare function isProcessMCPServerConfig(value: unknown): boolean;
7
+ export declare function hasProcessMCPServerConfig(value: unknown): boolean;
3
8
  export declare const StdioOptionsSchema: z.ZodObject<{
4
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
9
+ /** Display name for the MCP server */
5
10
  title: z.ZodOptional<z.ZodString>;
6
11
  /** Description of the MCP server */
7
12
  description: z.ZodOptional<z.ZodString>;
@@ -17,7 +22,14 @@ export declare const StdioOptionsSchema: z.ZodObject<{
17
22
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
18
23
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
19
24
  initTimeout: z.ZodOptional<z.ZodNumber>;
20
- /** Controls visibility in chat dropdown menu (MCPSelect) */
25
+ /**
26
+ * Whether the server is offered in chat.
27
+ *
28
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
29
+ * chat selection a request carries, so a stale or hand-written request cannot
30
+ * reach it either. It does not restrict agents, nor a server a model spec
31
+ * pins through `mcpServers` — both are the operator's own choice.
32
+ */
21
33
  chatMenu: z.ZodOptional<z.ZodBoolean>;
22
34
  /**
23
35
  * Controls server instruction behavior:
@@ -104,12 +116,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
104
116
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
105
117
  }, "strip", z.ZodTypeAny, {
106
118
  authorization_url?: string | undefined;
119
+ scope?: string | undefined;
120
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
107
121
  token_url?: string | undefined;
108
122
  client_id?: string | undefined;
109
123
  client_secret?: string | undefined;
110
- scope?: string | undefined;
111
124
  redirect_uri?: string | undefined;
112
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
113
125
  grant_types_supported?: string[] | undefined;
114
126
  token_endpoint_auth_methods_supported?: string[] | undefined;
115
127
  response_types_supported?: string[] | undefined;
@@ -121,12 +133,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
121
133
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
122
134
  }, {
123
135
  authorization_url?: string | undefined;
136
+ scope?: string | undefined;
137
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
124
138
  token_url?: string | undefined;
125
139
  client_id?: string | undefined;
126
140
  client_secret?: string | undefined;
127
- scope?: string | undefined;
128
141
  redirect_uri?: string | undefined;
129
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
130
142
  grant_types_supported?: string[] | undefined;
131
143
  token_endpoint_auth_methods_supported?: string[] | undefined;
132
144
  response_types_supported?: string[] | undefined;
@@ -138,12 +150,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
138
150
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
139
151
  }>, {
140
152
  authorization_url?: string | undefined;
153
+ scope?: string | undefined;
154
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
141
155
  token_url?: string | undefined;
142
156
  client_id?: string | undefined;
143
157
  client_secret?: string | undefined;
144
- scope?: string | undefined;
145
158
  redirect_uri?: string | undefined;
146
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
147
159
  grant_types_supported?: string[] | undefined;
148
160
  token_endpoint_auth_methods_supported?: string[] | undefined;
149
161
  response_types_supported?: string[] | undefined;
@@ -155,12 +167,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
155
167
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
156
168
  }, {
157
169
  authorization_url?: string | undefined;
170
+ scope?: string | undefined;
171
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
158
172
  token_url?: string | undefined;
159
173
  client_id?: string | undefined;
160
174
  client_secret?: string | undefined;
161
- scope?: string | undefined;
162
175
  redirect_uri?: string | undefined;
163
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
164
176
  grant_types_supported?: string[] | undefined;
165
177
  token_endpoint_auth_methods_supported?: string[] | undefined;
166
178
  response_types_supported?: string[] | undefined;
@@ -240,6 +252,11 @@ export declare const StdioOptionsSchema: z.ZodObject<{
240
252
  * Defaults to "inherit".
241
253
  */
242
254
  stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
255
+ /**
256
+ * Working directory for the spawned process. Supplied by Agent Plugins
257
+ * packages, which resolve and contain the path before it reaches this schema.
258
+ */
259
+ cwd: z.ZodOptional<z.ZodString>;
243
260
  }, "strip", z.ZodTypeAny, {
244
261
  type: "stdio";
245
262
  command: string;
@@ -247,22 +264,22 @@ export declare const StdioOptionsSchema: z.ZodObject<{
247
264
  description?: string | undefined;
248
265
  title?: string | undefined;
249
266
  chatMenu?: boolean | undefined;
267
+ timeout?: number | undefined;
250
268
  env?: Record<string, string> | undefined;
251
269
  startup?: boolean | undefined;
252
270
  iconPath?: string | undefined;
253
- timeout?: number | undefined;
254
271
  sseReadTimeout?: number | undefined;
255
272
  initTimeout?: number | undefined;
256
273
  serverInstructions?: string | boolean | undefined;
257
274
  requiresOAuth?: boolean | undefined;
258
275
  oauth?: {
259
276
  authorization_url?: string | undefined;
277
+ scope?: string | undefined;
278
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
260
279
  token_url?: string | undefined;
261
280
  client_id?: string | undefined;
262
281
  client_secret?: string | undefined;
263
- scope?: string | undefined;
264
282
  redirect_uri?: string | undefined;
265
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
266
283
  grant_types_supported?: string[] | undefined;
267
284
  token_endpoint_auth_methods_supported?: string[] | undefined;
268
285
  response_types_supported?: string[] | undefined;
@@ -285,8 +302,9 @@ export declare const StdioOptionsSchema: z.ZodObject<{
285
302
  title: string;
286
303
  sensitive?: boolean | undefined;
287
304
  }> | undefined;
288
- obo?: undefined;
305
+ cwd?: string | undefined;
289
306
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
307
+ obo?: undefined;
290
308
  }, {
291
309
  command: string;
292
310
  args: string[];
@@ -294,22 +312,22 @@ export declare const StdioOptionsSchema: z.ZodObject<{
294
312
  description?: string | undefined;
295
313
  title?: string | undefined;
296
314
  chatMenu?: boolean | undefined;
315
+ timeout?: number | undefined;
297
316
  env?: Record<string, string> | undefined;
298
317
  startup?: boolean | undefined;
299
318
  iconPath?: string | undefined;
300
- timeout?: number | undefined;
301
319
  sseReadTimeout?: number | undefined;
302
320
  initTimeout?: number | undefined;
303
321
  serverInstructions?: string | boolean | undefined;
304
322
  requiresOAuth?: boolean | undefined;
305
323
  oauth?: {
306
324
  authorization_url?: string | undefined;
325
+ scope?: string | undefined;
326
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
307
327
  token_url?: string | undefined;
308
328
  client_id?: string | undefined;
309
329
  client_secret?: string | undefined;
310
- scope?: string | undefined;
311
330
  redirect_uri?: string | undefined;
312
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
313
331
  grant_types_supported?: string[] | undefined;
314
332
  token_endpoint_auth_methods_supported?: string[] | undefined;
315
333
  response_types_supported?: string[] | undefined;
@@ -332,11 +350,12 @@ export declare const StdioOptionsSchema: z.ZodObject<{
332
350
  title: string;
333
351
  sensitive?: boolean | undefined;
334
352
  }> | undefined;
335
- obo?: undefined;
353
+ cwd?: string | undefined;
336
354
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
355
+ obo?: undefined;
337
356
  }>;
338
357
  export declare const WebSocketOptionsSchema: z.ZodObject<{
339
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
358
+ /** Display name for the MCP server */
340
359
  title: z.ZodOptional<z.ZodString>;
341
360
  /** Description of the MCP server */
342
361
  description: z.ZodOptional<z.ZodString>;
@@ -352,7 +371,14 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
352
371
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
353
372
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
354
373
  initTimeout: z.ZodOptional<z.ZodNumber>;
355
- /** Controls visibility in chat dropdown menu (MCPSelect) */
374
+ /**
375
+ * Whether the server is offered in chat.
376
+ *
377
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
378
+ * chat selection a request carries, so a stale or hand-written request cannot
379
+ * reach it either. It does not restrict agents, nor a server a model spec
380
+ * pins through `mcpServers` — both are the operator's own choice.
381
+ */
356
382
  chatMenu: z.ZodOptional<z.ZodBoolean>;
357
383
  /**
358
384
  * Controls server instruction behavior:
@@ -439,12 +465,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
439
465
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
440
466
  }, "strip", z.ZodTypeAny, {
441
467
  authorization_url?: string | undefined;
468
+ scope?: string | undefined;
469
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
442
470
  token_url?: string | undefined;
443
471
  client_id?: string | undefined;
444
472
  client_secret?: string | undefined;
445
- scope?: string | undefined;
446
473
  redirect_uri?: string | undefined;
447
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
448
474
  grant_types_supported?: string[] | undefined;
449
475
  token_endpoint_auth_methods_supported?: string[] | undefined;
450
476
  response_types_supported?: string[] | undefined;
@@ -456,12 +482,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
456
482
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
457
483
  }, {
458
484
  authorization_url?: string | undefined;
485
+ scope?: string | undefined;
486
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
459
487
  token_url?: string | undefined;
460
488
  client_id?: string | undefined;
461
489
  client_secret?: string | undefined;
462
- scope?: string | undefined;
463
490
  redirect_uri?: string | undefined;
464
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
465
491
  grant_types_supported?: string[] | undefined;
466
492
  token_endpoint_auth_methods_supported?: string[] | undefined;
467
493
  response_types_supported?: string[] | undefined;
@@ -473,12 +499,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
473
499
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
474
500
  }>, {
475
501
  authorization_url?: string | undefined;
502
+ scope?: string | undefined;
503
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
476
504
  token_url?: string | undefined;
477
505
  client_id?: string | undefined;
478
506
  client_secret?: string | undefined;
479
- scope?: string | undefined;
480
507
  redirect_uri?: string | undefined;
481
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
482
508
  grant_types_supported?: string[] | undefined;
483
509
  token_endpoint_auth_methods_supported?: string[] | undefined;
484
510
  response_types_supported?: string[] | undefined;
@@ -490,12 +516,12 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
490
516
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
491
517
  }, {
492
518
  authorization_url?: string | undefined;
519
+ scope?: string | undefined;
520
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
493
521
  token_url?: string | undefined;
494
522
  client_id?: string | undefined;
495
523
  client_secret?: string | undefined;
496
- scope?: string | undefined;
497
524
  redirect_uri?: string | undefined;
498
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
499
525
  grant_types_supported?: string[] | undefined;
500
526
  token_endpoint_auth_methods_supported?: string[] | undefined;
501
527
  response_types_supported?: string[] | undefined;
@@ -561,21 +587,21 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
561
587
  description?: string | undefined;
562
588
  title?: string | undefined;
563
589
  chatMenu?: boolean | undefined;
590
+ timeout?: number | undefined;
564
591
  startup?: boolean | undefined;
565
592
  iconPath?: string | undefined;
566
- timeout?: number | undefined;
567
593
  sseReadTimeout?: number | undefined;
568
594
  initTimeout?: number | undefined;
569
595
  serverInstructions?: string | boolean | undefined;
570
596
  requiresOAuth?: boolean | undefined;
571
597
  oauth?: {
572
598
  authorization_url?: string | undefined;
599
+ scope?: string | undefined;
600
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
573
601
  token_url?: string | undefined;
574
602
  client_id?: string | undefined;
575
603
  client_secret?: string | undefined;
576
- scope?: string | undefined;
577
604
  redirect_uri?: string | undefined;
578
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
579
605
  grant_types_supported?: string[] | undefined;
580
606
  token_endpoint_auth_methods_supported?: string[] | undefined;
581
607
  response_types_supported?: string[] | undefined;
@@ -605,21 +631,21 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
605
631
  description?: string | undefined;
606
632
  title?: string | undefined;
607
633
  chatMenu?: boolean | undefined;
634
+ timeout?: number | undefined;
608
635
  startup?: boolean | undefined;
609
636
  iconPath?: string | undefined;
610
- timeout?: number | undefined;
611
637
  sseReadTimeout?: number | undefined;
612
638
  initTimeout?: number | undefined;
613
639
  serverInstructions?: string | boolean | undefined;
614
640
  requiresOAuth?: boolean | undefined;
615
641
  oauth?: {
616
642
  authorization_url?: string | undefined;
643
+ scope?: string | undefined;
644
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
617
645
  token_url?: string | undefined;
618
646
  client_id?: string | undefined;
619
647
  client_secret?: string | undefined;
620
- scope?: string | undefined;
621
648
  redirect_uri?: string | undefined;
622
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
623
649
  grant_types_supported?: string[] | undefined;
624
650
  token_endpoint_auth_methods_supported?: string[] | undefined;
625
651
  response_types_supported?: string[] | undefined;
@@ -645,7 +671,7 @@ export declare const WebSocketOptionsSchema: z.ZodObject<{
645
671
  obo?: undefined;
646
672
  }>;
647
673
  export declare const SSEOptionsSchema: z.ZodObject<{
648
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
674
+ /** Display name for the MCP server */
649
675
  title: z.ZodOptional<z.ZodString>;
650
676
  /** Description of the MCP server */
651
677
  description: z.ZodOptional<z.ZodString>;
@@ -661,7 +687,14 @@ export declare const SSEOptionsSchema: z.ZodObject<{
661
687
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
662
688
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
663
689
  initTimeout: z.ZodOptional<z.ZodNumber>;
664
- /** Controls visibility in chat dropdown menu (MCPSelect) */
690
+ /**
691
+ * Whether the server is offered in chat.
692
+ *
693
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
694
+ * chat selection a request carries, so a stale or hand-written request cannot
695
+ * reach it either. It does not restrict agents, nor a server a model spec
696
+ * pins through `mcpServers` — both are the operator's own choice.
697
+ */
665
698
  chatMenu: z.ZodOptional<z.ZodBoolean>;
666
699
  /**
667
700
  * Controls server instruction behavior:
@@ -748,12 +781,12 @@ export declare const SSEOptionsSchema: z.ZodObject<{
748
781
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
749
782
  }, "strip", z.ZodTypeAny, {
750
783
  authorization_url?: string | undefined;
784
+ scope?: string | undefined;
785
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
751
786
  token_url?: string | undefined;
752
787
  client_id?: string | undefined;
753
788
  client_secret?: string | undefined;
754
- scope?: string | undefined;
755
789
  redirect_uri?: string | undefined;
756
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
757
790
  grant_types_supported?: string[] | undefined;
758
791
  token_endpoint_auth_methods_supported?: string[] | undefined;
759
792
  response_types_supported?: string[] | undefined;
@@ -765,12 +798,12 @@ export declare const SSEOptionsSchema: z.ZodObject<{
765
798
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
766
799
  }, {
767
800
  authorization_url?: string | undefined;
801
+ scope?: string | undefined;
802
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
768
803
  token_url?: string | undefined;
769
804
  client_id?: string | undefined;
770
805
  client_secret?: string | undefined;
771
- scope?: string | undefined;
772
806
  redirect_uri?: string | undefined;
773
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
774
807
  grant_types_supported?: string[] | undefined;
775
808
  token_endpoint_auth_methods_supported?: string[] | undefined;
776
809
  response_types_supported?: string[] | undefined;
@@ -782,12 +815,12 @@ export declare const SSEOptionsSchema: z.ZodObject<{
782
815
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
783
816
  }>, {
784
817
  authorization_url?: string | undefined;
818
+ scope?: string | undefined;
819
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
785
820
  token_url?: string | undefined;
786
821
  client_id?: string | undefined;
787
822
  client_secret?: string | undefined;
788
- scope?: string | undefined;
789
823
  redirect_uri?: string | undefined;
790
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
791
824
  grant_types_supported?: string[] | undefined;
792
825
  token_endpoint_auth_methods_supported?: string[] | undefined;
793
826
  response_types_supported?: string[] | undefined;
@@ -799,12 +832,12 @@ export declare const SSEOptionsSchema: z.ZodObject<{
799
832
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
800
833
  }, {
801
834
  authorization_url?: string | undefined;
835
+ scope?: string | undefined;
836
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
802
837
  token_url?: string | undefined;
803
838
  client_id?: string | undefined;
804
839
  client_secret?: string | undefined;
805
- scope?: string | undefined;
806
840
  redirect_uri?: string | undefined;
807
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
808
841
  grant_types_supported?: string[] | undefined;
809
842
  token_endpoint_auth_methods_supported?: string[] | undefined;
810
843
  response_types_supported?: string[] | undefined;
@@ -887,21 +920,21 @@ export declare const SSEOptionsSchema: z.ZodObject<{
887
920
  description?: string | undefined;
888
921
  title?: string | undefined;
889
922
  chatMenu?: boolean | undefined;
923
+ timeout?: number | undefined;
890
924
  startup?: boolean | undefined;
891
925
  iconPath?: string | undefined;
892
- timeout?: number | undefined;
893
926
  sseReadTimeout?: number | undefined;
894
927
  initTimeout?: number | undefined;
895
928
  serverInstructions?: string | boolean | undefined;
896
929
  requiresOAuth?: boolean | undefined;
897
930
  oauth?: {
898
931
  authorization_url?: string | undefined;
932
+ scope?: string | undefined;
933
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
899
934
  token_url?: string | undefined;
900
935
  client_id?: string | undefined;
901
936
  client_secret?: string | undefined;
902
- scope?: string | undefined;
903
937
  redirect_uri?: string | undefined;
904
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
905
938
  grant_types_supported?: string[] | undefined;
906
939
  token_endpoint_auth_methods_supported?: string[] | undefined;
907
940
  response_types_supported?: string[] | undefined;
@@ -935,21 +968,21 @@ export declare const SSEOptionsSchema: z.ZodObject<{
935
968
  description?: string | undefined;
936
969
  title?: string | undefined;
937
970
  chatMenu?: boolean | undefined;
971
+ timeout?: number | undefined;
938
972
  startup?: boolean | undefined;
939
973
  iconPath?: string | undefined;
940
- timeout?: number | undefined;
941
974
  sseReadTimeout?: number | undefined;
942
975
  initTimeout?: number | undefined;
943
976
  serverInstructions?: string | boolean | undefined;
944
977
  requiresOAuth?: boolean | undefined;
945
978
  oauth?: {
946
979
  authorization_url?: string | undefined;
980
+ scope?: string | undefined;
981
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
947
982
  token_url?: string | undefined;
948
983
  client_id?: string | undefined;
949
984
  client_secret?: string | undefined;
950
- scope?: string | undefined;
951
985
  redirect_uri?: string | undefined;
952
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
953
986
  grant_types_supported?: string[] | undefined;
954
987
  token_endpoint_auth_methods_supported?: string[] | undefined;
955
988
  response_types_supported?: string[] | undefined;
@@ -979,7 +1012,7 @@ export declare const SSEOptionsSchema: z.ZodObject<{
979
1012
  proxy?: string | undefined;
980
1013
  }>;
981
1014
  export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
982
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
1015
+ /** Display name for the MCP server */
983
1016
  title: z.ZodOptional<z.ZodString>;
984
1017
  /** Description of the MCP server */
985
1018
  description: z.ZodOptional<z.ZodString>;
@@ -995,7 +1028,14 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
995
1028
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
996
1029
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
997
1030
  initTimeout: z.ZodOptional<z.ZodNumber>;
998
- /** Controls visibility in chat dropdown menu (MCPSelect) */
1031
+ /**
1032
+ * Whether the server is offered in chat.
1033
+ *
1034
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
1035
+ * chat selection a request carries, so a stale or hand-written request cannot
1036
+ * reach it either. It does not restrict agents, nor a server a model spec
1037
+ * pins through `mcpServers` — both are the operator's own choice.
1038
+ */
999
1039
  chatMenu: z.ZodOptional<z.ZodBoolean>;
1000
1040
  /**
1001
1041
  * Controls server instruction behavior:
@@ -1082,12 +1122,12 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1082
1122
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1083
1123
  }, "strip", z.ZodTypeAny, {
1084
1124
  authorization_url?: string | undefined;
1125
+ scope?: string | undefined;
1126
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1085
1127
  token_url?: string | undefined;
1086
1128
  client_id?: string | undefined;
1087
1129
  client_secret?: string | undefined;
1088
- scope?: string | undefined;
1089
1130
  redirect_uri?: string | undefined;
1090
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1091
1131
  grant_types_supported?: string[] | undefined;
1092
1132
  token_endpoint_auth_methods_supported?: string[] | undefined;
1093
1133
  response_types_supported?: string[] | undefined;
@@ -1099,12 +1139,12 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1099
1139
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1100
1140
  }, {
1101
1141
  authorization_url?: string | undefined;
1142
+ scope?: string | undefined;
1143
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1102
1144
  token_url?: string | undefined;
1103
1145
  client_id?: string | undefined;
1104
1146
  client_secret?: string | undefined;
1105
- scope?: string | undefined;
1106
1147
  redirect_uri?: string | undefined;
1107
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1108
1148
  grant_types_supported?: string[] | undefined;
1109
1149
  token_endpoint_auth_methods_supported?: string[] | undefined;
1110
1150
  response_types_supported?: string[] | undefined;
@@ -1116,12 +1156,12 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1116
1156
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1117
1157
  }>, {
1118
1158
  authorization_url?: string | undefined;
1159
+ scope?: string | undefined;
1160
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1119
1161
  token_url?: string | undefined;
1120
1162
  client_id?: string | undefined;
1121
1163
  client_secret?: string | undefined;
1122
- scope?: string | undefined;
1123
1164
  redirect_uri?: string | undefined;
1124
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1125
1165
  grant_types_supported?: string[] | undefined;
1126
1166
  token_endpoint_auth_methods_supported?: string[] | undefined;
1127
1167
  response_types_supported?: string[] | undefined;
@@ -1133,12 +1173,12 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1133
1173
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1134
1174
  }, {
1135
1175
  authorization_url?: string | undefined;
1176
+ scope?: string | undefined;
1177
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1136
1178
  token_url?: string | undefined;
1137
1179
  client_id?: string | undefined;
1138
1180
  client_secret?: string | undefined;
1139
- scope?: string | undefined;
1140
1181
  redirect_uri?: string | undefined;
1141
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1142
1182
  grant_types_supported?: string[] | undefined;
1143
1183
  token_endpoint_auth_methods_supported?: string[] | undefined;
1144
1184
  response_types_supported?: string[] | undefined;
@@ -1221,21 +1261,21 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1221
1261
  description?: string | undefined;
1222
1262
  title?: string | undefined;
1223
1263
  chatMenu?: boolean | undefined;
1264
+ timeout?: number | undefined;
1224
1265
  startup?: boolean | undefined;
1225
1266
  iconPath?: string | undefined;
1226
- timeout?: number | undefined;
1227
1267
  sseReadTimeout?: number | undefined;
1228
1268
  initTimeout?: number | undefined;
1229
1269
  serverInstructions?: string | boolean | undefined;
1230
1270
  requiresOAuth?: boolean | undefined;
1231
1271
  oauth?: {
1232
1272
  authorization_url?: string | undefined;
1273
+ scope?: string | undefined;
1274
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1233
1275
  token_url?: string | undefined;
1234
1276
  client_id?: string | undefined;
1235
1277
  client_secret?: string | undefined;
1236
- scope?: string | undefined;
1237
1278
  redirect_uri?: string | undefined;
1238
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1239
1279
  grant_types_supported?: string[] | undefined;
1240
1280
  token_endpoint_auth_methods_supported?: string[] | undefined;
1241
1281
  response_types_supported?: string[] | undefined;
@@ -1269,21 +1309,21 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1269
1309
  description?: string | undefined;
1270
1310
  title?: string | undefined;
1271
1311
  chatMenu?: boolean | undefined;
1312
+ timeout?: number | undefined;
1272
1313
  startup?: boolean | undefined;
1273
1314
  iconPath?: string | undefined;
1274
- timeout?: number | undefined;
1275
1315
  sseReadTimeout?: number | undefined;
1276
1316
  initTimeout?: number | undefined;
1277
1317
  serverInstructions?: string | boolean | undefined;
1278
1318
  requiresOAuth?: boolean | undefined;
1279
1319
  oauth?: {
1280
1320
  authorization_url?: string | undefined;
1321
+ scope?: string | undefined;
1322
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1281
1323
  token_url?: string | undefined;
1282
1324
  client_id?: string | undefined;
1283
1325
  client_secret?: string | undefined;
1284
- scope?: string | undefined;
1285
1326
  redirect_uri?: string | undefined;
1286
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1287
1327
  grant_types_supported?: string[] | undefined;
1288
1328
  token_endpoint_auth_methods_supported?: string[] | undefined;
1289
1329
  response_types_supported?: string[] | undefined;
@@ -1313,7 +1353,7 @@ export declare const StreamableHTTPOptionsSchema: z.ZodObject<{
1313
1353
  proxy?: string | undefined;
1314
1354
  }>;
1315
1355
  export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1316
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
1356
+ /** Display name for the MCP server */
1317
1357
  title: z.ZodOptional<z.ZodString>;
1318
1358
  /** Description of the MCP server */
1319
1359
  description: z.ZodOptional<z.ZodString>;
@@ -1329,7 +1369,14 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1329
1369
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
1330
1370
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
1331
1371
  initTimeout: z.ZodOptional<z.ZodNumber>;
1332
- /** Controls visibility in chat dropdown menu (MCPSelect) */
1372
+ /**
1373
+ * Whether the server is offered in chat.
1374
+ *
1375
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
1376
+ * chat selection a request carries, so a stale or hand-written request cannot
1377
+ * reach it either. It does not restrict agents, nor a server a model spec
1378
+ * pins through `mcpServers` — both are the operator's own choice.
1379
+ */
1333
1380
  chatMenu: z.ZodOptional<z.ZodBoolean>;
1334
1381
  /**
1335
1382
  * Controls server instruction behavior:
@@ -1416,12 +1463,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1416
1463
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1417
1464
  }, "strip", z.ZodTypeAny, {
1418
1465
  authorization_url?: string | undefined;
1466
+ scope?: string | undefined;
1467
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1419
1468
  token_url?: string | undefined;
1420
1469
  client_id?: string | undefined;
1421
1470
  client_secret?: string | undefined;
1422
- scope?: string | undefined;
1423
1471
  redirect_uri?: string | undefined;
1424
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1425
1472
  grant_types_supported?: string[] | undefined;
1426
1473
  token_endpoint_auth_methods_supported?: string[] | undefined;
1427
1474
  response_types_supported?: string[] | undefined;
@@ -1433,12 +1480,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1433
1480
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1434
1481
  }, {
1435
1482
  authorization_url?: string | undefined;
1483
+ scope?: string | undefined;
1484
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1436
1485
  token_url?: string | undefined;
1437
1486
  client_id?: string | undefined;
1438
1487
  client_secret?: string | undefined;
1439
- scope?: string | undefined;
1440
1488
  redirect_uri?: string | undefined;
1441
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1442
1489
  grant_types_supported?: string[] | undefined;
1443
1490
  token_endpoint_auth_methods_supported?: string[] | undefined;
1444
1491
  response_types_supported?: string[] | undefined;
@@ -1450,12 +1497,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1450
1497
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1451
1498
  }>, {
1452
1499
  authorization_url?: string | undefined;
1500
+ scope?: string | undefined;
1501
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1453
1502
  token_url?: string | undefined;
1454
1503
  client_id?: string | undefined;
1455
1504
  client_secret?: string | undefined;
1456
- scope?: string | undefined;
1457
1505
  redirect_uri?: string | undefined;
1458
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1459
1506
  grant_types_supported?: string[] | undefined;
1460
1507
  token_endpoint_auth_methods_supported?: string[] | undefined;
1461
1508
  response_types_supported?: string[] | undefined;
@@ -1467,12 +1514,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1467
1514
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1468
1515
  }, {
1469
1516
  authorization_url?: string | undefined;
1517
+ scope?: string | undefined;
1518
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1470
1519
  token_url?: string | undefined;
1471
1520
  client_id?: string | undefined;
1472
1521
  client_secret?: string | undefined;
1473
- scope?: string | undefined;
1474
1522
  redirect_uri?: string | undefined;
1475
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1476
1523
  grant_types_supported?: string[] | undefined;
1477
1524
  token_endpoint_auth_methods_supported?: string[] | undefined;
1478
1525
  response_types_supported?: string[] | undefined;
@@ -1552,6 +1599,11 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1552
1599
  * Defaults to "inherit".
1553
1600
  */
1554
1601
  stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
1602
+ /**
1603
+ * Working directory for the spawned process. Supplied by Agent Plugins
1604
+ * packages, which resolve and contain the path before it reaches this schema.
1605
+ */
1606
+ cwd: z.ZodOptional<z.ZodString>;
1555
1607
  }, "strip", z.ZodTypeAny, {
1556
1608
  type: "stdio";
1557
1609
  command: string;
@@ -1559,22 +1611,22 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1559
1611
  description?: string | undefined;
1560
1612
  title?: string | undefined;
1561
1613
  chatMenu?: boolean | undefined;
1614
+ timeout?: number | undefined;
1562
1615
  env?: Record<string, string> | undefined;
1563
1616
  startup?: boolean | undefined;
1564
1617
  iconPath?: string | undefined;
1565
- timeout?: number | undefined;
1566
1618
  sseReadTimeout?: number | undefined;
1567
1619
  initTimeout?: number | undefined;
1568
1620
  serverInstructions?: string | boolean | undefined;
1569
1621
  requiresOAuth?: boolean | undefined;
1570
1622
  oauth?: {
1571
1623
  authorization_url?: string | undefined;
1624
+ scope?: string | undefined;
1625
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1572
1626
  token_url?: string | undefined;
1573
1627
  client_id?: string | undefined;
1574
1628
  client_secret?: string | undefined;
1575
- scope?: string | undefined;
1576
1629
  redirect_uri?: string | undefined;
1577
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1578
1630
  grant_types_supported?: string[] | undefined;
1579
1631
  token_endpoint_auth_methods_supported?: string[] | undefined;
1580
1632
  response_types_supported?: string[] | undefined;
@@ -1597,8 +1649,9 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1597
1649
  title: string;
1598
1650
  sensitive?: boolean | undefined;
1599
1651
  }> | undefined;
1600
- obo?: undefined;
1652
+ cwd?: string | undefined;
1601
1653
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
1654
+ obo?: undefined;
1602
1655
  }, {
1603
1656
  command: string;
1604
1657
  args: string[];
@@ -1606,22 +1659,22 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1606
1659
  description?: string | undefined;
1607
1660
  title?: string | undefined;
1608
1661
  chatMenu?: boolean | undefined;
1662
+ timeout?: number | undefined;
1609
1663
  env?: Record<string, string> | undefined;
1610
1664
  startup?: boolean | undefined;
1611
1665
  iconPath?: string | undefined;
1612
- timeout?: number | undefined;
1613
1666
  sseReadTimeout?: number | undefined;
1614
1667
  initTimeout?: number | undefined;
1615
1668
  serverInstructions?: string | boolean | undefined;
1616
1669
  requiresOAuth?: boolean | undefined;
1617
1670
  oauth?: {
1618
1671
  authorization_url?: string | undefined;
1672
+ scope?: string | undefined;
1673
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1619
1674
  token_url?: string | undefined;
1620
1675
  client_id?: string | undefined;
1621
1676
  client_secret?: string | undefined;
1622
- scope?: string | undefined;
1623
1677
  redirect_uri?: string | undefined;
1624
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1625
1678
  grant_types_supported?: string[] | undefined;
1626
1679
  token_endpoint_auth_methods_supported?: string[] | undefined;
1627
1680
  response_types_supported?: string[] | undefined;
@@ -1644,10 +1697,11 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1644
1697
  title: string;
1645
1698
  sensitive?: boolean | undefined;
1646
1699
  }> | undefined;
1647
- obo?: undefined;
1700
+ cwd?: string | undefined;
1648
1701
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
1702
+ obo?: undefined;
1649
1703
  }>, z.ZodObject<{
1650
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
1704
+ /** Display name for the MCP server */
1651
1705
  title: z.ZodOptional<z.ZodString>;
1652
1706
  /** Description of the MCP server */
1653
1707
  description: z.ZodOptional<z.ZodString>;
@@ -1663,7 +1717,14 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1663
1717
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
1664
1718
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
1665
1719
  initTimeout: z.ZodOptional<z.ZodNumber>;
1666
- /** Controls visibility in chat dropdown menu (MCPSelect) */
1720
+ /**
1721
+ * Whether the server is offered in chat.
1722
+ *
1723
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
1724
+ * chat selection a request carries, so a stale or hand-written request cannot
1725
+ * reach it either. It does not restrict agents, nor a server a model spec
1726
+ * pins through `mcpServers` — both are the operator's own choice.
1727
+ */
1667
1728
  chatMenu: z.ZodOptional<z.ZodBoolean>;
1668
1729
  /**
1669
1730
  * Controls server instruction behavior:
@@ -1750,12 +1811,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1750
1811
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1751
1812
  }, "strip", z.ZodTypeAny, {
1752
1813
  authorization_url?: string | undefined;
1814
+ scope?: string | undefined;
1815
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1753
1816
  token_url?: string | undefined;
1754
1817
  client_id?: string | undefined;
1755
1818
  client_secret?: string | undefined;
1756
- scope?: string | undefined;
1757
1819
  redirect_uri?: string | undefined;
1758
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1759
1820
  grant_types_supported?: string[] | undefined;
1760
1821
  token_endpoint_auth_methods_supported?: string[] | undefined;
1761
1822
  response_types_supported?: string[] | undefined;
@@ -1767,12 +1828,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1767
1828
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1768
1829
  }, {
1769
1830
  authorization_url?: string | undefined;
1831
+ scope?: string | undefined;
1832
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1770
1833
  token_url?: string | undefined;
1771
1834
  client_id?: string | undefined;
1772
1835
  client_secret?: string | undefined;
1773
- scope?: string | undefined;
1774
1836
  redirect_uri?: string | undefined;
1775
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1776
1837
  grant_types_supported?: string[] | undefined;
1777
1838
  token_endpoint_auth_methods_supported?: string[] | undefined;
1778
1839
  response_types_supported?: string[] | undefined;
@@ -1784,12 +1845,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1784
1845
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1785
1846
  }>, {
1786
1847
  authorization_url?: string | undefined;
1848
+ scope?: string | undefined;
1849
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1787
1850
  token_url?: string | undefined;
1788
1851
  client_id?: string | undefined;
1789
1852
  client_secret?: string | undefined;
1790
- scope?: string | undefined;
1791
1853
  redirect_uri?: string | undefined;
1792
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1793
1854
  grant_types_supported?: string[] | undefined;
1794
1855
  token_endpoint_auth_methods_supported?: string[] | undefined;
1795
1856
  response_types_supported?: string[] | undefined;
@@ -1801,12 +1862,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1801
1862
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
1802
1863
  }, {
1803
1864
  authorization_url?: string | undefined;
1865
+ scope?: string | undefined;
1866
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1804
1867
  token_url?: string | undefined;
1805
1868
  client_id?: string | undefined;
1806
1869
  client_secret?: string | undefined;
1807
- scope?: string | undefined;
1808
1870
  redirect_uri?: string | undefined;
1809
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1810
1871
  grant_types_supported?: string[] | undefined;
1811
1872
  token_endpoint_auth_methods_supported?: string[] | undefined;
1812
1873
  response_types_supported?: string[] | undefined;
@@ -1872,21 +1933,21 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1872
1933
  description?: string | undefined;
1873
1934
  title?: string | undefined;
1874
1935
  chatMenu?: boolean | undefined;
1936
+ timeout?: number | undefined;
1875
1937
  startup?: boolean | undefined;
1876
1938
  iconPath?: string | undefined;
1877
- timeout?: number | undefined;
1878
1939
  sseReadTimeout?: number | undefined;
1879
1940
  initTimeout?: number | undefined;
1880
1941
  serverInstructions?: string | boolean | undefined;
1881
1942
  requiresOAuth?: boolean | undefined;
1882
1943
  oauth?: {
1883
1944
  authorization_url?: string | undefined;
1945
+ scope?: string | undefined;
1946
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1884
1947
  token_url?: string | undefined;
1885
1948
  client_id?: string | undefined;
1886
1949
  client_secret?: string | undefined;
1887
- scope?: string | undefined;
1888
1950
  redirect_uri?: string | undefined;
1889
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1890
1951
  grant_types_supported?: string[] | undefined;
1891
1952
  token_endpoint_auth_methods_supported?: string[] | undefined;
1892
1953
  response_types_supported?: string[] | undefined;
@@ -1916,21 +1977,21 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1916
1977
  description?: string | undefined;
1917
1978
  title?: string | undefined;
1918
1979
  chatMenu?: boolean | undefined;
1980
+ timeout?: number | undefined;
1919
1981
  startup?: boolean | undefined;
1920
1982
  iconPath?: string | undefined;
1921
- timeout?: number | undefined;
1922
1983
  sseReadTimeout?: number | undefined;
1923
1984
  initTimeout?: number | undefined;
1924
1985
  serverInstructions?: string | boolean | undefined;
1925
1986
  requiresOAuth?: boolean | undefined;
1926
1987
  oauth?: {
1927
1988
  authorization_url?: string | undefined;
1989
+ scope?: string | undefined;
1990
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
1928
1991
  token_url?: string | undefined;
1929
1992
  client_id?: string | undefined;
1930
1993
  client_secret?: string | undefined;
1931
- scope?: string | undefined;
1932
1994
  redirect_uri?: string | undefined;
1933
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
1934
1995
  grant_types_supported?: string[] | undefined;
1935
1996
  token_endpoint_auth_methods_supported?: string[] | undefined;
1936
1997
  response_types_supported?: string[] | undefined;
@@ -1955,7 +2016,7 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1955
2016
  }> | undefined;
1956
2017
  obo?: undefined;
1957
2018
  }>, z.ZodObject<{
1958
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
2019
+ /** Display name for the MCP server */
1959
2020
  title: z.ZodOptional<z.ZodString>;
1960
2021
  /** Description of the MCP server */
1961
2022
  description: z.ZodOptional<z.ZodString>;
@@ -1971,7 +2032,14 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
1971
2032
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
1972
2033
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
1973
2034
  initTimeout: z.ZodOptional<z.ZodNumber>;
1974
- /** Controls visibility in chat dropdown menu (MCPSelect) */
2035
+ /**
2036
+ * Whether the server is offered in chat.
2037
+ *
2038
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
2039
+ * chat selection a request carries, so a stale or hand-written request cannot
2040
+ * reach it either. It does not restrict agents, nor a server a model spec
2041
+ * pins through `mcpServers` — both are the operator's own choice.
2042
+ */
1975
2043
  chatMenu: z.ZodOptional<z.ZodBoolean>;
1976
2044
  /**
1977
2045
  * Controls server instruction behavior:
@@ -2058,12 +2126,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2058
2126
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2059
2127
  }, "strip", z.ZodTypeAny, {
2060
2128
  authorization_url?: string | undefined;
2129
+ scope?: string | undefined;
2130
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2061
2131
  token_url?: string | undefined;
2062
2132
  client_id?: string | undefined;
2063
2133
  client_secret?: string | undefined;
2064
- scope?: string | undefined;
2065
2134
  redirect_uri?: string | undefined;
2066
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2067
2135
  grant_types_supported?: string[] | undefined;
2068
2136
  token_endpoint_auth_methods_supported?: string[] | undefined;
2069
2137
  response_types_supported?: string[] | undefined;
@@ -2075,12 +2143,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2075
2143
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2076
2144
  }, {
2077
2145
  authorization_url?: string | undefined;
2146
+ scope?: string | undefined;
2147
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2078
2148
  token_url?: string | undefined;
2079
2149
  client_id?: string | undefined;
2080
2150
  client_secret?: string | undefined;
2081
- scope?: string | undefined;
2082
2151
  redirect_uri?: string | undefined;
2083
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2084
2152
  grant_types_supported?: string[] | undefined;
2085
2153
  token_endpoint_auth_methods_supported?: string[] | undefined;
2086
2154
  response_types_supported?: string[] | undefined;
@@ -2092,12 +2160,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2092
2160
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2093
2161
  }>, {
2094
2162
  authorization_url?: string | undefined;
2163
+ scope?: string | undefined;
2164
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2095
2165
  token_url?: string | undefined;
2096
2166
  client_id?: string | undefined;
2097
2167
  client_secret?: string | undefined;
2098
- scope?: string | undefined;
2099
2168
  redirect_uri?: string | undefined;
2100
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2101
2169
  grant_types_supported?: string[] | undefined;
2102
2170
  token_endpoint_auth_methods_supported?: string[] | undefined;
2103
2171
  response_types_supported?: string[] | undefined;
@@ -2109,12 +2177,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2109
2177
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2110
2178
  }, {
2111
2179
  authorization_url?: string | undefined;
2180
+ scope?: string | undefined;
2181
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2112
2182
  token_url?: string | undefined;
2113
2183
  client_id?: string | undefined;
2114
2184
  client_secret?: string | undefined;
2115
- scope?: string | undefined;
2116
2185
  redirect_uri?: string | undefined;
2117
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2118
2186
  grant_types_supported?: string[] | undefined;
2119
2187
  token_endpoint_auth_methods_supported?: string[] | undefined;
2120
2188
  response_types_supported?: string[] | undefined;
@@ -2197,21 +2265,21 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2197
2265
  description?: string | undefined;
2198
2266
  title?: string | undefined;
2199
2267
  chatMenu?: boolean | undefined;
2268
+ timeout?: number | undefined;
2200
2269
  startup?: boolean | undefined;
2201
2270
  iconPath?: string | undefined;
2202
- timeout?: number | undefined;
2203
2271
  sseReadTimeout?: number | undefined;
2204
2272
  initTimeout?: number | undefined;
2205
2273
  serverInstructions?: string | boolean | undefined;
2206
2274
  requiresOAuth?: boolean | undefined;
2207
2275
  oauth?: {
2208
2276
  authorization_url?: string | undefined;
2277
+ scope?: string | undefined;
2278
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2209
2279
  token_url?: string | undefined;
2210
2280
  client_id?: string | undefined;
2211
2281
  client_secret?: string | undefined;
2212
- scope?: string | undefined;
2213
2282
  redirect_uri?: string | undefined;
2214
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2215
2283
  grant_types_supported?: string[] | undefined;
2216
2284
  token_endpoint_auth_methods_supported?: string[] | undefined;
2217
2285
  response_types_supported?: string[] | undefined;
@@ -2245,21 +2313,21 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2245
2313
  description?: string | undefined;
2246
2314
  title?: string | undefined;
2247
2315
  chatMenu?: boolean | undefined;
2316
+ timeout?: number | undefined;
2248
2317
  startup?: boolean | undefined;
2249
2318
  iconPath?: string | undefined;
2250
- timeout?: number | undefined;
2251
2319
  sseReadTimeout?: number | undefined;
2252
2320
  initTimeout?: number | undefined;
2253
2321
  serverInstructions?: string | boolean | undefined;
2254
2322
  requiresOAuth?: boolean | undefined;
2255
2323
  oauth?: {
2256
2324
  authorization_url?: string | undefined;
2325
+ scope?: string | undefined;
2326
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2257
2327
  token_url?: string | undefined;
2258
2328
  client_id?: string | undefined;
2259
2329
  client_secret?: string | undefined;
2260
- scope?: string | undefined;
2261
2330
  redirect_uri?: string | undefined;
2262
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2263
2331
  grant_types_supported?: string[] | undefined;
2264
2332
  token_endpoint_auth_methods_supported?: string[] | undefined;
2265
2333
  response_types_supported?: string[] | undefined;
@@ -2288,7 +2356,7 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2288
2356
  headers?: Record<string, string> | undefined;
2289
2357
  proxy?: string | undefined;
2290
2358
  }>, z.ZodObject<{
2291
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
2359
+ /** Display name for the MCP server */
2292
2360
  title: z.ZodOptional<z.ZodString>;
2293
2361
  /** Description of the MCP server */
2294
2362
  description: z.ZodOptional<z.ZodString>;
@@ -2304,7 +2372,14 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2304
2372
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
2305
2373
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
2306
2374
  initTimeout: z.ZodOptional<z.ZodNumber>;
2307
- /** Controls visibility in chat dropdown menu (MCPSelect) */
2375
+ /**
2376
+ * Whether the server is offered in chat.
2377
+ *
2378
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
2379
+ * chat selection a request carries, so a stale or hand-written request cannot
2380
+ * reach it either. It does not restrict agents, nor a server a model spec
2381
+ * pins through `mcpServers` — both are the operator's own choice.
2382
+ */
2308
2383
  chatMenu: z.ZodOptional<z.ZodBoolean>;
2309
2384
  /**
2310
2385
  * Controls server instruction behavior:
@@ -2391,12 +2466,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2391
2466
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2392
2467
  }, "strip", z.ZodTypeAny, {
2393
2468
  authorization_url?: string | undefined;
2469
+ scope?: string | undefined;
2470
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2394
2471
  token_url?: string | undefined;
2395
2472
  client_id?: string | undefined;
2396
2473
  client_secret?: string | undefined;
2397
- scope?: string | undefined;
2398
2474
  redirect_uri?: string | undefined;
2399
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2400
2475
  grant_types_supported?: string[] | undefined;
2401
2476
  token_endpoint_auth_methods_supported?: string[] | undefined;
2402
2477
  response_types_supported?: string[] | undefined;
@@ -2408,12 +2483,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2408
2483
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2409
2484
  }, {
2410
2485
  authorization_url?: string | undefined;
2486
+ scope?: string | undefined;
2487
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2411
2488
  token_url?: string | undefined;
2412
2489
  client_id?: string | undefined;
2413
2490
  client_secret?: string | undefined;
2414
- scope?: string | undefined;
2415
2491
  redirect_uri?: string | undefined;
2416
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2417
2492
  grant_types_supported?: string[] | undefined;
2418
2493
  token_endpoint_auth_methods_supported?: string[] | undefined;
2419
2494
  response_types_supported?: string[] | undefined;
@@ -2425,12 +2500,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2425
2500
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2426
2501
  }>, {
2427
2502
  authorization_url?: string | undefined;
2503
+ scope?: string | undefined;
2504
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2428
2505
  token_url?: string | undefined;
2429
2506
  client_id?: string | undefined;
2430
2507
  client_secret?: string | undefined;
2431
- scope?: string | undefined;
2432
2508
  redirect_uri?: string | undefined;
2433
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2434
2509
  grant_types_supported?: string[] | undefined;
2435
2510
  token_endpoint_auth_methods_supported?: string[] | undefined;
2436
2511
  response_types_supported?: string[] | undefined;
@@ -2442,12 +2517,12 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2442
2517
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2443
2518
  }, {
2444
2519
  authorization_url?: string | undefined;
2520
+ scope?: string | undefined;
2521
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2445
2522
  token_url?: string | undefined;
2446
2523
  client_id?: string | undefined;
2447
2524
  client_secret?: string | undefined;
2448
- scope?: string | undefined;
2449
2525
  redirect_uri?: string | undefined;
2450
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2451
2526
  grant_types_supported?: string[] | undefined;
2452
2527
  token_endpoint_auth_methods_supported?: string[] | undefined;
2453
2528
  response_types_supported?: string[] | undefined;
@@ -2530,21 +2605,21 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2530
2605
  description?: string | undefined;
2531
2606
  title?: string | undefined;
2532
2607
  chatMenu?: boolean | undefined;
2608
+ timeout?: number | undefined;
2533
2609
  startup?: boolean | undefined;
2534
2610
  iconPath?: string | undefined;
2535
- timeout?: number | undefined;
2536
2611
  sseReadTimeout?: number | undefined;
2537
2612
  initTimeout?: number | undefined;
2538
2613
  serverInstructions?: string | boolean | undefined;
2539
2614
  requiresOAuth?: boolean | undefined;
2540
2615
  oauth?: {
2541
2616
  authorization_url?: string | undefined;
2617
+ scope?: string | undefined;
2618
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2542
2619
  token_url?: string | undefined;
2543
2620
  client_id?: string | undefined;
2544
2621
  client_secret?: string | undefined;
2545
- scope?: string | undefined;
2546
2622
  redirect_uri?: string | undefined;
2547
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2548
2623
  grant_types_supported?: string[] | undefined;
2549
2624
  token_endpoint_auth_methods_supported?: string[] | undefined;
2550
2625
  response_types_supported?: string[] | undefined;
@@ -2578,21 +2653,21 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2578
2653
  description?: string | undefined;
2579
2654
  title?: string | undefined;
2580
2655
  chatMenu?: boolean | undefined;
2656
+ timeout?: number | undefined;
2581
2657
  startup?: boolean | undefined;
2582
2658
  iconPath?: string | undefined;
2583
- timeout?: number | undefined;
2584
2659
  sseReadTimeout?: number | undefined;
2585
2660
  initTimeout?: number | undefined;
2586
2661
  serverInstructions?: string | boolean | undefined;
2587
2662
  requiresOAuth?: boolean | undefined;
2588
2663
  oauth?: {
2589
2664
  authorization_url?: string | undefined;
2665
+ scope?: string | undefined;
2666
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2590
2667
  token_url?: string | undefined;
2591
2668
  client_id?: string | undefined;
2592
2669
  client_secret?: string | undefined;
2593
- scope?: string | undefined;
2594
2670
  redirect_uri?: string | undefined;
2595
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2596
2671
  grant_types_supported?: string[] | undefined;
2597
2672
  token_endpoint_auth_methods_supported?: string[] | undefined;
2598
2673
  response_types_supported?: string[] | undefined;
@@ -2622,7 +2697,7 @@ export declare const MCPOptionsSchema: z.ZodUnion<[z.ZodObject<{
2622
2697
  proxy?: string | undefined;
2623
2698
  }>]>;
2624
2699
  export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
2625
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
2700
+ /** Display name for the MCP server */
2626
2701
  title: z.ZodOptional<z.ZodString>;
2627
2702
  /** Description of the MCP server */
2628
2703
  description: z.ZodOptional<z.ZodString>;
@@ -2638,7 +2713,14 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2638
2713
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
2639
2714
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
2640
2715
  initTimeout: z.ZodOptional<z.ZodNumber>;
2641
- /** Controls visibility in chat dropdown menu (MCPSelect) */
2716
+ /**
2717
+ * Whether the server is offered in chat.
2718
+ *
2719
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
2720
+ * chat selection a request carries, so a stale or hand-written request cannot
2721
+ * reach it either. It does not restrict agents, nor a server a model spec
2722
+ * pins through `mcpServers` — both are the operator's own choice.
2723
+ */
2642
2724
  chatMenu: z.ZodOptional<z.ZodBoolean>;
2643
2725
  /**
2644
2726
  * Controls server instruction behavior:
@@ -2725,12 +2807,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2725
2807
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2726
2808
  }, "strip", z.ZodTypeAny, {
2727
2809
  authorization_url?: string | undefined;
2810
+ scope?: string | undefined;
2811
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2728
2812
  token_url?: string | undefined;
2729
2813
  client_id?: string | undefined;
2730
2814
  client_secret?: string | undefined;
2731
- scope?: string | undefined;
2732
2815
  redirect_uri?: string | undefined;
2733
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2734
2816
  grant_types_supported?: string[] | undefined;
2735
2817
  token_endpoint_auth_methods_supported?: string[] | undefined;
2736
2818
  response_types_supported?: string[] | undefined;
@@ -2742,12 +2824,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2742
2824
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2743
2825
  }, {
2744
2826
  authorization_url?: string | undefined;
2827
+ scope?: string | undefined;
2828
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2745
2829
  token_url?: string | undefined;
2746
2830
  client_id?: string | undefined;
2747
2831
  client_secret?: string | undefined;
2748
- scope?: string | undefined;
2749
2832
  redirect_uri?: string | undefined;
2750
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2751
2833
  grant_types_supported?: string[] | undefined;
2752
2834
  token_endpoint_auth_methods_supported?: string[] | undefined;
2753
2835
  response_types_supported?: string[] | undefined;
@@ -2759,12 +2841,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2759
2841
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2760
2842
  }>, {
2761
2843
  authorization_url?: string | undefined;
2844
+ scope?: string | undefined;
2845
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2762
2846
  token_url?: string | undefined;
2763
2847
  client_id?: string | undefined;
2764
2848
  client_secret?: string | undefined;
2765
- scope?: string | undefined;
2766
2849
  redirect_uri?: string | undefined;
2767
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2768
2850
  grant_types_supported?: string[] | undefined;
2769
2851
  token_endpoint_auth_methods_supported?: string[] | undefined;
2770
2852
  response_types_supported?: string[] | undefined;
@@ -2776,12 +2858,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2776
2858
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
2777
2859
  }, {
2778
2860
  authorization_url?: string | undefined;
2861
+ scope?: string | undefined;
2862
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2779
2863
  token_url?: string | undefined;
2780
2864
  client_id?: string | undefined;
2781
2865
  client_secret?: string | undefined;
2782
- scope?: string | undefined;
2783
2866
  redirect_uri?: string | undefined;
2784
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2785
2867
  grant_types_supported?: string[] | undefined;
2786
2868
  token_endpoint_auth_methods_supported?: string[] | undefined;
2787
2869
  response_types_supported?: string[] | undefined;
@@ -2861,6 +2943,11 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2861
2943
  * Defaults to "inherit".
2862
2944
  */
2863
2945
  stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
2946
+ /**
2947
+ * Working directory for the spawned process. Supplied by Agent Plugins
2948
+ * packages, which resolve and contain the path before it reaches this schema.
2949
+ */
2950
+ cwd: z.ZodOptional<z.ZodString>;
2864
2951
  }, "strip", z.ZodTypeAny, {
2865
2952
  type: "stdio";
2866
2953
  command: string;
@@ -2868,22 +2955,22 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2868
2955
  description?: string | undefined;
2869
2956
  title?: string | undefined;
2870
2957
  chatMenu?: boolean | undefined;
2958
+ timeout?: number | undefined;
2871
2959
  env?: Record<string, string> | undefined;
2872
2960
  startup?: boolean | undefined;
2873
2961
  iconPath?: string | undefined;
2874
- timeout?: number | undefined;
2875
2962
  sseReadTimeout?: number | undefined;
2876
2963
  initTimeout?: number | undefined;
2877
2964
  serverInstructions?: string | boolean | undefined;
2878
2965
  requiresOAuth?: boolean | undefined;
2879
2966
  oauth?: {
2880
2967
  authorization_url?: string | undefined;
2968
+ scope?: string | undefined;
2969
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2881
2970
  token_url?: string | undefined;
2882
2971
  client_id?: string | undefined;
2883
2972
  client_secret?: string | undefined;
2884
- scope?: string | undefined;
2885
2973
  redirect_uri?: string | undefined;
2886
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2887
2974
  grant_types_supported?: string[] | undefined;
2888
2975
  token_endpoint_auth_methods_supported?: string[] | undefined;
2889
2976
  response_types_supported?: string[] | undefined;
@@ -2906,8 +2993,9 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2906
2993
  title: string;
2907
2994
  sensitive?: boolean | undefined;
2908
2995
  }> | undefined;
2909
- obo?: undefined;
2996
+ cwd?: string | undefined;
2910
2997
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
2998
+ obo?: undefined;
2911
2999
  }, {
2912
3000
  command: string;
2913
3001
  args: string[];
@@ -2915,22 +3003,22 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2915
3003
  description?: string | undefined;
2916
3004
  title?: string | undefined;
2917
3005
  chatMenu?: boolean | undefined;
3006
+ timeout?: number | undefined;
2918
3007
  env?: Record<string, string> | undefined;
2919
3008
  startup?: boolean | undefined;
2920
3009
  iconPath?: string | undefined;
2921
- timeout?: number | undefined;
2922
3010
  sseReadTimeout?: number | undefined;
2923
3011
  initTimeout?: number | undefined;
2924
3012
  serverInstructions?: string | boolean | undefined;
2925
3013
  requiresOAuth?: boolean | undefined;
2926
3014
  oauth?: {
2927
3015
  authorization_url?: string | undefined;
3016
+ scope?: string | undefined;
3017
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
2928
3018
  token_url?: string | undefined;
2929
3019
  client_id?: string | undefined;
2930
3020
  client_secret?: string | undefined;
2931
- scope?: string | undefined;
2932
3021
  redirect_uri?: string | undefined;
2933
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
2934
3022
  grant_types_supported?: string[] | undefined;
2935
3023
  token_endpoint_auth_methods_supported?: string[] | undefined;
2936
3024
  response_types_supported?: string[] | undefined;
@@ -2953,10 +3041,11 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2953
3041
  title: string;
2954
3042
  sensitive?: boolean | undefined;
2955
3043
  }> | undefined;
2956
- obo?: undefined;
3044
+ cwd?: string | undefined;
2957
3045
  stderr?: number | "pipe" | "ignore" | "inherit" | undefined;
3046
+ obo?: undefined;
2958
3047
  }>, z.ZodObject<{
2959
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
3048
+ /** Display name for the MCP server */
2960
3049
  title: z.ZodOptional<z.ZodString>;
2961
3050
  /** Description of the MCP server */
2962
3051
  description: z.ZodOptional<z.ZodString>;
@@ -2972,7 +3061,14 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
2972
3061
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
2973
3062
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
2974
3063
  initTimeout: z.ZodOptional<z.ZodNumber>;
2975
- /** Controls visibility in chat dropdown menu (MCPSelect) */
3064
+ /**
3065
+ * Whether the server is offered in chat.
3066
+ *
3067
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
3068
+ * chat selection a request carries, so a stale or hand-written request cannot
3069
+ * reach it either. It does not restrict agents, nor a server a model spec
3070
+ * pins through `mcpServers` — both are the operator's own choice.
3071
+ */
2976
3072
  chatMenu: z.ZodOptional<z.ZodBoolean>;
2977
3073
  /**
2978
3074
  * Controls server instruction behavior:
@@ -3059,12 +3155,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3059
3155
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3060
3156
  }, "strip", z.ZodTypeAny, {
3061
3157
  authorization_url?: string | undefined;
3158
+ scope?: string | undefined;
3159
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3062
3160
  token_url?: string | undefined;
3063
3161
  client_id?: string | undefined;
3064
3162
  client_secret?: string | undefined;
3065
- scope?: string | undefined;
3066
3163
  redirect_uri?: string | undefined;
3067
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3068
3164
  grant_types_supported?: string[] | undefined;
3069
3165
  token_endpoint_auth_methods_supported?: string[] | undefined;
3070
3166
  response_types_supported?: string[] | undefined;
@@ -3076,12 +3172,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3076
3172
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3077
3173
  }, {
3078
3174
  authorization_url?: string | undefined;
3175
+ scope?: string | undefined;
3176
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3079
3177
  token_url?: string | undefined;
3080
3178
  client_id?: string | undefined;
3081
3179
  client_secret?: string | undefined;
3082
- scope?: string | undefined;
3083
3180
  redirect_uri?: string | undefined;
3084
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3085
3181
  grant_types_supported?: string[] | undefined;
3086
3182
  token_endpoint_auth_methods_supported?: string[] | undefined;
3087
3183
  response_types_supported?: string[] | undefined;
@@ -3093,12 +3189,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3093
3189
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3094
3190
  }>, {
3095
3191
  authorization_url?: string | undefined;
3192
+ scope?: string | undefined;
3193
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3096
3194
  token_url?: string | undefined;
3097
3195
  client_id?: string | undefined;
3098
3196
  client_secret?: string | undefined;
3099
- scope?: string | undefined;
3100
3197
  redirect_uri?: string | undefined;
3101
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3102
3198
  grant_types_supported?: string[] | undefined;
3103
3199
  token_endpoint_auth_methods_supported?: string[] | undefined;
3104
3200
  response_types_supported?: string[] | undefined;
@@ -3110,12 +3206,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3110
3206
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3111
3207
  }, {
3112
3208
  authorization_url?: string | undefined;
3209
+ scope?: string | undefined;
3210
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3113
3211
  token_url?: string | undefined;
3114
3212
  client_id?: string | undefined;
3115
3213
  client_secret?: string | undefined;
3116
- scope?: string | undefined;
3117
3214
  redirect_uri?: string | undefined;
3118
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3119
3215
  grant_types_supported?: string[] | undefined;
3120
3216
  token_endpoint_auth_methods_supported?: string[] | undefined;
3121
3217
  response_types_supported?: string[] | undefined;
@@ -3181,21 +3277,21 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3181
3277
  description?: string | undefined;
3182
3278
  title?: string | undefined;
3183
3279
  chatMenu?: boolean | undefined;
3280
+ timeout?: number | undefined;
3184
3281
  startup?: boolean | undefined;
3185
3282
  iconPath?: string | undefined;
3186
- timeout?: number | undefined;
3187
3283
  sseReadTimeout?: number | undefined;
3188
3284
  initTimeout?: number | undefined;
3189
3285
  serverInstructions?: string | boolean | undefined;
3190
3286
  requiresOAuth?: boolean | undefined;
3191
3287
  oauth?: {
3192
3288
  authorization_url?: string | undefined;
3289
+ scope?: string | undefined;
3290
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3193
3291
  token_url?: string | undefined;
3194
3292
  client_id?: string | undefined;
3195
3293
  client_secret?: string | undefined;
3196
- scope?: string | undefined;
3197
3294
  redirect_uri?: string | undefined;
3198
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3199
3295
  grant_types_supported?: string[] | undefined;
3200
3296
  token_endpoint_auth_methods_supported?: string[] | undefined;
3201
3297
  response_types_supported?: string[] | undefined;
@@ -3225,21 +3321,21 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3225
3321
  description?: string | undefined;
3226
3322
  title?: string | undefined;
3227
3323
  chatMenu?: boolean | undefined;
3324
+ timeout?: number | undefined;
3228
3325
  startup?: boolean | undefined;
3229
3326
  iconPath?: string | undefined;
3230
- timeout?: number | undefined;
3231
3327
  sseReadTimeout?: number | undefined;
3232
3328
  initTimeout?: number | undefined;
3233
3329
  serverInstructions?: string | boolean | undefined;
3234
3330
  requiresOAuth?: boolean | undefined;
3235
3331
  oauth?: {
3236
3332
  authorization_url?: string | undefined;
3333
+ scope?: string | undefined;
3334
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3237
3335
  token_url?: string | undefined;
3238
3336
  client_id?: string | undefined;
3239
3337
  client_secret?: string | undefined;
3240
- scope?: string | undefined;
3241
3338
  redirect_uri?: string | undefined;
3242
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3243
3339
  grant_types_supported?: string[] | undefined;
3244
3340
  token_endpoint_auth_methods_supported?: string[] | undefined;
3245
3341
  response_types_supported?: string[] | undefined;
@@ -3264,7 +3360,7 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3264
3360
  }> | undefined;
3265
3361
  obo?: undefined;
3266
3362
  }>, z.ZodObject<{
3267
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
3363
+ /** Display name for the MCP server */
3268
3364
  title: z.ZodOptional<z.ZodString>;
3269
3365
  /** Description of the MCP server */
3270
3366
  description: z.ZodOptional<z.ZodString>;
@@ -3280,7 +3376,14 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3280
3376
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
3281
3377
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
3282
3378
  initTimeout: z.ZodOptional<z.ZodNumber>;
3283
- /** Controls visibility in chat dropdown menu (MCPSelect) */
3379
+ /**
3380
+ * Whether the server is offered in chat.
3381
+ *
3382
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
3383
+ * chat selection a request carries, so a stale or hand-written request cannot
3384
+ * reach it either. It does not restrict agents, nor a server a model spec
3385
+ * pins through `mcpServers` — both are the operator's own choice.
3386
+ */
3284
3387
  chatMenu: z.ZodOptional<z.ZodBoolean>;
3285
3388
  /**
3286
3389
  * Controls server instruction behavior:
@@ -3367,12 +3470,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3367
3470
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3368
3471
  }, "strip", z.ZodTypeAny, {
3369
3472
  authorization_url?: string | undefined;
3473
+ scope?: string | undefined;
3474
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3370
3475
  token_url?: string | undefined;
3371
3476
  client_id?: string | undefined;
3372
3477
  client_secret?: string | undefined;
3373
- scope?: string | undefined;
3374
3478
  redirect_uri?: string | undefined;
3375
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3376
3479
  grant_types_supported?: string[] | undefined;
3377
3480
  token_endpoint_auth_methods_supported?: string[] | undefined;
3378
3481
  response_types_supported?: string[] | undefined;
@@ -3384,12 +3487,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3384
3487
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3385
3488
  }, {
3386
3489
  authorization_url?: string | undefined;
3490
+ scope?: string | undefined;
3491
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3387
3492
  token_url?: string | undefined;
3388
3493
  client_id?: string | undefined;
3389
3494
  client_secret?: string | undefined;
3390
- scope?: string | undefined;
3391
3495
  redirect_uri?: string | undefined;
3392
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3393
3496
  grant_types_supported?: string[] | undefined;
3394
3497
  token_endpoint_auth_methods_supported?: string[] | undefined;
3395
3498
  response_types_supported?: string[] | undefined;
@@ -3401,12 +3504,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3401
3504
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3402
3505
  }>, {
3403
3506
  authorization_url?: string | undefined;
3507
+ scope?: string | undefined;
3508
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3404
3509
  token_url?: string | undefined;
3405
3510
  client_id?: string | undefined;
3406
3511
  client_secret?: string | undefined;
3407
- scope?: string | undefined;
3408
3512
  redirect_uri?: string | undefined;
3409
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3410
3513
  grant_types_supported?: string[] | undefined;
3411
3514
  token_endpoint_auth_methods_supported?: string[] | undefined;
3412
3515
  response_types_supported?: string[] | undefined;
@@ -3418,12 +3521,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3418
3521
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3419
3522
  }, {
3420
3523
  authorization_url?: string | undefined;
3524
+ scope?: string | undefined;
3525
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3421
3526
  token_url?: string | undefined;
3422
3527
  client_id?: string | undefined;
3423
3528
  client_secret?: string | undefined;
3424
- scope?: string | undefined;
3425
3529
  redirect_uri?: string | undefined;
3426
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3427
3530
  grant_types_supported?: string[] | undefined;
3428
3531
  token_endpoint_auth_methods_supported?: string[] | undefined;
3429
3532
  response_types_supported?: string[] | undefined;
@@ -3506,21 +3609,21 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3506
3609
  description?: string | undefined;
3507
3610
  title?: string | undefined;
3508
3611
  chatMenu?: boolean | undefined;
3612
+ timeout?: number | undefined;
3509
3613
  startup?: boolean | undefined;
3510
3614
  iconPath?: string | undefined;
3511
- timeout?: number | undefined;
3512
3615
  sseReadTimeout?: number | undefined;
3513
3616
  initTimeout?: number | undefined;
3514
3617
  serverInstructions?: string | boolean | undefined;
3515
3618
  requiresOAuth?: boolean | undefined;
3516
3619
  oauth?: {
3517
3620
  authorization_url?: string | undefined;
3621
+ scope?: string | undefined;
3622
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3518
3623
  token_url?: string | undefined;
3519
3624
  client_id?: string | undefined;
3520
3625
  client_secret?: string | undefined;
3521
- scope?: string | undefined;
3522
3626
  redirect_uri?: string | undefined;
3523
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3524
3627
  grant_types_supported?: string[] | undefined;
3525
3628
  token_endpoint_auth_methods_supported?: string[] | undefined;
3526
3629
  response_types_supported?: string[] | undefined;
@@ -3554,21 +3657,21 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3554
3657
  description?: string | undefined;
3555
3658
  title?: string | undefined;
3556
3659
  chatMenu?: boolean | undefined;
3660
+ timeout?: number | undefined;
3557
3661
  startup?: boolean | undefined;
3558
3662
  iconPath?: string | undefined;
3559
- timeout?: number | undefined;
3560
3663
  sseReadTimeout?: number | undefined;
3561
3664
  initTimeout?: number | undefined;
3562
3665
  serverInstructions?: string | boolean | undefined;
3563
3666
  requiresOAuth?: boolean | undefined;
3564
3667
  oauth?: {
3565
3668
  authorization_url?: string | undefined;
3669
+ scope?: string | undefined;
3670
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3566
3671
  token_url?: string | undefined;
3567
3672
  client_id?: string | undefined;
3568
3673
  client_secret?: string | undefined;
3569
- scope?: string | undefined;
3570
3674
  redirect_uri?: string | undefined;
3571
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3572
3675
  grant_types_supported?: string[] | undefined;
3573
3676
  token_endpoint_auth_methods_supported?: string[] | undefined;
3574
3677
  response_types_supported?: string[] | undefined;
@@ -3597,7 +3700,7 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3597
3700
  headers?: Record<string, string> | undefined;
3598
3701
  proxy?: string | undefined;
3599
3702
  }>, z.ZodObject<{
3600
- /** Display name for the MCP server - only letters, numbers, and spaces allowed */
3703
+ /** Display name for the MCP server */
3601
3704
  title: z.ZodOptional<z.ZodString>;
3602
3705
  /** Description of the MCP server */
3603
3706
  description: z.ZodOptional<z.ZodString>;
@@ -3613,7 +3716,14 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3613
3716
  /** Timeout (ms) for the long-lived SSE GET stream body before undici aborts it. Default: 300_000 (5 min). */
3614
3717
  sseReadTimeout: z.ZodOptional<z.ZodNumber>;
3615
3718
  initTimeout: z.ZodOptional<z.ZodNumber>;
3616
- /** Controls visibility in chat dropdown menu (MCPSelect) */
3719
+ /**
3720
+ * Whether the server is offered in chat.
3721
+ *
3722
+ * `false` hides it from the chat dropdown (MCPSelect) AND bars it from the
3723
+ * chat selection a request carries, so a stale or hand-written request cannot
3724
+ * reach it either. It does not restrict agents, nor a server a model spec
3725
+ * pins through `mcpServers` — both are the operator's own choice.
3726
+ */
3617
3727
  chatMenu: z.ZodOptional<z.ZodBoolean>;
3618
3728
  /**
3619
3729
  * Controls server instruction behavior:
@@ -3700,12 +3810,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3700
3810
  revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3701
3811
  }, "strip", z.ZodTypeAny, {
3702
3812
  authorization_url?: string | undefined;
3813
+ scope?: string | undefined;
3814
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3703
3815
  token_url?: string | undefined;
3704
3816
  client_id?: string | undefined;
3705
3817
  client_secret?: string | undefined;
3706
- scope?: string | undefined;
3707
3818
  redirect_uri?: string | undefined;
3708
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3709
3819
  grant_types_supported?: string[] | undefined;
3710
3820
  token_endpoint_auth_methods_supported?: string[] | undefined;
3711
3821
  response_types_supported?: string[] | undefined;
@@ -3717,12 +3827,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3717
3827
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3718
3828
  }, {
3719
3829
  authorization_url?: string | undefined;
3830
+ scope?: string | undefined;
3831
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3720
3832
  token_url?: string | undefined;
3721
3833
  client_id?: string | undefined;
3722
3834
  client_secret?: string | undefined;
3723
- scope?: string | undefined;
3724
3835
  redirect_uri?: string | undefined;
3725
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3726
3836
  grant_types_supported?: string[] | undefined;
3727
3837
  token_endpoint_auth_methods_supported?: string[] | undefined;
3728
3838
  response_types_supported?: string[] | undefined;
@@ -3734,12 +3844,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3734
3844
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3735
3845
  }>, {
3736
3846
  authorization_url?: string | undefined;
3847
+ scope?: string | undefined;
3848
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3737
3849
  token_url?: string | undefined;
3738
3850
  client_id?: string | undefined;
3739
3851
  client_secret?: string | undefined;
3740
- scope?: string | undefined;
3741
3852
  redirect_uri?: string | undefined;
3742
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3743
3853
  grant_types_supported?: string[] | undefined;
3744
3854
  token_endpoint_auth_methods_supported?: string[] | undefined;
3745
3855
  response_types_supported?: string[] | undefined;
@@ -3751,12 +3861,12 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3751
3861
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3752
3862
  }, {
3753
3863
  authorization_url?: string | undefined;
3864
+ scope?: string | undefined;
3865
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3754
3866
  token_url?: string | undefined;
3755
3867
  client_id?: string | undefined;
3756
3868
  client_secret?: string | undefined;
3757
- scope?: string | undefined;
3758
3869
  redirect_uri?: string | undefined;
3759
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3760
3870
  grant_types_supported?: string[] | undefined;
3761
3871
  token_endpoint_auth_methods_supported?: string[] | undefined;
3762
3872
  response_types_supported?: string[] | undefined;
@@ -3839,21 +3949,21 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3839
3949
  description?: string | undefined;
3840
3950
  title?: string | undefined;
3841
3951
  chatMenu?: boolean | undefined;
3952
+ timeout?: number | undefined;
3842
3953
  startup?: boolean | undefined;
3843
3954
  iconPath?: string | undefined;
3844
- timeout?: number | undefined;
3845
3955
  sseReadTimeout?: number | undefined;
3846
3956
  initTimeout?: number | undefined;
3847
3957
  serverInstructions?: string | boolean | undefined;
3848
3958
  requiresOAuth?: boolean | undefined;
3849
3959
  oauth?: {
3850
3960
  authorization_url?: string | undefined;
3961
+ scope?: string | undefined;
3962
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3851
3963
  token_url?: string | undefined;
3852
3964
  client_id?: string | undefined;
3853
3965
  client_secret?: string | undefined;
3854
- scope?: string | undefined;
3855
3966
  redirect_uri?: string | undefined;
3856
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3857
3967
  grant_types_supported?: string[] | undefined;
3858
3968
  token_endpoint_auth_methods_supported?: string[] | undefined;
3859
3969
  response_types_supported?: string[] | undefined;
@@ -3887,21 +3997,21 @@ export declare const MCPServersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
3887
3997
  description?: string | undefined;
3888
3998
  title?: string | undefined;
3889
3999
  chatMenu?: boolean | undefined;
4000
+ timeout?: number | undefined;
3890
4001
  startup?: boolean | undefined;
3891
4002
  iconPath?: string | undefined;
3892
- timeout?: number | undefined;
3893
4003
  sseReadTimeout?: number | undefined;
3894
4004
  initTimeout?: number | undefined;
3895
4005
  serverInstructions?: string | boolean | undefined;
3896
4006
  requiresOAuth?: boolean | undefined;
3897
4007
  oauth?: {
3898
4008
  authorization_url?: string | undefined;
4009
+ scope?: string | undefined;
4010
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3899
4011
  token_url?: string | undefined;
3900
4012
  client_id?: string | undefined;
3901
4013
  client_secret?: string | undefined;
3902
- scope?: string | undefined;
3903
4014
  redirect_uri?: string | undefined;
3904
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3905
4015
  grant_types_supported?: string[] | undefined;
3906
4016
  token_endpoint_auth_methods_supported?: string[] | undefined;
3907
4017
  response_types_supported?: string[] | undefined;
@@ -3952,10 +4062,10 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
3952
4062
  [x: string]: z.ZodTypeAny;
3953
4063
  [x: number]: z.ZodTypeAny;
3954
4064
  oauth: z.ZodOptional<z.ZodEffects<z.ZodObject<{
3955
- client_id: z.ZodOptional<z.ZodString>;
3956
- client_secret: z.ZodOptional<z.ZodString>;
3957
4065
  scope: z.ZodOptional<z.ZodString>;
3958
4066
  token_exchange_method: z.ZodOptional<z.ZodNativeEnum<typeof TokenExchangeMethodEnum>>;
4067
+ client_id: z.ZodOptional<z.ZodString>;
4068
+ client_secret: z.ZodOptional<z.ZodString>;
3959
4069
  grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3960
4070
  token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3961
4071
  response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3971,12 +4081,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
3971
4081
  forward_audience_on_refresh: z.ZodOptional<z.ZodNever>;
3972
4082
  }, "strip", z.ZodTypeAny, {
3973
4083
  authorization_url?: string | undefined;
4084
+ scope?: string | undefined;
4085
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3974
4086
  token_url?: string | undefined;
3975
4087
  client_id?: string | undefined;
3976
4088
  client_secret?: string | undefined;
3977
- scope?: string | undefined;
3978
4089
  redirect_uri?: string | undefined;
3979
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3980
4090
  grant_types_supported?: string[] | undefined;
3981
4091
  token_endpoint_auth_methods_supported?: string[] | undefined;
3982
4092
  response_types_supported?: string[] | undefined;
@@ -3988,12 +4098,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
3988
4098
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
3989
4099
  }, {
3990
4100
  authorization_url?: string | undefined;
4101
+ scope?: string | undefined;
4102
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
3991
4103
  token_url?: string | undefined;
3992
4104
  client_id?: string | undefined;
3993
4105
  client_secret?: string | undefined;
3994
- scope?: string | undefined;
3995
4106
  redirect_uri?: string | undefined;
3996
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
3997
4107
  grant_types_supported?: string[] | undefined;
3998
4108
  token_endpoint_auth_methods_supported?: string[] | undefined;
3999
4109
  response_types_supported?: string[] | undefined;
@@ -4005,12 +4115,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4005
4115
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4006
4116
  }>, {
4007
4117
  authorization_url?: string | undefined;
4118
+ scope?: string | undefined;
4119
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4008
4120
  token_url?: string | undefined;
4009
4121
  client_id?: string | undefined;
4010
4122
  client_secret?: string | undefined;
4011
- scope?: string | undefined;
4012
4123
  redirect_uri?: string | undefined;
4013
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4014
4124
  grant_types_supported?: string[] | undefined;
4015
4125
  token_endpoint_auth_methods_supported?: string[] | undefined;
4016
4126
  response_types_supported?: string[] | undefined;
@@ -4022,12 +4132,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4022
4132
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4023
4133
  }, {
4024
4134
  authorization_url?: string | undefined;
4135
+ scope?: string | undefined;
4136
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4025
4137
  token_url?: string | undefined;
4026
4138
  client_id?: string | undefined;
4027
4139
  client_secret?: string | undefined;
4028
- scope?: string | undefined;
4029
4140
  redirect_uri?: string | undefined;
4030
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4031
4141
  grant_types_supported?: string[] | undefined;
4032
4142
  token_endpoint_auth_methods_supported?: string[] | undefined;
4033
4143
  response_types_supported?: string[] | undefined;
@@ -4054,10 +4164,10 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4054
4164
  [x: string]: z.ZodTypeAny;
4055
4165
  [x: number]: z.ZodTypeAny;
4056
4166
  oauth: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4057
- client_id: z.ZodOptional<z.ZodString>;
4058
- client_secret: z.ZodOptional<z.ZodString>;
4059
4167
  scope: z.ZodOptional<z.ZodString>;
4060
4168
  token_exchange_method: z.ZodOptional<z.ZodNativeEnum<typeof TokenExchangeMethodEnum>>;
4169
+ client_id: z.ZodOptional<z.ZodString>;
4170
+ client_secret: z.ZodOptional<z.ZodString>;
4061
4171
  grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4062
4172
  token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4063
4173
  response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4073,12 +4183,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4073
4183
  forward_audience_on_refresh: z.ZodOptional<z.ZodNever>;
4074
4184
  }, "strip", z.ZodTypeAny, {
4075
4185
  authorization_url?: string | undefined;
4186
+ scope?: string | undefined;
4187
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4076
4188
  token_url?: string | undefined;
4077
4189
  client_id?: string | undefined;
4078
4190
  client_secret?: string | undefined;
4079
- scope?: string | undefined;
4080
4191
  redirect_uri?: string | undefined;
4081
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4082
4192
  grant_types_supported?: string[] | undefined;
4083
4193
  token_endpoint_auth_methods_supported?: string[] | undefined;
4084
4194
  response_types_supported?: string[] | undefined;
@@ -4090,12 +4200,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4090
4200
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4091
4201
  }, {
4092
4202
  authorization_url?: string | undefined;
4203
+ scope?: string | undefined;
4204
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4093
4205
  token_url?: string | undefined;
4094
4206
  client_id?: string | undefined;
4095
4207
  client_secret?: string | undefined;
4096
- scope?: string | undefined;
4097
4208
  redirect_uri?: string | undefined;
4098
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4099
4209
  grant_types_supported?: string[] | undefined;
4100
4210
  token_endpoint_auth_methods_supported?: string[] | undefined;
4101
4211
  response_types_supported?: string[] | undefined;
@@ -4107,12 +4217,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4107
4217
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4108
4218
  }>, {
4109
4219
  authorization_url?: string | undefined;
4220
+ scope?: string | undefined;
4221
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4110
4222
  token_url?: string | undefined;
4111
4223
  client_id?: string | undefined;
4112
4224
  client_secret?: string | undefined;
4113
- scope?: string | undefined;
4114
4225
  redirect_uri?: string | undefined;
4115
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4116
4226
  grant_types_supported?: string[] | undefined;
4117
4227
  token_endpoint_auth_methods_supported?: string[] | undefined;
4118
4228
  response_types_supported?: string[] | undefined;
@@ -4124,12 +4234,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4124
4234
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4125
4235
  }, {
4126
4236
  authorization_url?: string | undefined;
4237
+ scope?: string | undefined;
4238
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4127
4239
  token_url?: string | undefined;
4128
4240
  client_id?: string | undefined;
4129
4241
  client_secret?: string | undefined;
4130
- scope?: string | undefined;
4131
4242
  redirect_uri?: string | undefined;
4132
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4133
4243
  grant_types_supported?: string[] | undefined;
4134
4244
  token_endpoint_auth_methods_supported?: string[] | undefined;
4135
4245
  response_types_supported?: string[] | undefined;
@@ -4159,10 +4269,10 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4159
4269
  [x: string]: z.ZodTypeAny;
4160
4270
  [x: number]: z.ZodTypeAny;
4161
4271
  oauth: z.ZodOptional<z.ZodEffects<z.ZodObject<{
4162
- client_id: z.ZodOptional<z.ZodString>;
4163
- client_secret: z.ZodOptional<z.ZodString>;
4164
4272
  scope: z.ZodOptional<z.ZodString>;
4165
4273
  token_exchange_method: z.ZodOptional<z.ZodNativeEnum<typeof TokenExchangeMethodEnum>>;
4274
+ client_id: z.ZodOptional<z.ZodString>;
4275
+ client_secret: z.ZodOptional<z.ZodString>;
4166
4276
  grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4167
4277
  token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4168
4278
  response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -4178,12 +4288,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4178
4288
  forward_audience_on_refresh: z.ZodOptional<z.ZodNever>;
4179
4289
  }, "strip", z.ZodTypeAny, {
4180
4290
  authorization_url?: string | undefined;
4291
+ scope?: string | undefined;
4292
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4181
4293
  token_url?: string | undefined;
4182
4294
  client_id?: string | undefined;
4183
4295
  client_secret?: string | undefined;
4184
- scope?: string | undefined;
4185
4296
  redirect_uri?: string | undefined;
4186
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4187
4297
  grant_types_supported?: string[] | undefined;
4188
4298
  token_endpoint_auth_methods_supported?: string[] | undefined;
4189
4299
  response_types_supported?: string[] | undefined;
@@ -4195,12 +4305,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4195
4305
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4196
4306
  }, {
4197
4307
  authorization_url?: string | undefined;
4308
+ scope?: string | undefined;
4309
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4198
4310
  token_url?: string | undefined;
4199
4311
  client_id?: string | undefined;
4200
4312
  client_secret?: string | undefined;
4201
- scope?: string | undefined;
4202
4313
  redirect_uri?: string | undefined;
4203
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4204
4314
  grant_types_supported?: string[] | undefined;
4205
4315
  token_endpoint_auth_methods_supported?: string[] | undefined;
4206
4316
  response_types_supported?: string[] | undefined;
@@ -4212,12 +4322,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4212
4322
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4213
4323
  }>, {
4214
4324
  authorization_url?: string | undefined;
4325
+ scope?: string | undefined;
4326
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4215
4327
  token_url?: string | undefined;
4216
4328
  client_id?: string | undefined;
4217
4329
  client_secret?: string | undefined;
4218
- scope?: string | undefined;
4219
4330
  redirect_uri?: string | undefined;
4220
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4221
4331
  grant_types_supported?: string[] | undefined;
4222
4332
  token_endpoint_auth_methods_supported?: string[] | undefined;
4223
4333
  response_types_supported?: string[] | undefined;
@@ -4229,12 +4339,12 @@ export declare const MCPServerUserInputSchema: z.ZodUnion<[z.ZodObject<{
4229
4339
  revocation_endpoint_auth_methods_supported?: string[] | undefined;
4230
4340
  }, {
4231
4341
  authorization_url?: string | undefined;
4342
+ scope?: string | undefined;
4343
+ token_exchange_method?: TokenExchangeMethodEnum | undefined;
4232
4344
  token_url?: string | undefined;
4233
4345
  client_id?: string | undefined;
4234
4346
  client_secret?: string | undefined;
4235
- scope?: string | undefined;
4236
4347
  redirect_uri?: string | undefined;
4237
- token_exchange_method?: TokenExchangeMethodEnum | undefined;
4238
4348
  grant_types_supported?: string[] | undefined;
4239
4349
  token_endpoint_auth_methods_supported?: string[] | undefined;
4240
4350
  response_types_supported?: string[] | undefined;