v0.6.37: release: libretto 0.6.37 and browser-tools 0.1.2 (#504)
Features
-
startUrlworkflow launch option: Workflows can now declarestartUrl,gpu, andviewportdirectly in their definition. Libretto opensstartUrlbefore the handler runs — on Kernel and Libretto Cloud it is sent at browser create time so the page loads before CDP attach, avoiding a double navigation that can trigger bot detection. Browserbase and Steel navigate tostartUrlimmediately after connect.export default workflow("bookFlight", { startUrl: "https://www.example.com/", gpu: true, viewport: { width: 1440, height: 900 }, handler: async ({ page }) => { // Browser is already on startUrl — no page.goto needed here. }, });
-
MCP adapter for Browser Tools SDK:
libretto-browser-tools/mcpexposes all six browser tools to any MCP-compatible client or gateway. Register tools on a caller-ownedMcpServerand connect your transport of choice. Screenshots are returned as MCP image content; failures setisError: truewith actionable error text. Safety annotations are published for each tool.import { registerMcpBrowserTools } from "libretto-browser-tools/mcp"; const { dispose } = registerMcpBrowserTools( server, new LocalBrowserProvider({ headless: true }), );
-
Cloud job and schedule browser launch overrides:
libretto cloud jobs createandlibretto cloud schedules createnow accept--start-url,--gpu, and--viewport WIDTHxHEIGHTflags to override workflow launch options at run time. -
Browser Tools SDK product page: The
/browser-toolsmarketing page is now live with benchmarks, tool examples, integration grid (AI SDK, Pi, MCP, and coming-soon adapters), and FAQ. -
Browser Tools SDK
ProviderSessionCreateOptions:startUrl,gpu, andviewportare now part of thecreateSessioncontract for all built-in providers (LocalBrowserProvider,KernelBrowserProvider,LibrettoCloudBrowserProvider,BrowserbaseBrowserProvider,SteelBrowserProvider,BrowserUseBrowserProvider). Kernel and Libretto Cloud preloadstartUrl; others navigate after connect.ProviderSessionCreateOptionsandProviderSession.startUrlPreloadedare exported from the package root.
Improvements
-
Playwright debugger package renamed to
libretto-playwright-debugger: The npm package is now published aslibretto-playwright-debugger(previouslylibretto-playwright-debug). ThecreatePlaywrightDebugger()anddebugFailure()API is unchanged.pnpm add libretto-playwright-debugger
-
Streamlined PR agent setup: GitHub repository connection is now the first setup step; the local-agent step has been removed from the wizard. Authenticated users with an incomplete PR agent setup are routed to
/setup; users with a completed setup go to/dashboard. -
libretto statusoutput simplified: When no sessions are open, the command now printsNo open sessions.without the precedingOpen sessions:header. -
libretto setuphelp text updated: Thesetupcommand description now points users toupdatefor existing installations. -
Docs migrated to Holocron: The documentation site has moved from Mintlify to the Holocron runtime. The
/docsproxy now points to the new deployment atlibretto-docs.vercel.app. -
Browser Tools docs section: A new top-level Browser Tools tab is live in the docs, covering quickstart, tools reference, advanced topics (domain policy, borrowed pages, CDP attach), adapters (AI SDK, Pi, MCP, Custom), and providers (Local, Libretto Cloud, Kernel, Browserbase, Browser Use, Steel, Custom).
-
Docs Open Graph images: Every docs page now has a branded 1200×630 social card using Satori for precise Flexbox layout. A
pnpm docs:ogscript regenerates all images deterministically. -
Chrome extension auth return flow preserved: The cloud browsers dashboard now redirects signed-out visitors to sign-in with their original destination URL, so the Local Chrome Agent flow returns correctly after authentication.
-
Browser Tools SDK README refreshed: The
packages/browser-toolsREADME now includes a centered header, install steps, quick example, cloud provider list, and links to docs and the product page.