feat(sandbox): add the session sandbox control to the desktop composer

The sandbox toggle and resources dialog were only reachable from the mobile composer menu. Add SessionSandboxMenu next to the permission toggle on desktop and share the sandbox menu items with the mobile menu.
This commit is contained in:
Chris Scott committed 2026-10-15 16:53:49 -04:00
1 parent b21fdf5b94
commit 95a9f6e1ed
11 files changed
+278 -45

No files matched your search

@@ -111,6 +111,10 @@ vi.mock('./ComposerToolsMenu', () => ({
ComposerToolsMenu: () => null,
}))
vi.mock('@/components/session/SessionSandboxMenu', () => ({
SessionSandboxMenu: () => null,
}))
vi.mock('./PromptSuggestions', () => ({
PromptSuggestions: (props: { isOpen: boolean; selectedIndex: number }) => {
if (props.isOpen) {