Skip to content

feat(cli): add PR and review action commands#2987

Open
DS123-ally wants to merge 1 commit into
AgentWrapper:mainfrom
DS123-ally:agent/cli-pr-review-actions
Open

feat(cli): add PR and review action commands#2987
DS123-ally wants to merge 1 commit into
AgentWrapper:mainfrom
DS123-ally:agent/cli-pr-review-actions

Conversation

@DS123-ally

Copy link
Copy Markdown

Summary

  • add ao pr merge <pr-number>
  • add ao pr resolve-comments <pr-number> [comment-id...]
  • add ao review ls <worker-session-id>
  • add ao review trigger <worker-session-id>
  • add ao review execute <worker-session-id> as an alias for trigger
  • add ao review cancel <worker-session-id>
  • update CLI docs for the new command-to-daemon route mapping

Why

The daemon already exposes PR and review action routes, but the CLI did not provide user-facing commands for several of them. This adds thin CLI parity while keeping daemon behavior as the source of truth.

Notes

ao pr merge and ao pr resolve-comments call the existing daemon PR action routes. This PR does not change the daemon-side PR action implementation.

Validation

  • go test ./internal/cli
  • go test ./internal/httpd/controllers
  • npm.cmd run typecheck

Broader Windows suite notes:

  • go test ./... currently has failures outside this CLI change, mostly Windows/environment-sensitive packages.
  • npm.cmd run test fails only in src/main/supervisor-link.test.ts with local socket EACCES on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant