@ex-machina/opencode-anthropic-auth 1.7.5 → 1.8.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 +7 -2
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# OpenCode Anthropic Auth Plugin
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> [!WARNING]
|
|
4
|
+
> This plugin comes with no guarantees. You might be banned for breaking the TOS, you might not be. I don't work at Anthropic, nor am I an attorney.
|
|
5
|
+
>
|
|
6
|
+
> Use your best judgment and don't try to abuse the subscriptions. Plugins like oh-my-openagent are _known_ to trigger bans. Please be careful when using Ralph loops or insanely heavy usage patterns.
|
|
4
7
|
|
|
5
8
|
> [!IMPORTANT]
|
|
6
9
|
> If you are seeing issues, please try to `rm -rf ~/.cache/opencode` and check your `opencode.json` config to make sure you're on the latest version.
|
|
7
10
|
>
|
|
8
11
|
> Try this FIRST before making an Issue. Thanks!
|
|
9
12
|
|
|
13
|
+
An [OpenCode](https://github.com/anomalyco/opencode) plugin that provides Anthropic OAuth authentication, enabling Claude Pro/Max users to use their subscription directly with OpenCode.
|
|
14
|
+
|
|
10
15
|
## Usage
|
|
11
16
|
|
|
12
17
|
Add the plugin to your OpenCode configuration:
|
|
@@ -26,7 +31,7 @@ Add the plugin to your OpenCode configuration:
|
|
|
26
31
|
|
|
27
32
|
```json
|
|
28
33
|
{
|
|
29
|
-
"plugin": ["@ex-machina/opencode-anthropic-auth@1.
|
|
34
|
+
"plugin": ["@ex-machina/opencode-anthropic-auth@1.8.0"]
|
|
30
35
|
}
|
|
31
36
|
```
|
|
32
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ex-machina/opencode-anthropic-auth",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ex-machina-co/opencode-anthropic-auth"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"main": "./dist/index.js",
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
10
10
|
"engines": {
|
|
11
|
-
"bun": "1.3.
|
|
11
|
+
"bun": "1.3.14"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"dist"
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"@opencode-ai/plugin": "*"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@biomejs/biome": "2.4.
|
|
35
|
-
"@changesets/changelog-github": "^0.
|
|
36
|
-
"@changesets/cli": "^2.
|
|
37
|
-
"@opencode-ai/plugin": "1.
|
|
34
|
+
"@biomejs/biome": "2.4.15",
|
|
35
|
+
"@changesets/changelog-github": "^0.7.0",
|
|
36
|
+
"@changesets/cli": "^2.31.0",
|
|
37
|
+
"@opencode-ai/plugin": "1.14.50",
|
|
38
38
|
"@tsconfig/bun": "1.0.10",
|
|
39
|
-
"@types/bun": "1.3.
|
|
39
|
+
"@types/bun": "1.3.14",
|
|
40
40
|
"dedent": "^1.7.2",
|
|
41
41
|
"lefthook": "2.1.6",
|
|
42
|
-
"typescript": "6.0.
|
|
42
|
+
"typescript": "6.0.3"
|
|
43
43
|
}
|
|
44
44
|
}
|