Skip to content

Changelog

New updates and improvements to OpenCode

  1. 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.2

    Improvements

    • ExtensionsPromise plugin API calls honor signal. Aborting rejects the call.#65980
  2. v2.4.1

    @opencode/plugin now supports @opentui/core and @opentui/solid from version 0.8.0

    @opencode/plugin now supports @opentui/core and @opentui/solid from version 0.8.0, allowing plugins capped below OpenTUI 0.9 to install again.#65819

    See all highlights in v2.4.1

    Improvements

    • ExtensionsEffect and Promise plugins can create, list and delete automations through ctx.experimental.automation.{create,list,delete}.#65747
  3. 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

    Generate 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#65664

    See all highlights in v2.4.0

    Improvements

    • Core, ExtensionsRemoving a Sign in with ChatGPT account, with opencode auth logout or the remove button in the app, now also revokes it with OpenAI.#64947
    • ExtensionsA plugin tool can set options.codemode to an object ({ pinned?, description?, input?, output? }) to give its Code Mode form its own description and schemas. Top-level options.pinned still 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 through ctx.icons. The built-in outline-pair and outline-steer icons were removed.#64577
    • ExtensionsThe GUI composer API adds composer.send(commentID) and composer.delivery(), and the Browser contract adds experimental.open and experimental.close.#65264#63002
  4. 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 execute call's row.#64324

    See all highlights in v2.3.1

    Improvements

    • ExtensionsPlugin SessionIdleBackground items can now be { kind: "codemode", sessionID, jobID }, and GUI plugin BridgeLayout accepts an optional clip rectangle.#64343#63819

    Fixes

    • ExtensionsThe browser extension's URL bar action buttons are now spaced 6px apart.#64214
  5. v2.3.0

    Promise-based tools can cooperatively stop through ToolContext.signal

    See all highlights in v2.3.0

    Improvements

    • ExtensionsAdded the experimental session.fork hook.
    • ExtensionsPromise plugin cleanup failures no longer prevent subsequent plugin replacements.
    • Extensions@opencode/plugin/effect now exports Tool, so an execute.before hook can reject a call with Tool.Error without importing @opencode/schema/tool.#63698
  6. v2.2.7

    Improvements

    See all highlights in v2.2.7

    Improvements

    • ExtensionsACP clients can redirect a running turn with the _session/steering extension, advertised as _meta.steering.supported in initialize.#54394@smagnuso
  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.6

    Fixes

    • ExtensionsIsolated plugin dialogs, Markdown renderers, terminal views, lazy chunks, and artifact viewers so failures do not take down their host surface.#62110#62123#61993
  8. v2.2.4

    Publish Interactive Artifacts

    Enable "experimental": { "artifacts": true } in opencode.json to let agents publish, update, and serve HTML or static artifacts through the built-in local provider or plugin-provided storage.#60351

    See all highlights in v2.2.4
  9. v2.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.3

    Fixes

    • ExtensionsPreserved null values in Code Mode text encoding.#57639@xiajiahang
    • ExtensionsTidied nested Extensions menus.#59468
  10. 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.2

    Fixes

    • ExtensionsCorrected visible flowchart edges connected through Merman subgraphs.