Summary
After the category-specific rebrand work items completed (env vars, types, npm package, config paths, UI, extensions, daemon, update infra, docs), ~45 production files in src/, ui/, extensions/, and root still contain hardcoded "openclaw" references that fall outside those scoped categories.
What needs to change
1. CLI command strings in help text and error messages (~15 files, ~50 occurrences)
Hardcoded "openclaw" CLI examples in user-facing messages:
| File |
Examples |
src/cli/update-cli/update-command.ts |
"openclaw completion --install", "openclaw gateway status --deep", "openclaw gateway restart", "openclaw doctor", "npm i -g openclaw@latest" |
src/cli/update-cli/wizard.ts |
"openclaw update --channel <stable|beta|dev>" |
src/cli/update-cli/progress.ts |
"openclaw doctor entry", "openclaw doctor" |
src/cli/completion-cli.ts |
Default binary name "openclaw" |
src/wizard/onboarding.ts |
"openclaw security audit --deep", "openclaw doctor", "openclaw configure" |
src/security/audit.ts |
"openclaw security audit --deep", "openclaw status --all" |
src/security/audit-extra.sync.ts |
"openclaw security audit --fix" |
src/security/audit-extra.async.ts |
"openclaw plugins update --all", "openclaw hooks update --all" |
src/security/audit-channel.ts |
"openclaw config set session.dmScope" |
src/web/auto-reply/monitor.ts |
"openclaw channels login --channel web", "openclaw up" |
src/media/host.ts |
"openclaw webhook", "openclaw up" |
2. URL and domain constants (~5 files)
| File |
Reference |
src/terminal/links.ts |
DOCS_ROOT = "https://docs.openclaw.ai" |
src/channels/registry.ts |
WEBSITE_URL = "https://openclaw.ai" |
3. Infrastructure file renames (2 files + ~70 import cascade)
| Current |
New |
src/infra/tmp-openclaw-dir.ts |
src/infra/tmp-remoteclaw-dir.ts |
src/infra/openclaw-root.ts |
src/infra/remoteclaw-root.ts |
Content updates: "/tmp/openclaw" → "/tmp/remoteclaw", suffix = "openclaw" → suffix = "remoteclaw".
All import paths referencing the old filenames must be updated (~70+ files).
4. HTTP protocol and API path identifiers (~3 files)
| File |
Old |
New |
src/security/audit-extra.sync.ts |
x-openclaw-session-key |
x-remoteclaw-session-key |
src/gateway/control-ui-contract.ts |
/__openclaw/control-ui-config.json |
/__remoteclaw/control-ui-config.json |
src/security/audit-extra.sync.ts |
openclaw-sandbox-browser |
remoteclaw-sandbox-browser |
5. Wire protocol property (~2 files)
| File |
Old |
New |
ui/src/ui/views/chat.ts |
__openclaw |
__remoteclaw |
src/gateway/control-ui-contract.ts |
__openclaw |
__remoteclaw |
6. Extension residuals (~3 files)
extensions/googlechat/package.json: peerDependency "openclaw" → "remoteclaw"
extensions/feishu/src/media.test.ts: import from tmp-openclaw-dir.js (cascade from rename)
extensions/msteams/src/messenger.test.ts: import from tmp-openclaw-dir.js (cascade from rename)
7. Root package.json residuals (~1 file)
Native app build command paths in root package.json:
ai.openclaw.android → ai.remoteclaw.android
OpenClaw.xcodeproj → RemoteClaw.xcodeproj
ai.openclaw.ios → ai.remoteclaw.ios
OpenClawKit → RemoteClawKit
8. Completion CLI default binary name (~1 file)
src/cli/completion-cli.ts: default binary name "openclaw" → "remoteclaw"
Acceptance Criteria
Summary
After the category-specific rebrand work items completed (env vars, types, npm package, config paths, UI, extensions, daemon, update infra, docs), ~45 production files in
src/,ui/,extensions/, and root still contain hardcoded "openclaw" references that fall outside those scoped categories.What needs to change
1. CLI command strings in help text and error messages (~15 files, ~50 occurrences)
Hardcoded
"openclaw"CLI examples in user-facing messages:src/cli/update-cli/update-command.ts"openclaw completion --install","openclaw gateway status --deep","openclaw gateway restart","openclaw doctor","npm i -g openclaw@latest"src/cli/update-cli/wizard.ts"openclaw update --channel <stable|beta|dev>"src/cli/update-cli/progress.ts"openclaw doctor entry","openclaw doctor"src/cli/completion-cli.ts"openclaw"src/wizard/onboarding.ts"openclaw security audit --deep","openclaw doctor","openclaw configure"src/security/audit.ts"openclaw security audit --deep","openclaw status --all"src/security/audit-extra.sync.ts"openclaw security audit --fix"src/security/audit-extra.async.ts"openclaw plugins update --all","openclaw hooks update --all"src/security/audit-channel.ts"openclaw config set session.dmScope"src/web/auto-reply/monitor.ts"openclaw channels login --channel web","openclaw up"src/media/host.ts"openclaw webhook","openclaw up"2. URL and domain constants (~5 files)
src/terminal/links.tsDOCS_ROOT = "https://docs.openclaw.ai"src/channels/registry.tsWEBSITE_URL = "https://openclaw.ai"3. Infrastructure file renames (2 files + ~70 import cascade)
src/infra/tmp-openclaw-dir.tssrc/infra/tmp-remoteclaw-dir.tssrc/infra/openclaw-root.tssrc/infra/remoteclaw-root.tsContent updates:
"/tmp/openclaw"→"/tmp/remoteclaw",suffix = "openclaw"→suffix = "remoteclaw".All import paths referencing the old filenames must be updated (~70+ files).
4. HTTP protocol and API path identifiers (~3 files)
src/security/audit-extra.sync.tsx-openclaw-session-keyx-remoteclaw-session-keysrc/gateway/control-ui-contract.ts/__openclaw/control-ui-config.json/__remoteclaw/control-ui-config.jsonsrc/security/audit-extra.sync.tsopenclaw-sandbox-browserremoteclaw-sandbox-browser5. Wire protocol property (~2 files)
ui/src/ui/views/chat.ts__openclaw__remoteclawsrc/gateway/control-ui-contract.ts__openclaw__remoteclaw6. Extension residuals (~3 files)
extensions/googlechat/package.json: peerDependency"openclaw"→"remoteclaw"extensions/feishu/src/media.test.ts: import fromtmp-openclaw-dir.js(cascade from rename)extensions/msteams/src/messenger.test.ts: import fromtmp-openclaw-dir.js(cascade from rename)7. Root package.json residuals (~1 file)
Native app build command paths in root
package.json:ai.openclaw.android→ai.remoteclaw.androidOpenClaw.xcodeproj→RemoteClaw.xcodeprojai.openclaw.ios→ai.remoteclaw.iosOpenClawKit→RemoteClawKit8. Completion CLI default binary name (~1 file)
src/cli/completion-cli.ts: default binary name"openclaw"→"remoteclaw"Acceptance Criteria
remoteclawtmp-openclaw-dir.tsrenamed totmp-remoteclaw-dir.tswith content updatedopenclaw-root.tsrenamed toremoteclaw-root.ts__openclaw→__remoteclaw"remoteclaw"pnpm buildpasses