minca
ApiSchemasInterfaces

Interface: RunAutomationsOptions

Defined in: packages/core/src/schemas/automations.ts:505

Extended by

Properties

PropertyModifierTypeDescriptionDefined 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?readonlybooleanA bot, running as an account of its own: nothing it writes sets an automation offpackages/core/src/schemas/automations.ts:507
busy?readonlySet<string>Records being acted on now, shared across calls so a second look leaves them alonepackages/core/src/schemas/automations.ts:515
claimMs?readonlynumberHow 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?readonlyAutomationNotifierShows a notification. Without it, a notify automation's run says nothing could.packages/core/src/schemas/automations.ts:509
onRun?readonly(trigger, run) => voidEach time an automation actedpackages/core/src/schemas/automations.ts:523
title?readonly(record) => stringWhat a record is called, for {title}packages/core/src/schemas/automations.ts:513

On this page