Fix local link: peer packages invisible outside profile tree.

Path installs junction the checkout outside ~/.dsh/profiles/*/node_modules, so Node cannot see DSH peers; add link-dsh-peers scripts and document the one-time setup.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-04 22:25:30 +08:00
parent fd1a86ec2f
commit 13db99484f
5 changed files with 101 additions and 6 deletions

View file

@ -4,10 +4,13 @@
```powershell
cd D:\project\chatgpt\netxops
powershell -File .\scripts\link-dsh-peers.ps1
powershell -File .\scripts\link-preset.ps1
powershell -File .\scripts\set-netx-token.ps1 -Token (Get-Content D:\project\chatgpt\netx\data\auth\mcp_token -Raw).Trim()
```
`link-dsh-peers.ps1` is required for path/`link:` installs: Node resolves peers from the checkout realpath, not from the profile `node_modules`. Run it after the first successful `dsh` boot (so `~/.dsh/profiles/node_modules` exists).
From DeepSeekHarness (source):
```powershell