Class ServerPluginsApi
java.lang.Object
com.github.copilot.generated.rpc.ServerPluginsApi
API methods for the
plugins namespace.- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ServerPluginsBuiltinApiAPI methods for theplugins.builtinsub-namespace.API methods for theplugins.marketplacessub-namespace. -
Method Summary
Modifier and TypeMethodDescriptionConsumes one verified Agent Plugin installation plan, requests explicit human consent through installations.confirm on the original connection, then reacquires and verifies every file and registers the plugin, disabled, exactly as a direct plugin install.disable(PluginsDisableParams params) Disables installed plugins for new sessions.enable(PluginsEnableParams params) Enables installed plugins for new sessions.install(PluginsInstallParams params) Installs a plugin from a marketplace, GitHub repo, URL, or local path.list()Lists plugins installed in user/global state.planInstall(PluginsPlanInstallParams params) Plans installation of an Agent Plugin search candidate from its verified Agent Finder materialisation without writing files.uninstall(PluginsUninstallParams params) Uninstalls an installed plugin.update(PluginsUpdateParams params) Updates an installed plugin to its latest published version.Updates every installed plugin to its latest published version.
-
Field Details
-
builtin
API methods for theplugins.builtinsub-namespace. -
marketplaces
API methods for theplugins.marketplacessub-namespace.
-
-
Method Details
-
planInstall
@CopilotExperimental public CompletableFuture<PluginInstallationManagementResult> planInstall(PluginsPlanInstallParams params) Plans installation of an Agent Plugin search candidate from its verified Agent Finder materialisation without writing files. Only candidates that carry a handle can be planned. The review shows only verified data, and installing leaves the plugin disabled until it is enabled through plugins.enable.- Since:
- 1.0.0
-
applyInstall
@CopilotExperimental public CompletableFuture<PluginInstallationResult> applyInstall(PluginsApplyInstallParams params) Consumes one verified Agent Plugin installation plan, requests explicit human consent through installations.confirm on the original connection, then reacquires and verifies every file and registers the plugin, disabled, exactly as a direct plugin install. The installed plugin is listed, enabled and uninstalled through the existing plugins methods.- Since:
- 1.0.0
-
list
Lists plugins installed in user/global state.- Since:
- 1.0.0
-
install
@CopilotExperimental public CompletableFuture<PluginsInstallResult> install(PluginsInstallParams params) Installs a plugin from a marketplace, GitHub repo, URL, or local path.- Since:
- 1.0.0
-
uninstall
Uninstalls an installed plugin.- Since:
- 1.0.0
-
update
@CopilotExperimental public CompletableFuture<PluginsUpdateResult> update(PluginsUpdateParams params) Updates an installed plugin to its latest published version.- Since:
- 1.0.0
-
updateAll
Updates every installed plugin to its latest published version.- Since:
- 1.0.0
-
enable
Enables installed plugins for new sessions.- Since:
- 1.0.0
-
disable
Disables installed plugins for new sessions.- Since:
- 1.0.0
-