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

# Custom Model Responses in HTTP Hooks

2026-12-03 · v2.4.4

Plugins using the `session.http.request` hook can now set `event.response` to answer model HTTP requests directly, making custom gateways, mocks, and request interception straightforward. ([#67635](https://github.com/anomalyco/opencode/pull/67635))

## Pop-Out Settings and Swatch Theme Picker

Pop Settings into its own window with live cross-window sync, and browse themes in a searchable popover with 5-color swatches and live preview. ([#67759](https://github.com/anomalyco/opencode/pull/67759), [#67752](https://github.com/anomalyco/opencode/pull/67752))

## Jump to Sessions by ID and Deep Links

Paste a session ID into the Command Palette in Desktop or TUI to jump straight to any session across servers, or open sessions directly via `opencode://session/<id>` deep links. ([#67779](https://github.com/anomalyco/opencode/pull/67779), [#64180](https://github.com/anomalyco/opencode/pull/64180))

## تحسينات

- **Core:** Enabled each model's recommended API from `models.dev` by default and removed the `recommended_api` flag. ([#67250](https://github.com/anomalyco/opencode/pull/67250))
- **Core, Terminal:** Added `experimental.tool.auto` and `experimental.permission.save` managed policy actions, with required prompts for unparseable shell commands when shell deny policies are active. ([#67687](https://github.com/anomalyco/opencode/pull/67687), [#67867](https://github.com/anomalyco/opencode/pull/67867))
- **Core:** Kept both the start and end of long shell output when truncating, renamed the shell result field `outputPath` to `fullOutputPath`, and stopped deleting saved shell output when old commands are evicted. ([#67159](https://github.com/anomalyco/opencode/pull/67159), [#67421](https://github.com/anomalyco/opencode/pull/67421), [#67666](https://github.com/anomalyco/opencode/pull/67666))
- **Core:** Filtered OpenRouter models using account preferences and loaded Sign in with ChatGPT models and speeds from the account's model list. ([#67375](https://github.com/anomalyco/opencode/pull/67375), [#67469](https://github.com/anomalyco/opencode/pull/67469))
- **Core:** Increased the default header timeout for Gemini and DeepSeek models to 10 minutes, and added OAuth token revocation when removing GitLab, xAI, and DigitalOcean sign-ins. ([#67243](https://github.com/anomalyco/opencode/pull/67243), [#67406](https://github.com/anomalyco/opencode/pull/67406))
- **Core:** Allowed versioned MCP skills to run without asking by default and included attached MCP clients in MCP instructions. ([#67384](https://github.com/anomalyco/opencode/pull/67384), [#67382](https://github.com/anomalyco/opencode/pull/67382))
- **Core:** Added `opencode machine update` for remote worker updates and tightened workspace sandbox confinement and per-OS path case-sensitivity. ([#67315](https://github.com/anomalyco/opencode/pull/67315), [#67202](https://github.com/anomalyco/opencode/pull/67202), [#67211](https://github.com/anomalyco/opencode/pull/67211), [#67632](https://github.com/anomalyco/opencode/pull/67632))
- **Core:** Updated bundled `ripgrep` to 15.2.0 and added SHA-256 content deduplication to the experimental Blob API. ([#67392](https://github.com/anomalyco/opencode/pull/67392), [#67016](https://github.com/anomalyco/opencode/pull/67016), [#67662](https://github.com/anomalyco/opencode/pull/67662))
- **Core:** Added experimental `mcp_resilience` and Code Mode durability and multi-turn worker improvements behind feature flags. ([#62756](https://github.com/anomalyco/opencode/pull/62756), [#67628](https://github.com/anomalyco/opencode/pull/67628), [#67411](https://github.com/anomalyco/opencode/pull/67411))
- **Desktop:** Added usage badges in the composer model trigger, a dedicated Free section in the model picker, an OpenCode account switcher, a Go usage meter, and a sign-in-first OpenCode connect flow. ([#66845](https://github.com/anomalyco/opencode/pull/66845), [#66847](https://github.com/anomalyco/opencode/pull/66847), [#66848](https://github.com/anomalyco/opencode/pull/66848), [#66849](https://github.com/anomalyco/opencode/pull/66849), [#66850](https://github.com/anomalyco/opencode/pull/66850))
- **Desktop:** Added paintable drag-to-toggle for model visibility, bulk Enable all / Disable all menus on direct providers, and configurable title generation models in Settings. Thanks @gsimone. ([#67754](https://github.com/anomalyco/opencode/pull/67754), [#67756](https://github.com/anomalyco/opencode/pull/67756), [#67747](https://github.com/anomalyco/opencode/pull/67747))
- **Desktop:** Added pop-out Settings windows with cross-window sync, a redesigned theme picker with color swatches and live preview, and the ability to hide any server across tabs, inbox, and notifications. ([#67759](https://github.com/anomalyco/opencode/pull/67759), [#67752](https://github.com/anomalyco/opencode/pull/67752), [#67520](https://github.com/anomalyco/opencode/pull/67520))
- **Desktop:** Added unified cross-server Command Palette search with instant session-ID lookup, `opencode://session/<id>` deep links, a Regenerate title action, a "Full session" option at the top of `/fork`, and Close on pinned tab context menus. ([#67779](https://github.com/anomalyco/opencode/pull/67779), [#64180](https://github.com/anomalyco/opencode/pull/64180), [#67608](https://github.com/anomalyco/opencode/pull/67608), [#67748](https://github.com/anomalyco/opencode/pull/67748), [#67731](https://github.com/anomalyco/opencode/pull/67731), [#67499](https://github.com/anomalyco/opencode/pull/67499))
- **Desktop:** Redesigned the Automations tab inspector, added session links and GitHub PR status to Browser New Tab, showed relative folder paths in the file viewer toolbar, and updated OpenMono to 1.001. ([#67373](https://github.com/anomalyco/opencode/pull/67373), [#67580](https://github.com/anomalyco/opencode/pull/67580), [#67800](https://github.com/anomalyco/opencode/pull/67800), [#66907](https://github.com/anomalyco/opencode/pull/66907))

## إصلاحات

- **Core:** Kept assistant message token counts accurate to context size across Anthropic fallback and compaction turns while preserving billed cost accuracy. ([#67833](https://github.com/anomalyco/opencode/pull/67833), [#67758](https://github.com/anomalyco/opencode/pull/67758))
- **Core:** Retried in-flight MCP tool calls aborted when a concurrent request triggers a session-expiry reconnect. ([#67852](https://github.com/anomalyco/opencode/pull/67852))
- **Core:** Let retry hooks handle `content-filter` finishes and classified `sensitive_words_detected` responses as content-policy errors. Thanks @gsimone. ([#67757](https://github.com/anomalyco/opencode/pull/67757), [#67585](https://github.com/anomalyco/opencode/pull/67585))
- **Core:** Displayed Claude usage limit reset times in local time. ([#67876](https://github.com/anomalyco/opencode/pull/67876))
- **Core:** Serialized whole-file writes with concurrent edits, preserved permission denial reasons through tool error wrappers, and normalized tool errors replaced by `execute.after` hooks. ([#67091](https://github.com/anomalyco/opencode/pull/67091), [#67098](https://github.com/anomalyco/opencode/pull/67098), [#67223](https://github.com/anomalyco/opencode/pull/67223))
- **Core:** Stopped auto-unarchiving archived sessions when sending prompts, commands, skills, or shell calls, and recovered parent wakes after subagent reports. ([#67365](https://github.com/anomalyco/opencode/pull/67365), [#63416](https://github.com/anomalyco/opencode/pull/63416))
- **Core:** Fixed loopback URL detection for `localhost.`, unbracketed `::1`, and non-IPv4 `127.*` hostnames, canceled piped stdin waits on abort in `opencode run`, and allowed `blob:` media in the Web UI CSP. Thanks @AdemGhalleb and @richard-fairthorne. ([#67420](https://github.com/anomalyco/opencode/pull/67420), [#65910](https://github.com/anomalyco/opencode/pull/65910), [#64303](https://github.com/anomalyco/opencode/pull/64303))
- **Terminal:** Reloaded textarea keybindings live when config changes without restarting TUI. Thanks @OpeOginni. ([#66127](https://github.com/anomalyco/opencode/pull/66127))
- **Desktop:** Disabled the touch composer on Desktop, ignored accidental Stop clicks within 400ms of Send, fell back to physical keys on non-Latin keyboard layouts, and kept floating surfaces clickable over desktop drag regions. ([#67612](https://github.com/anomalyco/opencode/pull/67612), [#67542](https://github.com/anomalyco/opencode/pull/67542), [#66179](https://github.com/anomalyco/opencode/pull/66179), [#67285](https://github.com/anomalyco/opencode/pull/67285))
- **Desktop:** Filtered hidden models out of Recent and Favorites, synced external archive events in Inbox, tracked inbox session cutoffs per server, and removed the 5-minute client timeout on `/btw`. ([#67756](https://github.com/anomalyco/opencode/pull/67756), [#67546](https://github.com/anomalyco/opencode/pull/67546), [#67442](https://github.com/anomalyco/opencode/pull/67442), [#67674](https://github.com/anomalyco/opencode/pull/67674))
- **Desktop:** Showed quote and note previews in the prompt queue, hid Allow always when a permission request cannot be saved, and fixed SSR rendering for selects and menus. ([#67544](https://github.com/anomalyco/opencode/pull/67544), [#67687](https://github.com/anomalyco/opencode/pull/67687), [#67330](https://github.com/anomalyco/opencode/pull/67330))
- **Extensions:** Fixed VS Code line selection ranges so selections ending at column 0 of the next line do not include that trailing line. ([#67527](https://github.com/anomalyco/opencode/pull/67527))

صدر في [v2.4.4](https://github.com/anomalyco/opencode/releases/tag/v2.4.4)

الأقدم: [Automations in Desktop](https://opencode.ai/changelog/v2.4.3) (v2.4.3)

[كل التحديثات](https://opencode.ai/changelog)

---

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