@composio/core 0.14.1 → 0.15.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 (38) hide show
  1. package/dist/{BaseProvider-Dc5yKZhk.d.mts → BaseProvider-BN2-Nktx.d.mts} +303 -258
  2. package/dist/{CustomTool-4nVuwLzO.d.mts → CustomTool-zjeDpZ91.d.mts} +1 -1
  3. package/dist/{Telemetry-CF0rNHu2.mjs → Telemetry-DuGJSwUt.mjs} +2 -2
  4. package/dist/{composio-ChU3eD9F.d.mts → composio-Bf8hnBBq.d.mts} +250 -250
  5. package/dist/{customTool.types-CX2-LbfI.d.mts → customTool.types-Bhom9a2R.d.mts} +88 -88
  6. package/dist/experimental/index.d.mts +2 -2
  7. package/dist/{fileUtils.node-DOkW4PBg.mjs → fileUtils.node-BQ0fWge3.mjs} +5 -2
  8. package/dist/index.d.mts +8 -7
  9. package/dist/index.mjs +28 -13
  10. package/dist/models/Files.node.mjs +2 -2
  11. package/dist/platform/node.d.mts +1 -1
  12. package/dist/platform/node.mjs +24 -0
  13. package/dist/platform/workerd.d.mts +1 -1
  14. package/dist/platform/workerd.mjs +3 -0
  15. package/dist/{sensitiveFileUploadPaths-C43dHP7S.mjs → sensitiveFileUploadPaths-BVEt0peg.mjs} +12 -7
  16. package/dist/{types-D5N60gUD.d.mts → types-CePuCfD-.d.mts} +2 -2
  17. package/dist/{types-DY1r-kN9.d.mts → types-D5A2wzBl.d.mts} +8 -0
  18. package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
  19. package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
  20. package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
  21. package/dist/utils/modifiers/FileToolModifier.node.mjs +1 -1
  22. package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
  23. package/dist/utils/ssrfGuard.node.d.mts +2 -2
  24. package/dist/utils/ssrfGuard.node.mjs +3 -2
  25. package/package.json +6 -5
  26. package/src/models/ToolRouterSessionFileMount.ts +3 -0
  27. package/src/platform/node.ts +40 -0
  28. package/src/platform/types.ts +9 -0
  29. package/src/platform/workerd.ts +5 -0
  30. package/src/telemetry/redact.ts +6 -1
  31. package/src/types/tool.types.ts +52 -8
  32. package/src/utils/fileUtils.node.ts +3 -0
  33. package/src/utils/modifiers/FileToolModifier.node.ts +3 -3
  34. package/src/utils/modifiers/FileToolModifier.utils.neutral.ts +6 -4
  35. package/src/utils/sdk.ts +2 -2
  36. package/src/utils/sensitiveFileUploadPaths.ts +12 -9
  37. package/src/utils/ssrfGuard.node.ts +6 -2
  38. package/src/utils/version.ts +21 -20
@@ -12,17 +12,62 @@ declare const ToolkitSchema: z$1.ZodObject<{
12
12
  name: z$1.ZodString;
13
13
  logo: z$1.ZodOptional<z$1.ZodString>;
14
14
  }, "strip", z$1.ZodTypeAny, {
15
- name: string;
16
15
  slug: string;
16
+ name: string;
17
17
  logo?: string | undefined;
18
18
  }, {
19
- name: string;
20
19
  slug: string;
20
+ name: string;
21
21
  logo?: string | undefined;
22
22
  }>;
23
23
  type Toolkit = z$1.infer<typeof ToolkitSchema>;
