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
import { usePageBridgeClient } from '../transport/client-context.web'
// Use camelCase lane token: manifest GRANT_NAME_PATTERN accepts bare names/native verbs, refusing dotted non-verbs.
const BROWSER_BINARY_SCREENCAST_GRANT = 'screencastBinary'
// Read session init grants once at render (entry waits for init; grants are immutable).
// Missing encoder grant means stream-error UI; never send wantsBinary to older shell that cannot deliver frames.
export function useBrowserBinaryScreencastGrant(): boolean {
const client = usePageBridgeClient()
return client.getShellSession()?.grants.native.includes(BROWSER_BINARY_SCREENCAST_GRANT) === true
}