refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user