@rulvar/anthropic 1.3.1 → 1.4.0
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/README.md +30 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @rulvar/anthropic
|
|
2
|
+
|
|
3
|
+
First-class Anthropic provider adapter over the official
|
|
4
|
+
`@anthropic-ai/sdk`: thinking-block replay with signatures, cache hint
|
|
5
|
+
compilation, `pause_turn` continuation, typed refusal outcomes, and
|
|
6
|
+
usage normalization. Exports the `anthropic` adapter factory; models are
|
|
7
|
+
addressed as `'anthropic:<model>'` in routing.
|
|
8
|
+
|
|
9
|
+
Part of [rulvar](https://rulvar.com), an embeddable TypeScript engine
|
|
10
|
+
for durable, budget-bounded multi-agent LLM workflows, where a completed
|
|
11
|
+
LLM call is never paid for twice. Full documentation:
|
|
12
|
+
[docs.rulvar.com](https://docs.rulvar.com).
|
|
13
|
+
|
|
14
|
+
## Install
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
pnpm add @rulvar/core @rulvar/anthropic
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
The umbrella package `@rulvar/rulvar` already bundles this adapter.
|
|
21
|
+
|
|
22
|
+
## Documentation
|
|
23
|
+
|
|
24
|
+
- [Providers](https://docs.rulvar.com/guide/providers)
|
|
25
|
+
- [Model routing](https://docs.rulvar.com/guide/model-routing)
|
|
26
|
+
- [API reference](https://docs.rulvar.com/api/%40rulvar/anthropic/)
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
[Apache-2.0](https://github.com/o-stepper/rulvar/blob/main/LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulvar/anthropic",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "rulvar first-class provider adapter over @anthropic-ai/sdk.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@anthropic-ai/sdk": "^0.110.0",
|
|
26
|
-
"@rulvar/core": "1.
|
|
26
|
+
"@rulvar/core": "1.4.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^22.20.0",
|