- Add the native feature runtime in src/lib/features/: the catalog, the switches, the first-start migration, the loader, and the feature sessions. - Add Settings → Features and the features settings section. - Add features_legacy. It reads the old plugin packages and changes nothing. - Move Git from the plugin into src/lib/features/git/, on host internals. - Remove api.git, the git contribution key, and the SDK Git types. - Add pnpm check:features. It fails when a feature module loads at start. - Update the tests, the menu inventory, the docs, and UI-055.
104 lines
6.3 KiB
Markdown
104 lines
6.3 KiB
Markdown
# Install and manage plugins
|
|
|
|
[RuneStone](../README.md) · [User guide](user-guide.md)
|
|
|
|
This guide explains how to install, enable, update, and remove optional plugins such as Terminal, PDF Viewer, and CSV Viewer.
|
|
|
|
Manage all plugins in **Settings → Plug-ins**. The built-in browser, table formulas, and Git are part of RuneStone and are not plugins. To turn Git off, see [Turn features on or off](user-guide.md#turn-features-on-or-off).
|
|
|
|
Plugins run with the full access of RuneStone, including your files. There is no permission sandbox, and the author field does not prove who published the plugin. Enable only code that you trust.
|
|
|
|
## Install a plugin
|
|
|
|
Get the release ZIP of the plugin, such as `runestone.terminal-<version>.zip`. Do not extract it.
|
|
|
|
1. Open **Settings → Plug-ins**.
|
|
2. Choose **Install plugin ZIP**.
|
|
3. Select one or more ZIP files. You can select up to 100 at a time.
|
|
4. Review the name, author, version, source, and destination of each plugin.
|
|
5. Choose **Install and enable**, or choose **Install, keep disabled**.
|
|
|
|
RuneStone copies each plugin into its application data folder and keeps your ZIP unchanged.
|
|
The review and installation do not run plugin code.
|
|
Each package installs or fails separately. Read the result for each package.
|
|
|
|
## Enable or disable a plugin
|
|
|
|
Use the switch beside the plugin. The status shows **Enabled** or **Disabled**.
|
|
Your choice applies to all windows and stays after a restart. A new installation of RuneStone starts with all plugins disabled.
|
|
|
|
Disabling a plugin stops it and keeps its files, settings, and workspace documents.
|
|
If RuneStone asks for a restart, close all RuneStone windows and open the app again.
|
|
|
|
## Update a plugin
|
|
|
|
1. Get the new release ZIP of the plugin.
|
|
2. Open **Settings → Plug-ins** and choose **Install plugin ZIP**.
|
|
3. Select the ZIP.
|
|
4. Review the current and new versions.
|
|
5. Choose **Apply packages**.
|
|
|
|
RuneStone matches the update to the installed plugin by its ID. The update keeps the plugin settings and its enabled or disabled state.
|
|
RuneStone stops the plugin in every window before it replaces the files.
|
|
If the dialog contains an update, it shows only **Apply packages**. New plugins in the same selection install disabled.
|
|
|
|
## Uninstall a plugin
|
|
|
|
1. Open **Settings → Plug-ins**.
|
|
2. Choose **Uninstall** (the trash button) beside the plugin.
|
|
3. Read the plugin details and the deletion message.
|
|
4. Choose **Uninstall and delete files**.
|
|
|
|
RuneStone stops the plugin in every window, then deletes its installed folder.
|
|
It keeps your downloaded ZIP, the plugin settings, and your workspace documents.
|
|
If you install the plugin again, it can use the kept settings. You choose again whether to enable it.
|
|
|
|
**Cancel** changes nothing. **Disable instead** stops the plugin and keeps it installed.
|
|
|
|
## Install from a Gitea link (experimental)
|
|
|
|
Use this method when the publisher gives you a Gitea repository with a plugin ZIP attached to a release.
|
|
RuneStone downloads only the attached ZIP. It does not clone or build the repository. Other Git hosts, such as GitHub and GitLab, do not work.
|
|
|
|
1. Open **Settings → Plug-ins** and choose **Install from Git link**.
|
|
2. In **Repository link**, enter the repository root link, such as `https://git.example.com/owner/repository`.
|
|
3. In **Release tag**, enter a tag. Leave it empty to get the latest stable release.
|
|
4. For a private repository, enter a Gitea **Access token** with read access to the repository.
|
|
5. Choose **Review release**.
|
|
6. Review the package. Choose **Install and enable**, **Install, keep disabled**, or, for an installed plugin, **Apply packages**.
|
|
|
|
To install a prerelease, enter its tag. The release must have exactly one plugin ZIP attached. Source archives and branch links do not work.
|
|
Use HTTPS for a remote server. HTTP sends the token and the package without encryption.
|
|
RuneStone uses the token for this request only and does not save it.
|
|
|
|
## Plugin guides
|
|
|
|
| Plugin | Guide |
|
|
| --- | --- |
|
|
| Terminal | [Terminal guide](guides/terminal.md) |
|
|
| Project Management | [Project Management guide](https://git.knottywyvern.com/kwyvern/RuneStone_PM/src/branch/main/project-management.md) |
|
|
| Background Slideshow | [Background Slideshow usage](https://git.knottywyvern.com/kwyvern/RuneStone_BG_Slideshow/src/branch/main/docs/usage.md) |
|
|
| Local Autocomplete | [Local Autocomplete trial guide](https://git.knottywyvern.com/kwyvern/RuneStone_LocalModel/src/branch/main/docs/trial-guide.md) |
|
|
| PDF Viewer | [PDF Viewer README](https://git.knottywyvern.com/kwyvern/RuneStone_PDFViewer/src/branch/master/README.md) |
|
|
| CSV Viewer | [CSV Viewer README](https://git.knottywyvern.com/kwyvern/RuneStone_CSV_Viewer/src/branch/main/README.md) |
|
|
|
|
## Plugin help
|
|
|
|
| Problem | Action |
|
|
| --- | --- |
|
|
| The ZIP fails review | Read the error. Get a complete release ZIP from the plugin author. |
|
|
| You have source code or a loose `plugin.json` | Get the release ZIP. You do not need to build a plugin. |
|
|
| The plugin is installed but does not work | Check its switch and any error message beside it. |
|
|
| The plugin files changed after you enabled it | Review the changed package, then enable the plugin again. |
|
|
| An update or uninstall reports a cleanup failure | Restart RuneStone, then do the action again. |
|
|
| The plugin shows **Removal incomplete** | Choose **Retry cleanup** to finish the removal. If the error names changed files, check that path first. |
|
|
| A Gitea release has no usable package | Check the release tag. Ask the publisher for a release with one attached plugin ZIP. |
|
|
| An old Browser plugin shows in the list | Uninstall it. The built-in browser keeps your profiles and bookmarks. |
|
|
| An old Git plugin shows in the list | Uninstall it. RuneStone includes Git, and the first start after the update kept the plugin state. See [Turn features on or off](user-guide.md#turn-features-on-or-off). |
|
|
| An old Table Formulas plugin shows in the list | Uninstall it. RuneStone does not run it. Your formulas stay in your files. See [Calculate with table formulas](guides/document-tools.md#calculate-with-table-formulas). |
|
|
|
|
To see the installed files of a plugin, choose **Show files** beside it. **Open plugins folder** opens the folder for all plugins.
|
|
When you report a plugin problem, include the plugin name and version, the RuneStone version, and the error text.
|
|
|
|
To create a plugin, see the [plugin development reference](plugin-development.md).
|