From 6164a3f0ce2c61b03fbb1928834bd62ca7d9c04b Mon Sep 17 00:00:00 2001 From: ace-pm Date: Wed, 15 Apr 2026 15:04:11 +0200 Subject: [PATCH] fix(resource-loader): check for @sf-run scopes instead of @gsd Function hasMissingWorkspaceScopes() was checking for @gsd directories but its comment and usage indicated it should check for @sf-run scopes. Update the check to match the renamed scope. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/resource-loader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resource-loader.ts b/src/resource-loader.ts index 5c80516c9..c01107704 100644 --- a/src/resource-loader.ts +++ b/src/resource-loader.ts @@ -324,7 +324,7 @@ function hasMissingWorkspaceScopes(hoisted: string, internal: string): boolean { if (!existsSync(internal)) return false try { for (const entry of readdirSync(internal, { withFileTypes: true })) { - if (entry.isDirectory() && entry.name.startsWith('@gsd') && + if (entry.isDirectory() && entry.name.startsWith('@sf-run') && !existsSync(join(hoisted, entry.name))) { return true }