OpenCode v1.1.54: Terminal Fixes & Desktop Polish

Terminal replay and workspace reset fixes, plus desktop app improvements with default maximization, new keybinds, and better model handling across providers.

OpenCode v1.1.54: Terminal Fixes & Desktop Polish

TL;DR

  • Fixed terminal replay and workspace reset issues in the app
  • Desktop app now maximizes by default with improved menu bar and keyboard shortcuts
  • Better model selection handling and reasoning model support across providers

New

  • Claude Code-style --fork flag — Duplicate sessions before continuing, matching Claude Code's workflow
  • Cmd+[/] keybinds — Navigate session history directly from keyboard
  • Drag-and-drop @mentions — Drop files into chat to mention them without typing
  • Native clipboard image paste — Paste images directly from clipboard in desktop app
  • Wayland support on Linux — Native toggle for Wayland display server
  • Sublime Text editor support — macOS now shows only installed editors including Sublime
  • Skill discovery from URLs — Load skills via well-known RFC endpoints
  • Models.dev schema autocomplete — Get model suggestions in opencode.json config
  • Reasoning summary for GPT-5 — Auto-enable reasoning summaries for non-chat GPT-5 models
  • Trinity model system prompt — Dedicated prompt configuration for Trinity model

Fixed

  • Terminal replay — Fixed terminal replay failures in application
  • Workspace reset — Resolved issues when resetting workspaces in the app
  • Homebrew upgrade loop — No longer requires multiple runs to upgrade via Homebrew
  • Invalid model selection — Now publishes session.error event when model selection fails
  • ACP file creation — Creates files automatically if they don't exist when writing via ACP
  • Agent variant logic — Checks if variant is available for model instead of requiring exact match
  • OpenAI response errors — Parses mid-stream errors to prevent infinite retries on unrecoverable failures
  • File URL encoding — Properly encodes file URLs with special characters and Windows paths
  • Orphaned worktrees — Cleans up orphaned worktree directories automatically
  • GitHub response parsing — Handles step-start and step-finish parts in GitHub response text extraction
  • Amazon Bedrock prefix — Corrects prefix selection for amazon-bedrock provider in getSmallModel
  • Dollar sign in config — Handles $ character with {file:} pattern in configuration
  • Desktop window state — Fixed memory leaks in event fetch and instance disposal after reset
  • Session navigation — Uses absolute paths for sidebar session navigation
  • Touch device sessions — Can now create sessions on touch devices
  • Terminal keybind focus — Respects terminal toggle keybind when terminal is focused
  • Stale context in prompts — Fixed stale context in prompt input
  • Safari prompt annoyances — Disabled 3 Safari-specific prompt-input issues
  • Queued messages in TUI — Uses sender color for queued messages in terminal UI

Breaking Changes

  • Web input focus shortcut reverted — The web input focus shortcut feature was added then reverted in this release

To upgrade: brew upgrade opencode or visit the release page.

Source: OpenCode