deepseek-balance-dsh 0.2.1 → 0.2.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.
- package/CHANGELOG.md +18 -5
- package/README.md +9 -8
- package/README.zh.md +9 -9
- package/lib/client.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
Notable changes to the plugin.
|
|
4
|
-
|
|
5
|
-
(
|
|
6
|
-
|
|
7
|
-
(see the README).
|
|
3
|
+
Notable changes to the plugin. Repository and npm package are both named
|
|
4
|
+
[`deepseek-balance-dsh`](https://github.com/OwlNjust/deepseek-balance-dsh) /
|
|
5
|
+
[npm](https://www.npmjs.com/package/deepseek-balance-dsh) (the npm name
|
|
6
|
+
`dsh-deepseek-balance` belongs to an unrelated project). Git tags mark releases;
|
|
7
|
+
installation goes through the harness plugin manager or a local checkout (see the README).
|
|
8
|
+
|
|
9
|
+
## 0.2.2 — 2026-10-23
|
|
10
|
+
|
|
11
|
+
The GitHub repository was renamed to `deepseek-balance-dsh`, so the package and the
|
|
12
|
+
repository now carry one name. Metadata and links only — no code changes.
|
|
13
|
+
|
|
14
|
+
- `package.json` `repository` / `homepage` / `bugs` point at
|
|
15
|
+
`github.com/OwlNjust/deepseek-balance-dsh`.
|
|
16
|
+
- Both READMEs: title, CI badge, clone URL and install spec use the new repository
|
|
17
|
+
name; the "npm name differs from the repository" note is gone (the note that npm's
|
|
18
|
+
`dsh-deepseek-balance` is an unrelated project stays).
|
|
19
|
+
- Republishing so the registry metadata and the packed README are consistent; the
|
|
20
|
+
0.2.1 tarball's old URLs keep working through GitHub's redirect either way.
|
|
8
21
|
|
|
9
22
|
## 0.2.1 — 2026-10-22
|
|
10
23
|
|
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# deepseek-balance-dsh
|
|
2
2
|
|
|
3
|
-
[](https://github.com/OwlNjust/deepseek-balance-dsh/actions/workflows/test.yml)
|
|
4
4
|
|
|
5
|
-
npm package
|
|
5
|
+
Repository and npm package are both **`deepseek-balance-dsh`** · [npm](https://www.npmjs.com/package/deepseek-balance-dsh).
|
|
6
|
+
(The npm name `dsh-deepseek-balance` belongs to an unrelated project.)
|
|
6
7
|
|
|
7
8
|
Topics: [`dsh-plugin`](https://github.com/topics/dsh-plugin) · [`deepseek-harness`](https://github.com/topics/deepseek-harness) · [`deepseek`](https://github.com/topics/deepseek)
|
|
8
9
|
|
|
@@ -13,7 +14,7 @@ Topics: [`dsh-plugin`](https://github.com/topics/dsh-plugin) · [`deepseek-harne
|
|
|
13
14
|
|
|
14
15
|
---
|
|
15
16
|
|
|
16
|
-
**Installation is one step:** send `https://github.com/OwlNjust/
|
|
17
|
+
**Installation is one step:** send `https://github.com/OwlNjust/deepseek-balance-dsh`
|
|
17
18
|
to your agent — it knows how to install this plugin. Manual steps are below.
|
|
18
19
|
|
|
19
20
|
## Installation
|
|
@@ -38,11 +39,11 @@ Either install spec works:
|
|
|
38
39
|
- **Git repository** (source of truth):
|
|
39
40
|
|
|
40
41
|
```sh
|
|
41
|
-
dsh plugin --profile <profile> add https://github.com/OwlNjust/
|
|
42
|
+
dsh plugin --profile <profile> add https://github.com/OwlNjust/deepseek-balance-dsh
|
|
42
43
|
```
|
|
43
44
|
|
|
44
45
|
- **Desktop app**: menu bar → “Manage plugins” → enter either
|
|
45
|
-
`deepseek-balance-dsh` or `https://github.com/OwlNjust/
|
|
46
|
+
`deepseek-balance-dsh` or `https://github.com/OwlNjust/deepseek-balance-dsh`
|
|
46
47
|
|
|
47
48
|
The manager adds the package to the profile's `dsh.profile.bundles`, and the `cordis.patch.yml`
|
|
48
49
|
shipped inside the package (it carries the `insert` row that activates the plugin) is applied as
|
|
@@ -52,11 +53,11 @@ a bundle layer. After a reload/restart the bottom-right widget appears.
|
|
|
52
53
|
|
|
53
54
|
```sh
|
|
54
55
|
# 1. Clone or copy the repository anywhere
|
|
55
|
-
git clone https://github.com/OwlNjust/
|
|
56
|
+
git clone https://github.com/OwlNjust/deepseek-balance-dsh.git /tmp/deepseek-balance-dsh
|
|
56
57
|
|
|
57
58
|
# 2. Install it into the web profile (file: = snapshot; link: = live symlink)
|
|
58
59
|
cd ~/.dsh/profiles/web
|
|
59
|
-
dsh plugin --profile web add link:/tmp/
|
|
60
|
+
dsh plugin --profile web add link:/tmp/deepseek-balance-dsh
|
|
60
61
|
```
|
|
61
62
|
|
|
62
63
|
3. Append this block to `~/.dsh/profiles/web/cordis.patch.yml` (the profile's
|
package/README.zh.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# deepseek-balance-dsh
|
|
2
2
|
|
|
3
|
-
[](https://github.com/OwlNjust/deepseek-balance-dsh/actions/workflows/test.yml)
|
|
4
4
|
|
|
5
|
-
npm
|
|
6
|
-
npm 上的 `dsh-deepseek-balance`
|
|
5
|
+
仓库与 npm 包同名:**`deepseek-balance-dsh`** · [npm](https://www.npmjs.com/package/deepseek-balance-dsh)。
|
|
6
|
+
(npm 上的 `dsh-deepseek-balance` 是**另一个无关项目**,与本插件无关。)
|
|
7
7
|
|
|
8
8
|
主题:[`dsh-plugin`](https://github.com/topics/dsh-plugin) · [`deepseek-harness`](https://github.com/topics/deepseek-harness) · [`deepseek`](https://github.com/topics/deepseek)
|
|
9
9
|
|
|
@@ -14,7 +14,7 @@ npm 上的 `dsh-deepseek-balance` 是**另一个无关项目**,与本插件无
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
**安装只需一步:** 把 `https://github.com/OwlNjust/
|
|
17
|
+
**安装只需一步:** 把 `https://github.com/OwlNjust/deepseek-balance-dsh`
|
|
18
18
|
发给您的 agent,它就知道如何自动安装本插件。手动安装步骤如下。
|
|
19
19
|
|
|
20
20
|
## 安装
|
|
@@ -37,11 +37,11 @@ npm 上的 `dsh-deepseek-balance` 是**另一个无关项目**,与本插件无
|
|
|
37
37
|
- **Git 仓库**(源码为准):
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
|
-
dsh plugin --profile <profile> add https://github.com/OwlNjust/
|
|
40
|
+
dsh plugin --profile <profile> add https://github.com/OwlNjust/deepseek-balance-dsh
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
- **桌面端**:菜单栏 →「管理插件 / Manage plugins」→ 填入
|
|
44
|
-
`deepseek-balance-dsh` 或 `https://github.com/OwlNjust/
|
|
44
|
+
`deepseek-balance-dsh` 或 `https://github.com/OwlNjust/deepseek-balance-dsh`
|
|
45
45
|
|
|
46
46
|
管理器会把包加入 profile 的 `dsh.profile.bundles`,包内的 `cordis.patch.yml`(含激活插件的
|
|
47
47
|
`insert` 行)随之作为组合层生效。重载/重启 profile 后右下角即出现小组件。
|
|
@@ -50,11 +50,11 @@ npm 上的 `dsh-deepseek-balance` 是**另一个无关项目**,与本插件无
|
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
52
|
# 1. 克隆/复制仓库到任意可访问路径
|
|
53
|
-
git clone https://github.com/OwlNjust/
|
|
53
|
+
git clone https://github.com/OwlNjust/deepseek-balance-dsh.git /tmp/deepseek-balance-dsh
|
|
54
54
|
|
|
55
55
|
# 2. 安装到 web profile(file: = 快照;link: = 源码符号链接,改代码即生效)
|
|
56
56
|
cd ~/.dsh/profiles/web
|
|
57
|
-
dsh plugin --profile web add link:/tmp/
|
|
57
|
+
dsh plugin --profile web add link:/tmp/deepseek-balance-dsh
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
3. 把下面这段**追加**到 `~/.dsh/profiles/web/cordis.patch.yml`(profile 的用户补丁层):
|
package/lib/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// deepseek-balance-dsh — client half
|
|
1
|
+
// deepseek-balance-dsh — client half.
|
|
2
2
|
// Browser module artefact consumed by the dsh web client module system
|
|
3
3
|
// (window.__ModuleLoader__). The widget is registered in the shell.overlay
|
|
4
4
|
// slot (bottom-right floating card) and talks to the host plugin through
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// deepseek-balance-dsh — host half
|
|
1
|
+
// deepseek-balance-dsh — host half.
|
|
2
2
|
//
|
|
3
3
|
// A static Cordis plugin for the deepseek-harness web profile. This file is the
|
|
4
4
|
// assembly layer only — configuration, lifecycle (state file, polling timer) and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deepseek-balance-dsh",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "DeepSeek balance monitor for DeepSeek Harness: real-time topped-up balance, period consumption (per model) and token usage (cache-hit input / cache-miss input / output), plus peak/off-peak price reminder (Liang Wenfeng / Liang Wengu).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
},
|
|
53
53
|
"repository": {
|
|
54
54
|
"type": "git",
|
|
55
|
-
"url": "git+https://github.com/OwlNjust/
|
|
55
|
+
"url": "git+https://github.com/OwlNjust/deepseek-balance-dsh.git"
|
|
56
56
|
},
|
|
57
|
-
"homepage": "https://github.com/OwlNjust/
|
|
57
|
+
"homepage": "https://github.com/OwlNjust/deepseek-balance-dsh#readme",
|
|
58
58
|
"bugs": {
|
|
59
|
-
"url": "https://github.com/OwlNjust/
|
|
59
|
+
"url": "https://github.com/OwlNjust/deepseek-balance-dsh/issues"
|
|
60
60
|
}
|
|
61
61
|
}
|