OpenCodeOpenCode

Changelog

All notable changes to OpenCode, organized by release version.

v1.17.9 Jun 21, 2026

Core

  • Fixed race condition in concurrent tool execution that could cause session state corruption
  • Improved token counting accuracy for multi-byte unicode characters
  • Added support for streaming partial JSON responses from providers

TUI

  • Fixed cursor position jumping when pasting multi-line content
  • Added syntax highlighting for TOML and HCL file previews
  • Improved scroll performance in conversations with large code blocks

Desktop

  • Fixed window restore dimensions not persisting after restart on Linux
  • Added keyboard shortcut Cmd/Ctrl+K for quick model switching

SDK

  • Added onToolStart and onToolEnd lifecycle hooks to the agent API
  • Fixed TypeScript type inference for custom tool definitions

Extensions

  • VS Code extension now supports workspace-level configuration overrides
  • Fixed Neovim plugin crash when buffer has no associated file path
v1.17.8 Jun 20, 2026

Core

  • Upgraded DeepSeek v4 provider integration with improved function calling support
  • Fixed memory leak when running long sessions with file watching enabled
  • Added automatic retry with exponential backoff for transient provider errors

TUI

  • New compact mode toggle to reduce vertical spacing in conversation view
  • Fixed rendering artifacts when terminal is resized during streaming

Desktop

  • Added drag-and-drop file support for attaching context to conversations
  • Fixed auto-update notification not dismissing after update is installed
  • Improved startup time by lazy-loading provider configurations

SDK

  • New opencode.batch() API for running multiple prompts in parallel
  • Added Python SDK bindings for the core agent loop

Extensions

  • JetBrains plugin now supports inline diff preview before applying changes
  • Added Zed editor extension (beta)
v1.17.5 Jun 18, 2026

Core

  • Introduced smart caching layer that reduces redundant API calls by up to 40%
  • Fixed incorrect diff generation when files contain mixed line endings
  • Added support for custom system prompts via .opencode/system.md
  • Improved error messages when provider API keys are expired or invalid

TUI

  • Added file tree panel with fuzzy search (toggle with Ctrl+T)
  • Fixed tab completion for file paths with spaces
  • New theme: Solarized Dark

Desktop

  • Added split-pane view for side-by-side file editing
  • Fixed high CPU usage when app is minimized on Windows

SDK

  • Breaking: renamed Agent.run() to Agent.execute() for clarity
  • Added middleware support for request/response interception

Extensions

  • VS Code extension now shows token usage in the status bar
  • Fixed Helix editor integration losing connection after idle timeout
v1.16.0 Jun 14, 2026

Core

  • New multi-agent orchestration: spawn sub-agents for parallel task execution
  • Added MCP (Model Context Protocol) server support for external tool integration
  • Introduced session branching - fork conversations to explore different approaches
  • Added support for Minimax M3 and Zhipu GLM-5 models

TUI

  • Complete UI refresh with new layout engine for faster rendering
  • Added conversation search with regex support (Ctrl+F)
  • New status bar showing active model, token usage, and session cost
  • Added image preview support in terminal (iTerm2, Kitty, Sixel)

Desktop

  • Initial release of the OpenCode Desktop application (beta)
  • Available for macOS (Apple Silicon + Intel), Windows, and Linux
  • Built-in project manager with recent sessions and favorites
  • Native notifications for long-running task completion

SDK

  • New @opencode/sdk package published to npm
  • Added TypeScript-first API with full type safety for tool definitions
  • Streaming support via AsyncIterator pattern

Extensions

  • VS Code extension v2.0 with redesigned sidebar panel
  • Added Neovim plugin with Telescope integration
  • JetBrains plugin now supports all IntelliJ-based IDEs
v1.15.10 Jun 10, 2026

Core

  • Fixed critical bug where file edits could be applied to wrong file in monorepo setups
  • Improved context window management - automatic summarization of older messages
  • Added --headless flag for running in CI/CD pipelines

TUI

  • Fixed input field losing focus after tool execution completes
  • Added vim-style keybindings option (set keybindings = "vim" in config)
  • Improved accessibility: screen reader support for conversation flow

Desktop

  • Fixed crash on macOS when system goes to sleep during active session
  • Added proxy configuration support for enterprise environments

SDK

  • Added context.getFiles() helper for reading multiple files in a single call
  • Fixed event emitter memory leak in long-running agent processes
  • Improved documentation with interactive examples

Extensions

  • VS Code extension: fixed conflict with GitHub Copilot inline suggestions
  • Neovim plugin: added support for floating window conversations
  • Emacs package now available via MELPA