dsh-deepseek-balance-widget 2.3.2 → 2.3.3
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 +7 -7
- package/README_EN.md +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
需要:已安装 dsh(可用 `dsh web`)。
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
dsh plugin --profile web add dsh-deepseek-balance-widget@2.3.
|
|
23
|
+
dsh plugin --profile web add dsh-deepseek-balance-widget@2.3.2
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
从 npm 拉取安装,dsh 自动注册到 `dsh.profile.bundles`,完成后**重启 `dsh web`** 即可。
|
|
27
27
|
|
|
28
|
-
> 务必带版本号 `@2.3.
|
|
28
|
+
> 务必带版本号 `@2.3.2`。不带版本号的 `add` 会按 npm 的 `latest` tag 安装,该 tag 可能被旧版本抢回去,导致装到老版本。
|
|
29
29
|
|
|
30
30
|
也可以直接对 AI 说:
|
|
31
31
|
|
|
@@ -51,11 +51,11 @@ AI 会接管全部:问 API Key / 引导获取平台 Cookie → 写入本机
|
|
|
51
51
|
|
|
52
52
|
## 更新
|
|
53
53
|
|
|
54
|
-
最新稳定版为 **`2.3.
|
|
54
|
+
最新稳定版为 **`2.3.2`**。无论你当前是哪个旧版本,都推荐升级到它。
|
|
55
55
|
|
|
56
56
|
### 方式一:弹窗一键更新(推荐,已装用户)
|
|
57
57
|
|
|
58
|
-
1. 打开余额弹窗,底部会显示版本号;有新版本时显示 `vX → v2.3.
|
|
58
|
+
1. 打开余额弹窗,底部会显示版本号;有新版本时显示 `vX → v2.3.2 更新`。
|
|
59
59
|
2. 点击「**检查更新**」,插件会自动从 npm 拉取并安装最高版本。
|
|
60
60
|
3. 安装完成后**必须彻底重启 `dsh web`**(关掉 `dsh web` 进程 / 退出桌面端再重开,**仅刷新浏览器页面无效**)才能加载新版本。
|
|
61
61
|
|
|
@@ -64,7 +64,7 @@ AI 会接管全部:问 API Key / 引导获取平台 Cookie → 写入本机
|
|
|
64
64
|
### 方式二:命令行强制更新(最稳妥,适合卡住或装不上的情况)
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
dsh plugin --profile web add dsh-deepseek-balance-widget@2.3.
|
|
67
|
+
dsh plugin --profile web add dsh-deepseek-balance-widget@2.3.2
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
带版本号可绕过缓存 / 镜像源不同步 / `latest` 被抢低等问题,一步到位。
|
|
@@ -73,12 +73,12 @@ dsh plugin --profile web add dsh-deepseek-balance-widget@2.3.1
|
|
|
73
73
|
|
|
74
74
|
```bash
|
|
75
75
|
cd ~/.dsh/profiles/web
|
|
76
|
-
npm install dsh-deepseek-balance-widget@2.3.
|
|
76
|
+
npm install dsh-deepseek-balance-widget@2.3.2 # 若目录内有 pnpm-lock.yaml 则用 pnpm add
|
|
77
77
|
# 验证磁盘上确实变了
|
|
78
78
|
cat node_modules/dsh-deepseek-balance-widget/package.json | grep '"version"'
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
确认输出 `2.3.
|
|
81
|
+
确认输出 `2.3.2` 后,**彻底重启 `dsh web`** 即可。
|
|
82
82
|
|
|
83
83
|
## 卸载
|
|
84
84
|
|
package/README_EN.md
CHANGED
|
@@ -20,12 +20,12 @@ A multi-provider AI balance widget for the dsh web sidebar. **DeepSeek** is buil
|
|
|
20
20
|
Requires: dsh installed (with `dsh web` working).
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
dsh plugin --profile web add dsh-deepseek-balance-widget@2.3.
|
|
23
|
+
dsh plugin --profile web add dsh-deepseek-balance-widget@2.3.2
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Installed from npm and auto-registered by dsh. **Restart `dsh web`** and the balance button appears in the sidebar.
|
|
27
27
|
|
|
28
|
-
> Always include the version `@2.3.
|
|
28
|
+
> Always include the version `@2.3.2`. A bare `add` follows npm's `latest` tag, which may be hijacked by older versions and silently install an outdated release.
|
|
29
29
|
|
|
30
30
|
Or just tell your AI:
|
|
31
31
|
|
|
@@ -51,11 +51,11 @@ Credentials are stored locally in `~/.dsh/ai-balances.json`; nothing is shipped
|
|
|
51
51
|
|
|
52
52
|
## Update
|
|
53
53
|
|
|
54
|
-
The latest stable release is **`2.3.
|
|
54
|
+
The latest stable release is **`2.3.2`**. Upgrade to it regardless of which older version you currently have.
|
|
55
55
|
|
|
56
56
|
### Method 1: One-click from the popover (recommended for installed users)
|
|
57
57
|
|
|
58
|
-
1. Open the balance popover; the footer shows the version. When a newer one exists it reads `vX → v2.3.
|
|
58
|
+
1. Open the balance popover; the footer shows the version. When a newer one exists it reads `vX → v2.3.2 更新`.
|
|
59
59
|
2. Click "**检查更新**" (Check for update). The plugin pulls and installs the highest semver version from npm automatically.
|
|
60
60
|
3. After install you **must fully restart `dsh web`** (stop the `dsh web` process / quit the desktop app and reopen — **refreshing the browser tab is not enough**) for the new version to load.
|
|
61
61
|
|
|
@@ -64,7 +64,7 @@ The latest stable release is **`2.3.1`**. Upgrade to it regardless of which olde
|
|
|
64
64
|
### Method 2: Force update from the command line (most reliable if stuck)
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
dsh plugin --profile web add dsh-deepseek-balance-widget@2.3.
|
|
67
|
+
dsh plugin --profile web add dsh-deepseek-balance-widget@2.3.2
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
Pinning the version bypasses cache / mirror desync / a hijacked `latest` tag in one step.
|
|
@@ -73,12 +73,12 @@ Pinning the version bypasses cache / mirror desync / a hijacked `latest` tag in
|
|
|
73
73
|
|
|
74
74
|
```bash
|
|
75
75
|
cd ~/.dsh/profiles/web
|
|
76
|
-
npm install dsh-deepseek-balance-widget@2.3.
|
|
76
|
+
npm install dsh-deepseek-balance-widget@2.3.2 # use `pnpm add` if a pnpm-lock.yaml exists in this dir
|
|
77
77
|
# verify the on-disk version actually changed
|
|
78
78
|
cat node_modules/dsh-deepseek-balance-widget/package.json | grep '"version"'
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
Once it prints `2.3.
|
|
81
|
+
Once it prints `2.3.2`, **fully restart `dsh web`**.
|
|
82
82
|
|
|
83
83
|
## Uninstall
|
|
84
84
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-deepseek-balance-widget",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Multi-provider AI balance widget for the dsh web sidebar: a live, auto-refreshing balance pill plus a detail popover listing DeepSeek and any added providers (MiMo etc.). Keys are stored per-machine in ~/.dsh/ai-balances.json and resolved from the local credential seam, never hardcoded.",
|
|
6
6
|
"keywords": [
|