tofu-box 1.2.0 → 1.2.2

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 CHANGED
@@ -19,7 +19,7 @@ dsh plugin --profile <你的profile> add tofu-box
19
19
  | dsh-plugin-shell-selector | 「设置 → Shell」选择 AI 用的 shell |
20
20
  | dsh-plugin-computer-use | 13 个 `computer_*` 桌面操作工具 |
21
21
  | dsh-plugin-mcp-ui | 「设置 → MCP 服务器」管理页 |
22
- | dsh-plugin-billing-card | 输入框下方的实时 token 用量与费用卡片(DeepSeek 官方峰谷价,可配置扩展) |
22
+ | dsh-plugin-billing-card | 输入框下方的实时费用卡片(DeepSeek 官方峰谷价 + 搜索/抓取按次计费,可配置扩展) |
23
23
 
24
24
  各功能的说明、已知限制与兼容性见仓库
25
25
  [README](https://github.com/tofu-zyc/dsh-plugin-tofu-box#中文)。
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "tofu-box",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
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.0",
14
- "dsh-plugin-read-image-preview": "^1.7.0",
15
- "dsh-plugin-shell-selector": "^0.1.0",
16
- "dsh-plugin-computer-use": "^2.5.0",
17
- "dsh-plugin-mcp-ui": "^1.0.3",
18
- "dsh-plugin-billing-card": "^0.1.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.1",
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",
@@ -7,8 +7,8 @@
7
7
  # activity/usage pills, not in place of them).
8
8
  #
9
9
  # Tunables live in the row config and survive upgrades; see README.md for the
10
- # `currency`, `pricing`, and `peak` fields. Override the whole config of this
11
- # row from the profile's cordis.patch.yml:
10
+ # `currency`, `pricing`, `peak`, and `search` fields. Override the whole config
11
+ # of this row from the profile's cordis.patch.yml:
12
12
  #
13
13
  # - id: billing-card
14
14
  # config:
@@ -18,6 +18,10 @@
18
18
  # inputPerM: 1
19
19
  # cacheReadPerM: 0.02
20
20
  # outputPerM: 4
21
+ # search:
22
+ # perRequest: 0.005 # CNY per successful Search / Fetch request
23
+ # searchFreeUntil: 2026-10-31T16:00:00.000Z # or null when billed already
24
+ # trackFetch: true # count direct Fetch API calls too
21
25
  #
22
26
  # The row below starts with no config so the built-in DeepSeek defaults apply.
23
27
  - insert: