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
/** What a site in the built-in browser can ask for, in the order prompts and settings list them. */
export const BROWSER_SITE_PERMISSIONS = [
'camera',
'microphone',
'location',
'notifications',
'clipboard',
'midi',
'window-management',
'idle-detection',
'local-network'
] as const
export type BrowserSitePermission = (typeof BROWSER_SITE_PERMISSIONS)[number]
/** Every local file shares one site, as in Chrome; a file page's web origin is opaque. */
export const BROWSER_SITE_PERMISSION_LOCAL_FILES_ORIGIN = 'file://'
/** A remembered answer; a permission with none is asked again. */
export type BrowserSitePermissionDecision = 'allow' | 'block'
/** A site asks for one or more permissions at once, e.g. camera and microphone for a call. */
export type BrowserSitePermissionPrompt = {
/** Origin of the page in the tab, e.g. `https://meet.google.com`. */
origin: string
permissions: BrowserSitePermission[]
}
/** Every remembered answer for one site in one browser profile. */
export type BrowserSitePermissionEntry = {
origin: string
decisions: Partial<Record<BrowserSitePermission, BrowserSitePermissionDecision>>
}
export function isBrowserSitePermission(value: unknown): value is BrowserSitePermission {
return BROWSER_SITE_PERMISSIONS.some((permission) => permission === value)
}
export function isBrowserSitePermissionDecision(
value: unknown
): value is BrowserSitePermissionDecision {
return value === 'allow' || value === 'block'
}