@ai-sdk/provider-utils 5.0.0-canary.34 → 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,17 @@
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
+
9
+ ## 5.0.0-canary.35
10
+
11
+ ### Patch Changes
12
+
13
+ - f634bac: feat(mcp): add new McpProviderMetadata type
14
+
3
15
  ## 5.0.0-canary.34
4
16
 
5
17
  ### 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.
@@ -1417,6 +1421,8 @@ type ToolOutputProperties<INPUT, OUTPUT, CONTEXT extends Context | unknown | nev
1417
1421
  type BaseTool<INPUT extends JSONValue | unknown | never = any, OUTPUT extends JSONValue | unknown | never = any, CONTEXT extends Context | unknown | never = any> = {
1418
1422
  /**
1419
1423
  * An optional title of the tool.
1424
+ *
1425
+ * @deprecated Use `providerMetadata` for source-specific tool display metadata.
1420
1426
  */
1421
1427
  title?: string;
1422
1428
  /**
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.34" : "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;