The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(desktop): drop /browser use, Browser Use mode status and agent-browser bundle exemption
Teknium16d2221a5075
diff --git a/apps/desktop/scripts/audit-bundle-arch.mjs b/apps/desktop/scripts/audit-bundle-arch.mjsindex ea97820478d..0f975c972a2 100644--- a/apps/desktop/scripts/audit-bundle-arch.mjs+++ b/apps/desktop/scripts/audit-bundle-arch.mjs@@ -243,10 +243,6 @@ const EXEMPT_PATTERNS = [/agent-payload[/\\]venv[/\\](Lib|lib[/\\]python[\d.]+)[/\\]site-packages[/\\]pvporcupine[/\\]lib[/\\]/i,// debugpy ships attach helpers for every OS/arch in one wheel./agent-payload[/\\]venv[/\\](Lib|lib[/\\]python[\d.]+)[/\\]site-packages[/\\]debugpy[/\\]_vendored[/\\]pydevd[/\\]/i,- // agent-browser ships no native win-arm64 build; on win32-arm64 the- // payload stages the x64 exe, which Windows runs under built-in- // emulation (its own postinstall falls back to x64 on arm64).- /agent-payload[/\\]tools[/\\]agent-browser-[^/\\]+[/\\]bin[/\\]agent-browser-win32-x64\.exe$/i,// CfT publishes no native win-arm64 Chromium, so PM stages the win64// (x64) build and Windows runs it under emulation. The zip extracts// into chrome-win64 inside the chromium-<rev> store entry. Scoping todiff --git a/apps/desktop/scripts/audit-bundle-arch.test.mjs b/apps/desktop/scripts/audit-bundle-arch.test.mjsindex 2ddd25eb55d..9ff637dcb23 100644--- a/apps/desktop/scripts/audit-bundle-arch.test.mjs+++ b/apps/desktop/scripts/audit-bundle-arch.test.mjs@@ -117,8 +117,6 @@ test.each([['resources/agent-payload/venv/lib/python3.11/site-packages/pvporcupine/lib/raspberry-pi/arm11/libpv_porcupine.so', true],['resources/agent-payload/venv/lib/python3.11/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so', true],['resources/agent-payload/venv/lib/python3.11/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.exe', true],- ['resources/agent-payload/tools/agent-browser-0.35.1-win32-arm64/bin/agent-browser-win32-x64.exe', true],- ['resources\\agent-payload\\tools\\agent-browser-0.26.0-win32-arm64\\bin\\agent-browser-win32-x64.exe', true],['resources/agent-payload/tools/chromium-1208/chrome-win64/chrome.exe', true],['resources\\agent-payload\\tools\\chromium-1208\\chrome-win64\\chrome.dll', true],['resources/agent-payload/tools/chromium-1208/chrome-linux/chrome', false],diff --git a/apps/desktop/src/app/session/hooks/use-prompt-actions/browser-manage.test.tsx b/apps/desktop/src/app/session/hooks/use-prompt-actions/browser-manage.test.tsxindex ab3d90ed178..7a8114a1186 100644--- a/apps/desktop/src/app/session/hooks/use-prompt-actions/browser-manage.test.tsx+++ b/apps/desktop/src/app/session/hooks/use-prompt-actions/browser-manage.test.tsx@@ -20,7 +20,7 @@ vi.mock('@/store/gateway', async importOriginal => ({requestGatewayForAgent: vi.fn()}))-describe('usePromptActions /browser connect|disconnect', () => {+describe('usePromptActions /browser connect|disconnect|status', () => {beforeEach(() => {clearSingleFlightSessionResumeState()setSessions(() => [sessionInfo()])@@ -55,4 +55,28 @@ describe('usePromptActions /browser connect|disconnect', () => {expect(requestGateway).toHaveBeenCalledWith('browser.manage', expect.objectContaining(params))expect(requestGateway).not.toHaveBeenCalledWith('slash.exec', expect.anything())})++ // `status` only reads the gateway's CDP state, so unlike connect/disconnect it runs on+ // remote backends too.+ it('/browser status on a remote connection is sent as browser.manage', async () => {+ $connection.set({ connectionId: 'hermes01', mode: 'remote' } as never)+ const requestGateway = vi.fn(async () => ({ connected: false }) as never)++ let handle: HarnessHandle | null = null+ await actRender(+ <Harness+ onReady={h => (handle = h)}+ refreshSessions={vi.fn(async () => undefined)}+ requestGateway={requestGateway}+ />+ )++ await handle!.submitText('/browser status')++ expect(requestGateway).toHaveBeenCalledWith('browser.manage', {+ action: 'status',+ session_id: RUNTIME_SESSION_ID+ })+ expect(requestGateway).not.toHaveBeenCalledWith('slash.exec', expect.anything())+ })})diff --git a/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx b/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsxindex 45d7dc93fe6..58e55030794 100644--- a/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx+++ b/apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx@@ -492,44 +492,6 @@ describe('usePromptActions /title', () => {})})-describe('usePromptActions /browser use', () => {- beforeEach(() => setSessions(() => [sessionInfo()]))-- afterEach(() => {- cleanup()- $connection.set(null)- vi.restoreAllMocks()- })-- // `use` is offered by the subcommand picker; it once fell to the usage line. It writes the- // profile's browser.backend, so it runs on remote backends too (connect stays local-only).- it.each([- ['/browser use', true],- ['/browser use off', false]- ])('%s switches Browser Use mode through browser.manage, remote backends included', async (text, enabled) => {- $connection.set({ connectionId: 'hermes01', mode: 'remote' } as never)- const requestGateway = vi.fn(async () => ({ browser_use: enabled, connected: false }) as never)-- let handle: HarnessHandle | null = null- await actRender(- <Harness- onReady={h => (handle = h)}- refreshSessions={vi.fn(async () => undefined)}- requestGateway={requestGateway}- />- )-- await handle!.submitText(text)-- expect(requestGateway).toHaveBeenCalledWith('browser.manage', {- action: 'use',- enabled,- session_id: RUNTIME_SESSION_ID- })- expect(requestGateway).not.toHaveBeenCalledWith('slash.exec', expect.anything())- })-})-describe('usePromptActions /stop', () => {afterEach(() => {cleanup()diff --git a/apps/desktop/src/app/session/hooks/use-prompt-actions/slash-desktop-commands.test.tsx b/apps/desktop/src/app/session/hooks/use-prompt-actions/slash-desktop-commands.test.tsxindex 503ec922962..2c71f19beaf 100644--- a/apps/desktop/src/app/session/hooks/use-prompt-actions/slash-desktop-commands.test.tsx+++ b/apps/desktop/src/app/session/hooks/use-prompt-actions/slash-desktop-commands.test.tsx@@ -308,7 +308,7 @@ describe('/config', () => {s: { headers: { Authorization: `Bearer ${S}`, 'X-Api-Key': S, Cookie: `sid=${S}` }, env: { X: S } }},FAL_KEY: S,- browser: { camofox: { session_key: S } },+ browser: { cdp_url: `ws://u:${S}@127.0.0.1:9222/`, session_key: S },terminal: {ssh_private_key: S,docker_shared_container_key: S,diff --git a/apps/desktop/src/app/session/hooks/use-prompt-actions/slash.ts b/apps/desktop/src/app/session/hooks/use-prompt-actions/slash.tsindex fb12b3dd130..58e92552947 100644--- a/apps/desktop/src/app/session/hooks/use-prompt-actions/slash.ts+++ b/apps/desktop/src/app/session/hooks/use-prompt-actions/slash.ts@@ -1314,8 +1314,7 @@ export function useSlashCommand(deps: SlashCommandDeps) {// gateway host, mirroring the TUI's browser.manage RPC. It mutates// BROWSER_CDP_URL (and may launch Chrome) in the gateway process — only// meaningful when that process runs on this machine, so those two are- // gated to local connections. `status` and `use [off]` (the profile's- // browser.backend, applied to new chats) are right on any backend.+ // gated to local connections. `status` is right on any backend.browser: async ctx => {const resolved = await withSlashOutput(ctx)@@ -1327,9 +1326,9 @@ export function useSlashCommand(deps: SlashCommandDeps) {const [rawAction = 'status', ...rest] = ctx.arg.trim().split(/\s+/).filter(Boolean)const cmdAction = rawAction.toLowerCase()- if (!['connect', 'disconnect', 'status', 'use'].includes(cmdAction)) {+ if (!['connect', 'disconnect', 'status'].includes(cmdAction)) {renderSlashOutput(- 'usage: /browser [connect|disconnect|status|use] [url] · persistent: set browser.cdp_url in config.yaml'+ 'usage: /browser [connect|disconnect|status] [url] · persistent: set browser.cdp_url in config.yaml')return@@ -1343,14 +1342,6 @@ export function useSlashCommand(deps: SlashCommandDeps) {return}- const mode = cmdAction === 'use' ? (rest[0] ?? 'on').toLowerCase() : undefined-- if (mode && mode !== 'on' && mode !== 'off') {- renderSlashOutput('usage: /browser use [off]')-- return- }-const url = cmdAction === 'connect' ? rest.join(' ').trim() || 'http://127.0.0.1:9222' : undefinedif (url) {@@ -1361,25 +1352,13 @@ export function useSlashCommand(deps: SlashCommandDeps) {const result = await requestGateway<BrowserManageResponse>('browser.manage', {action: cmdAction,session_id: sessionId,- ...(url && { url }),- ...(mode && { enabled: mode === 'on' })+ ...(url && { url })})// Without a streamed session subscription, the gateway bundles its// progress lines into `messages` — flush them inline.result?.messages?.forEach(message => renderSlashOutput(message))- if (cmdAction === 'use') {- renderSlashOutput(- mode === 'on'- ? 'Browser Use mode enabled — browser_exec via the Browser Use CLI 3.0'- : 'Browser Use mode disabled — built-in browser tools restored'- )- renderSlashOutput('applies to new chats — this one keeps its current tools (/new to start one)')-- return- }-if (cmdAction === 'status') {renderSlashOutput(result?.connected@@ -1387,10 +1366,6 @@ export function useSlashCommand(deps: SlashCommandDeps) {: 'browser not connected (try /browser connect <url> or set browser.cdp_url in config.yaml)')- if (result?.browser_use) {- renderSlashOutput('Browser: Browser Use mode (browser_exec via the Browser Use CLI 3.0)')- }-return}diff --git a/apps/desktop/src/app/settings/toolset-config-panel.test.tsx b/apps/desktop/src/app/settings/toolset-config-panel.test.tsxindex 7ba9c02a88c..f0f401ca4bf 100644--- a/apps/desktop/src/app/settings/toolset-config-panel.test.tsx+++ b/apps/desktop/src/app/settings/toolset-config-panel.test.tsx@@ -415,33 +415,33 @@ describe('ToolsetConfigPanel', () => {getToolsetConfig.mockResolvedValue(config({name: 'browser',- active_provider: 'Camofox',+ active_provider: 'Lightpanda',providers: [{- name: 'Camofox',+ name: 'Lightpanda',badge: 'local',- tag: 'Stealth local browser',+ tag: 'Zig headless browser spawned by Hermes, text-only (no screenshots)',env_vars: [],- post_setup: 'camofox',+ post_setup: 'lightpanda',requires_nous_auth: false,is_active: true}]}))- runToolsetPostSetup.mockResolvedValue({ ok: true, pid: 4321, name: 'tools-post-setup', key: 'camofox' })+ runToolsetPostSetup.mockResolvedValue({ ok: true, pid: 4321, name: 'tools-post-setup', key: 'lightpanda' })// First poll: still running; second poll: finished cleanly.getActionStatus.mockResolvedValueOnce({exit_code: null,- lines: ['Installing Camofox browser server...'],+ lines: ['Installing Lightpanda...'],name: 'tools-post-setup',pid: 4321,running: true}).mockResolvedValue({exit_code: 0,- lines: ['Installing Camofox browser server...', "Post-setup 'camofox' complete"],+ lines: ['Installing Lightpanda...', "Post-setup 'lightpanda' complete"],name: 'tools-post-setup',pid: 4321,running: false@@ -451,7 +451,7 @@ describe('ToolsetConfigPanel', () => {fireEvent.click(await screen.findByRole('button', { name: /Run setup/ }))- await waitFor(() => expect(runToolsetPostSetup).toHaveBeenCalledWith('browser', 'camofox'))+ await waitFor(() => expect(runToolsetPostSetup).toHaveBeenCalledWith('browser', 'lightpanda'))// The install log is tailed inline. The first poll fires after a 1200ms// delay (mirrors command-center's poll cadence), so allow >1200ms here.await waitFor(() => expect(getActionStatus).toHaveBeenCalledWith('tools-post-setup', 300), {@@ -463,21 +463,21 @@ describe('ToolsetConfigPanel', () => {getToolsetConfig.mockResolvedValue(config({name: 'browser',- active_provider: 'Camofox',+ active_provider: 'Lightpanda',providers: [{- name: 'Camofox',+ name: 'Lightpanda',badge: 'local',- tag: 'Stealth local browser',+ tag: 'Zig headless browser spawned by Hermes, text-only (no screenshots)',env_vars: [],- post_setup: 'camofox',+ post_setup: 'lightpanda',requires_nous_auth: false,is_active: true}]}))- runToolsetPostSetup.mockResolvedValue({ ok: true, pid: 4321, name: 'tools-post-setup', key: 'camofox' })+ runToolsetPostSetup.mockResolvedValue({ ok: true, pid: 4321, name: 'tools-post-setup', key: 'lightpanda' })// Action finished but failed (non-zero exit).getActionStatus.mockResolvedValue({exit_code: 1,@@ -617,19 +617,19 @@ describe('ToolsetConfigPanel', () => {it('renders Installed + Re-run setup instead of the primary CTA when the server says ready', async () => {// Regression (Windows 11 Capabilities journey): "Run setup" rendered// unconditionally, so an already-installed backend still showed the- // primary install CTA and clicking it re-ran the whole npm/Chromium- // install. status === 'ready' must flip to a resting Installed state.+ // primary install CTA and clicking it re-ran the whole install.+ // status === 'ready' must flip to a resting Installed state.getToolsetConfig.mockResolvedValue(config({name: 'browser',- active_provider: 'Local Browser',+ active_provider: 'Lightpanda',providers: [{- name: 'Local Browser',+ name: 'Lightpanda',badge: 'free',- tag: 'Headless Chromium, no API key needed',+ tag: 'Zig headless browser spawned by Hermes, text-only (no screenshots)',env_vars: [],- post_setup: 'agent_browser',+ post_setup: 'lightpanda',requires_nous_auth: false,is_active: true,status: 'ready'@@ -640,7 +640,7 @@ describe('ToolsetConfigPanel', () => {render(<ToolsetConfigPanel onConfiguredChange={vi.fn()} toolset="browser" />)- await screen.findByText('Local Browser')+ await screen.findByText('Lightpanda')expect(await screen.findByText('Installed')).toBeTruthy()expect(await screen.findByRole('button', { name: /Re-run setup/ })).toBeTruthy()expect(screen.queryByRole('button', { name: /^Run setup$/ })).toBeNull()@@ -650,14 +650,14 @@ describe('ToolsetConfigPanel', () => {getToolsetConfig.mockResolvedValue(config({name: 'browser',- active_provider: 'Local Browser',+ active_provider: 'Lightpanda',providers: [{- name: 'Local Browser',+ name: 'Lightpanda',badge: 'free',- tag: 'Headless Chromium, no API key needed',+ tag: 'Zig headless browser spawned by Hermes, text-only (no screenshots)',env_vars: [],- post_setup: 'agent_browser',+ post_setup: 'lightpanda',requires_nous_auth: false,is_active: true,status: 'ready'@@ -665,10 +665,10 @@ describe('ToolsetConfigPanel', () => {]}))- runToolsetPostSetup.mockResolvedValue({ ok: true, pid: 4321, name: 'tools-post-setup', key: 'agent_browser' })+ runToolsetPostSetup.mockResolvedValue({ ok: true, pid: 4321, name: 'tools-post-setup', key: 'lightpanda' })getActionStatus.mockResolvedValue({exit_code: 0,- lines: ['agent-browser already installed, nothing to do'],+ lines: ['lightpanda already installed, nothing to do'],name: 'tools-post-setup',pid: 4321,running: false@@ -678,7 +678,7 @@ describe('ToolsetConfigPanel', () => {fireEvent.click(await screen.findByRole('button', { name: /Re-run setup/ }))- await waitFor(() => expect(runToolsetPostSetup).toHaveBeenCalledWith('browser', 'agent_browser'))+ await waitFor(() => expect(runToolsetPostSetup).toHaveBeenCalledWith('browser', 'lightpanda'))})})@@ -693,7 +693,7 @@ describe('ToolsetConfigPanel', () => {badge: 'subscription',tag: 'Managed Browser Use billed to your subscription',env_vars: [],- post_setup: 'agent_browser',+ post_setup: null,requires_nous_auth: true,is_active: false,status: 'needs_auth'diff --git a/apps/desktop/src/app/settings/toolset-config-panel.tsx b/apps/desktop/src/app/settings/toolset-config-panel.tsxindex f85c3f26a0d..6549d966b80 100644--- a/apps/desktop/src/app/settings/toolset-config-panel.tsx+++ b/apps/desktop/src/app/settings/toolset-config-panel.tsx@@ -258,7 +258,7 @@ function EnvVarField({ envVar, isSet, onSaved, onCleared, profile }: EnvVarFieldinterface PostSetupRunnerProps {toolset: string- /** The provider's post_setup hook key (e.g. "camofox", "ddgs"). */+ /** The provider's post_setup hook key (e.g. "lightpanda", "ddgs"). */postSetupKey: string/** True when the server reports the install side-effect already satisfied* (provider status === 'ready') — renders the resting "Installed" statediff --git a/apps/desktop/src/app/types.ts b/apps/desktop/src/app/types.tsindex 501dcdd7830..671de33786c 100644--- a/apps/desktop/src/app/types.ts+++ b/apps/desktop/src/app/types.ts@@ -52,8 +52,6 @@ export interface BrowserManageResponse {connected?: booleanurl?: stringmessages?: string[]- /** `status` / `use`: new chats on this profile get browser_exec (Browser Use mode). */- browser_use?: boolean}/** Response from the `session.compress` RPC. `messages` is the post-compressdiff --git a/apps/desktop/src/i18n/ar_chat.ts b/apps/desktop/src/i18n/ar_chat.tsindex 49c99c4e5cc..f45249c6b2d 100644--- a/apps/desktop/src/i18n/ar_chat.ts+++ b/apps/desktop/src/i18n/ar_chat.ts@@ -100,7 +100,7 @@ export const arChat = {'/init': 'فحص المستودع لإنشاء تعليمات AGENTS.md أو تحديثها','/suggestions': 'مراجعة عمليات الأتمتة المقترحة وقبولها أو رفضها','/blueprint': 'إعداد أتمتة من قالب مخطط',- '/browser': 'إدارة متصفح الوكيل [connect|disconnect|status|use]',+ '/browser': 'إدارة متصفح الوكيل [connect|disconnect|status]','/palette': 'فتح لوحة الأوامر','/usage': 'عرض استخدام الرموز وحدود الطلبات؛ reset يسترد إعادة ضبط محفوظة لحدود Codex','/subscription': 'عرض خطة Nous وتغييرها في المتصفح',diff --git a/apps/desktop/src/i18n/de.ts b/apps/desktop/src/i18n/de.tsindex fa52d7628c5..e2de1bb880f 100644--- a/apps/desktop/src/i18n/de.ts+++ b/apps/desktop/src/i18n/de.ts@@ -3831,7 +3831,7 @@ export const deOverrides = {'/init': 'AGENTS.md-Projektanweisungen aus einem Repo-Scan erzeugen oder aktualisieren','/suggestions': 'Vorgeschlagene Automatisierungen prüfen (annehmen/verwerfen)','/blueprint': 'Eine Automatisierung aus einer Blueprint-Vorlage einrichten',- '/browser': 'Browser des Agenten verwalten [connect|disconnect|status|use]',+ '/browser': 'Browser des Agenten verwalten [connect|disconnect|status]','/palette': 'Die unscharfe Befehlspalette öffnen (auch Strg+P)','/usage': 'Token-Nutzung und Ratenlimits anzeigen; `reset` löst ein angespartes Codex-Limit-Reset ein','/subscription': 'Ihren Nous-Tarif ansehen und im Browser ändern',diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.tsindex 57a5b060464..8c546a7ef05 100644--- a/apps/desktop/src/i18n/en.ts+++ b/apps/desktop/src/i18n/en.ts@@ -3395,7 +3395,7 @@ export const en: Translations = {'/init': 'Generate or update AGENTS.md project instructions from a repo scan','/suggestions': 'Review suggested automations (accept/dismiss)','/blueprint': 'Set up an automation from a blueprint template',- '/browser': 'Manage the agent browser [connect|disconnect|status|use]',+ '/browser': 'Manage the agent browser [connect|disconnect|status]','/palette': 'Open the fuzzy command palette (also Ctrl+P)','/usage': 'Show token usage and rate limits; `reset` redeems a banked Codex limit reset','/subscription': 'View your Nous plan and change it in the browser',diff --git a/apps/desktop/src/i18n/es.ts b/apps/desktop/src/i18n/es.tsindex 34a9287d0f6..44c0759c722 100644--- a/apps/desktop/src/i18n/es.ts+++ b/apps/desktop/src/i18n/es.ts@@ -3821,7 +3821,7 @@ export const esOverrides = {'/init': 'Generar o actualizar las instrucciones de proyecto AGENTS.md a partir de un análisis del repositorio','/suggestions': 'Revisar las automatizaciones sugeridas (aceptar/descartar)','/blueprint': 'Configurar una automatización a partir de una plantilla',- '/browser': 'Gestionar el navegador del agente [connect|disconnect|status|use]',+ '/browser': 'Gestionar el navegador del agente [connect|disconnect|status]','/palette': 'Abrir la paleta de comandos aproximada (también Ctrl+P)','/usage':'Mostrar el uso de tokens y los límites de frecuencia; `reset` canjea un restablecimiento de límite de Codex acumulado',diff --git a/apps/desktop/src/i18n/fr.ts b/apps/desktop/src/i18n/fr.tsindex 3585156c94d..5f251afa1fc 100644--- a/apps/desktop/src/i18n/fr.ts+++ b/apps/desktop/src/i18n/fr.ts@@ -3838,7 +3838,7 @@ export const frOverrides = {'/init': 'Générer ou mettre à jour les instructions de projet AGENTS.md à partir d’une analyse du dépôt','/suggestions': 'Examiner les automatisations suggérées (accepter/ignorer)','/blueprint': 'Configurer une automatisation à partir d’un modèle',- '/browser': 'Gérer le navigateur de l’agent [connect|disconnect|status|use]',+ '/browser': 'Gérer le navigateur de l’agent [connect|disconnect|status]','/palette': 'Ouvrir la palette de commandes floue (aussi Ctrl+P)','/usage':'Afficher l’utilisation des jetons et les limites de débit ; `reset` utilise une réinitialisation de limite Codex en réserve',diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.tsindex 07e8081c56c..3c7f8efc392 100644--- a/apps/desktop/src/i18n/ja.ts+++ b/apps/desktop/src/i18n/ja.ts@@ -2367,7 +2367,7 @@ export const jaOverrides = {'/init': 'リポジトリを調べて AGENTS.md の指示を作成または更新','/suggestions': '提案された自動化を確認し、採用または却下','/blueprint': 'ブループリントから自動化を設定',- '/browser': 'エージェントのブラウザーを管理 [connect|disconnect|status|use]',+ '/browser': 'エージェントのブラウザーを管理 [connect|disconnect|status]','/palette': 'コマンドパレットを開く','/usage': 'このセッションのトークン使用量を表示','/subscription': 'Nous のプランを確認し、ブラウザーで変更',diff --git a/apps/desktop/src/i18n/ru.ts b/apps/desktop/src/i18n/ru.tsindex f18bf35b8cb..e6771bf8f34 100644--- a/apps/desktop/src/i18n/ru.ts+++ b/apps/desktop/src/i18n/ru.ts@@ -2646,7 +2646,7 @@ export const ruOverrides = {'/init': 'Просканировать репозиторий и создать или обновить инструкции AGENTS.md','/suggestions': 'Просмотреть, принять или отклонить предложенные автоматизации','/blueprint': 'Настроить автоматизацию по шаблону',- '/browser': 'Управлять браузером агента [connect|disconnect|status|use]',+ '/browser': 'Управлять браузером агента [connect|disconnect|status]','/palette': 'Открыть палитру команд','/usage': 'Показать расход токенов и лимиты; reset использует накопленный сброс лимита Codex','/subscription': 'Показать план Nous и изменить его в браузере',diff --git a/apps/desktop/src/i18n/zh-hant_chat.ts b/apps/desktop/src/i18n/zh-hant_chat.tsindex ef37846d4fc..f825769dbe5 100644--- a/apps/desktop/src/i18n/zh-hant_chat.ts+++ b/apps/desktop/src/i18n/zh-hant_chat.ts@@ -121,7 +121,7 @@ export const zhHantChat = {'/init': '掃描儲存庫並產生或更新 AGENTS.md 專案指引','/suggestions': '檢視建議的自動化項目(接受或略過)','/blueprint': '使用 blueprint 範本設定自動化',- '/browser': '管理代理瀏覽器 [connect|disconnect|status|use]',+ '/browser': '管理代理瀏覽器 [connect|disconnect|status]','/palette': '開啟模糊搜尋指令面板(也可使用 Ctrl+P)','/usage': '顯示 Token 用量與速率限制;`reset` 可兌換保留的 Codex 限額重設','/subscription': '檢視你的 Nous 方案,並在瀏覽器中變更',diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.tsindex 485376eb48b..0d5372081c8 100644--- a/apps/desktop/src/i18n/zh.ts+++ b/apps/desktop/src/i18n/zh.ts@@ -3289,7 +3289,7 @@ export const zhOverrides = {'/init': '扫描仓库并生成或更新 AGENTS.md 项目指引','/suggestions': '查看建议的自动化项目(接受或跳过)','/blueprint': '使用 blueprint 模板设置自动化',- '/browser': '管理智能体浏览器 [connect|disconnect|status|use]',+ '/browser': '管理智能体浏览器 [connect|disconnect|status]','/palette': '打开模糊搜索命令面板(也可使用 Ctrl+P)','/usage': '显示 Token 用量与速率限制;`reset` 可兑换保留的 Codex 限额重置','/subscription': '查看你的 Nous 方案,并在浏览器中更改',diff --git a/apps/desktop/src/lib/desktop-slash-commands.ts b/apps/desktop/src/lib/desktop-slash-commands.tsindex 96193a991e6..6d33937955a 100644--- a/apps/desktop/src/lib/desktop-slash-commands.ts+++ b/apps/desktop/src/lib/desktop-slash-commands.ts@@ -243,7 +243,7 @@ const DESKTOP_COMMAND_SPECS: readonly DesktopCommandSpec[] = [{ name: '/help', description: 'Show desktop slash commands', aliases: ['/commands'], surface: action('help') },{name: '/browser',- description: 'Manage the agent browser [connect|disconnect|status|use]',+ description: 'Manage the agent browser [connect|disconnect|status]',surface: action('browser'),argumentMode: 'options'},