Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/adr/0001-gateway-release-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ evidence.
npm tags.
- Embedded release evidence, the product security floor, and the
candidate-promotion workflow are removed.
- Setup continues to pin and verify Node `24.19.0`. This decision changes the
OpenClaw npm package selection, not the managed Node runtime.
- Setup continues to pin and verify its managed Node runtime separately from
the OpenClaw npm package selection. The original pin was `24.19.0`; it is now
`24.22.1` to meet the upstream installer minimum.

## Consequences

Expand Down
2 changes: 1 addition & 1 deletion src/OpenClaw.SetupEngine/GatewayInstallPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public static class GatewayInstallPolicy
{
public const string DefaultInstallUrl = "https://openclaw.ai/install-cli.sh";
public const int ProtocolGeneration = 4;
public const string NodeVersion = "24.19.0";
public const string NodeVersion = "24.22.1";
public const string RecommendedTag = "latest";
public const string FallbackTag = "extended-stable";

Expand Down
4 changes: 2 additions & 2 deletions tests/OpenClaw.SetupEngine.Tests/SetupStepsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,7 @@ public void InstallCli_BuildInstallCommand_DefaultsToInstallerLatest()
GatewayInstallPolicy.NodeVersion);

Assert.Contains(
$"bash -s -- --node-version '{GatewayInstallPolicy.NodeVersion}' < \"$installer\"",
"bash -s -- --node-version '24.22.1' < \"$installer\"",
command);
Assert.DoesNotContain(" --version ", command, StringComparison.Ordinal);
Assert.DoesNotContain("| bash", command, StringComparison.Ordinal);
Expand Down Expand Up @@ -1999,7 +1999,7 @@ public void InstallCli_BuildInstallCommand_DownloadsCompletelyBeforeExecuting()
Assert.Contains("--output \"$installer\"", command);
Assert.Contains("'https://openclaw.ai/install-cli.sh'", command);
Assert.Contains("if ! test -s \"$installer\"", command);
Assert.Contains("bash -s -- --version '2026.5.22' --node-version '24.19.0' < \"$installer\"", command);
Assert.Contains("bash -s -- --version '2026.5.22' --node-version '24.22.1' < \"$installer\"", command);
Assert.DoesNotContain("--retry", command);
Assert.DoesNotContain("| bash", command);
}
Expand Down
Loading