feat(extensions): add plan directory support to gemini-extension.json

This commit is contained in:
Mahima Shanware
2026-02-25 20:58:43 +00:00
parent 6f11d7eaf7
commit 2c82d18c9f
3 changed files with 3 additions and 0 deletions
@@ -862,6 +862,7 @@ Would you like to attempt to install via "git clone" instead?`,
installMetadata,
mcpServers: config.mcpServers,
excludeTools: config.excludeTools,
plan: config.plan,
hooks,
isActive: this.extensionEnablementManager.isEnabled(
config.name,
+1
View File
@@ -28,6 +28,7 @@ export interface ExtensionConfig {
contextFileName?: string | string[];
excludeTools?: string[];
settings?: ExtensionSetting[];
plan?: { directory?: string };
/**
* Custom themes contributed by this extension.
* These themes will be registered when the extension is activated.
+1
View File
@@ -308,6 +308,7 @@ export interface GeminiCLIExtension {
mcpServers?: Record<string, MCPServerConfig>;
contextFiles: string[];
excludeTools?: string[];
plan?: PlanSettings;
id: string;
hooks?: { [K in HookEventName]?: HookDefinition[] };
settings?: ExtensionSetting[];