List the folder grant, terminal, and plugin service modules in the host reference
This commit is contained in:
+6
-2
@@ -201,7 +201,9 @@ The other windows load every enabled plugin. A smaller command set for them woul
|
||||
| --- | --- |
|
||||
| `src-tauri/src/plugins.rs` | Package checks, discovery, installation, updates, persistence, removal, leases, settings, and assets |
|
||||
| `src-tauri/src/plugin_sources.rs` | Gitea link parsing and release downloads |
|
||||
| `src-tauri/src/backgrounds.rs` | Background folder and image commands |
|
||||
| `src-tauri/src/backgrounds.rs` | Background folder and image commands. Deprecated for plugins: use folder grants |
|
||||
| `src-tauri/src/folders.rs` | Folder grants for `api.files`: the picker, stored grants, listing, reads, and settings files beside the images |
|
||||
| `src-tauri/src/pty.rs` | Terminal sessions for `api.pty`. A session with an IPC channel gets raw output bytes; a session without one gets the older window events |
|
||||
| `src/lib/plugins/sdk.ts` | The public package API types |
|
||||
| `src/lib/plugins/externalSession.ts` | Activation, API checks, contributions, mounts, and shutdown |
|
||||
| `src/lib/plugins/external.ts` | Native state sync, module loading, scans, views, tabs, and document types |
|
||||
@@ -211,6 +213,8 @@ The other windows load every enabled plugin. A smaller command set for them woul
|
||||
| `src/lib/plugins/PluginSettings.svelte` | Plugin configuration pages in Settings |
|
||||
| `src/lib/plugins/PluginTools.svelte` / `PluginEditor.svelte` | Dialog views and editor views |
|
||||
| `src/lib/plugins/backgrounds.ts` | Background frames |
|
||||
| `src/lib/plugins/nativeServices.ts` | The host side of `api.pty` and `api.files`. It binds the plugin ID; the plugin never sends it |
|
||||
| `src/lib/plugins/services.ts` | `api.services`: services that one plugin offers to another in the same window |
|
||||
| `src/lib/completion/` | The [completion API](completion.md) |
|
||||
| `scripts/packagePlugin.mjs` | The packager for plugin authors |
|
||||
|
||||
@@ -225,7 +229,7 @@ To make it without a release ZIP, run `node scripts/build.mjs --no-package` in t
|
||||
Unit tests:
|
||||
|
||||
```powershell
|
||||
node --experimental-strip-types --test tests/unit/plugins/plugins.spec.ts tests/unit/plugins/externalPlugins.spec.ts tests/unit/plugins/pluginPackaging.spec.ts tests/unit/plugins/pluginHostExtensions.spec.ts tests/unit/plugins/pluginDocuments.spec.ts tests/unit/plugins/pluginAccess.spec.ts tests/unit/plugins/completion.spec.ts tests/unit/plugins/windowCapabilities.spec.ts tests/unit/theme/backgrounds.spec.ts
|
||||
node --experimental-strip-types --test tests/unit/plugins/plugins.spec.ts tests/unit/plugins/externalPlugins.spec.ts tests/unit/plugins/pluginPackaging.spec.ts tests/unit/plugins/pluginHostExtensions.spec.ts tests/unit/plugins/pluginDocuments.spec.ts tests/unit/plugins/pluginAccess.spec.ts tests/unit/plugins/completion.spec.ts tests/unit/plugins/windowCapabilities.spec.ts tests/unit/plugins/pluginNativeApis.spec.ts tests/unit/theme/backgrounds.spec.ts
|
||||
```
|
||||
|
||||
Native tests use real temporary files and archives:
|
||||
|
||||
Reference in New Issue
Block a user