DSH 市场(dsh-community-market)预览硬拒依赖字段出现 'cordis' (dependencies/peerDependencies/optionalDependencies 任一字段、 optional 均无效),导致 dshfind/1024Store 目录拿不到 repository_backlink 验证目标,点击安装报 "This catalog item has no verified install target"。 - package.json: 删除 cordis peer + peerDependenciesMeta;版本 0.15.2 - context-types.ts: Context 基底改 @deepseek-ai/cordis,结构服务面改 交集(避免 DS host/client 对同一成员类型不同导致的 TS2717 merge 冲突),仅保留 betterSidebar 的 module augmentation;删除 declare module 'cordis' - client/index.tsx: 4 处 effect 体失败分支改返回 no-op disposer (vendored cordis effect 契约拒绝 undefined 形状) - 新增 tests/market-manifest.spec.ts:无 cordis 依赖字段、打包产物 无生命周期脚本、bundle patch 安全路径、仓库身份、精确稳定版本 - 消费者检查扩展:@deepseek-ai/cordis 路径的 Context augmentation 断言;文档示例同步迁移
17 lines
453 B
JSON
17 lines
453 B
JSON
{
|
|
"id": "dsh-external/dsh-better-sidebar",
|
|
"version": "0.15.2",
|
|
"main": "./lib/index.js",
|
|
"description": "VSCode 风格右侧侧边栏:文件资源管理器 / 编辑器 / 终端 / Git / 浏览器,按会话隔离。暴露服务供其他插件注册侧边栏页面和文件预览器",
|
|
"engines": {
|
|
"dsh": ">=0.0.1"
|
|
},
|
|
"contributes": {
|
|
"tools": [],
|
|
"skills": []
|
|
},
|
|
"client": {
|
|
"main": "./lib/client-registry.js"
|
|
}
|
|
}
|