Yomorai

v0.0.2
io.github.shashikanth-a/yomorai Checked 5 hours ago Published 6 hours ago

Review a frontend change in real browsers: what it changed, what it broke, what was intended.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

start_review Start a review

Starts a review comparing a preview deployment with production. Local backend: give productionUrl and previewUrl. Remote backend: give repository and prNumber. A pull request that needs approval returns status pending_approval and nothing is executed.

ParameterTypeDescription
categoriesarray
prNumberinteger
previewUrlstring
productionUrlstring
repositorystringowner/name
routesarray
viewportsarray

get_review_status Get review status

Returns the state of a review, its stages, its conclusion when finished, and finding counts by classification.

ParameterTypeDescription
reviewId *stringReview identifier, e.g. rev_01abc

list_findings List findings

Lists the findings of a review, optionally filtered by severity, classification or category.

ParameterTypeDescription
reviewId *stringReview identifier, e.g. rev_01abc
categoryarray
classificationarray
severityarray

get_finding_evidence Get the evidence of a finding

Returns the evidence a finding rests on: metadata and verification status for each item. Screenshots are attached as images only when includeImages is true and the image is at most 1 MB. Text evidence is included only when includeText is true, and is truncated.

ParameterTypeDescription
findingId *string
reviewId *stringReview identifier, e.g. rev_01abc
includeImagesboolean
includeTextboolean

get_affected_routes Get affected routes

Returns the routes a review considers affected by the change, with the reason for each, the uncertainty of the inferred intent, and the scenarios planned for them.

ParameterTypeDescription
reviewId *stringReview identifier, e.g. rev_01abc

generate_test_candidates Get generated test candidates

Returns the Playwright test candidates generated from the verified scenarios of a review, with their self-check result and approval state. Candidates are proposals; exporting them requires approval by a maintainer.

ParameterTypeDescription
reviewId *stringReview identifier, e.g. rev_01abc
includeCodeboolean

verify_change Verify a change against a baseline

Runs a local review of changedUrl against baselineUrl on the given routes and returns the findings and an overall status: clean, issues or incomplete. Both URLs must be http(s); their origins are added to the allowlists of this run only. The baseline is treated as production: requests that would change data are blocked there.

ParameterTypeDescription
baselineUrl *string
changedUrl *string
routes *array
categoriesarray
viewportsarray