Change8

v1.17.12

OpenCode
9 features21 fixes12 improvementscoredesktopmcpproviderstui

Summary

This release focuses heavily on stability and integration improvements, particularly around MCP authentication, session management, and the SDK runtime. Key updates include better error reporting for MCP OAuth, restored functionality for SDK session operations like event streaming, and numerous desktop fixes ensuring session state and UI elements persist correctly across restarts and focus changes.

New Features

  • Added a yolo mode in TUI to auto-approve permissions.
  • Enabled autocomplete for MCP resources in the desktop composer.
  • Added workspace controls when starting a new session in the desktop application.
  • Enabled display of stored token and cost totals in the desktop session context.
  • Added a live event subscription stream in the SDK.
  • Added SDK access to active sessions.
  • Restored session runtime operations in the SDK, including event streaming, interrupts, and message lookup.
  • Added paged durable session history in the SDK.
  • Added session permission request create and fetch endpoints in the SDK.

Bug Fixes

  • Enabled adaptive thinking for Claude Sonnet 5.
  • Prefer MCP content responses over structured output when both are present.
  • Fixed MCP servers reconnecting after OAuth even if the server was disabled.
  • Fixed issue where MCP OAuth completion errors showed as a generic failure instead of the specific error.
  • Fixed issues related to refreshing cached remote skills and preserving skill resource paths.
  • Improved default small model selection across providers.
  • Scoped MCP authentication status to each server URL.
  • Fixed autocomplete for configured references in prompts on desktop.
  • Restored the prompt cursor when the desktop composer regains focus.
  • Fixed desktop application to remember the last active URL across restarts.
  • Preserved the selected model when promoting a session on desktop.
  • Fixed desktop sessions to keep pages in sync during concurrent events.
  • Fixed desktop application to support normal authentication input prompts in the connect-provider dialog.
  • Prevented hidden terminal tabs from hanging or resizing incorrectly.
  • Re-enabled auto-accept in desktop session settings.
  • Fixed desktop session tabs to remain scoped to the correct server.
  • Fixed desktop application to remember the selected home project and server.
  • Fixed preservation of `V2Event` names in SSE streams within the SDK.
  • Fixed embedded session execution to wake up after new prompts in the SDK.
  • Improved V2 runtime tool results and avoided duplicate model switch events in the SDK.
  • Resolved MIME types for prompt attachments sent by URI in the SDK.

Improvements

  • Passed ServerAuth headers through external served TUI connections.
  • Added visual updates to the design system, home screen alignment, markdown styles, and message part UI (V2).
  • Added a new debug bar and sticky session list header in the application UI.
  • Improved reactivity of the projects sidebar.
  • Aligned the slash popover to V2 tokens.
  • Added hover background to session titles and enabled single-click editing in the desktop application.
  • Hid separators around active tabs in the application UI.
  • Polished inline session title editing, tooltips, and session search in the desktop application.
  • Made the error view draggable in the desktop application.
  • Fixed slow tooltip display for models in the application.
  • Disabled the 'add project' option when the given server is offline.
  • Disabled the empty server chevron.

Related Documentation

OpenCode Documentation

OpenCode v1.17.12 - What's New - Change8