The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(gateway): browser gate reads the registry's multiplexed flag as the review verified
Teknium386669d21968
diff --git a/tui_gateway/ws_legacy_fallback.py b/tui_gateway/ws_legacy_fallback.pyindex d2510a497c7..bbeab77307b 100644--- a/tui_gateway/ws_legacy_fallback.py+++ b/tui_gateway/ws_legacy_fallback.py@@ -65,7 +65,7 @@ _PROCESS_GLOBAL_ACTIONS = {"browser.manage": ({"connect", "disconnect"}, "browsedef _owner_may_multiplex() -> bool:"""Whether this owner serves, or can hot-serve, more than one profile (the running gateway'sauthority registry: multiplex mode, or a second profile ever served); without a registered- runner, whether the process multiplexes at all. Unknown means yes (fail closed)."""+ runner, whether the process multiplexes at all (fail closed)."""from agent.secret_scope import is_multiplex_activefrom gateway import run_apirunner = getattr(run_api, "_ACTIVE_RUNNER", None)@@ -73,7 +73,7 @@ def _owner_may_multiplex() -> bool:if registry is None:return is_multiplex_active()from gateway.session_authorities import serving_authorities- return bool(getattr(registry, "multiplexed", True)) or len(serving_authorities(runner)) > 1+ return getattr(registry, "multiplexed", False) or len(serving_authorities(runner)) > 1def legacy_fallback_allowed(actor: Any, method: str) -> bool: