minca

Interface: RunAutomationsOptions

Defined in: packages/std/src/automations.ts:447

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

On this page