Skip to content
News

AI insights

OpenCode v2.4.4: HTTP Hook Responses & Session Deep Links

OpenCode v2.4.4 adds direct event.response in HTTP hooks, session-ID jumps and deep links, fullOutputPath rename, and pop-out Settings.

OpenCode v2.4.4: HTTP Hook Responses & Session Deep Links

Q. What is the first practical change to watch in OpenCode v2.4.4? Plugins can now return event.response directly from the session.http.request hook, simplifying custom gateways and mock servers, while Command Palette session-ID jumps and opencode://session/<id> deep links speed up navigation. A breaking rename of the shell result field from outputPath to fullOutputPath is also included, so check any scripts reading it before upgrading.

⚠️ Accuracy guardrail: This post was written on December 4, 2026 using only the official OpenCode changelog (opencode.ai/changelog/v2.4.4) and the GitHub v2.4.4 release notes (published 2026-12-03T00:37:51Z). Internal code diffs for individual PRs, measured latency of custom HTTP hook responses, and promotion timelines for experimental.* flags were not verified and are omitted.

30-second summary

  • Direct HTTP hook responses: Setting event.response inside session.http.request lets plugins answer model HTTP requests directly without hitting an external endpoint (#67635).
  • Session jump and deep links: Paste a session ID into the Desktop or TUI Command Palette to jump across servers, or open sessions directly via opencode://session/<id> (#67779, #64180).
  • Shell output and field rename: Long shell output truncation now keeps both the start and end, and outputPath has been renamed to fullOutputPath (#67159, #67421, #67666).
  • Policies, remote updates, and timeouts: Added experimental.tool.auto and experimental.permission.save policy actions, and raised the default header timeout for Gemini and DeepSeek to 10 minutes (#67687, #67243).
  • Desktop UI upgrades: Added pop-out Settings windows with live cross-window sync, a 5-color swatch theme picker, a dedicated Free model section, and a Go usage meter (#67759, #67752, #66847).

Direct HTTP Hook Responses and Agent Control

OpenCode v2.4.4 introduces an official path for plugins to intercept model HTTP traffic and return a response on the spot. Previously, wiring test mocks or an internal gateway meant running a separate local proxy or overriding endpoints; now plugins can set event.response inside the session.http.request hook (#67635).

Runtime reliability and provider handling also received updates. Recommended APIs from models.dev are now enabled by default with the recommended_api flag removed (#67250), and the default header timeout for slower Gemini and DeepSeek models increased to 10 minutes (#67243). Removing GitLab, xAI, or DigitalOcean sign-ins now revokes their OAuth tokens as well (#67406).

OpenCode v2.4.4 official changelog top view

Advertisement

Shell Output Handling and Breaking Changes

Developers integrating automation scripts or custom tools should check the shell output changes first. Truncation of long shell output now preserves both the beginning and the end, and saved output files are no longer deleted when old commands are evicted (#67159, #67666). Because the shell result field was renamed from outputPath to fullOutputPath (#67421), any downstream parser reading outputPath must be updated.

Permission and sandbox boundaries tightened as well. When shell deny policies are active, unparseable shell commands now require an interactive prompt, alongside new experimental.tool.auto and experimental.permission.save managed policy actions (#67687, #67867). Bundled ripgrep was updated to 15.2.0 (#67392), and opencode machine update was added for remote workers alongside stricter workspace sandbox confinement and per-OS path case-sensitivity (#67315, #67202, #67632).

OpenCode v2.4.4 key changes overview diagram

Desktop and TUI Session Navigation Overhaul

Moving across projects and remote servers is noticeably faster in v2.4.4. Pasting a session ID into the Command Palette in either Desktop or TUI jumps straight to that session across servers (#67779), and opencode://session/<id> deep links open sessions directly from external notes or tools (#64180). Desktop also adds a "Full session" option at the top of /fork (#67748), a Regenerate title action (#67608), and per-server hiding across tabs, inbox, and notifications (#67520).

On the UI side, Settings can now pop out into its own window with live cross-window sync (#67759), paired with a searchable theme picker featuring 5-color swatches and live preview (#67752). The model picker gains a dedicated Free section, usage badges, a Go usage meter, and an OpenCode account switcher, bringing Desktop workflow polish alongside recent updates covered in Claude Code v2.1.335 and Codex CLI v0.174.0.

Area Key Change Practical Impact & PRs
HTTP Hooks Return event.response in session.http.request Simpler internal gateways and mocks (#67635)
Shell Output outputPath → fullOutputPath, keep head & tail Update existing parsers (#67159, #67421, #67666)
Session Nav Command Palette ID jump, opencode://session/<id> Faster multi-server switching (#67779, #64180)
Models & Timeout models.dev defaults, 10-min header timeout recommended_api removed; Gemini/DeepSeek stability (#67250, #67243)
Desktop UI Pop-out Settings, 5-color theme picker, Free section Smoother configuration and account switching (#67759, #67752, #66847)

OpenCode v2.4.4 Core and Desktop improvements list

Key Bug Fixes: Token Counts, MCP, and Editor

Stability fixes address edge cases common in long-running agent loops. Assistant message token counts now stay accurate to context size across Anthropic fallback and compaction turns while preserving billed cost accuracy (#67833, #67758), and in-flight MCP tool calls aborted by a concurrent session-expiry reconnect are retried automatically (#67852).

Sending prompts, commands, skills, or shell calls to an archived session no longer unarchives it automatically (#67365), and parent session wakes after subagent reports have been recovered (#63416). Desktop now ignores accidental Stop clicks within 400ms of Send (#67542), and the VS Code extension fixes line selection ranges so selections ending at column 0 of the next line do not include that trailing line (#67527).

Toris's take

Teams running internal LLM gateways or mock servers, and solo developers juggling sessions across multiple remote machines, will get immediate value from upgrading to v2.4.4. Direct event.response handling and opencode://session/<id> deep links cut down daily context-switching friction. If your local hooks or CI scripts currently read outputPath from shell tool results, update them to fullOutputPath right after upgrading.

Sources

Advertisement