fix(tui): gate background shortcut by capability (#32837)

This commit is contained in:
Aiden Cline
2026-06-18 14:54:26 +02:00
committed by GitHub
parent 62c746f2e8
commit 2892e97c57
8 changed files with 148 additions and 20 deletions
+1
View File
@@ -58,6 +58,7 @@ export function createFetch(override?: FetchHandler) {
return json({})
if (url.pathname === "/config/providers") return json({ providers: {}, default: {} })
if (url.pathname === "/experimental/console") return json({ consoleManagedProviders: [], switchableOrgCount: 0 })
if (url.pathname === "/experimental/capabilities") return json({ backgroundSubagents: false })
if (url.pathname === "/path") return json({ home: "", state: "", config: "", worktree, directory })
if (url.pathname === "/api/location") return json({ directory, project: { id: "proj_test", directory: worktree } })
if (