CoAgent8 - Source API
    Preparing search index...

    Interface ConfigProvenance

    Provenance tracking the file resolution, disk presence, and per-setting origin.

    interface ConfigProvenance {
        configFile: string;
        configFileOrigin: "custom-env" | "default-path";
        editorOverridesApplied: (
            | "defaultBackend"
            | "routing.strategy"
            | "routing.allowedBackends"
            | "codex.defaultModel"
            | "claude.defaultModel"
            | "agy.defaultModel"
        )[];
        editorOverridesAttempted?: (
            | "defaultBackend"
            | "routing.strategy"
            | "routing.allowedBackends"
            | "codex.defaultModel"
            | "claude.defaultModel"
            | "agy.defaultModel"
        )[];
        fileExisted: boolean;
        fileStat?: { mtimeMs: number; size: number };
        sources: Record<string, SettingSource>;
    }
    Index
    configFile: string

    Resolved path to the configuration file.

    configFileOrigin: "custom-env" | "default-path"

    Whether the path originates from coagent8_CONFIG or the default data directory.

    editorOverridesApplied: (
        | "defaultBackend"
        | "routing.strategy"
        | "routing.allowedBackends"
        | "codex.defaultModel"
        | "claude.defaultModel"
        | "agy.defaultModel"
    )[]

    Explicit VS Code editor settings keys applied from coagent8_EDITOR_SETTINGS.

    editorOverridesAttempted?: (
        | "defaultBackend"
        | "routing.strategy"
        | "routing.allowedBackends"
        | "codex.defaultModel"
        | "claude.defaultModel"
        | "agy.defaultModel"
    )[]

    Editor settings present in environment but unapplied (e.g. diagnostic fallback on invalid file).

    fileExisted: boolean

    Whether the configuration file existed on disk when loaded.

    fileStat?: { mtimeMs: number; size: number }

    File stats (mtime and size) when the file existed.

    sources: Record<string, SettingSource>

    Provenance of individual configuration settings.