UNPKG

browse

Version:

Unified Browserbase CLI for browser automation and cloud APIs.

19 lines (18 loc) 682 B
/** * Stub Browserbase capability used by `build:local-only`. It contains no API * key handling and never reaches the cloud. Any attempt to use a remote target * fails loudly. */ const DISABLED_MESSAGE = "Remote (Browserbase) mode is disabled in this local-only build of browse. Rebuild without local-only to use cloud sessions."; export function resolveExplicitRemoteTarget() { throw new Error(DISABLED_MESSAGE); } export function autoSelectRemoteTarget() { return null; } export function remoteStagehandOptions() { throw new Error(DISABLED_MESSAGE); } export function remoteDoctorCheck() { return { ok: true, message: "remote disabled (local-only build)" }; }