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.

feat(handoff): wire handoff:build IPC handler

enesfef6fd02045b
diff --git a/src/main/index.ts b/src/main/index.ts
index b7cb1e042..08904b8fd 100644
--- a/src/main/index.ts
+++ b/src/main/index.ts
@@ -21,6 +21,7 @@ import {
transcriptPathForCwd,
SESSION_ID_RE
} from './transcript-reader'
+import { buildHandoff } from './handoff'
import { initBridge } from './bridge'
import { initTelemetry } from './telemetry'
import { initClaudeUsage } from './claude-usage'
@@ -269,6 +270,11 @@ app.whenReady().then(async () => {
return p ? readTranscriptLines(p) : []
}
)
+ ipcMain.handle(
+ IPC.handoffBuild,
+ (_e, sessionId: string, agentId: string, sourceNodeId: string, cwd: string | undefined) =>
+ buildHandoff({ sessionId, agentId, sourceNodeId, cwd })
+ )
installManagedAgentHooks()
hookServer.setListener((e) => {
if (!win.isDestroyed()) win.webContents.send(IPC.agentStatus, e)