OpenCode 2.4.0 adds a built-in desktop browser and a way to schedule agent work. Together, they let the agent act on websites where you are already logged in, without you at the keyboard.

A browser the agent shares with you

The browser can import sign-ins and browsing history from Chrome, Edge, Firefox or Safari. It can also add extensions from Chromium browsers or the Chrome and Edge stores. Everything lives in one persistent desktop profile, so tabs survive restarts and chat links open already signed in. The release notes say the agent can read and drive the same pages you have open.

That is convenient for a task like checking a dashboard behind a login. It also means the agent can reach any account whose sign-in you imported. Import only the accounts the work needs.

The browser pane supports permission prompts, and a browser deny rule in your permission rules blocks all agent browser calls. Use the deny rule if you want the browser for yourself only.

Automations run prompts on a schedule

The agent can now run a prompt, a script or a shell command on a timer, on a cron schedule (a recurring time pattern) or when an MCP server sends an event. MCP servers are the add-on connectors that give agents access to outside tools. You manage the jobs with /automation.

Shell commands ask for approval once, when the automation is created, so read the command carefully before you approve it. If you do not want scheduled work at all, set "automations": false in your config.

Other changes that can break a setup

  • Copilot sign-in: Copilot now requires COPILOT_GITHUB_TOKEN instead of GITHUB_TOKEN.
  • Image tool rename: experimental_image_generate is now generate_image. Permission rules with the old name carry over, but saved “always allow” approvals do not, so it asks once more.
  • Plugin updates: Plugins pinned to @latest, a version range or a branch now check for updates at startup and every 24 hours.
  • MCP connections: Servers are tried with the newest protocol first. Set protocol: "legacy" for a server that fails.
  • New look: The new terminal design is on by default. Choose the opencode-classic theme to keep the old colors.

The release also adds a generate_video tool for providers with a video model, and Windows taskbar progress and alerts.


End of article