jrabbit
v0.4.0Your partner for shipping products.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
open_review Open review
Open the app in the browser with the jrabbit overlay so the human can point at elements and comment, then wait for their first pins (like wait_for_feedback). Before calling it, tell the human in one line: press P to point at an element, comment, and press Send. Proxies the dev server; the project's code is not modified. Fails with a clear reason if nothing is running at the URL.
| Parameter | Type | Description |
|---|---|---|
url * | string | Dev server URL, e.g. http://localhost:3000 or http://localhost:3000/pricing |
open | boolean | Open the browser (default true) |
wait_seconds | integer | How long to wait for the first pins. Default: as long as your client allows; 0 returns right away |
wait_for_feedback Wait for feedback
Block until the human presses Send (or reopens a pin), then return the new pins with screenshots and source locations. Returns immediately if there are pins you have not received yet. On status "timeout", call it again right away. Stop only on status "done" or "idle", or when the human says they are done.
| Parameter | Type | Description |
|---|---|---|
timeout_seconds | integer | Leave it out: jrabbit waits as long as your client allows. Longer values are shortened to that. |
list_feedback List feedback
List pins, optionally filtered by status. No images; use get_feedback for one pin with screenshots.
| Parameter | Type | Description |
|---|---|---|
page | string | Only pins on this path, e.g. /pricing |
status | string |
get_feedback Get feedback
Get one pin by id or number, with its before/after screenshots.
| Parameter | Type | Description |
|---|---|---|
id * | string | Pin id (pin_…) or number (3 or #3) |
resolve_feedback Resolve feedback
Mark pins as resolved after you changed the code: one with id + summary, or several with pins: [{id, summary}]. Captures after screenshots in the human's browser (several at once when batched, 45 s at most) and returns before/after so you can verify. Idempotent. This does not approve: only the human approves.
| Parameter | Type | Description |
|---|---|---|
id | string | Pin id (pin_…) or number, to resolve one pin |
pins | array | Resolve several pins in one call |
summary | string | What you changed, in one or two sentences, for the human |
reopen_feedback Reopen feedback
Reopen a resolved pin, e.g. when the after screenshot shows the change did not work.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
reason | string |
propose_rule Propose rule
Save a repeated correction as a draft rule in .jrabbit/rules/ (versioned with the repo). Drafts do not apply until the human approves them in the browser.
| Parameter | Type | Description |
|---|---|---|
rule * | string | The rule, specific and checkable |
title * | string | Short imperative title, e.g. 'No neutral grays' |
pins | array | Pin ids or numbers this rule comes from |
list_rules List rules
List taste rules, drafts included. The approved ones already come with the pins from wait_for_feedback: follow them when editing UI.
| Parameter | Type | Description |
|---|---|---|
status | string |
update_rule Update rule
Reword a rule's title or text. The rule goes back to draft, even if it was approved: the human approves the new wording before it applies.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Rule slug, from list_rules |
rule | string | The new rule text |
title | string |
delete_rule Delete rule
Delete a draft rule you proposed. Approved rules belong to the human: they remove them in the browser.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Rule slug, from list_rules |
archive_feedback Archive feedback
Move approved pins and their screenshots to .jrabbit/archive/ so lists stay short. Only approved pins move; pin numbers are never reused.
| Parameter | Type | Description |
|---|---|---|
pins | array | Pin ids or numbers. Default: every approved pin |
close_review Close review
End the review when the human says they are done. Agents stop waiting and the overlay shows the review as ended. Pins and rules stay. open_review, or a new pin from the human, starts it again.
status Status
Review state: URL, connected browsers, pin counts by status, rules, and where the store lives.