Repository navigation
Add gateway terminal controls - #597
Conversation
Adds Connection page terminal access for setup-managed WSL gateways and SSH-tunneled gateway hosts. Adds WSL-only Start, Stop, and Restart actions that run gateway CLI commands in the managed distro. Validation: .\build.ps1; dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore; dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore. Co-authored-by: Copilot <[email protected]>
|
Codex review: needs maintainer review before merge. Reviewed May 29, 2026, 11:43 PM ET / 03:43 UTC. Summary Reproducibility: not applicable. this is a feature PR rather than a bug report. Source inspection of the diff and current master is enough to identify the new terminal and lifecycle behavior. Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Finish human review of the draft, verify the WSL and SSH terminal paths on Windows, and land the feature if the lifecycle UX is intentional. Do we have a high-confidence way to reproduce the issue? Not applicable; this is a feature PR rather than a bug report. Source inspection of the diff and current master is enough to identify the new terminal and lifecycle behavior. Is this the best way to solve the issue? Yes, broadly: the implementation keeps connection ownership with GatewayConnectionManager/IAppCommands and isolates command construction in tray services. The main remaining question is maintainer acceptance of the new lifecycle UX plus real Windows WSL/SSH proof. AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against 7485ce2af9da. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Resolves conflicts between PR openclaw#624 (localize remaining tray strings) and the PR openclaw#558 / PR openclaw#597 / openclaw#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 openclaw#624 hunks (JobCompletedInfoBar, ShowDisconnected) - 5 Resources.resw files: reset to master and re-injected 80 unique openclaw#624 keys via text injection so XML entities (") 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]>
Summary
openclaw gatewaycommands inside the managed distroValidation
./build.ps1dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restoredotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore