v1.17.12

anomalyco/opencodev1.17.12Jun 30, 2026by opencode-agent[bot]

AI Summary

A significant release focusing on MCP (Model Context Protocol) enhancements, SDK improvements for session management, and TUI improvements, featuring many community contributions.

Key Highlights

  • Enable adaptive thinking for Claude Sonnet 5
  • MCP OAuth stability improvements (reconnect, scope, auth status)
  • SDK additions: Live event subscription, active session access, and paged history
  • Add a yolo mode to auto-approve permissions in the TUI
  • Desktop improvements: Autocomplete MCP resources and workspace controls

New Features

  • Add a live event subscription stream
  • Add SDK access to active sessions
  • Add paged durable session history
  • Add session permission request create and fetch endpoints
  • Add a yolo mode to auto-approve permissions in the TUI

Full Release Notes

## Core
### Bugfixes
- Enable adaptive thinking for Claude Sonnet 5.
- Prefer MCP content responses over structured output when both are present.
- Reconnect MCP servers after OAuth even if the server was disabled. (@MaxAnderson95)
- Request MCP refresh-token scope during OAuth.
- Show MCP OAuth completion errors instead of a generic failure.
- Refresh cached remote skills.
- Preserve skill resource paths.
- Pick better default small models across providers.
- Scope MCP auth status to each server URL.

## TUI
### Improvements
- Add a yolo mode to auto-approve permissions.
- Pass ServerAuth headers through external served TUI connections. (@OpeOginni)

## Desktop
### Improvements
- Autocomplete MCP resources in the composer.
- Add workspace controls when starting a new session.
- Show stored token and cost totals in the session context. (@OpeOginni)

### Bugfixes
- Autocomplete configured references in prompts.
- Restore the prompt cursor when the composer regains focus.
- Remember the last active desktop URL across restarts.
- Preserve the selected model when promoting a session. (@usrnk1)
- Keep session pages in sync during concurrent events.
- Support normal auth input prompts in the desktop connect-provider dialog. (@OpeOginni)
- Prevent hidden terminal tabs from hanging or resizing incorrectly.
- Re-enable auto-accept in session settings.
- Keep session tabs scoped to the correct server.
- Remember the selected home project and server.

## SDK
### Improvements
- Add a live event subscription stream.
- Add SDK access to active sessions.
- Restore session runtime operations such as event streaming, interrupts, and message lookup.
- Add paged durable session history.
- Add session permission request create and fetch endpoints.

### Bugfixes
- Preserve `V2Event` names in SSE streams.
- Wake embedded session execution after new prompts.
- Improve V2 runtime tool results and avoid duplicate model switch events.
- Resolve MIME types for prompt attachments sent by URI.

**Thank you to 11 community contributors:**
- @usrnk1:
  - feat(app): refine session UI styling (#33860)
  - fix(desktop): preserve selected model during session promotion (#34466)
  - fix(desktop): context menu button / tab intermittent issue (#34420)
  - feat(desktop): add hover background to session title and single-click edit (#34589)
  - feat(app): hide separators around active tabs (#34591)
  - feat(desktop): polish inline session title editing (#34607)
  - feat(desktop): make error view draggable (#34627)
  - feat(desktop): polish tooltips and session search (#34632)
- @arvsrn:
  - feat(app): updates to design system (#34066)
  - feat(app): update home screen alignment + markdown styles (#34172)
  - feat(app): minor visual updates (#34205)
  - feat(app): new debug bar (#34237)
  - feat(app): sticky session list header (#34220)
  - feat(app): show loader on session hover (#34224)
  - feat(app): new timeline header (#34192)
  - feat(app): improve projects sidebar reactivity (#34391)
  - feat(app): update message part ui to v2 (#34394)
  - feat(app): align slash popover to v2 tokens (#34286)
- @ariane-emory:
  - docs(providers): document blacklist and whitelist model filtering (#33792)
- @Slickstef11:
  - docs: route enterprise contact links (#34080)
- @affanali2k3:
  - fix(app): slow tooltip display for models (#30745)
- @OpeOginni:
  - fix(desktop): recognize normal auth metadata input prompts in connect provider dialog (#33024)
  - feat(desktop): Display stored totals for Tokens and Cost in Desktop Session Context (#28887)
  - feat(tui): integrate ServerAuth headers into transport configuration for external served TUI thread (#29876)
- @BenGu3:
  - fix(tui): register `prompt.skills` keybinds (#34180)
- @neriousy:
  - fix(app): disable `add project` when given server is offline (#34294)
  - fix(app): disable empty server chevron (#34292)
- @MaxAnderson95:
  - fix(mcp): reconnect after OAuth even when server is disabled
- @StarpTech:
  - fix(console): cancel upstream provider requests (#34467)
- @runvip:
  - fix(docs): fix Russian translation for index.mdx (#34001)