Variable: StartedEventSchema
constStartedEventSchema:ZodObject<{content:ZodString;conversationId:ZodOptional<ZodString>;messageId:ZodOptional<ZodString>;spaceId:ZodString;type:ZodLiteral<"started">; },$strip>
Mastra-only lifecycle event: the Genie tool invocation started.
Emitted immediately when the calling agent invokes the Genie
tool, before any inner agent / wire activity, so the UI can
pop a “Thinking…” pill the instant the model decides to
delegate. conversationId / messageId are absent on this
first emit (no Genie round-trip yet). Field names are
camelCase (vs the snake_case wire events) to mirror the
Genie agent’s own internal data plumbing.