@ai-sdk/xai 3.0.41 → 3.0.43

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,22 @@
1
1
  # @ai-sdk/xai
2
2
 
3
+ ## 3.0.43
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [2810850]
8
+ - @ai-sdk/provider-utils@4.0.11
9
+ - @ai-sdk/provider@3.0.6
10
+ - @ai-sdk/openai-compatible@2.0.24
11
+
12
+ ## 3.0.42
13
+
14
+ ### Patch Changes
15
+
16
+ - 1524271: chore: add skill information to README files
17
+ - Updated dependencies [1524271]
18
+ - @ai-sdk/openai-compatible@2.0.23
19
+
3
20
  ## 3.0.41
4
21
 
5
22
  ### Patch Changes
package/README.md CHANGED
@@ -11,6 +11,14 @@ The xAI Grok provider is available in the `@ai-sdk/xai` module. You can install
11
11
  npm i @ai-sdk/xai
12
12
  ```
13
13
 
14
+ ## Skill for Coding Agents
15
+
16
+ If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:
17
+
18
+ ```shell
19
+ npx skills add vercel/ai
20
+ ```
21
+
14
22
  ## Provider Instance
15
23
 
16
24
  You can import the default provider instance `xai` from `@ai-sdk/xai`:
package/dist/index.js CHANGED
@@ -2457,7 +2457,7 @@ var xaiTools = {
2457
2457
  };
2458
2458
 
2459
2459
  // src/version.ts
2460
- var VERSION = true ? "3.0.41" : "0.0.0-test";
2460
+ var VERSION = true ? "3.0.43" : "0.0.0-test";
2461
2461
 
2462
2462
  // src/xai-provider.ts
2463
2463
  var xaiErrorStructure = {
package/dist/index.mjs CHANGED
@@ -2471,7 +2471,7 @@ var xaiTools = {
2471
2471
  };
2472
2472
 
2473
2473
  // src/version.ts
2474
- var VERSION = true ? "3.0.41" : "0.0.0-test";
2474
+ var VERSION = true ? "3.0.43" : "0.0.0-test";
2475
2475
 
2476
2476
  // src/xai-provider.ts
2477
2477
  var xaiErrorStructure = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/xai",
3
- "version": "3.0.41",
3
+ "version": "3.0.43",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -29,9 +29,9 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@ai-sdk/openai-compatible": "2.0.22",
33
- "@ai-sdk/provider": "3.0.5",
34
- "@ai-sdk/provider-utils": "4.0.10"
32
+ "@ai-sdk/openai-compatible": "2.0.24",
33
+ "@ai-sdk/provider": "3.0.6",
34
+ "@ai-sdk/provider-utils": "4.0.11"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "20.17.24",