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.

757 B
Raw Blame
/** Dedicated main→renderer restore markers avoid ambiguous empty data chunks left by OSC-9999 stripping,
 * which could spuriously restore visible panes. Delivery-only: remote transports never see this channel. */
export type PtyModelRestoreReason = 'hidden-drop' | 'unhide' | 'pending-cap' | 'delivery-heal'

export type PtyModelRestoreNeededEvent = {
  id: string
  reason: PtyModelRestoreReason
  /** Main's PTY output sequence at emit time — everything at or before this
   *  point is only recoverable from the model snapshot. */
  markerSeq?: number
  /** Hidden-delivery drop episode this marker reports (gate markers only). A
   *  repeat for an episode the renderer already disclosed as lost is the same gap. */
  hiddenDropEpisode?: number
}