Release

OpenCode in early November: worktree shortcuts, a percentage compaction buffer, and large-message MCP fixes

This week's digest covers v2.2.5: worktree and shell mode shortcuts, a percentage compaction buffer, quote popup sending, and MCP large-message fixes.

This digest closes out one tagged OpenCode release: v2.2.5 (October 30), the first weekly digest after the v2.2.2–v2.2.4 write-up. Everything below is from that release: worktree and shell mode shortcuts in Desktop, sending quotes from the comment popup, a percentage compaction buffer, and MCP fixes for large stdio messages.

Worktree and shell mode shortcuts in Desktop

Press ⌘⌥O on macOS or Ctrl+Alt+O on Windows and Linux to choose a worktree, and ⌘⌥B or Ctrl+Alt+B to choose its base branch. ⌘⇧X or Ctrl+Shift+X now toggles shell mode in the composer. The shortcuts are shown in tooltips, and the worktree path can be selected to copy the full directory (improvements).

Send quotes from the comment popup

Hold ⌘ or Ctrl in the quote popup to turn its checkmark into send, or press ⌘Enter or Ctrl+Enter, to send just that quote and comment while leaving the rest of the composer untouched (improvement). Desktop also adds flat input surfaces and a compact input size (improvement).

A 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 models with small and large windows. Token counts still work (improvement).

MCP and compaction fixes

Also worth knowing

For the per-tag detail, the release feed remains the authoritative source.

ソース: https://github.com/anomalyco/opencode/releases

次に読む