v3.42.3
lejianwen/rustdesk-serverv3.42.3Sep 16, 2026by ruvnet
Upgrading?
AI Summary
This release addresses critical Windows compatibility issues by fixing quote-aware splitting in hook tests and ensuring `npm.cmd` is spawned correctly with `shell:true` to prevent `EINVAL` errors during package publishing.
Key Highlights
- Fixed quote-aware split for `RUFLO_HOOK_CLI_OVERRIDE` to handle paths with spaces (e.g., `C:\Program Files`)
- Fixed Windows publish pipeline by spawning `npm.cmd` with `shell:true`
- Verified end-to-end on a real Windows machine
- All test suites passed (32/32 hooks)
Full Release Notes
## Fixes
- **hooks**: quote-aware split for `RUFLO_HOOK_CLI_OVERRIDE` (#3344) — the test-only CLI-override parser in `plugins/ruflo-core/scripts/ruflo-hook.cjs` did a naive `.split(' ')`, which broke `process.execPath` into `C:\Program` plus stray tokens on a standard Windows Node install (`C:\Program Files\nodejs\node.exe`). Found while verifying #3332's Windows argv fix on a real Windows machine rather than `windows-latest` CI (whose hosted Node path has no space). No production impact — `RUFLO_HOOK_CLI_OVERRIDE` is never set outside the test harness.
- **release**: spawn `npm.cmd` with `shell:true` on Windows (#3346, #3348) — `scripts/stage-internal-runtime-bundles.mjs` and `scripts/prepare-root-publish.mjs` both spawned `npm.cmd` directly without `shell:true`, which throws `EINVAL` on any current Node/Windows combo (CreateProcess can't launch a `.cmd`, and Node has refused to shell out to one implicitly since CVE-2024-27980). This blocked every Windows publish of `@claude-flow/cli` and the `claude-flow` umbrella package. Found live while publishing this release from a Windows machine.
## Verification
- `plugins/ruflo-core/scripts/test-hooks.mjs`: 32/32 (was 29/32 before #3344)
- `v3/@claude-flow/cli/__tests__/ruflo-hook-windows-argv.test.ts`, `escape-cmd-arg.test.cjs`, `mcp-launch.test.cjs`, `scripts/smoke-ruflo-hook-cjs.mjs`, cross-platform/env-var audits: all clean
- Full Windows publish pipeline (`@claude-flow/cli` → `claude-flow` → `ruflo`) exercised end-to-end on a real Windows machine after the fixes landed
- `latest` / `alpha` / `v3alpha` dist-tags verified aligned at 3.42.3 across all three packages
🤖 Generated with [RuFlo](https://github.com/ruvnet/ruflo)
Related Repositories
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one