Skip to content

Commit 8fe5219

Browse files
RBridCopilot
andcommitted
Merge master into user/rbrid/LocalizeStrings1
Resolves conflicts between PR #624 (localize remaining tray strings) and the PR #558 / PR #597 / #686 localization work landed in master. Conflict resolutions - 6 XAML files (AgentEventsPage, ConnectionPage, CronPage, SandboxPage, SessionsPage, HubWindow): took master versions - CronPage.xaml.cs: master + re-applied 2 #624 hunks (JobCompletedInfoBar, ShowDisconnected) - 5 Resources.resw files: reset to master and re-injected 80 unique #624 keys via text injection so XML entities (&quot;) are preserved verbatim - LocalizationValidationTests.cs: pruned 17 obsolete and 7 over-deferred entries from InvariantOrDeferredResourceKeys Regression caught by adversarial review - AgentEventsPage / SkillsPage runtime code overrides XAML defaults with LocalizationHelper.GetString / Format calls. The 7 corresponding keys were seeded English-only across all locales so fr/nl/zh users would have seen English status badges and skill counters at runtime - Translated those 7 keys in fr-fr, nl-nl, zh-cn, zh-tw using the existing XAML translations as canonical source (28 strings total) - nl-nl AgentEventsPage_Status_Offline = "Niet verbonden" (matches the Status == Connected runtime check) so the all-or-none parity test passes - Stripped UTF-8 BOM from nl-nl/Resources.resw introduced by the rewrite so all 5 locales share the same encoding Validation - ./build.ps1 clean - OpenClaw.Shared.Tests: 2045 passed / 29 skipped - OpenClaw.Tray.Tests: 936 passed / 0 failed - Key parity: 1885 entries per locale across all 5 locales Co-authored-by: Copilot <[email protected]>
2 parents bba29a0 + 99efc50 commit 8fe5219

36 files changed

Lines changed: 6080 additions & 1608 deletions

‎.github/workflows/ci.yml‎

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,15 @@ jobs:
399399
shell: pwsh
400400
run: .\scripts\Test-ReleaseNativeDependencies.ps1 -PayloadPath publish -RequireAppLocalVCRuntime
401401

402+
- name: Verify ARM64 Native Runtime Payload
403+
if: matrix.rid == 'win-arm64'
404+
shell: pwsh
405+
# -SkipNativeLoadProbe: an ARM64 runner CAN LoadLibrary ARM64 DLLs, but
406+
# libsodium pulls in a long native dependency chain that may not all be
407+
# in the payload here (WindowsAppSDK pieces, etc.). The probe is for x64
408+
# parity; signature + presence is what we actually care about.
409+
run: .\scripts\Test-ReleaseNativeDependencies.ps1 -PayloadPath publish -RequireAppLocalVCRuntime -SkipNativeLoadProbe
410+
402411
- name: Verify GitVersion assembly metadata
403412
shell: pwsh
404413
run: |
@@ -608,6 +617,13 @@ jobs:
608617
shell: pwsh
609618
run: .\scripts\Test-ReleaseNativeDependencies.ps1 -PayloadPath artifacts/tray-win-x64 -RequireAppLocalVCRuntime
610619

