docs: document desktop DSH profile install
This commit is contained in:
@@ -25,14 +25,27 @@ Component-specific installation and development instructions live in each direct
|
||||
|
||||
## Install into DSH
|
||||
|
||||
Build the DSH package, then install its local profile bundle into the Web profile:
|
||||
Build the DSH package first:
|
||||
|
||||
```powershell
|
||||
pnpm --filter ./dsh-plugin build
|
||||
```
|
||||
|
||||
For a normal CLI profile, install the local bundle into the default Web profile:
|
||||
|
||||
```powershell
|
||||
dsh plugin --profile web add -w F:\dsh-plugin-coop-with-vs\dsh-plugin
|
||||
```
|
||||
|
||||
The package's `cordis.patch.yml` inserts its own shared Host/Client row. Restart `dsh web` after the first install. During development, run the DSH package watcher and the Harness `pnpm run dev:web` watcher when Client HMR is required.
|
||||
The packaged DeepSeek Harness desktop app uses an isolated `DSH_HOME` below its Electron user-data directory. Set that path for the install command so the desktop sidecar, rather than only the default CLI profile, receives the bundle:
|
||||
|
||||
```powershell
|
||||
$env:DSH_HOME = "$env:APPDATA\deepseek-harness-desktop\dsh"
|
||||
$DshCli = 'F:\deepseek-harness-desktop\.artifacts\windows-electron\win-unpacked\resources\runtime\app\node_modules\@deepseek-ai\dsh\lib\bin.js'
|
||||
node $DshCli plugin --profile web add -w 'F:\dsh-plugin-coop-with-vs\dsh-plugin'
|
||||
```
|
||||
|
||||
The package's `cordis.patch.yml` inserts its own shared Host/Client row. Fully quit and restart the matching DSH process after the first install. During development, run the DSH package watcher and the Harness `pnpm run dev:web` watcher when Client HMR is required.
|
||||
|
||||
Install the generated VS Code `.vsix` and Visual Studio `.vsix` from their component output directories. Once either IDE companion is active, type `@` in the DSH composer and select from the `IDE open files` group.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user