• v0.8.0 a526b23419

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

    ses released this 2026-11-22 16:03:53 +00:00 | 0 commits to main since this release

    v0.8.0 - 2026-11-22

    • Added: Pull request diff, file and commit reads on all three surfaces — pr diff, pr files, pr commits on the CLI, get_pull_request_diff, list_pull_request_files and list_pull_request_commits in MCP and the plugin.
    • Added: Review writes on all three surfaces — pr review create, submit, comment, comments and delete-comment, with inline comments anchored by old or new line.
    • Added: forgejoctl api, a passthrough with fgj-style -f/-F/--input fields for one-off endpoints. CLI only: handing an agent arbitrary HTTP under the user's token is a privilege escalation.
    • Added: -F key=@file reads a field value from a file, matching fgj and tea. --input still reads a whole request body.
    • Added: Behaviour hints — read-only, destructive, idempotent — on all 51 MCP tools, and a static permission key on every plugin tool.
    • Changed: Review verbs are grouped under forgejoctl pr review ... instead of top-level pr create-review-style names.
    • Changed: The MCP server reports package.json#version in serverInfo instead of a hard-coded 0.0.0.
    • Fixed: The plugin and MCP no longer depend on Bun-only globals (Bun.file, Bun.spawn, import.meta.dir), and the test suite runs on vitest. This ends the Bun is not defined crash that dropped the plugin from a Node-hosted session.
    • Fixed: Restored the isRepo guard in repository metadata, the default token reader and the Bun.file polyfill behaviour lost in the Node migration.
    • Fixed: The api passthrough refuses caller-set Host, framing and hop-by-hop headers, refuses redirects, and rejects a next link that names an already-fetched page.
    • Fixed: Release and tag lists reject an out-of-range page window; the label and milestone resolvers walk every page instead of stopping at 50.
    • Fixed: pr review unrequest reports what was actually withdrawn, dismiss and undismiss are marked idempotent, and the unreachable --review-id flag is gone.
    • Updated: tsc gets an explicit NODE_OPTIONS=--max-old-space-size=1024 in CI; the project's ~640 MB working set exceeded the runner's default heap.

    Upgrading: point the plugins entry at https://forge.sebatec.eu/sebatec-eu/forgejoctl/releases/download/v0.8.0/forgejoctl.tgz, 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
  • 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
  • v0.6.0 4ae088090b

    v0.6.0 Stable

    ses released this 2026-09-09 13:35:38 +00:00 | 62 commits to main since this release

    v0.6.0 - 2026-09-09

    • Added: Repo label CRUD — create, read, list, update, delete — across the CLI, MCP server, and OpenCode plugin (#42).
    • Added: whoami and repo list subcommands and matching MCP and OpenCode plugin tools.

    No breaking changes.

    Downloads
  • v0.5.5 586f2f822a

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

    ses released this 2026-09-06 22:29:21 +00:00 | 73 commits to main since this release

    v0.5.5 — tooling and doc hygiene only; no feature changes.

    Tooling

    • chore(mise): set BUN_MAX_WORKERS=1 at project scope
    • chore(workflows): drop publish.yaml; releases are local now

    Docs

    • docs: consolidate host gotchas and releasing runbook
    • docs(release): wrap build gates in mise tasks; ship release as draft until assets land
    Downloads
  • v0.5.4 076b2cb940

    v0.5.4
    Some checks failed
    ci / test (pull_request) Successful in 1m16s
    publish / publish (release) Failing after 54s
    Stable

    ses released this 2026-09-06 21:52:43 +00:00 | 77 commits to main since this release

    Release-pipeline simplification for a more robust release process: dropped OIDC JWT minting and the npm registry publish path; the workflow now just runs lint, typecheck, test, build, then uploads forgejoctl and forgejoctl.tar.gz as release assets.

    Downloads
  • v0.5.1 af18df5fc5

    v0.5.1
    Some checks failed
    publish / publish (release) Failing after 1m7s
    Stable

    ses released this 2026-09-04 22:13:10 +00:00 | 88 commits to main since this release

    v0.5.1 - 2026-09-04

    Consolidated changelog of user-facing changes since v0.3.0. The underlying
    features already shipped in v0.4.0, v0.4.1, v0.4.2, and v0.5.0; v0.5.1
    documents them in one place.

    Releases & tags coverage

    Eleven release and tag operations now ship across all three adapters (MCP,
    OpenCode plugin, CLI). Tag-only addressing throughout; pass tag="latest" to
    get_release to resolve the latest non-prerelease, non-draft release.

    • Added: list_releases, get_release, create_release, update_release,
      delete_release, list_tags, get_tag, create_tag, delete_tag,
      list_release_assets, delete_release_asset in MCP, OpenCode plugin, and CLI.
    • Added: release_asset_upload in the CLI for attaching the compiled
      binary or tarball to a release. Asset upload stays CLI-only — MCP stdio has
      no outbound binary blocks, and the CLI is the natural CI consumer with the
      file path on disk.
    • Added: update_pull_request (title and body via PATCH) in MCP, OpenCode
      plugin, and CLI; coverage previously ended at create_pull_request.

    Authentication

    • Added: FORGEJO_TOKEN_FILE env var — path to a file containing the API
      token. Defaults to /run/secrets/forgejo-token and takes precedence over
      FORGEJO_TOKEN. Useful for containerized deployments and CI where
      mounting a secret file is preferred over injecting the token directly.

    Packaging

    • Fixed: removed exports["./server"] from package.json. The subpath
      pointed at dist/server.js, whose top-level createMcpServer/runMcpServer
      exports triggered OpenCode's legacy plugin loader and crashed reading
      .config/.event on non-Hooks return values (introduced in v0.4.0).
      Use bunx @sebatec-eu/forgejoctl serve-mcp for MCP entry — the CLI
      subcommand is the supported path.
    Downloads