SnippetConfig

Type Alias SnippetConfig 

Source
pub type SnippetConfig = SnippetManifest;
Expand description

Type alias for snippet configuration using the SnippetManifest structure

Aliased Type§

pub struct SnippetConfig {
    pub metadata: SnippetMetadata,
    pub content: SnippetContent,
    pub config: HashMap<String, Value>,
}

Fields§

§metadata: SnippetMetadata

Snippet metadata

§content: SnippetContent

Snippet content (can be inline or file reference)

§config: HashMap<String, Value>

Custom configuration values specific to this snippet.

Similar to agent configuration, this allows arbitrary key-value pairs for snippet-specific settings like formatting options, execution parameters, or integration settings.