docs: 修正临时宿主验证步骤(dsh.cmd 路径、junction、无头 Chrome)
This commit is contained in:
parent
49cc5ab838
commit
3f20f89bd5
|
|
@ -51,9 +51,16 @@ cd sansheng && npm test # 56 tests
|
|||
用临时 profile 起实例(不动桌面端):
|
||||
|
||||
```sh
|
||||
dsh --profile dbg --port 2599 --no-open
|
||||
# dsh 不在 PATH 里,用桌面应用自带的 CLI(ELECTRON_RUN_AS_NODE,无窗口)
|
||||
DSH="/c/Users/qyh15/AppData/Local/Programs/DeepSeek Harness/resources/runtime/cli/bin/dsh.cmd"
|
||||
mkdir -p ~/.dsh/profiles/dbg
|
||||
cp ~/.dsh/profiles/desktop/{package.json,cordis.patch.yml,cordis.yml,pnpm-workspace.yaml} ~/.dsh/profiles/dbg/
|
||||
cmd //c mklink //J "$(cygpath -w ~/.dsh/profiles/dbg/node_modules)" "$(cygpath -w ~/.dsh/profiles/desktop/node_modules)"
|
||||
cmd //c "$DSH" --profile dbg --port 2599 --no-open
|
||||
curl "http://127.0.0.1:2599/sansheng/state" # 200 + 项目/角色 JSON
|
||||
```
|
||||
|
||||
客户端侧用无头 Chrome 抓 console(`playwright-core` 可从 `ds-bot` 的依赖里 `createRequire`),关注 `entry did not activate` 与各插件告警。用完删掉临时 profile 的 junction 与文件,桌面 profile 不受影响。
|
||||
|
||||
2026-11-10 实测:`示例项目` 返回三角色、群名、模型 `magpie/auto/deepseek-v4.1-flash`、`roomExists:true`。
|
||||
临时实例上唯一的告警是 task-board 的 ledger 被桌面端占用(单实例不会出现)。
|
||||
|
|
|
|||
Loading…
Reference in New Issue