Root cause of the visual split:
1. Icon system mismatch: apes used react-icons (FiCpu/FiGrid/FiUser,
static 14px ReactNode) while native builtins use DSH's Icon*16
components (function form, host-controlled size). Two different
icon libraries → inconsistent visual style.
2. Order 901-903 pushed apes tabs far after native builtins (10-35),
creating two visually separate groups in the tab strip.
Fix:
- icon: react-icons Fi* → @deepseek-ai/dsh-client-ui-primitives
Icon*16 (function form, same as builtins):
agents → IconAgentPresetOutline16
apps → IconGaugeOutline16
profile → IconUserOutline16
- order: 901/902/903 → 40/45/50 (immediately after native builtins)
- SIDEBAR_SERVICE_VERSION + dsh.plugin.json version → 1.1.0
(lockstep with package.json, required by manifest tests)
Gate: typecheck ✓ / build ✓ / test 119 files · 1249 passed · 9 skipped · 0 failed ✓
17 lines
455 B
JSON
17 lines
455 B
JSON
{
|
|
"id": "dsh-external/dsh-apes-sidebar",
|
|
"version": "1.1.0",
|
|
"main": "./lib/index.js",
|
|
"description": "VSCode 风格右侧侧边栏:文件资源管理器 / 编辑器 / 终端 / Git / 浏览器,按会话隔离。暴露服务供其他插件注册侧边栏页面和文件预览器",
|
|
"engines": {
|
|
"dsh": ">=0.1.2-rc.1"
|
|
},
|
|
"contributes": {
|
|
"tools": [],
|
|
"skills": []
|
|
},
|
|
"client": {
|
|
"main": "./lib/client-registry.js"
|
|
}
|
|
}
|