dsh-token-curve 0.4.1 → 0.4.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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +53 -53
package/README.md CHANGED
@@ -10,12 +10,14 @@
10
10
  ## 安装
11
11
 
12
12
  ```sh
13
- # 从 GitHub 直接装
14
- dsh plugin add github:STao-Gee/dsh-token-curve
13
+ dsh plugin add dsh-token-curve
15
14
  ```
16
15
 
17
16
  装完重启 Harness(或在插件页启用 `include:token-curve`),打开任意会话,按 `Ctrl+Alt+U`,或点会话头右侧的曲线图标。
18
17
 
18
+ > 也可以从源码装:`dsh plugin add github:STao-Gee/dsh-token-curve`。
19
+ > 这条路**要求本机装了 Git**,没有 Git 会报 `git ls-remote failed`——普通用户请用上面那条 npm 的。
20
+
19
21
  - 需要 **DeepSeek Harness >= 0.2.1-rc.5**,桌面端(Electron)。
20
22
  - Windows 上验证过;macOS / Linux 未验证。
21
23
  - 插件默认**不自动打开**——右栏常被文件/终端占着,开不开由你按。
package/package.json CHANGED
@@ -1,53 +1,53 @@
1
- {
2
- "name": "dsh-token-curve",
3
- "version": "0.4.1",
4
- "description": "右栏 Token 曲线 + 账本:当前对话逐轮 token 与费用;本机全部会话按月/按周汇总、逐轮明细、导出 Excel;顶部实时显示账户余额与本次会话费用。 Sidebar token and cost curve plus a local session ledger with monthly/weekly rollups, per-turn detail and Excel export.",
5
- "type": "module",
6
- "license": "MIT",
7
- "author": "STao-Gee",
8
- "homepage": "https://github.com/STao-Gee/dsh-token-curve#readme",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/STao-Gee/dsh-token-curve.git"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/STao-Gee/dsh-token-curve/issues"
15
- },
16
- "main": "./index.js",
17
- "exports": {
18
- ".": "./index.js",
19
- "./client": "./client.js",
20
- "./package.json": "./package.json"
21
- },
22
- "files": [
23
- "index.js",
24
- "client.js",
25
- "cordis.patch.yml",
26
- "icon.svg",
27
- "README.md"
28
- ],
29
- "keywords": [
30
- "dsh",
31
- "dsh-plugin",
32
- "deepseek-harness",
33
- "token",
34
- "usage",
35
- "cost",
36
- "billing",
37
- "xlsx",
38
- "balance",
39
- "sidebar",
40
- "chart"
41
- ],
42
- "dsh": {
43
- "bundle": {
44
- "patch": "./cordis.patch.yml"
45
- },
46
- "client": {
47
- "platform": "web"
48
- }
49
- },
50
- "engines": {
51
- "dsh": ">=0.2.1-rc.5"
52
- }
53
- }
1
+ {
2
+ "name": "dsh-token-curve",
3
+ "version": "0.4.2",
4
+ "description": "右栏 Token 曲线 + 账本:当前对话逐轮 token 与费用;本机全部会话按月/按周汇总、逐轮明细、导出 Excel;顶部实时显示账户余额与本次会话费用。 Sidebar token and cost curve plus a local session ledger with monthly/weekly rollups, per-turn detail and Excel export.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "STao-Gee",
8
+ "homepage": "https://github.com/STao-Gee/dsh-token-curve#readme",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/STao-Gee/dsh-token-curve.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/STao-Gee/dsh-token-curve/issues"
15
+ },
16
+ "main": "./index.js",
17
+ "exports": {
18
+ ".": "./index.js",
19
+ "./client": "./client.js",
20
+ "./package.json": "./package.json"
21
+ },
22
+ "files": [
23
+ "index.js",
24
+ "client.js",
25
+ "cordis.patch.yml",
26
+ "icon.svg",
27
+ "README.md"
28
+ ],
29
+ "keywords": [
30
+ "dsh",
31
+ "dsh-plugin",
32
+ "deepseek-harness",
33
+ "token",
34
+ "usage",
35
+ "cost",
36
+ "billing",
37
+ "xlsx",
38
+ "balance",
39
+ "sidebar",
40
+ "chart"
41
+ ],
42
+ "dsh": {
43
+ "bundle": {
44
+ "patch": "./cordis.patch.yml"
45
+ },
46
+ "client": {
47
+ "platform": "web"
48
+ }
49
+ },
50
+ "engines": {
51
+ "dsh": "\u003e=0.2.1-rc.5"
52
+ }
53
+ }