-
released this
2026-11-22 16:03:53 +00:00 | 0 commits to main since this releasev0.8.0 - 2026-11-22
- Added: Pull request diff, file and commit reads on all three surfaces —
pr diff,pr files,pr commitson the CLI,get_pull_request_diff,list_pull_request_filesandlist_pull_request_commitsin MCP and the plugin. - Added: Review writes on all three surfaces —
pr review create,submit,comment,commentsanddelete-comment, with inline comments anchored by old or new line. - Added:
forgejoctl api, a passthrough withfgj-style-f/-F/--inputfields for one-off endpoints. CLI only: handing an agent arbitrary HTTP under the user's token is a privilege escalation. - Added:
-F key=@filereads a field value from a file, matchingfgjandtea.--inputstill 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-levelpr create-review-style names. - Changed: The MCP server reports
package.json#versioninserverInfoinstead of a hard-coded0.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 theBun is not definedcrash that dropped the plugin from a Node-hosted session. - Fixed: Restored the
isRepoguard in repository metadata, the default token reader and theBun.filepolyfill behaviour lost in the Node migration. - Fixed: The
apipassthrough refuses caller-setHost, framing and hop-by-hop headers, refuses redirects, and rejects anextlink 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 unrequestreports what was actually withdrawn, dismiss and undismiss are marked idempotent, and the unreachable--review-idflag is gone. - Updated:
tscgets an explicitNODE_OPTIONS=--max-old-space-size=1024in CI; the project's ~640 MB working set exceeded the runner's default heap.
Upgrading: point the
pluginsentry athttps://forge.sebatec.eu/sebatec-eu/forgejoctl/releases/download/v0.8.0/forgejoctl.tgz, then runopencode plugin listtwice. A dash in the id column right after the bump is OpenCode installing in the background, not a failure.Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- Added: Pull request diff, file and commit reads on all three surfaces —
-
released this
2026-09-29 19:53:51 +00:00 | 55 commits to main since this releasev0.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, notforgejoctl.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 packbuilds 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, andrepo listshipped in v0.6.0.Upgrading: point the
opencode.jsonpluginsentry at this release URL, then runopencode plugin listtwice. A dash in the id column right after the bump is OpenCode installing in the background, not a failure.Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v0.6.0 Stable
released this
2026-09-09 13:35:38 +00:00 | 62 commits to main since this releasev0.6.0 - 2026-09-09
- Added: Repo label CRUD — create, read, list, update, delete — across the CLI, MCP server, and OpenCode plugin (#42).
- Added:
whoamiandrepo listsubcommands and matching MCP and OpenCode plugin tools.
No breaking changes.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
released this
2026-09-06 22:29:21 +00:00 | 73 commits to main since this releasev0.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
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
v0.5.4
Stablereleased this
2026-09-06 21:52:43 +00:00 | 77 commits to main since this releaseRelease-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
forgejoctlandforgejoctl.tar.gzas release assets.Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
-
Source code (ZIP)
-
released this
2026-09-04 22:13:10 +00:00 | 88 commits to main since this releasev0.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; passtag="latest"to
get_releaseto 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_assetin MCP, OpenCode plugin, and CLI. - Added:
release_asset_uploadin 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 atcreate_pull_request.
Authentication
- Added:
FORGEJO_TOKEN_FILEenv var — path to a file containing the API
token. Defaults to/run/secrets/forgejo-tokenand 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"]frompackage.json. The subpath
pointed atdist/server.js, whose top-levelcreateMcpServer/runMcpServer
exports triggered OpenCode's legacy plugin loader and crashed reading
.config/.eventon non-Hooks return values (introduced in v0.4.0).
Usebunx @sebatec-eu/forgejoctl serve-mcpfor MCP entry — the CLI
subcommand is the supported path.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- Added: