fix(app): refresh directory MCP status (#31194)

This commit is contained in:
Luke Parker 2026-06-07 15:53:23 +10:00 committed by GitHub
commit a29deb1ee9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 101 additions and 58 deletions

View file

@ -609,6 +609,9 @@ export const createDirSyncContext = (
)
},
},
mcp: {
toggle: (name: string) => serverSync.mcp.toggle(directory, name),
},
absolute,
get directory() {
return current()[0].path.directory