dsh-sub2api 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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.5
4
+
5
+ - Published to npm as `dsh-sub2api`, which is what DSH Desktop's community
6
+ market requires for one-click install. README now leads with the npm command
7
+ and documents that the market entry is installable.
8
+
3
9
  ## 0.1.4
4
10
 
5
11
  - Never create an ungrouped key. With more than one group on offer and no
package/README.md CHANGED
@@ -30,16 +30,24 @@
30
30
 
31
31
  ## 安装
32
32
 
33
- ### 普通 DSH(命令行 / Web)
33
+ ### npm(推荐)
34
34
 
35
35
  ```sh
36
36
  dsh plugin --profile web add dsh-sub2api
37
37
  ```
38
38
 
39
+ 也可以在 **插件 → 添加插件** 里直接搜 `dsh-sub2api`。
40
+
39
41
  重启后打开 **设置 → Sub2API**。
40
42
 
41
43
  > 每个 profile 的插件列表独立:终端界面还需单独装一次。
42
44
 
45
+ ### 从 GitHub 装(不依赖 npm)
46
+
47
+ ```sh
48
+ dsh plugin --profile web add github:pscly/dsh-sub2api#v0.1.4
49
+ ```
50
+
43
51
  ### DSH Desktop
44
52
 
45
53
  Desktop 用的就是官方 Harness 插件体系,本插件只依赖官方契约(`llm` / `webServer` / `tools` / `slots`),所以在桌面端原样可用。
@@ -68,7 +76,7 @@ dsh plugin --profile desktop add dsh-sub2api
68
76
 
69
77
  插件声明 `>=0.2.1-rc.2 <0.2.3`,并固定 `@dsh-ai-providers/openai-compatible@0.7.0`——这个版本同时接受 0.2.1 与 0.2.2 两个通道(0.7.3 只接受 0.2.2)。
70
78
 
71
- **从插件市场一键安装的前提**:Desktop 的市场只对满足四个条件的条目提供自动安装——单一 npm 包名、官方 registry 的 `latest` 返回同名稳定版本、包内声明 `dsh.bundle.patch`。本包满足后三项,**还差发布到 npm**。在发布之前,用上面的终端命令安装;GitHub 地址在市场里只会显示为「可浏览」,不会标成可自动安装。
79
+ **从插件市场一键安装**:Desktop 的市场只对满足四个条件的条目提供自动安装——单一 npm 包名、官方 registry 的 `latest` 返回同名稳定版本、包内声明 `dsh.bundle.patch`。本包已全部满足(`dsh-sub2api@0.1.4` 起在 npm 上),所以在市场里能直接点安装。
72
80
 
73
81
  ## 配置
74
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-sub2api",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Sub2API provider for DeepSeek Harness: zero-friction signup, auto-provisioned API key, upstream model sync, balance and recharge",
5
5
  "type": "module",
6
6
  "license": "GPL-3.0-only",