Skip to content

v0.12.0 - Lightweight base install (Playwright now optional)

Choose a tag to compare

@kalil0321 kalil0321 released this 22 Jul 21:53
· 5 commits to main since this release
b2c43a1

Changed

  • Playwright is now an optional [manual] extra. Agent mode (the default) captures through npx-launched browser tooling — browser MCP servers (Playwright or Chrome DevTools) or the Vercel agent-browser CLI — and never imports the Python Playwright package. playwright and playwright-stealth moved out of the base dependencies into a [manual] optional-dependency group, so the base install (and any runtime that bundles the package) stays lightweight.

    Manual capture users: install with pip install "reverse-api-engineer[manual]" (or uv tool install "reverse-api-engineer[manual]") followed by playwright install chromium. Agent mode needs neither. Entering manual mode without the extra fails fast with an actionable hint and records no run.

Fixed

  • Manual capture no longer wedges the REPL after a failed start: a mistyped or scheme-less URL previously left Playwright's event loop running, so every later prompt spun on asyncio.run() cannot be called from a running event loop. The browser is now torn down on a failed start.
  • Scheme-less capture URLs are accepted — a bare host like jobs.example.com/x is treated as https://jobs.example.com/x.
  • CLI error text with brackets renders in full (e.g. reverse-api-engineer[manual] is no longer swallowed as Rich markup).

Full changelog: https://github.com/kalil0321/reverse-api-engineer/blob/main/CHANGELOG.md