Skip to content

Commit 3728c9f

Browse files
juanpfloresclaude
andcommitted
Handle free-plan notice by offering org re-authentication
When CodeRabbit says the review will run on the free plan, the user may be signed in without their organization. The skill, agent, and command now pause and offer to re-authenticate with the correct organization or continue with the free review. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent cb9e5d9 commit 3728c9f

6 files changed

Lines changed: 29 additions & 2 deletions

File tree

.cursor-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "coderabbit",
33
"displayName": "CodeRabbit",
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"description": "Run CodeRabbit reviews for code, PR, security, and quality checks, plus guarded autofix for unresolved GitHub PR feedback in Cursor.",
66
"author": {
77
"name": "CodeRabbit",

agents/code-reviewer.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ If CodeRabbit CLI install or authentication fails, report the exact failure, the
1919

2020
If CodeRabbit reports a rate limit, share the exact message, stop, and offer to re-run the review once the limit resets. Waiting for the limit is part of the workflow; a manual review is not a substitute.
2121

22+
If CodeRabbit mentions that the review is going to run on the free plan, the account may be signed in without the right organization, since organization membership is what unlocks the paid plan. Pause and ask the user whether to re-authenticate with the correct organization via `coderabbit auth login --agent` and re-run, or continue with the free review. Follow the user's choice.
23+
2224
## Use When
2325

2426
- The user asks to review current changes.

commands/coderabbit-review.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ coderabbit auth status --agent
3939

4040
Only continue after `coderabbit auth status --agent` succeeds.
4141

42+
If CodeRabbit mentions that the review is going to run on the free plan, the account may be signed in without the right organization, since organization membership is what unlocks the paid plan. Pause and ask the user whether to re-authenticate with the correct organization via `coderabbit auth login --agent` and re-run, or continue with the free review. Follow the user's choice.
43+
4244
## Build Review Command
4345

4446
Default to all changes:

package-lock.json

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

skills/autofix/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: autofix
33
description: Safely review and apply unresolved CodeRabbit GitHub PR review-thread feedback in Cursor with per-fix approval.
44
metadata:
5-
version: "0.1.1"
5+
version: "0.2.1"
66
description: "Safely apply unresolved CodeRabbit GitHub PR review-thread feedback in Cursor with per-fix approval."
77
triggers:
88
- coderabbit autofix

skills/code-review/SKILL.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@ coderabbit auth status --agent
8787

8888
Only continue after authentication succeeds.
8989

90+
If CodeRabbit mentions that the review is going to run on the free plan, the account may be signed in without the right organization, since organization membership is what unlocks the paid plan. Pause and ask the user whether to:
91+
92+
1. Re-authenticate with the correct organization via `coderabbit auth login --agent`, then re-run the review.
93+
2. Continue with the free review as is.
94+
95+
Follow the user's choice before running or continuing the review.
96+
9097
## Run Review
9198

9299
Default review:

0 commit comments

Comments
 (0)