dsh-himarket 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -6,6 +6,18 @@
|
|
|
6
6
|
- **一键安装已发布的 Skill** → 落盘到 `~/.dsh/skills/`,装完即可用,无需重启
|
|
7
7
|
- **小白友好**:设置页一个「HiMarket」卡片 + 对话式入口(说「同步 HiMarket」「安装 xx 技能」即可)
|
|
8
8
|
|
|
9
|
+
## DeepSeek Harness 版本适配
|
|
10
|
+
|
|
11
|
+
本插件为**运行时宿主解析**设计:除 `@deepseek-ai/cordis`(peerDependencies,type-only)外,所有官方宿主能力(`@deepseek-ai/dsh-mcp-client` / `@deepseek-ai/dsh-tools` / `@deepseek-ai/dsh-skill-filesystem` / `@deepseek-ai/schemastery` 等)都在运行时经 `createRequire(ctx.baseUrl)` 从已安装的 DSH 宿主解析(`lib/index.js` 零静态外部 import),因此**天然兼容各 rc 宿主版本**,无需随宿主每日 rc 同步改码。
|
|
12
|
+
|
|
13
|
+
| 宿主包 | peer/dev 范围 | 引用方式 |
|
|
14
|
+
|---|---|---|
|
|
15
|
+
| `@deepseek-ai/cordis` | `^4.0.2` | `Context`(type-only) |
|
|
16
|
+
| `@deepseek-ai/schemastery` | `^3.18.2`(dev) | 仅构建/测试期 |
|
|
17
|
+
| 其余 `@deepseek-ai/dsh-*` | 无(运行时动态解析) | `importOfficial`/`requireOfficial` |
|
|
18
|
+
|
|
19
|
+
> **注意**:本插件的宿主兼容性取决于**实际安装的 dsh 宿主版本**及其提供的 `dsh-mcp-client` / `dsh-tools` / `dsh-skill-filesystem` / `schemastery`。若某个 dsh rc 改变了这些包的对外 API,可能出现运行时解析失败——此时请升级到下一个适配版本;`alpha`(如 `0.1.5-alpha.1`)为不稳定快照,仅记录/可尝试使用,出现问题优先反馈。
|
|
20
|
+
|
|
9
21
|
## 给同事(小白)用:三步
|
|
10
22
|
|
|
11
23
|
1. 打开 DSH Web → **设置 → HiMarket**。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-himarket",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "HiMarket bridge for DeepSeek Harness: sync subscribed MCP servers and install published Skills into DSH, with a beginner-friendly settings panel and chat tools",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
43
|
+
"@deepseek-ai/cordis": "^4.0.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
47
|
-
"@deepseek-ai/schemastery": "^3.18.
|
|
46
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
47
|
+
"@deepseek-ai/schemastery": "^3.18.2",
|
|
48
48
|
"@types/node": "^24.0.0",
|
|
49
49
|
"esbuild": "^0.28.2",
|
|
50
50
|
"typescript": "^5.9.0"
|