interaction/mini_program_interaction library

Classes

MiniProgramInteractionChannel
Optional process-local Android task transport. Each engine binds its own controller; the native relay forwards only to a focused foreground Activity. Standard embedded hosts can call the controller directly.
MiniProgramInteractionController
Provider-neutral foreground UI bridge. Owned by the host, never an artifact. No model, API key, server, per-action catalog or native plugin is required.
MiniProgramInteractionNode
Bounded, rendered information about one UI element. No action payloads, hidden state, credentials or backend configuration are included.
MiniProgramInteractionRequest
A request bound to one observation of one mounted mini-program instance.
MiniProgramInteractionResult
An execution acknowledgement plus a fresh observation. pending is not a promise of completion; observe again instead of replaying the interaction.
MiniProgramInteractionSnapshot
One replaceable observation; a new observation supersedes older UI details.
MiniProgramInteractionSurface
Opt-in boundary around one trusted, rendered mini-program subtree. MiniProgramHost installs this automatically when given a controller.

Enums

MiniProgramInteractionAction
Supported interactions with a live, foreground mini-program interface. These are UI operations, never arbitrary Mp actions or backend requests.