@kenz1117/dsh-ui-usage-billing 1.0.7 → 1.0.9

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.
@@ -59,6 +59,12 @@ export interface UsageBillingConfig {
59
59
  /** `usage_stats` 工具注入的组合 base(默认 false:不注入);与设置命名空间同字段,
60
60
  * 作为用户设置(设置 Tab 开关)的组合兜底。该工具占用每次请求的上下文,coding 场景多在仪表盘查看。 */
61
61
  enableUsageStatsTool?: boolean;
62
+ /**
63
+ * 联网搜索请求(`web/deepseek-search-llm-request`,日志只有请求、无用量事件)
64
+ * 的单次费用估算(人民币元)。这类调用直连官方 api.deepseek.com,开放平台照常
65
+ * 计费但本地日志无 usage,按次估值计入今日/本月费用;默认 0.02 元/次,设 0 关闭。
66
+ */
67
+ searchCallEstimateCny?: number;
62
68
  }
63
69
  /**
64
70
  * Create the atomic file-backed durable-ledger store. The previous complete file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kenz1117/dsh-ui-usage-billing",
3
3
  "description": "Usage billing dashboard for DeepSeek Harness: sidebar cost metrics plus a full dashboard modal, priced from a current multi-provider catalog with real usage aggregated from session logs.",
4
- "version": "1.0.7",
4
+ "version": "1.0.9",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },