Repository navigation
feat: add remote approval scope choices - #121
Conversation
Remote attach and repl needed parity with the local approval UI so users can approve once, approve for the session, or reject with feedback from the CLI.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR enhances the remote client approval flow to support session-scope approval decisions and structured rejection feedback. The implementation replaces binary yes/no prompts with multi-option CLI prompts that allow users to approve once, approve for the entire session, reject, or reject with a reason. The approval decision now includes ChangesRemote Approval Scope Enhancement
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
src/coding_agent/remote/client.pyadr-0019-pr8-remote-approval-scope.mdVerification
uv run pytest tests/cli/test_remote_client.py -k \"approval_request or formats_approval\" -vuv run pytest tests/ui/test_http_server.py -k \"approval and session\" -vuv run basedpyright --level error src/coding_agent/remote/client.py tests/cli/test_remote_client.pyareturns_ApprovalDecision(... scope='session')and invalid input falls back to_ApprovalDecision(approved=False, feedback='Rejected by user', scope='once')Summary by CodeRabbit
Release Notes