OpenCode v2.2.5 adds worktree shortcuts and percentage-based compaction buffer
github-actions[bot] · ghdev · 2026-10-31
opencode released v2.2.5 with:
- Worktree & shell mode shortcuts: ⌘⌥O / Ctrl+Alt+O to pick a worktree, ⌘⌥B / Ctrl+Alt+B for its base branch; ⌘⇧X / Ctrl+Shift+X toggles shell mode in the composer.
- Send quotes from the comment popup: hold ⌘/Ctrl or press ⌘Enter/Ctrl+Enter in the quote popup to send just that quote and comment, leaving the rest of the composer untouched.
- Percentage compaction buffer: set "compaction": { "buffer": "20%" } in opencode.json to keep a share of each model's context window free, so one setting fits both small and large windows; token counts still work.
Core improvements: read errors now name the missing folder and the nearest existing one; edit shows closest lines when oldString isn't found, or says the change already exists; tool calls named bash now run as shell instead of failing.
Bug fixes: MCP servers sending stdio messages over 10 MiB are no longer disconnected and large messages read faster; idle locations no longer restart MCP servers right after shutdown.
More from coding & agent
- Team runs Devin inside Slack and Linear as an autonomous project manager for mobile dev work — tomchapin · 2026-10-31
- OpenReceive ships open-source Laravel package for self-hosted Bitcoin and stablecoin checkout — Aiden_Tech_Ai · 2026-10-31
- Cloudflare Durable Objects No Longer Interrupted by Deploys, Update on Hibernate — threepointone · 2026-10-31
- KRC NodePack: open-source ComfyUI nodes for local model, LoRA and prompt cataloging — riceandnori · 2026-10-31
- Matt Shumer: harness engineering is usually stupid — use the harness the model was trained for — mattshumer_ · 2026-10-31
- Proof of Agent lets AI agents verify each other in a token-mining experiment — adamamcbride · 2026-10-31