tofu-box 1.2.0 → 1.2.1

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,6 @@
1
1
  {
2
2
  "name": "tofu-box",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "license": "MIT",
5
5
  "keywords": ["dsh-plugin", "deepseek-harness", "dsh", "tofu-box", "pack"],
6
6
  "publishConfig": { "registry": "https://registry.npmjs.org" },
@@ -15,7 +15,7 @@
15
15
  "dsh-plugin-shell-selector": "^0.1.0",
16
16
  "dsh-plugin-computer-use": "^2.5.0",
17
17
  "dsh-plugin-mcp-ui": "^1.0.3",
18
- "dsh-plugin-billing-card": "^0.1.0"
18
+ "dsh-plugin-billing-card": "^0.2.0"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "@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: