You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Plugins/README.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ your-plugin/
89
89
|`type`| string | Yes | Plugin type (see below) |
90
90
|`hooks`| array | Yes | List of hooks the plugin uses |
91
91
|`fileTypes`| array | No | File extensions for document_parser type. When plugin is enabled, these extensions are automatically added to the file upload dialog. |
92
-
|`dependencies`| object | No |External JS libraries (name: CDN URL)|
92
+
|`dependencies`| object | No |JS/CSS libraries: CDN URL for remote, or `/api/plugins/{id}/lib/{filename}` for bundled lib. **Required for lib/ plugins when publishing to market** — list all lib files so they are downloaded during install.|
93
93
|`settings`| array | No | Plugin settings schema (for standard settings UI) |
94
94
|`customSettings`| boolean | No | Set to `true` for custom settings UI |
95
95
|`proxy`| array | No | External API services requiring API keys |
@@ -378,7 +378,7 @@ For complex plugins that need full control over settings UI, use `customSettings
378
378
379
379
### CSS Variables and Theming
380
380
381
-
ChatRaw v2.1.1+ uses an HSL-based color token system. All CSS variables automatically adapt to light/dark themes via `[data-theme="dark"]`. Use these variables in your plugin UI for consistent styling.
381
+
ChatRaw v2.1.2+ uses an HSL-based color token system. All CSS variables automatically adapt to light/dark themes via `[data-theme="dark"]`. Use these variables in your plugin UI for consistent styling.
382
382
383
383
#### Color Variables
384
384
@@ -718,6 +718,16 @@ To distribute your plugin:
718
718
719
719
For plugins that need to work completely offline, you can bundle dependencies in the `lib/` directory.
720
720
721
+
**Important for plugin market**: If your plugin uses `lib/` files and will be installed from the market (GitHub URL), you **must** declare them in manifest `dependencies` using the format `/api/plugins/{plugin_id}/lib/{filename}`. Otherwise users get 404/MIME errors. Example:
Docker images are published to **Docker Hub** and **GitHub Container Registry**. To get the **latest** image (not a cached old one), always run `docker pull` with the tag you want before creating the container. Use `:latest` for the current release, or a version tag (e.g. `v2.1.1`) from [Releases](https://github.com/massif-01/ChatRaw/releases) for a fixed version.
142
+
Docker images are published to **Docker Hub** and **GitHub Container Registry**. To get the **latest** image (not a cached old one), always run `docker pull` with the tag you want before creating the container. Use `:latest` for the current release, or a version tag (e.g. `v2.1.2`) from [Releases](https://github.com/massif-01/ChatRaw/releases) for a fixed version.
143
143
144
144
**Supported platforms**: linux/amd64 (Intel/AMD), linux/arm64 (Apple Silicon, Raspberry Pi 4/5).
0 commit comments