Use Claude Max/Pro in opencode — SDK + OpenAI-compatible proxy
Stars
1
Forks
0
Watchers
1
Open Issues
0
Overall repository health assessment
latest^0.27.4^5.46.1^5.8.054
commits
Fix context window: 1M for Opus/Sonnet on Max subscription (was 200K)
e9286a5View on GitHubFix token usage display: total includes cache, providerMetadata for opencode cache tracking
8eaa2b0View on GitHubStructured JSONL stats log + utilization metrics (5h/7d) for quota analysis
8d2141aView on GitHubKeepalive interval 270s (4.5min) — 30s margin before 5min TTL
f092201View on GitHubIncrease keepalive interval to 240s (4min) — saves 25% requests, still 60s margin before 5min TTL
d67388cView on GitHubRemove src/sdk.ts from tracking (should be in .gitignore)
f532d8cView on GitHubDump all rate limit headers to ~/.claude/claude-max-headers.log for discovery
c371584View on GitHubLog rate limit quota/claim on every API call, not just keepalive
8b10a2cView on GitHubAdd session slug + PID to all stats log entries for multi-instance tracking
3fc2a13View on GitHubAdd PID + session ID to logs for multi-instance correlation
fd66254View on GitHubLog rate limit quota/claim in keepalive stats to track subscription impact
03b281eView on GitHubKeepalive never times out on Max/Pro subscription (cache reads free against quota)
59bccc4View on GitHubBump SDK to 0.2.0: keepalive, 4-breakpoint cache, per-model registry
50abe4fView on GitHubRebuild SDK dist: per-model keepalive registry + 4-breakpoint cache strategy
f5fd5e1View on GitHub