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.

647 B
Raw Blame
import type { RuntimeMobileSessionTabsResult } from './runtime-session-contracts'

/** A workspace as last drawn: one-shot commands and retirement proofs (sent as deltas) are not kept. */
export type RemoteLayoutSnapshotWorkspace = Omit<
  RuntimeMobileSessionTabsResult,
  'navigationIntent' | 'retiredTerminalSurfaces'
>

/** Persist paired server’s last display-only layout so offline restarts retain tabs (design 6.3/D3). Never edit or send it back. */
export type RemoteLayoutSnapshot = {
  /** Keyed by worktree id, each from the server's last `session.tabs` result for it. */
  workspaces: Record<string, RemoteLayoutSnapshotWorkspace>
}