Skip to content

armgit / orca

Public Imported from GitHub
0

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.

580 B
Raw Blame
import type { BrowserClientAutomationMethod } from './browser-client-automation-protocol'

// Client-placed page paths name the remote workspace; require both peers to negotiate file staging before these methods run.
const FILE_CHANNEL_AUTOMATION_METHODS = new Set<string>(['browser.upload', 'browser.download'])

export const BROWSER_CLIENT_FILE_CHANNEL_REQUIRED_ERROR =
  'browser_client_file_channel_unsupported' as const

export function requiresBrowserClientFileChannel(method: BrowserClientAutomationMethod): boolean {
  return FILE_CHANNEL_AUTOMATION_METHODS.has(method)
}