Add agentpr issue create/comment/edit #16

Merged
benvin merged 1 commits from benvin/agentpr-issue into main 2026-09-19 16:28:34 +10:00
Member

Filing an issue as unkin-agent means hand-rolling a POST to the issues API with a manually minted token, the exact credential handling agentpr exists to encapsulate.

  • add issue create, issue comment and issue edit, mirroring the pr group's flags, output and errors
  • add CreateIssue/EditIssue to the Gitea client, sharing EditOptions with EditPR
  • build both comment commands from one constructor so pr and issue comments cannot drift off Gitea's shared endpoint
  • cover create, edit, a missing repo, an API error and missing flags
  • document the new subcommands in the README
Filing an issue as unkin-agent means hand-rolling a POST to the issues API with a manually minted token, the exact credential handling agentpr exists to encapsulate. - add `issue create`, `issue comment` and `issue edit`, mirroring the pr group's flags, output and errors - add CreateIssue/EditIssue to the Gitea client, sharing EditOptions with EditPR - build both comment commands from one constructor so pr and issue comments cannot drift off Gitea's shared endpoint - cover create, edit, a missing repo, an API error and missing flags - document the new subcommands in the README
unkin-agent added 1 commit 2026-09-19 16:11:58 +10:00
Add agentpr issue create/comment/edit
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
3de9d35699
Filing an issue as unkin-agent means hand-rolling a POST to the issues
API with a manually minted token, the exact credential handling agentpr
exists to encapsulate.

- add `issue create`, `issue comment` and `issue edit`, mirroring the pr
  command group's flags, output and errors
- add CreateIssue/EditIssue to the Gitea client, sharing EditOptions with
  EditPR
- build both comment commands from one constructor so pr and issue
  comments cannot drift off Gitea's shared endpoint
- cover create, edit, a missing repo, an API error and missing flags
benvin merged commit 2610ea5c09 into main 2026-09-19 16:28:34 +10:00
benvin deleted branch benvin/agentpr-issue 2026-09-19 16:28:34 +10:00
Sign in to join this conversation.