docs(p5): 记录临时宿主上 /sansheng/state 与客户端 bundle 的实测证据
This commit is contained in:
parent
d037f1ee57
commit
c32b2605d5
|
|
@ -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,打开任意会话,点右上「角色」。
|
||||
|
|
|
|||
Loading…
Reference in New Issue