Bug Description
The browser profile driver schema in zod-schema.ts only accepts "clawd" (legacy project name) and "extension", but:
- The TypeScript type at
types.browser.ts:7 defines driver?: "openclaw" | "extension"
- The runtime code at
browser/config.ts:320 normalizes to "openclaw" as the default
- Tests at
browser/config.test.ts:16,21 expect "openclaw" as the resolved driver value
Users setting browser.profiles.*.driver: "openclaw" get a validation error because the schema only accepts "clawd".
Steps to Reproduce
browser:
profiles:
default:
cdpPort: 9222
driver: "openclaw"
color: "#ff0000"
This config is rejected by validateConfigObject().
Root Cause
The project was renamed from "clawd" to "openclaw" but the Zod schema wasn't updated to accept the new name.
Bug Description
The browser profile driver schema in
zod-schema.tsonly accepts"clawd"(legacy project name) and"extension", but:types.browser.ts:7definesdriver?: "openclaw" | "extension"browser/config.ts:320normalizes to"openclaw"as the defaultbrowser/config.test.ts:16,21expect"openclaw"as the resolved driver valueUsers setting
browser.profiles.*.driver: "openclaw"get a validation error because the schema only accepts"clawd".Steps to Reproduce
This config is rejected by
validateConfigObject().Root Cause
The project was renamed from "clawd" to "openclaw" but the Zod schema wasn't updated to accept the new name.