opencode-stable
v1.14.41
Published
OpenCode CLI - stable fork with GLM-5.1 compat, token savings, and UX improvements
Maintainers
Readme
opencode-stable
⚠️ Stable Fork — This is a community-maintained stable fork of opencode, based on v1.14.41. Not affiliated with the upstream project.
Install
npm i -g opencode-stableChanges from Upstream (v1.14.41)
Bug Fixes (5)
| Fix | Description |
|-----|-------------|
| GLM-5.1 compatibility | Fixed finish_reason field mapping for ZhipuAI models |
| Infinite compaction loop | Fixed edge case causing infinite loop during context compression |
| prefers-color-scheme | Fixed CSS media query typo from upstream |
| Tool call parsing | Fixed edge case in tool call result parsing |
| Stream timeout | Fixed timeout handling for slow streaming responses |
Optimizations (3)
| Optimization | Savings | |-------------|---------| | Token-efficient system prompt | ~2,200 tokens/request | | Compact tool descriptions | ~800 tokens/request | | Optimized context formatting | ~300 tokens/request |
Total: ~3,300 tokens saved per request
New Features (2)
| Feature | Description | |---------|-------------| | pluginAutoInstall | Auto-install missing plugins without prompting | | Enhanced token stats | Show per-request token usage breakdown |
License
MIT — same as upstream opencode.
