0.3.3
1b5d/llm-api0.3.3Jun 23, 2026by github-actions[bot]
AI Summary
This update introduces an Interactive Agent Mode for LLM-powered web browsing from the CLI, alongside a significant expansion of Web APIs and Chrome DevTools Protocol (CDP) capabilities.
Key Highlights
- Introduction of Interactive Agent Mode with provider support (llama.cpp, Vercel AI Gateway, Mistral)
- Expanded Web APIs including `BroadcastChannel` and `Navigator` on `Worker`
- Enhanced CDP support for file downloads and permissions management
- Various stability fixes for memory management (UAF) and module loading
New Features
- Interactive agent mode with `--save` flag to synthesize reusable scripts
- Provider support: llama.cpp (local), Vercel AI Gateway, and Mistral
- New Web APIs: `BroadcastChannel`, `Navigator` on `Worker`, `innerText`, `outerText`, `URL.parse`
- CDP features: `Browser.setDownloadBehavior`, `grantPermissions`, configurable max message sizes
- HTTP networking improvements including cache revalidation support
- Stability fixes: extend closed popup lifetime, fail pending module fetches on teardown
Full Release Notes
## Interactive Agent Mode (new) - **Interactive agent mode**: LLM-powered web browsing driven from the CLI (#2338). See details in the [blog article](https://lightpanda.io/blog/posts/introducing-lightpanda-agent-and-pandascript). - `--save` flag to synthesize reusable scripts from agent tasks - Provider support: llama.cpp (local), Vercel AI Gateway, and Mistral; providers listed in `--help` - Per-provider default reasoning effort; respects configured effort; simpler local-provider detection - `extract` resolves `href`/`src` attributes to absolute URLs ## New Web APIs - `BroadcastChannel` - `Navigator` now exposed on `Worker` - Structured-clone of `window`/`MessagePort` `postMessage` messages - `innerText` improvements + new `outerText` - `Node.isEqualNode` handles `Document` comparison - `URL.parse` and improved URL setter compliance (WPT `/url/`) - Much better Shadow DOM `slot` support - `SubtleCrypto` various fixes; better Blob MIME sniffing ## Web API behavior / events - `iframe` `load` fired on next tick - Preload `onload`/`onerror` callback timing fixes - Use `document._frame` rather than the executing frame ## CDP (Chrome DevTools Protocol) - `Emulation.setDeviceMetricsOverride` honors the viewport - `Browser.setDownloadBehavior` file downloads implemented - `Browser.grantPermissions` / `setPermission` / `resetPermissions` honored - Configurable max WebSocket and HTTP message size - Fix overly long CDP log message ## HTTP / Networking - Cache revalidation support - Internal flag on `Request` ## Stability fixes - UAF fixes: extend closed popup lifetime from Frame to Page; window reuse - Fail pending module/preload fetches killed on teardown - Frame behavior refactored into smaller utility functions ## Ops / CLI / logging - New "note" log level for the CDP "server running" message - Terminal supports positional args for single-field schemas