- New src/config/paths.test.ts: 11 tests covering resolveGatewayPort profile-aware precedence (env > config > profile > global default) - Extend bootstrap-external.test.ts: 15 new tests for readExistingGatewayPort (config reading, fallback, edge cases) and isPersistedPortAcceptable (18789 rejection guard, end-to-end composition) - Extend web-runtime-command.test.ts: 2 new tests verifying the fallback returns 19001 when manifest has no lastGatewayPort or is null - Update test fixtures across all test files to expect port 19001 All 5 critical mutations verified: removing profile check, removing 18789 guard, reverting fallback, changing constant, breaking config reader -- each caught by at least 2 tests.
Website · Discord · Skills Store
Install
Node 22+ required.
npx denchclaw
Opens at localhost:3100 after completing onboarding wizard.
Commands
npx denchclaw stop # stops denchclaw web server
npx denchclaw restart # restarts denchclaw web server
npx denchclaw update # updates denchclaw with current settings as is
npx denchclaw # runs onboarding again for openclaw --profile dench
openclaw --profile dench <any openclaw command>
openclaw --profile dench gateway restart
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%