fix(cli): pass workspaceDir to createOpenPlugin to ensure correct variable hydration

This commit is contained in:
Taylor Mullen
2026-03-23 16:17:15 -07:00
committed by ruomeng
parent cee98aee89
commit 10992dd9f9
2 changed files with 3 additions and 1 deletions
@@ -798,6 +798,7 @@ Would you like to attempt to install via "git clone" instead?`,
this.workspaceDir,
),
extensionId,
this.workspaceDir,
installMetadata,
);
}
+2 -1
View File
@@ -172,13 +172,14 @@ export async function createOpenPlugin(
manifestPath: string,
isActive: boolean,
id: string,
workspaceDir: string,
installMetadata?: ExtensionInstallMetadata,
): Promise<GeminiCLIExtension> {
// Use loadOpenPluginConfig to get standard mapping
const config = await loadOpenPluginConfig(
manifestPath,
pluginDir,
process.cwd(),
workspaceDir,
);
return {