Skip to content

fix(desktop): prefer OpenClaw-ready node runtime#241

Merged
lefarcen merged 1 commit intomainfrom
dev-0318-2-pr
Mar 18, 2026
Merged

fix(desktop): prefer OpenClaw-ready node runtime#241
lefarcen merged 1 commit intomainfrom
dev-0318-2-pr

Conversation

@nettee
Copy link
Copy Markdown
Contributor

@nettee nettee commented Mar 18, 2026

Summary

Desktop runtime now prefers the active Node binary when it can launch OpenClaw, keeping the Node 22 heuristic as a fallback so local sidecars bound to newer ABIs still start.

Changes

  • add helpers that normalize node candidates, verify OpenClaw runtime support, and build a PATH that prioritizes a supported binary
  • update the manifest generator to use the new PATH when launching the OpenClaw sidecar so the gateway runs against a compatible runtime

- prefer the active node binary when it can boot OpenClaw, falling back to the existing Node 22 lookup
- ensure the OpenClaw sidecar uses the helper-provided PATH so the gateway launches with a supported runtime
@lefarcen lefarcen merged commit 039411c into main Mar 18, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants