Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

test(terminal): log layout metrics without a predictable temp file

review6d647b1c76c1
diff --git a/scripts/terminal-fit-layout.test.ts b/scripts/terminal-fit-layout.test.ts
index 829db8c31..0c7e55557 100644
--- a/scripts/terminal-fit-layout.test.ts
+++ b/scripts/terminal-fit-layout.test.ts
@@ -77,7 +77,7 @@ it.skipIf(!existsSync(chrome)).each([1, 1.25, 1.5, 2])('at DPR %s fits complete
}, sessionId)
const result = value.result.value
expect(result).toMatch(/^PASS /)
- writeFileSync(join(tmpdir(), `terminal-fit-layout-${dpr}.json`), result)
+ console.log(result)
} finally {
await call('Browser.close')
// The CDP acknowledgement precedes profile flush/child shutdown. Wait for the process