---
title: "OpenCode v2.4.0 | Havoptic"
description: "OpenCode 2.4.0 adds a built-in desktop browser that can import your sign-ins and history from Chrome, Edge, Firefox, or Safari, and lets the agent work on the same pages you do. It also brings automat..."
image: "https://dev.havoptic.com/og-image.jpg"
---

# OpenCode v2.4.0

OpenCode v2.4.0 was released on November 23, 2026.

## Summary

OpenCode 2.4.0 adds a built-in desktop browser that can import your sign-ins and history from Chrome, Edge, Firefox, or Safari, and lets the agent work on the same pages you do. It also brings automations that run prompts or scripts on a timer, a schedule, or an event, and a n...

## Release Context

- This was the 215th OpenCode release of 2026 tracked by Havoptic.
- It shipped 5 days after [OpenCode v2.3.2](https://dev.havoptic.com/r/opencode-2.3.2) (November 18, 2026).

### Shipped around the same time

Within 3 days of this release, other AI coding tools also shipped:

- [Antigravity CLI v1.5.18](https://dev.havoptic.com/r/antigravity-cli-1.5.18) (November 26, 2026)
- [Devin 2026.11.26](https://dev.havoptic.com/r/devin-2026-11-26) (November 26, 2026)
- [Lovable 2026.11.26](https://dev.havoptic.com/r/lovable-2026-11-26) (November 26, 2026)
- [Zed v1.30.2](https://dev.havoptic.com/r/zed-1.30.2) (November 25, 2026)
- [GitHub Copilot CLI v1.0.116](https://dev.havoptic.com/r/github-copilot-v1.0.116) (November 25, 2026)

### Compare OpenCode

- [OpenCode vs Claude Code](https://dev.havoptic.com/compare/claude-code-vs-opencode)
- [OpenCode vs OpenAI Codex CLI](https://dev.havoptic.com/compare/openai-codex-vs-opencode)
- [OpenCode vs Cursor](https://dev.havoptic.com/compare/cursor-vs-opencode)
- [OpenCode vs Gemini CLI](https://dev.havoptic.com/compare/gemini-cli-vs-opencode)
- [OpenCode vs Kiro CLI](https://dev.havoptic.com/compare/kiro-vs-opencode)
- [OpenCode vs GitHub Copilot CLI](https://dev.havoptic.com/compare/github-copilot-vs-opencode)
- [OpenCode vs Devin Desktop](https://dev.havoptic.com/compare/opencode-vs-windsurf)
- [OpenCode vs Antigravity CLI](https://dev.havoptic.com/compare/antigravity-cli-vs-opencode)
- [OpenCode vs Grok Build](https://dev.havoptic.com/compare/grok-build-vs-opencode)
- [OpenCode vs Cline](https://dev.havoptic.com/compare/cline-vs-opencode)
- [OpenCode vs Zed](https://dev.havoptic.com/compare/opencode-vs-zed)
- [OpenCode vs Factory Droid](https://dev.havoptic.com/compare/factory-droid-vs-opencode)
- [OpenCode vs Devin](https://dev.havoptic.com/compare/devin-vs-opencode)
- [OpenCode vs Lovable](https://dev.havoptic.com/compare/lovable-vs-opencode)
- [OpenCode vs Amp](https://dev.havoptic.com/compare/amp-vs-opencode)
- [OpenCode vs GitHub Copilot in VS Code](https://dev.havoptic.com/compare/copilot-vscode-vs-opencode)
- [OpenCode vs Replit Agent](https://dev.havoptic.com/compare/opencode-vs-replit-agent)
- [OpenCode vs Bolt](https://dev.havoptic.com/compare/bolt-vs-opencode)
- [OpenCode vs v0](https://dev.havoptic.com/compare/opencode-vs-v0)

## Release Notes

Highlights - Built-In Desktop Browser: 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. 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. (63002, 65073) - Automations: 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. Set "automations": false in your config if you don't want them. (65296, 65186) - Generate Videos: When a connected provider has a video model, the agent can make videos with generatevideo. It keeps working while the video renders and saves the files into your workspace when they're ready. (63666, 65664) - New TUI Look: The TUI's new designs are on by default, and the opencode theme is the new one. Pick opencode-classic in Theme to keep the previous colors. (64988) - Windows Taskbar Status: On Windows, the taskbar button shows session progress, counts sessions that need you and flashes when a permission or question is waiting. (65317, 65318, 65319) Upgrade notes - Image tool renamed. experimentalimagegenerate is now generateimage. Permission rules with the old name are mapped automatically, but saved "always allow" approvals are not, so it asks again once. (65682) - Plugins that follow a version now update on their own. A plugin written as name@latest, a version range (such as name@^1.2.0), a Git branch or a Git semver: range is checked on startup and every 24 hours, and a newer match is installed and reloaded. Ranges never leave their range, and if a new version fails to load the previous one keeps running. A bare name, an exact version, another tag such as @next, a Git tag or a commit hash doesn't update itself; opencode plugin update still updates those by hand. (64764, 65052, 65056) - GitHub Copilot no longer reads GITHUBTOKEN. Set COPILOTGITHUBTOKEN or sign in with OAuth. (64697) - 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. (65282) - The TUI opencode theme changed. It now means the new theme; set opencode-classic for the previous look, and experimental["new-designs"]: false in your TUI config for the previous designs. (64988) - Chat links open in the browser pane. In the desktop app, web links from the chat open beside the conversation. Modifier-click a link to open it in your system browser. A browser deny in your permission rules refuses every agent browser call. (63002) - OpenCode Go connects through OpenCode. The connect dialogs and opencode auth login list one OpenCode option that includes Go models. OpenCode Go is only listed when a Go key is already saved, and saved keys keep working. (65466) - New desktop shortcut. Cmd+Shift+S (Ctrl+Shift+S on Windows and Linux) now archives the open session. The composer's Cmd+U and Escape/Ctrl+G now follow the Attach file and Stop session shortcuts. (65428, 64394) - Code Mode session tool paths moved. tools.opencode.sessionrename and sessionmove are now tools.opencode.session.rename and .move. Direct tool names and permission actions are unchanged. (65080) - TUI plugins need OpenTUI 0.9.4. @opencode/plugin requires @opentui/core and @opentui/solid 0.9.4 or later. Renderers passed to registerCodeBlockRenderer now receive an OpenTUI block (block.text) instead of a Markdown token; codeBlockStyle and escaped are gone. (63989) - SDK: plugins load in the background again. Plugins are meant to load asynchronously, and the server never waits for them. In v2.2.7 the model, provider, generate., voice. and websearch.query endpoints started waiting up to 5 seconds for plugins and returning 503 after that (63040); this release removes that wait. Right after startup these endpoints answer with whatever has loaded, so a list can be empty or partial. Long-lived clients should refresh on the matching .updated event, such as model.updated. One-shot scripts should wait on their side, for example by polling plugin.list until it returns plugins, or the endpoint until the entry they need appears. (63814) - Desktop voice needs a matching server. The app reads each voice model's engine, which older servers don't report, so voice shows as unavailable against a ser...

[View original release](https://github.com/anomalyco/opencode/releases/tag/v2.4.0)

## Other Recent OpenCode Releases

- [v2.4.2](https://dev.havoptic.com/r/opencode-2.4.2) (November 26, 2026)
- [v2.3.1](https://dev.havoptic.com/r/opencode-2.3.1) (November 18, 2026)
- [v1.19.6](https://dev.havoptic.com/r/opencode-1.19.6) (November 17, 2026)
- [v2.3.0](https://dev.havoptic.com/r/opencode-2.3.0) (November 13, 2026)
- [v2.2.7](https://dev.havoptic.com/r/opencode-2.2.7) (November 10, 2026)

Upgrading from v2.4.0? [See all 2 releases since](https://dev.havoptic.com/r/opencode/diff?from=2.4.0&to=latest).

[All OpenCode releases](https://dev.havoptic.com/tools/opencode) · [All AI coding tool releases on Havoptic](https://dev.havoptic.com/)

```json
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Havoptic",
  "alternateName": "Havoptic AI Tool Releases",
  "url": "https://www.havoptic.com/",
  "description": "Havoptic tracks every release of 20 AI coding tools, from Claude Code and Codex CLI to Cursor and Copilot CLI, and explains each one in plain English within hours of shipping.",
  "publisher": {
    "@type": "Organization",
    "name": "Havoptic",
    "url": "https://www.havoptic.com/"
  },
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://www.havoptic.com/?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Havoptic",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "Web",
  "offers": {
    "@type": "Offer",
    "price": "0",
    "priceCurrency": "USD"
  },
  "description": "Havoptic tracks every release of 20 AI coding tools, from Claude Code and Codex CLI to Cursor and Copilot CLI, and explains each one in plain English within hours of shipping."
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://www.havoptic.com/#organization",
  "name": "Havoptic",
  "url": "https://www.havoptic.com/",
  "logo": {
    "@type": "ImageObject",
    "url": "https://www.havoptic.com/og-image.jpg",
    "width": 1200,
    "height": 630
  },
  "description": "Release tracking, plain-English release notes and side-by-side comparisons for AI coding tools, updated hourly.",
  "foundingDate": "2025",
  "sameAs": [
    "https://github.com/scotthavird/havoptic.com",
    "https://x.com/havoptic"
  ],
  "founder": {
    "@id": "https://www.havoptic.com/authors/scott-havird#person"
  }
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "DataCatalog",
  "@id": "https://www.havoptic.com/#data-catalog",
  "name": "Havoptic AI Coding Tool Release Data",
  "description": "Every release of 20 AI coding tools, dated and explained in plain English within hours of shipping, plus feature comparison matrices, free to query through an API, an MCP server, feeds and a CLI. Covers Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, Kiro, GitHub Copilot CLI, Devin Desktop, Antigravity CLI, Grok Build, Cline, OpenCode, Zed, Factory Droid, Devin (cloud agent), Lovable, Amp, GitHub Copilot in VS Code, Replit Agent, Bolt, and v0.",
  "url": "https://www.havoptic.com/api-docs",
  "publisher": {
    "@type": "Organization",
    "name": "Havoptic",
    "url": "https://www.havoptic.com/"
  },
  "dataset": [
    {
      "@type": "Dataset",
      "@id": "https://www.havoptic.com/data/releases.json",
      "name": "AI Coding Tool Releases",
      "description": "Complete release history for Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, Kiro, GitHub Copilot CLI, Devin Desktop, Antigravity CLI, Grok Build, Cline, OpenCode, Zed, Factory Droid, Devin (cloud agent), Lovable, Amp, GitHub Copilot in VS Code, Replit Agent, Bolt, and v0 — including version numbers, release dates, plain-English summaries, and full changelogs. Updated hourly.",
      "url": "https://www.havoptic.com/data/releases.json",
      "distribution": {
        "@type": "DataDownload",
        "encodingFormat": "application/json",
        "contentUrl": "https://www.havoptic.com/data/releases.json"
      },
      "temporalCoverage": "2025/..",
      "creator": {
        "@id": "https://www.havoptic.com/#organization"
      },
      "maintainer": {
        "@type": "Organization",
        "name": "Havoptic",
        "url": "https://www.havoptic.com/"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "Claude Code",
        "OpenAI Codex CLI",
        "Cursor",
        "Gemini CLI",
        "Kiro",
        "GitHub Copilot CLI",
        "Devin Desktop",
        "Windsurf",
        "Antigravity CLI",
        "Grok Build",
        "Cline",
        "OpenCode",
        "Zed",
        "Factory Droid",
        "Devin (cloud agent)",
        "Lovable",
        "Amp",
        "GitHub Copilot in VS Code",
        "Replit Agent",
        "Bolt",
        "v0",
        "AI coding tools",
        "release history",
        "changelogs"
      ]
    },
    {
      "@type": "Dataset",
      "@id": "https://www.havoptic.com/data/feature-matrix.json",
      "name": "AI Coding Tool Feature Matrix",
      "description": "Side-by-side feature comparison data for 20 AI coding tools across categories: Core Editing, Terminal Integration, MCP Support, IDE Integrations, and Agentic Features.",
      "url": "https://www.havoptic.com/data/feature-matrix.json",
      "distribution": {
        "@type": "DataDownload",
        "encodingFormat": "application/json",
        "contentUrl": "https://www.havoptic.com/data/feature-matrix.json"
      },
      "creator": {
        "@id": "https://www.havoptic.com/#organization"
      },
      "maintainer": {
        "@type": "Organization",
        "name": "Havoptic",
        "url": "https://www.havoptic.com/"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "AI coding tools",
        "feature comparison",
        "Claude Code",
        "Cursor",
        "GitHub Copilot",
        "Gemini CLI",
        "Devin Desktop",
        "Windsurf"
      ]
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://dev.havoptic.com"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "OpenCode",
      "item": "https://dev.havoptic.com/tools/opencode"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "v2.4.0",
      "item": "https://dev.havoptic.com/r/opencode-2.4.0"
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "headline": "OpenCode v2.4.0",
  "datePublished": "2026-11-23T09:22:21.000Z",
  "dateModified": "2026-11-23T09:22:21.000Z",
  "url": "https://dev.havoptic.com/r/opencode-2.4.0",
  "image": "https://dev.havoptic.com/og-image.jpg",
  "description": "OpenCode 2.4.0 adds a built-in desktop browser that can import your sign-ins and history from Chrome, Edge, Firefox, or Safari, and lets the agent work on the same pages you do. It also brings automat...",
  "isBasedOn": "https://github.com/anomalyco/opencode/releases/tag/v2.4.0",
  "about": {
    "@type": "SoftwareApplication",
    "name": "OpenCode",
    "softwareVersion": "2.4.0",
    "applicationCategory": "DeveloperApplication",
    "url": "https://github.com/anomalyco/opencode/releases/tag/v2.4.0",
    "releaseNotes": "Highlights - Built-In Desktop Browser: 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. 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. (63002, 65073) - Automations: 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. Set \"automations\": false in your config if you don't want them. (65296, 65186) - Generate Videos: When a connected provider has a video model, the agent can make videos with generatevideo. It keeps working while the video renders and saves the files into your workspace when they're ready. (63666, 65664) - New TUI Look: The TUI's new designs are on by default, and the opencode theme is the new one. Pick opencode-classic in Theme to keep the previous colors. (64988) - Windows Taskbar Status: On Windows, the taskbar button shows session progress, counts sessions that need you and flashes when a permission or question is waiting. (65317, 65318, 65319) Upgrade notes - Image tool renamed. experimentalimagegenerate is now generateimage. Permission rules with the old name are mapped automatically, but saved \"always allow\" approvals are not, so it asks again once. (65682) - Plugins that follow a version now update on their own. A plugin written as name@latest, a version range (such as name@^1.2.0), a Git branch or a Git semver: range is checked on startup and every 24 hours, and a newer match is installed and reloaded. Ranges never leave their range, and if a new version fails to load the previous one keeps running. A bare name, an exact version, another tag such as @next, a Git tag or a commit hash doesn't update itself; opencode plugin update still updates those by hand. (64764, 65052, 65056) - GitHub Copilot no longe"
  },
  "articleBody": "Highlights - Built-In Desktop Browser: 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. 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. (63002, 65073) - Automations: 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. Set \"automations\": false in your config if you don't want them. (65296, 65186) - Generate Videos: When a connected provider has a video model, the agent can make videos with generatevideo. It keeps working while the video renders and saves the files into your workspace when they're ready. (63666, 65664) - New TUI Look: The TUI's new designs are on by default, and the opencode theme is the new one. Pick opencode-classic in Theme to keep the previous colors. (64988) - Windows Taskbar Status: On Windows, the taskbar button shows session progress, counts sessions that need you and flashes when a permission or question is waiting. (65317, 65318, 65319) Upgrade notes - Image tool renamed. experimentalimagegenerate is now generateimage. Permission rules with the old name are mapped automatically, but saved \"always allow\" approvals are not, so it asks again once. (65682) - Plugins that follow a version now update on their own. A plugin written as name@latest, a version range (such as name@^1.2.0), a Git branch or a Git semver: range is checked on startup and every 24 hours, and a newer match is installed and reloaded. Ranges never leave their range, and if a new version fails to load the previous one keeps running. A bare name, an exact version, another tag such as @next, a Git tag or a commit hash doesn't update itself; opencode plugin update still updates those by hand. (64764, 65052, 65056) - GitHub Copilot no longer reads GITHUBTOKEN. Set COPILOTGITHUBTOKEN or sign in with OAuth. (64697) - 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. (65282) - The TUI opencode theme changed. It now means the new theme; set opencode-classic for the previous look, and experimental[\"new-designs\"]: false in your TUI config for the previous designs. (64988) - Chat links open in the browser pane. In the desktop app, web links from the chat open beside the conversation. Modifier-click a link to open it in your system browser. A browser deny in your permission rules refuses every agent browser call. (63002) - OpenCode Go connects through OpenCode. The connect dialogs and opencode auth login list one OpenCode option that includes Go models. OpenCode Go is only listed when a Go key is already saved, and saved keys keep working. (65466) - New desktop shortcut. Cmd+Shift+S (Ctrl+Shift+S on Windows and Linux) now archives the open session. The composer's Cmd+U and Escape/Ctrl+G now follow the Attach file and Stop session shortcuts. (65428, 64394) - Code Mode session tool paths moved. tools.opencode.sessionrename and sessionmove are now tools.opencode.session.rename and .move. Direct tool names and permission actions are unchanged. (65080) - TUI plugins need OpenTUI 0.9.4. @opencode/plugin requires @opentui/core and @opentui/solid 0.9.4 or later. Renderers passed to registerCodeBlockRenderer now receive an OpenTUI block (block.text) instead of a Markdown token; codeBlockStyle and escaped are gone. (63989) - SDK: plugins load in the background again. Plugins are meant to load asynchronously, and the server never waits for them. In v2.2.7 the model, provider, generate., voice. and websearch.query endpoints started waiting up to 5 seconds for plugins and returning 503 after that (63040); this release removes that wait. Right after startup these endpoints answer with whatever has loaded, so a list can be empty or partial. Long-lived clients should refresh on the matching .updated event, such as model.updated. One-shot scripts should wait on their side, for example by polling plugin.list until it returns plugins, or the endpoint until the entry they need appears. (63814) - Desktop voice needs a matching server. The app reads each voice model's engine, which older servers don't report, so voice shows as unavailable against a ser...",
  "author": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "publisher": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://dev.havoptic.com/r/opencode-2.4.0"
  },
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      "#ssr-content p"
    ]
  }
}
```
