@rulvar/anthropic 1.119.0 → 1.121.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/dist/index.js +9 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -8,6 +8,13 @@ const ALL_EFFORTS = [
|
|
|
8
8
|
"xhigh",
|
|
9
9
|
"max"
|
|
10
10
|
];
|
|
11
|
+
/**
|
|
12
|
+
* The date every seed row was last verified against the documented
|
|
13
|
+
* pricing table (RV814): one constant because the whole table mirrors
|
|
14
|
+
* one page snapshot. A later re-verification bumps it table-wide; a
|
|
15
|
+
* rate CHANGE is a new release with a new pricingVersion.
|
|
16
|
+
*/
|
|
17
|
+
const RATES_VERIFIED_AT = "2026-07-30";
|
|
11
18
|
function current(contextWindow, maxOutputTokens, pricing, cacheMinTokens) {
|
|
12
19
|
return {
|
|
13
20
|
caps: {
|
|
@@ -21,7 +28,8 @@ function current(contextWindow, maxOutputTokens, pricing, cacheMinTokens) {
|
|
|
21
28
|
inputUsdPerMTok: pricing.in,
|
|
22
29
|
outputUsdPerMTok: pricing.out,
|
|
23
30
|
cacheReadUsdPerMTok: pricing.cacheRead,
|
|
24
|
-
cacheWriteUsdPerMTok: pricing.cacheWrite
|
|
31
|
+
cacheWriteUsdPerMTok: pricing.cacheWrite,
|
|
32
|
+
ratesVerifiedAt: RATES_VERIFIED_AT
|
|
25
33
|
} }
|
|
26
34
|
},
|
|
27
35
|
thinkingForm: "adaptive",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulvar/anthropic",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.121.0",
|
|
4
4
|
"description": "Rulvar first-class provider adapter over @anthropic-ai/sdk.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@anthropic-ai/sdk": "^0.115.0",
|
|
26
|
-
"@rulvar/core": "1.
|
|
26
|
+
"@rulvar/core": "1.121.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^22.20.1",
|
|
30
30
|
"tsdown": "^0.22.14",
|
|
31
31
|
"typescript": "~6.0.3",
|
|
32
|
-
"@rulvar/testing": "1.
|
|
32
|
+
"@rulvar/testing": "1.121.0"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|