IntentProvideDecl
An intent capability the app provides — a request/response RPC or a fire-and-forget event.
Properties
Section titled “Properties”intent
Section titled “intent”intent: string;The intent name (e.g. customer.lookup).
optional kind?: "request" | "event";Whether the intent is a request/response or an event. Defaults to request when omitted.
payloadSchema?
Section titled “payloadSchema?”optional payloadSchema?: unknown;JSON Schema describing the invoke payload, for discovery and validation tooling.
requiredPermission?
Section titled “requiredPermission?”optional requiredPermission?: string;Inert: kept in the type but read by nothing — user authorization is enforced at the provider’s backend.
resultSchema?
Section titled “resultSchema?”optional resultSchema?: unknown;JSON Schema describing the result, for discovery and validation tooling.
version
Section titled “version”version: string;The intent version this app implements (e.g. 1.0).