mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-13 21:07:00 -07:00
feat(extensions): add plan directory support to gemini-extension.json
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user