Plugin API and commands
Widgets can call the plugin registry or execute commands through actions. These are powerful; there is no per-call confirmation, and widgets containing them show a risk banner.PluginApi
Result:
{Results.PluginApi.Value}.
Requirements:
- The target plugin is loaded and registered the method.
- Permission checks are handled by the plugin.
- Missing plugin/method shows an error.
RunCommand
Results:
Commands execute through Tauri IPC, not an HTTP endpoint, so arbitrary web pages cannot call the local API directly.
Preview limits
The editor preview does not executeRunCommand / PluginApi; clicking shows a preview-disabled message. They only run in the real widget.
Argument binding
Arguments is JSON with {Inputs.*} / {Data.*} / {Results.*} interpolation:
- A string that is exactly one binding preserves its type.
- Mixed text becomes a string.
- Invalid JSON fails the action.
Security boundary
- Remote widgets can update silently and introduce these actions; only use trusted widgets.
PluginApimay expose file, process, and other capabilities.RunCommandexecutes local commands. The launcher developers are not responsible for risks caused by custom widgets.- Scripts cannot execute commands or call plugin APIs directly; they must be triggered by button/trigger actions.