@ex-machina/opencode-anthropic-auth 1.0.1 → 1.0.3
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/LICENSE +1 -1
- package/README.md +4 -11
- package/package.json +9 -6
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
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.
|
|
4
4
|
|
|
5
|
-
<details>
|
|
6
|
-
<summary>This solves the ".opencode" -> ".Claude" issues too!</summary>
|
|
7
|
-
|
|
8
|
-

|
|
9
|
-
</details>
|
|
10
|
-
|
|
11
5
|
## Usage
|
|
12
6
|
|
|
13
7
|
Add the plugin to your OpenCode configuration:
|
|
@@ -40,15 +34,14 @@ For Claude Pro/Max authentication, the plugin:
|
|
|
40
34
|
|
|
41
35
|
### Publishing
|
|
42
36
|
|
|
43
|
-
|
|
37
|
+
This project uses [changesets](https://github.com/changesets/changesets) for versioning and publishing. See the [changeset README](.changeset/README.md) for more details.
|
|
44
38
|
|
|
45
39
|
```bash
|
|
46
|
-
bun
|
|
47
|
-
bun bump minor # minor bump (0.0.13 -> 0.1.0)
|
|
48
|
-
bun bump major # major bump (0.0.13 -> 1.0.0)
|
|
49
|
-
bun bump -- --dry-run # preview without changes
|
|
40
|
+
bun change # create a changeset describing your changes
|
|
50
41
|
```
|
|
51
42
|
|
|
43
|
+
When changesets are merged to `main`, CI will automatically open a release PR. Merging that PR publishes to npm.
|
|
44
|
+
|
|
52
45
|
## License
|
|
53
46
|
|
|
54
47
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ex-machina/opencode-anthropic-auth",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ex-machina-co/opencode-anthropic-auth"
|
|
@@ -17,14 +17,17 @@
|
|
|
17
17
|
"format": "biome format --write .",
|
|
18
18
|
"format:check": "biome format .",
|
|
19
19
|
"lint": "biome lint .",
|
|
20
|
-
"
|
|
20
|
+
"change": "changeset",
|
|
21
|
+
"release": "bun run build && bun change publish"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
23
|
-
"@biomejs/biome": "2.4.
|
|
24
|
-
"@
|
|
24
|
+
"@biomejs/biome": "2.4.10",
|
|
25
|
+
"@changesets/changelog-github": "^0.6.0",
|
|
26
|
+
"@changesets/cli": "^2.30.0",
|
|
27
|
+
"@opencode-ai/plugin": "1.3.13",
|
|
25
28
|
"@tsconfig/bun": "1.0.10",
|
|
26
|
-
"@types/bun": "1.3.
|
|
29
|
+
"@types/bun": "1.3.11",
|
|
27
30
|
"lefthook": "2.1.4",
|
|
28
|
-
"typescript": "
|
|
31
|
+
"typescript": "6.0.2"
|
|
29
32
|
}
|
|
30
33
|
}
|