From 3f20f89bd514bed5000fc3bd6cc918121a8a7dbf Mon Sep 17 00:00:00 2001 From: qyh15 Date: Tue, 10 Nov 2026 18:57:54 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=AD=A3=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E5=AE=BF=E4=B8=BB=E9=AA=8C=E8=AF=81=E6=AD=A5=E9=AA=A4=EF=BC=88?= =?UTF-8?q?dsh.cmd=20=E8=B7=AF=E5=BE=84=E3=80=81junction=E3=80=81=E6=97=A0?= =?UTF-8?q?=E5=A4=B4=20Chrome=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/p2-p4/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/p2-p4/README.md b/docs/p2-p4/README.md index 159032b..28a76bd 100644 --- a/docs/p2-p4/README.md +++ b/docs/p2-p4/README.md @@ -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 被桌面端占用(单实例不会出现)。