@dexto/core 1.6.27 → 1.7.0

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 (68) hide show
  1. package/dist/agent/DextoAgent.d.ts +3 -3
  2. package/dist/agent/DextoAgent.d.ts.map +1 -1
  3. package/dist/agent/schemas.cjs +5 -5
  4. package/dist/agent/schemas.d.ts +69 -980
  5. package/dist/agent/schemas.d.ts.map +1 -1
  6. package/dist/agent/schemas.js +5 -5
  7. package/dist/approval/schemas.cjs +6 -6
  8. package/dist/approval/schemas.d.ts +316 -1292
  9. package/dist/approval/schemas.d.ts.map +1 -1
  10. package/dist/approval/schemas.js +6 -6
  11. package/dist/approval/session-approval-store.cjs +1 -1
  12. package/dist/approval/session-approval-store.d.ts +12 -30
  13. package/dist/approval/session-approval-store.d.ts.map +1 -1
  14. package/dist/approval/session-approval-store.js +1 -1
  15. package/dist/llm/providers/local/schemas.d.ts +102 -262
  16. package/dist/llm/providers/local/schemas.d.ts.map +1 -1
  17. package/dist/llm/registry/index.d.ts +5 -3
  18. package/dist/llm/registry/index.d.ts.map +1 -1
  19. package/dist/llm/resolver.cjs +0 -1
  20. package/dist/llm/resolver.d.ts.map +1 -1
  21. package/dist/llm/resolver.js +0 -1
  22. package/dist/llm/schemas.d.ts +95 -199
  23. package/dist/llm/schemas.d.ts.map +1 -1
  24. package/dist/logger/default-logger-factory.d.ts +28 -256
  25. package/dist/logger/default-logger-factory.d.ts.map +1 -1
  26. package/dist/logger/v2/schemas.d.ts +18 -120
  27. package/dist/logger/v2/schemas.d.ts.map +1 -1
  28. package/dist/mcp/schemas.cjs +4 -4
  29. package/dist/mcp/schemas.d.ts +77 -270
  30. package/dist/mcp/schemas.d.ts.map +1 -1
  31. package/dist/mcp/schemas.js +4 -4
  32. package/dist/memory/schemas.d.ts +37 -117
  33. package/dist/memory/schemas.d.ts.map +1 -1
  34. package/dist/prompts/schemas.d.ts +46 -190
  35. package/dist/prompts/schemas.d.ts.map +1 -1
  36. package/dist/resources/schemas.d.ts +14 -68
  37. package/dist/resources/schemas.d.ts.map +1 -1
  38. package/dist/runtime/host-runtime.d.ts +1 -5
  39. package/dist/runtime/host-runtime.d.ts.map +1 -1
  40. package/dist/session/schemas.d.ts +1 -7
  41. package/dist/session/schemas.d.ts.map +1 -1
  42. package/dist/systemPrompt/schemas.cjs +2 -10
  43. package/dist/systemPrompt/schemas.d.ts +53 -343
  44. package/dist/systemPrompt/schemas.d.ts.map +1 -1
  45. package/dist/systemPrompt/schemas.js +2 -10
  46. package/dist/telemetry/schemas.cjs +1 -1
  47. package/dist/telemetry/schemas.d.ts +9 -44
  48. package/dist/telemetry/schemas.d.ts.map +1 -1
  49. package/dist/telemetry/schemas.js +1 -1
  50. package/dist/tools/schemas.cjs +1 -1
  51. package/dist/tools/schemas.d.ts +19 -62
  52. package/dist/tools/schemas.d.ts.map +1 -1
  53. package/dist/tools/schemas.js +1 -1
  54. package/dist/tools/session-tool-preferences-store.d.ts +3 -9
  55. package/dist/tools/session-tool-preferences-store.d.ts.map +1 -1
  56. package/dist/utils/result.cjs +11 -8
  57. package/dist/utils/result.d.ts +6 -6
  58. package/dist/utils/result.d.ts.map +1 -1
  59. package/dist/utils/result.js +12 -9
  60. package/dist/utils/schema.cjs +6 -2
  61. package/dist/utils/schema.d.ts +2 -7
  62. package/dist/utils/schema.d.ts.map +1 -1
  63. package/dist/utils/schema.js +6 -2
  64. package/dist/utils/zod-schema-converter.cjs +66 -66
  65. package/dist/utils/zod-schema-converter.d.ts +3 -2
  66. package/dist/utils/zod-schema-converter.d.ts.map +1 -1
  67. package/dist/utils/zod-schema-converter.js +66 -66
  68. package/package.json +4 -5
@@ -5,37 +5,21 @@
5
5
  * It never duplicates per-field literal defaults.
6
6
  */
7
7
  import { z } from 'zod';
8
- export declare const SecuritySchemeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8
+ export declare const SecuritySchemeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
9
9
  type: z.ZodLiteral<"apiKey">;
10
10
  name: z.ZodString;
11
- in: z.ZodEnum<["query", "header", "cookie"]>;
11
+ in: z.ZodEnum<{
12
+ query: "query";
13
+ header: "header";
14
+ cookie: "cookie";
15
+ }>;
12
16
  description: z.ZodOptional<z.ZodString>;
