文档:补充 macOS 桌面版安装示例

This commit is contained in:
yexi committed 2026-10-25 19:36:00 +08:00
1 parent e64a442127
commit ab63f682d8
3 files changed
+97 -10

No files matched your search

+32 -3
View File
@@ -6,7 +6,7 @@
The plugin stays lightweight: the existing switches enable or disable the rules as a whole, preserving DSH's interface layout, tool-calling protocols, Plan Mode, code execution (PTC), and subagent mechanics.
`0.2.4` fixes prompt registration conflicts in Minimal subagents with custom personas, missing native structured-output instructions, and overlapping settings requests that could overwrite a newer preview or clear the busy state too early. The prompt rules and existing switches remain unchanged. It supports DSH `0.2.1-rc.2` (`687f282e86`) with `engines.dsh` set to `>=0.2.0-rc.2 <0.2.2-0`, retaining installation support for desktop `0.2.0-rc.2`. For desktop, this update synchronizes the installed plugin only; the desktop UI is not operated or tested.
`0.2.4` fixes prompt registration conflicts in Minimal subagents with custom personas, missing native structured-output instructions, and overlapping settings requests that could overwrite a newer preview or clear the busy state too early. The prompt rules and existing switches remain unchanged. It supports DSH `0.2.1-rc.2` (`687f282e86`) with `engines.dsh` set to `>=0.2.0-rc.2 <0.2.2-0`, retaining installation support for desktop `0.2.0-rc.2`. The desktop app is supported on Windows and macOS.
The native model reasoning settings and plugin index do not replace this plugin's per-mode prompt assembly. Reasoning levels remain managed by the native model settings.
@@ -134,7 +134,7 @@ dsh plugin --profile web remove dsh-unrestricted
### Desktop App
For users running the official DeepSeek Harness desktop application.
For users running the official DeepSeek Harness desktop application on Windows or macOS.
> **Note**: The desktop app runs on an isolated `desktop` profile. Use the desktop app's bundled CLI binary rather than a global `dsh` command.
@@ -144,28 +144,57 @@ On Windows, the default path is:
%LOCALAPPDATA%\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd
```
On macOS, the default path is:
```text
/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh
```
If the app is installed elsewhere, replace the application path in the commands with its actual location.
#### 2. Install
1. Completely exit the desktop app.
2. Run in PowerShell or CMD:
2. Run the command for your operating system in a terminal.
**Windows (PowerShell):**
```powershell
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.4
```
**macOS (Terminal):**
```sh
"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add "github:yexi-by/dsh-unrestricted#v0.2.4"
```
3. Launch the desktop app and follow the activation steps below.
#### 3. Update
1. Completely exit the desktop app.
2. Reinstall with the new version:
**Windows (PowerShell):**
```powershell
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-unrestricted
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:yexi-by/dsh-unrestricted#<new-version>
```
**macOS (Terminal):**
```sh
"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop remove dsh-unrestricted
"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add "github:yexi-by/dsh-unrestricted#<new-version>"
```
3. Restart the desktop app.
#### 4. Uninstall
**Windows (PowerShell):**
```powershell
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-unrestricted
```
**macOS (Terminal):**
```sh
"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop remove dsh-unrestricted
```
---
### Local Source Install