fix(cli): pass workspaceDir to createOpenPlugin to ensure correct variable hydration
This commit is contained in:
parent
cee98aee89
commit
10992dd9f9
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user