@karmaniverous/jeeves-scripts-core
    Preparing search index...

    Interface TaskFileDispatcherOptions

    interface TaskFileDispatcherOptions {
        args?: readonly string[];
        dateTimeZone?: Lazy<string>;
        flags?: Partial<ParsedArgs<{ dryRun: FlagSpec; printTask: FlagSpec }>>;
        jobId: string;
        label?: string;
        outputChannel?: string;
        runners?: Record<string, string>;
        scriptName: string;
        silo?: string;
        slack?: Lazy<
            {
                accountId?: string;
                posts?: {
                    editTs?: string[];
                    pin?: boolean;
                    purpose: string;
                    target: string;
                }[];
                reads?: {
                    label: string;
                    limit?: number;
                    target: string;
                    threadTs?: string;
                }[];
            },
        >;
        taskFile: string;
        template?: string;
        templateVars?: Lazy<Readonly<Record<string, string>>>;
        thinking?: "medium" | "low" | "high";
    }

    Hierarchy

    • DispatchOptions
      • TaskFileDispatcherOptions
    Index
    args?: readonly string[]

    The runnable's arguments (ctx.args), read for --print-task and --dry-run when flags is unset. Default: process.argv, for callers written before the flags were read from here.

    dateTimeZone?: Lazy<string>

    IANA time zone; when set, the task is prefixed with today's date in it.

    flags?: Partial<ParsedArgs<{ dryRun: FlagSpec; printTask: FlagSpec }>>

    The parsed dispatcher flags (ctx.flags of a job that declares flags: dispatcherFlags). Wins over args.

    jobId: string

    Job identifier.

    label?: string

    Optional session label.

    outputChannel?: string

    Output channel identifier for routing session results.

    runners?: Record<string, string>

    Custom command runners keyed by file extension (e.g. { ts: "<runner command>" }).

    scriptName: string

    Name for the [skip] line, e.g. acme/daily-briefing.

    silo?: string

    Data silo holding the task file. Default: the default silo.

    slack?: Lazy<
        {
            accountId?: string;
            posts?: {
                editTs?: string[];
                pin?: boolean;
                purpose: string;
                target: string;
            }[];
            reads?: {
                label: string;
                limit?: number;
                target: string;
                threadTs?: string;
            }[];
        },
    >

    Job-side Slack reads and allowed post targets (see lib/worker-slack).

    taskFile: string

    Task file path relative to the silo, e.g. briefing/TASK.md.

    template?: string

    Core TASK template used when the instance has no file at taskFile (Decision 75), e.g. BRIEFING_TEMPLATES.morning. Unset: a missing task file skips the run.

    templateVars?: Lazy<Readonly<Record<string, string>>>

    Values for the task's {{name}} placeholders (e.g. briefingVars).

    thinking?: "medium" | "low" | "high"

    Thinking level for the LLM session.