@composio/core 0.6.2 → 0.6.3
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.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1934,7 +1934,7 @@ var Tools = class {
|
|
|
1934
1934
|
if ("tools" in query && "toolkits" in query) throw new ValidationError("Invalid tool list parameters. You should not use tools and toolkits filter together.");
|
|
1935
1935
|
const queryParams = ToolListParamsSchema.safeParse(query);
|
|
1936
1936
|
if (queryParams.error) throw new ValidationError("Invalid tool list parameters", { cause: queryParams.error });
|
|
1937
|
-
const shouldAutoApplyImportant = "toolkits" in queryParams.data && !("tools" in queryParams.data) && !("tags" in queryParams.data) && !("search" in queryParams.data) && queryParams.data.important !== false;
|
|
1937
|
+
const shouldAutoApplyImportant = "toolkits" in queryParams.data && !("tools" in queryParams.data) && !("tags" in queryParams.data) && !("search" in queryParams.data) && !("limit" in queryParams.data) && queryParams.data.important !== false;
|
|
1938
1938
|
const effectiveImportant = "important" in queryParams.data ? queryParams.data.important : shouldAutoApplyImportant;
|
|
1939
1939
|
if (!("tools" in queryParams.data || "toolkits" in queryParams.data || "search" in queryParams.data || "authConfigIds" in queryParams.data)) throw new ValidationError("Invalid tool list parameters, atleast one of the following parameters is required: tools, toolkits, search, authConfigIds");
|
|
1940
1940
|
let limit = "limit" in queryParams.data ? queryParams.data.limit : void 0;
|
|
@@ -5584,7 +5584,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
5584
5584
|
|
|
5585
5585
|
//#endregion
|
|
5586
5586
|
//#region package.json
|
|
5587
|
-
var version = "0.6.
|
|
5587
|
+
var version = "0.6.3";
|
|
5588
5588
|
|
|
5589
5589
|
//#endregion
|
|
5590
5590
|
//#region src/utils/session.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1930,7 +1930,7 @@ var Tools = class {
|
|
|
1930
1930
|
if ("tools" in query && "toolkits" in query) throw new ValidationError("Invalid tool list parameters. You should not use tools and toolkits filter together.");
|
|
1931
1931
|
const queryParams = ToolListParamsSchema.safeParse(query);
|
|
1932
1932
|
if (queryParams.error) throw new ValidationError("Invalid tool list parameters", { cause: queryParams.error });
|
|
1933
|
-
const shouldAutoApplyImportant = "toolkits" in queryParams.data && !("tools" in queryParams.data) && !("tags" in queryParams.data) && !("search" in queryParams.data) && queryParams.data.important !== false;
|
|
1933
|
+
const shouldAutoApplyImportant = "toolkits" in queryParams.data && !("tools" in queryParams.data) && !("tags" in queryParams.data) && !("search" in queryParams.data) && !("limit" in queryParams.data) && queryParams.data.important !== false;
|
|
1934
1934
|
const effectiveImportant = "important" in queryParams.data ? queryParams.data.important : shouldAutoApplyImportant;
|
|
1935
1935
|
if (!("tools" in queryParams.data || "toolkits" in queryParams.data || "search" in queryParams.data || "authConfigIds" in queryParams.data)) throw new ValidationError("Invalid tool list parameters, atleast one of the following parameters is required: tools, toolkits, search, authConfigIds");
|
|
1936
1936
|
let limit = "limit" in queryParams.data ? queryParams.data.limit : void 0;
|
|
@@ -5580,7 +5580,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
5580
5580
|
|
|
5581
5581
|
//#endregion
|
|
5582
5582
|
//#region package.json
|
|
5583
|
-
var version = "0.6.
|
|
5583
|
+
var version = "0.6.3";
|
|
5584
5584
|
|
|
5585
5585
|
//#endregion
|
|
5586
5586
|
//#region src/utils/session.ts
|