Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
/** A page's open `alert()`, `confirm()` or `prompt()` in the built-in browser. */
export type BrowserJavaScriptDialog = {
type: 'alert' | 'confirm' | 'prompt'
message: string
/** The text a prompt starts with; empty for alert and confirm. */
defaultPromptText: string
}
export type BrowserJavaScriptDialogPrompt = BrowserJavaScriptDialog & {
/** Origin of the page that opened it; null when it has none, e.g. `about:blank`. */
origin: string | null
}
export type BrowserJavaScriptDialogAnswer = {
accept: boolean
/** What a prompt returns when accepted. */
promptText: string
}