> 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.15.1, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# Clarified how to recover when the npm package is installed without its native binary

2026-05-16 · v1.15.1

## Improvements

- **Terminal:** Added a collapsed thinking view that can be expanded inline.
- **Terminal:** Added pinned sessions with quick-switch slots in the session picker.

## Fixes

- **Core:** Avoid duplicate consecutive entries in prompt history.
- **Core:** Show full config validation errors during TUI startup instead of a generic failure.
- **Core:** Fixed npm installs so the CLI can recover and fetch the right native binary on more setups.
- **Core:** Fixed multiline `@` mentions in prompts.
- **Core:** Preserved custom tool metadata from Zod schemas.
- **Core:** Preserved custom tool argument descriptions in generated schemas.
- **Core:** Fixed file watching in repos where `.git` is a symlink. ([@kagura-agent](https://github.com/kagura-agent))
- **Terminal:** Fixed thinking mode defaults so reasoning starts collapsed consistently.
- **Terminal:** Limited session quick-switching to pinned sessions.
- **Terminal:** Fixed Markdown table rendering in chat output.

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

Newer: [Reduced unnecessary prompting around shell, task, and todo flows](https://opencode.ai/changelog/v1.15.3) (v1.15.3)

Older: [Auto-hide the menu bar on Linux and Windows](https://opencode.ai/changelog/v1.15.0) (v1.15.0)

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

---

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