Repository navigation
Spectra v0.1.3
Screenshot automation now works reliably when the app isn't in front, and
screenshots show what they're evidence for.
Fixed
- Automation screenshots while minimized. Captures taken while Spectra was
minimized or behind other windows landed on the wrong scroll position — the
window was only raised moments before the capture, after the UI had already
scrolled against a window that wasn't being drawn. The window is now brought
to the front before any of that work happens. automation_focus_requestnow actually focuses. It previously only
switched the in-app tab, leaving a minimized app minimized.- False "not found" when the response wasn't on the body view. The editor
that highlighting searches only exists when the raw body view is showing, so
a request left on the Headers tab or HTML Preview reported no match instead
of switching views first. - Consistent screenshot framing. Matches are now scrolled to the same place
every time — third visible line, with two lines of context above — instead of
landing wherever the previous capture left the viewport.
Added
- Field highlighting in screenshots.
search_responsenow draws a box
around its matches, so a screenshot is self-documenting. On by default; pass
highlight: falsefor a plain capture. - New
highlight_fieldMCP tool. Marks one specific field or object in a
response and screenshots it — useful when a screenshot needs to prove which
value you checked (e.g. thatmfa_enabledisfalse).fieldresolves as a JSON path first (data.user.email,
items[0].id). Pointing at an object or array boxes the entire block,
ending exactly at its closing brace.- Falls back to a literal text match when the path doesn't resolve, which
also handles multi-line HTML. - Optional
labeldraws a caption beside the highlight. - Returns
matched_by(json_path/text/not_found),match_count,
first_match_line, andvalue_preview.
send_and_screenshotgained ahighlight_fieldparameter for marking a
field in the same round trip.
Notes
- Highlight colors are fixed rather than theme-derived, so markers read the same
in Light, Dark, and Crimson — screenshots usually get viewed outside the app. - Existing tool calls are unchanged; both features default to the new behavior
without requiring new parameters. - macOS only. The Windows build remains at 0.1.2.