AI Disclosure: This page was generated by an LLM and may contain inaccuracies. Hand-crafted documentation will be implemented over time on the road to 1.0
Work with Phials
The Plugin API gives activated plugins a typed, permission-aware way to work with Phials and the user’s files. Prefer these supported services over host internals or platform-specific assumptions.
- Work with files and folders covers paths, directory choices, text-file revisions, mutations, watches, opening, and revealing.
- Use app and Explorer context explains runtime API scopes, pane context, read-only app settings, and approved host commands.
- Store plugin data helps you choose among settings, key-value storage, and a plugin-owned database.
- Respond to events covers supported Phials events, plugin-owned events, subscriptions, and asynchronous handlers.
- Show dialogs and notifications covers confirmations, prompts, choices, alerts, and non-blocking feedback.
Each permission-gated operation links to the exact requirement in the manifest and permissions reference.