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.

6.2 KB
Raw Blame
/**
 * Recorded PTY output of a `grok` launch, used to pin when the draft-paste
 * readiness scanner would deliver a launch draft.
 *
 * Recorded from: grok 1.0.0 (3cd0d0cbcebe) [stable] on macOS (darwin 25.3.0),
 * xterm-256color 120x30 via node-pty, cwd = an Orca git worktree, 10s of output
 * from spawn.
 *
 * Entries without `data` are grok logo-shimmer render frames, verified to hold
 * none of DECSET 1049h / 2004h, DECTCEM show-cursor, or the composer glyphs
 * U+276F / U+203A. Only their timestamp and byte count are kept so the fixture
 * stays small; the replay substitutes filler of the recorded length. Timings are
 * what the scanner reacts to, so they are preserved verbatim.
 */
export type GrokStartupTraceChunk = {
  /** ms after spawn */
  t: number
  data?: string
  /** Length of an elided, marker-free animation frame. */
  bytes?: number
}

export const GROK_STARTUP_PTY_TRACE: GrokStartupTraceChunk[] = [
  {
    t: 274,
    data: '\u001b]0;grok\u0007\u001b[?1049h\u001b[?1000h\u001b[?1002h\u001b[?1003h\u001b[?1015h\u001b[?1006h\u001b[?1004h\u001b[?2004h\u001b[?25l'
  },
  { t: 274, bytes: 18 },
  { t: 582, bytes: 5 },
  { t: 607, bytes: 825 },
  { t: 607, bytes: 925 },
  { t: 607, bytes: 928 },
  { t: 607, bytes: 958 },
  { t: 607, bytes: 810 },
  { t: 607, bytes: 1000 },
  {
    t: 607,
    data: ';80;80;88;48;2;20;20;20m╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮\u001b[39;48;2;20;20;20m  \u001b[26;1H  \u001b[38;2;80;80;88;48;2;20;20;20m│\u001b[38;2;225;225;225;48;2;20;20;20m \u001b[38;2;200;200;200;48;2;20;20;20m❯ \u001b[38;2;225;225;225;48;2;20;20;20m                                                                                                               \u001b[38;2;80;80;88;48;2;20;20;20m│\u001b[39;48;2;20;20;20m  \u001b[27;1H  \u001b[38;2;80;80;88;48;2;20;20;20m╰─────────────────────────────────────────────────────────────────────────────── \u001b[38;2;128;128;128;48;2;20;20;20mGrok 4.'
  },
  {
    t: 607,
    data: '5 (high)\u001b[38;2;88;88;88;48;2;20;20;20m · \u001b[38;2;108;108;108;48;2;20;20;20malways-approve\u001b[38;2;80;80;88;48;2;20;20;20m ─╯\u001b[39;48;2;20;20;20m  \u001b[28;1H                                                                                                                        \u001b[29;1H                                                                                                              \u001b[38;2;108;108;108;48;2;20;20;20m[stable]\u001b[39;48;2;20;20;20m  \u001b[30;1H                                                                                                                        \u001b[39m\u001b[49m\u001b[59m\u001b[0m\u001b[26;7H\u001b[?25h\u001b[?2026l'
  },
  { t: 613, bytes: 169 },
  { t: 664, bytes: 158 },
  { t: 691, bytes: 158 },
  { t: 762, bytes: 410 },
  { t: 776, bytes: 586 },
  { t: 861, bytes: 971 },
  { t: 861, bytes: 69 },
  { t: 945, bytes: 970 },
  { t: 945, bytes: 784 },
  { t: 1031, bytes: 970 },
  { t: 1031, bytes: 968 },
  { t: 1031, bytes: 417 },
  { t: 1109, bytes: 948 },
  { t: 1110, bytes: 954 },
  { t: 1110, bytes: 792 },
  { t: 1115, bytes: 972 },
  { t: 1115, bytes: 968 },
  { t: 1115, bytes: 336 },
  { t: 1200, bytes: 964 },
  { t: 1200, bytes: 964 },
  { t: 1200, bytes: 962 },
  { t: 1200, bytes: 62 },
  { t: 1286, bytes: 970 },
  { t: 1286, bytes: 966 },
  { t: 1286, bytes: 956 },
  { t: 1286, bytes: 195 },
  { t: 1370, bytes: 968 },
  { t: 1370, bytes: 962 },
  { t: 1370, bytes: 785 },
  { t: 1455, bytes: 944 },
  { t: 1455, bytes: 912 },
  { t: 1455, bytes: 79 },
  { t: 1540, bytes: 962 },
  { t: 1540, bytes: 568 },
  { t: 1625, bytes: 839 },
  { t: 1625, bytes: 40 },
  { t: 1710, bytes: 424 },
  { t: 1795, bytes: 168 },
  { t: 1879, bytes: 218 },
  { t: 2134, bytes: 219 },
  { t: 2389, bytes: 219 },
  { t: 2728, bytes: 219 },
  { t: 3579, bytes: 219 },
  { t: 3918, bytes: 219 },
  { t: 4172, bytes: 219 },
  { t: 4425, bytes: 219 },
  { t: 4594, bytes: 219 },
  { t: 4680, bytes: 158 },
  { t: 4764, bytes: 410 },
  { t: 4850, bytes: 878 },
  { t: 4850, bytes: 463 },
  { t: 4934, bytes: 970 },
  { t: 4934, bytes: 718 },
  { t: 5019, bytes: 970 },
  { t: 5019, bytes: 968 },
  { t: 5019, bytes: 292 },
  { t: 5103, bytes: 964 },
  { t: 5103, bytes: 962 },
  { t: 5103, bytes: 549 },
  { t: 5188, bytes: 964 },
  { t: 5188, bytes: 969 },
  { t: 5188, bytes: 967 },
  { t: 5188, bytes: 306 },
  { t: 5272, bytes: 970 },
  { t: 5272, bytes: 968 },
  { t: 5272, bytes: 961 },
  { t: 5272, bytes: 103 },
  { t: 5358, bytes: 968 },
  { t: 5358, bytes: 956 },
  { t: 5358, bytes: 795 },
  { t: 5442, bytes: 964 },
  { t: 5442, bytes: 962 },
  { t: 5442, bytes: 316 },
  { t: 5527, bytes: 954 },
  { t: 5527, bytes: 550 },
  { t: 5612, bytes: 960 },
  { t: 5612, bytes: 94 },
  { t: 5696, bytes: 438 },
  { t: 5781, bytes: 168 },
  { t: 5866, bytes: 83 },
  { t: 6120, bytes: 219 },
  { t: 6375, bytes: 219 },
  { t: 6631, bytes: 219 },
  { t: 6884, bytes: 219 },
  { t: 7139, bytes: 219 },
  { t: 7393, bytes: 219 },
  { t: 7732, bytes: 219 },
  { t: 8580, bytes: 219 },
  { t: 8664, bytes: 158 },
  { t: 8750, bytes: 410 },
  { t: 8835, bytes: 796 },
  { t: 8919, bytes: 908 },
  { t: 8919, bytes: 861 },
  { t: 9004, bytes: 966 },
  { t: 9004, bytes: 894 },
  { t: 9090, bytes: 970 },
  { t: 9090, bytes: 968 },
  { t: 9090, bytes: 768 },
  { t: 9175, bytes: 964 },
  { t: 9175, bytes: 969 },
  { t: 9175, bytes: 967 },
  { t: 9175, bytes: 306 },
  { t: 9260, bytes: 970 },
  { t: 9260, bytes: 968 },
  { t: 9260, bytes: 958 },
  { t: 9260, bytes: 291 },
  { t: 9344, bytes: 960 },
  { t: 9344, bytes: 956 },
  { t: 9344, bytes: 605 },
  { t: 9430, bytes: 952 },
  { t: 9430, bytes: 936 },
  { t: 9430, bytes: 377 },
  { t: 9515, bytes: 960 },
  { t: 9515, bytes: 775 },
  { t: 9600, bytes: 914 },
  { t: 9600, bytes: 427 },
  { t: 9684, bytes: 618 },
  { t: 9770, bytes: 180 },
  { t: 9855, bytes: 219 }
]