Skip to content

The agent that grows with you

refactor(browser): drop /browser use, the browser.manage use action and the downgrade notice

Teknium433e420be47f
diff --git a/apps/shared/src/gateway-contract.generated.ts b/apps/shared/src/gateway-contract.generated.ts
index 57a5f6d6774..a6625d48569 100644
--- a/apps/shared/src/gateway-contract.generated.ts
+++ b/apps/shared/src/gateway-contract.generated.ts
@@ -4028,16 +4028,14 @@ export interface CronRemovedJob {
export interface BrowserManageParams {
action?: BrowserAction
url?: string | null
- enabled?: boolean | null
session_id?: string | null
profile?: string | null
}
-export type BrowserAction = 'status' | 'connect' | 'disconnect' | 'use'
+export type BrowserAction = 'status' | 'connect' | 'disconnect'
export interface BrowserManageResult {
connected: boolean
url?: string | null
messages?: string[] | null
- browser_use?: boolean | null
}
/** Handlers that look a live session up with ``_sessions.get(params.get("session_id"))``: an absent / unknown id falls back to the launch profile's config, so it is never required. */
export interface _SessionScoped {
@@ -4672,7 +4670,6 @@ export interface CanonicalSessionInfo {
enabled_toolsets?: string[] | null
tool_availability?: Record<string, unknown> | null
tool_availability_warnings?: string[] | null
- browser_backend_notice?: string | null
unknown_toolsets?: string[] | null
source: string
model?: string | null
@@ -5058,7 +5055,6 @@ export interface CanonicalSnapshotInfo {
enabled_toolsets?: string[] | null
tool_availability?: Record<string, unknown> | null
tool_availability_warnings?: string[] | null
- browser_backend_notice?: string | null
unknown_toolsets?: string[] | null
desktop_protocol: 'hermes-gateway-v1'
source?: string | null
@@ -6091,7 +6087,7 @@ export interface RpcMethods {
'browser.controller.register': { params: BrowserControllerRegisterParams; result: BrowserControllerRegisterResult }
/** Deliver one command result to the broker; accepted is false for unknown or settled command ids. */
'browser.controller.result': { params: BrowserControllerResultParams; result: BrowserControllerResultResult }
- /** Inspect, attach to, or drop the CDP browser the tools use, or switch Browser Use mode (``use``, applies to new sessions); ``messages`` narrate a connect. */
+ /** Inspect, attach to, or drop the CDP browser the tools use; ``messages`` narrate a connect. */
'browser.manage': { params: BrowserManageParams; result: BrowserManageResult }
/** Lock one answer of a batch clarify request (editable until every question is locked). */
'clarify.lock': { params: ClarifyLockParams; result: ClarifyLockResult }
diff --git a/apps/shared/src/gateway-contract.openrpc.json b/apps/shared/src/gateway-contract.openrpc.json
index 0e7e02c8a98..07945ab346a 100644
--- a/apps/shared/src/gateway-contract.openrpc.json
+++ b/apps/shared/src/gateway-contract.openrpc.json
@@ -332,7 +332,7 @@
},
{
"name": "browser.manage",
- "summary": "Inspect, attach to, or drop the CDP browser the tools use, or switch Browser Use mode (``use``, applies to new sessions); ``messages`` narrate a connect.",
+ "summary": "Inspect, attach to, or drop the CDP browser the tools use; ``messages`` narrate a connect.",
"params": [
{
"name": "params",
@@ -7501,8 +7501,7 @@
"enum": [
"status",
"connect",
- "disconnect",
- "use"
+ "disconnect"
],
"title": "BrowserAction",
"type": "string"
@@ -7779,18 +7778,6 @@
"default": null,
"title": "Url"
},
- "enabled": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Enabled"
- },
"session_id": {
"anyOf": [
{
@@ -7852,18 +7839,6 @@
],
"default": null,
"title": "Messages"
- },
- "browser_use": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Browser Use"
}
},
"required": [
@@ -10231,18 +10206,6 @@
"default": null,
"title": "Tool Availability Warnings"
},
- "browser_backend_notice": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Browser Backend Notice"
- },
"unknown_toolsets": {
"anyOf": [
{
@@ -10971,18 +10934,6 @@
"default": null,
"title": "Tool Availability Warnings"
},
- "browser_backend_notice": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Browser Backend Notice"
- },
"unknown_toolsets": {
"anyOf": [
{
diff --git a/cli.py b/cli.py
index 23c7c5a40e5..02d5146c4e6 100644
--- a/cli.py
+++ b/cli.py
@@ -974,18 +974,6 @@ class HermesCLI(CLIInitMixin, CLITuiRuntimeMixin, CLIProcessNotificationsMixin,
except Exception:
pass # never block startup
- def _show_browser_backend_notice(self):
- """Once-per-24h hint when the default Browser Use backend silently fell back to built-in tools."""
- try:
- from tools.browser_use_cli import default_downgrade_notice
-
- notice = default_downgrade_notice()
- if notice:
- from gateway.warning_notifications import render_notification
- render_notification(lambda: self._console_print(f"[yellow]⚠ {notice}[/yellow]"), platform="cli")
- except Exception:
- logger.debug("browser backend notice failed", exc_info=True)
-
def finalize_preloaded_skills(self) -> None:
"""Join the background --skills preload and fold it into the prompt (idempotent).
diff --git a/gateway/session_local_inventory.py b/gateway/session_local_inventory.py
index 271b8752230..837280f40cf 100644
--- a/gateway/session_local_inventory.py
+++ b/gateway/session_local_inventory.py
@@ -75,9 +75,9 @@ def _project(cwd):
def _cli_startup_notices(enabled):
"""The lines main's HermesCLI printed under its banner, computed where the tools run: the toolset
- availability warning (``cli.py::_show_tool_availability_warnings``) and the Browser Use downgrade
- notice (``_show_browser_backend_notice``). The classic CLI renders them with its own console."""
- notices: dict = {"tool_availability_warnings": [], "browser_backend_notice": None}
+ availability warning (``cli.py::_show_tool_availability_warnings``). The classic CLI renders them
+ with its own console."""
+ notices: dict = {"tool_availability_warnings": []}
with contextlib.suppress(Exception):
from hermes_cli.tool_availability_notices import (
current_terminal_backend, filter_to_enabled_toolsets, tool_availability_warning_lines)
@@ -89,9 +89,6 @@ def _cli_startup_notices(enabled):
notices["tool_availability_warnings"] = tool_availability_warning_lines(
unavailable, terminal_reason=terminal_backend_unavailable_reason(),
terminal_backend=current_terminal_backend())
- with contextlib.suppress(Exception):
- from tools.browser_use_cli import default_downgrade_notice
- notices["browser_backend_notice"] = default_downgrade_notice()
return notices
diff --git a/hermes_cli/cli_browser_gateway.py b/hermes_cli/cli_browser_gateway.py
index 1f0f4ed4a2a..8414d5a8b3f 100644
--- a/hermes_cli/cli_browser_gateway.py
+++ b/hermes_cli/cli_browser_gateway.py
@@ -35,30 +35,18 @@ def gateway_browser(cli, connection, word: str, rest: str) -> None:
return
params["url"] = normalized[0]
print(f" {_t('browser.checking', url=params['url'])}")
- if word == "use":
- mode = rest.lower() or "on"
- if mode not in {"on", "off"}:
- return _say_block(
- _t("browser.use_usage"),
- f" {_t('browser.use_on_hint')}", f" {_t('browser.use_off_hint')}")
- params["enabled"] = mode == "on"
try:
result = connection.call("browser.manage", **params) or {}
except GatewayClientError as exc:
return _say_block(f" ⚠ {exc}")
for message in result.get("messages") or ():
print(f" {message}")
- if word == "use":
- return _say_block(_t("browser.use_enabled" if params["enabled"] else "browser.use_disabled"),
- f" {_t('browser.new_sessions_only')}")
if word == "disconnect":
return _say_block(_t("browser.disconnected"), f" {_t('browser.reverted')}")
if word == "connect":
if not result.get("connected"):
return _say_block(_t("browser.not_connected"))
return _say_block(_t("browser.connected"), f" {_t('browser.endpoint', url=result.get('url') or '')}")
- if result.get("browser_use"):
- return _say_block(_t("browser.status_browser_use"), f" {_t('browser.status_use_off_hint')}")
if result.get("connected"):
return _say_block(_t("browser.status_connected"), f" {_t('browser.endpoint', url=result.get('url') or '')}")
_say_block(_t("browser.status_gateway_default"),
diff --git a/hermes_cli/cli_commands_mixin.py b/hermes_cli/cli_commands_mixin.py
index d90337b4f38..01f0394fa42 100644
--- a/hermes_cli/cli_commands_mixin.py
+++ b/hermes_cli/cli_commands_mixin.py
@@ -250,19 +250,6 @@ def _print_lightpanda_engine_status() -> None:
else f" {_t('browser.binary_not_found', hint=LIGHTPANDA_INSTALL_HINT)}")
-def _browser_use(cli, arg: str) -> None:
- """/browser use [off] — toggle Browser Use mode (browser.backend); resets the session."""
- from tools.browser_use_cli import set_browser_use_mode
- if arg not in {"on", "off"}:
- return _say_block(
- _t("browser.use_usage"),
- f" {_t('browser.use_on_hint')}", f" {_t('browser.use_off_hint')}")
- set_browser_use_mode(arg == "on")
- headline = _t("browser.use_enabled" if arg == "on" else "browser.use_disabled")
- cli.new_session()
- _say_block(headline, f" {_t('browser.session_reset')}")
-
-
def _launch_default_cdp_browser(port: int):
"""Launch a local debug browser for the default CDP URL; returns the discovered CDP url or
None (after printing what went wrong / how to launch manually)."""
@@ -329,7 +316,7 @@ def _browser_connect(cli, cdp_url: str) -> None:
cli._pending_input.put(
"[System note: The user invoked /browser connect and connected your browser tools to "
"a Chromium-family dev/debug browser via Chrome DevTools Protocol. "
- "Your browser_navigate, browser_snapshot, browser_click, and other browser tools now "
+ "Your browser tools (browser_exec, browser_cdp) now "
"control that CDP browser. The command itself is a signal that using browser tools for "
"their current browser-related request is expected; do not wait for separate permission "
"just because CDP is connected. This is typically a Hermes-managed isolated debug "
@@ -357,8 +344,7 @@ def _browser_disconnect(cli) -> None:
# /browser status headline per local browser.engine value: (headline key, *detail keys) under
# ``cli.commands.browser.*``; detail lines are indented at print time.
_LOCAL_ENGINE_LINES = {
- "lightpanda": ("status_lightpanda", "status_lightpanda_note", "status_lightpanda_fallback"),
- "chrome": ("status_chrome",),
+ "lightpanda": ("status_lightpanda", "status_lightpanda_note"),
"auto": ("status_auto",)}
@@ -370,10 +356,6 @@ def _local_engine_lines(engine: str) -> list:
def _browser_status() -> None:
current = os.environ.get("BROWSER_CDP_URL", "").strip()
print()
- if _probe("tools.browser_use_cli", "is_browser_use_cli_mode", False):
- _pr(_t("browser.status_browser_use"), f" {_t('browser.status_browser_use_note')}")
- _print_lightpanda_engine_status()
- return _say_block(f" {_t('browser.status_use_off_hint')}")
if current:
_pr(_t("browser.status_connected"), f" {_t('browser.endpoint', url=current)}")
_print_lightpanda_engine_status()
@@ -402,7 +384,6 @@ def _browser_status() -> None:
# /browser subcommand word → handler(cli, rest); ``rest`` is the raw (case-preserved)
# remainder of the line. Adding a subcommand is one row here plus a usage line.
_BROWSER_SUBCOMMANDS = {
- "use": lambda cli, rest: _browser_use(cli, rest.lower() or "on"),
"connect": lambda cli, rest: _browser_connect(cli, rest or DEFAULT_BROWSER_CDP_URL),
"disconnect": lambda cli, rest: _browser_disconnect(cli),
"status": lambda cli, rest: _browser_status(),
@@ -1597,7 +1578,7 @@ class CLICommandsMixin(CLICommandsSessionToolsMixin):
_cp("\n" + _dim_line(_t("bundles.invoke_hint")))
def _handle_browser_command(self, cmd: str):
- """Handle /browser connect|disconnect|status|use — manage the live Chromium-family CDP connection."""
+ """Handle /browser connect|disconnect|status — manage the live Chromium-family CDP connection."""
# The subcommand word is matched case-insensitively; the raw argument keeps
# its case because a CDP URL's path segment is case-sensitive.
parts = _command_arg(cmd).split(None, 1)
@@ -1607,7 +1588,7 @@ class CLICommandsMixin(CLICommandsSessionToolsMixin):
if handler is None:
_say_block(
_t("browser.usage"), "",
- *(f" {_t(f'browser.usage_{sub}')}" for sub in ("connect", "disconnect", "status", "use")))
+ *(f" {_t(f'browser.usage_{sub}')}" for sub in ("connect", "disconnect", "status")))
return
from hermes_cli.gateway_side import connection_for
if (connection := connection_for(self)) is not None:
diff --git a/hermes_cli/cli_tui_runtime_mixin.py b/hermes_cli/cli_tui_runtime_mixin.py
index 0db42bcd0cc..37db0d8a92a 100644
--- a/hermes_cli/cli_tui_runtime_mixin.py
+++ b/hermes_cli/cli_tui_runtime_mixin.py
@@ -267,18 +267,6 @@ class CLITuiRuntimeMixin:
pass
raise KeyboardInterrupt() # fallback for non-prompt_toolkit contexts
- def _show_startup_browser_notice(self):
- """Main's ``_show_browser_backend_notice``; on a gateway session the gateway computed the notice
- (and its once-per-24h stamp) with the session's tools, so it is printed from the snapshot."""
- inventory = getattr(getattr(self, "_session_db", None), "banner_inventory", lambda: None)()
- if inventory is None or "browser_backend_notice" not in inventory:
- self._show_browser_backend_notice()
- return
- notice = inventory.get("browser_backend_notice")
- if notice:
- from gateway.warning_notifications import render_notification
- render_notification(lambda: self._console_print(f"[yellow]⚠ {notice}[/yellow]"), platform="cli")
-
def _tui_print_startup(self):
"""Startup output: light-mode probe, banner, advisories, resume/welcome lines, tips."""
from cli import _accent_hex, _detect_light_mode
@@ -299,7 +287,6 @@ class CLITuiRuntimeMixin:
raise SystemExit(2) from None
self.show_banner()
self._show_security_advisories()
- self._show_startup_browser_notice()
# First-run: an unconfigured install routes into provider onboarding instead of
# a chat that spins ~30s and fails with a provider-specific error. TTY only. A
diff --git a/hermes_cli/commands.py b/hermes_cli/commands.py
index 7923ee89d84..34c0e06abc7 100644
--- a/hermes_cli/commands.py
+++ b/hermes_cli/commands.py
@@ -302,9 +302,9 @@ COMMAND_REGISTRY: list[CommandDef] = [
aliases=("reload_mcp",), desktop="advanced"),
CommandDef("reload-skills", "Re-scan ~/.hermes/skills/ for newly installed or removed skills",
"Tools & Skills", aliases=("reload_skills",), desktop="advanced"),
- CommandDef("browser", "Connect browser tools to your live Chromium-family browser via CDP, or switch to Browser Use mode", "Tools & Skills",
- cli_only=True, args_hint="[connect|disconnect|status|use]",
- subcommands=("connect", "disconnect", "status", "use")),
+ CommandDef("browser", "Connect browser tools to your live Chromium-family browser via CDP", "Tools & Skills",
+ cli_only=True, args_hint="[connect|disconnect|status]",
+ subcommands=("connect", "disconnect", "status")),
CommandDef("plugins", "List installed plugins and their status",
"Tools & Skills", cli_only=True, desktop="terminal"),
diff --git a/hermes_cli/gateway_session_store.py b/hermes_cli/gateway_session_store.py
index 47f31528c61..9a86170a4a0 100644
--- a/hermes_cli/gateway_session_store.py
+++ b/hermes_cli/gateway_session_store.py
@@ -384,7 +384,6 @@ class GatewaySessionStore:
"cwd": info.get("cwd"),
# Main's startup lines under the banner, computed in the gateway (``source: cli`` only).
"tool_availability_warnings": info.get("tool_availability_warnings"),
- "browser_backend_notice": info.get("browser_backend_notice"),
}
diff --git a/locales/_keys.tui.json b/locales/_keys.tui.json
index b2f96f9e5e8..c20b0091477 100644
--- a/locales/_keys.tui.json
+++ b/locales/_keys.tui.json
@@ -956,15 +956,10 @@
"slashCmd.ops.browser.connectedLive",
"slashCmd.ops.browser.disconnected",
"slashCmd.ops.browser.endpoint",
- "slashCmd.ops.browser.modeBrowserUse",
- "slashCmd.ops.browser.newSessionsOnly",
"slashCmd.ops.browser.nextCallUsesEndpoint",
"slashCmd.ops.browser.notConnected",
"slashCmd.ops.browser.urlUnavailable",
"slashCmd.ops.browser.usage",
- "slashCmd.ops.browser.useDisabled",
- "slashCmd.ops.browser.useEnabled",
- "slashCmd.ops.browser.useUsage",
"slashCmd.ops.reloadEnv.reloadedOne",
"slashCmd.ops.reloadEnv.reloadedOther",
"slashCmd.ops.reloadMcp.complete",
diff --git a/locales/af.tui.yaml b/locales/af.tui.yaml
index 17e7e6faf62..fa4984ad1bc 100644
--- a/locales/af.tui.yaml
+++ b/locales/af.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "blaaier gekoppel: {0}"
slashCmd.ops.browser.connectedLive: "Blaaier via CDP aan 'n lewende Chromium-familie-blaaier gekoppel"
slashCmd.ops.browser.disconnected: "blaaier ontkoppel"
slashCmd.ops.browser.endpoint: "Eindpunt: {0}"
-slashCmd.ops.browser.modeBrowserUse: "Blaaier: Browser Use-modus (browser_exec via die Browser Use CLI 3.0)"
-slashCmd.ops.browser.newSessionsOnly: "geld vir nuwe sessies — hierdie een behou sy huidige gereedskap (/new om een te begin)"
slashCmd.ops.browser.nextCallUsesEndpoint: "die volgende blaaier-gereedskapsoproep gebruik hierdie CDP-eindpunt"
slashCmd.ops.browser.notConnected: "blaaier nie gekoppel nie (probeer /browser connect <url> of stel browser.cdp_url in config.yaml)"
slashCmd.ops.browser.urlUnavailable: "(url nie beskikbaar nie)"
-slashCmd.ops.browser.usage: "gebruik: /browser [connect|disconnect|status|use] [url] · permanent: stel browser.cdp_url in config.yaml"
-slashCmd.ops.browser.useDisabled: "Browser Use-modus gedeaktiveer — ingeboude blaaiergereedskap herstel"
-slashCmd.ops.browser.useEnabled: "Browser Use-modus geaktiveer — browser_exec via die Browser Use CLI 3.0"
-slashCmd.ops.browser.useUsage: "Gebruik: /browser use [off]"
+slashCmd.ops.browser.usage: "gebruik: /browser [connect|disconnect|status] [url] · permanent: stel browser.cdp_url in config.yaml"
slashCmd.ops.reloadEnv.reloadedOne: ".env herlaai ({0} veranderlike opgedateer)"
slashCmd.ops.reloadEnv.reloadedOther: ".env herlaai ({0} veranderlikes opgedateer)"
slashCmd.ops.reloadMcp.complete: "herlaai voltooi"
diff --git a/locales/ar.tui.yaml b/locales/ar.tui.yaml
index 4c3dd7d6405..fc3641735fc 100644
--- a/locales/ar.tui.yaml
+++ b/locales/ar.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "المتصفح متصل: {0}"
slashCmd.ops.browser.connectedLive: "المتصفح متصل بمتصفح حيّ من عائلة Chromium عبر CDP"
slashCmd.ops.browser.disconnected: "تم قطع اتصال المتصفح"
slashCmd.ops.browser.endpoint: "نقطة النهاية: {0}"
-slashCmd.ops.browser.modeBrowserUse: "المتصفح: وضع Browser Use (browser_exec عبر Browser Use CLI 3.0)"
-slashCmd.ops.browser.newSessionsOnly: "يسري على الجلسات الجديدة — تحتفظ هذه الجلسة بأدواتها الحالية (/new لبدء جلسة)"
slashCmd.ops.browser.nextCallUsesEndpoint: "سيستخدم استدعاء أداة المتصفح التالي نقطة نهاية CDP هذه"
slashCmd.ops.browser.notConnected: "المتصفح غير متصل (جرّب /browser connect <url> أو عيّن browser.cdp_url في config.yaml)"
slashCmd.ops.browser.urlUnavailable: "(العنوان غير متاح)"
-slashCmd.ops.browser.usage: "الاستخدام: /browser [connect|disconnect|status|use] [url] · للتثبيت الدائم: عيّن browser.cdp_url في config.yaml"
-slashCmd.ops.browser.useDisabled: "تم تعطيل وضع Browser Use — أُعيدت أدوات المتصفح المضمّنة"
-slashCmd.ops.browser.useEnabled: "تم تفعيل وضع Browser Use — browser_exec عبر Browser Use CLI 3.0"
-slashCmd.ops.browser.useUsage: "الاستخدام: /browser use [off]"
+slashCmd.ops.browser.usage: "الاستخدام: /browser [connect|disconnect|status] [url] · للتثبيت الدائم: عيّن browser.cdp_url في config.yaml"
slashCmd.ops.reloadEnv.reloadedOne: "أُعيد تحميل .env (تم تحديث {0} متغيّر)"
slashCmd.ops.reloadEnv.reloadedOther: "أُعيد تحميل .env (تم تحديث {0} من المتغيّرات)"
slashCmd.ops.reloadMcp.complete: "اكتملت إعادة التحميل"
diff --git a/locales/de.tui.yaml b/locales/de.tui.yaml
index 2131ee454c0..1bd2aaedf6e 100644
--- a/locales/de.tui.yaml
+++ b/locales/de.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "Browser verbunden: {0}"
slashCmd.ops.browser.connectedLive: "Browser per CDP mit laufendem Chromium-basierten Browser verbunden"
slashCmd.ops.browser.disconnected: "Browser getrennt"
slashCmd.ops.browser.endpoint: "Endpoint: {0}"
-slashCmd.ops.browser.modeBrowserUse: "Browser: Browser-Use-Modus (browser_exec über die Browser Use CLI 3.0)"
-slashCmd.ops.browser.newSessionsOnly: "gilt für neue Sitzungen — diese behält ihre aktuellen Tools (/new startet eine)"
slashCmd.ops.browser.nextCallUsesEndpoint: "der nächste Browser-Tool-Aufruf verwendet diesen CDP-Endpoint"
slashCmd.ops.browser.notConnected: "Browser nicht verbunden (/browser connect <url> versuchen oder browser.cdp_url in config.yaml setzen)"
slashCmd.ops.browser.urlUnavailable: "(URL nicht verfügbar)"
-slashCmd.ops.browser.usage: "Verwendung: /browser [connect|disconnect|status|use] [url] · dauerhaft: browser.cdp_url in config.yaml setzen"
-slashCmd.ops.browser.useDisabled: "Browser-Use-Modus deaktiviert — integrierte Browser-Tools wiederhergestellt"
-slashCmd.ops.browser.useEnabled: "Browser-Use-Modus aktiviert — browser_exec über die Browser Use CLI 3.0"
-slashCmd.ops.browser.useUsage: "Verwendung: /browser use [off]"
+slashCmd.ops.browser.usage: "Verwendung: /browser [connect|disconnect|status] [url] · dauerhaft: browser.cdp_url in config.yaml setzen"
slashCmd.ops.reloadEnv.reloadedOne: ".env neu geladen ({0} Variable aktualisiert)"
slashCmd.ops.reloadEnv.reloadedOther: ".env neu geladen ({0} Variablen aktualisiert)"
slashCmd.ops.reloadMcp.complete: "Neuladen abgeschlossen"
diff --git a/locales/es.tui.yaml b/locales/es.tui.yaml
index 906c418a4e7..79c1659d201 100644
--- a/locales/es.tui.yaml
+++ b/locales/es.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "navegador conectado: {0}"
slashCmd.ops.browser.connectedLive: "Navegador conectado a un navegador Chromium en uso vía CDP"
slashCmd.ops.browser.disconnected: "navegador desconectado"
slashCmd.ops.browser.endpoint: "Endpoint: {0}"
-slashCmd.ops.browser.modeBrowserUse: "Navegador: modo Browser Use (browser_exec vía la CLI 3.0 de Browser Use)"
-slashCmd.ops.browser.newSessionsOnly: "se aplica a las sesiones nuevas — esta conserva sus herramientas actuales (/new para empezar una)"
slashCmd.ops.browser.nextCallUsesEndpoint: "la siguiente llamada a la herramienta de navegador usará este endpoint CDP"
slashCmd.ops.browser.notConnected: "navegador no conectado (prueba /browser connect <url> o define browser.cdp_url en config.yaml)"
slashCmd.ops.browser.urlUnavailable: "(url no disponible)"
-slashCmd.ops.browser.usage: "uso: /browser [connect|disconnect|status|use] [url] · permanente: define browser.cdp_url en config.yaml"
-slashCmd.ops.browser.useDisabled: "Modo Browser Use desactivado — herramientas de navegador integradas restauradas"
-slashCmd.ops.browser.useEnabled: "Modo Browser Use activado — browser_exec vía la CLI 3.0 de Browser Use"
-slashCmd.ops.browser.useUsage: "Uso: /browser use [off]"
+slashCmd.ops.browser.usage: "uso: /browser [connect|disconnect|status] [url] · permanente: define browser.cdp_url en config.yaml"
slashCmd.ops.reloadEnv.reloadedOne: ".env recargado ({0} variable actualizada)"
slashCmd.ops.reloadEnv.reloadedOther: ".env recargado ({0} variables actualizadas)"
slashCmd.ops.reloadMcp.complete: "recarga completada"
diff --git a/locales/fr.tui.yaml b/locales/fr.tui.yaml
index d6ccad4ff3e..fb4eb3d0554 100644
--- a/locales/fr.tui.yaml
+++ b/locales/fr.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "navigateur connecté : {0}"
slashCmd.ops.browser.connectedLive: "Navigateur connecté à un navigateur (famille Chromium) en direct via CDP"
slashCmd.ops.browser.disconnected: "navigateur déconnecté"
slashCmd.ops.browser.endpoint: "Point de terminaison : {0}"
-slashCmd.ops.browser.modeBrowserUse: "Navigateur : mode Browser Use (browser_exec via la CLI Browser Use 3.0)"
-slashCmd.ops.browser.newSessionsOnly: "s'applique aux nouvelles sessions — celle-ci garde ses outils actuels (/new pour en démarrer une)"
slashCmd.ops.browser.nextCallUsesEndpoint: "le prochain appel d'outil navigateur utilisera ce point de terminaison CDP"
slashCmd.ops.browser.notConnected: "navigateur non connecté (essayez /browser connect <url> ou définissez browser.cdp_url dans config.yaml)"
slashCmd.ops.browser.urlUnavailable: "(url indisponible)"
-slashCmd.ops.browser.usage: "usage : /browser [connect|disconnect|status|use] [url] · persistant : définissez browser.cdp_url dans config.yaml"
-slashCmd.ops.browser.useDisabled: "Mode Browser Use désactivé — outils de navigateur intégrés restaurés"
-slashCmd.ops.browser.useEnabled: "Mode Browser Use activé — browser_exec via la CLI Browser Use 3.0"
-slashCmd.ops.browser.useUsage: "Usage : /browser use [off]"
+slashCmd.ops.browser.usage: "usage : /browser [connect|disconnect|status] [url] · persistant : définissez browser.cdp_url dans config.yaml"
slashCmd.ops.reloadEnv.reloadedOne: ".env rechargé ({0} variable mise à jour)"
slashCmd.ops.reloadEnv.reloadedOther: ".env rechargé ({0} variables mises à jour)"
slashCmd.ops.reloadMcp.complete: "rechargement terminé"
diff --git a/locales/ga.tui.yaml b/locales/ga.tui.yaml
index be53196964e..2ab8d77b92d 100644
--- a/locales/ga.tui.yaml
+++ b/locales/ga.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "brabhsálaí ceangailte: {0}"
slashCmd.ops.browser.connectedLive: "Brabhsálaí ceangailte le brabhsálaí beo den teaghlach Chromium trí CDP"
slashCmd.ops.browser.disconnected: "brabhsálaí dícheangailte"
slashCmd.ops.browser.endpoint: "Críochphointe: {0}"
-slashCmd.ops.browser.modeBrowserUse: "Brabhsálaí: mód Browser Use (browser_exec trí Browser Use CLI 3.0)"
-slashCmd.ops.browser.newSessionsOnly: "baineann sé le seisiúin nua — coinníonn an ceann seo a uirlisí reatha (/new chun ceann a thosú)"
slashCmd.ops.browser.nextCallUsesEndpoint: "úsáidfidh an chéad ghlao uirlise brabhsálaí eile an críochphointe CDP seo"
slashCmd.ops.browser.notConnected: "níl an brabhsálaí ceangailte (bain triail as /browser connect <url> nó socraigh browser.cdp_url in config.yaml)"
slashCmd.ops.browser.urlUnavailable: "(gan url ar fáil)"
-slashCmd.ops.browser.usage: "úsáid: /browser [connect|disconnect|status|use] [url] · go buan: socraigh browser.cdp_url in config.yaml"
-slashCmd.ops.browser.useDisabled: "Mód Browser Use díchumasaithe — uirlisí brabhsálaí ionsuite aischurtha"
-slashCmd.ops.browser.useEnabled: "Mód Browser Use cumasaithe — browser_exec trí Browser Use CLI 3.0"
-slashCmd.ops.browser.useUsage: "Úsáid: /browser use [off]"
+slashCmd.ops.browser.usage: "úsáid: /browser [connect|disconnect|status] [url] · go buan: socraigh browser.cdp_url in config.yaml"
slashCmd.ops.reloadEnv.reloadedOne: ".env athlódáilte ({0} athróg nuashonraithe)"
slashCmd.ops.reloadEnv.reloadedOther: ".env athlódáilte ({0} athróg nuashonraithe)"
slashCmd.ops.reloadMcp.complete: "athlódáil críochnaithe"
diff --git a/locales/hu.tui.yaml b/locales/hu.tui.yaml
index d8d1f5e9cc4..84fb94e9b05 100644
--- a/locales/hu.tui.yaml
+++ b/locales/hu.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "böngésző csatlakoztatva: {0}"
slashCmd.ops.browser.connectedLive: "A böngésző CDP-n keresztül csatlakozik egy futó Chromium-alapú böngészőhöz"
slashCmd.ops.browser.disconnected: "böngésző leválasztva"
slashCmd.ops.browser.endpoint: "Végpont: {0}"
-slashCmd.ops.browser.modeBrowserUse: "Böngésző: Browser Use mód (browser_exec a Browser Use CLI 3.0-n keresztül)"
-slashCmd.ops.browser.newSessionsOnly: "az új munkamenetekre vonatkozik — ez megtartja a jelenlegi eszközeit (/new újat indít)"
slashCmd.ops.browser.nextCallUsesEndpoint: "a következő böngészőeszköz-hívás ezt a CDP-végpontot használja"
slashCmd.ops.browser.notConnected: "a böngésző nincs csatlakoztatva (próbáld a /browser connect <url> parancsot, vagy állítsd be a browser.cdp_url értékét a config.yaml fájlban)"
slashCmd.ops.browser.urlUnavailable: "(url nem érhető el)"
-slashCmd.ops.browser.usage: "használat: /browser [connect|disconnect|status|use] [url] · tartósan: állítsd be a browser.cdp_url értékét a config.yaml fájlban"
-slashCmd.ops.browser.useDisabled: "Browser Use mód kikapcsolva — beépített böngészőeszközök visszaállítva"
-slashCmd.ops.browser.useEnabled: "Browser Use mód bekapcsolva — browser_exec a Browser Use CLI 3.0-n keresztül"
-slashCmd.ops.browser.useUsage: "Használat: /browser use [off]"
+slashCmd.ops.browser.usage: "használat: /browser [connect|disconnect|status] [url] · tartósan: állítsd be a browser.cdp_url értékét a config.yaml fájlban"
slashCmd.ops.reloadEnv.reloadedOne: ".env újratöltve ({0} változó frissült)"
slashCmd.ops.reloadEnv.reloadedOther: ".env újratöltve ({0} változó frissült)"
slashCmd.ops.reloadMcp.complete: "újratöltés befejezve"
diff --git a/locales/it.tui.yaml b/locales/it.tui.yaml
index 723f59eb165..2df5afb2730 100644
--- a/locales/it.tui.yaml
+++ b/locales/it.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "browser connesso: {0}"
slashCmd.ops.browser.connectedLive: "Browser connesso a un browser Chromium attivo via CDP"
slashCmd.ops.browser.disconnected: "browser disconnesso"
slashCmd.ops.browser.endpoint: "Endpoint: {0}"
-slashCmd.ops.browser.modeBrowserUse: "Browser: modalità Browser Use (browser_exec tramite la Browser Use CLI 3.0)"
-slashCmd.ops.browser.newSessionsOnly: "vale per le nuove sessioni — questa mantiene gli strumenti attuali (/new per avviarne una)"
slashCmd.ops.browser.nextCallUsesEndpoint: "la prossima chiamata allo strumento browser userà questo endpoint CDP"
slashCmd.ops.browser.notConnected: "browser non connesso (prova /browser connect <url> o imposta browser.cdp_url in config.yaml)"
slashCmd.ops.browser.urlUnavailable: "(url non disponibile)"
-slashCmd.ops.browser.usage: "uso: /browser [connect|disconnect|status|use] [url] · permanente: imposta browser.cdp_url in config.yaml"
-slashCmd.ops.browser.useDisabled: "Modalità Browser Use disattivata — strumenti browser integrati ripristinati"
-slashCmd.ops.browser.useEnabled: "Modalità Browser Use attiva — browser_exec tramite la Browser Use CLI 3.0"
-slashCmd.ops.browser.useUsage: "Uso: /browser use [off]"
+slashCmd.ops.browser.usage: "uso: /browser [connect|disconnect|status] [url] · permanente: imposta browser.cdp_url in config.yaml"
slashCmd.ops.reloadEnv.reloadedOne: ".env ricaricato ({0} variabile aggiornata)"
slashCmd.ops.reloadEnv.reloadedOther: ".env ricaricato ({0} variabili aggiornate)"
slashCmd.ops.reloadMcp.complete: "ricaricamento completato"
diff --git a/locales/ja.tui.yaml b/locales/ja.tui.yaml
index 841a694719d..7c88bcf73c1 100644
--- a/locales/ja.tui.yaml
+++ b/locales/ja.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "ブラウザに接続しました: {0}"
slashCmd.ops.browser.connectedLive: "CDP 経由で実行中の Chromium 系ブラウザに接続しました"
slashCmd.ops.browser.disconnected: "ブラウザから切断しました"
slashCmd.ops.browser.endpoint: "エンドポイント: {0}"
-slashCmd.ops.browser.modeBrowserUse: "ブラウザ: Browser Use モード (Browser Use CLI 3.0 経由の browser_exec)"
-slashCmd.ops.browser.newSessionsOnly: "新しいセッションに適用されます — このセッションは現在のツールのままです(/new で新規開始)"
slashCmd.ops.browser.nextCallUsesEndpoint: "次のブラウザツール呼び出しからこの CDP エンドポイントを使用します"
slashCmd.ops.browser.notConnected: "ブラウザに接続していません(/browser connect <url> を試すか、config.yaml で browser.cdp_url を設定してください)"
slashCmd.ops.browser.urlUnavailable: "(URL 不明)"
-slashCmd.ops.browser.usage: "使い方: /browser [connect|disconnect|status|use] [url] · 永続化: config.yaml で browser.cdp_url を設定"
-slashCmd.ops.browser.useDisabled: "Browser Use モードを無効にしました — 組み込みのブラウザツールに戻しました"
-slashCmd.ops.browser.useEnabled: "Browser Use モードを有効にしました — Browser Use CLI 3.0 経由の browser_exec"
-slashCmd.ops.browser.useUsage: "使い方: /browser use [off]"
+slashCmd.ops.browser.usage: "使い方: /browser [connect|disconnect|status] [url] · 永続化: config.yaml で browser.cdp_url を設定"
slashCmd.ops.reloadEnv.reloadedOne: ".env を再読み込みしました({0} 個の変数を更新)"
slashCmd.ops.reloadEnv.reloadedOther: ".env を再読み込みしました({0} 個の変数を更新)"
slashCmd.ops.reloadMcp.complete: "再読み込み完了"
diff --git a/locales/ko.tui.yaml b/locales/ko.tui.yaml
index 62c8515351e..56b7162a1be 100644
--- a/locales/ko.tui.yaml
+++ b/locales/ko.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "브라우저 연결됨: {0}"
slashCmd.ops.browser.connectedLive: "CDP로 실행 중인 Chromium 계열 브라우저에 연결했어요"
slashCmd.ops.browser.disconnected: "브라우저 연결을 끊었어요"
slashCmd.ops.browser.endpoint: "엔드포인트: {0}"
-slashCmd.ops.browser.modeBrowserUse: "브라우저: Browser Use 모드 (Browser Use CLI 3.0을 통한 browser_exec)"
-slashCmd.ops.browser.newSessionsOnly: "새 세션부터 적용돼요 — 이 세션은 현재 도구를 유지해요 (/new로 새로 시작)"
slashCmd.ops.browser.nextCallUsesEndpoint: "다음 브라우저 도구 호출부터 이 CDP 엔드포인트를 사용해요"
slashCmd.ops.browser.notConnected: "브라우저가 연결되지 않았어요 (/browser connect <url>을 실행하거나 config.yaml에 browser.cdp_url을 설정하세요)"
slashCmd.ops.browser.urlUnavailable: "(URL 없음)"
-slashCmd.ops.browser.usage: "사용법: /browser [connect|disconnect|status|use] [url] · 영구 설정: config.yaml에 browser.cdp_url 지정"
-slashCmd.ops.browser.useDisabled: "Browser Use 모드 비활성화됨 — 내장 브라우저 도구로 복원됨"
-slashCmd.ops.browser.useEnabled: "Browser Use 모드 활성화됨 — Browser Use CLI 3.0을 통한 browser_exec"
-slashCmd.ops.browser.useUsage: "사용법: /browser use [off]"
+slashCmd.ops.browser.usage: "사용법: /browser [connect|disconnect|status] [url] · 영구 설정: config.yaml에 browser.cdp_url 지정"
slashCmd.ops.reloadEnv.reloadedOne: ".env를 다시 불러왔어요 (변수 {0}개 갱신)"
slashCmd.ops.reloadEnv.reloadedOther: ".env를 다시 불러왔어요 (변수 {0}개 갱신)"
slashCmd.ops.reloadMcp.complete: "다시 불러오기 완료"
diff --git a/locales/pt.tui.yaml b/locales/pt.tui.yaml
index f6610fb43d1..f2b83cbec22 100644
--- a/locales/pt.tui.yaml
+++ b/locales/pt.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "navegador conectado: {0}"
slashCmd.ops.browser.connectedLive: "Navegador conectado a um navegador da família Chromium em execução via CDP"
slashCmd.ops.browser.disconnected: "navegador desconectado"
slashCmd.ops.browser.endpoint: "Endpoint: {0}"
-slashCmd.ops.browser.modeBrowserUse: "Navegador: modo Browser Use (browser_exec via Browser Use CLI 3.0)"
-slashCmd.ops.browser.newSessionsOnly: "vale para novas sessões — esta mantém as ferramentas atuais (/new para iniciar uma)"
slashCmd.ops.browser.nextCallUsesEndpoint: "a próxima chamada da ferramenta de navegador usará este endpoint CDP"
slashCmd.ops.browser.notConnected: "navegador não conectado (tente /browser connect <url> ou defina browser.cdp_url no config.yaml)"
slashCmd.ops.browser.urlUnavailable: "(url indisponível)"
-slashCmd.ops.browser.usage: "uso: /browser [connect|disconnect|status|use] [url] · permanente: defina browser.cdp_url no config.yaml"
-slashCmd.ops.browser.useDisabled: "Modo Browser Use desativado — ferramentas de navegador integradas restauradas"
-slashCmd.ops.browser.useEnabled: "Modo Browser Use ativado — browser_exec via Browser Use CLI 3.0"
-slashCmd.ops.browser.useUsage: "Uso: /browser use [off]"
+slashCmd.ops.browser.usage: "uso: /browser [connect|disconnect|status] [url] · permanente: defina browser.cdp_url no config.yaml"
slashCmd.ops.reloadEnv.reloadedOne: ".env recarregado ({0} variável atualizada)"
slashCmd.ops.reloadEnv.reloadedOther: ".env recarregado ({0} variáveis atualizadas)"
slashCmd.ops.reloadMcp.complete: "recarga concluída"
diff --git a/locales/ru.tui.yaml b/locales/ru.tui.yaml
index e02416bf677..cea20b14e47 100644
--- a/locales/ru.tui.yaml
+++ b/locales/ru.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "браузер подключён: {0}"
slashCmd.ops.browser.connectedLive: "Браузер подключён к работающему браузеру на базе Chromium через CDP"
slashCmd.ops.browser.disconnected: "браузер отключён"
slashCmd.ops.browser.endpoint: "Эндпоинт: {0}"
-slashCmd.ops.browser.modeBrowserUse: "Браузер: режим Browser Use (browser_exec через Browser Use CLI 3.0)"
-slashCmd.ops.browser.newSessionsOnly: "применяется к новым сеансам — этот сохраняет текущие инструменты (/new — начать новый)"
slashCmd.ops.browser.nextCallUsesEndpoint: "следующий вызов инструмента браузера будет использовать этот эндпоинт CDP"
slashCmd.ops.browser.notConnected: "браузер не подключён (попробуйте /browser connect <url> или задайте browser.cdp_url в config.yaml)"
slashCmd.ops.browser.urlUnavailable: "(url недоступен)"
-slashCmd.ops.browser.usage: "использование: /browser [connect|disconnect|status|use] [url] · постоянно: задайте browser.cdp_url в config.yaml"
-slashCmd.ops.browser.useDisabled: "Режим Browser Use выключен — встроенные инструменты браузера восстановлены"
-slashCmd.ops.browser.useEnabled: "Режим Browser Use включён — browser_exec через Browser Use CLI 3.0"
-slashCmd.ops.browser.useUsage: "Использование: /browser use [off]"
+slashCmd.ops.browser.usage: "использование: /browser [connect|disconnect|status] [url] · постоянно: задайте browser.cdp_url в config.yaml"
slashCmd.ops.reloadEnv.reloadedOne: ".env перезагружен (обновлена {0} переменная)"
slashCmd.ops.reloadEnv.reloadedOther: ".env перезагружен (обновлено переменных: {0})"
slashCmd.ops.reloadMcp.complete: "перезагрузка завершена"
diff --git a/locales/tr.tui.yaml b/locales/tr.tui.yaml
index c046a31f4e8..c126a069a53 100644
--- a/locales/tr.tui.yaml
+++ b/locales/tr.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "tarayıcı bağlandı: {0}"
slashCmd.ops.browser.connectedLive: "Tarayıcı, CDP üzerinden canlı Chromium tabanlı tarayıcıya bağlandı"
slashCmd.ops.browser.disconnected: "tarayıcı bağlantısı kesildi"
slashCmd.ops.browser.endpoint: "Uç nokta: {0}"
-slashCmd.ops.browser.modeBrowserUse: "Tarayıcı: Browser Use modu (Browser Use CLI 3.0 üzerinden browser_exec)"
-slashCmd.ops.browser.newSessionsOnly: "yeni oturumlarda geçerli — bu oturum mevcut araçlarını korur (yeni başlatmak için /new)"
slashCmd.ops.browser.nextCallUsesEndpoint: "sonraki tarayıcı araç çağrısı bu CDP uç noktasını kullanacak"
slashCmd.ops.browser.notConnected: "tarayıcı bağlı değil (/browser connect <url> deneyin veya config.yaml içinde browser.cdp_url ayarlayın)"
slashCmd.ops.browser.urlUnavailable: "(url yok)"
-slashCmd.ops.browser.usage: "kullanım: /browser [connect|disconnect|status|use] [url] · kalıcı olması için: config.yaml içinde browser.cdp_url ayarlayın"
-slashCmd.ops.browser.useDisabled: "Browser Use modu devre dışı bırakıldı — yerleşik tarayıcı araçları geri yüklendi"
-slashCmd.ops.browser.useEnabled: "Browser Use modu etkinleştirildi — Browser Use CLI 3.0 üzerinden browser_exec"
-slashCmd.ops.browser.useUsage: "Kullanım: /browser use [off]"
+slashCmd.ops.browser.usage: "kullanım: /browser [connect|disconnect|status] [url] · kalıcı olması için: config.yaml içinde browser.cdp_url ayarlayın"
slashCmd.ops.reloadEnv.reloadedOne: ".env yeniden yüklendi ({0} değişken güncellendi)"
slashCmd.ops.reloadEnv.reloadedOther: ".env yeniden yüklendi ({0} değişken güncellendi)"
slashCmd.ops.reloadMcp.complete: "yeniden yükleme tamamlandı"
diff --git a/locales/uk.tui.yaml b/locales/uk.tui.yaml
index 4357cc81c09..dad18414606 100644
--- a/locales/uk.tui.yaml
+++ b/locales/uk.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "браузер підключено: {0}"
slashCmd.ops.browser.connectedLive: "Браузер підключено до живого браузера на базі Chromium через CDP"
slashCmd.ops.browser.disconnected: "браузер відключено"
slashCmd.ops.browser.endpoint: "Кінцева точка: {0}"
-slashCmd.ops.browser.modeBrowserUse: "Браузер: режим Browser Use (browser_exec через Browser Use CLI 3.0)"
-slashCmd.ops.browser.newSessionsOnly: "діє для нових сеансів — цей зберігає поточні інструменти (/new — почати новий)"
slashCmd.ops.browser.nextCallUsesEndpoint: "наступний виклик браузерного інструмента використає цю кінцеву точку CDP"
slashCmd.ops.browser.notConnected: "браузер не підключено (спробуйте /browser connect <url> або задайте browser.cdp_url у config.yaml)"
slashCmd.ops.browser.urlUnavailable: "(url недоступний)"
-slashCmd.ops.browser.usage: "використання: /browser [connect|disconnect|status|use] [url] · постійно: задайте browser.cdp_url у config.yaml"
-slashCmd.ops.browser.useDisabled: "Режим Browser Use вимкнено — вбудовані інструменти браузера відновлено"
-slashCmd.ops.browser.useEnabled: "Режим Browser Use увімкнено — browser_exec через Browser Use CLI 3.0"
-slashCmd.ops.browser.useUsage: "Використання: /browser use [off]"
+slashCmd.ops.browser.usage: "використання: /browser [connect|disconnect|status] [url] · постійно: задайте browser.cdp_url у config.yaml"
slashCmd.ops.reloadEnv.reloadedOne: "перезавантажено .env (оновлено {0} змінну)"
slashCmd.ops.reloadEnv.reloadedOther: "перезавантажено .env (оновлено змінних: {0})"
slashCmd.ops.reloadMcp.complete: "перезавантаження завершено"
diff --git a/locales/zh-hant.tui.yaml b/locales/zh-hant.tui.yaml
index 5f1a2d87378..bb97ed1a55f 100644
--- a/locales/zh-hant.tui.yaml
+++ b/locales/zh-hant.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "瀏覽器已連線:{0}"
slashCmd.ops.browser.connectedLive: "瀏覽器已透過 CDP 連線到執行中的 Chromium 系瀏覽器"
slashCmd.ops.browser.disconnected: "瀏覽器已中斷連線"
slashCmd.ops.browser.endpoint: "端點:{0}"
-slashCmd.ops.browser.modeBrowserUse: "瀏覽器:Browser Use 模式(透過 Browser Use CLI 3.0 使用 browser_exec)"
-slashCmd.ops.browser.newSessionsOnly: "適用於新的工作階段 — 目前的工作階段保留現有工具(使用 /new 開始新的)"
slashCmd.ops.browser.nextCallUsesEndpoint: "下一次瀏覽器工具呼叫將使用這個 CDP 端點"
slashCmd.ops.browser.notConnected: "瀏覽器未連線(可嘗試 /browser connect <url>,或在 config.yaml 中設定 browser.cdp_url)"
slashCmd.ops.browser.urlUnavailable: "(url 無法取得)"
-slashCmd.ops.browser.usage: "用法:/browser [connect|disconnect|status|use] [url] · 永久設定:在 config.yaml 中設定 browser.cdp_url"
-slashCmd.ops.browser.useDisabled: "已停用 Browser Use 模式 — 已還原內建瀏覽器工具"
-slashCmd.ops.browser.useEnabled: "已啟用 Browser Use 模式 — 透過 Browser Use CLI 3.0 使用 browser_exec"
-slashCmd.ops.browser.useUsage: "用法:/browser use [off]"
+slashCmd.ops.browser.usage: "用法:/browser [connect|disconnect|status] [url] · 永久設定:在 config.yaml 中設定 browser.cdp_url"
slashCmd.ops.reloadEnv.reloadedOne: "已重新載入 .env(更新了 {0} 個變數)"
slashCmd.ops.reloadEnv.reloadedOther: "已重新載入 .env(更新了 {0} 個變數)"
slashCmd.ops.reloadMcp.complete: "重新載入完成"
diff --git a/locales/zh.tui.yaml b/locales/zh.tui.yaml
index 584c8d98eff..51863c1a3df 100644
--- a/locales/zh.tui.yaml
+++ b/locales/zh.tui.yaml
@@ -976,15 +976,10 @@ slashCmd.ops.browser.connected: "浏览器已连接:{0}"
slashCmd.ops.browser.connectedLive: "浏览器已通过 CDP 连接到正在运行的 Chromium 系浏览器"
slashCmd.ops.browser.disconnected: "浏览器已断开连接"
slashCmd.ops.browser.endpoint: "端点:{0}"
-slashCmd.ops.browser.modeBrowserUse: "浏览器:Browser Use 模式(通过 Browser Use CLI 3.0 使用 browser_exec)"
-slashCmd.ops.browser.newSessionsOnly: "适用于新会话——当前会话保留现有工具(使用 /new 开始新会话)"
slashCmd.ops.browser.nextCallUsesEndpoint: "下一次浏览器工具调用将使用此 CDP 端点"
slashCmd.ops.browser.notConnected: "浏览器未连接(可尝试 /browser connect <url>,或在 config.yaml 中设置 browser.cdp_url)"
slashCmd.ops.browser.urlUnavailable: "(url 不可用)"
-slashCmd.ops.browser.usage: "用法:/browser [connect|disconnect|status|use] [url] · 持久化:在 config.yaml 中设置 browser.cdp_url"
-slashCmd.ops.browser.useDisabled: "已禁用 Browser Use 模式——已恢复内置浏览器工具"
-slashCmd.ops.browser.useEnabled: "已启用 Browser Use 模式——通过 Browser Use CLI 3.0 使用 browser_exec"
-slashCmd.ops.browser.useUsage: "用法:/browser use [off]"
+slashCmd.ops.browser.usage: "用法:/browser [connect|disconnect|status] [url] · 持久化:在 config.yaml 中设置 browser.cdp_url"
slashCmd.ops.reloadEnv.reloadedOne: "已重新加载 .env(更新了 {0} 个变量)"
slashCmd.ops.reloadEnv.reloadedOther: "已重新加载 .env(更新了 {0} 个变量)"
slashCmd.ops.reloadMcp.complete: "重新加载完成"
diff --git a/tests/gateway/test_canonical_session_inventory.py b/tests/gateway/test_canonical_session_inventory.py
index cc25ef0f0e1..9cb148d525f 100644
--- a/tests/gateway/test_canonical_session_inventory.py
+++ b/tests/gateway/test_canonical_session_inventory.py
@@ -87,7 +87,6 @@ async def test_cli_surface_snapshot_carries_main_cli_toolsets_and_startup_warnin
from gateway.session_controls import AuthorityConnection
from hermes_cli import banner
from hermes_cli.tools_config import _get_platform_tools
- from tools import browser_use_cli
home = tmp_path / 'home'
home.mkdir()
@@ -96,7 +95,6 @@ async def test_cli_surface_snapshot_carries_main_cli_toolsets_and_startup_warnin
monkeypatch.setenv('HERMES_HOME', str(home))
monkeypatch.setattr(run, '_hermes_home', home)
monkeypatch.setattr(banner, '_available_skills_cache', None)
- monkeypatch.setattr(browser_use_cli, 'default_downgrade_notice', lambda: 'browser-harness is missing')
store = SessionStore(tmp_path / 'sessions', GatewayConfig())
runner = SimpleNamespace(session_store=store, _session_db=store._db, adapters={}, _draining=False,
_cached_agent_for=lambda route: None)
@@ -113,9 +111,9 @@ async def test_cli_surface_snapshot_carries_main_cli_toolsets_and_startup_warnin
cli = (await call('session.create', request_id='cli', source='cli', cwd=str(repo)))['info']
assert cli['enabled_toolsets'] == sorted(_get_platform_tools(load_config(), 'cli'))
assert isinstance(cli['tool_availability_warnings'], list)
- assert cli['browser_backend_notice'] == 'browser-harness is missing'
+ assert 'browser_backend_notice' not in cli
tui = (await call('session.create', request_id='tui', source='tui', cwd=str(repo)))['info']
- assert 'tool_availability_warnings' not in tui and 'browser_backend_notice' not in tui
+ assert 'tool_availability_warnings' not in tui
@pytest.mark.asyncio
diff --git a/tests/hermes_cli/test_classic_browser_manage.py b/tests/hermes_cli/test_classic_browser_manage.py
index 487b4053522..bd29ff123d6 100644
--- a/tests/hermes_cli/test_classic_browser_manage.py
+++ b/tests/hermes_cli/test_classic_browser_manage.py
@@ -50,7 +50,7 @@ def test_classic_browser_connect_is_the_gateways_browser_manage(gateway_cli, mon
monkeypatch.delenv("HERMES_TUI_GATEWAY_URL", raising=False)
cli, conn = gateway_cli(**{"browser.manage": lambda p: (
{"connected": True, "url": p.get("url"), "messages": ["Chrome is already listening"]}
- if p["action"] == "connect" else {"connected": True, "url": "http://127.0.0.1:9333", "browser_use": False})})
+ if p["action"] == "connect" else {"connected": True, "url": "http://127.0.0.1:9333"})})
assert cli.process_command("/browser connect http://127.0.0.1:9333") is True
assert _browser_calls(conn) == [{"action": "connect", "session_id": "local-s", "url": "http://127.0.0.1:9333"}]
out = capsys.readouterr().out
@@ -64,11 +64,12 @@ def test_classic_browser_connect_is_the_gateways_browser_manage(gateway_cli, mon
assert _browser_calls(conn)[-1] == {"action": "disconnect", "session_id": "local-s"}
-def test_classic_browser_use_goes_to_the_gateway(gateway_cli, monkeypatch):
- cli, conn = gateway_cli(**{"browser.manage": {"connected": False, "browser_use": True}})
- monkeypatch.setattr(HermesCLI, "new_session", lambda self, *a, **k: None, raising=False)
+def test_classic_browser_use_is_gone_and_prints_usage(gateway_cli, capsys):
+ """``/browser use [on|off]`` was removed with the built-in browser tools: usage, no gateway call."""
+ cli, conn = gateway_cli(**{"browser.manage": {"connected": False}})
cli.process_command("/browser use off")
- assert _browser_calls(conn) == [{"action": "use", "session_id": "local-s", "enabled": False}]
+ assert _browser_calls(conn) == []
+ assert "/browser" in capsys.readouterr().out
def test_classic_browser_connect_against_a_remote_gateway_is_refused(gateway_cli, monkeypatch, capsys):
diff --git a/tests/hermes_cli/test_gateway_session_store.py b/tests/hermes_cli/test_gateway_session_store.py
index 177fa781844..704c9237ff2 100644
--- a/tests/hermes_cli/test_gateway_session_store.py
+++ b/tests/hermes_cli/test_gateway_session_store.py
@@ -241,27 +241,21 @@ def test_banner_session_label_is_mains_eight_characters_for_a_canonical_id():
def test_cli_startup_notices_render_from_the_snapshot(store, monkeypatch):
- """Main's tool-availability warning and browser notice print from the gateway snapshot (the
- gateway resolved the session's tools); the CLI process enumerates nothing."""
+ """Main's tool-availability warning prints from the gateway snapshot (the gateway resolved the
+ session's tools); the CLI process enumerates nothing."""
from types import SimpleNamespace
from hermes_cli.cli_info_mixin import CLIInfoMixin
- from hermes_cli.cli_tui_runtime_mixin import CLITuiRuntimeMixin
db, _ = store
db.open_session(cli("local-old", resumed=True))
- db.current["info"].update(tool_availability_warnings=["[yellow]⚠ terminal off[/]"],
- browser_backend_notice="browser-harness is missing")
+ db.current["info"].update(tool_availability_warnings=["[yellow]⚠ terminal off[/]"])
printed = []
- host = SimpleNamespace(_session_db=db, _console_print=lambda *a: printed.append(a[0] if a else ""),
- _show_browser_backend_notice=lambda: printed.append("LOCAL"))
- CLITuiRuntimeMixin._show_startup_browser_notice(host)
- assert printed == ["[yellow]⚠ browser-harness is missing[/yellow]"]
+ host = SimpleNamespace(_session_db=db, _console_print=lambda *a: printed.append(a[0] if a else ""))
monkeypatch.setattr("cli._build_compact_banner", lambda: "compact", raising=False)
banner = SimpleNamespace(**vars(host), console=SimpleNamespace(clear=lambda: None), compact=True,
session_id="local-old", _show_status=lambda: None, agent=None,
_show_tool_availability_warnings=lambda: printed.append("LOCAL-WARN"))
banner._print_gateway_tool_warnings = lambda lines: CLIInfoMixin._print_gateway_tool_warnings(banner, lines)
- printed.clear()
CLIInfoMixin.show_banner(banner)
assert "[yellow]⚠ terminal off[/]" in printed and "LOCAL-WARN" not in printed
diff --git a/tests/tui_gateway/test_tui_gateway_server_browser_manage.py b/tests/tui_gateway/test_tui_gateway_server_browser_manage.py
index 00ee6fe0fb7..cd29d6e5af4 100644
--- a/tests/tui_gateway/test_tui_gateway_server_browser_manage.py
+++ b/tests/tui_gateway/test_tui_gateway_server_browser_manage.py
@@ -90,32 +90,13 @@ def test_browser_manage_status_falls_back_to_config_cdp_url(monkeypatch):
assert {k: resp["result"][k] for k in ("connected", "url")} == {"connected": True, "url": "http://lan:9222"}
-def test_browser_manage_use_swaps_the_profiles_browser_tools_for_new_agents(monkeypatch, tmp_path):
- """Desktop/TUI ``/browser use [off]``: the target profile's ``browser.backend`` flips, ``status``
- reports it, and the tool surface a NEW agent resolves swaps (stale check_fn verdicts dropped).
- ``profile`` scopes the write: the launch profile's config stays untouched."""
- from hermes_cli.config import read_raw_config
- from hermes_constants import get_hermes_home
- from tools import browser_use_cli
- import model_tools
- import hermes_yaml as yaml
-
- monkeypatch.setattr(browser_use_cli, "_find_cli", lambda: ["browser-harness"])
- manage = lambda **p: server.handle_request({"id": "1", "method": "browser.manage", "params": p})["result"]
- exec_offered = lambda: "browser_exec" in {
- t["function"]["name"] for t in model_tools.get_tool_definitions(enabled_toolsets=["browser", "terminal"])}
-
- assert manage(action="use", enabled=False)["browser_use"] is False
- assert manage(action="status")["browser_use"] is False and not exec_offered()
- assert manage(action="use")["browser_use"] is True
- assert read_raw_config()["browser"]["backend"] == "browser-use" and exec_offered()
-
- other_home = tmp_path / "profiles" / "other"
- other_home.mkdir(parents=True)
- monkeypatch.setattr(server, "_profile_home", lambda name: other_home if name == "other" else None)
- manage(action="use", enabled=False, profile="other")
- backend = lambda home: yaml.safe_load((home / "config.yaml").read_text())["browser"]["backend"]
- assert (backend(other_home), backend(get_hermes_home())) == ("off", "browser-use")
+def test_browser_manage_has_no_use_action_and_status_reports_no_mode():
+ """``browser.manage`` ``use`` (the old Browser Use / built-in tools switch) is gone: browser_exec is
+ the only core browser path, so the action is refused and ``status`` carries no mode flag."""
+ resp = server.handle_request({"id": "1", "method": "browser.manage", "params": {"action": "use"}})
+ assert "error" in resp and "result" not in resp
+ status = server.handle_request({"id": "2", "method": "browser.manage", "params": {"action": "status"}})
+ assert "browser_use" not in status["result"]
@pytest.fixture(autouse=True)
diff --git a/tui_gateway/contracts/canonical.py b/tui_gateway/contracts/canonical.py
index 3a9dd88a19d..9fde53d7bab 100644
--- a/tui_gateway/contracts/canonical.py
+++ b/tui_gateway/contracts/canonical.py
@@ -169,7 +169,6 @@ class SessionInventoryFields(Result):
tool_availability: dict[str, JsonValue] | None = None
# Classic CLI surface (``source: cli``) only: main's startup lines under the banner (Rich markup).
tool_availability_warnings: list[str] | None = None
- browser_backend_notice: str | None = None
unknown_toolsets: list[str] | None = None # main's "Unknown toolsets" warning, judged by the gateway
diff --git a/tui_gateway/contracts/tools_commands.py b/tui_gateway/contracts/tools_commands.py
index 3c1c6596140..baa8ac79c07 100644
--- a/tui_gateway/contracts/tools_commands.py
+++ b/tui_gateway/contracts/tools_commands.py
@@ -536,14 +536,11 @@ class BrowserAction(WireEnum):
status = "status"
connect = "connect"
disconnect = "disconnect"
- use = "use"
class BrowserManageParams(Params):
action: BrowserAction = BrowserAction.status
url: str | None = None
- # ``use`` only: True selects Browser Use mode (browser_exec), False the built-in browser tools.
- enabled: bool | None = None
session_id: str | None = None
profile: str | None = None
@@ -552,10 +549,7 @@ class BrowserManageResult(Result):
connected: bool
url: str | None = None
messages: list[str] | None = None
- # ``status`` / ``use``: whether new agents for this profile get browser_exec.
- browser_use: bool | None = None
method("browser.manage", params=BrowserManageParams, result=BrowserManageResult,
- doc="Inspect, attach to, or drop the CDP browser the tools use, or switch Browser Use mode "
- "(``use``, applies to new sessions); ``messages`` narrate a connect.")
+ doc="Inspect, attach to, or drop the CDP browser the tools use; ``messages`` narrate a connect.")
diff --git a/tui_gateway/methods_tools.py b/tui_gateway/methods_tools.py
index a96976eaa17..82dd29cb8cf 100644
--- a/tui_gateway/methods_tools.py
+++ b/tui_gateway/methods_tools.py
@@ -1203,12 +1203,9 @@ def _container_checkpoint_refusal(session, mgr, cwd) -> str | None:
@_profile_scoped
def _(rid, params: dict) -> dict:
action = params.get("action", "status")
- if action in {"status", "use"}:
- from tools.browser_use_cli import is_browser_use_cli_mode, set_browser_use_mode
- if action == "use":
- set_browser_use_mode(params.get("enabled", True) is not False)
+ if action == "status":
url = _resolve_browser_cdp_url()
- return _ok(rid, {"connected": bool(url), "url": url, "browser_use": is_browser_use_cli_mode()})
+ return _ok(rid, {"connected": bool(url), "url": url})
if action == "disconnect":
return _browser_disconnect(rid)
if action == "connect":
diff --git a/ui-tui/src/__tests__/createSlashHandler.test.ts b/ui-tui/src/__tests__/createSlashHandler.test.ts
index 26f47476a75..5c5d02baeab 100644
--- a/ui-tui/src/__tests__/createSlashHandler.test.ts
+++ b/ui-tui/src/__tests__/createSlashHandler.test.ts
@@ -689,8 +689,6 @@ describe('createSlashHandler', () => {
it.each([
['/browser status', 'browser.manage', { action: 'status', session_id: null }],
['/browser connect', 'browser.manage', { action: 'connect', session_id: null, url: 'http://127.0.0.1:9222' }],
- ['/browser use', 'browser.manage', { action: 'use', enabled: true, session_id: null }],
- ['/browser use off', 'browser.manage', { action: 'use', enabled: false, session_id: null }],
['/reload-mcp', 'reload.mcp', { session_id: null }],
['/reload', 'reload.env', {}],
['/stop', 'process.stop', {}],
@@ -706,6 +704,15 @@ describe('createSlashHandler', () => {
expect(gatewayWork(ctx)).toEqual([])
})
+ it('answers the removed /browser use with usage instead of an RPC', () => {
+ const rpc = vi.fn(() => Promise.resolve({}))
+ const ctx = buildCtx({ gateway: { ...buildGateway(), rpc } })
+
+ expect(createSlashHandler(ctx)('/browser use off')).toBe(true)
+ expect(rpc).not.toHaveBeenCalled()
+ expect(ctx.transcript.sys).toHaveBeenCalledWith(expect.stringContaining('/browser [connect|disconnect|status]'))
+ })
+
it('renders browser connect progress messages from the gateway', async () => {
const rpc = vi.fn(() =>
Promise.resolve({
diff --git a/ui-tui/src/app/slash/commands/ops.ts b/ui-tui/src/app/slash/commands/ops.ts
index 462f5237d1a..eb754db7281 100644
--- a/ui-tui/src/app/slash/commands/ops.ts
+++ b/ui-tui/src/app/slash/commands/ops.ts
@@ -184,23 +184,16 @@ export const opsCommands: SlashCommand[] = [
},
{
- help: 'manage the agent browser [connect|disconnect|status|use]',
+ help: 'manage the agent browser [connect|disconnect|status]',
name: 'browser',
run: (arg, ctx) => {
const [rawAction = 'status', ...rest] = arg.trim().split(/\s+/).filter(Boolean)
const action = rawAction.toLowerCase()
- if (!['connect', 'disconnect', 'status', 'use'].includes(action)) {
+ if (!['connect', 'disconnect', 'status'].includes(action)) {
return ctx.transcript.sys(t('slashCmd.ops.browser.usage'))
}
- // `/browser use [on|off]` — same arguments as the classic CLI.
- const mode = action === 'use' ? (rest[0] ?? 'on').toLowerCase() : undefined
-
- if (mode && mode !== 'on' && mode !== 'off') {
- return ctx.transcript.sys(t('slashCmd.ops.browser.useUsage'))
- }
-
const sid = ctx.sid ?? null
const url = action === 'connect' ? rest.join(' ').trim() || 'http://127.0.0.1:9222' : undefined
@@ -212,8 +205,7 @@ export const opsCommands: SlashCommand[] = [
.rpc<BrowserManageResponse>('browser.manage', {
action,
session_id: sid,
- ...(url && { url }),
- ...(mode && { enabled: mode === 'on' })
+ ...(url && { url })
})
.then(
ctx.guarded<BrowserManageResponse>(r => {
@@ -223,22 +215,12 @@ export const opsCommands: SlashCommand[] = [
r.messages?.forEach(message => ctx.transcript.sys(message))
}
- if (action === 'use') {
- ctx.transcript.sys(
- t(mode === 'on' ? 'slashCmd.ops.browser.useEnabled' : 'slashCmd.ops.browser.useDisabled')
- )
-
- return ctx.transcript.sys(t('slashCmd.ops.browser.newSessionsOnly'))
- }
-
if (action === 'status') {
- ctx.transcript.sys(
+ return ctx.transcript.sys(
r.connected
? t('slashCmd.ops.browser.connected', r.url || t('slashCmd.ops.browser.urlUnavailable'))
: t('slashCmd.ops.browser.notConnected')
)
-
- return r.browser_use ? ctx.transcript.sys(t('slashCmd.ops.browser.modeBrowserUse')) : undefined
}
if (action === 'disconnect') {
diff --git a/ui-tui/src/gatewayTypes.ts b/ui-tui/src/gatewayTypes.ts
index 40bbc25a3c6..101174ec621 100644
--- a/ui-tui/src/gatewayTypes.ts
+++ b/ui-tui/src/gatewayTypes.ts
@@ -526,7 +526,6 @@ export interface ProcessStopResponse {
}
export interface BrowserManageResponse {
- browser_use?: boolean
connected?: boolean
messages?: string[]
url?: string
diff --git a/ui-tui/src/i18n/en/slashCmd/ops.ts b/ui-tui/src/i18n/en/slashCmd/ops.ts
index 5bd4385ee05..18d41420ff7 100644
--- a/ui-tui/src/i18n/en/slashCmd/ops.ts
+++ b/ui-tui/src/i18n/en/slashCmd/ops.ts
@@ -18,7 +18,7 @@ export const slashCmdOpsEn = {
reloadedOther: (count: string) => `reloaded .env (${count} vars updated)`
},
browser: {
- usage: 'usage: /browser [connect|disconnect|status|use] [url] · persistent: set browser.cdp_url in config.yaml',
+ usage: 'usage: /browser [connect|disconnect|status] [url] · persistent: set browser.cdp_url in config.yaml',
checking: (url: string) => `checking Chromium-family browser remote debugging at ${url}...`,
connected: (url: string) => `browser connected: ${url}`,
urlUnavailable: '(url unavailable)',
@@ -26,12 +26,7 @@ export const slashCmdOpsEn = {
disconnected: 'browser disconnected',
connectedLive: 'Browser connected to live Chromium-family browser via CDP',
endpoint: (url: string) => `Endpoint: ${url}`,
- nextCallUsesEndpoint: 'next browser tool call will use this CDP endpoint',
- useUsage: 'Usage: /browser use [off]',
- useEnabled: 'Browser Use mode enabled — browser_exec via the Browser Use CLI 3.0',
- useDisabled: 'Browser Use mode disabled — built-in browser tools restored',
- newSessionsOnly: 'applies to new sessions — this one keeps its current tools (/new to start one)',
- modeBrowserUse: 'Browser: Browser Use mode (browser_exec via the Browser Use CLI 3.0)'
+ nextCallUsesEndpoint: 'next browser tool call will use this CDP endpoint'
},
rollback: {
noSession: 'no active session — nothing to rollback',