refactor: rename clawdbot to moltbot with legacy compat

This commit is contained in:
Peter Steinberger
2026-01-27 12:19:58 +00:00
parent 83460df96f
commit 6d16a658e5
1839 changed files with 11250 additions and 11199 deletions

View File

@@ -114,7 +114,7 @@ function onRelayClosed(reason) {
setBadge(tabId, 'connecting')
void chrome.action.setTitle({
tabId,
title: 'Clawdbot Browser Relay: disconnected (click to re-attach)',
title: 'Moltbot 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: 'Clawdbot Browser Relay: attached (click to detach)',
title: 'Moltbot 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: 'Clawdbot Browser Relay (click to attach/detach)',
title: 'Moltbot Browser Relay (click to attach/detach)',
})
}
@@ -297,7 +297,7 @@ async function connectOrToggleForActiveTab() {
setBadge(tabId, 'connecting')
void chrome.action.setTitle({
tabId,
title: 'Clawdbot Browser Relay: connecting to local relay…',
title: 'Moltbot Browser Relay: connecting to local relay…',
})
try {
@@ -308,7 +308,7 @@ async function connectOrToggleForActiveTab() {
setBadge(tabId, 'error')
void chrome.action.setTitle({
tabId,
title: 'Clawdbot Browser Relay: relay not running (open options for setup)',
title: 'Moltbot Browser Relay: relay not running (open options for setup)',
})
void maybeOpenHelpOnce()
// Extra breadcrumbs in chrome://extensions service worker logs.