@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.
@@ -5195,11 +5195,11 @@ function bash_20241022(options = {}) {
5195
5195
  if (execute === void 0) {
5196
5196
  return bash_20241022_internal({
5197
5197
  ...rest,
5198
- execute: async ({ command }, { sandbox }) => {
5198
+ execute: async ({ command }, { abortSignal, sandbox }) => {
5199
5199
  if (!sandbox) {
5200
5200
  throw new Error("Sandbox is not available");
5201
5201
  }
5202
- return await sandbox.executeCommand({ command });
5202
+ return await sandbox.executeCommand({ command, abortSignal });
5203
5203
  }
5204
5204
  });
5205
5205
  }
@@ -5233,11 +5233,11 @@ function bash_20250124(options = {}) {
5233
5233
  if (execute === void 0) {
5234
5234
  return bash_20250124_internal({
5235
5235
  ...rest,
5236
- execute: async ({ command }, { sandbox }) => {
5236
+ execute: async ({ command }, { abortSignal, sandbox }) => {
5237
5237
  if (!sandbox) {
5238
5238
  throw new Error("Sandbox is not available");
5239
5239
  }
5240
- return await sandbox.executeCommand({ command });
5240
+ return await sandbox.executeCommand({ command, abortSignal });
5241
5241
  }
5242
5242
  });
5243
5243
  }