import { IMarketplacePlugin } from "./pluginMarketplaceService.js"; export interface IUpdateAllPluginsOptions { /** * When `true`, also re-installs npm/pip packages that have no pinned * version. Defaults to `false` to avoid interactive terminal prompts * during background updates. */ readonly force?: boolean; /** * When `true`, suppresses the progress notification. An info * notification is still shown listing any plugins that were * updated, and error notifications are shown on failure. */ readonly silent?: boolean; /** Restricts updates to plugins installed from these canonical marketplace IDs. */ readonly marketplaceIds?: ReadonlySet; /** Rechecks marketplace automatic-update policy before updating. */ readonly automatic?: boolean; } export interface IUpdateAllPluginsResult { /** Names of plugins/marketplaces that were updated successfully. */ readonly updatedNames: readonly string[]; /** Names of plugins/marketplaces that failed to update. */ readonly failedNames: readonly string[]; } export interface IInstallPluginFromSourceOptions { /** Install the exact standalone or marketplace-declared plugin at this repository-relative directory. */ readonly path?: string; /** * When set, targets a specific plugin by name within the marketplace * instead of installing all or prompting the user. The matched plugin * is installed and returned in the result. */ readonly plugin?: string; } export interface IInstallPluginFromSourceResult { readonly success: boolean; readonly message?: string; /** Contains the installed plugin when a name or repository subdirectory was targeted. */ readonly matchedPlugin?: IMarketplacePlugin; }