tofu-box 1.2.2 → 1.2.3

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 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -5,11 +5,19 @@
5
5
  桌面端 / Web 端的插件管理页一次只能装一个包,本包把「六个一起装」压成一次。
6
6
 
7
7
  ```sh
8
- dsh plugin --profile <你的profile> add tofu-box
8
+ dsh plugin --profile <你的profile> add tofu-box --ignore-scripts
9
9
  ```
10
10
 
11
11
  桌面端:插件管理页的安装框里直接粘贴 `tofu-box` 即可。装完重启。
12
12
 
13
+ > **`--ignore-scripts` 不是可选项**:本包会拉入 `dsh-plugin-computer-use`,它依赖的原生模块 `koffi`
14
+ > 带一个 postinstall 脚本,pnpm 10/11 默认不执行并直接报
15
+ > `[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: koffi`,安装随之中断。
16
+ > `koffi` 走预编译二进制(`@koromix/koffi-<平台>`),跳过脚本不影响功能。
17
+ > 用桌面端插件管理页安装并遇到该错误时,把该 profile 的 `pnpm-workspace.yaml` 里
18
+ > `allowBuilds.koffi` 改成 `false` 再重试;细节见
19
+ > [`dsh-plugin-computer-use`](https://www.npmjs.com/package/dsh-plugin-computer-use) 的同一小节。
20
+
13
21
  ## 装到的是什么
14
22
 
15
23
  | 子包 | 功能 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tofu-box",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "engines": { "dsh": ">=0.2.0-rc.2 <0.3.0-0" },
5
5
  "license": "MIT",
6
6
  "keywords": ["dsh-plugin", "deepseek-harness", "dsh", "tofu-box", "pack"],
@@ -14,7 +14,7 @@
14
14
  "dsh-plugin-model-tuning": "^3.0.1",
15
15
  "dsh-plugin-read-image-preview": "^1.7.1",
16
16
  "dsh-plugin-shell-selector": "^0.1.1",
17
- "dsh-plugin-computer-use": "^2.5.1",
17
+ "dsh-plugin-computer-use": "^2.5.2",
18
18
  "dsh-plugin-mcp-ui": "^1.0.4",
19
19
  "dsh-plugin-billing-card": "^0.3.0"
20
20
  },