Skip to content

Stabilize local Windows OpenClaw admin startup#27

Open
85107897-max wants to merge 5 commits into
itq5:mainfrom
85107897-max:codex/openclaw-admin-local-setup
Open

Stabilize local Windows OpenClaw admin startup#27
85107897-max wants to merge 5 commits into
itq5:mainfrom
85107897-max:codex/openclaw-admin-local-setup

Conversation

@85107897-max

@85107897-max 85107897-max commented Apr 12, 2026

Copy link
Copy Markdown

Summary

  • Stabilize the Windows local startup path for OpenClaw-Admin against an existing local Gateway
  • Fix i18n runtime/message compilation issues that caused placeholder rendering and blank-page behavior
  • Fix auth and data-loading regressions in Remote Desktop and MyWorld
  • Add regression tests, cleanup tooling, and Windows startup guidance for repeatable setup

What Changed

  • Added an i18n resource generation step and wired Vite/Vitest to use generated locale resources
  • Added the missing dashboardV2 route title key in both Chinese and English locale messages
  • Fixed Remote Desktop requests to use the authenticated admin token consistently
  • Fixed MyWorld env-auth compatibility and prevented duplicate demo company creation
  • Added a cleanup script for historical duplicate MyWorld demo companies
  • Added local Windows startup guidance for the verified PORT=3000 flow
  • Ignored generated/local-only artifacts such as output, .playwright-cli, and src/i18n/generated

Verification

  • npm run build
  • npm test
  • GET /api/health returns {"ok":true,"gateway":"connected"}
  • Browser verification completed for:
    • Login
    • Dashboard
    • Settings
    • System
    • Remote Desktop
    • MyWorld

Notes

  • This change was validated on Windows with the admin app running at http://localhost:3000
  • The validated local Gateway endpoint is ws://localhost:18789
  • Development-mode port guidance was adjusted to avoid local conflicts with an occupied 3001

@85107897-max 85107897-max force-pushed the codex/openclaw-admin-local-setup branch from e4ac68d to 1f34b60 Compare April 13, 2026 09:10
@85107897-max

Copy link
Copy Markdown
Author

PR stack status update:

  • This PR has been rebased onto the current main and is now cleanly mergeable.
  • Fork-side stacked PRs #1 through #5 have all been merged.
  • The upstream-facing branch was intentionally narrowed during rebase:
    • kept: i18n generation/runtime fixes, route title fix, remote desktop auth fix, SSE cleanup, and related targeted tests
    • dropped: old MyWorld backend/store files and other changes that no longer fit current upstream structure

Validation completed on the rebased codex/openclaw-admin-local-setup branch:

  • npm run build passed
  • targeted tests passed:
    • tests/unit/route-title-keys.test.ts
    • tests/unit/i18n-runtime.test.ts
    • tests/unit/vite-i18n-alias.test.ts
    • tests/unit/remote-desktop-auth-source.test.ts
    • tests/unit/api-client.test.ts

Current status:

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.

1 participant