@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

    Optional developer-mode switch to treat the current repo as the STAN dev module.

    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, default denials, and user excludes).
    • Overrides user excludes, .gitignore, and default denials.
    • Reserved exclusions still apply: <stanPath>/diff is always excluded; <stanPath>/output is excluded unless explicitly included by combine behavior 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