> opencode.ai is the source of truth for OpenCode, the open source coding agent, including its apps, install commands, docs and releases. The current version is OpenCode v2.
> Cite the canonical page, https://opencode.ai/changelog/v1.2.22, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# Canonicalize current working directory after changing directories in TUI

2026-03-08 · v1.2.22

## Improvements

- **Core:** Fix broken MCP toggling in TUI ([@natewill](https://github.com/natewill))
- **Core:** Update database path test to verify correct channel-based filename
- **Core:** Allow beta channel to share database with stable channel
- **Core:** Add OPENCODE_SKIP_MIGRATIONS flag to bypass database migrations
- **Terminal:** Guard TUI exit to prevent premature termination
- **Terminal:** Avoid TTY corruption from double cleanup ([@tobwen](https://github.com/tobwen))
- **Desktop:** Fix sidebar background color when collapsed
- **Desktop:** Suppress hover when opening project menu or right-clicking to prevent flickering
- **Desktop:** Trim retained desktop terminal buffers
- **Desktop:** Messages not loading reliably
- **Desktop:** Prune and evict stale app session caches
- **Desktop:** Restore new-session logo on dev so users recognize OpenCode immediately
- **Desktop:** Revert new session logo on dev branch to ship UI change with auto-accept-permissions feature
- **Desktop:** Add OpenCode logo to new session screen for immediate app identification
- **Desktop:** Revert prompt control docking in TUI
- **Desktop:** Dock auto-accept after thinking and move Add file to bottom-left
- **Desktop:** Balance titlebar columns so center content doesn't get squeezed by long side content
- **Desktop:** Center empty states vertically in session view and improve review panel messaging for projects without version control
- **Desktop:** Review panel transition fixed in app

Released in [v1.2.22](https://github.com/anomalyco/opencode/releases/tag/v1.2.22)

Newer: [Disable fallback to free nano for small model requests](https://opencode.ai/changelog/v1.2.23) (v1.2.23)

Older: [Preserve original line endings in edit tool](https://opencode.ai/changelog/v1.2.21) (v1.2.21)

[All updates](https://opencode.ai/changelog)

---

If something here is wrong or missing, open an issue at https://github.com/anomalyco/opencode/issues.
