@karmaniverous/stan
    Preparing search index...

    Type Alias ContextConfig

    Resolved STAN configuration. * - Paths like stanPath/output and stanPath/diff are referred to without angle * brackets to avoid confusion with HTML-like tags in TSDoc.

    type ContextConfig = {
        cliDefaults?: CliDefaults;
        devMode?: boolean;
        excludes?: string[];
        includes?: string[];
        maxUndos?: number;
        patchOpenCommand?: string;
        scripts: ScriptMap;
        stanPath: string;
    }
    Index

    Properties

    cliDefaults?: CliDefaults

    Phase-scoped CLI defaults used by adapters when flags are omitted. Top-level (no 'opts' wrapper).

    devMode?: boolean
    excludes?: string[]

    Paths to exclude in archiving logic (globs supported).

    includes?: string[]

    Additive allow‑list globs for archiving/snapshot logic.

    • Augments the base selection (which applies .gitignore and default denials).
    • Explicit excludes take precedence over includes (i.e., excludes always win).
    • includes can bring back files ignored by .gitignore or default denials.
    • Reserved exclusions still apply: <stanPath>/diff is always excluded; <stanPath>/output is excluded unless explicitly included by combine mode at archive time.
    maxUndos?: number

    Maximum retained snapshot "undos" (history depth for snap undo/redo).

    patchOpenCommand?: string

    Command template to open modified files after a successful patch.

    scripts: ScriptMap
    stanPath: string