DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
docs(readme): document preset plugin list JSON format
hairyff9726bfbddf9
diff --git a/src-tauri/resources/README.md b/src-tauri/resources/README.mdindex 4f1dae62..d7399027 100644--- a/src-tauri/resources/README.md+++ b/src-tauri/resources/README.md@@ -14,3 +14,38 @@ directory (the Tauri app-data dir for identifier- `.store.dat` — desktop settings (port, auto-start, language, etc.)No manual Node.js or pnpm installation is required.++## Preset plugins — `preset-plugins.json`++The first-run wizard / sidebar preset list is driven by `preset-plugins.json`+(loaded at runtime by `src-tauri/src/service/plugin/mod.rs` — **no Rust code+change needed to add a preset**). To propose a new preset plugin, open a PR+that adds one entry to the JSON array:++```json+{+ "id": "npm-package-name",+ "spec": "npm-package-name | github:owner/repo",+ "name": "Display name",+ "description": "English description. · 中文描述",+ "repoUrl": "https://github.com/owner/repo",+ "recommended": true,+ "fix": false,+ "winOnly": false+}+```++| Field | Required | Meaning |+| ------------- | -------- | ----------------------------------------------------------------------- |+| `id` | yes | Unique front-end key; must be a legal npm dependency name |+| `spec` | yes | Dependency form passed to `dsh plugin add` (npm name or `github:owner/repo`) |+| `name` | yes | Display name |+| `description` | yes | Shown in the wizard; bilingual (`en. · 中文`) is encouraged |+| `repoUrl` | yes | Repository page, opened via the "open repo" button |+| `recommended` | no | Green "recommended" chip, checked by default (defaults to `false`) |+| `fix` | no | Yellow "fix" chip, checked by default — reserved for Windows minimal-mode fixes (defaults to `false`) |+| `winOnly` | no | Only listed on Windows (defaults to `false`) |++`id` must be unique across the file. The plugin itself is **not** vendored into+this repository — it is installed on the user's machine from `spec` at setup+time, so the PR only needs to add the JSON entry.\ No newline at end of file