Skip to main content

Module widget_requests

Module widget_requests 

Source
Expand description

Agents’ requests to install a widget, waiting for the user (docs/specs/SPEC_USER_WIDGETS_AND_WIDGET_API_2026_10_09.md §10).

WidgetInstall copies the package in (it then needs approval like any other) and asks here. The UI shows each request as a prompt; the user’s answer reaches srv only through the host’s approval route, which answers every request for that version. An agent can ask; it can never answer.

Structs§

Requests
WidgetInstallRequest

Enums§

Answer

Constants§

MAX_PENDING 🔒
At most this many requests wait at once; the oldest goes first.

Functions§

requests