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.