Theia API Documentation v1.66.0
    Preparing search index...

    Represents a basic prompt fragment with an ID and template content.

    interface BasePromptFragment {
        commandAgents?: string[];
        commandArgumentHint?: string;
        commandDescription?: string;
        commandName?: string;
        id: string;
        isCommand?: boolean;
        template: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    commandAgents?: string[]

    List of agent IDs this command is available for (undefined means available for all agents)

    commandArgumentHint?: string

    Hint for command arguments shown in autocomplete detail (e.g., "", "[options]")

    commandDescription?: string

    Description shown in command autocomplete

    commandName?: string

    Display name for the command (defaults to fragment id if not specified)

    id: string

    Unique identifier for this prompt fragment

    isCommand?: boolean

    Mark this template as available as a slash command

    template: string

    The template content, which may contain variables and function references