feat(cli): support Open Plugin (plugin.json) manifest standard

Fixes https://github.com/google-gemini/maintainers-gemini-cli/issues/1597
This commit is contained in:
Taylor Mullen
2026-03-23 15:59:18 -07:00
parent 42a673a52c
commit 2da2f28b20
9 changed files with 750 additions and 76 deletions
@@ -20,6 +20,11 @@ const UNMARSHALL_KEY_IGNORE_LIST: Set<string> = new Set<string>([
export const EXTENSIONS_DIRECTORY_NAME = path.join(GEMINI_DIR, 'extensions');
export const EXTENSIONS_CONFIG_FILENAME = 'gemini-extension.json';
export const OPEN_PLUGIN_CONFIG_FILENAME = 'plugin.json';
export const HIDDEN_OPEN_PLUGIN_CONFIG_FILENAME = path.join(
'.plugin',
'plugin.json',
);
export const INSTALL_METADATA_FILENAME = '.gemini-extension-install.json';
export const EXTENSION_SETTINGS_FILENAME = '.env';