evalution
    Preparing search index...

    Interface FilePromptProviderOptions

    Configuration options for the FilePromptProvider.

    interface FilePromptProviderOptions {
        fileProvider?: FileProvider;
        fileType?: PromptFileType;
        id?: string;
        ignorePatterns?: readonly string[];
        includePatterns?: readonly string[];
        rootDir?: string;
        sdk: SDKAdapter;
    }
    Index

    Properties

    fileProvider?: FileProvider

    Optional custom file provider that abstracts file system access, useful for testing or non-local environments. Defaults to an instance of LocalFileProvider.

    fileType?: PromptFileType

    Optional custom file type handler that defines how to parse prompt files and manipulate properties. Defaults to an instance of TSPromptFileType.

    id?: string

    Uniquely identifies this provider instance when multiple providers are used together. Defaults to 'fs' + an incrementing number.

    ignorePatterns?: readonly string[]

    Glob patterns to exclude when scanning for prompt files. Defaults to ['**/node_modules/**', '**/dist/**', '**/.git/**'].

    includePatterns?: readonly string[]

    Glob patterns to include when scanning for prompt files. Defaults to PromptFileType.defaultIncludePatterns.

    rootDir?: string

    The root directory to scan recursively for prompt files. Defaults to the current working directory.

    SDK adapter that governs prompt structure and execution.