kumarabhirup 4bcd47b848
fix: prevent DenchClaw gateway from hijacking OpenClaw's port 18789
The bootstrap port selection logic tried OpenClaw's default port (18789)
before the DenchClaw range (19001+). If OpenClaw was temporarily down
during bootstrap, DenchClaw would claim 18789 and persist it to config
and the LaunchAgent plist, killing OpenClaw on every subsequent restart.

- Remove the DEFAULT_GATEWAY_PORT (18789) branch from bootstrap; always
  start from DENCHCLAW_GATEWAY_PORT_START (19001)
- Read previously persisted config port and reuse it (unless it is 18789)
- Extract isPersistedPortAcceptable guard to reject corrupted 18789 state
- Add DENCHCLAW_DEFAULT_GATEWAY_PORT constant and make resolveGatewayPort
  profile-aware so the "dench" profile falls back to 19001
- Fix hardcoded 18789 fallback in web-runtime-command.ts
2026-03-05 10:46:03 -08:00
2026-03-04 13:23:34 -08:00
2026-03-04 19:46:13 -08:00
2026-03-04 20:06:38 -08:00
2026-03-04 20:06:38 -08:00
2026-03-04 16:34:45 -08:00
2026-03-04 16:34:45 -08:00
2026-03-04 16:34:45 -08:00
2025-11-24 11:16:47 +01:00
2026-03-04 20:06:38 -08:00
2026-03-04 16:34:45 -08:00
2026-03-04 19:46:13 -08:00
2026-03-04 16:34:45 -08:00
2026-03-04 16:34:45 -08:00
2026-03-04 16:34:45 -08:00

DenchClaw — AI CRM, hosted locally on your Mac. Built on OpenClaw.

npm version  Discord  MIT License

Website · Discord · Skills Store


DenchClaw Web UI — workspace, object tables, and AI chat


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.

Star History

GitHub stars

Description
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
Readme MIT 2.2 GiB
Languages
TypeScript 73.8%
JavaScript 17.1%
Swift 6.1%
Kotlin 1.4%
Shell 0.9%
Other 0.6%