Change8

v1.2.21

OpenCode
5 features14 fixes14 improvementscoredesktopmcpproviderstui

Summary

This release introduces several new capabilities, including a project git init API and interactive timeline visualization. Numerous bugs were addressed, such as fixing Git path resolution issues on Windows and resolving a PTY session handle leak. Enhancements include improved session management, better empty state designs, and preserved file tree tab state upon reopening.

New Features

  • Added project git init API
  • Enabled auto-accept keybind regardless of permission configuration
  • Added interactive timeline visualization feature
  • Added sidebar reveal animation, hover peek overlay, and weaker dividers to the application UI
  • Added Vietnamese README and updated all language navigation links

Bug Fixes

  • Fixed Git path resolution for modified files across Git Bash, MSYS2, and Cygwin on Windows
  • Fixed PTY session handle leak
  • Fixed broken /export toggling in the TUI
  • Fixed session-header current() being undefined when options is empty
  • Preserved the file tree tab state upon reopening the application
  • Fixed all panels transition behavior
  • Fixed inability to scroll files in the application
  • Fixed maximum width constraint on the timeline component
  • Fixed portal positioning for sidebar menus and tooltips by removing conditional mount logic
  • Fixed unwanted key events during composition in LineCommentEditor
  • Fixed GitHub PR search tool pointing at the wrong repository in configuration
  • Restored Storybook build by mocking useLocation
  • Preserved original line endings when using the 'edit' tool
  • Added English to locale matchers

Improvements

  • Preserve original line endings in edit tool
  • Sanitized preview database filenames
  • Logged stack trace when schema validation fails
  • Updated Drizzle and channel database handling
  • Speed up share loads
  • Removed close button from project hover popover
  • New session now uses the agent model/variant
  • Model selection now sticks to the session after being changed
  • Aligned session empty states in TUI
  • Shared workspace slug wait helper across e2e specs
  • Aborted sessions and waited for idle before e2e cleanup
  • Show skill issue when snapshotting is off in the desktop app
  • Provided better review and file tree empty states
  • Enabled Safari autocorrect in normal mode, disabled in shell mode

OpenCode Documentation