Skip to main content

Module widget_access_handlers

Module widget_access_handlers 

Source
Expand description

The RPCs a sandboxed widget’s pane host makes for it (docs/specs/SPEC_USER_WIDGETS_AND_WIDGET_API_2026_10_09.md §6.3, §11): widgets.session when the pane opens, widgets.endsession when it closes, and widgets.call for each bridge method srv answers (storage, net, agents). Every call is checked here again against the session’s package and its grants (backend/widget_access.rs).

Structs§

WidgetCallReq
WidgetCallResult
WidgetEndSessionReq
WidgetSessionReq
WidgetSessionResult

Functions§

agent_rows 🔒
The user’s running agents on this machine, with whether each is busy.
call 🔒
packages 🔒
param 🔒
register
storage_changed 🔒
Tells the package’s panes, in every window, which key changed (never its value), so each can read it again.