From c32b2605d52621ff7abf3f07293c80e12886fdf4 Mon Sep 17 00:00:00 2001 From: qyh15 Date: Tue, 10 Nov 2026 17:55:21 +0800 Subject: [PATCH] =?UTF-8?q?docs(p5):=20=E8=AE=B0=E5=BD=95=E4=B8=B4?= =?UTF-8?q?=E6=97=B6=E5=AE=BF=E4=B8=BB=E4=B8=8A=20/sansheng/state=20?= =?UTF-8?q?=E4=B8=8E=E5=AE=A2=E6=88=B7=E7=AB=AF=20bundle=20=E7=9A=84?= =?UTF-8?q?=E5=AE=9E=E6=B5=8B=E8=AF=81=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/p5/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/p5/README.md b/docs/p5/README.md index 66fe7fa..390ffd0 100644 --- a/docs/p5/README.md +++ b/docs/p5/README.md @@ -27,6 +27,18 @@ - DS Bot 页面自绘右抽屉,与宿主右栏互斥(后开者占位)。若"常驻三卡"体验不足,才启用 M-04: 给固定 SHA 的 `ds-bot` 补丁,在 `conversation` 组加一个常驻 cell。当前不做。 +## 宿主实测(2026-11-10,临时 profile:2599) + +在不动桌面 profile 的前提下,用复制出来的 `dbg` profile 起了一个真宿主,验证了三件事: + +1. `GET /sansheng/state` → **200**,返回「示例项目」的三角色、群名、模型与 `roomExists:true`(服务端路由注册成功)。 +2. 首页 `__DSH_BOOT__` 的 entries 里有本插件: + `{"id":"dsh-sansheng-sansheng","url":"plugins/??dsh-sansheng-sansheng/client.js&rev=…","inject":["@deepseek-ai/dsh-client-ui-conversation","@deepseek-ai/dsh-client-ui-primitives"]}` + —— 说明 `package.json` 的 `dsh.client` + `exports["./client"]` 被宿主正确识别。 +3. 用同一 URL 取客户端 bundle → **200 / 12645 字节**,内容含 `ss-empty`、`dsh.sansheng.activeProject` 等本插件标识,证明宿主确实把这个文件发给浏览器(不是只有清单条目)。 + +临时实例已关闭并删除;desktop profile 复核仍为 38 个 bundle、909 行 / 45 个补丁块、bili 门禁启用,`node_modules` 398 项未动。 + ## 验证 1. 重启 DSH,打开任意会话,点右上「角色」。