/** * Browser Skill * * Provides Playwright-based browser automation via MCP. * Resolves to @zibby/mcp-browser (if installed) or @playwright/mcp as fallback. * * Call resolve({ sessionPath, workspace }) to get a ready-to-use MCP server * config with session-specific args (video dir, viewport, etc.). */ /** * Dev-server preview guidance — appended ONLY when the platform injected the * preview env into this run (self-host dispatcher; absent ⇒ the fragment is * byte-identical to the historical one). This is the ONE place the recipe * lives: every node that binds the browser skill inherits it automatically, * so no template author has to remember the URL shape. * * EXPORTED because binding the browser SKILL is not the only way a node gets a * browser: an agent can be handed one as a custom MCP server (row data), and * that path carries no prompt fragment at all — so the recipe never rendered * and the agent rediscovered the URL shape by trial and error, navigating to * localhost first (measured, 2026-08-18). A template in that position imports * THIS function rather than restating the recipe. Env-var NAMES only — * the token value itself never goes into a persisted prompt (security * invariant #4); the model materializes it via Bash at use time. */ export declare function devServerPreviewRecipe(): string; export declare const browserSkill: any;