orca/src/cli
Jinwoo Hong 0784a7ea37
fix(ssh): bridge the full Orca CLI over the SSH relay instead of a hardcoded command switch (#7771)
The relay CLI shim on SSH remotes rejected every orchestration/mutation
command with 'Unsupported SSH Orca CLI command' because the host handled
relay CLI requests with a hand-rolled allowlist of five read-only-ish
commands. The host now runs the real bundled orca CLI entry (same entry
as the local shell command, via ELECTRON_RUN_AS_NODE) as a captured
subprocess, so remote invocations get the full command surface by
construction. Remote cwd is carried via ORCA_CLI_CWD so cwd-based
selectors (--worktree active) resolve against the caller's remote
directory; only Orca terminal-context env vars cross the bridge.

Host-interactive commands (serve, claude-teams, agent-teams-tmux) get a
targeted error, and the legacy in-process switch remains as a fallback
when the host CLI entry cannot be launched. Relay-side request timeouts
are raised to fit mutation and long-poll (--wait/--timeout-ms) commands,
and stdin forwarding now covers *-stdin payload flags.

Fixes #7716

Co-authored-by: Orca <help@stably.ai>
2026-07-08 13:59:42 -07:00
..
handlers Remove stale max-lines lint disables from files under the limit (#7548) 2026-07-06 02:12:32 -07:00
runtime Per-Workspace Environments (on-demand disposable runtimes) + Add Project remote host setup (#6320) 2026-06-30 11:31:55 -07:00
specs Per-Workspace Environments (on-demand disposable runtimes) + Add Project remote host setup (#6320) 2026-06-30 11:31:55 -07:00
args.test.ts feat(emulator): Android emulation via scrcpy (cross-platform, iOS parity) (#6434) 2026-06-28 21:01:09 -07:00
args.ts Per-Workspace Environments (on-demand disposable runtimes) + Add Project remote host setup (#6320) 2026-06-30 11:31:55 -07:00
base64-payload-byte-count.test.ts
base64-payload-byte-count.ts
browser-format.ts
browser.test.ts Remove stale max-lines lint disables from files under the limit (#7548) 2026-07-06 02:12:32 -07:00
codex-command-classification.test.ts
codex-command-classification.ts
computer-format.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
dispatch.ts Per-Workspace Environments (on-demand disposable runtimes) + Add Project remote host setup (#6320) 2026-06-30 11:31:55 -07:00
emulator-logcat-format.test.ts feat(emulator): Android emulation via scrcpy (cross-platform, iOS parity) (#6434) 2026-06-28 21:01:09 -07:00
emulator-logcat-format.ts feat(emulator): Android emulation via scrcpy (cross-platform, iOS parity) (#6434) 2026-06-28 21:01:09 -07:00
emulator-permissions-args.ts feat(emulator): Android emulation via scrcpy (cross-platform, iOS parity) (#6434) 2026-06-28 21:01:09 -07:00
flags.test.ts
flags.ts
format.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
format.ts Make remote hosts first class: concurrent multi-host workbench (#5071) 2026-06-13 18:53:01 -07:00
help.ts Per-Workspace Environments (on-demand disposable runtimes) + Add Project remote host setup (#6320) 2026-06-30 11:31:55 -07:00
index.test.ts fix(ssh): bridge the full Orca CLI over the SSH relay instead of a hardcoded command switch (#7771) 2026-07-08 13:59:42 -07:00
index.ts fix(ssh): bridge the full Orca CLI over the SSH relay instead of a hardcoded command switch (#7771) 2026-07-08 13:59:42 -07:00
linear-format.test.ts feat(linear): add project support to agent CLI (#5433) 2026-06-15 18:24:53 -07:00
linear-format.ts Give agents access to inline Linear ticket screenshots and media (#7484) 2026-07-05 23:55:56 -07:00
linear-request-builders.ts feat(linear): add project support to agent CLI (#5433) 2026-06-15 18:24:53 -07:00
project-format.ts Make remote hosts first class: concurrent multi-host workbench (#5071) 2026-06-13 18:53:01 -07:00
repo-path-arguments.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
runtime-client.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
runtime-client.ts
selectors.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
shell-command-quote.test.ts
shell-command-quote.ts
terminal-format.ts Prevent background terminal sessions from auto-activating (#6686) 2026-06-28 19:52:04 -07:00
test-fixtures.ts
workspace-format.ts Make remote hosts first class: concurrent multi-host workbench (#5071) 2026-06-13 18:53:01 -07:00
worktree-project-target.ts Make remote hosts first class: concurrent multi-host workbench (#5071) 2026-06-13 18:53:01 -07:00