@ai-sdk/provider-utils 5.0.0-canary.35 → 5.0.0-canary.36

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/provider-utils
2
2
 
3
+ ## 5.0.0-canary.36
4
+
5
+ ### Patch Changes
6
+
7
+ - ca39020: Add an optional `workingDirectory` parameter to sandbox command execution.
8
+
3
9
  ## 5.0.0-canary.35
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1300,6 +1300,10 @@ type Sandbox = {
1300
1300
  * Command to execute in the sandbox.
1301
1301
  */
1302
1302
  command: string;
1303
+ /**
1304
+ * Working directory to execute the command in.
1305
+ */
1306
+ workingDirectory?: string;
1303
1307
  }) => PromiseLike<{
1304
1308
  /**
1305
1309
  * Exit code returned by the command.
package/dist/index.js CHANGED
@@ -862,7 +862,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
862
862
  }
863
863
 
864
864
  // src/version.ts
865
- var VERSION = true ? "5.0.0-canary.35" : "0.0.0-test";
865
+ var VERSION = true ? "5.0.0-canary.36" : "0.0.0-test";
866
866
 
867
867
  // src/get-from-api.ts
868
868
  var getOriginalFetch = () => globalThis.fetch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider-utils",
3
- "version": "5.0.0-canary.35",
3
+ "version": "5.0.0-canary.36",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -17,6 +17,11 @@ export type Sandbox = {
17
17
  * Command to execute in the sandbox.
18
18
  */
19
19
  command: string;
20
+
21
+ /**
22
+ * Working directory to execute the command in.
23
+ */
24
+ workingDirectory?: string;
20
25
  }) => PromiseLike<{
21
26
  /**
22
27
  * Exit code returned by the command.