pub(super) async fn handle_widgets_install(
__arg0: State<AppState>,
grant: Option<Extension<ContainerGrant>>,
__arg2: Json<InstallBody>,
) -> ResponseExpand description
POST /api/v1/widgets/install: copy the package in and, for a verified agent, file a
sensitive request to install it (answered at once with the request’s id; the agent is told as
it goes). Without a verified agent, ask the user and answer when they do (or when the wait
runs out, with the request left for them to answer later in Settings → Widgets).