Commit Graph

7 Commits

Author SHA1 Message Date
Muhsinun Chowdhury
174bac87cb feat(sandbox): add cdpHost config for Docker gateway deployments
When the gateway runs inside a Docker container, it needs to connect
to sandbox browser containers via the host network. Chrome's CDP
HTTP endpoints reject non-IP Host headers, so this change:

1. Adds `cdpHost` config option (default: "127.0.0.1")
2. Adds DNS resolution helper to convert hostnames to IPs
3. Updates sandbox browser entrypoint with --remote-allow-origins=*

For Docker deployments, set `cdpHost: "host.docker.internal"` and
the gateway will resolve it to the host's IP for Chrome compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 18:40:28 -05:00
Peter Steinberger
6d16a658e5 refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
Peter Steinberger
3ed877a813 fix: sandbox browser CDP proxy 2026-01-10 01:09:41 +00:00
Peter Steinberger
246adaa119 chore: rename project to clawdbot 2026-01-04 14:38:51 +00:00
Peter Steinberger
f2ce455c8c fix: set writable home for sandbox browser 2026-01-04 03:49:39 +00:00
Peter Steinberger
70f79bd926 fix: stabilize sandbox browser startup 2026-01-04 03:45:14 +00:00
Peter Steinberger
d8a417f7ff feat: add sandbox browser support 2026-01-03 22:14:18 +01:00