createWakeJobRunner
function createWakeJobRunner(runtime, opts): (job) => Promise<void>;Build the scheduler executor for wake jobs: runs the agent-initiated turn
and hands the produced parts to deliver (e.g. the messaging outbound
pipeline — which keeps the send window-safe). Compose with your own job
kinds: run: (job) => isWakeJob(job) ? runWake(job) : runMine(job).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
{ |
|
|
( |
|
|
( |
Returns
Section titled “Returns”(job) => Promise<void>