jrabbit

v0.4.0
jrabbit Checked 4 days ago Published 20 days ago

Your 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.

ParameterTypeDescription
url *stringDev server URL, e.g. http://localhost:3000 or http://localhost:3000/pricing
openbooleanOpen the browser (default true)
wait_secondsintegerHow 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.

ParameterTypeDescription
timeout_secondsintegerLeave 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.

ParameterTypeDescription
pagestringOnly pins on this path, e.g. /pricing
statusstring

get_feedback Get feedback

Get one pin by id or number, with its before/after screenshots.

ParameterTypeDescription
id *stringPin 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.

ParameterTypeDescription
idstringPin id (pin_…) or number, to resolve one pin
pinsarrayResolve several pins in one call
summarystringWhat 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.

ParameterTypeDescription
id *string
reasonstring

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.

ParameterTypeDescription
rule *stringThe rule, specific and checkable
title *stringShort imperative title, e.g. 'No neutral grays'
pinsarrayPin 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.

ParameterTypeDescription
statusstring

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.

ParameterTypeDescription
slug *stringRule slug, from list_rules
rulestringThe new rule text
titlestring

delete_rule Delete rule

Delete a draft rule you proposed. Approved rules belong to the human: they remove them in the browser.

ParameterTypeDescription
slug *stringRule 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.

ParameterTypeDescription
pinsarrayPin 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.