v1.15.1

anomalyco/opencodev1.15.1May 16, 2026by opencode-agent[bot]

AI Summary

This release adds significant TUI improvements including collapsed thinking view and pinned sessions with quick-switch slots, along with multiple bugfixes for npm recovery, file watching, and prompt handling.

Key Highlights

  • Added collapsed thinking view that can be expanded inline
  • Added pinned sessions with quick-switch slots in session picker
  • Fixed multiline @ mentions in prompts
  • Fixed file watching in repos where .git is a symlink
  • Preserved custom tool metadata and argument descriptions from Zod schemas

New Features

  • Collapsed thinking view
  • Pinned sessions with quick-switch

Full Release Notes

## Core

### Improvements

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

### Bugfixes

- Avoid duplicate consecutive entries in prompt history.
- Show full config validation errors during TUI startup instead of a generic failure.
- Fixed npm installs so the CLI can recover and fetch the right native binary on more setups.
- Fixed multiline `@` mentions in prompts.
- Preserved custom tool metadata from Zod schemas.
- Preserved custom tool argument descriptions in generated schemas.
- Fixed file watching in repos where `.git` is a symlink. (@kagura-agent)

## TUI

### Improvements

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

### Bugfixes

- Fixed thinking mode defaults so reasoning starts collapsed consistently.
- Limited session quick-switching to pinned sessions.
- Fixed Markdown table rendering in chat output.

**Thank you to 1 community contributor:**
- @kagura-agent:
  - fix(watcher): resolve symlinked .git path before subscribing (#27016)