收起态 rail 原先把控制室、所有项目、所有快捷方式、所有布局四类全平铺, 且 railBox 是 flex-wrap 无上限、无滚动 —— 项目一多就把侧栏堆成一长列图标。 - railItems 只平铺前 RAIL_MAX(8) 个,其余进「⋯」溢出菜单 - 溢出菜单贴右侧浮层,可滚动(max-height 60vh/420px),点条目后自动收起 - 控制室始终在第一位(唯一固定入口),被挤出者按原顺序进菜单 - .dsh-wt_rail 补 position:relative 作为浮层定位基准 - locales 新增 rail.more(zh/en) - 版本 0.5.3-local.1 -> 0.5.3-local.2 验证:build 通过;client-factory-gate 10/10;7 个兼容回归 105/105; release-prep 全过(含真实 Chromium split margin 5 场景、sidebar popup、 split anchor dom 14 场景、独立安装 import 断言)
90 lines
2.6 KiB
JSON
90 lines
2.6 KiB
JSON
{
|
||
"name": "dsh-worktable",
|
||
"description": "工作台 Worktable:DeepSeek Harness 侧边栏的 agent 级项目容器(应用抽屉)",
|
||
"version": "0.5.3-local.2",
|
||
"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"
|
||
}
|
||
}
|