Dispatch with job-side Slack I/O. Default: lib/worker-slack's dispatchWithSlack.
Dispatch a worker with job-side Slack I/O.
Base TASK text.
Runner dispatch options (jobId, thinking, timeout, …).
Reads and allowed post targets (validated here).
OptionalaccountId?: stringGateway Slack account id (multi-account gateways, e.g. <account-id>).
Optionalposts?: { editTs?: string[]; pin?: boolean; purpose: string; target: string }[]Targets the worker may post to. Each normalized target may appear
once: aliases (C… vs channel:C…) would otherwise overwrite each
other's editTs/pin permissions order-dependently.
Optionalreads?: { label: string; limit?: number; target: string; threadTs?: string }[]Reads made before dispatch.
Optionalflags: dryRun / printTask (lib/dispatcher-flags), or raw
arguments to read them from (default: process.argv).
The run result.
Logs the [skip] line and the previews.
The current time, for the date context.
Dispatch without Slack. Default: jeeves-runner's runDispatcher with core's spawn-worker.
OptionalrunHow this run was started. Default: runModeOf the process environment.
Collaborators of dispatchTaskFile, injectable for tests.