dsh-multi2api 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.
Files changed (2) hide show
  1. package/README.md +9 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -22,11 +22,18 @@
22
22
 
23
23
  ## 安装
24
24
 
25
+ 这是一个 DSH 插件,用 DSH 自带的插件命令装:
26
+
25
27
  ```bash
26
- npm install dsh-multi2api
28
+ dsh plugin --profile web install dsh-multi2api
27
29
  ```
28
30
 
29
- 装完后在 DSH 的插件管理里启用(或让 `dsh plugin install` 直接装)。
31
+ 把 `web` 换成你要装的 profile 名字(比如 `tui`、`headless`)。装完重启 DSH 就能用。
32
+
33
+ 也可以直接在 DSH 网页端左侧栏的 **插件(Plugins)** 页面里,点「添加插件」填包名 `dsh-multi2api` 安装。
34
+
35
+ > `npm install dsh-multi2api` 也能下载到这个包,但它只是把包装进普通 `node_modules`,
36
+ > 不会挂进你的 profile,还得自己改 `dsh.profile.bundles`,所以推荐用上面的命令。
30
37
 
31
38
  ## 使用
32
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-multi2api",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Multi2API 账号池:把多个 WorkBuddy 账号变成 DSH 里一个个互不干扰的模型。",
5
5
  "type": "module",
6
6
  "license": "MIT",