13
- }, "strict", z.ZodTypeAny, {
14
- type: "apiKey";
15
- name: string;
16
- in: "query" | "header" | "cookie";
17
- description?: string | undefined;
18
- }, {
19
- type: "apiKey";
20
- name: string;
21
- in: "query" | "header" | "cookie";
22
- description?: string | undefined;
23
- }>, z.ZodObject<{
17
+ }, z.core.$strict>, z.ZodObject<{
24
18
  type: z.ZodLiteral<"http">;
25
19
  scheme: z.ZodString;
26
20
  bearerFormat: z.ZodOptional<z.ZodString>;
27
21
  description: z.ZodOptional<z.ZodString>;
28
- }, "strict", z.ZodTypeAny, {
29
- type: "http";
30
- scheme: string;
31
- description?: string | undefined;
32
- bearerFormat?: string | undefined;
33
- }, {
34
- type: "http";
35
- scheme: string;
36
- description?: string | undefined;
37
- bearerFormat?: string | undefined;
38
- }>, z.ZodObject<{
22
+ }, z.core.$strict>, z.ZodObject<{
39
23
  type: z.ZodLiteral<"oauth2">;
40
24
  flows: z.ZodObject<{
41
25
  implicit: z.ZodOptional<z.ZodObject<{
@@ -43,197 +27,35 @@ export declare const SecuritySchemeSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
43
27
  tokenUrl: z.ZodOptional<z.ZodString>;
44
28
  refreshUrl: z.ZodOptional<z.ZodString>;
45
29
  scopes: z.ZodRecord<z.ZodString, z.ZodString>;
46
- }, "strict", z.ZodTypeAny, {
47
- scopes: Record<string, string>;
48
- authorizationUrl?: string | undefined;
49
- tokenUrl?: string | undefined;
50
- refreshUrl?: string | undefined;
51
- }, {
52
- scopes: Record<string, string>;
53
- authorizationUrl?: string | undefined;
54
- tokenUrl?: string | undefined;
55
- refreshUrl?: string | undefined;
56
- }>>;
30
+ }, z.core.$strict>>;
57
31
  password: z.ZodOptional<z.ZodObject<{
58
32
  authorizationUrl: z.ZodOptional<z.ZodString>;
59
33
  tokenUrl: z.ZodOptional<z.ZodString>;
60
34
  refreshUrl: z.ZodOptional<z.ZodString>;
61
35
  scopes: z.ZodRecord<z.ZodString, z.ZodString>;
62
- }, "strict", z.ZodTypeAny, {
63
- scopes: Record<string, string>;
64
- authorizationUrl?: string | undefined;
65
- tokenUrl?: string | undefined;
66
- refreshUrl?: string | undefined;
67
- }, {
68
- scopes: Record<string, string>;
69
- authorizationUrl?: string | undefined;
70
- tokenUrl?: string | undefined;
71
- refreshUrl?: string | undefined;
72
- }>>;
36
+ }, z.core.$strict>>;
73
37
  clientCredentials: z.ZodOptional<z.ZodObject<{
74
38
  authorizationUrl: z.ZodOptional<z.ZodString>;
75
39
  tokenUrl: z.ZodOptional<z.ZodString>;
76
40
  refreshUrl: z.ZodOptional<z.ZodString>;
77
41
  scopes: z.ZodRecord<z.ZodString, z.ZodString>;
78
- }, "strict", z.ZodTypeAny, {
79
- scopes: Record<string, string>;
80
- authorizationUrl?: string | undefined;
81
- tokenUrl?: string | undefined;
82
- refreshUrl?: string | undefined;
83
- }, {
84
- scopes: Record<string, string>;
85
- authorizationUrl?: string | undefined;
86
- tokenUrl?: string | undefined;
87
- refreshUrl?: string | undefined;
88
- }>>;
42
+ }, z.core.$strict>>;
89
43
  authorizationCode: z.ZodOptional<z.ZodObject<{
90
44
  authorizationUrl: z.ZodOptional<z.ZodString>;
91
45
  tokenUrl: z.ZodOptional<z.ZodString>;
92
46
  refreshUrl: z.ZodOptional<z.ZodString>;
93
47
  scopes: z.ZodRecord<z.ZodString, z.ZodString>;
94
- }, "strict", z.ZodTypeAny, {
95
- scopes: Record<string, string>;
96
- authorizationUrl?: string | undefined;
97
- tokenUrl?: string | undefined;
98
- refreshUrl?: string | undefined;
99
- }, {
100
- scopes: Record<string, string>;
101
- authorizationUrl?: string | undefined;
102
- tokenUrl?: string | undefined;
103
- refreshUrl?: string | undefined;
104
- }>>;
105
- }, "strict", z.ZodTypeAny, {
106
- password?: {
107
- scopes: Record<string, string>;
108
- authorizationUrl?: string | undefined;
109
- tokenUrl?: string | undefined;
110
- refreshUrl?: string | undefined;
111
- } | undefined;
112
- implicit?: {
113
- scopes: Record<string, string>;
114
- authorizationUrl?: string | undefined;
115
- tokenUrl?: string | undefined;
116
- refreshUrl?: string | undefined;
117
- } | undefined;
118
- clientCredentials?: {
119
- scopes: Record<string, string>;
120
- authorizationUrl?: string | undefined;
121
- tokenUrl?: string | undefined;
122
- refreshUrl?: string | undefined;
123
- } | undefined;
124
- authorizationCode?: {
125
- scopes: Record<string, string>;
126
- authorizationUrl?: string | undefined;
127
- tokenUrl?: string | undefined;
128
- refreshUrl?: string | undefined;
129
- } | undefined;
130
- }, {
131
- password?: {
132
- scopes: Record<string, string>;
133
- authorizationUrl?: string | undefined;
134
- tokenUrl?: string | undefined;
135
- refreshUrl?: string | undefined;
136
- } | undefined;
137
- implicit?: {
138
- scopes: Record<string, string>;
139
- authorizationUrl?: string | undefined;
140
- tokenUrl?: string | undefined;
141
- refreshUrl?: string | undefined;
142
- } | undefined;
143
- clientCredentials?: {
144
- scopes: Record<string, string>;
145
- authorizationUrl?: string | undefined;
146
- tokenUrl?: string | undefined;
147
- refreshUrl?: string | undefined;
148
- } | undefined;
149
- authorizationCode?: {
150
- scopes: Record<string, string>;
151
- authorizationUrl?: string | undefined;
152
- tokenUrl?: string | undefined;
153
- refreshUrl?: string | undefined;
154
- } | undefined;
155
- }>;
48
+ }, z.core.$strict>>;
49
+ }, z.core.$strict>;
156
50
  description: z.ZodOptional<z.ZodString>;
