PowerKeys scripts run in a deny-by-default sandbox. A function tagged
@requires <capability> throws Error("Permission denied: <capability>")
until that capability is granted in the script's Permissions editor.
@requires network additionally requires the request host in the script's
host allowlist, or the "*" wildcard. Functions without @requires do
not need a capability grant.
PowerKeys scripts run in a deny-by-default sandbox. A function tagged
@requires <capability>throwsError("Permission denied: <capability>")until that capability is granted in the script's Permissions editor.@requires networkadditionally requires the request host in the script's host allowlist, or the"*"wildcard. Functions without@requiresdo not need a capability grant.