@rudra-js/anthropic 0.8.1 → 0.8.2

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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -18,9 +18,17 @@ This adapter is documented at [rudrajs.com](https://rudrajs.com/docs#createAnthr
18
18
  ## Install
19
19
 
20
20
  ```sh
21
- npm install @rudra-js/anthropic @rudra-js/core @rudra-js/attested
21
+ npm install @rudra-js/anthropic@latest @rudra-js/core@latest @rudra-js/attested@latest
22
22
  ```
23
23
 
24
+ Run the same command in a new app, in one that already uses rudra-js, and to
25
+ upgrade. If your app has `@rudra-js/react`, add it to the command with `@latest`
26
+ too. If it has `@rudra-js/a2ui`, use the install line in that package's README
27
+ instead, since it also names the two A2UI packages. The `@rudra-js` packages are
28
+ published together, and each one's peer ranges on the others start at its own
29
+ version. For a bare name npm stays inside the range your `package.json` already
30
+ has, so without `@latest` an app on an older core can get an `ERESOLVE`.
31
+
24
32
  ```ts
25
33
  import { createAnthropicProvider } from '@rudra-js/anthropic';
26
34
  import { createComponentGenerator } from '@rudra-js/core';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudra-js/anthropic",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Anthropic adapter for rudra-js (@rudra-js/core), with no vendor SDK",
5
5
  "keywords": [
6
6
  "rudra-js",
@@ -52,10 +52,10 @@
52
52
  "zod": "^4.6.7"
53
53
  },
54
54
  "peerDependencies": {
55
- "@rudra-js/core": "^0.8.1"
55
+ "@rudra-js/core": "^0.8.2"
56
56
  },
57
57
  "devDependencies": {
58
- "@rudra-js/core": "0.8.1",
58
+ "@rudra-js/core": "0.8.2",
59
59
  "@types/node": "^26.4.1"
60
60
  }
61
61
  }