dsh-token-pulse 0.2.2-beta → 0.3.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 +5 -2
- package/README.md +5 -2
- package/README.zh.md +3 -1
- package/lib/client.js +1 -1
- package/lib/client.js.map +1 -1
- package/lib/index.mjs +41 -24
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -13,7 +13,10 @@ A local Token usage heatmap plugin for DSH Web — GitHub-style calendar views,
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
# From
|
|
16
|
+
# From npm (recommended, shortest)
|
|
17
|
+
dsh plugin --profile web add dsh-token-pulse
|
|
18
|
+
|
|
19
|
+
# Or from GitHub
|
|
17
20
|
dsh plugin --profile web add github:Hou-DL/dsh-token-pulse
|
|
18
21
|
|
|
19
22
|
# Or from Gitee (faster in China)
|
|
@@ -52,7 +55,7 @@ Restart, then open **Settings → Token Pulse**.
|
|
|
52
55
|
|
|
53
56
|
## FAQ
|
|
54
57
|
|
|
55
|
-
- **Everything shows 0?** Make sure
|
|
58
|
+
- **Everything shows 0?** Make sure `$DSH_HOME/sessions` contains session logs with a `usage` field.
|
|
56
59
|
- **Does it go online?** No. Fully local.
|
|
57
60
|
- **Timezone?** Fixed to Asia/Shanghai, weeks start on Monday.
|
|
58
61
|
- **How to reset?** Settings page → ⋯ menu (top-right) → Reset history.
|
package/README.md
CHANGED
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
# 从
|
|
16
|
+
# 从 npm(推荐,最短)
|
|
17
|
+
dsh plugin --profile web add dsh-token-pulse
|
|
18
|
+
|
|
19
|
+
# 或从 GitHub
|
|
17
20
|
dsh plugin --profile web add github:Hou-DL/dsh-token-pulse
|
|
18
21
|
|
|
19
22
|
# 或从 Gitee(国内访问更快)
|
|
@@ -52,7 +55,7 @@ dsh plugin --profile web add "git+https://gitee.com/HouDL/dsh-token-pulse.git"
|
|
|
52
55
|
|
|
53
56
|
## 常见问题
|
|
54
57
|
|
|
55
|
-
- **显示 0?** 确认
|
|
58
|
+
- **显示 0?** 确认 `$DSH_HOME/sessions` 下有含 `usage` 字段的会话日志。
|
|
56
59
|
- **会联网吗?** 不会,纯本地统计。
|
|
57
60
|
- **时区?** 固定北京时区,周一为周起始。
|
|
58
61
|
- **如何重置?** 设置页右上角 ⋯ → 「重置历史」。
|
package/README.zh.md
CHANGED
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
# 从
|
|
13
|
+
# 从 npm(推荐,最短)
|
|
14
|
+
dsh plugin --profile web add dsh-token-pulse
|
|
15
|
+
# 或从 GitHub
|
|
14
16
|
dsh plugin --profile web add github:Hou-DL/dsh-token-pulse
|
|
15
17
|
# 或从 Gitee
|
|
16
18
|
dsh plugin --profile web add "git+https://gitee.com/HouDL/dsh-token-pulse.git"
|
package/lib/client.js
CHANGED
|
@@ -1662,7 +1662,7 @@ window.__ModuleLoader__.load({
|
|
|
1662
1662
|
color: "var(--dsw-alias-label-tertiary)",
|
|
1663
1663
|
verticalAlign: "middle"
|
|
1664
1664
|
},
|
|
1665
|
-
children: ["v", "0.
|
|
1665
|
+
children: ["v", "0.3.1"]
|
|
1666
1666
|
})]
|
|
1667
1667
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
1668
1668
|
style: {
|