Maple
v0.17.1Review comments pinned to a running frontend, read and resolved by your coding agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_comments List review comments
Return the review comments on a branch, newest first.
| Parameter | Type | Description |
|---|---|---|
branch * | string | Head branch of the pull request the comments are on, such as `feat/login`. Not a pull request number. |
statuses | array | Only these states. Omit for all of them. |
wait_for_comments Wait for review comments
Block until a new comment arrives or the wait elapses. Returns status "timeout" rather than failing when nothing arrives.
| Parameter | Type | Description |
|---|---|---|
branch * | string | Head branch of the pull request the comments are on, such as `feat/login`. Not a pull request number. |
cursor | string | Timestamp from a previous call. Only comments newer than this are returned; omit it to drain everything already there. |
timeoutMs | number | How long to wait. Clamped to 55 seconds, under every client's ceiling. |
resolve_comment Resolve a review comment
Mark a comment resolved, recording the commit that addressed it.
| Parameter | Type | Description |
|---|---|---|
id * | string | The comment's id. |
sha * | string | Commit you believe addresses it. |
note | string | What you changed, for the reviewer. |
get_comment_context Get a comment's context
Return everything needed to act on one comment: anchor, viewport, surrounding markup and any replay link. A comment written under a Maple Mock carries `mock.recipe` and `mock.replay`, a link to the page in that state.
| Parameter | Type | Description |
|---|---|---|
branch * | string | Head branch of the pull request the comments are on, such as `feat/login`. Not a pull request number. |
id * | string | The comment's id. |
start_solo Keep a preview's comments on this machine
Start a bridge on localhost and return the link that pairs a deployed preview with it. The reviewer opens the link in their browser and the comments they write there land in .maple/ for list_comments and wait_for_comments to read. They never count toward the merge gate.
| Parameter | Type | Description |
|---|---|---|
previewUrl * | string | The deployed preview's URL, such as `https://feat-login.preview.example`. Only that origin is paired with the bridge. |