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

# Reduced unnecessary prompting around shell, task, and todo flows

2026-05-16 · v1.15.3, v1.15.2

## Improvements

- **Terminal:** Newly pinned sessions now stay at the end of the pinned list instead of jumping to the top.

## Fixes

- **Core:** Fixed sync events not reaching project-scoped subscribers in injected instances.
- **Terminal:** Fixed `opencode run --agent` resolving project-local agents.
- **Core:** Reduced wasted work when reading very large files after output truncation.
- **Terminal:** Fixed async commands losing the active instance context, which could break agent generation and GitHub-driven runs.

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

Newer: [Made Markdown H1 headings easier to distinguish](https://opencode.ai/changelog/v1.15.4) (v1.15.4)

Older: [Clarified how to recover when the npm package is installed without its native binary](https://opencode.ai/changelog/v1.15.1) (v1.15.1)

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

---

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