Files
orca/src/main/ssh/ssh-system-fallback.ts
T
c2aa9c2ead feat(ssh): support file transfers over system ssh (#7804)
* feat(ssh): support file transfers over system ssh

* fix(ssh): harden system file transfers

* test(runtime): stub getRepo in headless mobile tab cwd test

The mobile-session selector validator (getValidatedExplicitWorktreeIdSelector,
from main) calls this.store?.getRepo to reject repo ids passed as worktree ids.
The store stub only implemented getWorkspaceSession, so the guarded call threw
'getRepo is not a function' once main merged into this branch. Add a getRepo
that returns null (wt-1 is a worktree, not a repo).

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: Orca <help@stably.ai>
2026-07-12 01:29:55 -07:00

14 lines
493 B
TypeScript

export { findSystemSsh } from './system-ssh-binary'
export {
buildSshArgs,
getOrcaControlSocketPath,
type SystemSshBuildArgsOptions
} from './system-ssh-args'
export { spawnSystemSsh, spawnSystemSshCommand, type SystemSshProcess } from './system-ssh-command'
export {
downloadFileViaSystemSsh,
uploadFileViaSystemSsh,
writeBufferViaSystemSsh
} from './system-ssh-file-binary-transfer'
export { uploadDirectoryViaSystemSsh, writeFileViaSystemSsh } from './system-ssh-file-transfer'