mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 22:33:05 -07:00
fix(cli): pass workspaceDir to createOpenPlugin to ensure correct variable hydration
This commit is contained in:
@@ -798,6 +798,7 @@ Would you like to attempt to install via "git clone" instead?`,
|
||||
this.workspaceDir,
|
||||
),
|
||||
extensionId,
|
||||
this.workspaceDir,
|
||||
installMetadata,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user