• v0.7.0 fdee7f6212

    v0.7.0
    All checks were successful
    ci / test (pull_request) Successful in 1m14s
    Stable

    ses released this 2026-09-29 19:53:51 +00:00 | 55 commits to main since this release

    v0.7.0 - 2026-09-29

    Breaking

    • The OpenCode plugin now targets the OpenCode 2 plugin API and needs OpenCode >=2.0.0. The V1 API no longer loads, so v0.6.0 and earlier register no tools under OpenCode 2.

    Added

    • The plugin default-exports a V2 definition with a stable id and a setup(ctx) that registers all 37 tools through ctx.tool.transform.
    • The release asset is now forgejoctl.tgz, not forgejoctl.tar.gz. Same bytes; the short extension matches npm, bun pm pack, Yarn, and pnpm.

    Changed

    • Tool arguments are zod schemas, so tool bodies drop their argument casts and return text as content.
    • Host and branch inference use ctx.location.directory, the location the plugin loaded. V2 offers no directory in a tool's execute context.
    • The wake-up notifier fires through ctx.session.prompt, replacing the removed client.session.promptAsync.

    Fixed

    • bun pm pack builds before packing, so a source-only tarball can no longer ship without dist/plugin.js and get silently dropped by OpenCode.
    • The package ships dependencies: {}. OpenCode's installer resolves declared dependencies against the registry, which broke the install on a host that cannot reach registry.npmjs.org. Everything is bundled into dist/plugin.js.

    No new tools here. Label CRUD, whoami, and repo list shipped in v0.6.0.

    Upgrading: point the opencode.json plugins entry at this release URL, then run opencode plugin list twice. A dash in the id column right after the bump is OpenCode installing in the background, not a failure.

    Downloads