pub struct ClientRpcSkills<'a> { /* private fields */ }Expand description
skills.* RPCs.
Implementations§
Source§impl<'a> ClientRpcSkills<'a>
impl<'a> ClientRpcSkills<'a>
Sourcepub fn config(&self) -> ClientRpcSkillsConfig<'a>
pub fn config(&self) -> ClientRpcSkillsConfig<'a>
skills.config.* sub-namespace.
Sourcepub fn installations(&self) -> ClientRpcSkillsInstallations<'a>
pub fn installations(&self) -> ClientRpcSkillsInstallations<'a>
skills.installations.* sub-namespace.
Sourcepub async fn plan_install(
&self,
params: SkillPlanInstallRequest,
) -> Result<SkillInstallationManagementResult, Error>
pub async fn plan_install( &self, params: SkillPlanInstallRequest, ) -> Result<SkillInstallationManagementResult, Error>
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.
Wire method: skills.planInstall.
§Parameters
params- Side-effect-free planning of one verified Agent Finder Skill candidate.
§Returns
Skill installation management result with the honoured contract, or a typed refusal.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Sourcepub async fn apply_install(
&self,
params: SkillApplyInstallRequest,
) -> Result<SkillInstallationResult, Error>
pub async fn apply_install( &self, params: SkillApplyInstallRequest, ) -> Result<SkillInstallationResult, Error>
Consumes one verified Skill installation plan, requests explicit human consent through installations.confirm on the original connection, then revalidates and installs the Skill disabled.
Wire method: skills.applyInstall.
§Parameters
params- Applies exactly one retained verified Skill installation plan.
§Returns
Skill installation result with the honoured contract, or a typed request/negotiation refusal.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Sourcepub async fn plan_uninstall(
&self,
params: SkillPlanUninstallRequest,
) -> Result<SkillInstallationManagementResult, Error>
pub async fn plan_uninstall( &self, params: SkillPlanUninstallRequest, ) -> Result<SkillInstallationManagementResult, Error>
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.
Wire method: skills.planUninstall.
§Parameters
params- Read-only preparation of one owned Skill removal under fresh selected-session authority.
§Returns
Skill installation management result with the honoured contract, or a typed refusal.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Sourcepub async fn apply_uninstall(
&self,
params: SkillApplyUninstallRequest,
) -> Result<SkillInstallationResult, Error>
pub async fn apply_uninstall( &self, params: SkillApplyUninstallRequest, ) -> Result<SkillInstallationResult, Error>
Consumes an owned Skill removal plan, requests explicit human consent through installations.confirm, refuses drift, and removes the exact owned files through quarantine.
Wire method: skills.applyUninstall.
§Parameters
params- One-use application of the exact retained Skill removal plan.
§Returns
Skill installation result with the honoured contract, or a typed request/negotiation refusal.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Sourcepub async fn discover(
&self,
params: SkillsDiscoverRequest,
) -> Result<ServerSkillList, Error>
pub async fn discover( &self, params: SkillsDiscoverRequest, ) -> Result<ServerSkillList, Error>
Discovers skills across global and project sources.
Wire method: skills.discover.
§Parameters
params- Optional project paths and additional skill directories to include in discovery.
§Returns
Skills discovered across global and project sources.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Sourcepub async fn get_discovery_paths(
&self,
params: SkillsGetDiscoveryPathsRequest,
) -> Result<SkillDiscoveryPathList, Error>
pub async fn get_discovery_paths( &self, params: SkillsGetDiscoveryPathsRequest, ) -> Result<SkillDiscoveryPathList, Error>
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.
Wire method: skills.getDiscoveryPaths.
§Parameters
params- Optional project paths to enumerate.
§Returns
Canonical locations where skills can be created so the runtime will recognize them.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.