{"slug": "opencode-2-4-built-in-browser-automations-and-upgrade-notes", "title": "OpenCode 2.4: built in browser, automations and upgrade notes", "summary": "Anomaly published OpenCode 2.4.0 on GitHub on 23 Nov 2026 at 09:22 UTC and OpenCode 2.4.1 at 15:57 UTC, adding a built-in desktop browser the agent can drive, scheduled automations, and a generate_video tool. The browser keeps one persistent profile that imports sign-ins and history from Chrome, Edge, Firefox or Safari, and a `browser` deny in permission rules refuses every agent browser call. Automations run a prompt, script or shell command on a timer, cron schedule or MCP event, can be disabled with `\"automations\": false`, and a shell action asks for approval once at creation while recording each run's exit code and output.", "body_md": "# OpenCode 2.4: built in browser, automations and upgrade notes\n\nOpenCode 2.4 adds a desktop browser the agent can drive, automations on a timer, cron or MCP event, and generate_video. Upgrade notes, checked 24 Nov 2026.\n\nOpenCode 2.4 puts a browser inside the desktop app that the agent can drive, and lets the agent run prompts, scripts or shell commands on a schedule. Anomaly published [v2.4.0](https://github.com/anomalyco/opencode/releases/tag/v2.4.0) on GitHub on 23 Nov 2026 at 09:22 UTC and [v2.4.1](https://github.com/anomalyco/opencode/releases/tag/v2.4.1) at 15:57 UTC. Checked 24 Nov 2026.\n\nNew to the tool? Start with [What is OpenCode](https://munderdiffl.in/blog/what-is-opencode/); [OpenCode 2.3](https://munderdiffl.in/blog/opencode-2-3/) and [OpenCode 2.0](https://munderdiffl.in/blog/opencode-2-0/) cover the releases before this one. Running Claude Code too? See our [Max plan guide](https://munderdiffl.in/blog/claude-code-max-plan-tips/).\n\n## What is new in OpenCode 2.4? [#](#what-is-new-in-opencode-24)\n\nFive highlights: a built in desktop browser, automations, video generation, a new TUI look and Windows taskbar status. The table is our selection from the [v2.4.0 notes](https://github.com/anomalyco/opencode/releases/tag/v2.4.0) and the [v2.4.1 notes](https://github.com/anomalyco/opencode/releases/tag/v2.4.1), read on 24 Nov 2026.\n\n| Change | What it does | Release | \n|---|---|---|\n| Desktop browser | Imports sign ins and history, adds extensions; the agent drives the same pages | v2.4.0 | \n| Automations | A prompt, script or shell command on a timer, a cron schedule or an MCP event | v2.4.0 | \n| `generate_video` | Makes videos when a connected provider has a video model | v2.4.0 | \n| New TUI look | New designs by default; `opencode-classic` keeps the previous look | v2.4.0 | \n| Windows taskbar | Shows session progress and flashes when a permission or question waits | v2.4.0 | \n| macOS 12 fix | Assistant messages save again on macOS 12 | v2.4.1 | \n\n## How does the built in browser work? [#](#how-does-the-built-in-browser-work)\n\nIt is a browser pane in the desktop app with one saved profile, so you and the agent see the same signed in pages. The v2.4.0 notes say you can “Import your sign-ins and browsing history from Chrome, Edge, Firefox or Safari, and add extensions from Chromium browsers or the Chrome and Edge stores.” They go on: “Everything stays in one persistent desktop profile: chat links open signed in, your tabs survive restarts and the agent can read and drive the same pages without you switching apps.”\n\nWeb links from the chat now open beside the conversation; the notes say “Modifier-click a link to open it in your system browser.” To keep the agent out, “A `browser` deny in your permission rules refuses every agent browser call.” OpenCode’s [tools docs](https://opencode.ai/docs/tools/), read on 24 Nov 2026, add: “A `browser` deny rule with resource `*` removes the browser catalog; browser operations do not issue individual permission prompts.” The [permissions page](https://opencode.ai/docs/permissions/) did not list a `browser` action that day.\n\nFor a CLI approach, compare [OpenCode Browse vs agent-browser](https://munderdiffl.in/blog/opencode-browse-vs-agent-browser/).\n\n## What are OpenCode automations, and how do you turn them off? [#](#what-are-opencode-automations-and-how-do-you-turn-them-off)\n\nAutomations are jobs the agent sets up to run later on its own. The v2.4.0 highlights say: “Ask the agent to run a prompt, a script or a shell command on a timer, on a cron schedule or when an MCP server sends an event, and manage them with `/automation`.” The core notes add: “A shell action asks for approval once, when it’s created, and records each run’s exit code and output.”\n\nTo turn them off, the notes say to set this in your config:\n\n```\n{\n  \"automations\": false\n}\n```\n\nOpenCode’s [config docs](https://opencode.ai/docs/config/) did not list the `automations` key on 24 Nov 2026, and the docs had no automations page. Our view: since a shell action asks only once, read it closely when the agent first proposes it.\n\n## What does generate_video do, and what happened to generate_image? [#](#what-does-generate-video-do-and-what-happened-to-generate-image)\n\n`generate_video` lets the agent make videos “whenever a connected provider has a video model”, per the v2.4.0 notes. The job “runs in the background, survives a server restart, saves the finished videos into the workspace and wakes the agent with their paths.” Set a default model with `experimental.video_generate.model`.\n\nThe same release renamed the image tool: `experimental_image_generate` is now `generate_image`. OpenCode’s tools docs listed `generate_image` on 24 Nov 2026 but had no entry for `generate_video`.\n\n## What should you watch for when upgrading? [#](#what-should-you-watch-for-when-upgrading)\n\nRenamed tools, plugins that update themselves, token, protocol and theme changes, new shortcuts, and a macOS 12 fix in 2.4.1. Our picks from the [v2.4.0 upgrade notes](https://github.com/anomalyco/opencode/releases/tag/v2.4.0):\n\n1. Image tool rename: “Permission rules with the old name are mapped automatically, but saved ‘always allow’ approvals are not, so it asks again once.”\n2. Plugins written as `name@latest` , a version range or a Git branch are “checked on startup and every 24 hours” and update themselves; an exact version does not. The[plugins docs](https://opencode.ai/docs/plugins/) give the same check and call exact versions “pinned”.\n3. “GitHub Copilot no longer reads `GITHUB_TOKEN` .” Set`COPILOT_GITHUB_TOKEN` or sign in with OAuth.\n4. “MCP servers are tried on the newest protocol first”: a server without a `protocol` setting “is probed before falling back to the legacy handshake”. Set`protocol: \"legacy\"` on a server that misbehaves. The[MCP servers docs](https://opencode.ai/docs/mcp-servers/) , read on 24 Nov 2026, called`legacy` the default.\n5. The `opencode` theme “now means the new theme”. Set`opencode-classic` for the previous look.\n6. `Cmd+Shift+S` (`Ctrl+Shift+S` on Windows and Linux) “now archives the open session”.\n7. v2.4.1: “Fixed assistant messages failing to save on macOS 12 because its system SQLite does not support the JSON operator used in v2.4.0.”\n\nOur view: on macOS 12, go straight to 2.4.1, and set `protocol` on any MCP server you depend on.\n\n## How do you upgrade to OpenCode 2.4? [#](#how-do-you-upgrade-to-opencode-24)\n\nUse an install command from OpenCode’s [README](https://github.com/anomalyco/opencode). On 24 Nov 2026 the [npm registry](https://registry.npmjs.org/@opencode/cli) gave 2.4.1 as the `latest` tag for `@opencode/cli`. For macOS and Linux, the README calls the Homebrew tap “recommended, always up to date”:\n\n```\nnpm i -g @opencode/cli@latest\ncurl -fsSL https://opencode.ai/v2/install | bash\nbrew install anomalyco/tap/opencode-v2\n```\n\nThe browser needs the desktop app, which the README lists as “Desktop App (BETA)” at [opencode.ai/download](http://opencode.ai/download).\n\nStill on 1.x? The [migration guide](https://opencode.ai/docs/migrate-v1/) says: “Remove a package-managed V1 installation before installing V2”. On 24 Nov 2026 GitHub’s [latest release](https://github.com/anomalyco/opencode/releases/latest) link still opened v1.19.6, so a script that follows it gets 1.x.\n\n## Munder Difflin and OpenCode [#](#munder-difflin-and-opencode)\n\n[Munder Difflin](https://harnessmd.com/download) is free and open source: a desktop app that runs a team of AI agents for all kinds of knowledge work, coding included, on your own computer. Its [README](https://github.com/HarnessMD/munder-difflin), read on 24 Nov 2026, lists OpenCode under Engines and says: “Each agent picks its own, so one office can mix them.” See [how to install and use Munder Difflin](https://munderdiffl.in/blog/how-to-install-and-use-munder-difflin/), or compare [OpenCode alternatives](https://munderdiffl.in/blog/opencode-alternatives/).\n\n## What are the key OpenCode 2.4 facts at a glance? [#](#what-are-the-key-opencode-24-facts-at-a-glance)\n\nHere they are, checked 24 Nov 2026 against the pages linked above.\n\n| Item | Detail | \n|---|---|\n| Latest on npm | 2.4.1 | \n| Published | v2.4.0 at 09:22 UTC, v2.4.1 at 15:57 UTC, 23 Nov 2026 | \n| Browser | Desktop app, one saved profile | \n| Automations off | `\"automations\": false` | \n| Image tool | Now `generate_image` | \n| GitHub latest link | Still v1.19.6 | \n\n## FAQ\n\nWhat is new in OpenCode 2.4?\n\nThe v2.4.0 release notes, published on GitHub on 23 Nov 2026, list five highlights: a built in desktop browser, automations, video generation with generate_video, a new TUI look and Windows taskbar status. v2.4.1 followed the same day and fixes assistant messages failing to save on macOS 12.\n\nHow do I turn off OpenCode automations?\n\nSet \"automations\": false in your config, per the v2.4.0 notes. Automations run a prompt, a script or a shell command on a timer, on a cron schedule or when an MCP server sends an event, and you manage them with /automation. A shell action asks for approval once, when it is created.\n\nCan the OpenCode agent use my browser sign ins?\n\nIn the desktop app, yes. The v2.4.0 notes say you can import sign ins and browsing history from Chrome, Edge, Firefox or Safari into one persistent desktop profile, and the agent can read and drive the same pages. A browser deny in your permission rules refuses every agent browser call.\n\nWhy does OpenCode ask again before generating images after the upgrade?\n\nThe image tool experimental_image_generate is now generate_image. The v2.4.0 notes say permission rules with the old name are mapped automatically, but saved \"always allow\" approvals are not, so it asks again once.\n\nHow do I upgrade OpenCode to 2.4?\n\nOpenCode's README lists npm i -g @opencode/cli@latest, a curl install script and the anomalyco/tap/opencode-v2 Homebrew tap. On 24 Nov 2026 the npm registry gave 2.4.1 as the latest tag for @opencode/cli. 2.4.1 fixes assistant messages failing to save on macOS 12.", "url": "https://wpnews.pro/news/opencode-2-4-built-in-browser-automations-and-upgrade-notes", "canonical_source": "https://munderdiffl.in/blog/opencode-2-4/", "published_at": "2026-11-24 00:00:00+00:00", "updated_at": "2026-11-24 04:13:34.178541+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["OpenCode", "Anomaly", "OpenCode 2.4.0", "OpenCode 2.4.1", "Chrome", "Edge", "Firefox", "Safari"], "also_reported_by": [], "takeaway": "OpenCode 2.4.0 adds a desktop browser the agent can drive and automations that fire on a timer, cron schedule or MCP event; block agent browsing with a `browser` deny rule on resource `*` and disable automations with `\"automations\": false`.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/opencode-2-4-built-in-browser-automations-and-upgrade-notes", "markdown": "https://wpnews.pro/news/opencode-2-4-built-in-browser-automations-and-upgrade-notes.md", "text": "https://wpnews.pro/news/opencode-2-4-built-in-browser-automations-and-upgrade-notes.txt", "jsonld": "https://wpnews.pro/news/opencode-2-4-built-in-browser-automations-and-upgrade-notes.jsonld"}}