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 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.
Trait Implementations§
Source§impl<'a> Clone for ClientRpcSkills<'a>
impl<'a> Clone for ClientRpcSkills<'a>
Source§fn clone(&self) -> ClientRpcSkills<'a>
fn clone(&self) -> ClientRpcSkills<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more