forgejo-mcp/cmd
Christoph Görn a41115b9bb
feat: ✨ add 14 MCP tools for Forgejo releases and release attachments
Implements openspec change add-releases-support (forgejo-mcp-0ep).

- operation/release/: 8 release tools (list/get/create/edit/delete,
  state filter, by-tag variants) + 6 attachment tools (list/get/
  download/create/edit/delete), wired in operation.go + cmd/cli.go
- State filter (all|draft|prerelease|published) applied client-side;
  list_release_attachments sliced client-side (no SDK pagination)
- download_release_attachment reuses MaxInlineDownloadBytes cap and
  BlobResourceContents inline shape from the issue/comment domains
- 19 unit tests covering pagination, state guard, partial-edit PATCH,
  base64 decode guard, client-side slice boundaries, over/at-cap download
- params: ReleaseID/Tag/TagName/TargetCommitish/Draft/Prerelease/State
- README tools table + DEVELOPER.md domain list updated
- demos/release-management.md: read-only walkthrough with real
  Codeberg output; write-tool surface; autonomous release-notes workflow
2026-05-12 16:45:53 +02:00
..
cli.go feat: ✨ add 14 MCP tools for Forgejo releases and release attachments 2026-05-12 16:45:53 +02:00
cmd.go feat: ✨ add streamable HTTP transport support (#99) 2026-03-28 00:07:10 +01:00