@composio/core 0.14.1 → 0.16.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.
- package/dist/{BaseProvider-Dc5yKZhk.d.mts → BaseProvider-D7p2OPEx.d.mts} +267 -200
- package/dist/{CustomTool-4nVuwLzO.d.mts → CustomTool-Bk38kFp0.d.mts} +1 -1
- package/dist/{Telemetry-CF0rNHu2.mjs → Telemetry-DuGJSwUt.mjs} +2 -2
- package/dist/{cancellation-BbJ-UQ__.mjs → cancellation-NVtGf3St.mjs} +69 -1
- package/dist/{composio-ChU3eD9F.d.mts → composio-DSs-1AhC.d.mts} +8 -3
- package/dist/{customTool.types-CX2-LbfI.d.mts → customTool.types-cGHcIBX-.d.mts} +1 -1
- package/dist/experimental/index.d.mts +2 -2
- package/dist/{fileUtils.node-DOkW4PBg.mjs → fileUtils.node-BQ0fWge3.mjs} +5 -2
- package/dist/index.d.mts +20 -7
- package/dist/index.mjs +85 -43
- package/dist/models/Files.node.mjs +2 -2
- package/dist/platform/node.d.mts +1 -1
- package/dist/platform/node.mjs +24 -0
- package/dist/platform/workerd.d.mts +1 -1
- package/dist/platform/workerd.mjs +3 -0
- package/dist/{sensitiveFileUploadPaths-C43dHP7S.mjs → sensitiveFileUploadPaths-BVEt0peg.mjs} +12 -7
- package/dist/{types-D5N60gUD.d.mts → types-B4k-qoOf.d.mts} +2 -2
- package/dist/{types-DY1r-kN9.d.mts → types-D5A2wzBl.d.mts} +8 -0
- package/dist/utils/config-defaults/ConfigDefaults.node.d.mts +1 -1
- package/dist/utils/config-defaults/ConfigDefaults.workerd.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.d.mts +1 -1
- package/dist/utils/modifiers/FileToolModifier.node.mjs +2 -2
- package/dist/utils/modifiers/FileToolModifier.workerd.d.mts +1 -1
- package/dist/utils/ssrfGuard.node.d.mts +2 -2
- package/dist/utils/ssrfGuard.node.mjs +3 -2
- package/package.json +6 -5
- package/src/index.ts +1 -0
- package/src/models/ToolRouterSessionFileMount.ts +3 -0
- package/src/models/Tools.ts +108 -77
- package/src/platform/node.ts +40 -0
- package/src/platform/types.ts +9 -0
- package/src/platform/workerd.ts +5 -0
- package/src/telemetry/redact.ts +6 -1
- package/src/types/tool.types.ts +60 -10
- package/src/utils/fileUtils.node.ts +3 -0
- package/src/utils/jsonSchema.ts +86 -1
- package/src/utils/modifiers/FileToolModifier.node.ts +3 -3
- package/src/utils/modifiers/FileToolModifier.utils.neutral.ts +6 -4
- package/src/utils/sdk.ts +2 -2
- package/src/utils/sensitiveFileUploadPaths.ts +12 -9
- package/src/utils/ssrfGuard.node.ts +6 -2
- package/src/utils/version.ts +21 -20
|
@@ -21,8 +21,53 @@ declare const ToolkitSchema: z$1.ZodObject<{
|
|
|
21
21
|
logo?: string | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
type Toolkit = z$1.infer<typeof ToolkitSchema>;
|
|
24
|
-
declare const
|
|
25
|
-
type
|
|
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,133 @@ 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<
|
|
39
|
-
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
40
|
-
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
41
|
-
not: z$1.ZodOptional<z$1.ZodType<
|
|
42
|
-
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<
|
|
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.ZodOptional<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.
|
|
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
|
-
|
|
49
|
-
|
|
50
|
-
|
|
93
|
+
patternProperties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
94
|
+
additionalProperties: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>]>>;
|
|
95
|
+
$defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
96
|
+
definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
51
97
|
}, "strip", z$1.ZodTypeAny, {
|
|
52
98
|
type: "object";
|
|
53
|
-
properties: Record<string, any>;
|
|
54
99
|
description?: string | undefined;
|
|
55
|
-
anyOf?:
|
|
56
|
-
oneOf?:
|
|
57
|
-
allOf?:
|
|
58
|
-
not?:
|
|
100
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
101
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
102
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
103
|
+
not?: JSONSchemaProperty | undefined;
|
|
104
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
59
105
|
required?: string[] | undefined;
|
|
60
106
|
title?: string | undefined;
|
|
61
|
-
default?:
|
|
107
|
+
default?: unknown;
|
|
62
108
|
nullable?: boolean | undefined;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
109
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
110
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
111
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
112
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
66
113
|
}, {
|
|
67
114
|
type: "object";
|
|
68
|
-
properties: Record<string, any>;
|
|
69
115
|
description?: string | undefined;
|
|
70
|
-
anyOf?:
|
|
71
|
-
oneOf?:
|
|
72
|
-
allOf?:
|
|
73
|
-
not?:
|
|
116
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
117
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
118
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
119
|
+
not?: JSONSchemaProperty | undefined;
|
|
120
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
74
121
|
required?: string[] | undefined;
|
|
75
122
|
title?: string | undefined;
|
|
76
|
-
default?:
|
|
123
|
+
default?: unknown;
|
|
77
124
|
nullable?: boolean | undefined;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
125
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
126
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
127
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
128
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
81
129
|
}>, {
|
|
82
130
|
type: "object";
|
|
83
|
-
properties: Record<string, any>;
|
|
84
131
|
description?: string | undefined;
|
|
85
|
-
anyOf?:
|
|
86
|
-
oneOf?:
|
|
87
|
-
allOf?:
|
|
88
|
-
not?:
|
|
132
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
133
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
134
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
135
|
+
not?: JSONSchemaProperty | undefined;
|
|
136
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
89
137
|
required?: string[] | undefined;
|
|
90
138
|
title?: string | undefined;
|
|
91
|
-
default?:
|
|
139
|
+
default?: unknown;
|
|
92
140
|
nullable?: boolean | undefined;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
141
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
142
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
143
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
144
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
96
145
|
}, unknown>>;
|
|
97
146
|
outputParameters: z$1.ZodOptional<z$1.ZodEffects<z$1.ZodObject<{
|
|
98
147
|
type: z$1.ZodLiteral<"object">;
|
|
99
|
-
anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
100
|
-
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
101
|
-
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
102
|
-
not: z$1.ZodOptional<z$1.ZodType<
|
|
103
|
-
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<
|
|
148
|
+
anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
149
|
+
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
150
|
+
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
151
|
+
not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
|
|
152
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
104
153
|
required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
105
154
|
title: z$1.ZodOptional<z$1.ZodString>;
|
|
106
|
-
default: z$1.ZodOptional<z$1.
|
|
155
|
+
default: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
107
156
|
nullable: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
108
157
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
158
|
+
patternProperties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
159
|
+
additionalProperties: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>]>>;
|
|
160
|
+
$defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
161
|
+
definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
112
162
|
}, "strip", z$1.ZodTypeAny, {
|
|
113
163
|
type: "object";
|
|
114
|
-
properties: Record<string, any>;
|
|
115
164
|
description?: string | undefined;
|
|
116
|
-
anyOf?:
|
|
117
|
-
oneOf?:
|
|
118
|
-
allOf?:
|
|
119
|
-
not?:
|
|
165
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
166
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
167
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
168
|
+
not?: JSONSchemaProperty | undefined;
|
|
169
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
120
170
|
required?: string[] | undefined;
|
|
121
171
|
title?: string | undefined;
|
|
122
|
-
default?:
|
|
172
|
+
default?: unknown;
|
|
123
173
|
nullable?: boolean | undefined;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
174
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
175
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
176
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
177
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
127
178
|
}, {
|
|
128
179
|
type: "object";
|
|
129
|
-
properties: Record<string, any>;
|
|
130
180
|
description?: string | undefined;
|
|
131
|
-
anyOf?:
|
|
132
|
-
oneOf?:
|
|
133
|
-
allOf?:
|
|
134
|
-
not?:
|
|
181
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
182
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
183
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
184
|
+
not?: JSONSchemaProperty | undefined;
|
|
185
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
135
186
|
required?: string[] | undefined;
|
|
136
187
|
title?: string | undefined;
|
|
137
|
-
default?:
|
|
188
|
+
default?: unknown;
|
|
138
189
|
nullable?: boolean | undefined;
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
190
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
191
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
192
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
193
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
142
194
|
}>, {
|
|
143
195
|
type: "object";
|
|
144
|
-
properties: Record<string, any>;
|
|
145
196
|
description?: string | undefined;
|
|
146
|
-
anyOf?:
|
|
147
|
-
oneOf?:
|
|
148
|
-
allOf?:
|
|
149
|
-
not?:
|
|
197
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
198
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
199
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
200
|
+
not?: JSONSchemaProperty | undefined;
|
|
201
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
150
202
|
required?: string[] | undefined;
|
|
151
203
|
title?: string | undefined;
|
|
152
|
-
default?:
|
|
204
|
+
default?: unknown;
|
|
153
205
|
nullable?: boolean | undefined;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
206
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
207
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
208
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
209
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
157
210
|
}, unknown>>;
|
|
158
211
|
tags: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
159
212
|
toolkit: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -185,35 +238,37 @@ declare const ToolSchema: z$1.ZodObject<{
|
|
|
185
238
|
description?: string | undefined;
|
|
186
239
|
inputParameters?: {
|
|
187
240
|
type: "object";
|
|
188
|
-
properties: Record<string, any>;
|
|
189
241
|
description?: string | undefined;
|
|
190
|
-
anyOf?:
|
|
191
|
-
oneOf?:
|
|
192
|
-
allOf?:
|
|
193
|
-
not?:
|
|
242
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
243
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
244
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
245
|
+
not?: JSONSchemaProperty | undefined;
|
|
246
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
194
247
|
required?: string[] | undefined;
|
|
195
248
|
title?: string | undefined;
|
|
196
|
-
default?:
|
|
249
|
+
default?: unknown;
|
|
197
250
|
nullable?: boolean | undefined;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
251
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
252
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
253
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
254
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
201
255
|
} | undefined;
|
|
202
256
|
outputParameters?: {
|
|
203
257
|
type: "object";
|
|
204
|
-
properties: Record<string, any>;
|
|
205
258
|
description?: string | undefined;
|
|
206
|
-
anyOf?:
|
|
207
|
-
oneOf?:
|
|
208
|
-
allOf?:
|
|
209
|
-
not?:
|
|
259
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
260
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
261
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
262
|
+
not?: JSONSchemaProperty | undefined;
|
|
263
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
210
264
|
required?: string[] | undefined;
|
|
211
265
|
title?: string | undefined;
|
|
212
|
-
default?:
|
|
266
|
+
default?: unknown;
|
|
213
267
|
nullable?: boolean | undefined;
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
268
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
269
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
270
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
271
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
217
272
|
} | undefined;
|
|
218
273
|
tags?: string[] | undefined;
|
|
219
274
|
version?: string | undefined;
|
|
@@ -250,125 +305,133 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
250
305
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
251
306
|
inputParameters: z$1.ZodOptional<z$1.ZodEffects<z$1.ZodObject<{
|
|
252
307
|
type: z$1.ZodLiteral<"object">;
|
|
253
|
-
anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
254
|
-
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
255
|
-
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
256
|
-
not: z$1.ZodOptional<z$1.ZodType<
|
|
257
|
-
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<
|
|
308
|
+
anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
309
|
+
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
310
|
+
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
311
|
+
not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
|
|
312
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
258
313
|
required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
259
314
|
title: z$1.ZodOptional<z$1.ZodString>;
|
|
260
|
-
default: z$1.ZodOptional<z$1.
|
|
315
|
+
default: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
261
316
|
nullable: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
262
317
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
318
|
+
patternProperties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
319
|
+
additionalProperties: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>]>>;
|
|
320
|
+
$defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
321
|
+
definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
266
322
|
}, "strip", z$1.ZodTypeAny, {
|
|
267
323
|
type: "object";
|
|
268
|
-
properties: Record<string, any>;
|
|
269
324
|
description?: string | undefined;
|
|
270
|
-
anyOf?:
|
|
271
|
-
oneOf?:
|
|
272
|
-
allOf?:
|
|
273
|
-
not?:
|
|
325
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
326
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
327
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
328
|
+
not?: JSONSchemaProperty | undefined;
|
|
329
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
274
330
|
required?: string[] | undefined;
|
|
275
331
|
title?: string | undefined;
|
|
276
|
-
default?:
|
|
332
|
+
default?: unknown;
|
|
277
333
|
nullable?: boolean | undefined;
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
334
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
335
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
336
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
337
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
281
338
|
}, {
|
|
282
339
|
type: "object";
|
|
283
|
-
properties: Record<string, any>;
|
|
284
340
|
description?: string | undefined;
|
|
285
|
-
anyOf?:
|
|
286
|
-
oneOf?:
|
|
287
|
-
allOf?:
|
|
288
|
-
not?:
|
|
341
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
342
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
343
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
344
|
+
not?: JSONSchemaProperty | undefined;
|
|
345
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
289
346
|
required?: string[] | undefined;
|
|
290
347
|
title?: string | undefined;
|
|
291
|
-
default?:
|
|
348
|
+
default?: unknown;
|
|
292
349
|
nullable?: boolean | undefined;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
350
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
351
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
352
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
353
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
296
354
|
}>, {
|
|
297
355
|
type: "object";
|
|
298
|
-
properties: Record<string, any>;
|
|
299
356
|
description?: string | undefined;
|
|
300
|
-
anyOf?:
|
|
301
|
-
oneOf?:
|
|
302
|
-
allOf?:
|
|
303
|
-
not?:
|
|
357
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
358
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
359
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
360
|
+
not?: JSONSchemaProperty | undefined;
|
|
361
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
304
362
|
required?: string[] | undefined;
|
|
305
363
|
title?: string | undefined;
|
|
306
|
-
default?:
|
|
364
|
+
default?: unknown;
|
|
307
365
|
nullable?: boolean | undefined;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
366
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
367
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
368
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
369
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
311
370
|
}, unknown>>;
|
|
312
371
|
outputParameters: z$1.ZodOptional<z$1.ZodEffects<z$1.ZodObject<{
|
|
313
372
|
type: z$1.ZodLiteral<"object">;
|
|
314
|
-
anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
315
|
-
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
316
|
-
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<
|
|
317
|
-
not: z$1.ZodOptional<z$1.ZodType<
|
|
318
|
-
properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<
|
|
373
|
+
anyOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
374
|
+
oneOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
375
|
+
allOf: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>, "many">>;
|
|
376
|
+
not: z$1.ZodOptional<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>;
|
|
377
|
+
properties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
319
378
|
required: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString, "many">>;
|
|
320
379
|
title: z$1.ZodOptional<z$1.ZodString>;
|
|
321
|
-
default: z$1.ZodOptional<z$1.
|
|
380
|
+
default: z$1.ZodOptional<z$1.ZodUnknown>;
|
|
322
381
|
nullable: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
323
382
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
383
|
+
patternProperties: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>;
|
|
384
|
+
additionalProperties: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodBoolean, z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>]>>;
|
|
385
|
+
$defs: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
386
|
+
definitions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodLazy<z$1.ZodType<JSONSchemaProperty, z$1.ZodTypeDef, JSONSchemaProperty>>>>;
|
|
327
387
|
}, "strip", z$1.ZodTypeAny, {
|
|
328
388
|
type: "object";
|
|
329
|
-
properties: Record<string, any>;
|
|
330
389
|
description?: string | undefined;
|
|
331
|
-
anyOf?:
|
|
332
|
-
oneOf?:
|
|
333
|
-
allOf?:
|
|
334
|
-
not?:
|
|
390
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
391
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
392
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
393
|
+
not?: JSONSchemaProperty | undefined;
|
|
394
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
335
395
|
required?: string[] | undefined;
|
|
336
396
|
title?: string | undefined;
|
|
337
|
-
default?:
|
|
397
|
+
default?: unknown;
|
|
338
398
|
nullable?: boolean | undefined;
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
399
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
400
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
401
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
402
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
342
403
|
}, {
|
|
343
404
|
type: "object";
|
|
344
|
-
properties: Record<string, any>;
|
|
345
405
|
description?: string | undefined;
|
|
346
|
-
anyOf?:
|
|
347
|
-
oneOf?:
|
|
348
|
-
allOf?:
|
|
349
|
-
not?:
|
|
406
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
407
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
408
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
409
|
+
not?: JSONSchemaProperty | undefined;
|
|
410
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
350
411
|
required?: string[] | undefined;
|
|
351
412
|
title?: string | undefined;
|
|
352
|
-
default?:
|
|
413
|
+
default?: unknown;
|
|
353
414
|
nullable?: boolean | undefined;
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
415
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
416
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
417
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
418
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
357
419
|
}>, {
|
|
358
420
|
type: "object";
|
|
359
|
-
properties: Record<string, any>;
|
|
360
421
|
description?: string | undefined;
|
|
361
|
-
anyOf?:
|
|
362
|
-
oneOf?:
|
|
363
|
-
allOf?:
|
|
364
|
-
not?:
|
|
422
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
423
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
424
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
425
|
+
not?: JSONSchemaProperty | undefined;
|
|
426
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
365
427
|
required?: string[] | undefined;
|
|
366
428
|
title?: string | undefined;
|
|
367
|
-
default?:
|
|
429
|
+
default?: unknown;
|
|
368
430
|
nullable?: boolean | undefined;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
431
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
432
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
433
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
434
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
372
435
|
}, unknown>>;
|
|
373
436
|
tags: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString, "many">>>;
|
|
374
437
|
toolkit: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -400,35 +463,37 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
400
463
|
description?: string | undefined;
|
|
401
464
|
inputParameters?: {
|
|
402
465
|
type: "object";
|
|
403
|
-
properties: Record<string, any>;
|
|
404
466
|
description?: string | undefined;
|
|
405
|
-
anyOf?:
|
|
406
|
-
oneOf?:
|
|
407
|
-
allOf?:
|
|
408
|
-
not?:
|
|
467
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
468
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
469
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
470
|
+
not?: JSONSchemaProperty | undefined;
|
|
471
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
409
472
|
required?: string[] | undefined;
|
|
410
473
|
title?: string | undefined;
|
|
411
|
-
default?:
|
|
474
|
+
default?: unknown;
|
|
412
475
|
nullable?: boolean | undefined;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
476
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
477
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
478
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
479
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
416
480
|
} | undefined;
|
|
417
481
|
outputParameters?: {
|
|
418
482
|
type: "object";
|
|
419
|
-
properties: Record<string, any>;
|
|
420
483
|
description?: string | undefined;
|
|
421
|
-
anyOf?:
|
|
422
|
-
oneOf?:
|
|
423
|
-
allOf?:
|
|
424
|
-
not?:
|
|
484
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
485
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
486
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
487
|
+
not?: JSONSchemaProperty | undefined;
|
|
488
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
425
489
|
required?: string[] | undefined;
|
|
426
490
|
title?: string | undefined;
|
|
427
|
-
default?:
|
|
491
|
+
default?: unknown;
|
|
428
492
|
nullable?: boolean | undefined;
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
493
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
494
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
495
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
496
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
432
497
|
} | undefined;
|
|
433
498
|
tags?: string[] | undefined;
|
|
434
499
|
version?: string | undefined;
|
|
@@ -468,35 +533,37 @@ declare const ToolListResponseSchema: z$1.ZodObject<{
|
|
|
468
533
|
description?: string | undefined;
|
|
469
534
|
inputParameters?: {
|
|
470
535
|
type: "object";
|
|
471
|
-
properties: Record<string, any>;
|
|
472
536
|
description?: string | undefined;
|
|
473
|
-
anyOf?:
|
|
474
|
-
oneOf?:
|
|
475
|
-
allOf?:
|
|
476
|
-
not?:
|
|
537
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
538
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
539
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
540
|
+
not?: JSONSchemaProperty | undefined;
|
|
541
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
477
542
|
required?: string[] | undefined;
|
|
478
543
|
title?: string | undefined;
|
|
479
|
-
default?:
|
|
544
|
+
default?: unknown;
|
|
480
545
|
nullable?: boolean | undefined;
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
546
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
547
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
548
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
549
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
484
550
|
} | undefined;
|
|
485
551
|
outputParameters?: {
|
|
486
552
|
type: "object";
|
|
487
|
-
properties: Record<string, any>;
|
|
488
553
|
description?: string | undefined;
|
|
489
|
-
anyOf?:
|
|
490
|
-
oneOf?:
|
|
491
|
-
allOf?:
|
|
492
|
-
not?:
|
|
554
|
+
anyOf?: JSONSchemaProperty[] | undefined;
|
|
555
|
+
oneOf?: JSONSchemaProperty[] | undefined;
|
|
556
|
+
allOf?: JSONSchemaProperty[] | undefined;
|
|
557
|
+
not?: JSONSchemaProperty | undefined;
|
|
558
|
+
properties?: Record<string, JSONSchemaProperty> | undefined;
|
|
493
559
|
required?: string[] | undefined;
|
|
494
560
|
title?: string | undefined;
|
|
495
|
-
default?:
|
|
561
|
+
default?: unknown;
|
|
496
562
|
nullable?: boolean | undefined;
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
563
|
+
patternProperties?: Record<string, JSONSchemaProperty> | undefined;
|
|
564
|
+
additionalProperties?: boolean | JSONSchemaProperty | undefined;
|
|
565
|
+
$defs?: Record<string, JSONSchemaProperty> | undefined;
|
|
566
|
+
definitions?: Record<string, JSONSchemaProperty> | undefined;
|
|
500
567
|
} | undefined;
|
|
501
568
|
tags?: string[] | undefined;
|
|
502
569
|
version?: string | undefined;
|