OptionalcanOptionalcanWhether the registered schedule owner may persist to its fixed target.
OptionalconsultRun-cap seam for idle-thread wakes. Absent means wakes are unmetered.
OptionalcontentOptional model-visible content gate. FlowSafe supplies only trusted route identity plus Mastra's canonical escaped XML; the callback must return the opaque structural result and is never given a request body or storage row.
The per-thread agent whose public signal methods these routes drive. Built once per DO instance by the host (its model/memory/tools are the host's concern); these routes only need its identity and pubsub.
MUST be a runtime-driven durable agent for an idle wake. The host-provided
startIdleRun seam starts it through RunnerRuntime with a host-minted,
path-safe run id. Without either requirement, wake degrades to durable
persistence only when the principal may persist and the agent has memory;
otherwise the route returns persistence-forbidden or
memory-unavailable, and never escapes onto core's default execution
engine. Trusted notification dispatch supplies the persisted agent id;
other routes pass undefined.
OptionalresolveStorage-backed thread occupancy, including runs surviving DO eviction.
OptionalresolveDurable inbox used by the trusted due-notification dispatch route. Required
for non-owner /signal/notification ingestion, which returns 409 without it.
OptionalresolveThe thread's host-owned memory resourceId — part of core's (resourceId, threadId) signal key, so it MUST match whatever the loop registered under
or a send never finds the active run. Server-derived (a memory id is
TCB-only — never a client field); the host mints it from the authenticated
host. Absent ⇒ threadId-only keying (resourceId ''), which is consistent
within this DO but only interoperates with a loop that also omits it — the
binding expected by the registered durable run.
OptionalresolveTarget-side lease and receipt store for at-least-once schedule fires.
OptionalresolveRecover a stable schedule-wake run after its HTTP receipt was lost.
OptionalresolveResolve the canonical target bound to one prepared schedule fire.
OptionalserializeHost-shared target-thread critical section. Required with
resolveBlockingRun: the occupancy/principal check and signal action must
serialize with public agent start/resume routes.
OptionalstartRuntime-driven start seam. When absent, a requested wake degrades to a
durable persist when the principal may persist and the agent has memory;
otherwise the route answers persistence-forbidden or
memory-unavailable.
Whether this principal owns the thread and may persist future input. Its effect is route-dependent; see
persistenceForbiddenResponse().