Skip to content

v0.6.14

Choose a tag to compare

@github-actions github-actions released this 15 May 18:03
8d496c8

Features

  • exec persistent REPL: The exec command now runs in a persistent, session-scoped REPL. Helper functions and variable bindings defined in one exec call are available in subsequent calls on the same session. A new frame global (the active page's main frame) is also available. Top-level return is no longer supported — use expression syntax instead (e.g. await page.title() rather than return await page.title()).

  • libretto cloud command group: Hosted Libretto Cloud commands (auth, deploy, billing) have moved from libretto experimental ... to libretto cloud .... The experimental namespace is no longer present.

  • libretto open defaults to about:blank: Running libretto open without a URL now opens about:blank instead of failing. about:blank is also accepted as an explicit URL argument.

Fixes

  • Windows daemon IPC: Daemon IPC endpoints now use Windows named pipe paths on Windows, removing the dependency on process.getuid() which is unavailable on that platform. Unix socket file cleanup is skipped for named pipe paths.

  • cloud deploy API key error guidance: cloud deploy now fails immediately when LIBRETTO_API_KEY is missing, with tailored guidance depending on whether a local session already exists — directing users to sign up, log in, or issue an API key as appropriate. A broken ~/.libretto/auth.json no longer blocks deploys when LIBRETTO_API_KEY is set.

Improvements

  • Libretto Cloud queued session support: The Libretto Cloud provider now polls for a CDP URL when a browser session is initially queued (waiting for capacity), instead of failing immediately. Startup status messages are surfaced in the CLI while waiting. Queued sessions are automatically cleaned up if startup is cancelled (e.g. via Ctrl-C or parent disconnect). The startup timeout for Libretto Cloud is extended to 10 minutes to accommodate queue wait times.