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.

480 B
Raw Blame
import { BRIDGE_MAX_MESSAGE_BYTES } from '../mobile-web-shell/bridge/bridge-caps'
import { bridgeEventEnvelopeBytes } from '../mobile-web-shell/bridge/bridge-event-envelope-bytes'

// Budget serialized payload bytes after bridge-envelope overhead; ANSI escapes expand in JSON and raw snapshot sizes can overflow the shell’s hard frame cap.
export function mobileTerminalSnapshotByteBudget(): number | undefined {
  return BRIDGE_MAX_MESSAGE_BYTES - bridgeEventEnvelopeBytes()
}