@lyk308/dsh-token-dashboard 0.1.5 → 0.1.6

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/cordis.patch.yml CHANGED
@@ -1,8 +1,7 @@
1
1
  # dsh-token-dashboard bundle patch
2
- # 作为社区插件层被 dsh plugin add 安装时,本文件插入插件行(host 半 = 包默认导出;
3
- # client 半 = dsh.client 标记扫描,注册到 settings.section 槽位,避免与 footer.action 冲突)。
4
- # 注意:不在此处写 config / !!js 表达式,避免 patch 解析失败导致插件被 DSH 回退剔除。
5
- # 运行参数由 host 半(lib/index.js)自行解析默认值。
2
+ # name MUST equal package.json's "name" (@lyk308/dsh-token-dashboard).
3
+ # Otherwise dsh-client-modules' nearestPackage skips this plugin's client half
4
+ # (the "用量看板" settings section never shows; the host half routes still work).
6
5
  - insert:
7
6
  - id: token-dashboard
8
- name: dsh-token-dashboard
7
+ name: "@lyk308/dsh-token-dashboard"
package/lib/client.js CHANGED
@@ -9,7 +9,7 @@
9
9
  * inside a children array. Wrapped in an ErrorBoundary.
10
10
  */
11
11
  window.__ModuleLoader__.load({
12
- id: "dsh-token-dashboard",
12
+ id: "@lyk308/dsh-token-dashboard",
13
13
  factory: (require) => {
14
14
  const module = { exports: {} };
15
15
  const exports = module.exports;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyk308/dsh-token-dashboard",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "DeepSeek Harness 实时看板:账户余额 + Token 使用量(按模型/工作区/缓存命中),本地读取会话日志 + DeepSeek /user/balance。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",