gsxdsm
743251a5d3
FN-9099: harden Hermes Windows CLI launches
Reliably resolve and safely launch operator-installed Hermes binaries on Windows.
- Resolve Windows Hermes shims using PATH and PATHEXT-aware lookup with bounded caching
- Launch .cmd and .bat shims through escaped cmd.exe payloads while preserving direct executable launches
- Supervise CLI turns and cover Windows shim, probe, cache, timeout, and injection behavior
Files changed:
.changeset/fn-9099-hermes-windows-launch.md | 7 +
plugins/fusion-plugin-hermes-runtime/README.md | 4 +
plugins/fusion-plugin-hermes-runtime/package.json | 1 +
.../src/__tests__/cli-spawn.test.ts | 139 +++++++++++++++-
.../src/__tests__/probe.test.ts | 61 +++++++
.../src/__tests__/windows-binary-launch.test.ts | 64 +++++++
.../fusion-plugin-hermes-runtime/src/cli-spawn.ts | 72 ++++----
plugins/fusion-plugin-hermes-runtime/src/index.ts | 8 +
plugins/fusion-plugin-hermes-runtime/src/probe.ts | 19 ++-
.../src/windows-binary-launch.ts | 184 +++++++++++++++++++++
pnpm-lock.yaml | 3 +
11 files changed, 508 insertions(+), 54 deletions(-)
Fusion-Task-Id: FN-9099
Fusion-Task-Lineage: 37b1f255-07ce-4952-aac6-1556890849be
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-15 12:38:24 -07:00
..
2026-08-15 12:38:24 -07:00
2026-08-15 12:38:24 -07:00
2026-08-11 04:13:35 -07:00
2026-08-15 12:38:24 -07:00
2026-08-15 12:38:24 -07:00
2026-07-05 18:26:33 -07:00
2026-07-05 17:50:13 -07:00
2026-08-15 12:38:24 -07:00