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(owner-client): follow #1040's sanitizeRelayMutation in the relay-origin pin

review54ed00af4644
diff --git a/src/server/owner-client.test.ts b/src/server/owner-client.test.ts
index 34ef6ca3b..45f5f1c46 100644
--- a/src/server/owner-client.test.ts
+++ b/src/server/owner-client.test.ts
@@ -39,6 +39,6 @@ describe('wiring', () => {
it('a relay tab drops the remote core\'s origin before applying its mutations', () => {
const canvas = src('src/renderer/canvas/Canvas.tsx')
expect(canvas).toContain("const relay = activeSession.source === 'relay'")
- expect(canvas).toContain('const mutation = relay ? withoutCoreOrigin(received) : received')
+ expect(canvas).toContain('const mutation = relay ? sanitizeRelayMutation(withoutCoreOrigin(received)) : received')
})
})