@wannanbigpig/dsh-usage-stats 0.1.6 → 0.1.7
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.md +8 -1
- package/lib/client.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,12 +95,19 @@ dsh plugin --profile web add .
|
|
|
95
95
|
dsh plugin --profile web add @wannanbigpig/dsh-usage-stats
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
**从 GitHub
|
|
98
|
+
**从 GitHub 安装**(开发预览):
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
101
|
dsh plugin --profile web add github:wannanbigpig/dsh-usage-stats
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
+
如需安装本地 tarball,可在 checkout 根目录执行:
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
package_tarball="$(npm pack --silent)"
|
|
108
|
+
dsh plugin --profile web add "./${package_tarball}"
|
|
109
|
+
```
|
|
110
|
+
|
|
104
111
|
**升级或卸载**(`update` 只对 npm/GitHub 安装的副本有意义;本地 `link:` 安装始终指向本地目录,直接 `git pull` 后重启 `dsh web` 即可):
|
|
105
112
|
|
|
106
113
|
```bash
|
package/lib/client.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* heatmap, hourly/model drill-down and limit controls in one place.
|
|
8
8
|
*/
|
|
9
9
|
window.__ModuleLoader__.load({
|
|
10
|
-
id: "dsh-usage-stats",
|
|
10
|
+
id: "@wannanbigpig/dsh-usage-stats",
|
|
11
11
|
factory: (require) => {
|
|
12
12
|
var module = { exports: {} };
|
|
13
13
|
var exports = module.exports;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wannanbigpig/dsh-usage-stats",
|
|
3
3
|
"description": "DeepSeek 官方余额、Token 用量、月历热图与离线 tokenizer,内置在 Harness 侧栏",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.7",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/wannanbigpig/dsh-usage-stats.git"
|