@composio/core 0.2.4 → 0.2.5
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/LICENSE +21 -0
- package/dist/index.cjs +10 -2
- package/dist/index.js +10 -2
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Sampark Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.cjs
CHANGED
|
@@ -2774,7 +2774,15 @@ var Tools = class {
|
|
|
2774
2774
|
this.autoUploadDownloadFiles = config?.autoUploadDownloadFiles ?? true;
|
|
2775
2775
|
this.toolkitVersions = config?.toolkitVersions ?? "latest";
|
|
2776
2776
|
this.execute = this.execute.bind(this);
|
|
2777
|
-
this.provider.
|
|
2777
|
+
const providerExecuteToolFn = this.provider._isAgentic ? this.execute : (slug, body, modifiers) => this.execute(
|
|
2778
|
+
slug,
|
|
2779
|
+
{
|
|
2780
|
+
...body,
|
|
2781
|
+
dangerouslySkipVersionCheck: body.dangerouslySkipVersionCheck ?? true
|
|
2782
|
+
},
|
|
2783
|
+
modifiers
|
|
2784
|
+
);
|
|
2785
|
+
this.provider._setExecuteToolFn(providerExecuteToolFn);
|
|
2778
2786
|
this.getRawComposioToolBySlug = this.getRawComposioToolBySlug.bind(this);
|
|
2779
2787
|
this.getRawComposioTools = this.getRawComposioTools.bind(this);
|
|
2780
2788
|
telemetry.instrument(this, "Tools");
|
|
@@ -7360,7 +7368,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
7360
7368
|
};
|
|
7361
7369
|
|
|
7362
7370
|
// package.json
|
|
7363
|
-
var version = "0.2.
|
|
7371
|
+
var version = "0.2.5";
|
|
7364
7372
|
|
|
7365
7373
|
// src/models/Files.ts
|
|
7366
7374
|
var Files = class {
|
package/dist/index.js
CHANGED
|
@@ -2597,7 +2597,15 @@ var Tools = class {
|
|
|
2597
2597
|
this.autoUploadDownloadFiles = config?.autoUploadDownloadFiles ?? true;
|
|
2598
2598
|
this.toolkitVersions = config?.toolkitVersions ?? "latest";
|
|
2599
2599
|
this.execute = this.execute.bind(this);
|
|
2600
|
-
this.provider.
|
|
2600
|
+
const providerExecuteToolFn = this.provider._isAgentic ? this.execute : (slug, body, modifiers) => this.execute(
|
|
2601
|
+
slug,
|
|
2602
|
+
{
|
|
2603
|
+
...body,
|
|
2604
|
+
dangerouslySkipVersionCheck: body.dangerouslySkipVersionCheck ?? true
|
|
2605
|
+
},
|
|
2606
|
+
modifiers
|
|
2607
|
+
);
|
|
2608
|
+
this.provider._setExecuteToolFn(providerExecuteToolFn);
|
|
2601
2609
|
this.getRawComposioToolBySlug = this.getRawComposioToolBySlug.bind(this);
|
|
2602
2610
|
this.getRawComposioTools = this.getRawComposioTools.bind(this);
|
|
2603
2611
|
telemetry.instrument(this, "Tools");
|
|
@@ -7183,7 +7191,7 @@ var OpenAIProvider = class extends BaseNonAgenticProvider {
|
|
|
7183
7191
|
};
|
|
7184
7192
|
|
|
7185
7193
|
// package.json
|
|
7186
|
-
var version = "0.2.
|
|
7194
|
+
var version = "0.2.5";
|
|
7187
7195
|
|
|
7188
7196
|
// src/models/Files.ts
|
|
7189
7197
|
var Files = class {
|