opencode-claude-max-proxy 1.7.3 → 1.8.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.
Files changed (2) hide show
  1. package/README.md +30 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -59,9 +59,17 @@ No monkey-patching. No forked SDKs. No fragile stream rewriting. Just a hook and
59
59
 
60
60
  1. **Claude Max subscription** — [Subscribe here](https://claude.ai/settings/subscription)
61
61
  2. **Claude CLI** authenticated: `npm install -g @anthropic-ai/claude-code && claude login`
62
- 3. **Bun** runtime: `curl -fsSL https://bun.sh/install | bash`
63
62
 
64
- ### Install & Run
63
+ ### Option A: npm Install
64
+
65
+ ```bash
66
+ npm install -g opencode-claude-max-proxy
67
+
68
+ # Start in passthrough mode (recommended)
69
+ CLAUDE_PROXY_PASSTHROUGH=1 claude-max-proxy
70
+ ```
71
+
72
+ ### Option B: From Source
65
73
 
66
74
  ```bash
67
75
  git clone https://github.com/rynfar/opencode-claude-max-proxy
@@ -72,6 +80,26 @@ bun install
72
80
  CLAUDE_PROXY_PASSTHROUGH=1 bun run proxy
73
81
  ```
74
82
 
83
+ > **Note:** Running from source requires [Bun](https://bun.sh): `curl -fsSL https://bun.sh/install | bash`
84
+
85
+ ### Option C: Docker
86
+
87
+ ```bash
88
+ git clone https://github.com/rynfar/opencode-claude-max-proxy
89
+ cd opencode-claude-max-proxy
90
+
91
+ # Start the container
92
+ docker compose up -d
93
+
94
+ # Login to Claude inside the container (one-time)
95
+ docker compose exec proxy claude login
96
+
97
+ # Verify
98
+ curl http://127.0.0.1:3456/health
99
+ ```
100
+
101
+ > **Note:** On macOS, `claude login` must be run inside the container (keychain credentials can't be mounted). On Linux, volume-mounting `~/.claude` may work without re-login.
102
+
75
103
  ### Connect OpenCode
76
104
 
77
105
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-claude-max-proxy",
3
- "version": "1.7.3",
3
+ "version": "1.8.0",
4
4
  "description": "Use your Claude Max subscription with OpenCode via proxy server",
5
5
  "type": "module",
6
6
  "main": "./src/proxy/server.ts",