diff --git a/.changeset/v0180-inspect-and-improvements.md b/.changeset/v0180-inspect-and-improvements.md new file mode 100644 index 0000000..ac37a9f --- /dev/null +++ b/.changeset/v0180-inspect-and-improvements.md @@ -0,0 +1,19 @@ +--- +"agent-browser": minor +--- + +### New Features +- **`inspect` command** - Opens Chrome DevTools for the active page by launching a local proxy server that forwards the DevTools frontend to the browser's CDP WebSocket. Commands continue to work while DevTools is open. Implemented in both Node.js and native paths. (#736) +- **`get cdp-url` subcommand** - Retrieve the Chrome DevTools Protocol WebSocket URL for the active page, useful for external debugging tools. (#736) +- **Native screenshot annotate** - The `--annotate` flag for screenshots now works in the native Rust daemon, bringing parity with the Node.js path. (#706) + +### Improvements +- **KERNEL_API_KEY now optional** - External credential injection no longer requires `KERNEL_API_KEY` to be set, making it easier to use Kernel with pre-configured environments. (#687) +- **Browserbase simplified** - Removed the `BROWSERBASE_PROJECT_ID` requirement, reducing setup friction for Browserbase users. (#625) + +### Bug Fixes +- Fixed Browserbase API using incorrect endpoint to release sessions (#707) +- Fixed CDP connect paths using hardcoded 10s timeout instead of `getDefaultTimeout()` (#704) +- Fixed lone Unicode surrogates causing errors by sanitizing with `toWellFormed()` (#720) +- Fixed CDP connection failure on IPv6-first systems (#717) +- Fixed recordings not inheriting the current viewport settings (#718) diff --git a/docs/src/app/changelog/page.mdx b/docs/src/app/changelog/page.mdx index e07bb71..48fff00 100644 --- a/docs/src/app/changelog/page.mdx +++ b/docs/src/app/changelog/page.mdx @@ -4,6 +4,86 @@ export const metadata = pageMetadata("changelog") # Changelog +## v0.18.0 + +
March 2026
+ +### New Features + +- **`inspect` command** -- Opens Chrome DevTools for the active page by launching a local proxy server that forwards the DevTools frontend to the browser's CDP WebSocket. Agent commands continue to work while DevTools is open. Implemented in both Node.js and native daemon paths. + +```bash +agent-browser open example.com +agent-browser inspect # opens DevTools in your browser +agent-browser click "Submit" # commands still work while DevTools is open +``` + +- **`get cdp-url` subcommand** -- Retrieve the Chrome DevTools Protocol WebSocket URL for the active page, useful for connecting external debugging tools. + +```bash +agent-browser get cdp-url +``` + +- **Native screenshot annotate** -- The `--annotate` flag for screenshots now works in the native Rust daemon, bringing full parity with the Node.js path. + +### Improvements + +- **KERNEL_API_KEY now optional** -- External credential injection no longer requires `KERNEL_API_KEY` to be set, making it easier to use Kernel with pre-configured environments. +- **Browserbase simplified** -- Removed the `BROWSERBASE_PROJECT_ID` requirement, reducing setup friction for Browserbase users. + +### Bug Fixes + +- Fixed Browserbase API using incorrect endpoint to release sessions +- Fixed CDP connect paths using hardcoded 10s timeout instead of the configurable default timeout +- Fixed lone Unicode surrogates causing errors by sanitizing with `toWellFormed()` +- Fixed CDP connection failure on IPv6-first systems +- Fixed recordings not inheriting the current viewport settings + +--- + +## v0.17.1 + +March 2026
+ +### Improvements + +- **Viewport scale factor** -- Added support for device scale factor (retina display) in the viewport command via an optional `scale` parameter. +- **Webview target support** -- Added webview target type support for better Electron application compatibility. The pages list now includes target type information. + +--- + +## v0.17.0 + +March 2026
+ +### New Features + +- **Lightpanda browser engine support** -- Added `--engineMarch 2026