@karmaniverous/jeeves-runner
    Preparing search index...

    Interface ExecutionOptions

    Options for executing a job script.

    interface ExecutionOptions {
        commandResolver?: (script: string) => ResolvedCommand;
        dbPath: string;
        jobId: string;
        runId: number;
        runners?: Record<string, string>;
        script: string;
        sourceType?: "path" | "inline";
        timeoutMs?: number;
    }
    Index

    Properties

    commandResolver?: (script: string) => ResolvedCommand

    Optional custom command resolver (for extensibility).

    dbPath: string

    Path to the SQLite database for job state access.

    jobId: string

    Job identifier (passed as JR_JOB_ID env var).

    runId: number

    Run identifier (passed as JR_RUN_ID env var).

    runners?: Record<string, string>

    Custom command runners keyed by file extension (e.g. ".ts": "node /path/to/tsx/cli.mjs").

    script: string

    Path to the script file to execute.

    sourceType?: "path" | "inline"

    Source type: 'path' uses script as file path, 'inline' writes script content to a temp file.

    timeoutMs?: number

    Optional execution timeout in milliseconds.