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.
This commit is contained in:
Neil
2026-09-02 16:20:33 -07:00
parent f7fb1a64fc
commit bb72699f88
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { getActiveMultiplexer } from '../ssh'
import { getActiveMultiplexer } from '../../ssh/ssh-target-registry'
export async function resolveRemoteHomePath(connectionId: string, path: string): Promise<string> {
if (path !== '~' && path !== '~/' && !path.startsWith('~/')) {
@@ -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(