From bb72699f880c6dfefa2402ba46e4e95ef829f309 Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Tue, 1 Sep 2026 08:19:16 -0700 Subject: [PATCH] fix(repos): read the SSH registry directly so the runtime stays Node-bootable Routing runtime project setup through addRemoteRepoFromPath dragged ipc/ssh -- and its 25-module electron graph -- into the runtime bundle. ssh-target-registry already exists for exactly this; ipc/ssh only re-exports it. --- src/main/ipc/repos/remote-home-path.ts | 2 +- src/main/ipc/repos/remote-repo-registration.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/ipc/repos/remote-home-path.ts b/src/main/ipc/repos/remote-home-path.ts index 2952764f872..602eed25684 100644 --- a/src/main/ipc/repos/remote-home-path.ts +++ b/src/main/ipc/repos/remote-home-path.ts @@ -1,4 +1,4 @@ -import { getActiveMultiplexer } from '../ssh' +import { getActiveMultiplexer } from '../../ssh/ssh-target-registry' export async function resolveRemoteHomePath(connectionId: string, path: string): Promise { if (path !== '~' && path !== '~/' && !path.startsWith('~/')) { diff --git a/src/main/ipc/repos/remote-repo-registration.ts b/src/main/ipc/repos/remote-repo-registration.ts index 23f923bc694..110c027bc5a 100644 --- a/src/main/ipc/repos/remote-repo-registration.ts +++ b/src/main/ipc/repos/remote-repo-registration.ts @@ -6,7 +6,7 @@ import { normalizeRuntimePathForComparison } from '../../../shared/cross-platfor import { getRepoSshConnectionId } from '../../../shared/execution-host' import { getSshGitProvider } from '../../providers/ssh-git-dispatch' import { detectRepoIconAndUpstream } from '../../repo-icon-autodetect' -import { getActiveMultiplexer } from '../ssh' +import { getActiveMultiplexer } from '../../ssh/ssh-target-registry' import { resolveRemoteHomePath } from './remote-home-path' export async function addRemoteRepoFromPath(