@dexto/agent-config 1.6.0 → 1.6.2

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.
@@ -43,8 +43,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
43
43
  content: z.ZodString;
44
44
  }, "strict", z.ZodTypeAny, {
45
45
  type: "static";
46
- content: string;
47
46
  enabled: boolean;
47
+ content: string;
48
48
  id: string;
49
49
  priority: number;
50
50
  }, {
@@ -128,8 +128,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
128
128
  }, "strict", z.ZodTypeAny, {
129
129
  contributors: ({
130
130
  type: "static";
131
- content: string;
132
131
  enabled: boolean;
132
+ content: string;
133
133
  id: string;
134
134
  priority: number;
135
135
  } | {
@@ -190,51 +190,72 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
190
190
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
191
191
  temperature: z.ZodOptional<z.ZodNumber>;
192
192
  allowedMediaTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
193
- reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
193
+ reasoning: z.ZodOptional<z.ZodObject<{
194
+ variant: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
195
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
196
+ }, "strict", z.ZodTypeAny, {
197
+ variant: string;
198
+ budgetTokens?: number | undefined;
199
+ }, {
200
+ variant: string;
201
+ budgetTokens?: number | undefined;
202
+ }>>;
194
203
  }, "strict", z.ZodTypeAny, {
195
204
  model: string;
196
205
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
197
206
  apiKey?: string | undefined;
198
207
  maxInputTokens?: number | undefined;
208
+ reasoning?: {
209
+ variant: string;
210
+ budgetTokens?: number | undefined;
211
+ } | undefined;
212
+ temperature?: number | undefined;
199
213
  maxIterations?: number | undefined;
200
214
  baseURL?: string | undefined;
201
215
  maxOutputTokens?: number | undefined;
202
- temperature?: number | undefined;
203
216
  allowedMediaTypes?: string[] | undefined;
204
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
205
217
  }, {
206
218
  model: string;
207
219
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
208
220
  apiKey?: string | undefined;
209
221
  maxInputTokens?: number | undefined;
222
+ reasoning?: {
223
+ variant: string;
224
+ budgetTokens?: number | undefined;
225
+ } | undefined;
226
+ temperature?: number | undefined;
210
227
  maxIterations?: number | undefined;
211
228
  baseURL?: string | undefined;
212
229
  maxOutputTokens?: number | undefined;
213
- temperature?: number | undefined;
214
230
  allowedMediaTypes?: string[] | undefined;
215
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
216
231
  }>, {
217
232
  model: string;
218
233
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
219
234
  apiKey?: string | undefined;
220
235
  maxInputTokens?: number | undefined;
236
+ reasoning?: {
237
+ variant: string;
238
+ budgetTokens?: number | undefined;
239
+ } | undefined;
240
+ temperature?: number | undefined;
221
241
  maxIterations?: number | undefined;
222
242
  baseURL?: string | undefined;
223
243
  maxOutputTokens?: number | undefined;
224
- temperature?: number | undefined;
225
244
  allowedMediaTypes?: string[] | undefined;
226
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
227
245
  }, {
228
246
  model: string;
229
247
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
230
248
  apiKey?: string | undefined;
231
249
  maxInputTokens?: number | undefined;
250
+ reasoning?: {
251
+ variant: string;
252
+ budgetTokens?: number | undefined;
253
+ } | undefined;
254
+ temperature?: number | undefined;
232
255
  maxIterations?: number | undefined;
233
256
  baseURL?: string | undefined;
234
257
  maxOutputTokens?: number | undefined;
235
- temperature?: number | undefined;
236
258
  allowedMediaTypes?: string[] | undefined;
237
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
238
259
  }>;
239
260
  agentCard: z.ZodOptional<z.ZodObject<{
240
261
  protocolVersion: z.ZodDefault<z.ZodString>;
@@ -774,6 +795,11 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
774
795
  name: string;
775
796
  url: string;
776
797
  version: string;
798
+ capabilities: {
799
+ streaming: boolean;
800
+ stateTransitionHistory: boolean;
801
+ pushNotifications?: boolean | undefined;
802
+ };
777
803
  protocolVersion: string;
778
804
  preferredTransport: "JSONRPC" | "GRPC" | "HTTP+JSON";
779
805
  defaultInputModes: string[];
@@ -787,15 +813,6 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
787
813
  outputModes: string[];
788
814
  examples?: string[] | undefined;
789
815
  }[];
790
- capabilities: {
791
- streaming: boolean;
792
- stateTransitionHistory: boolean;
793
- pushNotifications?: boolean | undefined;
794
- };
795
- provider?: {
796
- url: string;
797
- organization: string;
798
- } | undefined;
799
816
  metadata?: z.objectOutputType<{
800
817
  dexto: z.ZodOptional<z.ZodObject<{
801
818
  authentication: z.ZodOptional<z.ZodObject<{
@@ -871,6 +888,10 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
871
888
  } | undefined;
872
889
  }>>;
873
890
  }, z.ZodTypeAny, "passthrough"> | undefined;
891
+ provider?: {
892
+ url: string;
893
+ organization: string;
894
+ } | undefined;
874
895
  iconUrl?: string | undefined;
875
896
  documentationUrl?: string | undefined;
876
897
  additionalInterfaces?: {
@@ -935,10 +956,6 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
935
956
  name: string;
936
957
  url: string;
937
958
  version: string;
938
- provider?: {
939
- url: string;
940
- organization: string;
941
- } | undefined;
942
959
  metadata?: z.objectInputType<{
943
960
  dexto: z.ZodOptional<z.ZodObject<{
944
961
  authentication: z.ZodOptional<z.ZodObject<{
@@ -1014,6 +1031,15 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1014
1031
  } | undefined;
1015
1032
  }>>;
1016
1033
  }, z.ZodTypeAny, "passthrough"> | undefined;
1034
+ capabilities?: {
1035
+ streaming?: boolean | undefined;
1036
+ pushNotifications?: boolean | undefined;
1037
+ stateTransitionHistory?: boolean | undefined;
1038
+ } | undefined;
1039
+ provider?: {
1040
+ url: string;
1041
+ organization: string;
1042
+ } | undefined;
1017
1043
  protocolVersion?: string | undefined;
1018
1044
  preferredTransport?: "JSONRPC" | "GRPC" | "HTTP+JSON" | undefined;
1019
1045
  defaultInputModes?: string[] | undefined;
@@ -1033,11 +1059,6 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1033
1059
  url: string;
1034
1060
  transport: "JSONRPC" | "GRPC" | "HTTP+JSON";
1035
1061
  }[] | undefined;
1036
- capabilities?: {
1037
- streaming?: boolean | undefined;
1038
- pushNotifications?: boolean | undefined;
1039
- stateTransitionHistory?: boolean | undefined;
1040
- } | undefined;
1041
1062
  securitySchemes?: Record<string, {
1042
1063
  type: "apiKey";
1043
1064
  name: string;
@@ -1186,17 +1207,17 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1186
1207
  }, "strict", z.ZodTypeAny, {
1187
1208
  timeout: number;
1188
1209
  type: "stdio";
1189
- enabled: boolean;
1190
- command: string;
1191
1210
  args: string[];
1211
+ command: string;
1212
+ enabled: boolean;
1192
1213
  env: Record<string, string>;
1193
1214
  connectionMode: "strict" | "lenient";
1194
1215
  }, {
1195
1216
  type: "stdio";
1196
1217
  command: string;
1197
1218
  timeout?: number | undefined;
1198
- enabled?: boolean | undefined;
1199
1219
  args?: string[] | undefined;
1220
+ enabled?: boolean | undefined;
1200
1221
  env?: Record<string, string> | undefined;
1201
1222
  connectionMode?: "strict" | "lenient" | undefined;
1202
1223
  }>, z.ZodObject<{
@@ -1244,9 +1265,9 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1244
1265
  }>]>, {
1245
1266
  timeout: number;
1246
1267
  type: "stdio";
1247
- enabled: boolean;
1248
- command: string;
1249
1268
  args: string[];
1269
+ command: string;
1270
+ enabled: boolean;
1250
1271
  env: Record<string, string>;
1251
1272
  connectionMode: "strict" | "lenient";
1252
1273
  } | {
@@ -1267,8 +1288,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1267
1288
  type: "stdio";
1268
1289
  command: string;
1269
1290
  timeout?: number | undefined;
1270
- enabled?: boolean | undefined;
1271
1291
  args?: string[] | undefined;
1292
+ enabled?: boolean | undefined;
1272
1293
  env?: Record<string, string> | undefined;
1273
1294
  connectionMode?: "strict" | "lenient" | undefined;
1274
1295
  } | {
@@ -1321,13 +1342,13 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1321
1342
  }, "strict", z.ZodTypeAny, {
1322
1343
  path: string;
1323
1344
  type: "file";
1324
- maxSize: number;
1325
1345
  maxFiles: number;
1346
+ maxSize: number;
1326
1347
  }, {
1327
1348
  path: string;
1328
1349
  type: "file";
1329
- maxSize?: number | undefined;
1330
1350
  maxFiles?: number | undefined;
1351
+ maxSize?: number | undefined;
1331
1352
  }>, z.ZodObject<{
1332
1353
  type: z.ZodLiteral<"upstash">;
1333
1354
  url: z.ZodString;
@@ -1360,8 +1381,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1360
1381
  } | {
1361
1382
  path: string;
1362
1383
  type: "file";
1363
- maxSize: number;
1364
1384
  maxFiles: number;
1385
+ maxSize: number;
1365
1386
  } | {
1366
1387
  token: string;
1367
1388
  type: "upstash";
@@ -1380,8 +1401,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1380
1401
  } | {
1381
1402
  path: string;
1382
1403
  type: "file";
1383
- maxSize?: number | undefined;
1384
1404
  maxFiles?: number | undefined;
1405
+ maxSize?: number | undefined;
1385
1406
  } | {
1386
1407
  token: string;
1387
1408
  type: "upstash";
@@ -1552,8 +1573,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1552
1573
  'disable-model-invocation': boolean;
1553
1574
  'user-invocable': boolean;
1554
1575
  agent?: string | undefined;
1555
- model?: string | undefined;
1556
1576
  title?: string | undefined;
1577
+ model?: string | undefined;
1557
1578
  'allowed-tools'?: string[] | undefined;
1558
1579
  }, {
1559
1580
  prompt: string;
@@ -1562,9 +1583,9 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1562
1583
  agent?: string | undefined;
1563
1584
  context?: "inline" | "fork" | undefined;
1564
1585
  description?: string | undefined;
1586
+ title?: string | undefined;
1565
1587
  model?: string | undefined;
1566
1588
  priority?: number | undefined;
1567
- title?: string | undefined;
1568
1589
  category?: string | undefined;
1569
1590
  showInStarters?: boolean | undefined;
1570
1591
  'disable-model-invocation'?: boolean | undefined;
@@ -1615,8 +1636,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1615
1636
  'disable-model-invocation': boolean;
1616
1637
  'user-invocable': boolean;
1617
1638
  agent?: string | undefined;
1618
- model?: string | undefined;
1619
1639
  title?: string | undefined;
1640
+ model?: string | undefined;
1620
1641
  'allowed-tools'?: string[] | undefined;
1621
1642
  } | {
1622
1643
  file: string;
@@ -1636,9 +1657,9 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1636
1657
  agent?: string | undefined;
1637
1658
  context?: "inline" | "fork" | undefined;
1638
1659
  description?: string | undefined;
1660
+ title?: string | undefined;
1639
1661
  model?: string | undefined;
1640
1662
  priority?: number | undefined;
1641
- title?: string | undefined;
1642
1663
  category?: string | undefined;
1643
1664
  showInStarters?: boolean | undefined;
1644
1665
  'disable-model-invocation'?: boolean | undefined;
@@ -1688,9 +1709,9 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1688
1709
  agent?: string | undefined;
1689
1710
  context?: "inline" | "fork" | undefined;
1690
1711
  description?: string | undefined;
1712
+ title?: string | undefined;
1691
1713
  model?: string | undefined;
1692
1714
  priority?: number | undefined;
1693
- title?: string | undefined;
1694
1715
  category?: string | undefined;
1695
1716
  showInStarters?: boolean | undefined;
1696
1717
  'disable-model-invocation'?: boolean | undefined;
@@ -1746,8 +1767,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1746
1767
  } | {
1747
1768
  contributors: ({
1748
1769
  type: "static";
1749
- content: string;
1750
1770
  enabled: boolean;
1771
+ content: string;
1751
1772
  id: string;
1752
1773
  priority: number;
1753
1774
  } | {
@@ -1776,12 +1797,15 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1776
1797
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
1777
1798
  apiKey?: string | undefined;
1778
1799
  maxInputTokens?: number | undefined;
1800
+ reasoning?: {
1801
+ variant: string;
1802
+ budgetTokens?: number | undefined;
1803
+ } | undefined;
1804
+ temperature?: number | undefined;
1779
1805
  maxIterations?: number | undefined;
1780
1806
  baseURL?: string | undefined;
1781
1807
  maxOutputTokens?: number | undefined;
1782
- temperature?: number | undefined;
1783
1808
  allowedMediaTypes?: string[] | undefined;
1784
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
1785
1809
  };
1786
1810
  agentFile: {
1787
1811
  discoverInCwd: boolean;
@@ -1790,9 +1814,9 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1790
1814
  mcpServers: Record<string, ({
1791
1815
  timeout: number;
1792
1816
  type: "stdio";
1793
- enabled: boolean;
1794
- command: string;
1795
1817
  args: string[];
1818
+ command: string;
1819
+ enabled: boolean;
1796
1820
  env: Record<string, string>;
1797
1821
  connectionMode: "strict" | "lenient";
1798
1822
  } | {
@@ -1820,8 +1844,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1820
1844
  } | {
1821
1845
  path: string;
1822
1846
  type: "file";
1823
- maxSize: number;
1824
1847
  maxFiles: number;
1848
+ maxSize: number;
1825
1849
  } | {
1826
1850
  token: string;
1827
1851
  type: "upstash";
@@ -1915,6 +1939,11 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1915
1939
  name: string;
1916
1940
  url: string;
1917
1941
  version: string;
1942
+ capabilities: {
1943
+ streaming: boolean;
1944
+ stateTransitionHistory: boolean;
1945
+ pushNotifications?: boolean | undefined;
1946
+ };
1918
1947
  protocolVersion: string;
1919
1948
  preferredTransport: "JSONRPC" | "GRPC" | "HTTP+JSON";
1920
1949
  defaultInputModes: string[];
@@ -1928,15 +1957,6 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
1928
1957
  outputModes: string[];
1929
1958
  examples?: string[] | undefined;
1930
1959
  }[];
1931
- capabilities: {
1932
- streaming: boolean;
1933
- stateTransitionHistory: boolean;
1934
- pushNotifications?: boolean | undefined;
1935
- };
1936
- provider?: {
1937
- url: string;
1938
- organization: string;
1939
- } | undefined;
1940
1960
  metadata?: z.objectOutputType<{
1941
1961
  dexto: z.ZodOptional<z.ZodObject<{
1942
1962
  authentication: z.ZodOptional<z.ZodObject<{
@@ -2012,6 +2032,10 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
2012
2032
  } | undefined;
2013
2033
  }>>;
2014
2034
  }, z.ZodTypeAny, "passthrough"> | undefined;
2035
+ provider?: {
2036
+ url: string;
2037
+ organization: string;
2038
+ } | undefined;
2015
2039
  iconUrl?: string | undefined;
2016
2040
  documentationUrl?: string | undefined;
2017
2041
  additionalInterfaces?: {
@@ -2137,22 +2161,21 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
2137
2161
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
2138
2162
  apiKey?: string | undefined;
2139
2163
  maxInputTokens?: number | undefined;
2164
+ reasoning?: {
2165
+ variant: string;
2166
+ budgetTokens?: number | undefined;
2167
+ } | undefined;
2168
+ temperature?: number | undefined;
2140
2169
  maxIterations?: number | undefined;
2141
2170
  baseURL?: string | undefined;
2142
2171
  maxOutputTokens?: number | undefined;
2143
- temperature?: number | undefined;
2144
2172
  allowedMediaTypes?: string[] | undefined;
2145
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
2146
2173
  };
2147
2174
  agentCard?: {
2148
2175
  description: string;
2149
2176
  name: string;
2150
2177
  url: string;
2151
2178
  version: string;
2152
- provider?: {
2153
- url: string;
2154
- organization: string;
2155
- } | undefined;
2156
2179
  metadata?: z.objectInputType<{
2157
2180
  dexto: z.ZodOptional<z.ZodObject<{
2158
2181
  authentication: z.ZodOptional<z.ZodObject<{
@@ -2228,6 +2251,15 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
2228
2251
  } | undefined;
2229
2252
  }>>;
2230
2253
  }, z.ZodTypeAny, "passthrough"> | undefined;
2254
+ capabilities?: {
2255
+ streaming?: boolean | undefined;
2256
+ pushNotifications?: boolean | undefined;
2257
+ stateTransitionHistory?: boolean | undefined;
2258
+ } | undefined;
2259
+ provider?: {
2260
+ url: string;
2261
+ organization: string;
2262
+ } | undefined;
2231
2263
  protocolVersion?: string | undefined;
2232
2264
  preferredTransport?: "JSONRPC" | "GRPC" | "HTTP+JSON" | undefined;
2233
2265
  defaultInputModes?: string[] | undefined;
@@ -2247,11 +2279,6 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
2247
2279
  url: string;
2248
2280
  transport: "JSONRPC" | "GRPC" | "HTTP+JSON";
2249
2281
  }[] | undefined;
2250
- capabilities?: {
2251
- streaming?: boolean | undefined;
2252
- pushNotifications?: boolean | undefined;
2253
- stateTransitionHistory?: boolean | undefined;
2254
- } | undefined;
2255
2282
  securitySchemes?: Record<string, {
2256
2283
  type: "apiKey";
2257
2284
  name: string;
@@ -2337,8 +2364,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
2337
2364
  type: "stdio";
2338
2365
  command: string;
2339
2366
  timeout?: number | undefined;
2340
- enabled?: boolean | undefined;
2341
2367
  args?: string[] | undefined;
2368
+ enabled?: boolean | undefined;
2342
2369
  env?: Record<string, string> | undefined;
2343
2370
  connectionMode?: "strict" | "lenient" | undefined;
2344
2371
  } | {
@@ -2370,8 +2397,8 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
2370
2397
  } | {
2371
2398
  path: string;
2372
2399
  type: "file";
2373
- maxSize?: number | undefined;
2374
2400
  maxFiles?: number | undefined;
2401
+ maxSize?: number | undefined;
2375
2402
  } | {
2376
2403
  token: string;
2377
2404
  type: "upstash";
@@ -2432,9 +2459,9 @@ export declare function createAgentConfigSchema(): z.ZodBranded<z.ZodObject<{
2432
2459
  agent?: string | undefined;
2433
2460
  context?: "inline" | "fork" | undefined;
2434
2461
  description?: string | undefined;
2462
+ title?: string | undefined;
2435
2463
  model?: string | undefined;
2436
2464
  priority?: number | undefined;
2437
- title?: string | undefined;
2438
2465
  category?: string | undefined;
2439
2466
  showInStarters?: boolean | undefined;
2440
2467
  'disable-model-invocation'?: boolean | undefined;
@@ -2485,8 +2512,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
2485
2512
  content: z.ZodString;
2486
2513
  }, "strict", z.ZodTypeAny, {
2487
2514
  type: "static";
2488
- content: string;
2489
2515
  enabled: boolean;
2516
+ content: string;
2490
2517
  id: string;
2491
2518
  priority: number;
2492
2519
  }, {
@@ -2570,8 +2597,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
2570
2597
  }, "strict", z.ZodTypeAny, {
2571
2598
  contributors: ({
2572
2599
  type: "static";
2573
- content: string;
2574
2600
  enabled: boolean;
2601
+ content: string;
2575
2602
  id: string;
2576
2603
  priority: number;
2577
2604
  } | {
@@ -2632,51 +2659,72 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
2632
2659
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
2633
2660
  temperature: z.ZodOptional<z.ZodNumber>;
2634
2661
  allowedMediaTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2635
- reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh"]>>;
2662
+ reasoning: z.ZodOptional<z.ZodObject<{
2663
+ variant: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2664
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
2665
+ }, "strict", z.ZodTypeAny, {
2666
+ variant: string;
2667
+ budgetTokens?: number | undefined;
2668
+ }, {
2669
+ variant: string;
2670
+ budgetTokens?: number | undefined;
2671
+ }>>;
2636
2672
  }, "strict", z.ZodTypeAny, {
2637
2673
  model: string;
2638
2674
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
2639
2675
  apiKey?: string | undefined;
2640
2676
  maxInputTokens?: number | undefined;
2677
+ reasoning?: {
2678
+ variant: string;
2679
+ budgetTokens?: number | undefined;
2680
+ } | undefined;
2681
+ temperature?: number | undefined;
2641
2682
  maxIterations?: number | undefined;
2642
2683
  baseURL?: string | undefined;
2643
2684
  maxOutputTokens?: number | undefined;
2644
- temperature?: number | undefined;
2645
2685
  allowedMediaTypes?: string[] | undefined;
2646
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
2647
2686
  }, {
2648
2687
  model: string;
2649
2688
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
2650
2689
  apiKey?: string | undefined;
2651
2690
  maxInputTokens?: number | undefined;
2691
+ reasoning?: {
2692
+ variant: string;
2693
+ budgetTokens?: number | undefined;
2694
+ } | undefined;
2695
+ temperature?: number | undefined;
2652
2696
  maxIterations?: number | undefined;
2653
2697
  baseURL?: string | undefined;
2654
2698
  maxOutputTokens?: number | undefined;
2655
- temperature?: number | undefined;
2656
2699
  allowedMediaTypes?: string[] | undefined;
2657
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
2658
2700
  }>, {
2659
2701
  model: string;
2660
2702
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
2661
2703
  apiKey?: string | undefined;
2662
2704
  maxInputTokens?: number | undefined;
2705
+ reasoning?: {
2706
+ variant: string;
2707
+ budgetTokens?: number | undefined;
2708
+ } | undefined;
2709
+ temperature?: number | undefined;
2663
2710
  maxIterations?: number | undefined;
2664
2711
  baseURL?: string | undefined;
2665
2712
  maxOutputTokens?: number | undefined;
2666
- temperature?: number | undefined;
2667
2713
  allowedMediaTypes?: string[] | undefined;
2668
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
2669
2714
  }, {
2670
2715
  model: string;
2671
2716
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
2672
2717
  apiKey?: string | undefined;
2673
2718
  maxInputTokens?: number | undefined;
2719
+ reasoning?: {
2720
+ variant: string;
2721
+ budgetTokens?: number | undefined;
2722
+ } | undefined;
2723
+ temperature?: number | undefined;
2674
2724
  maxIterations?: number | undefined;
2675
2725
  baseURL?: string | undefined;
2676
2726
  maxOutputTokens?: number | undefined;
2677
- temperature?: number | undefined;
2678
2727
  allowedMediaTypes?: string[] | undefined;
2679
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
2680
2728
  }>;
2681
2729
  agentCard: z.ZodOptional<z.ZodObject<{
2682
2730
  protocolVersion: z.ZodDefault<z.ZodString>;
@@ -3216,6 +3264,11 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3216
3264
  name: string;
3217
3265
  url: string;
3218
3266
  version: string;
3267
+ capabilities: {
3268
+ streaming: boolean;
3269
+ stateTransitionHistory: boolean;
3270
+ pushNotifications?: boolean | undefined;
3271
+ };
3219
3272
  protocolVersion: string;
3220
3273
  preferredTransport: "JSONRPC" | "GRPC" | "HTTP+JSON";
3221
3274
  defaultInputModes: string[];
@@ -3229,15 +3282,6 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3229
3282
  outputModes: string[];
3230
3283
  examples?: string[] | undefined;
3231
3284
  }[];
3232
- capabilities: {
3233
- streaming: boolean;
3234
- stateTransitionHistory: boolean;
3235
- pushNotifications?: boolean | undefined;
3236
- };
3237
- provider?: {
3238
- url: string;
3239
- organization: string;
3240
- } | undefined;
3241
3285
  metadata?: z.objectOutputType<{
3242
3286
  dexto: z.ZodOptional<z.ZodObject<{
3243
3287
  authentication: z.ZodOptional<z.ZodObject<{
@@ -3313,6 +3357,10 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3313
3357
  } | undefined;
3314
3358
  }>>;
3315
3359
  }, z.ZodTypeAny, "passthrough"> | undefined;
3360
+ provider?: {
3361
+ url: string;
3362
+ organization: string;
3363
+ } | undefined;
3316
3364
  iconUrl?: string | undefined;
3317
3365
  documentationUrl?: string | undefined;
3318
3366
  additionalInterfaces?: {
@@ -3377,10 +3425,6 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3377
3425
  name: string;
3378
3426
  url: string;
3379
3427
  version: string;
3380
- provider?: {
3381
- url: string;
3382
- organization: string;
3383
- } | undefined;
3384
3428
  metadata?: z.objectInputType<{
3385
3429
  dexto: z.ZodOptional<z.ZodObject<{
3386
3430
  authentication: z.ZodOptional<z.ZodObject<{
@@ -3456,6 +3500,15 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3456
3500
  } | undefined;
3457
3501
  }>>;
3458
3502
  }, z.ZodTypeAny, "passthrough"> | undefined;
3503
+ capabilities?: {
3504
+ streaming?: boolean | undefined;
3505
+ pushNotifications?: boolean | undefined;
3506
+ stateTransitionHistory?: boolean | undefined;
3507
+ } | undefined;
3508
+ provider?: {
3509
+ url: string;
3510
+ organization: string;
3511
+ } | undefined;
3459
3512
  protocolVersion?: string | undefined;
3460
3513
  preferredTransport?: "JSONRPC" | "GRPC" | "HTTP+JSON" | undefined;
3461
3514
  defaultInputModes?: string[] | undefined;
@@ -3475,11 +3528,6 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3475
3528
  url: string;
3476
3529
  transport: "JSONRPC" | "GRPC" | "HTTP+JSON";
3477
3530
  }[] | undefined;
3478
- capabilities?: {
3479
- streaming?: boolean | undefined;
3480
- pushNotifications?: boolean | undefined;
3481
- stateTransitionHistory?: boolean | undefined;
3482
- } | undefined;
3483
3531
  securitySchemes?: Record<string, {
3484
3532
  type: "apiKey";
3485
3533
  name: string;
@@ -3628,17 +3676,17 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3628
3676
  }, "strict", z.ZodTypeAny, {
3629
3677
  timeout: number;
3630
3678
  type: "stdio";
3631
- enabled: boolean;
3632
- command: string;
3633
3679
  args: string[];
3680
+ command: string;
3681
+ enabled: boolean;
3634
3682
  env: Record<string, string>;
3635
3683
  connectionMode: "strict" | "lenient";
3636
3684
  }, {
3637
3685
  type: "stdio";
3638
3686
  command: string;
3639
3687
  timeout?: number | undefined;
3640
- enabled?: boolean | undefined;
3641
3688
  args?: string[] | undefined;
3689
+ enabled?: boolean | undefined;
3642
3690
  env?: Record<string, string> | undefined;
3643
3691
  connectionMode?: "strict" | "lenient" | undefined;
3644
3692
  }>, z.ZodObject<{
@@ -3686,9 +3734,9 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3686
3734
  }>]>, {
3687
3735
  timeout: number;
3688
3736
  type: "stdio";
3689
- enabled: boolean;
3690
- command: string;
3691
3737
  args: string[];
3738
+ command: string;
3739
+ enabled: boolean;
3692
3740
  env: Record<string, string>;
3693
3741
  connectionMode: "strict" | "lenient";
3694
3742
  } | {
@@ -3709,8 +3757,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3709
3757
  type: "stdio";
3710
3758
  command: string;
3711
3759
  timeout?: number | undefined;
3712
- enabled?: boolean | undefined;
3713
3760
  args?: string[] | undefined;
3761
+ enabled?: boolean | undefined;
3714
3762
  env?: Record<string, string> | undefined;
3715
3763
  connectionMode?: "strict" | "lenient" | undefined;
3716
3764
  } | {
@@ -3763,13 +3811,13 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3763
3811
  }, "strict", z.ZodTypeAny, {
3764
3812
  path: string;
3765
3813
  type: "file";
3766
- maxSize: number;
3767
3814
  maxFiles: number;
3815
+ maxSize: number;
3768
3816
  }, {
3769
3817
  path: string;
3770
3818
  type: "file";
3771
- maxSize?: number | undefined;
3772
3819
  maxFiles?: number | undefined;
3820
+ maxSize?: number | undefined;
3773
3821
  }>, z.ZodObject<{
3774
3822
  type: z.ZodLiteral<"upstash">;
3775
3823
  url: z.ZodString;
@@ -3802,8 +3850,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3802
3850
  } | {
3803
3851
  path: string;
3804
3852
  type: "file";
3805
- maxSize: number;
3806
3853
  maxFiles: number;
3854
+ maxSize: number;
3807
3855
  } | {
3808
3856
  token: string;
3809
3857
  type: "upstash";
@@ -3822,8 +3870,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3822
3870
  } | {
3823
3871
  path: string;
3824
3872
  type: "file";
3825
- maxSize?: number | undefined;
3826
3873
  maxFiles?: number | undefined;
3874
+ maxSize?: number | undefined;
3827
3875
  } | {
3828
3876
  token: string;
3829
3877
  type: "upstash";
@@ -3994,8 +4042,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
3994
4042
  'disable-model-invocation': boolean;
3995
4043
  'user-invocable': boolean;
3996
4044
  agent?: string | undefined;
3997
- model?: string | undefined;
3998
4045
  title?: string | undefined;
4046
+ model?: string | undefined;
3999
4047
  'allowed-tools'?: string[] | undefined;
4000
4048
  }, {
4001
4049
  prompt: string;
@@ -4004,9 +4052,9 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4004
4052
  agent?: string | undefined;
4005
4053
  context?: "inline" | "fork" | undefined;
4006
4054
  description?: string | undefined;
4055
+ title?: string | undefined;
4007
4056
  model?: string | undefined;
4008
4057
  priority?: number | undefined;
4009
- title?: string | undefined;
4010
4058
  category?: string | undefined;
4011
4059
  showInStarters?: boolean | undefined;
4012
4060
  'disable-model-invocation'?: boolean | undefined;
@@ -4057,8 +4105,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4057
4105
  'disable-model-invocation': boolean;
4058
4106
  'user-invocable': boolean;
4059
4107
  agent?: string | undefined;
4060
- model?: string | undefined;
4061
4108
  title?: string | undefined;
4109
+ model?: string | undefined;
4062
4110
  'allowed-tools'?: string[] | undefined;
4063
4111
  } | {
4064
4112
  file: string;
@@ -4078,9 +4126,9 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4078
4126
  agent?: string | undefined;
4079
4127
  context?: "inline" | "fork" | undefined;
4080
4128
  description?: string | undefined;
4129
+ title?: string | undefined;
4081
4130
  model?: string | undefined;
4082
4131
  priority?: number | undefined;
4083
- title?: string | undefined;
4084
4132
  category?: string | undefined;
4085
4133
  showInStarters?: boolean | undefined;
4086
4134
  'disable-model-invocation'?: boolean | undefined;
@@ -4130,9 +4178,9 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4130
4178
  agent?: string | undefined;
4131
4179
  context?: "inline" | "fork" | undefined;
4132
4180
  description?: string | undefined;
4181
+ title?: string | undefined;
4133
4182
  model?: string | undefined;
4134
4183
  priority?: number | undefined;
4135
- title?: string | undefined;
4136
4184
  category?: string | undefined;
4137
4185
  showInStarters?: boolean | undefined;
4138
4186
  'disable-model-invocation'?: boolean | undefined;
@@ -4188,8 +4236,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4188
4236
  } | {
4189
4237
  contributors: ({
4190
4238
  type: "static";
4191
- content: string;
4192
4239
  enabled: boolean;
4240
+ content: string;
4193
4241
  id: string;
4194
4242
  priority: number;
4195
4243
  } | {
@@ -4218,12 +4266,15 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4218
4266
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
4219
4267
  apiKey?: string | undefined;
4220
4268
  maxInputTokens?: number | undefined;
4269
+ reasoning?: {
4270
+ variant: string;
4271
+ budgetTokens?: number | undefined;
4272
+ } | undefined;
4273
+ temperature?: number | undefined;
4221
4274
  maxIterations?: number | undefined;
4222
4275
  baseURL?: string | undefined;
4223
4276
  maxOutputTokens?: number | undefined;
4224
- temperature?: number | undefined;
4225
4277
  allowedMediaTypes?: string[] | undefined;
4226
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
4227
4278
  };
4228
4279
  agentFile: {
4229
4280
  discoverInCwd: boolean;
@@ -4232,9 +4283,9 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4232
4283
  mcpServers: Record<string, ({
4233
4284
  timeout: number;
4234
4285
  type: "stdio";
4235
- enabled: boolean;
4236
- command: string;
4237
4286
  args: string[];
4287
+ command: string;
4288
+ enabled: boolean;
4238
4289
  env: Record<string, string>;
4239
4290
  connectionMode: "strict" | "lenient";
4240
4291
  } | {
@@ -4262,8 +4313,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4262
4313
  } | {
4263
4314
  path: string;
4264
4315
  type: "file";
4265
- maxSize: number;
4266
4316
  maxFiles: number;
4317
+ maxSize: number;
4267
4318
  } | {
4268
4319
  token: string;
4269
4320
  type: "upstash";
@@ -4357,6 +4408,11 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4357
4408
  name: string;
4358
4409
  url: string;
4359
4410
  version: string;
4411
+ capabilities: {
4412
+ streaming: boolean;
4413
+ stateTransitionHistory: boolean;
4414
+ pushNotifications?: boolean | undefined;
4415
+ };
4360
4416
  protocolVersion: string;
4361
4417
  preferredTransport: "JSONRPC" | "GRPC" | "HTTP+JSON";
4362
4418
  defaultInputModes: string[];
@@ -4370,15 +4426,6 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4370
4426
  outputModes: string[];
4371
4427
  examples?: string[] | undefined;
4372
4428
  }[];
4373
- capabilities: {
4374
- streaming: boolean;
4375
- stateTransitionHistory: boolean;
4376
- pushNotifications?: boolean | undefined;
4377
- };
4378
- provider?: {
4379
- url: string;
4380
- organization: string;
4381
- } | undefined;
4382
4429
  metadata?: z.objectOutputType<{
4383
4430
  dexto: z.ZodOptional<z.ZodObject<{
4384
4431
  authentication: z.ZodOptional<z.ZodObject<{
@@ -4454,6 +4501,10 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4454
4501
  } | undefined;
4455
4502
  }>>;
4456
4503
  }, z.ZodTypeAny, "passthrough"> | undefined;
4504
+ provider?: {
4505
+ url: string;
4506
+ organization: string;
4507
+ } | undefined;
4457
4508
  iconUrl?: string | undefined;
4458
4509
  documentationUrl?: string | undefined;
4459
4510
  additionalInterfaces?: {
@@ -4579,22 +4630,21 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4579
4630
  provider: "openai" | "openai-compatible" | "anthropic" | "google" | "groq" | "xai" | "cohere" | "minimax" | "glm" | "openrouter" | "litellm" | "glama" | "vertex" | "bedrock" | "local" | "ollama" | "dexto-nova";
4580
4631
  apiKey?: string | undefined;
4581
4632
  maxInputTokens?: number | undefined;
4633
+ reasoning?: {
4634
+ variant: string;
4635
+ budgetTokens?: number | undefined;
4636
+ } | undefined;
4637
+ temperature?: number | undefined;
4582
4638
  maxIterations?: number | undefined;
4583
4639
  baseURL?: string | undefined;
4584
4640
  maxOutputTokens?: number | undefined;
4585
- temperature?: number | undefined;
4586
4641
  allowedMediaTypes?: string[] | undefined;
4587
- reasoningEffort?: "low" | "none" | "minimal" | "medium" | "high" | "xhigh" | undefined;
4588
4642
  };
4589
4643
  agentCard?: {
4590
4644
  description: string;
4591
4645
  name: string;
4592
4646
  url: string;
4593
4647
  version: string;
4594
- provider?: {
4595
- url: string;
4596
- organization: string;
4597
- } | undefined;
4598
4648
  metadata?: z.objectInputType<{
4599
4649
  dexto: z.ZodOptional<z.ZodObject<{
4600
4650
  authentication: z.ZodOptional<z.ZodObject<{
@@ -4670,6 +4720,15 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4670
4720
  } | undefined;
4671
4721
  }>>;
4672
4722
  }, z.ZodTypeAny, "passthrough"> | undefined;
4723
+ capabilities?: {
4724
+ streaming?: boolean | undefined;
4725
+ pushNotifications?: boolean | undefined;
4726
+ stateTransitionHistory?: boolean | undefined;
4727
+ } | undefined;
4728
+ provider?: {
4729
+ url: string;
4730
+ organization: string;
4731
+ } | undefined;
4673
4732
  protocolVersion?: string | undefined;
4674
4733
  preferredTransport?: "JSONRPC" | "GRPC" | "HTTP+JSON" | undefined;
4675
4734
  defaultInputModes?: string[] | undefined;
@@ -4689,11 +4748,6 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4689
4748
  url: string;
4690
4749
  transport: "JSONRPC" | "GRPC" | "HTTP+JSON";
4691
4750
  }[] | undefined;
4692
- capabilities?: {
4693
- streaming?: boolean | undefined;
4694
- pushNotifications?: boolean | undefined;
4695
- stateTransitionHistory?: boolean | undefined;
4696
- } | undefined;
4697
4751
  securitySchemes?: Record<string, {
4698
4752
  type: "apiKey";
4699
4753
  name: string;
@@ -4779,8 +4833,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4779
4833
  type: "stdio";
4780
4834
  command: string;
4781
4835
  timeout?: number | undefined;
4782
- enabled?: boolean | undefined;
4783
4836
  args?: string[] | undefined;
4837
+ enabled?: boolean | undefined;
4784
4838
  env?: Record<string, string> | undefined;
4785
4839
  connectionMode?: "strict" | "lenient" | undefined;
4786
4840
  } | {
@@ -4812,8 +4866,8 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4812
4866
  } | {
4813
4867
  path: string;
4814
4868
  type: "file";
4815
- maxSize?: number | undefined;
4816
4869
  maxFiles?: number | undefined;
4870
+ maxSize?: number | undefined;
4817
4871
  } | {
4818
4872
  token: string;
4819
4873
  type: "upstash";
@@ -4874,9 +4928,9 @@ export declare const AgentConfigSchema: z.ZodBranded<z.ZodObject<{
4874
4928
  agent?: string | undefined;
4875
4929
  context?: "inline" | "fork" | undefined;
4876
4930
  description?: string | undefined;
4931
+ title?: string | undefined;
4877
4932
  model?: string | undefined;
4878
4933
  priority?: number | undefined;
4879
- title?: string | undefined;
4880
4934
  category?: string | undefined;
4881
4935
  showInStarters?: boolean | undefined;
4882
4936
  'disable-model-invocation'?: boolean | undefined;