orca/config/scripts
Leynier Gutiérrez González 98d02bca47
fix: support windows ssh hosts (#5004)
* feat: add windows ssh relay base support

* feat: support windows ssh relay runtime services

* fix: default windows ssh pty cwd to user profile

* fix: support windows hosts over system ssh

* fix: preserve degraded windows relay native deps

* fix: gate windows shell args by relay platform

* fix: preserve windows relay fallback pipes

* test: align windows native deps relay fixture

* fix: build valid windows install lock command

* fix: address windows SSH relay review findings

Resolve correctness, efficiency, and reuse issues found reviewing the
Windows SSH native-host support:

- GC liveness on Windows now probes the actual named pipe (via node
  net.connect against markers + deterministic candidates) instead of
  substring-matching Win32_Process command lines, which could remove a
  live relay dir. Reports ALIVE conservatively only when there is no
  liveness signal at all (no markers and no seed pipes).
- Resolve the remote node path once per deploy and thread it through
  install/repair/launch instead of re-resolving 3-7x.
- Replace the 200ms node -e poll loop with a single long-lived remote
  wait process during Windows relay startup.
- Skip the no-op executable command on Windows in uploadRelay.
- Make the Windows fallback pipe name deterministic and recoverable
  (drop the global counter), with an extra reconnect attempt.
- Normalize the prepended node bin dir to backslashes on Windows PATH.
- Batch the system-SSH Windows directory upload into a single streamed
  JSON package instead of one ssh process per file.
- Extract relay endpoint/marker helpers into ssh-relay-endpoints.ts and
  consolidate the PowerShell EncodedCommand encoding into the shared
  powershell-command-encoding module.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* Support cancellation and timeouts in Windows port scanning

- Propagate the request AbortSignal and a 5-second timeout to both
  PowerShell and netstat child processes during Windows port scanning.
- Avoid spawning the netstat fallback process if the port scan has
  already been aborted.
- Wrap the .NET OSArchitecture check in a try/catch block during SSH
  Windows platform detection to robustly fall back to environment
  variables if needed.

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
2026-06-09 01:17:34 -07:00
..
styled-scrollbars fix: pr-bug-scan validated finding from #2437 (#2445) 2026-05-31 01:41:23 -07:00
build-computer-macos.mjs
build-native-for-platform.mjs fix: harden packaging installers (#3878) 2026-05-30 16:33:09 -07:00
build-relay.mjs fix: support windows ssh hosts (#5004) 2026-06-09 01:17:34 -07:00
check-feature-wall-assets.mjs
check-styled-scrollbars.mjs Clean up styled scrollbar guard 2026-05-20 10:38:23 -07:00
check-styled-scrollbars.test.mjs Fix macOS helper path and token cleanup (#3961) 2026-06-03 16:59:02 -04:00
check-terminal-perf-report-budgets.mjs Add terminal perf report budget checker (#4813) 2026-06-07 11:17:28 -07:00
check-terminal-perf-report-budgets.test.mjs Test terminal perf report budget checker (#4816) 2026-06-07 11:27:07 -07:00
computer-e2e-workflow.test.mjs Harden computer use runtime and CLI (#4705) 2026-06-07 17:49:01 -07:00
computer-use-skill-guidance.test.mjs Harden computer use runtime and CLI (#4705) 2026-06-07 17:49:01 -07:00
computer-use-smoke.mjs Harden computer use runtime and CLI (#4705) 2026-06-07 17:49:01 -07:00
computer-use-smoke.test.mjs Harden computer use runtime and CLI (#4705) 2026-06-07 17:49:01 -07:00
create-draft-release.mjs Fix draft release create payload (#4380) 2026-06-01 02:42:53 -07:00
create-draft-release.test.mjs Fix draft release create payload (#4380) 2026-06-01 02:42:53 -07:00
dev-fresh-profile.sh Skip first-run education in dev launches (#4489) 2026-06-02 11:49:00 -07:00
electron-builder-config.test.mjs fix(packaging): include @parcel/watcher native addon in packaged runtime 2026-06-08 02:13:21 -07:00
electron-builder-native-rebuild.cjs fix: skip optional native rebuild in release packaging 2026-05-30 19:32:24 -07:00
electron-builder-native-rebuild.test.mjs fix: skip optional native rebuild in release packaging 2026-05-30 19:32:24 -07:00
ensure-native-runtime.mjs Fix patched node-pty rebuild detection 2026-05-31 17:35:15 -07:00
ensure-native-runtime.test.mjs Fix patched node-pty rebuild detection 2026-05-31 17:35:15 -07:00
file-explorer-tree-projection-benchmark.mjs Optimize file explorer row projection (#4691) 2026-06-05 01:15:54 -07:00
install-dev-cli.mjs fix: harden packaging installers (#3878) 2026-05-30 16:33:09 -07:00
install-electron-package-binary.mjs chore: update Electron to 42 (#3919) 2026-05-30 13:26:48 -07:00
install-electron-package-binary.test.mjs chore: update Electron to 42 (#3919) 2026-05-30 13:26:48 -07:00
latest-stable-release.mjs Use semver max for latest stable release (#4622) 2026-06-03 23:42:33 -07:00
latest-stable-release.test.mjs Update mobile download links to 0.0.12 2026-06-04 16:11:51 -04:00
lint-react-doctor-changed.mjs Address react doctor warnings 2026-06-03 12:48:00 -07:00
macos-launch-diagnostics.sh Update Electron for macOS launch diagnostics 2026-06-02 21:15:00 -07:00
marine-creatures-parity.test.mjs fix(worktree): make generated workspace names unique across repos (#2857) 2026-05-28 20:41:10 -04:00
orca-dev
orca-dev-bin.test.mjs fix: harden packaging installers (#3878) 2026-05-30 16:33:09 -07:00
orca-dev.mjs fix: harden packaging installers (#3878) 2026-05-30 16:33:09 -07:00
orchestration-skill-guidance.test.mjs Fix orchestration waits waking on heartbeats (#4858) 2026-06-07 19:57:21 -07:00
package-electron-runtime-contract.test.mjs Gate releases on terminal rendering golden 2026-06-08 20:49:17 -07:00
pty-batch-flush-benchmark.mjs Update oxlint and oxfmt 2026-05-30 13:09:17 -07:00
publish-complete-draft-releases.mjs fix: keep RC release retries monotonic (#3985) 2026-05-30 21:46:13 -07:00
publish-complete-draft-releases.test.mjs fix: keep RC release retries monotonic (#3985) 2026-05-30 21:46:13 -07:00
rebuild-native-deps.mjs Fix patched node-pty rebuild detection 2026-05-31 17:35:15 -07:00
rebuild-native-deps.test.mjs Fix patched node-pty rebuild detection 2026-05-31 17:35:15 -07:00
release-rc-history.mjs fix: keep RC release retries monotonic (#3985) 2026-05-30 21:46:13 -07:00
release-rc-history.test.mjs fix: keep RC release retries monotonic (#3985) 2026-05-30 21:46:13 -07:00
run-electron-vite-build.mjs
run-electron-vite-dev.mjs Add Claude Agent Teams native pane launcher (#4892) 2026-06-08 16:11:32 -04:00
run-internal-dev-setup.mjs
run-internal-dev-setup.test.mjs
run-ssh-docker-perf-e2e.mjs test: add docker ssh relay perf guard (#4778) 2026-06-07 04:15:26 -07:00
run-terminal-scale-perf-e2e.mjs Scale hidden real PTY pressure benchmarks (#4812) 2026-06-07 11:01:02 -07:00
run-terminal-scale-perf-report-gate.mjs Preserve terminal perf reports under Playwright cleanup (#4824) 2026-06-07 12:05:41 -07:00
run-terminal-scale-perf-report-gate.test.mjs Preserve terminal perf reports under Playwright cleanup (#4824) 2026-06-07 12:05:41 -07:00
smoke-packaged-cli.mjs fix: package runtime node modules 2026-05-30 20:18:49 -07:00
summarize-terminal-perf-report.mjs Measure renderer terminal backlog pressure (#4809) 2026-06-07 10:36:26 -07:00
terminal-e2e-helpers.mjs Update oxlint and oxfmt 2026-05-30 13:09:17 -07:00
vendor-feature-wall-assets.mjs
verify-cli-bin.mjs fix: harden packaging installers (#3878) 2026-05-30 16:33:09 -07:00
verify-cli-bin.test.mjs fix: harden packaging installers (#3878) 2026-05-30 16:33:09 -07:00
verify-computer-native.mjs Harden computer use runtime and CLI (#4705) 2026-06-07 17:49:01 -07:00
verify-macos-entitlements.mjs
verify-macos-release-env.mjs
verify-release-required-assets.mjs feat(linux): add RPM package target and rename CLI to orca-ide 2026-05-29 16:57:56 -07:00
verify-release-required-assets.test.mjs feat(linux): add RPM package target and rename CLI to orca-ide 2026-05-29 16:57:56 -07:00
verify-telemetry-constants.mjs Update oxlint and oxfmt 2026-05-30 13:09:17 -07:00
verify-web-build.mjs