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
- MCP servers that send stdio messages larger than 10 MiB no longer get disconnected, and large messages are read much faster (bugfix).
- Idle locations no longer restart their MCP servers right after shutting down (bugfix).
- Compaction now caps its prompt at the model’s context window when the input limit is larger (bugfix), and LiteLLM context window errors now trigger compaction instead of stopping the session (bugfix).
- Reasoning is no longer turned into plain text when you switch models or resume an interrupted response, which caused request errors on some providers (bugfix).
Also worth knowing
- Calls to a tool named
bashnow run asshellinstead of failing, with the same permissions; a plugin tool actually namedbashstill takes precedence (improvement). - When
readmisses because a folder is missing, the error names that folder and the nearest one that exists; wheneditcan’t findoldString, the error shows the file’s closest lines, or says the change is already there (improvements). - The connect menu no longer lists MCP servers, which are managed in their own place (TUI and Desktop bugfix).
- The missing top inset is added to the search field in the recently closed menu (Desktop bugfix).
For the per-tag detail, the release feed remains the authoritative source.