refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -1,16 +1,16 @@
# Clawdbot Chrome Extension (Browser Relay)
# OpenClaw Chrome Extension (Browser Relay)
Purpose: attach Clawdbot to an existing Chrome tab so the Gateway can automate it (via the local CDP relay server).
Purpose: attach OpenClaw to an existing Chrome tab so the Gateway can automate it (via the local CDP relay server).
## Dev / load unpacked
1. Build/run Clawdbot Gateway with browser control enabled.
1. Build/run OpenClaw Gateway with browser control enabled.
2. Ensure the relay server is reachable at `http://127.0.0.1:18792/` (default).
3. Install the extension to a stable path:
```bash
clawdbot browser extension install
clawdbot browser extension path
openclaw browser extension install
openclaw browser extension path
```
4. Chrome → `chrome://extensions` → enable “Developer mode”.

View File

@@ -114,7 +114,7 @@ function onRelayClosed(reason) {
setBadge(tabId, 'connecting')
void chrome.action.setTitle({
tabId,
title: 'Moltbot Browser Relay: disconnected (click to re-attach)',
title: 'OpenClaw Browser Relay: disconnected (click to re-attach)',
})
}
tabs.clear()
@@ -225,7 +225,7 @@ async function attachTab(tabId, opts = {}) {
tabBySession.set(sessionId, tabId)
void chrome.action.setTitle({
tabId,
title: 'Moltbot Browser Relay: attached (click to detach)',
title: 'OpenClaw Browser Relay: attached (click to detach)',
})
if (!opts.skipAttachedEvent) {
@@ -278,7 +278,7 @@ async function detachTab(tabId, reason) {
setBadge(tabId, 'off')
void chrome.action.setTitle({
tabId,
title: 'Moltbot Browser Relay (click to attach/detach)',
title: 'OpenClaw Browser Relay (click to attach/detach)',
})
}
@@ -297,7 +297,7 @@ async function connectOrToggleForActiveTab() {
setBadge(tabId, 'connecting')
void chrome.action.setTitle({
tabId,
title: 'Moltbot Browser Relay: connecting to local relay…',
title: 'OpenClaw Browser Relay: connecting to local relay…',
})
try {
@@ -308,7 +308,7 @@ async function connectOrToggleForActiveTab() {
setBadge(tabId, 'error')
void chrome.action.setTitle({
tabId,
title: 'Moltbot Browser Relay: relay not running (open options for setup)',
title: 'OpenClaw Browser Relay: relay not running (open options for setup)',
})
void maybeOpenHelpOnce()
// Extra breadcrumbs in chrome://extensions service worker logs.

View File

@@ -1,8 +1,8 @@
{
"manifest_version": 3,
"name": "Moltbot Browser Relay",
"name": "OpenClaw Browser Relay",
"version": "0.1.0",
"description": "Attach Moltbot to your existing Chrome tab via a local CDP relay server.",
"description": "Attach OpenClaw to your existing Chrome tab via a local CDP relay server.",
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
@@ -13,7 +13,7 @@
"host_permissions": ["http://127.0.0.1/*", "http://localhost/*"],
"background": { "service_worker": "background.js", "type": "module" },
"action": {
"default_title": "Moltbot Browser Relay (click to attach/detach)",
"default_title": "OpenClaw Browser Relay (click to attach/detach)",
"default_icon": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Moltbot Browser Relay</title>
<title>OpenClaw Browser Relay</title>
<style>
:root {
color-scheme: light dark;
@@ -158,7 +158,7 @@
<img src="icons/icon128.png" alt="" />
</div>
<div>
<h1>Moltbot Browser Relay</h1>
<h1>OpenClaw Browser Relay</h1>
<p class="subtitle">Click the toolbar button on a tab to attach / detach.</p>
</div>
</header>
@@ -168,10 +168,10 @@
<h2>Getting started</h2>
<p>
If you see a red <code>!</code> badge on the extension icon, the relay server is not reachable.
Start Moltbots browser relay on this machine (Gateway or node host), then click the toolbar button again.
Start OpenClaws browser relay on this machine (Gateway or node host), then click the toolbar button again.
</p>
<p>
Full guide (install, remote Gateway, security): <a href="https://docs.molt.bot/tools/chrome-extension" target="_blank" rel="noreferrer">docs.molt.bot/tools/chrome-extension</a>
Full guide (install, remote Gateway, security): <a href="https://docs.openclaw.ai/tools/chrome-extension" target="_blank" rel="noreferrer">docs.openclaw.ai/tools/chrome-extension</a>
</p>
</div>
@@ -184,7 +184,7 @@
</div>
<div class="hint">
Default: <code>18792</code>. Extension connects to: <code id="relay-url">http://127.0.0.1:&lt;port&gt;/</code>.
Only change this if your Moltbot profile uses a different <code>cdpUrl</code> port.
Only change this if your OpenClaw profile uses a different <code>cdpUrl</code> port.
</div>
<div class="status" id="status"></div>
</div>

View File

@@ -31,7 +31,7 @@ async function checkRelayReachable(port) {
} catch {
setStatus(
'error',
`Relay not reachable at ${url}. Start Moltbots browser relay on this machine, then click the toolbar button again.`,
`Relay not reachable at ${url}. Start OpenClaws browser relay on this machine, then click the toolbar button again.`,
)
} finally {
clearTimeout(t)