@x-otto/plugin-anthropic 0.1.0-alpha.0 → 0.1.0-alpha.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.
- package/README.md +1 -1
- package/otto-plugin.json +5 -5
- package/package.json +2 -4
- package/plugin-dist/meta.json +1 -1
- package/plugin-dist/plugin.cjs +20 -52236
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> OAuth-based Anthropic Claude provider plugin.
|
|
4
4
|
|
|
5
|
-
Provides access to Anthropic Claude models (Opus, Sonnet, Haiku) via OAuth-based Claude Pro/Max subscription authentication. Previously built-in, now a first-party plugin
|
|
5
|
+
Provides access to Anthropic Claude models (Opus, Sonnet, Haiku) via OAuth-based Claude Pro/Max subscription authentication. Previously built-in, now a first-party plugin.
|
|
6
6
|
|
|
7
7
|
## How it works
|
|
8
8
|
|
package/otto-plugin.json
CHANGED
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"baseUrl": "https://api.anthropic.com",
|
|
13
13
|
"imageConstraints": { "maxImagesPerRequest": 20, "maxDimensionPxIfOverLimit": 2000 },
|
|
14
14
|
"models": [
|
|
15
|
-
{ "id": "anthropic/claude-opus-4-8", "contextWindow": 1000000, "maxOutput": 128000, "cost": { "input": 5, "output": 25, "cacheRead": 0.5, "cacheWrite": 6.25 }, "strengths": ["planning", "reasoning", "knowledge", "coding"], "reasoning": true, "thinkingLevels": ["low", "medium", "high", "xhigh", "max"] },
|
|
16
|
-
{ "id": "anthropic/claude-opus-4-7", "contextWindow": 1000000, "maxOutput": 128000, "cost": { "input": 5, "output": 25, "cacheRead": 0.5, "cacheWrite": 6.25 }, "strengths": ["planning", "reasoning", "knowledge", "coding"], "reasoning": true, "thinkingLevels": ["low", "medium", "high", "xhigh", "max"] },
|
|
17
|
-
{ "id": "anthropic/claude-opus-4-6", "contextWindow": 1000000, "maxOutput": 32000, "cost": { "input": 15, "output": 75, "cacheRead": 1.5, "cacheWrite": 18.75 }, "strengths": ["planning", "reasoning", "knowledge", "coding"], "reasoning": true, "thinkingLevels": ["low", "medium", "high", "max"] },
|
|
18
|
-
{ "id": "anthropic/claude-sonnet-4-6", "contextWindow": 1000000, "maxOutput": 64000, "cost": { "input": 3, "output": 15, "cacheRead": 0.3, "cacheWrite": 3.75 }, "strengths": ["coding", "reasoning", "knowledge"], "reasoning": true, "thinkingLevels": ["low", "medium", "high", "max"] },
|
|
19
|
-
{ "id": "anthropic/claude-haiku-4-5", "contextWindow": 200000, "maxOutput": 16000, "cost": { "input": 0.8, "output": 4, "cacheRead": 0.08, "cacheWrite": 1 }, "strengths": ["speed", "coding"] }
|
|
15
|
+
{ "id": "anthropic/claude-opus-4-8", "contextWindow": 1000000, "maxOutput": 128000, "cost": { "input": 5, "output": 25, "cacheRead": 0.5, "cacheWrite": 6.25 }, "strengths": ["planning", "reasoning", "knowledge", "coding"], "input": ["text", "image"], "reasoning": true, "thinkingLevels": ["low", "medium", "high", "xhigh", "max"] },
|
|
16
|
+
{ "id": "anthropic/claude-opus-4-7", "contextWindow": 1000000, "maxOutput": 128000, "cost": { "input": 5, "output": 25, "cacheRead": 0.5, "cacheWrite": 6.25 }, "strengths": ["planning", "reasoning", "knowledge", "coding"], "input": ["text", "image"], "reasoning": true, "thinkingLevels": ["low", "medium", "high", "xhigh", "max"] },
|
|
17
|
+
{ "id": "anthropic/claude-opus-4-6", "contextWindow": 1000000, "maxOutput": 32000, "cost": { "input": 15, "output": 75, "cacheRead": 1.5, "cacheWrite": 18.75 }, "strengths": ["planning", "reasoning", "knowledge", "coding"], "input": ["text", "image"], "reasoning": true, "thinkingLevels": ["low", "medium", "high", "max"] },
|
|
18
|
+
{ "id": "anthropic/claude-sonnet-4-6", "contextWindow": 1000000, "maxOutput": 64000, "cost": { "input": 3, "output": 15, "cacheRead": 0.3, "cacheWrite": 3.75 }, "strengths": ["coding", "reasoning", "knowledge"], "input": ["text", "image"], "reasoning": true, "thinkingLevels": ["low", "medium", "high", "max"] },
|
|
19
|
+
{ "id": "anthropic/claude-haiku-4-5", "contextWindow": 200000, "maxOutput": 16000, "cost": { "input": 0.8, "output": 4, "cacheRead": 0.08, "cacheWrite": 1 }, "strengths": ["speed", "coding"], "input": ["text", "image"] }
|
|
20
20
|
]
|
|
21
21
|
}
|
|
22
22
|
},
|
package/package.json
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x-otto/plugin-anthropic",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@x-otto/provider": "0.1.0-alpha.1"
|
|
7
|
-
},
|
|
8
|
-
"devDependencies": {
|
|
6
|
+
"@x-otto/provider": "0.1.0-alpha.1",
|
|
9
7
|
"@x-otto/plugin": "0.1.0-alpha.1"
|
|
10
8
|
},
|
|
11
9
|
"type": "module",
|
package/plugin-dist/meta.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"apiVersion":1,"compilerVersion":"0.1.0-alpha.
|
|
1
|
+
{"apiVersion":1,"compilerVersion":"0.1.0-alpha.3","sourceHash":"dce0c399c7a65e9e0fb36cb431d101f87ade6c6211aa1fc6bb958f3dff1ee0cf"}
|