feat(diag): 增加现场诊断上报通道 (v0.5.3-local.15)
内嵌视图(DS Bot 等)没有 DevTools,无法读取插件运行现场。新增: - 服务端 /api/worktable/diag(需鉴权):把客户端上报的 JSON 追加到 <DSH_HOME>/logs/worktable-diag.log - 客户端 apply() 在 1.5s/5s 各上报一次:href、__ModuleLoader__ 类型、 style[data-dsh-plugin] 数量、.dsh-wt_section/.dsh-wt_edgeStrip 数量、 sidebar/overlayHost 是否存在、body 子元素数、窗口宽度、最近 5 条 window 错误 用途:确认 DS Bot 视图里插件 client 是否加载、哪个座位渲染,据此再修复。 验证:npm run pack 全绿,双资产同源 aafb7ab2…。
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "dsh-worktable",
|
||||
"description": "工作台 Worktable:DeepSeek Harness 侧边栏的 agent 级项目容器(应用抽屉)",
|
||||
"version": "0.5.3-local.14",
|
||||
"version": "0.5.3-local.15",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Aisland-SJL/dsh-worktable.git",
|
||||
|
||||
Reference in New Issue
Block a user