Files
dsh-worktable/01_content/package.json
wangheng b6986101ad fix(ui): 抬高宿主 overlay 层层级,细条不再被侧栏盖住 (v0.5.3-local.16)
诊断日志(<DSH_HOME>/logs/worktable-diag.log)显示:DS Bot 视图里
styles=1、sections=3、strips=1、overlayHost=true —— 细条在 DOM 里,只是看不见。

宿主 ui-layout 的 overlayLayer 样式为:
  { z-index: 20; pointer-events: none; position: absolute; inset: 0 }
我们的细条 z-index 再高也困在这个 z-index:20 的层内,与侧栏(ds-bot 左栏)
比较时被整体盖住。

修法:客户端在 apply 后把 [data-shell-overlay] 的 z-index 抬到 2147483000,
并做 300ms/1.5s 补偿与 3s 低频兜底(宿主重渲染会重建节点)。
overlay 内其它浮层(配额提示等)一并受益。

诊断同时补充 overlayZ 与 stripRect(left/top/w/h/z),便于复核。

验证:npm run pack 全绿,双资产同源 fd6af73a…。
2026-12-04 09:34:47 +08:00

90 lines
2.6 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"name": "dsh-worktable",
"description": "工作台 Worktable:DeepSeek Harness 侧边栏的 agent 级项目容器(应用抽屉)",
"version": "0.5.3-local.16",
"repository": {
"type": "git",
"url": "https://github.com/Aisland-SJL/dsh-worktable.git",
"directory": "01_content"
},
"engines": {
"node": ">=22",
"dsh": "0.2.0-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.5 || 0.2.2-alpha.2"
},
"license": "MIT",
"type": "module",
"main": "lib/index.js",
"exports": {
".": "./lib/index.js",
"./client": "./lib/client.js",
"./package.json": "./package.json"
},
"files": [
"lib/index.js",
"lib/client.js",
"cordis.patch.yml",
"dsh.plugin.json",
"README.md",
"LICENSE"
],
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
},
"client": {
"platform": "web",
"inject": [
"@deepseek-ai/dsh-client-ui-slots",
"@deepseek-ai/dsh-client-ui-primitives",
"@deepseek-ai/dsh-client-locale"
]
},
"compatibility": {
"dsh": "0.2.0-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.5 || 0.2.2-alpha.2",
"dshReleases": {
"0.2.0-rc.2": "compatible",
"0.2.1-rc.3": "compatible",
"0.2.1-rc.5": "compatible",
"0.2.2-alpha.2": "compatible"
}
}
},
"scripts": {
"build": "node build.mjs",
"check": "node --check lib/index.js && node --check lib/client.js",
"pack": "node release-prep.mjs",
"test:gate": "node client-factory-gate.test.mjs",
"test:sidebar": "node ../04_test/sidebar-popup.test.mjs",
"test:input": "node ../04_test/host-input.test.mjs",
"test:session": "node ../04_test/session-compat.test.mjs",
"test:details": "node ../04_test/session-details.test.mjs",
"test:update": "node ../04_test/update-check.test.mjs",
"test:transport": "node ../04_test/host-transport.test.mjs",
"test:widget": "node ../04_test/widget-mount.test.mjs",
"test:security": "node --test ../04_test/request-auth.test.mjs ../04_test/preview-files.test.mjs ../04_test/sandboxed-frame.test.mjs",
"verify:remote": "node verify-remote.mjs"
},
"peerDependencies": {
"@deepseek-ai/cordis": "*",
"@deepseek-ai/dsh-client-locale": "*",
"@deepseek-ai/dsh-host-webserver": "*"
},
"peerDependenciesMeta": {
"@deepseek-ai/cordis": {
"optional": true
},
"@deepseek-ai/dsh-host-webserver": {
"optional": true
},
"@deepseek-ai/dsh-client-locale": {
"optional": true
}
},
"devDependencies": {
"esbuild": "^0.25.0",
"highlight.js": "^11.12.0",
"markdown-it": "^15.0.0",
"xterm": "^5.3.0"
}
}