Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/main/daemon/serialize-grid-transcript-replay.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ const KNOWN_PREEXISTING_I2_FAILURES: Record<string, number> = {
'opencode-1-18-32-timed-boot-slow': 16,
'opencode-1-18-32-timed-first-launch': 16,
'opencode-2-0-18-timed-boot-hidden-pane': 14,
// STA-9359 OpenCode 2 captures, serializer untouched: every background diff is the live pen's
// panel colour on restored cells, plus the rows kept below the source after a shrink.
'opencode-2-0-14-timed-cold-standalone': 4,
'opencode-2-0-21-timed-cold-standalone': 36,
'opencode-2-0-21-timed-cold-standalone-hidden-pane': 6,
'opencode-2-0-21-timed-natural-load-enter-dropped': 12,
'opencode-cmd-2-0-21-timed-warm-server': 21,
// The same, plus the cursor one column short after a shrink and the pen's bold bit on a glyph.
'opencode-2-0-21-timed-narrow-pane': 8,
// Shrink leaves the cursor one column short; also present in the pre-Qoder serializer.
'qoder-no-account': 2,
'qoder-ready': 2,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"capturedAt": "2026-10-04T05:18:50.064162Z",
"platform": "darwin",
"command": ["opencode", "--standalone"],
"cols": 120,
"rows": 40,
"note": "opencode v2.0.14 (Homebrew opencode-v2) on a macOS laptop, 120x40, alternate screen; a cross-version check for the agent-row signal. Recorded on the laptop with a Python PTY recorder that stamps each read with its ms since spawn; --standalone private server (cold), model opencode/muse-spark-1.3-contributor-free via OPENCODE_CONFIG_CONTENT, every ORCA_* variable stripped, no input. Box cursor at 1366 ms, agent/model row at 1408 ms. The footer path was replaced on the laptop with the same-length ~/projects/demo-01/... . <name>.timing.json holds each PTY read as [ms since spawn, UTF-16 length] and recordedUntilMs (the last read; the recorder stopped there).",
"exitCode": null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"recordedUntilMs":1561,"chunks":[[307,280],[307,37],[307,8],[609,1024],[609,1024],[609,1024],[609,1024],[609,1024],[609,577],[1319,1024],[1319,1024],[1319,1024],[1319,1024],[1319,1024],[1320,817],[1325,13],[1366,900],[1366,900],[1366,358],[1376,100],[1408,388],[1425,527],[1442,663],[1459,666],[1476,696],[1493,661],[1510,627],[1527,486],[1544,412],[1561,378]]}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"capturedAt": "2026-10-04T05:13:03.308914Z",
"platform": "darwin",
"command": ["opencode", "--standalone"],
"cols": 120,
"rows": 40,
"note": "opencode v2.0.21 (Homebrew opencode-v2) on macOS 26 arm64, 120x40, alternate screen. Recorded with the timed Python PTY driver (each read stamped with ms since spawn; terminal queries answered like Orca's pane), env -i with an isolated HOME and XDG dirs (no credentials; OpenCode Zen's free models), OPENCODE_DISABLE_AUTOUPDATE=1, OPENCODE_CONFIG_CONTENT {\"autoupdate\":false}, no ORCA_* vars; version and binary sha256 unchanged before and after. <name>.timing.json holds each PTY read as [ms since spawn, UTF-16 length] and recordedUntilMs. Why this run: the same cold --standalone start answered like a hidden Orca pane (responder 'headless': silent on OSC colour queries). No input typed.",
"exitCode": null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"recordedUntilMs":11423.8,"chunks":[[241.4,312],[242.6,37],[242.8,1024],[243.1,1024],[243.3,1024],[243.6,1024],[243.9,1024],[244.1,1024],[244.4,141],[261.2,1024],[261.6,1024],[261.9,1024],[262.2,1024],[262.6,1024],[263.0,937],[1267.3,1024],[1268.0,1024],[1268.6,1024],[1269.2,1024],[1269.7,1024],[1270.1,1024],[1270.6,353],[1275.2,13],[1313.7,934],[1314.2,938],[1314.6,835],[1331.9,173],[1347.7,476],[1364.9,476],[1382.0,481],[1399.7,490],[1418.0,491],[1435.8,497],[1453.5,497],[1470.7,497],[1489.3,497]]}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"capturedAt": "2026-10-04T05:12:27.181737Z",
"platform": "darwin",
"command": ["opencode", "--standalone"],
"cols": 120,
"rows": 40,
"note": "opencode v2.0.21 (Homebrew opencode-v2) on macOS 26 arm64, 120x40, alternate screen. Recorded with the timed Python PTY driver (each read stamped with ms since spawn; terminal queries answered like Orca's pane), env -i with an isolated HOME and XDG dirs (no credentials; OpenCode Zen's free models), OPENCODE_DISABLE_AUTOUPDATE=1, OPENCODE_CONFIG_CONTENT {\"autoupdate\":false}, no ORCA_* vars; version and binary sha256 unchanged before and after. <name>.timing.json holds each PTY read as [ms since spawn, UTF-16 length] and recordedUntilMs. Why this run: a cold start of a fresh private server (--standalone, as the opencode2 row launches); the agent/model row under the input box ('<agent> \u00b7 <model>') is painted 47 ms after the box. Responder 'xterm' (Orca's visible pane). No input typed.",
"exitCode": null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"recordedUntilMs":15442.9,"chunks":[[294.0,280],[295.2,37],[296.0,16],[296.1,16],[296.2,16],[296.2,32],[296.2,24],[296.2,24],[296.3,24],[296.3,36],[296.4,72],[304.5,1024],[304.8,1024],[305.1,1024],[305.4,1024],[305.7,1024],[306.3,1024],[306.5,353],[308.7,13],[341.4,934],[341.8,938],[342.1,835],[356.6,173],[389.4,218],[407.9,314],[429.0,314],[447.9,319],[466.4,325],[484.7,326],[502.8,326],[520.8,326],[538.9,326],[746.5,265]]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[?2031h]10;?]11;?[>0q[?25lP+q4d73\[?1016$p[?2027$p[?2031$p[?1004$p[?2004$p[?2026$p[?u]99;i=opentui-notifications:p=?;\]1337;Capabilities\_Gi=31337,s=1,v=1,a=q,t=d,f=24;AAAA\]66;w=1; \]66;s=2; \[?1049h[>4;1m[?2027h[?2004h[?1000h[?1002h[?1003h[?1006h[?2027h[?2004h[?2027h[?2004h[?2027h[?2004h[?2027h[?2004h[?2027h[?2004h[?2027h[?2004h[?1004h[?2027h[?2004h[?1004h[?2027h[?2004h[?1004h[>4;0m[>5u[?2027h[?2004h[?1004h[?2027h[?2004h[?1004h[?2027h[?2004h[?1004h[?2027h[?2004h[?1004h[?2026h[?25l                                        [?2026l]0;OpenCode[?2026h[?25l  ▄ █▀▀█ █▀▀█ █▀▀█ █▀▀▄█▀▀▀ █▀▀█ █▀▀█ █▀▀██ █ █ █ █▀▀▀ █ ██  █ █ █ █ █▀▀▀▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀┃ ┃ Ask anything… "Fix a TODO in the codebase" ┃ ┃ ╹▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀/Users/uuuuu/orca-...xxxxxx/capture/workshift+tab agentsctrl+p commands2.0.21]12;#eeeeee[1 q[?25h[?2026l[?2026h[?25l…/uuuuu/xxxxxxx/xxxxxxxx/capture/work [?25h[?2026l[?2026h[?25l·LongCat 2.5 Preview FreeOpenCode Zen[?25h[?2026l[?2026h[?25l┃┃┃┃Build╹[?25h[?2026l[?2026h[?25l┃┃┃┃Build╹[?25h[?2026l[?2026h[?25l┃┃┃┃Build╹[?25h[?2026l[?2026h[?25l┃┃┃┃Build╹[?25h[?2026l[?2026h[?25l┃┃┃┃Build╹[?25h[?2026l[?2026h[?25l┃┃┃┃Build╹[?25h[?2026l[?2026h[?25l┃┃┃┃Build╹[?25h[?2026l[?2026h[?25l┃┃┃┃Build╹[?25h[?2026l[?2026h[?25lFledge Alpha Free OpenCode Zen [?25h[?2026l
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"capturedAt": "2026-10-04T05:49:55.163902Z",
"platform": "darwin",
"command": ["opencode", "--standalone"],
"cols": 120,
"rows": 40,
"note": "opencode v2.0.21 (Homebrew opencode-v2) on macOS 26 arm64, 120x40, alternate screen. Recorded with the timed Python PTY driver (each read stamped with ms since spawn; terminal queries answered like Orca's pane). One natural cold start, no other capture running; load average at start 2.76 / 4.63 / 7.28. --standalone with the user's own login and plugins read in place and the model opencode-go/deepseek-v4.1-flash set through OPENCODE_CONFIG_CONTENT (nothing on disk written by the recorder); OPENCODE_DISABLE_AUTOUPDATE=1, no ORCA_* vars; version and binary sha256 unchanged before and after. An 82-line, 6.6 KB brief was bracketed-pasted the moment the agent/model row painted (393 ms; box cursor at 273 ms) and Enter was sent 537 ms later (promptSentAtMs), Orca's submit delay of 500 ms plus paste time. OpenCode submitted it: the composer cleared and the brief and the reply were painted. <name>.timing.json holds each PTY read as [ms since spawn, UTF-16 length] and recordedUntilMs.",
"exitCode": null
}
Loading
Loading