@fairyhunter13/ai-anthropic 3.0.76-fork.2 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairyhunter13/ai-anthropic",
3
- "version": "3.0.76-fork.2",
3
+ "version": "3.0.76-fork.4",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -48,8 +48,8 @@
48
48
  }
49
49
  },
50
50
  "dependencies": {
51
- "@fairyhunter13/ai-provider": "3.0.10-fork.16",
52
- "@fairyhunter13/ai-provider-utils": "4.0.27-fork.2"
51
+ "@fairyhunter13/ai-provider": "3.0.10-fork.18",
52
+ "@fairyhunter13/ai-provider-utils": "4.0.27-fork.4"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@ai-sdk/test-server": "workspace:*",
@@ -79,12 +79,12 @@ export function bash_20241022<OUTPUT>(
79
79
  if (execute === undefined) {
80
80
  return bash_20241022_internal({
81
81
  ...rest,
82
- execute: async ({ command }, { sandbox }) => {
82
+ execute: async ({ command }, { abortSignal, sandbox }) => {
83
83
  if (!sandbox) {
84
84
  throw new Error('Sandbox is not available');
85
85
  }
86
86
 
87
- return await sandbox.executeCommand({ command });
87
+ return await sandbox.executeCommand({ command, abortSignal });
88
88
  },
89
89
  } as Bash20241022Options<Bash20241022DefaultOutput>) as ReturnType<
90
90
  typeof bash_20241022_internal<OUTPUT>
@@ -79,12 +79,12 @@ export function bash_20250124<OUTPUT>(
79
79
  if (execute === undefined) {
80
80
  return bash_20250124_internal({
81
81
  ...rest,
82
- execute: async ({ command }, { sandbox }) => {
82
+ execute: async ({ command }, { abortSignal, sandbox }) => {
83
83
  if (!sandbox) {
84
84
  throw new Error('Sandbox is not available');
85
85
  }
86
86
 
87
- return await sandbox.executeCommand({ command });
87
+ return await sandbox.executeCommand({ command, abortSignal });
88
88
  },
89
89
  } as Bash20250124Options<Bash20250124DefaultOutput>) as ReturnType<
90
90
  typeof bash_20250124_internal<OUTPUT>