@ai-sdk/provider-utils 5.0.0-canary.35 → 5.0.0-canary.37
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 +12 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/types/sandbox.ts +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ai-sdk/provider-utils
|
|
2
2
|
|
|
3
|
+
## 5.0.0-canary.37
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d848405: feat: add optional `abortSignal` parameters to sandbox command execution
|
|
8
|
+
|
|
9
|
+
## 5.0.0-canary.36
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- ca39020: Add an optional `workingDirectory` parameter to sandbox command execution.
|
|
14
|
+
|
|
3
15
|
## 5.0.0-canary.35
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1300,6 +1300,14 @@ 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;
|
|
1307
|
+
/**
|
|
1308
|
+
* Signal that can be used to abort the command.
|
|
1309
|
+
*/
|
|
1310
|
+
abortSignal?: AbortSignal;
|
|
1303
1311
|
}) => PromiseLike<{
|
|
1304
1312
|
/**
|
|
1305
1313
|
* 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.
|
|
865
|
+
var VERSION = true ? "5.0.0-canary.37" : "0.0.0-test";
|
|
866
866
|
|
|
867
867
|
// src/get-from-api.ts
|
|
868
868
|
var getOriginalFetch = () => globalThis.fetch;
|
package/package.json
CHANGED
package/src/types/sandbox.ts
CHANGED
|
@@ -17,6 +17,16 @@ 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;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Signal that can be used to abort the command.
|
|
28
|
+
*/
|
|
29
|
+
abortSignal?: AbortSignal;
|
|
20
30
|
}) => PromiseLike<{
|
|
21
31
|
/**
|
|
22
32
|
* Exit code returned by the command.
|