actions/protocol.ts view source
readonly ({ method: string; initiator: "frontend" | "backend" | "both"; side_effects: boolean; input: ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>; output: ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>; ... 6 more ...; rate_limit?: "both" | ... 2 more ... | undefined; } | { ...; } ... Canonical protocol specs for ActionRegistry construction on the
frontend. Spread before consumer-owned specs so dispatcher-owned methods
are present in the lookup map even though codegen excludes them from the
generated action_specs array:
new ActionRegistry([...protocol_action_specs, ...action_specs])Derived from protocol_actions so a future protocol action lands in one place — the two arrays cannot drift.