dsh-token-use 0.1.0 → 0.1.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.en.md CHANGED
@@ -28,7 +28,8 @@ The most expensive cost is the one you cannot see — make it visible.
28
28
  ## Install
29
29
 
30
30
  ```sh
31
- dsh plugin --profile web add github:huangyuheng/dsh-token-use
31
+ dsh plugin --profile web add dsh-token-use
32
+ # or from source: dsh plugin --profile web add github:huangyuheng/dsh-token-use
32
33
  ```
33
34
 
34
35
  Restart `dsh web` afterwards. To install from an unpacked zip instead:
@@ -62,7 +63,7 @@ pnpm run build # regenerate client/client.js (= tree-shaken ECharts + cli
62
63
 
63
64
  `client/client.js` is a committed build artifact, so users install nothing and build nothing.
64
65
 
65
- npm metadata (`repository` / `files` / `LICENSE`) is ready but **publishing is deferred**: the plugin currently installs from GitHub (`dsh plugin --profile web add github:huangyuheng/dsh-token-use`). Run `npm publish` whenever that changes.
66
+ Published to npm as `dsh-token-use`; its `repository` field points back here, which is how the official market links the package and shows download counts. To cut a release: bump `version`, run `npm publish`, and users pick it up with `dsh plugin update` or the market's update button.
66
67
 
67
68
  ## Field definitions
68
69
 
package/README.md CHANGED
@@ -28,7 +28,8 @@ DeepSeek Harness 实时 Token 用量插件:安装后在 **设置 → Token 用
28
28
  ## 安装
29
29
 
30
30
  ```sh
31
- dsh plugin --profile web add github:huangyuheng/dsh-token-use
31
+ dsh plugin --profile web add dsh-token-use
32
+ # 或从源码安装:dsh plugin --profile web add github:huangyuheng/dsh-token-use
32
33
  ```
33
34
 
34
35
  重启 `dsh web` 后生效。下载 zip 解压后的本地目录安装:
@@ -62,7 +63,7 @@ pnpm run build # 重新生成 client/client.js(= 精简 ECharts + clien
62
63
 
63
64
  `client/client.js` 是已提交的构建产物,使用者无需安装依赖或构建。
64
65
 
65
- npm 发布元数据(`repository` / `files` / `LICENSE`)已备好但**暂不发布**:当前只通过 GitHub 安装(`dsh plugin --profile web add github:huangyuheng/dsh-token-use`)。需要时执行 `npm publish` 即可。
66
+ 已发布到 npm(包名 `dsh-token-use`,`repository` 指回本仓库,因此官方市场会自动关联并显示下载量)。升级流程:改 `version` `npm publish` 用户 `dsh plugin update` 或市场一键更新。
66
67
 
67
68
  ## 字段口径
68
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-token-use",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Real-time token usage dashboard for DeepSeek Harness — live totals (input/output/cache/reasoning), filters by model, day, month and project, and a smooth trend chart. · 实时 Token 用量仪表盘:总量/输入/输出/缓存命中按模型、按天、按月、按项目随选,附趋势曲线。",
5
5
  "keywords": [
6
6
  "dsh",