Class ServerSkillsApi
java.lang.Object
com.github.copilot.generated.rpc.ServerSkillsApi
API methods for the
skills namespace.- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ServerSkillsConfigApiAPI methods for theskills.configsub-namespace.API methods for theskills.installationssub-namespace. -
Method Summary
Modifier and TypeMethodDescriptionapplyInstall(SkillsApplyInstallParams params) Consumes one verified Skill installation plan, requests explicit human consent through installations.confirm on the original connection, then revalidates and installs the Skill disabled.Consumes an owned Skill removal plan, requests explicit human consent through installations.confirm, refuses drift, and removes the exact owned files through quarantine.discover(SkillsDiscoverParams params) Discovers skills across global and project sources.Returns the canonical directories where a client may create skills that the runtime will recognize, including ones that do not exist yet.Returns the canonical directories where a client may create skills that the runtime will recognize, including ones that do not exist yet.planInstall(SkillsPlanInstallParams params) Plans installation of a verified Agent Finder Skill candidate without writing files.Prepares a read-only removal plan for an owned verified Agent Finder Skill installation.
-
Field Details
-
installations
API methods for theskills.installationssub-namespace. -
config
API methods for theskills.configsub-namespace.
-
-
Method Details
-
planInstall
@CopilotExperimental public CompletableFuture<SkillInstallationManagementResult> planInstall(SkillsPlanInstallParams params) Plans installation of a verified Agent Finder Skill candidate without writing files. The returned review is safe to present to a user and installing always leaves the Skill disabled until separately enabled.- Since:
- 1.0.0
-
applyInstall
@CopilotExperimental public CompletableFuture<SkillInstallationResult> applyInstall(SkillsApplyInstallParams params) Consumes one verified Skill installation plan, requests explicit human consent through installations.confirm on the original connection, then revalidates and installs the Skill disabled.- Since:
- 1.0.0
-
planUninstall
@CopilotExperimental public CompletableFuture<SkillInstallationManagementResult> planUninstall(SkillsPlanUninstallParams params) Prepares a read-only removal plan for an owned verified Agent Finder Skill installation. Uninstall planning is never gated by the Skill-install feature flag.- Since:
- 1.0.0
-
applyUninstall
@CopilotExperimental public CompletableFuture<SkillInstallationResult> applyUninstall(SkillsApplyUninstallParams params) Consumes an owned Skill removal plan, requests explicit human consent through installations.confirm, refuses drift, and removes the exact owned files through quarantine.- Since:
- 1.0.0
-
discover
@CopilotExperimental public CompletableFuture<SkillsDiscoverResult> discover(SkillsDiscoverParams params) Discovers skills across global and project sources.- Since:
- 1.0.0
-
getDiscoveryPaths
@CopilotExperimental public CompletableFuture<SkillsGetDiscoveryPathsResult> getDiscoveryPaths(SkillsGetDiscoveryPathsParams params) Returns the canonical directories where a client may create skills that the runtime will recognize, including ones that do not exist yet. Project directories become active once created.- Since:
- 1.0.0
-
getDiscoveryPaths
@CopilotExperimental public CompletableFuture<SkillsGetDiscoveryPathsResult> getDiscoveryPaths(SkillsGetDiscoveryPathsRequest request) Returns the canonical directories where a client may create skills that the runtime will recognize, including ones that do not exist yet. Project directories become active once created.Accepts the extensible request, including inputs added after the params record.
- Since:
- 1.0.0
-