A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Gate the cookie apply on a Bot storage key and quiet a lint warning
Fei24113c73a20cf230
diff --git a/ds-bot/client.js b/ds-bot/client.jsindex 0be924fd..7d0ac24b 100644--- a/ds-bot/client.js+++ b/ds-bot/client.js@@ -14757,7 +14757,8 @@ function BrowserView({ bot, tabId, leaving, landed, actions, useBrowserPages })"aria-expanded": flow === "menu",disabled: busy,onClick: () => {- flow === "menu" ? setFlowTracked(null) : openImport();+ if (flow === "menu") setFlowTracked(null);+ else openImport();}}, (0, import_react38.createElement)(ImportIcon)) : null,page.loading ? (0, import_react38.createElement)("span", { className: "bt-browser-progress", "aria-hidden": true }) : nulldiff --git a/ds-bot/src/client/browser-pane.js b/ds-bot/src/client/browser-pane.jsindex 2d242ab8..bb797f96 100644--- a/ds-bot/src/client/browser-pane.js+++ b/ds-bot/src/client/browser-pane.js@@ -325,7 +325,7 @@ function BrowserView({ bot, tabId, leaving, landed, actions, useBrowserPages })imports ? h('button', {type: 'button', className: 'bt-icon-btn bt-import-btn', 'aria-label': t('Import cookies'), title: t('Import cookies'),'aria-expanded': flow === 'menu', disabled: busy,- onClick: () => { flow === 'menu' ? setFlowTracked(null) : openImport() },+ onClick: () => { if (flow === 'menu') setFlowTracked(null); else openImport() },}, h(ImportIcon)) : null,page.loading ? h('span', { className: 'bt-browser-progress', 'aria-hidden': true }) : null),h('div', { ref: frame, className: 'bt-browser-frame', 'data-guest': showGuest || undefined },