feat: add AgentRealtimeProvider and integrate it into WorkbenchLayout and ConversationsPage

This commit is contained in:
mlogclub
2026-06-13 12:53:39 +08:00
parent 878d4bb811
commit 7ed6b628c1
8 changed files with 80 additions and 7 deletions
@@ -13,4 +13,9 @@ describe("workspace switcher config", () => {
it("wraps the dropdown label in a Base UI menu group", async () => {
assert.match(source, /<DropdownMenuGroup>[\s\S]*<DropdownMenuLabel>\{t\("workspace\.switchWorkspace"\)\}<\/DropdownMenuLabel>/);
});
it("does not auto-open the rail menu from focus events", async () => {
assert.doesNotMatch(source, /onFocus=\{openHoverMenu\}/);
assert.doesNotMatch(source, /onBlur=\{closeHoverMenu\}/);
});
});