tofu-box 1.2.1 → 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.
- package/README.md +9 -1
- package/package.json +8 -7
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,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tofu-box",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
|
+
"engines": { "dsh": ">=0.2.0-rc.2 <0.3.0-0" },
|
|
4
5
|
"license": "MIT",
|
|
5
6
|
"keywords": ["dsh-plugin", "deepseek-harness", "dsh", "tofu-box", "pack"],
|
|
6
7
|
"publishConfig": { "registry": "https://registry.npmjs.org" },
|
|
@@ -10,12 +11,12 @@
|
|
|
10
11
|
"description": "TOFU BOX 伞包:一条命令装齐 tofu-zyc 的全套 dsh 插件(model-tuning、read-image-preview、shell-selector、computer-use、mcp-ui、billing-card)。本包不含代码,只做两件事:以 dependencies 拉入六个子包,以 patch 层注册它们的插件行——即 dsh-base 同款 bundle 模式。装本包或单装子包,二选一,不要混装。",
|
|
11
12
|
"type": "module",
|
|
12
13
|
"dependencies": {
|
|
13
|
-
"dsh-plugin-model-tuning": "^3.0.
|
|
14
|
-
"dsh-plugin-read-image-preview": "^1.7.
|
|
15
|
-
"dsh-plugin-shell-selector": "^0.1.
|
|
16
|
-
"dsh-plugin-computer-use": "^2.5.
|
|
17
|
-
"dsh-plugin-mcp-ui": "^1.0.
|
|
18
|
-
"dsh-plugin-billing-card": "^0.
|
|
14
|
+
"dsh-plugin-model-tuning": "^3.0.1",
|
|
15
|
+
"dsh-plugin-read-image-preview": "^1.7.1",
|
|
16
|
+
"dsh-plugin-shell-selector": "^0.1.1",
|
|
17
|
+
"dsh-plugin-computer-use": "^2.5.2",
|
|
18
|
+
"dsh-plugin-mcp-ui": "^1.0.4",
|
|
19
|
+
"dsh-plugin-billing-card": "^0.3.0"
|
|
19
20
|
},
|
|
20
21
|
"peerDependencies": {
|
|
21
22
|
"@deepseek-ai/dsh-tools": ">=0.1.6-alpha.1",
|