mirror of
https://github.com/stablyai/orca.git
synced 2026-09-29 16:02:50 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user