@fairyhunter13/ai-anthropic 3.0.76-fork.3 → 3.0.76-fork.4
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/CHANGELOG.md +15 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/internal/index.js +4 -4
- package/dist/internal/index.js.map +1 -1
- package/package.json +3 -3
- package/src/tool/bash_20241022.ts +2 -2
- package/src/tool/bash_20250124.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @ai-sdk/anthropic
|
|
2
2
|
|
|
3
|
+
## 4.0.0-canary.50
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d848405: feat: add optional `abortSignal` parameters to sandbox command execution
|
|
8
|
+
- Updated dependencies [d848405]
|
|
9
|
+
- @ai-sdk/provider-utils@5.0.0-canary.37
|
|
10
|
+
|
|
11
|
+
## 4.0.0-canary.49
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [ca39020]
|
|
16
|
+
- @ai-sdk/provider-utils@5.0.0-canary.36
|
|
17
|
+
|
|
3
18
|
## 4.0.0-canary.48
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -5285,11 +5285,11 @@ function bash_20241022(options = {}) {
|
|
|
5285
5285
|
if (execute === void 0) {
|
|
5286
5286
|
return bash_20241022_internal({
|
|
5287
5287
|
...rest,
|
|
5288
|
-
execute: async ({ command }, { sandbox }) => {
|
|
5288
|
+
execute: async ({ command }, { abortSignal, sandbox }) => {
|
|
5289
5289
|
if (!sandbox) {
|
|
5290
5290
|
throw new Error("Sandbox is not available");
|
|
5291
5291
|
}
|
|
5292
|
-
return await sandbox.executeCommand({ command });
|
|
5292
|
+
return await sandbox.executeCommand({ command, abortSignal });
|
|
5293
5293
|
}
|
|
5294
5294
|
});
|
|
5295
5295
|
}
|
|
@@ -5323,11 +5323,11 @@ function bash_20250124(options = {}) {
|
|
|
5323
5323
|
if (execute === void 0) {
|
|
5324
5324
|
return bash_20250124_internal({
|
|
5325
5325
|
...rest,
|
|
5326
|
-
execute: async ({ command }, { sandbox }) => {
|
|
5326
|
+
execute: async ({ command }, { abortSignal, sandbox }) => {
|
|
5327
5327
|
if (!sandbox) {
|
|
5328
5328
|
throw new Error("Sandbox is not available");
|
|
5329
5329
|
}
|
|
5330
|
-
return await sandbox.executeCommand({ command });
|
|
5330
|
+
return await sandbox.executeCommand({ command, abortSignal });
|
|
5331
5331
|
}
|
|
5332
5332
|
});
|
|
5333
5333
|
}
|
|
@@ -5977,7 +5977,7 @@ var AnthropicSkills = class {
|
|
|
5977
5977
|
};
|
|
5978
5978
|
|
|
5979
5979
|
// src/version.ts
|
|
5980
|
-
var VERSION = true ? "4.0.0-canary.
|
|
5980
|
+
var VERSION = true ? "4.0.0-canary.50" : "0.0.0-test";
|
|
5981
5981
|
|
|
5982
5982
|
// src/anthropic-provider.ts
|
|
5983
5983
|
function createAnthropic(options = {}) {
|