@cortexkit/pi-anthropic-auth 1.3.0 → 1.4.1
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 +1 -1
- package/dist/index.js +9 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ The sidecar uses the same JSON shape as the OpenCode package, including `routing
|
|
|
71
71
|
/claude-quota
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
`/claude-quota` reports sidecar fallback account quota state from `~/.pi/agent/anthropic-auth.json`. `/claude-routing fallback-first` prefers usable fallback accounts before the main account; `/claude-routing main-first` restores the default. `/claude-cachekeep HH-HH` keeps recently used hybrid-mode session caches warm during the configured local time window by sending `max_tokens: 0` pre-warm requests about five minutes before the 1-hour TTL expires. `/claude-fast on` adds Anthropic `speed: "fast"` plus the `fast-mode-2026-02-01` beta header for supported Opus models (`claude-opus-4-6` and `claude-opus-4-
|
|
74
|
+
`/claude-quota` reports sidecar fallback account quota state from `~/.pi/agent/anthropic-auth.json`. `/claude-routing fallback-first` prefers usable fallback accounts before the main account; `/claude-routing main-first` restores the default. `/claude-cachekeep HH-HH` keeps recently used hybrid-mode session caches warm during the configured local time window by sending `max_tokens: 0` pre-warm requests about five minutes before the 1-hour TTL expires. `/claude-fast on` adds Anthropic `speed: "fast"` plus the `fast-mode-2026-02-01` beta header for supported Opus models (`claude-opus-4-6`, `claude-opus-4-7`, and `claude-opus-4-8`).
|
|
75
75
|
|
|
76
76
|
## Relay
|
|
77
77
|
|
package/dist/index.js
CHANGED
|
@@ -34,6 +34,15 @@ export default function cortexKitPiAnthropicAuth(pi) {
|
|
|
34
34
|
baseUrl: 'https://api.anthropic.com',
|
|
35
35
|
api: 'cortexkit-anthropic-messages',
|
|
36
36
|
models: [
|
|
37
|
+
{
|
|
38
|
+
id: 'claude-opus-4-8',
|
|
39
|
+
name: 'Claude Opus 4.8',
|
|
40
|
+
reasoning: true,
|
|
41
|
+
input: ['text', 'image'],
|
|
42
|
+
cost: { input: 5, output: 25, cacheRead: 0.5, cacheWrite: 6.25 },
|
|
43
|
+
contextWindow: 1_000_000,
|
|
44
|
+
maxTokens: 128_000,
|
|
45
|
+
},
|
|
37
46
|
{
|
|
38
47
|
id: 'claude-opus-4-5',
|
|
39
48
|
name: 'Claude Opus 4.5',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cortexkit/pi-anthropic-auth",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"prepublishOnly": "bun run build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@cortexkit/anthropic-auth-core": "1.
|
|
38
|
+
"@cortexkit/anthropic-auth-core": "1.4.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@earendil-works/pi-ai": "*",
|