620+
- name: Verify ARM64 Release Native Dependencies
621+
shell: pwsh
622+
# -SkipNativeLoadProbe: this release job runs on the x64 windows-latest
623+
# runner and cannot LoadLibrary an ARM64 DLL. The signature and presence
624+
# checks still run.
625+
run: .\scripts\Test-ReleaseNativeDependencies.ps1 -PayloadPath artifacts/tray-win-arm64 -RequireAppLocalVCRuntime -SkipNativeLoadProbe
626+
611627
- name: Download Visual C++ Runtime Redistributables
612628
shell: pwsh
613629
run: |
@@ -628,11 +644,19 @@ jobs:
628644
}
629645
}
630646
631-
# Create ZIP file for Updatum auto-update (needs "win-x64" in filename)
647+
# Create ZIP files for Updatum auto-update (asset name must contain the RID).
648+
# We ship both x64 and arm64 portables now that the build job produces a
649+
# libsodium-compatible app-local VC runtime for both architectures (the
650+
# arm64 leg sources its loose Microsoft.VC*.CRT DLLs from the VS install
651+
# on the windows-11-arm runner; see src/Directory.Build.targets).
632652
- name: Create x64 Release ZIP
633653
run: |
634654
Compress-Archive -Path artifacts/tray-win-x64/* -DestinationPath OpenClawTray-${{ needs.test.outputs.semVer }}-win-x64.zip
635655
656+
- name: Create arm64 Release ZIP
657+
run: |
658+
Compress-Archive -Path artifacts/tray-win-arm64/* -DestinationPath OpenClawTray-${{ needs.test.outputs.semVer }}-win-arm64.zip
659+
636660
# Inno Setup installer for x64
637661
- name: Install Inno Setup
638662
run: choco install innosetup -y
@@ -651,7 +675,10 @@ jobs:
651675
# Prepare arm64 files
652676
mkdir publish-arm64
653677
copy artifacts/tray-win-arm64/* publish-arm64/ -Recurse
654-
.\scripts\Test-ReleaseNativeDependencies.ps1 -PayloadPath publish-arm64 -RequireInstallerVCRedist -InstallerVCRedistPath vc_redist.arm64.exe -SkipNativeLoadProbe
678+
# -RequireAppLocalVCRuntime: arm64 payload now ships VC runtime DLLs from the build job.
679+
# -SkipNativeLoadProbe: this verifier runs on the x64 release runner and cannot
680+
# LoadLibrary an arm64 DLL.
681+
.\scripts\Test-ReleaseNativeDependencies.ps1 -PayloadPath publish-arm64 -RequireAppLocalVCRuntime -RequireInstallerVCRedist -InstallerVCRedistPath vc_redist.arm64.exe -SkipNativeLoadProbe
655682
# Build installer
656683
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" /DMyAppVersion=${{ needs.test.outputs.majorMinorPatch }} /DMyAppArch=arm64 /Dpublish=publish-arm64 /DvcRedist=vc_redist.arm64.exe installer.iss
657684
@@ -675,6 +702,7 @@ jobs:
675702
Output/OpenClawCompanion-Setup-x64.exe
676703
Output/OpenClawCompanion-Setup-arm64.exe
677704
OpenClawTray-${{ needs.test.outputs.semVer }}-win-x64.zip
705+
OpenClawTray-${{ needs.test.outputs.semVer }}-win-arm64.zip
678706
prerelease: ${{ contains(github.ref_name, '-') }}
679707
make_latest: ${{ contains(github.ref_name, '-') && 'false' || 'true' }}
680708
body: |
@@ -684,6 +712,7 @@ jobs:
684712
- **Installer (x64)**: `OpenClawCompanion-Setup-x64.exe` - Intel/AMD 64-bit
685713
- **Installer (ARM64)**: `OpenClawCompanion-Setup-arm64.exe` - Windows on ARM (Surface, etc.)
686714
- **Portable x64**: `OpenClawTray-${{ needs.test.outputs.semVer }}-win-x64.zip`
715+
- **Portable ARM64**: `OpenClawTray-${{ needs.test.outputs.semVer }}-win-arm64.zip`
687716
688717
### Features
689718
- 🦞 System tray integration with gateway status

‎README.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![OpenClaw Windows Node banner](docs/assets/readme-banner.jpg)
44

5-
A Windows companion suite for [OpenClaw](https://openclaw.ai) - the AI-powered personal assistant.
5+
A native Windows companion suite for [OpenClaw](https://openclaw.ai) - the AI-powered personal assistant.
66

77
*Made with 🦞 love by Scott Hanselman and Molty*
88

@@ -26,10 +26,16 @@ This monorepo contains the Windows hub, shared client libraries, and CLI utiliti
2626

2727
## 🚀 Quick Start
2828

29-
> **End-user installer?** See [docs/SETUP.md](docs/SETUP.md) for a step-by-step installation guide (no build required).
29+
> **End-user installer?** Download the latest stable x64 or ARM64 installer from the [OpenClaw Windows docs](https://docs.openclaw.ai/platforms/windows), or see [docs/SETUP.md](docs/SETUP.md) for step-by-step installation (no build required).
3030
>
3131
> **Managed WSL gateway?** Local setup creates a locked-down app-owned `OpenClawGateway` distro. See [docs/WSL_GATEWAY_ADMIN.md](docs/WSL_GATEWAY_ADMIN.md) for editing `openclaw.json` as the `openclaw` user and using root for protected-file administration.
3232
33+
Direct downloads from the latest OpenClaw release:
34+
35+
- [OpenClawCompanion-Setup-x64.exe](https://github.com/openclaw/openclaw/releases/latest/download/OpenClawCompanion-Setup-x64.exe)
36+
- [OpenClawCompanion-Setup-arm64.exe](https://github.com/openclaw/openclaw/releases/latest/download/OpenClawCompanion-Setup-arm64.exe)
37+
- [OpenClawCompanion-SHA256SUMS.txt](https://github.com/openclaw/openclaw/releases/latest/download/OpenClawCompanion-SHA256SUMS.txt)
38+
3339
### Prerequisites
3440
- Windows 10 (20H2+) or Windows 11
3541
- .NET 10.0 SDK - https://dotnet.microsoft.com/download/dotnet/10.0

‎docs/ONBOARDING_WIZARD.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Renders server-defined setup steps via RPC (`wizard.start` / `wizard.next`). The
3636

3737
If the gateway doesn't support the wizard protocol or is unreachable, this screen shows an "offline" message and can be skipped.
3838

39-
If the gateway restarts or the wizard connection is lost while setup is running, the wizard presents recovery choices to start the wizard again or skip it for now so the user is not trapped retrying a broken session.
39+
The wizard keeps recovery choices visible while setup steps are running so users can start the wizard again or skip it for now if an auth flow stalls. If the gateway restarts or the wizard connection is lost while setup is running, the same recovery choices are presented in the error state so the user is not trapped retrying a broken session.
4040

4141
### Permissions
4242
Checks 5 Windows permissions using native APIs and registry:

‎docs/RELEASING.md‎

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ For the current alpha flow, ship only:
6969
- Inno setup installers:
7070
- `OpenClawCompanion-Setup-x64.exe`
7171
- `OpenClawCompanion-Setup-arm64.exe`
72-
- Portable ZIP payload for Updatum:
72+
- Portable ZIP payloads for Updatum:
7373
- `OpenClawTray-<version>-win-x64.zip`
74+
- `OpenClawTray-<version>-win-arm64.zip`
7475

7576
MSIX artifacts are intentionally paused for alpha while we focus on the Inno
7677
installer path and signed portable update payloads. Re-enable MSIX only when we
@@ -99,15 +100,18 @@ CI enforces this with `scripts\Test-ReleaseExecutableSignatures.ps1`. The
99100
verifier fails closed on unknown `.exe` files so future payload changes are
100101
reviewed deliberately.
101102

102-
CI also checks native runtime dependencies before release packaging. The x64
103-
portable payload must ship `vcruntime140.dll` next to every `libsodium.dll`
104-
copy. The release job must Authenticode-verify Microsoft's x64 and ARM64 Visual
105-
C++ Runtime redistributables before passing the architecture-matching
106-
redistributable to Inno. The installer runs the redistributable before launching
107-
the tray so clean or stale Windows hosts can repair the runtime before Ed25519
108-
device keys are generated or loaded, and it skips the post-install tray launch
109-
if the runtime installer fails. ARM64 portable ZIPs are paused until the release
110-
pipeline has a trusted app-local ARM64 VC runtime source.
103+
CI also checks native runtime dependencies before release packaging. Both the
104+
x64 and ARM64 portable payloads must ship `vcruntime140.dll` next to every
105+
`libsodium.dll` copy. The x64 build leg sources its loose VC runtime DLLs from
106+
the `VCRuntime.CefSharp.140` NuGet package; the ARM64 build leg sources its
107+
DLLs from the Visual Studio install on the `windows-11-arm` runner (resolved
108+
via `vswhere` in `src\Directory.Build.targets`). The release job must
109+
Authenticode-verify Microsoft's x64 and ARM64 Visual C++ Runtime
110+
redistributables before passing the architecture-matching redistributable to
111+
Inno. The installer runs the redistributable before launching the tray so
112+
clean or stale Windows hosts can repair the runtime before Ed25519 device keys
113+
are generated or loaded, and it skips the post-install tray launch if the
114+
runtime installer fails.
111115

112116
The current Azure Artifact Signing resource is:
113117

‎docs/SETUP.md‎

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,20 @@ Before installing, make sure you have:
88

99
- **Windows 10 (20H2 or later)** or **Windows 11**
1010
- **WebView2 Runtime** — pre-installed on Windows 11 and most up-to-date Windows 10 systems. If missing, download from [Microsoft Edge WebView2](https://developer.microsoft.com/microsoft-edge/webview2/).
11-
- An active **OpenClaw account** with a gateway token — sign up at [openclaw.ai](https://openclaw.ai).
11+
12+
You do **not** need a pre-existing local OpenClaw gateway before installing. On first launch, OpenClaw Companion can install a dedicated local WSL gateway for you, or you can use **Advanced setup** to connect to an existing local, remote, or manually configured gateway.
1213

1314
## Step-by-Step Installation
1415

1516
### 1. Download the Installer
1617

17-
Go to the [Releases page](https://github.com/openclaw/openclaw-windows-node/releases) and download the latest installer for your architecture:
18+
Download the latest stable installer from the canonical OpenClaw release assets:
1819

1920
| File | Architecture |
2021
|------|-------------|
21-
| `OpenClawCompanion-Setup-x64.exe` | Intel / AMD (most PCs) |
22-
| `OpenClawCompanion-Setup-arm64.exe` | ARM64 (Surface Pro X, Snapdragon laptops) |
22+
| [OpenClawCompanion-Setup-x64.exe](https://github.com/openclaw/openclaw/releases/latest/download/OpenClawCompanion-Setup-x64.exe) | Intel / AMD (most PCs) |
23+
| [OpenClawCompanion-Setup-arm64.exe](https://github.com/openclaw/openclaw/releases/latest/download/OpenClawCompanion-Setup-arm64.exe) | ARM64 (Surface Pro X, Snapdragon laptops) |
24+
| [OpenClawCompanion-SHA256SUMS.txt](https://github.com/openclaw/openclaw/releases/latest/download/OpenClawCompanion-SHA256SUMS.txt) | SHA-256 checksums |
2325

2426
If you're unsure, use the **x64** installer.
2527

@@ -46,20 +48,19 @@ The installer also creates a Start Menu group with shortcuts for **OpenClaw Comp
4648

4749
### 5. Onboarding Wizard
4850

49-
On first launch, Molty opens a **6-screen onboarding wizard** that walks you through setup:
51+
On first launch, Molty opens the onboarding wizard when there is no usable saved gateway connection. The default flow installs and configures a dedicated app-owned local WSL gateway:
52+
53+
1. **Welcome** — A friendly greeting introducing OpenClaw and Molty. Click **Install new WSL Gateway** to install a new local WSL gateway.
5054

51-
1. **Welcome** — A friendly greeting introducing OpenClaw and Molty. Click **Get Started** to begin.
55+
If you already have a local or remote gateway, choose **Advanced setup** instead. This opens the tray app's Connections tab, where you can connect with an existing gateway URL, token, or setup code without installing a new local WSL gateway.
5256

53-
2. **Connection** — Choose how to connect to your gateway:
54-
- **Local** — Select this if the gateway runs on the same machine or in WSL. The URL is pre-filled to `ws://localhost:18789`.
55-
- **Remote** — Enter your gateway URL and bootstrap token manually, **or** paste a base64url-encoded **setup code** (a single string containing both URL and token).
56-
- **Later** — Skip connection setup for now. You can configure it later from the tray menu → Settings.
57+
2. **Capabilities** — Reviews the Windows node capabilities that can be enabled, such as system commands, canvas, screen capture, camera, location, browser automation, device controls, text-to-speech, and speech-to-text.
5758

58-
After entering your details, click **Test Connection**. The wizard performs a real WebSocket handshake with Ed25519 device authentication and shows real-time status feedback (connecting → connected → pairing).
59+
3. **Local setup progress** — Installs a fresh app-owned `OpenClawGateway` WSL instance and connects Molty to it. This does not modify an existing user Ubuntu distro.
5960

60-
3. **Wizard** — If your gateway supports it, this screen walks you through gateway-driven configuration steps (AI provider selection, personality setup, communication channels). The steps are defined by your gateway via RPC. If the gateway doesn't support wizard mode, this screen is skipped automatically.
61+
4. **Gateway setup** — If your gateway supports it, this screen walks you through gateway-driven configuration steps (AI provider selection, personality setup, communication channels). The steps are defined by your gateway via RPC. If the gateway doesn't support wizard mode, this screen is skipped automatically.
6162

62-
4. **Permissions** — Reviews Windows system permissions needed for full functionality:
63+
5. **Permissions** — Reviews Windows system permissions needed for full functionality:
6364
- **Notifications** — for toast alerts
6465
- **Camera** — for camera capture
6566
- **Microphone** — for voice input
@@ -68,9 +69,7 @@ On first launch, Molty opens a **6-screen onboarding wizard** that walks you thr
6869

6970
Each permission shows its current status. Click **Open Settings** next to any permission to jump directly to the relevant Windows Settings page.
7071

71-
5. **Chat** — Meet your agent! This screen opens a live chat powered by the gateway's web UI. A bootstrap message is sent automatically to kick off your first conversation.
72-
73-
6. **Ready** — A summary of available features (tray menu, channels, voice, canvas, skills). Toggle **Launch at Login** to start Molty with Windows, then click **Finish** to complete setup.
72+
6. **All set** — A summary of available features (tray menu, channels, voice, canvas, skills). Toggle **Launch at Login** to start Molty with Windows, then click **Finish** to complete setup.
7473

7574
After the wizard, the tray icon turns green when connected. You can re-run the wizard or change settings anytime from the tray menu.
7675

@@ -189,7 +188,7 @@ Settings are stored at `%APPDATA%\OpenClawTray\settings.json`. If this file is c
189188

190189
## Updating
191190

192-
OpenClaw Companion checks for updates automatically and shows a notification when a new version is available. Click **Update** to download and apply the update. You can also manually check by re-downloading from the [Releases page](https://github.com/openclaw/openclaw-windows-node/releases).
191+
OpenClaw Companion checks for updates automatically and shows a notification when a new version is available. Click **Update** to download and apply the update. You can also manually check by re-downloading from the [OpenClaw Windows docs](https://docs.openclaw.ai/platforms/windows) or the [latest OpenClaw release](https://github.com/openclaw/openclaw/releases/latest).
193192

194193
## Uninstalling
195194

0 commit comments

Comments
 (0)