v1.14.40

anomalyco/opencodev1.14.40May 7, 2026by opencode-agent[bot]

AI Summary

A substantial release with numerous bug fixes across core, TUI, and desktop components, plus a new feature for remote config file support. Includes improvements to session handling, CORS, model selection, and desktop app stability.

Key Highlights

  • Support for `.well-known/opencode` configs pointing to remote config files
  • Multiple core bug fixes: assistant text preservation, CORS headers, network options, Cloudflare AI Gateway provider options
  • Desktop improvements: trusted app clipboard access, fixed EPIPE errors and auto-update issues
  • TUI fixes: model selection stability and `/agent create` path correction
  • 6 community contributions included in this release

New Features

  • Support `.well-known/opencode` configs that point to a separate remote config file

Full Release Notes

## Core

### Improvements

- Support `.well-known/opencode` configs that point to a separate remote config file.

### Bugfixes

- Preserve assistant text when replaying signed reasoning blocks. (@edevil)
- Return consistent not-found errors for missing sessions.
- Apply CORS headers before auth so browser clients can reach legacy server endpoints.
- Fix `serve`, `web`, and ACP network options triggering runtime re-entry errors.
- Only show connected workspaces in warp flows, and carry the new directory into the session after warping.
- Restore web terminal CSP allowances.
- Sanitize invalid surrogate characters before provider transforms.
- Fix Cloudflare AI Gateway provider options for OpenAI-compatible models. (@NathanDrake2406)
- Use the current workspace with `/new`, including local-project warps.
- Keep editor selection context stable until it is sent.
- Retry `server_is_overloaded` API errors automatically.
- Restore Mistral Medium 3.5 variants so model selection works correctly.
- Show compaction summaries before retained tail messages.

## TUI

### Bugfixes

- Keep the selected model when model data refreshes.
- Fix `/agent create` to use the `/agents` path. (@OpeOginni)

## Desktop

### Improvements

- Allow trusted app windows to write to the clipboard without permission failures.

### Bugfixes

- Ignore broken pipe (`EPIPE`) errors in desktop console logging.
- Stop auto-installing updates when quitting the app.
- Silence noisy browser API Sentry reports in production.
- Prevent sync bootstrap queries from failing during app startup.

**Thank you to 6 community contributors:**
- @OpeOginni:
  - fix(TUI): update agent create target path from "/agent" to "/agents" (#14427)
- @NathanDrake2406:
  - fix(cf-ai-gateway): route provider options through openaiCompatible key (#24432) (#25573)
- @imduchuyyy:
  - docs: update desktop app references from Tauri to Electron (#25965)
- @kill74:
  - docs: fix CLI attach section order (#25749)
- @zharinov:
  - fix(ui): preserve SVG tags in DOMPurify config for KaTeX math rendering (#25866)
- @edevil:
  - fix(provider): preserve assistant message content when reasoning blocks present (#21370)