Skip to content

Commit 5f2f7f6

Browse files
committed
chore: upgrade MXC SDK to 0.8.0
Co-authored-by: Copilot App <[email protected]> Copilot-Session: a0b075d5-fcf9-4d2b-bd8a-d5ee4dde168f
1 parent 1e18866 commit 5f2f7f6

5 files changed

Lines changed: 11 additions & 10 deletions

File tree

‎package-lock.json‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"private": true,
55
"description": "MXC sandbox dependency used by the OpenClaw tray build to copy wxc-exec.exe into the app output.",
66
"dependencies": {
7-
"@microsoft/mxc-sdk": "^0.7.0"
7+
"@microsoft/mxc-sdk": "^0.8.0"
88
}
99
}

‎src/OpenClaw.Shared/Mxc/MxcPolicyBuilder.cs‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ public static class MxcPolicyBuilder
3131
{
3232
/// <summary>
3333
/// Policy schema version emitted to <c>wxc-exec</c>. @microsoft/mxc-sdk
34-
/// 0.7.0 emits and accepts the 0.7.0-alpha contract used by
35-
/// processcontainer/AppContainer execution on Windows build 26100+.
34+
/// 0.8.0 continues to accept the 0.7.0-alpha contract used by OpenClaw.
35+
/// Keep the policy contract stable while taking native executor fixes;
36+
/// adopting the 0.8 directional network schema is a separate behavior change.
3637
/// </summary>
3738
public const string SupportedPolicyVersion = "0.7.0-alpha";
3839

‎src/OpenClaw.Tray.WinUI/OpenClaw.Tray.WinUI.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
<MxcArch Condition="'$(MxcArch)' == '' And '$(PlatformTarget)' == 'ARM64'">arm64</MxcArch>
119119
<MxcArch Condition="'$(MxcArch)' == '' And '$(RuntimeIdentifier)' == ''">x64</MxcArch>
120120
<MxcSdkBinDir>$(OpenClawRepoRoot)node_modules\@microsoft\mxc-sdk\bin\$(MxcArch)\</MxcSdkBinDir>
121-
<MxcSdkExpectedVersion>0.7.0</MxcSdkExpectedVersion>
121+
<MxcSdkExpectedVersion>0.8.0</MxcSdkExpectedVersion>
122122
<MxcSdkPackageJson>$(OpenClawRepoRoot)node_modules\@microsoft\mxc-sdk\package.json</MxcSdkPackageJson>
123123
<MxcSdkRestoreStamp>$(OpenClawRepoRoot)node_modules\.openclaw-mxc-sdk-$(MxcSdkExpectedVersion).stamp</MxcSdkRestoreStamp>
124124
</PropertyGroup>

‎tests/OpenClaw.Tray.Tests/InstallerIssAssertionTests.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,9 @@ public void MxcSdk_IsRestoredCopiedValidatedAndIncludedInInstallerPayload()
347347
var iss = File.ReadAllText(Path.Combine(repositoryRoot, "installer.iss"));
348348

349349
Assert.Contains(@"""@microsoft/mxc-sdk""", packageJson);
350-
Assert.Contains(@"""@microsoft/mxc-sdk"": ""^0.7.0""", packageJson);
350+
Assert.Contains(@"""@microsoft/mxc-sdk"": ""^0.8.0""", packageJson);
351351
Assert.Contains(@"""node_modules/@microsoft/mxc-sdk""", packageLock);
352-
Assert.Contains(@"""version"": ""0.7.0""", packageLock);
352+
Assert.Contains(@"""version"": ""0.8.0""", packageLock);
353353
Assert.Contains("RestoreMxcNodeBridge", trayProject);
354354
Assert.Contains(@"Inputs=""$(OpenClawRepoRoot)package-lock.json""", trayProject);
355355
Assert.Contains(@"<MxcSdkRestoreStamp>$(OpenClawRepoRoot)node_modules\.openclaw-mxc-sdk-$(MxcSdkExpectedVersion).stamp</MxcSdkRestoreStamp>", trayProject);

0 commit comments

Comments
 (0)