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.

fix(copilot): a failed local growth re-read is not-found, never the 'remote unsupported' copy

review462d1bee2ba3
diff --git a/src/core/transcript-ipc.ts b/src/core/transcript-ipc.ts
index d646babf5..d0fe6642e 100644
--- a/src/core/transcript-ipc.ts
+++ b/src/core/transcript-ipc.ts
@@ -205,7 +205,10 @@ async function readCopilotChat(
if (!p) return notFoundPage()
const w = await readChatWindow(p, page)
if (!w) return notFoundPage()
- return parseGrowingWindow(page, w, async (pg) => (await readChatWindow(p, pg)) ?? null, parseCopilotChatWindow)
+ const out = await parseGrowingWindow(page, w, async (pg) => (await readChatWindow(p, pg)) ?? null, parseCopilotChatWindow)
+ // A LOCAL growth re-read that failed (the journal vanished mid-read) comes back `unreadable`, but
+ // on a copilot result the panel reads `unreadable` as "remote, unsupported" — keep that claim true.
+ return out.unreadable ? notFoundPage() : out
}
/**