24
- declare const JSONSchemaPropertySchema: z$1.ZodType<any>;
25
- type JSONSchemaProperty = z$1.infer<typeof JSONSchemaPropertySchema>;
24
+ declare const JSONSchemaType: z$1.ZodEnum<["string", "number", "integer", "boolean", "object", "array", "null"]>;
25
+ type JSONSchemaTypeName = z$1.infer<typeof JSONSchemaType>;
26
+ interface JSONSchemaProperty {
27
+ [key: string]: unknown;
28
+ type?: JSONSchemaTypeName | JSONSchemaTypeName[];
29
+ description?: string;
30
+ anyOf?: JSONSchemaProperty[];
31
+ oneOf?: JSONSchemaProperty[];
32
+ allOf?: JSONSchemaProperty[];
33
+ not?: JSONSchemaProperty;
34
+ title?: string;
35
+ default?: unknown;
36
+ nullable?: boolean;
37
+ properties?: Record<string, JSONSchemaProperty>;
38
+ required?: string[];
39
+ file_uploadable?: boolean;
40
+ file_downloadable?: boolean;
41
+ items?: JSONSchemaProperty | JSONSchemaProperty[];
42
+ enum?: unknown[];
43
+ const?: unknown;
44
+ minimum?: number;
45
+ maximum?: number;
46
+ exclusiveMinimum?: number;
47
+ exclusiveMaximum?: number;
48
+ multipleOf?: number;
49
+ minLength?: number;
50
+ maxLength?: number;
51
+ pattern?: string;
52
+ format?: string;
53
+ minItems?: number;
54
+ maxItems?: number;
55
+ uniqueItems?: boolean;
56
+ minProperties?: number;
57
+ maxProperties?: number;
58
+ patternProperties?: Record<string, JSONSchemaProperty>;
59
+ additionalProperties?: boolean | JSONSchemaProperty;
60
+ examples?: unknown[];
61
+ readOnly?: boolean;
62
+ writeOnly?: boolean;
63
+ if?: JSONSchemaProperty;
64
+ then?: JSONSchemaProperty;
65
+ else?: JSONSchemaProperty;
66
+ $ref?: string;
67
+ definitions?: Record<string, JSONSchemaProperty>;
68
+ $defs?: Record<string, JSONSchemaProperty>;
69
+ }
70
+ declare const JSONSchemaPropertySchema: z$1.ZodType<JSONSchemaProperty>;
26
71
  /**
27
72
  * Tool is a single action that can be performed by a toolkit.
28
73
  * Tool is simlar to an action that an app can perform.
@@ -35,125 +80,125 @@ declare const ToolSchema: z$1.ZodObject<{
35
80
  description: z$1.ZodOptional<z$1.ZodString>;
36
81
  inputParameters: z$1.ZodOptional<z$1.ZodEffects<z$1.ZodObject<{
37
82
  type: z$1.ZodLiteral<"object">;
38
- anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
39
- oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
40
- allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
41
- not: z$1.ZodOptional<z$1.ZodType<any, z$1.ZodTypeDef, any>>;
42
- properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<any, z$1.ZodTypeDef, any>>;
83
+ anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
84
+ oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
85
+ allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
86
+ not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
87
+ properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
43
88
  required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
44
89
  title: z$1.ZodOptional<z$1.ZodString>;
45
- default: z$1.ZodOptional<z$1.ZodAny>;
90
+ default: z$1.ZodOptional<z$1.ZodUnknown>;
46
91
  nullable: z$1.ZodOptional<z$1.ZodBoolean>;
47
92
  description: z$1.ZodOptional<z$1.ZodString>;
48
93
  additionalProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
49
- $defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<any, z$1.ZodTypeDef, any>>>>;
50
- definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<any, z$1.ZodTypeDef, any>>>>;
94
+ $defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
95
+ definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
51
96
  }, "strip", z$1.ZodTypeAny, {
52
97
  type: "object";
53
- properties: Record<string, any>;
98
+ properties: Record<string, JSONSchemaProperty>;
54
99
  description?: string | undefined;
55
- anyOf?: any[] | undefined;
56
- oneOf?: any[] | undefined;
57
- allOf?: any[] | undefined;
58
- not?: any;
100
+ anyOf?: JSONSchemaProperty[] | undefined;
101
+ oneOf?: JSONSchemaProperty[] | undefined;
102
+ allOf?: JSONSchemaProperty[] | undefined;
103
+ not?: JSONSchemaProperty | undefined;
59
104
  required?: string[] | undefined;
60
105
  title?: string | undefined;
61
- default?: any;
106
+ default?: unknown;
62
107
  nullable?: boolean | undefined;
63
108
  additionalProperties?: boolean | undefined;
64
- $defs?: Record<string, any> | undefined;
65
- definitions?: Record<string, any> | undefined;
109
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
110
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
66
111
  }, {
67
112
  type: "object";
68
- properties: Record<string, any>;
113
+ properties: Record<string, JSONSchemaProperty>;
69
114
  description?: string | undefined;
70
- anyOf?: any[] | undefined;
71
- oneOf?: any[] | undefined;
72
- allOf?: any[] | undefined;
73
- not?: any;
115
+ anyOf?: JSONSchemaProperty[] | undefined;
116
+ oneOf?: JSONSchemaProperty[] | undefined;
117
+ allOf?: JSONSchemaProperty[] | undefined;
118
+ not?: JSONSchemaProperty | undefined;
74
119
  required?: string[] | undefined;
75
120
  title?: string | undefined;
76
- default?: any;
121
+ default?: unknown;
77
122
  nullable?: boolean | undefined;
78
123
  additionalProperties?: boolean | undefined;
79
- $defs?: Record<string, any> | undefined;
80
- definitions?: Record<string, any> | undefined;
124
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
125
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
81
126
  }>, {
82
127
  type: "object";
83
- properties: Record<string, any>;
128
+ properties: Record<string, JSONSchemaProperty>;
84
129
  description?: string | undefined;
85
- anyOf?: any[] | undefined;
86
- oneOf?: any[] | undefined;
87
- allOf?: any[] | undefined;
88
- not?: any;
130
+ anyOf?: JSONSchemaProperty[] | undefined;
131
+ oneOf?: JSONSchemaProperty[] | undefined;
132
+ allOf?: JSONSchemaProperty[] | undefined;
133
+ not?: JSONSchemaProperty | undefined;
89
134
  required?: string[] | undefined;
90
135
  title?: string | undefined;
91
- default?: any;
136
+ default?: unknown;
92
137
  nullable?: boolean | undefined;
93
138
  additionalProperties?: boolean | undefined;
94
- $defs?: Record<string, any> | undefined;
95
- definitions?: Record<string, any> | undefined;
139
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
140
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
96
141
  }, unknown>>;
97
142
  outputParameters: z$1.ZodOptional<z$1.ZodEffects<z$1.ZodObject<{
98
143
  type: z$1.ZodLiteral<"object">;
99
- anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
100
- oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
101
- allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
102
- not: z$1.ZodOptional<z$1.ZodType<any, z$1.ZodTypeDef, any>>;
103
- properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<any, z$1.ZodTypeDef, any>>;
144
+ anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
145
+ oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
146
+ allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
147
+ not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
148
+ properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
104
149
  required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
105
150
  title: z$1.ZodOptional<z$1.ZodString>;
106
- default: z$1.ZodOptional<z$1.ZodAny>;
151
+ default: z$1.ZodOptional<z$1.ZodUnknown>;
107
152
  nullable: z$1.ZodOptional<z$1.ZodBoolean>;
108
153
  description: z$1.ZodOptional<z$1.ZodString>;
109
154
  additionalProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
110
- $defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<any, z$1.ZodTypeDef, any>>>>;
111
- definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<any, z$1.ZodTypeDef, any>>>>;
155
+ $defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
156
+ definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
112
157
  }, "strip", z$1.ZodTypeAny, {
113
158
  type: "object";
114
- properties: Record<string, any>;
159
+ properties: Record<string, JSONSchemaProperty>;
115
160
  description?: string | undefined;
116
- anyOf?: any[] | undefined;
117
- oneOf?: any[] | undefined;
118
- allOf?: any[] | undefined;
119
- not?: any;
161
+ anyOf?: JSONSchemaProperty[] | undefined;
162
+ oneOf?: JSONSchemaProperty[] | undefined;
163
+ allOf?: JSONSchemaProperty[] | undefined;
164
+ not?: JSONSchemaProperty | undefined;
120
165
  required?: string[] | undefined;
121
166
  title?: string | undefined;
122
- default?: any;
167
+ default?: unknown;
123
168
  nullable?: boolean | undefined;
124
169
  additionalProperties?: boolean | undefined;
125
- $defs?: Record<string, any> | undefined;
126
- definitions?: Record<string, any> | undefined;
170
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
171
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
127
172
  }, {
128
173
  type: "object";
129
- properties: Record<string, any>;
174
+ properties: Record<string, JSONSchemaProperty>;
130
175
  description?: string | undefined;
131
- anyOf?: any[] | undefined;
132
- oneOf?: any[] | undefined;
133
- allOf?: any[] | undefined;
134
- not?: any;
176
+ anyOf?: JSONSchemaProperty[] | undefined;
177
+ oneOf?: JSONSchemaProperty[] | undefined;
178
+ allOf?: JSONSchemaProperty[] | undefined;
179
+ not?: JSONSchemaProperty | undefined;
135
180
  required?: string[] | undefined;
136
181
  title?: string | undefined;
137
- default?: any;
182
+ default?: unknown;
138
183
  nullable?: boolean | undefined;
139
184
  additionalProperties?: boolean | undefined;
140
- $defs?: Record<string, any> | undefined;
141
- definitions?: Record<string, any> | undefined;
185
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
186
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
142
187
  }>, {
143
188
  type: "object";
144
- properties: Record<string, any>;
189
+ properties: Record<string, JSONSchemaProperty>;
145
190
  description?: string | undefined;
146
- anyOf?: any[] | undefined;
147
- oneOf?: any[] | undefined;
148
- allOf?: any[] | undefined;
149
- not?: any;
191
+ anyOf?: JSONSchemaProperty[] | undefined;
192
+ oneOf?: JSONSchemaProperty[] | undefined;
193
+ allOf?: JSONSchemaProperty[] | undefined;
194
+ not?: JSONSchemaProperty | undefined;
150
195
  required?: string[] | undefined;
151
196
  title?: string | undefined;
152
- default?: any;
197
+ default?: unknown;
153
198
  nullable?: boolean | undefined;
154
199
  additionalProperties?: boolean | undefined;
155
- $defs?: Record<string, any> | undefined;
156
- definitions?: Record<string, any> | undefined;
200
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
201
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
157
202
  }, unknown>>;
158
203
  tags: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString, "many">>>;
159
204
  toolkit: z$1.ZodOptional<z$1.ZodObject<{
@@ -161,12 +206,12 @@ declare const ToolSchema: z$1.ZodObject<{
161
206
  name: z$1.ZodString;
162
207
  logo: z$1.ZodOptional<z$1.ZodString>;
163
208
  }, "strip", z$1.ZodTypeAny, {
164
- name: string;
165
209
  slug: string;
210
+ name: string;
166
211
  logo?: string | undefined;
167
212
  }, {
168
- name: string;
169
213
  slug: string;
214
+ name: string;
170
215
  logo?: string | undefined;
171
216
  }>>;
172
217
  version: z$1.ZodOptional<z$1.ZodString>;
@@ -175,64 +220,64 @@ declare const ToolSchema: z$1.ZodObject<{
175
220
  scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
176
221
  isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
177
222
  }, "strip", z$1.ZodTypeAny, {
178
- name: string;
179
223
  slug: string;
180
- toolkit?: {
181
- name: string;
182
- slug: string;
183
- logo?: string | undefined;
184
- } | undefined;
224
+ name: string;
185
225
  description?: string | undefined;
186
226
  inputParameters?: {
187
227
  type: "object";
188
- properties: Record<string, any>;
228
+ properties: Record<string, JSONSchemaProperty>;
189
229
  description?: string | undefined;
190
- anyOf?: any[] | undefined;
191
- oneOf?: any[] | undefined;
192
- allOf?: any[] | undefined;
193
- not?: any;
230
+ anyOf?: JSONSchemaProperty[] | undefined;
231
+ oneOf?: JSONSchemaProperty[] | undefined;
232
+ allOf?: JSONSchemaProperty[] | undefined;
233
+ not?: JSONSchemaProperty | undefined;
194
234
  required?: string[] | undefined;
195
235
  title?: string | undefined;
196
- default?: any;
236
+ default?: unknown;
197
237
  nullable?: boolean | undefined;
198
238
  additionalProperties?: boolean | undefined;
199
- $defs?: Record<string, any> | undefined;
200
- definitions?: Record<string, any> | undefined;
239
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
240
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
201
241
  } | undefined;
202
242
  outputParameters?: {
203
243
  type: "object";
204
- properties: Record<string, any>;
244
+ properties: Record<string, JSONSchemaProperty>;
205
245
  description?: string | undefined;
206
- anyOf?: any[] | undefined;
207
- oneOf?: any[] | undefined;
208
- allOf?: any[] | undefined;
209
- not?: any;
246
+ anyOf?: JSONSchemaProperty[] | undefined;
247
+ oneOf?: JSONSchemaProperty[] | undefined;
248
+ allOf?: JSONSchemaProperty[] | undefined;
249
+ not?: JSONSchemaProperty | undefined;
210
250
  required?: string[] | undefined;
211
251
  title?: string | undefined;
212
- default?: any;
252
+ default?: unknown;
213
253
  nullable?: boolean | undefined;
214
254
  additionalProperties?: boolean | undefined;
215
- $defs?: Record<string, any> | undefined;
216
- definitions?: Record<string, any> | undefined;
255
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
256
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
217
257
  } | undefined;
218
258
  tags?: string[] | undefined;
259
+ toolkit?: {
260
+ slug: string;
261
+ name: string;
262
+ logo?: string | undefined;
263
+ } | undefined;
219
264
  version?: string | undefined;
220
265
  isDeprecated?: boolean | undefined;
221
266
  availableVersions?: string[] | undefined;
222
267
  scopes?: string[] | undefined;
223
268
  isNoAuth?: boolean | undefined;
224
269
  }, {
225
- name: string;
226
270
  slug: string;
227
- toolkit?: {
228
- name: string;
229
- slug: string;
230
- logo?: string | undefined;
231
- } | undefined;
271
+ name: string;
232
272
  description?: string | undefined;
233
273
  inputParameters?: unknown;
234
274
  outputParameters?: unknown;
235
275
  tags?: string[] | undefined;
276
+ toolkit?: {
277
+ slug: string;
278
+ name: string;
279
+ logo?: string | undefined;
280
+ } | undefined;
236
281
  version?: string | undefined;
237
282
  isDeprecated?: boolean | undefined;
238
283
  availableVersions?: string[] | undefined;
@@ -250,125 +295,125 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
250
295
  description: z$1.ZodOptional<z$1.ZodString>;
251
296
  inputParameters: z$1.ZodOptional<z$1.ZodEffects<z$1.ZodObject<{
252
297
  type: z$1.ZodLiteral<"object">;
253
- anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
254
- oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
255
- allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
256
- not: z$1.ZodOptional<z$1.ZodType<any, z$1.ZodTypeDef, any>>;
257
- properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<any, z$1.ZodTypeDef, any>>;
298
+ anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
299
+ oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
300
+ allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
301
+ not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
302
+ properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
258
303
  required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
259
304
  title: z$1.ZodOptional<z$1.ZodString>;
260
- default: z$1.ZodOptional<z$1.ZodAny>;
305
+ default: z$1.ZodOptional<z$1.ZodUnknown>;
261
306
  nullable: z$1.ZodOptional<z$1.ZodBoolean>;
262
307
  description: z$1.ZodOptional<z$1.ZodString>;
263
308
  additionalProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
264
- $defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<any, z$1.ZodTypeDef, any>>>>;
265
- definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<any, z$1.ZodTypeDef, any>>>>;
309
+ $defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
310
+ definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
266
311
  }, "strip", z$1.ZodTypeAny, {
267
312
  type: "object";
268
- properties: Record<string, any>;
313
+ properties: Record<string, JSONSchemaProperty>;
269
314
  description?: string | undefined;
270
- anyOf?: any[] | undefined;
271
- oneOf?: any[] | undefined;
272
- allOf?: any[] | undefined;
273
- not?: any;
315
+ anyOf?: JSONSchemaProperty[] | undefined;
316
+ oneOf?: JSONSchemaProperty[] | undefined;
317
+ allOf?: JSONSchemaProperty[] | undefined;
318
+ not?: JSONSchemaProperty | undefined;
274
319
  required?: string[] | undefined;
275
320
  title?: string | undefined;
276
- default?: any;
321
+ default?: unknown;
277
322
  nullable?: boolean | undefined;
278
323
  additionalProperties?: boolean | undefined;
279
- $defs?: Record<string, any> | undefined;
280
- definitions?: Record<string, any> | undefined;
324
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
325
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
281
326
  }, {
282
327
  type: "object";
283
- properties: Record<string, any>;
328
+ properties: Record<string, JSONSchemaProperty>;
284
329
  description?: string | undefined;
285
- anyOf?: any[] | undefined;
286
- oneOf?: any[] | undefined;
287
- allOf?: any[] | undefined;
288
- not?: any;
330
+ anyOf?: JSONSchemaProperty[] | undefined;
331
+ oneOf?: JSONSchemaProperty[] | undefined;
332
+ allOf?: JSONSchemaProperty[] | undefined;
333
+ not?: JSONSchemaProperty | undefined;
289
334
  required?: string[] | undefined;
290
335
  title?: string | undefined;
291
- default?: any;
336
+ default?: unknown;
292
337
  nullable?: boolean | undefined;
293
338
  additionalProperties?: boolean | undefined;
294
- $defs?: Record<string, any> | undefined;
295
- definitions?: Record<string, any> | undefined;
339
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
340
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
296
341
  }>, {
297
342
  type: "object";
298
- properties: Record<string, any>;
343
+ properties: Record<string, JSONSchemaProperty>;
299
344
  description?: string | undefined;
300
- anyOf?: any[] | undefined;
301
- oneOf?: any[] | undefined;
302
- allOf?: any[] | undefined;
303
- not?: any;
345
+ anyOf?: JSONSchemaProperty[] | undefined;
346
+ oneOf?: JSONSchemaProperty[] | undefined;
347
+ allOf?: JSONSchemaProperty[] | undefined;
348
+ not?: JSONSchemaProperty | undefined;
304
349
  required?: string[] | undefined;
305
350
  title?: string | undefined;
306
- default?: any;
351
+ default?: unknown;
307
352
  nullable?: boolean | undefined;
308
353
  additionalProperties?: boolean | undefined;
309
- $defs?: Record<string, any> | undefined;
310
- definitions?: Record<string, any> | undefined;
354
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
355
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
311
356
  }, unknown>>;
312
357
  outputParameters: z$1.ZodOptional<z$1.ZodEffects<z$1.ZodObject<{
313
358
  type: z$1.ZodLiteral<"object">;
314
- anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
315
- oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
316
- allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<any, z$1.ZodTypeDef, any>, "many">>;
317
- not: z$1.ZodOptional<z$1.ZodType<any, z$1.ZodTypeDef, any>>;
318
- properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<any, z$1.ZodTypeDef, any>>;
359
+ anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
360
+ oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
361
+ allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
362
+ not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
363
+ properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
319
364
  required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
320
365
  title: z$1.ZodOptional<z$1.ZodString>;
321
- default: z$1.ZodOptional<z$1.ZodAny>;
366
+ default: z$1.ZodOptional<z$1.ZodUnknown>;
322
367
  nullable: z$1.ZodOptional<z$1.ZodBoolean>;
323
368
  description: z$1.ZodOptional<z$1.ZodString>;
324
369
  additionalProperties: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
325
- $defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<any, z$1.ZodTypeDef, any>>>>;
326
- definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<any, z$1.ZodTypeDef, any>>>>;
370
+ $defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
371
+ definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
327
372
  }, "strip", z$1.ZodTypeAny, {
328
373
  type: "object";
329
- properties: Record<string, any>;
374
+ properties: Record<string, JSONSchemaProperty>;
330
375
  description?: string | undefined;
331
- anyOf?: any[] | undefined;
332
- oneOf?: any[] | undefined;
333
- allOf?: any[] | undefined;
334
- not?: any;
376
+ anyOf?: JSONSchemaProperty[] | undefined;
377
+ oneOf?: JSONSchemaProperty[] | undefined;
378
+ allOf?: JSONSchemaProperty[] | undefined;
379
+ not?: JSONSchemaProperty | undefined;
335
380
  required?: string[] | undefined;
336
381
  title?: string | undefined;
337
- default?: any;
382
+ default?: unknown;
338
383
  nullable?: boolean | undefined;
339
384
  additionalProperties?: boolean | undefined;
340
- $defs?: Record<string, any> | undefined;
341
- definitions?: Record<string, any> | undefined;
385
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
386
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
342
387
  }, {
343
388
  type: "object";
344
- properties: Record<string, any>;
389
+ properties: Record<string, JSONSchemaProperty>;
345
390
  description?: string | undefined;
346
- anyOf?: any[] | undefined;
347
- oneOf?: any[] | undefined;
348
- allOf?: any[] | undefined;
349
- not?: any;
391
+ anyOf?: JSONSchemaProperty[] | undefined;
392
+ oneOf?: JSONSchemaProperty[] | undefined;
393
+ allOf?: JSONSchemaProperty[] | undefined;
394
+ not?: JSONSchemaProperty | undefined;
350
395
  required?: string[] | undefined;
351
396
  title?: string | undefined;
352
- default?: any;
397
+ default?: unknown;
353
398
  nullable?: boolean | undefined;
354
399
  additionalProperties?: boolean | undefined;
355
- $defs?: Record<string, any> | undefined;
356
- definitions?: Record<string, any> | undefined;
400
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
401
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
357
402
  }>, {
358
403
  type: "object";
359
- properties: Record<string, any>;
404
+ properties: Record<string, JSONSchemaProperty>;
360
405
  description?: string | undefined;
361
- anyOf?: any[] | undefined;
362
- oneOf?: any[] | undefined;
363
- allOf?: any[] | undefined;
364
- not?: any;
406
+ anyOf?: JSONSchemaProperty[] | undefined;
407
+ oneOf?: JSONSchemaProperty[] | undefined;
408
+ allOf?: JSONSchemaProperty[] | undefined;
409
+ not?: JSONSchemaProperty | undefined;
365
410
  required?: string[] | undefined;
366
411
  title?: string | undefined;
367
- default?: any;
412
+ default?: unknown;
368
413
  nullable?: boolean | undefined;
369
414
  additionalProperties?: boolean | undefined;
370
- $defs?: Record<string, any> | undefined;
371
- definitions?: Record<string, any> | undefined;
415
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
416
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
372
417
  }, unknown>>;
373
418
  tags: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString, "many">>>;
374
419
  toolkit: z$1.ZodOptional<z$1.ZodObject<{
@@ -376,12 +421,12 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
376
421
  name: z$1.ZodString;
377
422
  logo: z$1.ZodOptional<z$1.ZodString>;
378
423
  }, "strip", z$1.ZodTypeAny, {
379
- name: string;
380
424
  slug: string;
425
+ name: string;
381
426
  logo?: string | undefined;
382
427
  }, {
383
- name: string;
384
428
  slug: string;
429
+ name: string;
385
430
  logo?: string | undefined;
386
431
  }>>;
387
432
  version: z$1.ZodOptional<z$1.ZodString>;
@@ -390,64 +435,64 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
390
435
  scopes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
391
436
  isNoAuth: z$1.ZodOptional<z$1.ZodBoolean>;
392
437
  }, "strip", z$1.ZodTypeAny, {
393
- name: string;
394
438
  slug: string;
395
- toolkit?: {
396
- name: string;
397
- slug: string;
398
- logo?: string | undefined;
399
- } | undefined;
439
+ name: string;
400
440
  description?: string | undefined;
401
441
  inputParameters?: {
402
442
  type: "object";
403
- properties: Record<string, any>;
443
+ properties: Record<string, JSONSchemaProperty>;
404
444
  description?: string | undefined;
405
- anyOf?: any[] | undefined;
406
- oneOf?: any[] | undefined;
407
- allOf?: any[] | undefined;
408
- not?: any;
445
+ anyOf?: JSONSchemaProperty[] | undefined;
446
+ oneOf?: JSONSchemaProperty[] | undefined;
447
+ allOf?: JSONSchemaProperty[] | undefined;
448
+ not?: JSONSchemaProperty | undefined;
409
449
  required?: string[] | undefined;
410
450
  title?: string | undefined;
411
- default?: any;
451
+ default?: unknown;
412
452
  nullable?: boolean | undefined;
413
453
  additionalProperties?: boolean | undefined;
414
- $defs?: Record<string, any> | undefined;
415
- definitions?: Record<string, any> | undefined;
454
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
455
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
416
456
  } | undefined;
417
457
  outputParameters?: {
418
458
  type: "object";
419
- properties: Record<string, any>;
459
+ properties: Record<string, JSONSchemaProperty>;
420
460
  description?: string | undefined;
421
- anyOf?: any[] | undefined;
422
- oneOf?: any[] | undefined;
423
- allOf?: any[] | undefined;
424
- not?: any;
461
+ anyOf?: JSONSchemaProperty[] | undefined;
462
+ oneOf?: JSONSchemaProperty[] | undefined;
463
+ allOf?: JSONSchemaProperty[] | undefined;
464
+ not?: JSONSchemaProperty | undefined;
425
465
  required?: string[] | undefined;
426
466
  title?: string | undefined;
427
- default?: any;
467
+ default?: unknown;
428
468
  nullable?: boolean | undefined;
429
469
  additionalProperties?: boolean | undefined;
430
- $defs?: Record<string, any> | undefined;
431
- definitions?: Record<string, any> | undefined;
470
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
471
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
432
472
  } | undefined;
433
473
  tags?: string[] | undefined;
474
+ toolkit?: {
475
+ slug: string;
476
+ name: string;
477
+ logo?: string | undefined;
478
+ } | undefined;
434
479
  version?: string | undefined;
435
480
  isDeprecated?: boolean | undefined;
436
481
  availableVersions?: string[] | undefined;
437
482
  scopes?: string[] | undefined;
438
483
  isNoAuth?: boolean | undefined;
439
484
  }, {
440
- name: string;
441
485
  slug: string;
442
- toolkit?: {
443
- name: string;
444
- slug: string;
445
- logo?: string | undefined;
446
- } | undefined;
486
+ name: string;
447
487
  description?: string | undefined;
448
488
  inputParameters?: unknown;
449
489
  outputParameters?: unknown;
450
490
  tags?: string[] | undefined;
491
+ toolkit?: {
492
+ slug: string;
493
+ name: string;
494
+ logo?: string | undefined;
495
+ } | undefined;
451
496
  version?: string | undefined;
452
497
  isDeprecated?: boolean | undefined;
453
498
  availableVersions?: string[] | undefined;
@@ -458,47 +503,47 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
458
503
  totalPages: z$1.ZodNumber;
459
504
  }, "strip", z$1.ZodTypeAny, {
460
505
  items: {
461
- name: string;
462
506
  slug: string;
463
- toolkit?: {
464
- name: string;
465
- slug: string;
466
- logo?: string | undefined;
467
- } | undefined;
507
+ name: string;
468
508
  description?: string | undefined;
469
509
  inputParameters?: {
470
510
  type: "object";
471
- properties: Record<string, any>;
511
+ properties: Record<string, JSONSchemaProperty>;
472
512
  description?: string | undefined;
473
- anyOf?: any[] | undefined;
474
- oneOf?: any[] | undefined;
475
- allOf?: any[] | undefined;
476
- not?: any;
513
+ anyOf?: JSONSchemaProperty[] | undefined;
514
+ oneOf?: JSONSchemaProperty[] | undefined;
515
+ allOf?: JSONSchemaProperty[] | undefined;
516
+ not?: JSONSchemaProperty | undefined;
477
517
  required?: string[] | undefined;
478
518
  title?: string | undefined;
479
- default?: any;
519
+ default?: unknown;
480
520
  nullable?: boolean | undefined;
481
521
  additionalProperties?: boolean | undefined;
482
- $defs?: Record<string, any> | undefined;
483
- definitions?: Record<string, any> | undefined;
522
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
523
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
484
524
  } | undefined;
485
525
  outputParameters?: {
486
526
  type: "object";
487
- properties: Record<string, any>;
527
+ properties: Record<string, JSONSchemaProperty>;
488
528
  description?: string | undefined;
489
- anyOf?: any[] | undefined;
490
- oneOf?: any[] | undefined;
491
- allOf?: any[] | undefined;
492
- not?: any;
529
+ anyOf?: JSONSchemaProperty[] | undefined;
530
+ oneOf?: JSONSchemaProperty[] | undefined;
531
+ allOf?: JSONSchemaProperty[] | undefined;
532
+ not?: JSONSchemaProperty | undefined;
493
533
  required?: string[] | undefined;
494
534
  title?: string | undefined;
495
- default?: any;
535
+ default?: unknown;
496
536
  nullable?: boolean | undefined;
497
537
  additionalProperties?: boolean | undefined;
498
- $defs?: Record<string, any> | undefined;
499
- definitions?: Record<string, any> | undefined;
538
+ $defs?: Record<string, JSONSchemaProperty> | undefined;
539
+ definitions?: Record<string, JSONSchemaProperty> | undefined;
500
540
  } | undefined;
501
541
  tags?: string[] | undefined;
542
+ toolkit?: {
543
+ slug: string;
544
+ name: string;
545
+ logo?: string | undefined;
546
+ } | undefined;
502
547
  version?: string | undefined;
503
548
  isDeprecated?: boolean | undefined;
504
549
  availableVersions?: string[] | undefined;
@@ -509,17 +554,17 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
509
554
  nextCursor?: string | null | undefined;
510
555
  }, {
511
556
  items: {
512
- name: string;
513
557
  slug: string;
514
- toolkit?: {
515
- name: string;
516
- slug: string;
517
- logo?: string | undefined;
518
- } | undefined;
558
+ name: string;
519
559
  description?: string | undefined;
520
560
  inputParameters?: unknown;
521
561
  outputParameters?: unknown;
522
562
  tags?: string[] | undefined;
563
+ toolkit?: {
564
+ slug: string;
565
+ name: string;
566
+ logo?: string | undefined;
567
+ } | undefined;
523
568
  version?: string | undefined;
524
569
  isDeprecated?: boolean | undefined;
525
570
  availableVersions?: string[] | undefined;
@@ -573,22 +618,22 @@ declare const ToolListParamsSchema: z$1.ZodObject<{
573
618
  authConfigIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
574
619
  important: z$1.ZodOptional<z$1.ZodBoolean>;
575
620
  }, "strip", z$1.ZodTypeAny, {
576
- tools?: string[] | undefined;
577
- toolkits?: string[] | undefined;
578
- authConfigIds?: string[] | undefined;
579
621
  tags?: string[] | undefined;
580
622
  scopes?: string[] | undefined;
623
+ tools?: string[] | undefined;
624
+ toolkits?: string[] | undefined;
581
625
  limit?: number | undefined;
582
626
  search?: string | undefined;
627
+ authConfigIds?: string[] | undefined;
583
628
  important?: boolean | undefined;
584
629
  }, {
585
- tools?: string[] | undefined;
586
- toolkits?: string[] | undefined;
587
- authConfigIds?: string[] | undefined;
588
630
  tags?: string[] | undefined;
589
631
  scopes?: string[] | undefined;
632
+ tools?: string[] | undefined;
633
+ toolkits?: string[] | undefined;
590
634
  limit?: number | undefined;
591
635
  search?: string | undefined;
636
+ authConfigIds?: string[] | undefined;
592
637
  important?: boolean | undefined;
593
638
  }>;
594
639
  type BaseParams = {
@@ -651,26 +696,26 @@ declare const CustomAuthParamsSchema: z$1.ZodObject<{
651
696
  name: z$1.ZodString;
652
697
  value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
653
698
  }, "strip", z$1.ZodTypeAny, {
654
- value: string | number;
655
699
  name: string;
700
+ value: string | number;
656
701
  in: "query" | "header";
657
702
  }, {
658
- value: string | number;
659
703
  name: string;
704
+ value: string | number;
660
705
  in: "query" | "header";
661
706
  }>, "many">;
662
707
  }, "strip", z$1.ZodTypeAny, {
663
708
  parameters: {
664
- value: string | number;
665
709
  name: string;
710
+ value: string | number;
666
711
  in: "query" | "header";
667
712
  }[];
668
713
  baseURL?: string | undefined;
669
714
  body?: Record<string, unknown> | undefined;
670
715
  }, {
671
716
  parameters: {
672
- value: string | number;
673
717
  name: string;
718
+ value: string | number;
674
719
  in: "query" | "header";
675
720
  }[];
676
721
  baseURL?: string | undefined;
@@ -724,26 +769,26 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
724
769
  name: z$1.ZodString;
725
770
  value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
726
771
  }, "strip", z$1.ZodTypeAny, {
727
- value: string | number;
728
772
  name: string;
773
+ value: string | number;
729
774
  in: "query" | "header";
730
775
  }, {
731
- value: string | number;
732
776
  name: string;
777
+ value: string | number;
733
778
  in: "query" | "header";
734
779
  }>, "many">;
735
780
  }, "strip", z$1.ZodTypeAny, {
736
781
  parameters: {
737
- value: string | number;
738
782
  name: string;
783
+ value: string | number;
739
784
  in: "query" | "header";
740
785
  }[];
741
786
  baseURL?: string | undefined;
742
787
  body?: Record<string, unknown> | undefined;
743
788
  }, {
744
789
  parameters: {
745
- value: string | number;
746
790
  name: string;
791
+ value: string | number;
747
792
  in: "query" | "header";
748
793
  }[];
749
794
  baseURL?: string | undefined;
@@ -2732,14 +2777,13 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
2732
2777
  dangerouslySkipVersionCheck: z$1.ZodOptional<z$1.ZodBoolean>;
2733
2778
  text: z$1.ZodOptional<z$1.ZodString>;
2734
2779
  }, "strip", z$1.ZodTypeAny, {
2735
- userId?: string | undefined;
2736
2780
  version?: string | undefined;
2737
2781
  allowTracing?: boolean | undefined;
2738
2782
  connectedAccountId?: string | undefined;
2739
2783
  customAuthParams?: {
2740
2784
  parameters: {
2741
- value: string | number;
2742
2785
  name: string;
2786
+ value: string | number;
2743
2787
  in: "query" | "header";
2744
2788
  }[];
2745
2789
  baseURL?: string | undefined;
@@ -3160,17 +3204,17 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3160
3204
  };
3161
3205
  } | undefined;
3162
3206
  arguments?: Record<string, unknown> | undefined;
3207
+ userId?: string | undefined;
3163
3208
  dangerouslySkipVersionCheck?: boolean | undefined;
3164
3209
  text?: string | undefined;
3165
3210
  }, {
3166
- userId?: string | undefined;
3167
3211
  version?: string | undefined;
3168
3212
  allowTracing?: boolean | undefined;
3169
3213
  connectedAccountId?: string | undefined;
3170
3214
  customAuthParams?: {
3171
3215
  parameters: {
3172
- value: string | number;
3173
3216
  name: string;
3217
+ value: string | number;
3174
3218
  in: "query" | "header";
3175
3219
  }[];
3176
3220
  baseURL?: string | undefined;
@@ -3591,6 +3635,7 @@ declare const ToolExecuteParamsSchema: z$1.ZodObject<{
3591
3635
  };
3592
3636
  } | undefined;
3593
3637
  arguments?: Record<string, unknown> | undefined;
3638
+ userId?: string | undefined;
3594
3639
  dangerouslySkipVersionCheck?: boolean | undefined;
3595
3640
  text?: string | undefined;
3596
3641
  }>;
@@ -3616,14 +3661,14 @@ declare const ToolExecuteResponseSchema: z$1.ZodObject<{
3616
3661
  logId: z$1.ZodOptional<z$1.ZodString>;
3617
3662
  sessionInfo: z$1.ZodOptional<z$1.ZodUnknown>;
3618
3663
  }, "strip", z$1.ZodTypeAny, {
3619
- error: string | null;
3620
3664
  data: Record<string, unknown>;
3665
+ error: string | null;
3621
3666
  successful: boolean;
3622
3667
  logId?: string | undefined;
3623
3668
  sessionInfo?: unknown;
3624
3669
  }, {
3625
- error: string | null;
3626
3670
  data: Record<string, unknown>;
3671
+ error: string | null;
3627
3672
  successful: boolean;
3628
3673
  logId?: string | undefined;
3629
3674
  sessionInfo?: unknown;
@@ -3638,12 +3683,12 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
3638
3683
  name: z$1.ZodString;
3639
3684
  value: z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>;
3640
3685
  }, "strip", z$1.ZodTypeAny, {
3641
- value: string | number;
3642
3686
  name: string;
3687
+ value: string | number;
3643
3688
  in: "query" | "header";
3644
3689
  }, {
3645
- value: string | number;
3646
3690
  name: string;
3691
+ value: string | number;
3647
3692
  in: "query" | "header";
3648
3693
  }>, "many">>;
3649
3694
  connectedAccountId: z$1.ZodOptional<z$1.ZodString>;
@@ -5632,8 +5677,8 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
5632
5677
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
5633
5678
  body?: unknown;
5634
5679
  parameters?: {
5635
- value: string | number;
5636
5680
  name: string;
5681
+ value: string | number;
5637
5682
  in: "query" | "header";
5638
5683
  }[] | undefined;
5639
5684
  connectedAccountId?: string | undefined;
@@ -6056,8 +6101,8 @@ declare const ToolProxyParamsSchema: z$1.ZodObject<{
6056
6101
  method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
6057
6102
  body?: unknown;
6058
6103
  parameters?: {
6059
- value: string | number;
6060
6104
  name: string;
6105
+ value: string | number;
6061
6106
  in: "query" | "header";
6062
6107
  }[] | undefined;
6063
6108
  connectedAccountId?: string | undefined;
@@ -28730,7 +28775,7 @@ declare const MCPServerSchema: z$1.ZodObject<{
28730
28775
  }>]>;
28731
28776
  }, "strip", z$1.ZodTypeAny, {
28732
28777
  type: "single" | "multi";
28733
- status: "active" | "inactive" | "error";
28778
+ status: "error" | "active" | "inactive";
28734
28779
  id: string;
28735
28780
  createdAt: string;
28736
28781
  updatedAt: string;
@@ -28757,7 +28802,7 @@ declare const MCPServerSchema: z$1.ZodObject<{
28757
28802
  tools: string[];
28758
28803
  toolkits: string[];
28759
28804
  };
28760
- status?: "active" | "inactive" | "error" | undefined;
28805
+ status?: "error" | "active" | "inactive" | undefined;
28761
28806
  }>;
28762
28807
  type MCPServer = z$1.infer<typeof MCPServerSchema>;
28763
28808
  /**
@@ -28797,7 +28842,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
28797
28842
  }>]>;
28798
28843
  }, "strip", z$1.ZodTypeAny, {
28799
28844
  type: "single" | "multi";
28800
- status: "active" | "inactive" | "error";
28845
+ status: "error" | "active" | "inactive";
28801
28846
  id: string;
28802
28847
  createdAt: string;
28803
28848
  updatedAt: string;
@@ -28824,7 +28869,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
28824
28869
  tools: string[];
28825
28870
  toolkits: string[];
28826
28871
  };
28827
- status?: "active" | "inactive" | "error" | undefined;
28872
+ status?: "error" | "active" | "inactive" | undefined;
28828
28873
  }>, "many">;
28829
28874
  total: z$1.ZodNumber;
28830
28875
  page: z$1.ZodNumber;
@@ -28832,7 +28877,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
28832
28877
  }, "strip", z$1.ZodTypeAny, {
28833
28878
  items: {
28834
28879
  type: "single" | "multi";
28835
- status: "active" | "inactive" | "error";
28880
+ status: "error" | "active" | "inactive";
28836
28881
  id: string;
28837
28882
  createdAt: string;
28838
28883
  updatedAt: string;
@@ -28864,7 +28909,7 @@ declare const MCPServerListResponseSchema: z$1.ZodObject<{
28864
28909
  tools: string[];
28865
28910
  toolkits: string[];
28866
28911
  };
28867
- status?: "active" | "inactive" | "error" | undefined;
28912
+ status?: "error" | "active" | "inactive" | undefined;
28868
28913
  }[];
28869
28914
  total: number;
28870
28915
  page: number;
@@ -28879,13 +28924,13 @@ declare const MCPServerUpdateParamsSchema: z$1.ZodObject<{
28879
28924
  toolkits: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
28880
28925
  allowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
28881
28926
  }, "strip", z$1.ZodTypeAny, {
28882
- allowedTools?: string[] | undefined;
28883
28927
  name?: string | undefined;
28884
28928
  toolkits?: string[] | undefined;
28885
- }, {
28886
28929
  allowedTools?: string[] | undefined;
28930
+ }, {
28887
28931
  name?: string | undefined;
28888
28932
  toolkits?: string[] | undefined;
28933
+ allowedTools?: string[] | undefined;
28889
28934
  }>;
28890
28935
  type MCPServerUpdateParams = z$1.infer<typeof MCPServerUpdateParamsSchema>;
28891
28936
  /**
@@ -28924,7 +28969,7 @@ declare const MCPServerCreateResponseSchema: z$1.ZodObject<{
28924
28969
  }>]>;
28925
28970
  }, "strip", z$1.ZodTypeAny, {
28926
28971
  type: "single" | "multi";
28927
- status: "active" | "inactive" | "error";
28972
+ status: "error" | "active" | "inactive";
28928
28973
  id: string;
28929
28974
  createdAt: string;
28930
28975
  updatedAt: string;
@@ -28951,7 +28996,7 @@ declare const MCPServerCreateResponseSchema: z$1.ZodObject<{
28951
28996
  tools: string[];
28952
28997
  toolkits: string[];
28953
28998
  };
28954
- status?: "active" | "inactive" | "error" | undefined;
28999
+ status?: "error" | "active" | "inactive" | undefined;
28955
29000
  }>;
28956
29001
  type MCPServerCreateResponse = z$1.infer<typeof MCPServerCreateResponseSchema>;
28957
29002
  /**
@@ -29146,8 +29191,8 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
29146
29191
  windsurf: string;
29147
29192
  }>;
29148
29193
  }, "strip", z$1.ZodTypeAny, {
29149
- mcpUrl: string;
29150
29194
  name: string;
29195
+ mcpUrl: string;
29151
29196
  id: string;
29152
29197
  commands: {
29153
29198
  claude: string;
@@ -29157,13 +29202,13 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
29157
29202
  status?: string | undefined;
29158
29203
  tools?: string[] | undefined;
29159
29204
  toolkits?: string[] | undefined;
29205
+ authConfigIds?: string[] | undefined;
29160
29206
  createdAt?: string | undefined;
29161
29207
  updatedAt?: string | undefined;
29162
29208
  managedAuthViaComposio?: boolean | undefined;
29163
- authConfigIds?: string[] | undefined;
29164
29209
  }, {
29165
- mcpUrl: string;
29166
29210
  name: string;
29211
+ mcpUrl: string;
29167
29212
  id: string;
29168
29213
  commands: {
29169
29214
  claude: string;
@@ -29173,10 +29218,10 @@ declare const McpRetrieveResponseSchema: z$1.ZodObject<{
29173
29218
  status?: string | undefined;
29174
29219
  tools?: string[] | undefined;
29175
29220
  toolkits?: string[] | undefined;
29221
+ authConfigIds?: string[] | undefined;
29176
29222
  createdAt?: string | undefined;
29177
29223
  updatedAt?: string | undefined;
29178
29224
  managedAuthViaComposio?: boolean | undefined;
29179
- authConfigIds?: string[] | undefined;
29180
29225
  }>;
29181
29226
  declare const ComposioMcpRetrieveResponseSchema: z$1.ZodObject<{
29182
29227
  id: z$1.ZodString;