Skip to main content

register_resource_prompts

Function register_resource_prompts 

Source
pub fn register_resource_prompts(
    config: &Config,
    directories: &[ResourceDirectory],
    profiles: &mut ProfileRegistry,
    extra_profiles: &ProfileRegistry,
) -> Result<()>
Expand description

Register standalone prompt projections, rejecting collisions with all legacy sources (including registry Lua and caller-provided Rust profiles) atomically.