During bootstrap, `onboard --install-daemon` starts the gateway daemon immediately. The gateway's startup guard requires `gateway.mode=local` but this was only set *after* onboard completed, causing the daemon to block with "Gateway start blocked: set gateway.mode=local" and enter a crash loop. The web UI then fails with "Gateway WebSocket connection failed". Move `ensureGatewayModeLocal()` and `ensureGatewayPort()` to run before the onboard command so the config is in place when the daemon first starts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Website · Discord · Skills Store · Demo Video
Demo Video · Join our Discord Server
Install
Node 22+ required.
npx denchclaw
Opens at localhost:3100 after completing onboarding wizard.
Commands
npx denchclaw # runs onboarding again for openclaw --profile dench
npx denchclaw update # updates denchclaw with current settings as is
npx denchclaw restart # restarts denchclaw web server
npx denchclaw start # starts denchclaw web server
npx denchclaw stop # stops denchclaw web server
# some examples
openclaw --profile dench <any openclaw command>
openclaw --profile dench gateway restart
openclaw --profile dench config set gateway.port 19001
openclaw --profile dench gateway install --force --port 19001
openclaw --profile dench gateway restart
openclaw --profile dench uninstall
Development
git clone https://github.com/DenchHQ/DenchClaw.git
cd denchclaw
pnpm install
pnpm build
pnpm dev
Web UI development:
pnpm install
pnpm web:dev
Open Source
MIT Licensed. Fork it, extend it, make it yours.
Languages
TypeScript
73.8%
JavaScript
17.1%
Swift
6.1%
Kotlin
1.4%
Shell
0.9%
Other
0.6%