evalution
    Preparing search index...

    Interface NormalizedFilePrompt

    A NormalizedPrompt whose metadata field is guaranteed to carry FilePromptMetadata. This is the public-facing prompt type returned by FilePromptProvider.

    interface NormalizedFilePrompt {
        functionParameters: PropDefinition[];
        globalId?: string;
        id: string;
        messages: NormalizedMessage[];
        messagesEditable: boolean;
        metadata: FilePromptMetadata;
        model?: PropValue;
        modelEditable: boolean;
        modelParameters: NormalizedParameter[];
        name: string;
        providerId?: string;
        system?: PropValue;
        systemEditable: boolean;
        treePath?: string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    functionParameters: PropDefinition[]
    globalId?: string

    Author-supplied stable alias for this prompt, globally unique across providers. Survives file moves/renames and is registered in the prompt registry so runtime traces can resolve back to this prompt.

    id: string
    messages: NormalizedMessage[]

    Conversation messages.

    messagesEditable: boolean

    Whether messages can be edited in the UI.

    model?: PropValue

    The model reference (e.g. a provider call or gateway string).

    modelEditable: boolean

    Whether model can be edited in the UI.

    modelParameters: NormalizedParameter[]

    Model parameters currently set on the prompt (everything other than model, system, and messages).

    name: string
    providerId?: string
    system?: PropValue

    Top-level system prompt, if the SDK supports one.

    systemEditable: boolean

    Whether system can be edited in the UI.

    treePath?: string[]

    Controls where this prompt appears in the sidebar tree.

    Each element is a path segment. The last segment is treated as the leaf group label (analogous to a file name) and all preceding segments are rendered as collapsible directory nodes.

    Prompts that share the same treePath are grouped under the same leaf node. When omitted, the prompt is placed at the root level.

    ['src', 'prompts', 'greeting.prompt.ts']