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

# Prevent memory leaks from AbortController closures

2026-02-04 · v1.1.50

## Improvements

- **Core:** Revert addition of Trinity model system prompt support
- **Core:** Add Trinity model system prompt support ([@mariamjabara](https://github.com/mariamjabara))
- **Core:** Add shell.env hook for manipulating environment in tools and shell ([@tylergannon](https://github.com/tylergannon))
- **Core:** Use official ai-gateway-provider package for Cloudflare AI Gateway ([@elithrar](https://github.com/elithrar))
- **Core:** Allow theme colors in agent customization ([@IdrisGit](https://github.com/IdrisGit))
- **Core:** Add support for reading skills from .agents/skills directories
- **Core:** Provider headers from config not applied to fetch requests ([@cloudyan](https://github.com/cloudyan))
- **Core:** Ensure MCP tools are sanitized
- **Core:** Add .slnx to C#/F# LSP root detection ([@workedbeforepush](https://github.com/workedbeforepush))
- **Core:** Improve skills system with better prompting, fix permission requests after skill invocation, and ensure agents can locate scripts and resources
- **Core:** Exclude k2p5 from reasoning variants ([@neavo](https://github.com/neavo))
- **Core:** Handle nested array items for Gemini schema validation ([@mugnimaestra](https://github.com/mugnimaestra))
- **Core:** Plugins are always reinstalled ([@neriousy](https://github.com/neriousy))
- **Core:** Strip properties and required fields from non-object types in Gemini schema ([@ChickenBreast-ky](https://github.com/ChickenBreast-ky))
- **Core:** Make CLI run command non-interactive
- **Terminal:** Add --thinking flag to show reasoning blocks in run command
- **Terminal:** Always fall back to native clipboard after OSC52 ([@MartinWie](https://github.com/MartinWie))
- **Desktop:** Faster end-to-end tests ([@neriousy](https://github.com/neriousy))
- **Desktop:** Update command palette placeholder text
- **Desktop:** Model selector truncating too soon
- **Desktop:** Improve spacing in application UI
- **Desktop:** Allow empty prompt with review comments in desktop ([@dbpolito](https://github.com/dbpolito))
- **Desktop:** Fixed terminal serialization bug in app
- **Desktop:** Don't force mount tooltips in the app
- **Desktop:** Restore previously opened session tabs on app restart ([@ProdigyRahul](https://github.com/ProdigyRahul))
- **Desktop:** Edit project dialog icon now shows on hover ([@ProdigyRahul](https://github.com/ProdigyRahul))
- **Desktop:** Move session search to command palette
- **Desktop:** Fix custom providers overflow in app ([@DNGriffin](https://github.com/DNGriffin))

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

Newer: [Document the built-in agents](https://opencode.ai/changelog/v1.1.51) (v1.1.51)

Older: [Revert pull request that was mistakenly merged](https://opencode.ai/changelog/v1.1.49) (v1.1.49)

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

---

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