Change8

v1.0.204

OpenCode
6 features6 fixes4 improvementsclidesktopmcpproviderstui

Summary

This release introduces several new capabilities, including path traversal protection for file operations, the shfmt formatter for shell scripts, and support for GitHub issues and workflow_dispatch events. Several bugs were resolved, notably fixing the `opencode web` baseURL error and ensuring the compact command cleans up revert state correctly. Users also gain more control over UI elements like the spinner animation and compaction settings.

New Features

  • Added path traversal protection to File.read and File.list operations.
  • Added ability to disable the spinner animation.
  • Added the shfmt formatter for shell scripts.
  • Added configurable compaction settings allowing users to disable auto-compaction and pruning via config instead of flags.
  • Added MCP UI.
  • Added support for GitHub issues and workflow_dispatch events.

Bug Fixes

  • Fixed the compact command so it now properly cleans up revert state after a revert operation.
  • Fixed compaction configuration checks to properly respect user settings.
  • Fixed the `opencode web` baseURL error.
  • Fixed the upgrade command to use the gh releases page if the installation method is not npm, bun, or pnpm.
  • Fixed mdns global configuration.
  • Fixed prompt input issues, and issues related to directory and branch display in the status bar.

Improvements

  • Updated the transform for gemini models so that topP and topK values now match gemini-cli values.
  • Only show the diagnostics block when errors actually exist.
  • Reapplied optional mdns service.
  • Handled more error scenarios.

OpenCode Documentation

OpenCode v1.0.204 - What's New - Change8