157
- }, "strict", z.ZodTypeAny, {
158
- type: "oauth2";
159
- flows: {
160
- password?: {
161
- scopes: Record<string, string>;
162
- authorizationUrl?: string | undefined;
163
- tokenUrl?: string | undefined;
164
- refreshUrl?: string | undefined;
165
- } | undefined;
166
- implicit?: {
167
- scopes: Record<string, string>;
168
- authorizationUrl?: string | undefined;
169
- tokenUrl?: string | undefined;
170
- refreshUrl?: string | undefined;
171
- } | undefined;
172
- clientCredentials?: {
173
- scopes: Record<string, string>;
174
- authorizationUrl?: string | undefined;
175
- tokenUrl?: string | undefined;
176
- refreshUrl?: string | undefined;
177
- } | undefined;
178
- authorizationCode?: {
179
- scopes: Record<string, string>;
180
- authorizationUrl?: string | undefined;
181
- tokenUrl?: string | undefined;
182
- refreshUrl?: string | undefined;
183
- } | undefined;
184
- };
185
- description?: string | undefined;
186
- }, {
187
- type: "oauth2";
188
- flows: {
189
- password?: {
190
- scopes: Record<string, string>;
191
- authorizationUrl?: string | undefined;
192
- tokenUrl?: string | undefined;
193
- refreshUrl?: string | undefined;
194
- } | undefined;
195
- implicit?: {
196
- scopes: Record<string, string>;
197
- authorizationUrl?: string | undefined;
198
- tokenUrl?: string | undefined;
199
- refreshUrl?: string | undefined;
200
- } | undefined;
201
- clientCredentials?: {
202
- scopes: Record<string, string>;
203
- authorizationUrl?: string | undefined;
204
- tokenUrl?: string | undefined;
205
- refreshUrl?: string | undefined;
206
- } | undefined;
207
- authorizationCode?: {
208
- scopes: Record<string, string>;
209
- authorizationUrl?: string | undefined;
210
- tokenUrl?: string | undefined;
211
- refreshUrl?: string | undefined;
212
- } | undefined;
213
- };
214
- description?: string | undefined;
215
- }>, z.ZodObject<{
51
+ }, z.core.$strict>, z.ZodObject<{
216
52
  type: z.ZodLiteral<"openIdConnect">;
217
53
  openIdConnectUrl: z.ZodString;
218
54
  description: z.ZodOptional<z.ZodString>;
219
- }, "strict", z.ZodTypeAny, {
220
- type: "openIdConnect";
221
- openIdConnectUrl: string;
222
- description?: string | undefined;
223
- }, {
224
- type: "openIdConnect";
225
- openIdConnectUrl: string;
226
- description?: string | undefined;
227
- }>, z.ZodObject<{
55
+ }, z.core.$strict>, z.ZodObject<{
228
56
  type: z.ZodLiteral<"mutualTLS">;
229
57
  description: z.ZodOptional<z.ZodString>;
230
- }, "strict", z.ZodTypeAny, {
231
- type: "mutualTLS";
232
- description?: string | undefined;
233
- }, {
234
- type: "mutualTLS";
235
- description?: string | undefined;
236
- }>]>;
58
+ }, z.core.$strict>], "type">;
237
59
  /**
238
60
  * Agent Card Schema (A2A Protocol v0.3.0 Compliant)
239
61
  * Follows the A2A specification with extensions in the metadata field
@@ -244,100 +66,56 @@ export declare const AgentCardSchema: z.ZodObject<{
244
66
  description: z.ZodString;
245
67
  url: z.ZodString;
246
68
  version: z.ZodString;
247
- preferredTransport: z.ZodDefault<z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>>;
248
- defaultInputModes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
249
- defaultOutputModes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
250
- skills: z.ZodDefault<z.ZodArray<z.ZodObject<{
69
+ preferredTransport: z.ZodDefault<z.ZodEnum<{
70
+ JSONRPC: "JSONRPC";
71
+ GRPC: "GRPC";
72
+ "HTTP+JSON": "HTTP+JSON";
73
+ }>>;
74
+ defaultInputModes: z.ZodDefault<z.ZodArray<z.ZodString>>;
75
+ defaultOutputModes: z.ZodDefault<z.ZodArray<z.ZodString>>;
76
+ skills: z.ZodPrefault<z.ZodArray<z.ZodObject<{
251
77
  id: z.ZodString;
252
78
  name: z.ZodString;
253
79
  description: z.ZodString;
254
- tags: z.ZodArray<z.ZodString, "many">;
255
- examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
256
- inputModes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
257
- outputModes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
258
- }, "strict", z.ZodTypeAny, {
259
- description: string;
260
- name: string;
261
- id: string;
262
- tags: string[];
263
- inputModes: string[];
264
- outputModes: string[];
265
- examples?: string[] | undefined;
266
- }, {
267
- description: string;
268
- name: string;
269
- id: string;
270
- tags: string[];
271
- examples?: string[] | undefined;
272
- inputModes?: string[] | undefined;
273
- outputModes?: string[] | undefined;
274
- }>, "many">>;
80
+ tags: z.ZodArray<z.ZodString>;
81
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
82
+ inputModes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
83
+ outputModes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
84
+ }, z.core.$strict>>>;
275
85
  provider: z.ZodOptional<z.ZodObject<{
276
86
  organization: z.ZodString;
277
87
  url: z.ZodString;
278
- }, "strict", z.ZodTypeAny, {
279
- url: string;
280
- organization: string;
281
- }, {
282
- url: string;
283
- organization: string;
284
- }>>;
88
+ }, z.core.$strict>>;
285
89
  iconUrl: z.ZodOptional<z.ZodString>;
286
90
  documentationUrl: z.ZodOptional<z.ZodString>;
287
91
  additionalInterfaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
288
92
  url: z.ZodString;
289
- transport: z.ZodEnum<["JSONRPC", "GRPC", "HTTP+JSON"]>;
290
- }, "strict", z.ZodTypeAny, {
291
- url: string;
292
- transport: "JSONRPC" | "GRPC" | "HTTP+JSON";
293
- }, {
294
- url: string;
295
- transport: "JSONRPC" | "GRPC" | "HTTP+JSON";
296
- }>, "many">>;
297
- capabilities: z.ZodDefault<z.ZodObject<{
93
+ transport: z.ZodEnum<{
94
+ JSONRPC: "JSONRPC";
95
+ GRPC: "GRPC";
96
+ "HTTP+JSON": "HTTP+JSON";
97
+ }>;
98
+ }, z.core.$strict>>>;
99
+ capabilities: z.ZodPrefault<z.ZodObject<{
298
100
  streaming: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
299
101
  pushNotifications: z.ZodOptional<z.ZodBoolean>;
300
102
  stateTransitionHistory: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
301
- }, "strict", z.ZodTypeAny, {
302
- streaming: boolean;
303
- stateTransitionHistory: boolean;
304
- pushNotifications?: boolean | undefined;
305
- }, {
306
- streaming?: boolean | undefined;
307
- pushNotifications?: boolean | undefined;
308
- stateTransitionHistory?: boolean | undefined;
309
- }>>;
310
- securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
103
+ }, z.core.$strict>>;
104
+ securitySchemes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
311
105
  type: z.ZodLiteral<"apiKey">;
312
106
  name: z.ZodString;
313
- in: z.ZodEnum<["query", "header", "cookie"]>;
107
+ in: z.ZodEnum<{
108
+ query: "query";
109
+ header: "header";
110
+ cookie: "cookie";
111
+ }>;
314
112
  description: z.ZodOptional<z.ZodString>;
315
- }, "strict", z.ZodTypeAny, {
316
- type: "apiKey";
317
- name: string;
318
- in: "query" | "header" | "cookie";
319
- description?: string | undefined;
320
- }, {
321
- type: "apiKey";
322
- name: string;
323
- in: "query" | "header" | "cookie";
324
- description?: string | undefined;
325
- }>, z.ZodObject<{
113
+ }, z.core.$strict>, z.ZodObject<{
326
114
  type: z.ZodLiteral<"http">;
327
115
  scheme: z.ZodString;
328
116
  bearerFormat: z.ZodOptional<z.ZodString>;
329
117
  description: z.ZodOptional<z.ZodString>;
330
- }, "strict", z.ZodTypeAny, {
331
- type: "http";
332
- scheme: string;
333
- description?: string | undefined;
334
- bearerFormat?: string | undefined;
335
- }, {
336
- type: "http";
337
- scheme: string;
338
- description?: string | undefined;
339
- bearerFormat?: string | undefined;
340
- }>, z.ZodObject<{
118
+ }, z.core.$strict>, z.ZodObject<{
341
119
  type: z.ZodLiteral<"oauth2">;
342
120
  flows: z.ZodObject<{
343
121
  implicit: z.ZodOptional<z.ZodObject<{
@@ -345,755 +123,66 @@ export declare const AgentCardSchema: z.ZodObject<{
345
123
  tokenUrl: z.ZodOptional<z.ZodString>;
346
124
  refreshUrl: z.ZodOptional<z.ZodString>;
347
125
  scopes: z.ZodRecord<z.ZodString, z.ZodString>;
348
- }, "strict", z.ZodTypeAny, {
349
- scopes: Record<string, string>;
350
- authorizationUrl?: string | undefined;
351
- tokenUrl?: string | undefined;
352
- refreshUrl?: string | undefined;
353
- }, {
354
- scopes: Record<string, string>;
355
- authorizationUrl?: string | undefined;
356
- tokenUrl?: string | undefined;
357
- refreshUrl?: string | undefined;
358
- }>>;
126
+ }, z.core.$strict>>;
359
127
  password: z.ZodOptional<z.ZodObject<{
360
128
  authorizationUrl: z.ZodOptional<z.ZodString>;
361
129
  tokenUrl: z.ZodOptional<z.ZodString>;
362
130
  refreshUrl: z.ZodOptional<z.ZodString>;
363
131
  scopes: z.ZodRecord<z.ZodString, z.ZodString>;
364
- }, "strict", z.ZodTypeAny, {
365
- scopes: Record<string, string>;
366
- authorizationUrl?: string | undefined;
367
- tokenUrl?: string | undefined;
368
- refreshUrl?: string | undefined;
369
- }, {
370
- scopes: Record<string, string>;
371
- authorizationUrl?: string | undefined;
372
- tokenUrl?: string | undefined;
373
- refreshUrl?: string | undefined;
374
- }>>;
132
+ }, z.core.$strict>>;
375
133
  clientCredentials: z.ZodOptional<z.ZodObject<{
376
134
  authorizationUrl: z.ZodOptional<z.ZodString>;
377
135
  tokenUrl: z.ZodOptional<z.ZodString>;
378
136
  refreshUrl: z.ZodOptional<z.ZodString>;
379
137
  scopes: z.ZodRecord<z.ZodString, z.ZodString>;
380
- }, "strict", z.ZodTypeAny, {
381
- scopes: Record<string, string>;
382
- authorizationUrl?: string | undefined;
383
- tokenUrl?: string | undefined;
384
- refreshUrl?: string | undefined;
385
- }, {
386
- scopes: Record<string, string>;
387
- authorizationUrl?: string | undefined;
388
- tokenUrl?: string | undefined;
389
- refreshUrl?: string | undefined;
390
- }>>;
138
+ }, z.core.$strict>>;
391
139
  authorizationCode: z.ZodOptional<z.ZodObject<{
392
140
  authorizationUrl: z.ZodOptional<z.ZodString>;
393
141
  tokenUrl: z.ZodOptional<z.ZodString>;
394
142
  refreshUrl: z.ZodOptional<z.ZodString>;
395
143
  scopes: z.ZodRecord<z.ZodString, z.ZodString>;
396
- }, "strict", z.ZodTypeAny, {
397
- scopes: Record<string, string>;
398
- authorizationUrl?: string | undefined;
399
- tokenUrl?: string | undefined;
400
- refreshUrl?: string | undefined;
401
- }, {
402
- scopes: Record<string, string>;
403
- authorizationUrl?: string | undefined;
404
- tokenUrl?: string | undefined;
405
- refreshUrl?: string | undefined;
406
- }>>;
407
- }, "strict", z.ZodTypeAny, {
408
- password?: {
409
- scopes: Record<string, string>;
410
- authorizationUrl?: string | undefined;
411
- tokenUrl?: string | undefined;
412
- refreshUrl?: string | undefined;
413
- } | undefined;
414
- implicit?: {
415
- scopes: Record<string, string>;
416
- authorizationUrl?: string | undefined;
417
- tokenUrl?: string | undefined;
418
- refreshUrl?: string | undefined;
419
- } | undefined;
420
- clientCredentials?: {
421
- scopes: Record<string, string>;
422
- authorizationUrl?: string | undefined;
423
- tokenUrl?: string | undefined;
424
- refreshUrl?: string | undefined;
425
- } | undefined;
426
- authorizationCode?: {
427
- scopes: Record<string, string>;
428
- authorizationUrl?: string | undefined;
429
- tokenUrl?: string | undefined;
430
- refreshUrl?: string | undefined;
431
- } | undefined;
432
- }, {
433
- password?: {
434
- scopes: Record<string, string>;
435
- authorizationUrl?: string | undefined;
436
- tokenUrl?: string | undefined;
437
- refreshUrl?: string | undefined;
438
- } | undefined;
439
- implicit?: {
440
- scopes: Record<string, string>;
441
- authorizationUrl?: string | undefined;
442
- tokenUrl?: string | undefined;
443
- refreshUrl?: string | undefined;
444
- } | undefined;
445
- clientCredentials?: {
446
- scopes: Record<string, string>;
447
- authorizationUrl?: string | undefined;
448
- tokenUrl?: string | undefined;
449
- refreshUrl?: string | undefined;
450
- } | undefined;
451
- authorizationCode?: {
452
- scopes: Record<string, string>;
453
- authorizationUrl?: string | undefined;
454
- tokenUrl?: string | undefined;
455
- refreshUrl?: string | undefined;
456
- } | undefined;
457
- }>;
144
+ }, z.core.$strict>>;
145
+ }, z.core.$strict>;
458
146
  description: z.ZodOptional<z.ZodString>;
459
- }, "strict", z.ZodTypeAny, {
460
- type: "oauth2";
461
- flows: {
462
- password?: {
463
- scopes: Record<string, string>;
464
- authorizationUrl?: string | undefined;
465
- tokenUrl?: string | undefined;
466
- refreshUrl?: string | undefined;
467
- } | undefined;
468
- implicit?: {
469
- scopes: Record<string, string>;
470
- authorizationUrl?: string | undefined;
471
- tokenUrl?: string | undefined;
472
- refreshUrl?: string | undefined;
473
- } | undefined;
474
- clientCredentials?: {
475
- scopes: Record<string, string>;
476
- authorizationUrl?: string | undefined;
477
- tokenUrl?: string | undefined;
478
- refreshUrl?: string | undefined;
479
- } | undefined;
480
- authorizationCode?: {
481
- scopes: Record<string, string>;
482
- authorizationUrl?: string | undefined;
483
- tokenUrl?: string | undefined;
484
- refreshUrl?: string | undefined;
485
- } | undefined;
486
- };
487
- description?: string | undefined;
488
- }, {
489
- type: "oauth2";
490
- flows: {
491
- password?: {
492
- scopes: Record<string, string>;
493
- authorizationUrl?: string | undefined;
494
- tokenUrl?: string | undefined;
495
- refreshUrl?: string | undefined;
496
- } | undefined;
497
- implicit?: {
498
- scopes: Record<string, string>;
499
- authorizationUrl?: string | undefined;
500
- tokenUrl?: string | undefined;
501
- refreshUrl?: string | undefined;
502
- } | undefined;
503
- clientCredentials?: {
504
- scopes: Record<string, string>;
505
- authorizationUrl?: string | undefined;
506
- tokenUrl?: string | undefined;
507
- refreshUrl?: string | undefined;
508
- } | undefined;
509
- authorizationCode?: {
510
- scopes: Record<string, string>;
511
- authorizationUrl?: string | undefined;
512
- tokenUrl?: string | undefined;
513
- refreshUrl?: string | undefined;
514
- } | undefined;
515
- };
516
- description?: string | undefined;
517
- }>, z.ZodObject<{
147
+ }, z.core.$strict>, z.ZodObject<{
518
148
  type: z.ZodLiteral<"openIdConnect">;
519
149
  openIdConnectUrl: z.ZodString;
520
150
  description: z.ZodOptional<z.ZodString>;
521
- }, "strict", z.ZodTypeAny, {
522
- type: "openIdConnect";
523
- openIdConnectUrl: string;
524
- description?: string | undefined;
525
- }, {
526
- type: "openIdConnect";
527
- openIdConnectUrl: string;
528
- description?: string | undefined;
529
- }>, z.ZodObject<{
151
+ }, z.core.$strict>, z.ZodObject<{
530
152
  type: z.ZodLiteral<"mutualTLS">;
531
153
  description: z.ZodOptional<z.ZodString>;
532
- }, "strict", z.ZodTypeAny, {
533
- type: "mutualTLS";
534
- description?: string | undefined;
535
- }, {
536
- type: "mutualTLS";
537
- description?: string | undefined;
538
- }>]>>>;
539
- security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>, "many">>;
154
+ }, z.core.$strict>], "type">>>;
155
+ security: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>>;
540
156
  supportsAuthenticatedExtendedCard: z.ZodOptional<z.ZodBoolean>;
541
157
  signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
542
158
  protected: z.ZodString;
543
159
  signature: z.ZodString;
544
- }, "strict", z.ZodTypeAny, {
545
- protected: string;
546
- signature: string;
547
- }, {
548
- protected: string;
549
- signature: string;
550
- }>, "many">>;
160
+ }, z.core.$strict>>>;
551
161
  metadata: z.ZodOptional<z.ZodObject<{
552
162
  dexto: z.ZodOptional<z.ZodObject<{
553
163
  authentication: z.ZodOptional<z.ZodObject<{
554
- schemes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
555
- credentials: z.ZodOptional<z.ZodString>;
556
- }, "strict", z.ZodTypeAny, {
557
- schemes: string[];
558
- credentials?: string | undefined;
559
- }, {
560
- schemes?: string[] | undefined;
561
- credentials?: string | undefined;
562
- }>>;
563
- delegation: z.ZodOptional<z.ZodObject<{
564
- protocol: z.ZodEnum<["dexto-v1", "http-simple", "a2a-jsonrpc", "mcp-http"]>;
565
- endpoint: z.ZodString;
566
- supportsSession: z.ZodBoolean;
567
- supportsStreaming: z.ZodOptional<z.ZodBoolean>;
568
- }, "strict", z.ZodTypeAny, {
569
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
570
- endpoint: string;
571
- supportsSession: boolean;
572
- supportsStreaming?: boolean | undefined;
573
- }, {
574
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
575
- endpoint: string;
576
- supportsSession: boolean;
577
- supportsStreaming?: boolean | undefined;
578
- }>>;
579
- owner: z.ZodOptional<z.ZodObject<{
580
- userId: z.ZodString;
581
- username: z.ZodString;
582
- email: z.ZodOptional<z.ZodString>;
583
- }, "strict", z.ZodTypeAny, {
584
- userId: string;
585
- username: string;
586
- email?: string | undefined;
587
- }, {
588
- userId: string;
589
- username: string;
590
- email?: string | undefined;
591
- }>>;
592
- }, "strict", z.ZodTypeAny, {
593
- authentication?: {
594
- schemes: string[];
595
- credentials?: string | undefined;
596
- } | undefined;
597
- delegation?: {
598
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
599
- endpoint: string;
600
- supportsSession: boolean;
601
- supportsStreaming?: boolean | undefined;
602
- } | undefined;
603
- owner?: {
604
- userId: string;
605
- username: string;
606
- email?: string | undefined;
607
- } | undefined;
608
- }, {
609
- authentication?: {
610
- schemes?: string[] | undefined;
611
- credentials?: string | undefined;
612
- } | undefined;
613
- delegation?: {
614
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
615
- endpoint: string;
616
- supportsSession: boolean;
617
- supportsStreaming?: boolean | undefined;
618
- } | undefined;
619
- owner?: {
620
- userId: string;
621
- username: string;
622
- email?: string | undefined;
623
- } | undefined;
624
- }>>;
625
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
626
- dexto: z.ZodOptional<z.ZodObject<{
627
- authentication: z.ZodOptional<z.ZodObject<{
628
- schemes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
629
- credentials: z.ZodOptional<z.ZodString>;
630
- }, "strict", z.ZodTypeAny, {
631
- schemes: string[];
632
- credentials?: string | undefined;
633
- }, {
634
- schemes?: string[] | undefined;
635
- credentials?: string | undefined;
636
- }>>;
637
- delegation: z.ZodOptional<z.ZodObject<{
638
- protocol: z.ZodEnum<["dexto-v1", "http-simple", "a2a-jsonrpc", "mcp-http"]>;
639
- endpoint: z.ZodString;
640
- supportsSession: z.ZodBoolean;
641
- supportsStreaming: z.ZodOptional<z.ZodBoolean>;
642
- }, "strict", z.ZodTypeAny, {
643
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
644
- endpoint: string;
645
- supportsSession: boolean;
646
- supportsStreaming?: boolean | undefined;
647
- }, {
648
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
649
- endpoint: string;
650
- supportsSession: boolean;
651
- supportsStreaming?: boolean | undefined;
652
- }>>;
653
- owner: z.ZodOptional<z.ZodObject<{
654
- userId: z.ZodString;
655
- username: z.ZodString;
656
- email: z.ZodOptional<z.ZodString>;
657
- }, "strict", z.ZodTypeAny, {
658
- userId: string;
659
- username: string;
660
- email?: string | undefined;
661
- }, {
662
- userId: string;
663
- username: string;
664
- email?: string | undefined;
665
- }>>;
666
- }, "strict", z.ZodTypeAny, {
667
- authentication?: {
668
- schemes: string[];
669
- credentials?: string | undefined;
670
- } | undefined;
671
- delegation?: {
672
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
673
- endpoint: string;
674
- supportsSession: boolean;
675
- supportsStreaming?: boolean | undefined;
676
- } | undefined;
677
- owner?: {
678
- userId: string;
679
- username: string;
680
- email?: string | undefined;
681
- } | undefined;
682
- }, {
683
- authentication?: {
684
- schemes?: string[] | undefined;
685
- credentials?: string | undefined;
686
- } | undefined;
687
- delegation?: {
688
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
689
- endpoint: string;
690
- supportsSession: boolean;
691
- supportsStreaming?: boolean | undefined;
692
- } | undefined;
693
- owner?: {
694
- userId: string;
695
- username: string;
696
- email?: string | undefined;
697
- } | undefined;
698
- }>>;
699
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
700
- dexto: z.ZodOptional<z.ZodObject<{
701
- authentication: z.ZodOptional<z.ZodObject<{
702
- schemes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
703
- credentials: z.ZodOptional<z.ZodString>;
704
- }, "strict", z.ZodTypeAny, {
705
- schemes: string[];
706
- credentials?: string | undefined;
707
- }, {
708
- schemes?: string[] | undefined;
709
- credentials?: string | undefined;
710
- }>>;
711
- delegation: z.ZodOptional<z.ZodObject<{
712
- protocol: z.ZodEnum<["dexto-v1", "http-simple", "a2a-jsonrpc", "mcp-http"]>;
713
- endpoint: z.ZodString;
714
- supportsSession: z.ZodBoolean;
715
- supportsStreaming: z.ZodOptional<z.ZodBoolean>;
716
- }, "strict", z.ZodTypeAny, {
717
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
718
- endpoint: string;
719
- supportsSession: boolean;
720
- supportsStreaming?: boolean | undefined;
721
- }, {
722
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
723
- endpoint: string;
724
- supportsSession: boolean;
725
- supportsStreaming?: boolean | undefined;
726
- }>>;
727
- owner: z.ZodOptional<z.ZodObject<{
728
- userId: z.ZodString;
729
- username: z.ZodString;
730
- email: z.ZodOptional<z.ZodString>;
731
- }, "strict", z.ZodTypeAny, {
732
- userId: string;
733
- username: string;
734
- email?: string | undefined;
735
- }, {
736
- userId: string;
737
- username: string;
738
- email?: string | undefined;
739
- }>>;
740
- }, "strict", z.ZodTypeAny, {
741
- authentication?: {
742
- schemes: string[];
743
- credentials?: string | undefined;
744
- } | undefined;
745
- delegation?: {
746
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
747
- endpoint: string;
748
- supportsSession: boolean;
749
- supportsStreaming?: boolean | undefined;
750
- } | undefined;
751
- owner?: {
752
- userId: string;
753
- username: string;
754
- email?: string | undefined;
755
- } | undefined;
756
- }, {
757
- authentication?: {
758
- schemes?: string[] | undefined;
759
- credentials?: string | undefined;
760
- } | undefined;
761
- delegation?: {
762
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
763
- endpoint: string;
764
- supportsSession: boolean;
765
- supportsStreaming?: boolean | undefined;
766
- } | undefined;
767
- owner?: {
768
- userId: string;
769
- username: string;
770
- email?: string | undefined;
771
- } | undefined;
772
- }>>;
773
- }, z.ZodTypeAny, "passthrough">>>;
774
- }, "strict", z.ZodTypeAny, {
775
- description: string;
776
- url: string;
777
- name: string;
778
- version: string;
779
- capabilities: {
780
- streaming: boolean;
781
- stateTransitionHistory: boolean;
782
- pushNotifications?: boolean | undefined;
783
- };
784
- skills: {
785
- description: string;
786
- name: string;
787
- id: string;
788
- tags: string[];
789
- inputModes: string[];
790
- outputModes: string[];
791
- examples?: string[] | undefined;
792
- }[];
793
- protocolVersion: string;
794
- preferredTransport: "JSONRPC" | "GRPC" | "HTTP+JSON";
795
- defaultInputModes: string[];
796
- defaultOutputModes: string[];
797
- metadata?: z.objectOutputType<{
798
- dexto: z.ZodOptional<z.ZodObject<{
799
- authentication: z.ZodOptional<z.ZodObject<{
800
- schemes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
801
- credentials: z.ZodOptional<z.ZodString>;
802
- }, "strict", z.ZodTypeAny, {
803
- schemes: string[];
804
- credentials?: string | undefined;
805
- }, {
806
- schemes?: string[] | undefined;
807
- credentials?: string | undefined;
808
- }>>;
809
- delegation: z.ZodOptional<z.ZodObject<{
810
- protocol: z.ZodEnum<["dexto-v1", "http-simple", "a2a-jsonrpc", "mcp-http"]>;
811
- endpoint: z.ZodString;
812
- supportsSession: z.ZodBoolean;
813
- supportsStreaming: z.ZodOptional<z.ZodBoolean>;
814
- }, "strict", z.ZodTypeAny, {
815
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
816
- endpoint: string;
817
- supportsSession: boolean;
818
- supportsStreaming?: boolean | undefined;
819
- }, {
820
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
821
- endpoint: string;
822
- supportsSession: boolean;
823
- supportsStreaming?: boolean | undefined;
824
- }>>;
825
- owner: z.ZodOptional<z.ZodObject<{
826
- userId: z.ZodString;
827
- username: z.ZodString;
828
- email: z.ZodOptional<z.ZodString>;
829
- }, "strict", z.ZodTypeAny, {
830
- userId: string;
831
- username: string;
832
- email?: string | undefined;
833
- }, {
834
- userId: string;
835
- username: string;
836
- email?: string | undefined;
837
- }>>;
838
- }, "strict", z.ZodTypeAny, {
839
- authentication?: {
840
- schemes: string[];
841
- credentials?: string | undefined;
842
- } | undefined;
843
- delegation?: {
844
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
845
- endpoint: string;
846
- supportsSession: boolean;
847
- supportsStreaming?: boolean | undefined;
848
- } | undefined;
849
- owner?: {
850
- userId: string;
851
- username: string;
852
- email?: string | undefined;
853
- } | undefined;
854
- }, {
855
- authentication?: {
856
- schemes?: string[] | undefined;
857
- credentials?: string | undefined;
858
- } | undefined;
859
- delegation?: {
860
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
861
- endpoint: string;
862
- supportsSession: boolean;
863
- supportsStreaming?: boolean | undefined;
864
- } | undefined;
865
- owner?: {
866
- userId: string;
867
- username: string;
868
- email?: string | undefined;
869
- } | undefined;
870
- }>>;
871
- }, z.ZodTypeAny, "passthrough"> | undefined;
872
- provider?: {
873
- url: string;
874
- organization: string;
875
- } | undefined;
876
- iconUrl?: string | undefined;
877
- documentationUrl?: string | undefined;
878
- additionalInterfaces?: {
879
- url: string;
880
- transport: "JSONRPC" | "GRPC" | "HTTP+JSON";
881
- }[] | undefined;
882
- securitySchemes?: Record<string, {
883
- type: "apiKey";
884
- name: string;
885
- in: "query" | "header" | "cookie";
886
- description?: string | undefined;
887
- } | {
888
- type: "http";
889
- scheme: string;
890
- description?: string | undefined;
891
- bearerFormat?: string | undefined;
892
- } | {
893
- type: "oauth2";
894
- flows: {
895
- password?: {
896
- scopes: Record<string, string>;
897
- authorizationUrl?: string | undefined;
898
- tokenUrl?: string | undefined;
899
- refreshUrl?: string | undefined;
900
- } | undefined;
901
- implicit?: {
902
- scopes: Record<string, string>;
903
- authorizationUrl?: string | undefined;
904
- tokenUrl?: string | undefined;
905
- refreshUrl?: string | undefined;
906
- } | undefined;
907
- clientCredentials?: {
908
- scopes: Record<string, string>;
909
- authorizationUrl?: string | undefined;
910
- tokenUrl?: string | undefined;
911
- refreshUrl?: string | undefined;
912
- } | undefined;
913
- authorizationCode?: {
914
- scopes: Record<string, string>;
915
- authorizationUrl?: string | undefined;
916
- tokenUrl?: string | undefined;
917
- refreshUrl?: string | undefined;
918
- } | undefined;
919
- };
920
- description?: string | undefined;
921
- } | {
922
- type: "openIdConnect";
923
- openIdConnectUrl: string;
924
- description?: string | undefined;
925
- } | {
926
- type: "mutualTLS";
927
- description?: string | undefined;
928
- }> | undefined;
929
- security?: Record<string, string[]>[] | undefined;
930
- supportsAuthenticatedExtendedCard?: boolean | undefined;
931
- signatures?: {
932
- protected: string;
933
- signature: string;
934
- }[] | undefined;
935
- }, {
936
- description: string;
937
- url: string;
938
- name: string;
939
- version: string;
940
- metadata?: z.objectInputType<{
941
- dexto: z.ZodOptional<z.ZodObject<{
942
- authentication: z.ZodOptional<z.ZodObject<{
943
- schemes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
164
+ schemes: z.ZodDefault<z.ZodArray<z.ZodString>>;
944
165
  credentials: z.ZodOptional<z.ZodString>;
945
- }, "strict", z.ZodTypeAny, {
946
- schemes: string[];
947
- credentials?: string | undefined;
948
- }, {
949
- schemes?: string[] | undefined;
950
- credentials?: string | undefined;
951
- }>>;
166
+ }, z.core.$strict>>;
952
167
  delegation: z.ZodOptional<z.ZodObject<{
953
- protocol: z.ZodEnum<["dexto-v1", "http-simple", "a2a-jsonrpc", "mcp-http"]>;
168
+ protocol: z.ZodEnum<{
169
+ "dexto-v1": "dexto-v1";
170
+ "http-simple": "http-simple";
171
+ "a2a-jsonrpc": "a2a-jsonrpc";
172
+ "mcp-http": "mcp-http";
173
+ }>;
954
174
  endpoint: z.ZodString;
955
175
  supportsSession: z.ZodBoolean;
956
176
  supportsStreaming: z.ZodOptional<z.ZodBoolean>;
957
- }, "strict", z.ZodTypeAny, {
958
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
959
- endpoint: string;
960
- supportsSession: boolean;
961
- supportsStreaming?: boolean | undefined;
962
- }, {
963
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
964
- endpoint: string;
965
- supportsSession: boolean;
966
- supportsStreaming?: boolean | undefined;
967
- }>>;
177
+ }, z.core.$strict>>;
968
178
  owner: z.ZodOptional<z.ZodObject<{
969
179
  userId: z.ZodString;
970
180
  username: z.ZodString;
971
181
  email: z.ZodOptional<z.ZodString>;
972
- }, "strict", z.ZodTypeAny, {
973
- userId: string;
974
- username: string;
975
- email?: string | undefined;
976
- }, {
977
- userId: string;
978
- username: string;
979
- email?: string | undefined;
980
- }>>;
981
- }, "strict", z.ZodTypeAny, {
982
- authentication?: {
983
- schemes: string[];
984
- credentials?: string | undefined;
985
- } | undefined;
986
- delegation?: {
987
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
988
- endpoint: string;
989
- supportsSession: boolean;
990
- supportsStreaming?: boolean | undefined;
991
- } | undefined;
992
- owner?: {
993
- userId: string;
994
- username: string;
995
- email?: string | undefined;
996
- } | undefined;
997
- }, {
998
- authentication?: {
999
- schemes?: string[] | undefined;
1000
- credentials?: string | undefined;
1001
- } | undefined;
1002
- delegation?: {
1003
- protocol: "dexto-v1" | "http-simple" | "a2a-jsonrpc" | "mcp-http";
1004
- endpoint: string;
1005
- supportsSession: boolean;
1006
- supportsStreaming?: boolean | undefined;
1007
- } | undefined;
1008
- owner?: {
1009
- userId: string;
1010
- username: string;
1011
- email?: string | undefined;
1012
- } | undefined;
1013
- }>>;
1014
- }, z.ZodTypeAny, "passthrough"> | undefined;
1015
- capabilities?: {
1016
- streaming?: boolean | undefined;
1017
- pushNotifications?: boolean | undefined;
1018
- stateTransitionHistory?: boolean | undefined;
1019
- } | undefined;
1020
- provider?: {
1021
- url: string;
1022
- organization: string;
1023
- } | undefined;
1024
- skills?: {
1025
- description: string;
1026
- name: string;
1027
- id: string;
1028
- tags: string[];
1029
- examples?: string[] | undefined;
1030
- inputModes?: string[] | undefined;
1031
- outputModes?: string[] | undefined;
1032
- }[] | undefined;
1033
- protocolVersion?: string | undefined;
1034
- preferredTransport?: "JSONRPC" | "GRPC" | "HTTP+JSON" | undefined;
1035
- defaultInputModes?: string[] | undefined;
1036
- defaultOutputModes?: string[] | undefined;
1037
- iconUrl?: string | undefined;
1038
- documentationUrl?: string | undefined;
1039
- additionalInterfaces?: {
1040
- url: string;
1041
- transport: "JSONRPC" | "GRPC" | "HTTP+JSON";
1042
- }[] | undefined;
1043
- securitySchemes?: Record<string, {
1044
- type: "apiKey";
1045
- name: string;
1046
- in: "query" | "header" | "cookie";
1047
- description?: string | undefined;
1048
- } | {
1049
- type: "http";
1050
- scheme: string;
1051
- description?: string | undefined;
1052
- bearerFormat?: string | undefined;
1053
- } | {
1054
- type: "oauth2";
1055
- flows: {
1056
- password?: {
1057
- scopes: Record<string, string>;
1058
- authorizationUrl?: string | undefined;
1059
- tokenUrl?: string | undefined;
1060
- refreshUrl?: string | undefined;
1061
- } | undefined;
1062
- implicit?: {
1063
- scopes: Record<string, string>;
1064
- authorizationUrl?: string | undefined;
1065
- tokenUrl?: string | undefined;
1066
- refreshUrl?: string | undefined;
1067
- } | undefined;
1068
- clientCredentials?: {
1069
- scopes: Record<string, string>;
1070
- authorizationUrl?: string | undefined;
1071
- tokenUrl?: string | undefined;
1072
- refreshUrl?: string | undefined;
1073
- } | undefined;
1074
- authorizationCode?: {
1075
- scopes: Record<string, string>;
1076
- authorizationUrl?: string | undefined;
1077
- tokenUrl?: string | undefined;
1078
- refreshUrl?: string | undefined;
1079
- } | undefined;
1080
- };
1081
- description?: string | undefined;
1082
- } | {
1083
- type: "openIdConnect";
1084
- openIdConnectUrl: string;
1085
- description?: string | undefined;
1086
- } | {
1087
- type: "mutualTLS";
1088
- description?: string | undefined;
1089
- }> | undefined;
1090
- security?: Record<string, string[]>[] | undefined;
1091
- supportsAuthenticatedExtendedCard?: boolean | undefined;
1092
- signatures?: {
1093
- protected: string;
1094
- signature: string;
1095
- }[] | undefined;
1096
- }>;
182
+ }, z.core.$strict>>;
183
+ }, z.core.$strict>>;
184
+ }, z.core.$loose>>;
185
+ }, z.core.$strict>;
1097
186
  export type AgentCard = z.input<typeof AgentCardSchema>;
1098
187
  export type ValidatedAgentCard = z.output<typeof AgentCardSchema>;
1099
188
  //# sourceMappingURL=schemas.d.ts.map