refactor(webui): separate gateway mutations and UI state (#6727)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-19 22:22:51 +08:00
1 parent ce12bfdd0d
commit 5537bdabd3
70 files changed
+4058 -3650

No files matched your search

+1
View File
@@ -989,6 +989,7 @@ async def test_remote_clients_cannot_open_local_file_picker(gateway, monkeypatch
))
result = await gateway.http.dispatch_webui_mutation(connection, "remote.pick_file", {})
assert result.status_code == 403
assert result.message == "remote_connections_local_only"
choose.assert_not_awaited()