ApiSchemasInterfaces
Interface: RunAutomationsOptions
Defined in: packages/core/src/schemas/automations.ts:505
Extended by
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
ask? | readonly | (trigger) => Promise<Pick<{ at: string; did: string; made?: string; ok: boolean; }, "did" | "ok">> | Does what an automation asks an agent. Without it, automations that ask are left to a runner that can. | packages/core/src/schemas/automations.ts:511 |
bot? | readonly | boolean | A bot, running as an account of its own: nothing it writes sets an automation off | packages/core/src/schemas/automations.ts:507 |
busy? | readonly | Set<string> | Records being acted on now, shared across calls so a second look leaves them alone | packages/core/src/schemas/automations.ts:515 |
claimMs? | readonly | number | How long to wait after claiming a record before acting, to hear whether a device of the same account claimed it too; the earlier claim acts and the later steps back. 0, the default, doesn't wait. | packages/core/src/schemas/automations.ts:521 |
notify? | readonly | AutomationNotifier | Shows a notification. Without it, a notify automation's run says nothing could. | packages/core/src/schemas/automations.ts:509 |
onRun? | readonly | (trigger, run) => void | Each time an automation acted | packages/core/src/schemas/automations.ts:523 |
title? | readonly | (record) => string | What a record is called, for {title} | packages/core/src/schemas/automations.ts:513 |