@composio/core 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -2096,7 +2096,7 @@ var CustomTools = class {
|
|
|
2096
2096
|
if (!slug || !execute || !inputParams || !name) {
|
|
2097
2097
|
throw new Error("Invalid tool options");
|
|
2098
2098
|
}
|
|
2099
|
-
const paramsSchema =
|
|
2099
|
+
const paramsSchema = (0, import_zod_to_json_schema.default)(inputParams, {
|
|
2100
2100
|
name: "input"
|
|
2101
2101
|
});
|
|
2102
2102
|
const paramsSchemaJson = paramsSchema.definitions.input;
|
|
@@ -7351,7 +7351,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
7351
7351
|
};
|
|
7352
7352
|
|
|
7353
7353
|
// package.json
|
|
7354
|
-
var version = "0.2.
|
|
7354
|
+
var version = "0.2.2";
|
|
7355
7355
|
|
|
7356
7356
|
// src/models/Files.ts
|
|
7357
7357
|
var Files = class {
|
package/dist/index.js
CHANGED
|
@@ -1919,7 +1919,7 @@ var CustomTools = class {
|
|
|
1919
1919
|
if (!slug || !execute || !inputParams || !name) {
|
|
1920
1920
|
throw new Error("Invalid tool options");
|
|
1921
1921
|
}
|
|
1922
|
-
const paramsSchema =
|
|
1922
|
+
const paramsSchema = zodToJsonSchema(inputParams, {
|
|
1923
1923
|
name: "input"
|
|
1924
1924
|
});
|
|
1925
1925
|
const paramsSchemaJson = paramsSchema.definitions.input;
|
|
@@ -7174,7 +7174,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
7174
7174
|
};
|
|
7175
7175
|
|
|
7176
7176
|
// package.json
|
|
7177
|
-
var version = "0.2.
|
|
7177
|
+
var version = "0.2.2";
|
|
7178
7178
|
|
|
7179
7179
|
// src/models/Files.ts
|
|
7180
7180
|
var Files = class {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composio/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"tsx": "^4.20.5",
|
|
34
34
|
"typescript": "^5.9.2",
|
|
35
35
|
"vitest": "^3.2.4",
|
|
36
|
-
"zod": "
|
|
36
|
+
"zod": "^4.1.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"zod": ">=3.25.76 <5"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"semver": "^7.7.2",
|
|
48
48
|
"uuid": "^13.0.0",
|
|
49
49
|
"zod-to-json-schema": "^3.24.5",
|
|
50
|
-
"@composio/json-schema-to-zod": "0.1.
|
|
50
|
+
"@composio/json-schema-to-zod": "0.1.18"
|
|
51
51
|
},
|
|
52
52
|
"gitHead": "4fae6e54d5c150fba955cc5fa314281da5a1e064",
|
|
53
53
|
"scripts": {
|