OpenCode 2 v2.4.2: desktop browser, automations, background subagents#

Published by

Part of the OpenCode 2 Version Tracker series. | OpenCode on GitHub | OpenCode 2 docs

OpenCode 2 reaches v2.4.2, six stable releases past the v2.2.7 baseline. The desktop app gained a built-in browser the agent drives with your imported sign-ins, automations that run a prompt on a timer or a pushed MCP event, background subagents that run concurrently, and video generation on by default. The TUI's new look and quieter transcripts are now the defaults.

Reading CLAUDE.md files again#

OpenCode 2 again reads CLAUDE.md in any directory that has no AGENTS.md, and falls back to ~/.claude/CLAUDE.md when the global AGENTS.md is missing. The same applies to instructions the agent finds when it reads nested files (v2.3.1, #64474, #64533).

VariableWhat It Does
OPENCODE_DISABLE_CLAUDE_CODE_PROMPTSet it (or OPENCODE_DISABLE_CLAUDE_CODE) to skip every CLAUDE.md when the agent assembles its instructions (#64533)

Background subagents and quieter transcripts#

Subagents return their session ID immediately, continue in the background, and report to the parent whenever they go idle, so you keep working while several run at once (v2.3.0, #63382). When a subagent goes idle with its own background work still running, its report says it is still running, so the parent waits for the final answer instead of treating the partial one as done (#63675).

The TUI's transcript verbosity defaults to low, which folds each run of tool calls and thoughts into one collapsible activity row; set Verbosity to medium or high, or session.verbosity in your TUI config, to see every step (#63207). The new designs are on by default and the opencode theme is the new one; pick opencode-classic for the previous colors (v2.4.0, #64988).

A desktop browser the agent shares#

The desktop app ships a built-in browser (v2.4.0, #63002, #65073). Import sign-ins and history from Chrome, Edge, Firefox or Safari, add extensions from Chromium browsers or the Chrome and Edge stores, and the agent reads and drives the same pages in one persistent profile. Chat links open in the browser pane beside the conversation; modifier-click opens your system browser, and a browser deny in your permission rules refuses every agent browser call.

Automations#

Ask the agent to run a prompt, a script or a shell command on a timer, a cron schedule or a pushed MCP event, and manage them with /automation (v2.4.0, #65296, #65186). An automation sends a prompt to the creating session, another session or a new subagent, or runs a Code Mode program that decides whether to send one. Set "automations": false to turn the feature off. The experimental schedules flag became automations in v2.3.1 (#64160), and as of v2.4.1 plugins can create, list and delete automations (#65747).

Media generation, web search, and Code Mode#

Video generation is on by default as of v2.4.2 (#65664); the generate_video tool arrived in v2.4.0 (#63666). When a connected provider has a video model, the agent calls it, keeps working while the render runs, and saves the files into your workspace when they are ready. The media tools are now named generate_image and generate_video (#65682). Claude Agent joins the web-search providers (#65704), Code Mode can call the OpenCode API with an opencode:// fetch in local builds (#65725), and a new Code Mode tool interrupts a session and everything running under it (#65718).

Defaults that stop blocking the foreground#

A shell command still running when its timeout expires moves to the background instead of being killed, so long builds and test runs finish and report back; a foreground timeout: 0 means the default 120 seconds (v2.3.1, #63699). Background compaction is on by default: as a session nears automatic compaction the summary is written in the background so the next prompt does not wait, with compaction.background: false to turn it off. The experimental.background_compaction setting is gone (#64290).

Providers and fixes#

GitHub Copilot no longer reads GITHUB_TOKEN; set COPILOT_GITHUB_TOKEN or sign in with OAuth (v2.4.0, #64697). GPT-6.2 models stopped re-billing the system prompt as uncached input on every step, which on GitHub Copilot gpt-6.2-sol dropped per-step uncached input from about 14,000 tokens to 3 (v2.3.2, #64542, #64544). v2.4.1 counts config-only providers such as Ollama as connected so their models show in /models (#65793), saves assistant messages on the SQLite that macOS 12 ships (#65771), and keeps compaction's retained tail within keep.tokens (#65768).

Work that outlives the prompt#

The thread across these releases is that long-running work no longer holds the foreground. Subagents return a session ID and report back when idle, compaction summaries write in the background, a timed-out shell moves to the background rather than dying, and a video render continues while you keep typing. Automations push the same idea past a single session: a prompt can fire on a clock or a pushed MCP event with no one watching.

The desktop browser extends the agent's reach rather than its concurrency. With imported sign-ins in a persistent profile, the pages the agent reads and drives are the authenticated ones you already use, so a task that needs a logged-in site does not stop at the login wall. A browser the agent controls and automations that run on their own move OpenCode's desktop app toward a surface that keeps acting between prompts.

Sources#

All trademarks and software referenced belong to their respective owners.

Previous OpenCode 2 analysis: v2.2.7 (November 10, 2026)

All 29 OpenCode 2 analyses: OpenCode 2 Version Tracker · Official OpenCode 2 changelog

Get the weekly digest

New Claude Code, Codex, Gemini CLI and OpenCode guides and release analyses, once a week, plus occasional notes.

One email a week plus occasional notes. Confirm by email; unsubscribe from any issue. Privacy