08 - Native Capabilities
Tauri plugins expose system-level features with explicit permissions.
Common capabilities
| Capability | Typical use |
|---|---|
| Filesystem | Read/write project files |
| Dialog | Open/save folder/file pickers |
| Notification | Background alerts |
| Shell/process | Run trusted local tools |
| Clipboard | Copy/paste workflows |
Example workflow
- User chooses export path via dialog
- Frontend calls Rust export command
- Rust writes file and emits completion event
- Frontend shows notification
Safety rules
- Keep allowlists tight
- Validate all paths and command arguments
- Never expose unrestricted shell execution to untrusted input