Changelog
New updates and improvements to OpenCode
v2.4.2 Plan mode's rules are in the system prompt
Plan mode's rules are in the system prompt. Sessions already in Plan mode get the rules once more after upgrading.#63669
See all highlights in v2.4.2Improvements
- ExtensionsPromise plugin API calls honor
signal. Aborting rejects the call.#65980
- ExtensionsPromise plugin API calls honor
v2.4.1 @opencode/pluginnow supports@opentui/coreand@opentui/solidfrom version 0.8.0
See all highlights in v2.4.1@opencode/pluginnow supports@opentui/coreand@opentui/solidfrom version 0.8.0, allowing plugins capped below OpenTUI 0.9 to install again.#65819Improvements
- ExtensionsEffect and Promise plugins can create, list and delete automations through
ctx.experimental.automation.{create,list,delete}.#65747
- ExtensionsEffect and Promise plugins can create, list and delete automations through
v2.4.0 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
See all highlights in v2.4.0Generate Videos
When a connected provider has a video model, the agent can make videos with
generate_video. It keeps working while the video renders and saves the files into your workspace when they're ready.#63666#65664Improvements
- Core, ExtensionsRemoving a Sign in with ChatGPT account, with
opencode auth logoutor the remove button in the app, now also revokes it with OpenAI.#64947 - ExtensionsA plugin tool can set
options.codemodeto an object ({ pinned?, description?, input?, output? }) to give its Code Mode form its own description and schemas. Top-leveloptions.pinnedstill works but is deprecated.#64515 - ExtensionsTUI plugins can read a session's running background jobs with
api.data.job.list(sessionID)(experimental).#64956 - ExtensionsGUI plugins can declare their own SVG icons with
Plugin.define({ icons })and use them throughctx.icons. The built-inoutline-pairandoutline-steericons were removed.#64577 - ExtensionsThe GUI composer API adds
composer.send(commentID)andcomposer.delivery(), and theBrowsercontract addsexperimental.openandexperimental.close.#65264#63002
- Core, ExtensionsRemoving a Sign in with ChatGPT account, with
v2.3.1 Each tool call inside a Code Mode program now has its own call ID in plugin hooks and traces
Each tool call inside a Code Mode program now has its own call ID in plugin hooks and traces. Its permission requests still show on the
See all highlights in v2.3.1executecall's row.#64324Improvements
Fixes
- ExtensionsThe browser extension's URL bar action buttons are now spaced 6px apart.#64214
v2.3.0 Promise-based tools can cooperatively stop through
See all highlights in v2.3.0ToolContext.signalImprovements
- ExtensionsAdded the experimental
session.forkhook. - ExtensionsPromise plugin cleanup failures no longer prevent subsequent plugin replacements.
- Extensions
@opencode/plugin/effectnow exportsTool, so anexecute.beforehook can reject a call withTool.Errorwithout importing@opencode/schema/tool.#63698
- ExtensionsAdded the experimental
v2.2.7 v2.2.6 GUI Plugin Themes and New Slots
GUI plugins can now add color themes, render or add actions to code blocks, and use native settings and menu components.#61485#61533#61527#61509
See all highlights in v2.2.6Fixes
v2.2.4 Publish Interactive Artifacts
Enable
See all highlights in v2.2.4"experimental": { "artifacts": true }inopencode.jsonto let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage.#60351v2.2.3 Added persistent-terminal renaming to the process daemon
Added persistent-terminal renaming to the process daemon, including capability discovery and user titles that override shell-provided titles until cleared.#60324
See all highlights in v2.2.3Fixes
- ExtensionsPreserved
nullvalues in Code Mode text encoding.#57639@xiajiahang - ExtensionsTidied nested Extensions menus.#59468
- ExtensionsPreserved
v2.2.2 Unified Quotes and Annotations
Timeline quotes, terminal quotes, and browser annotations now share a compact optional-comment editor, while source highlights remain attached to local drafts.#60164
See all highlights in v2.2.2Fixes
- ExtensionsCorrected visible flowchart edges connected through Merman subgraphs.