diff --git a/ui/desktop/src/components/settings_v2/extensions/utils.ts b/ui/desktop/src/components/settings_v2/extensions/utils.ts index 3c93f3ba..2e26c02d 100644 --- a/ui/desktop/src/components/settings_v2/extensions/utils.ts +++ b/ui/desktop/src/components/settings_v2/extensions/utils.ts @@ -168,12 +168,7 @@ export async function replaceWithShims(cmd: string) { export function removeShims(cmd: string) { // Only remove shims if the path matches our known shim patterns - const shimPatterns = [ - /\/goose-shims\/goosed$/, - /\/goose-shims\/jbang$/, - /\/goose-shims\/npx$/, - /\/goose-shims\/uvx$/, - ]; + const shimPatterns = [/goosed$/, /jbang$/, /npx$/, /uvx$/]; // Check if the command matches any shim pattern const isShim = shimPatterns.some((pattern) => pattern.test(cmd));