dsh-grok-subscription 1.1.2 → 1.1.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/CHANGELOG.md +9 -0
- package/docs/guide.en.md +5 -3
- package/docs/guide.zh-CN.md +5 -3
- package/lib/client.js +2 -2
- package/package.json +17 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.3 — 2026-09-28
|
|
4
|
+
|
|
5
|
+
- Fix **the plugin disappearing from the desktop app after it updated to DSH 0.2.0-rc.1**. DSH 0.2.0 gates every profile entry on the plugin's `@deepseek-ai/dsh*` peer ranges (`evaluatePluginCompatibility` in `@deepseek-ai/dsh-app-boot`) and drops the whole bundle before any plugin code loads when one of them does not admit the running version. This plugin declared `^0.1.5-rc.2`, which is `<0.2.0`, so the Host reported `skipping profile bundle "dsh-grok-subscription": Plugin dsh-grok-subscription@1.1.2 is incompatible with dsh 0.2.0-rc.1` and started without a `grok-build` route, without a Settings section, and without any error in the UI. Reproduced against the real desktop runtime, and confirmed fixed with the same `dsh --profile <name> --dump-config`: the composition now emits the `grok-subscription` row.
|
|
6
|
+
- Widen each DSH peer to `>=0.1.5-rc.2 <0.3.0-0`: a span across the 0.1 and 0.2 lines rather than a range that silently expires on the next Host bump. Nothing the previous range admitted is dropped, and 0.3.0 prereleases stay refused, so the next minor gets a fresh verification instead of another silent removal.
|
|
7
|
+
- Verified on the real 0.2.0-rc.1 desktop runtime with a live Host: `grok-subscription/status` and `grok-subscription/plugin/version` answer over the Host's own `/api` routes, the account is signed in, the live catalog lists all four models, the weekly quota reads, and a minimal live generation through the registered route returned a complete stream (`OK`, `finish: stop`, usage). No model-routing, authentication, proxy, or quota changes: the adapter this release runs is the same one 1.1.2 ran.
|
|
8
|
+
- `tests/host-compatibility.test.mjs` checks every DSH peer against a runtime matrix (0.1.5-rc.2 … 0.2.14 admitted, 0.3.0 prereleases refused) and pins the shared span; it fails against 1.1.2.
|
|
9
|
+
- Add a Troubleshooting entry to both guides for the next time a Host update removes the plugin: where the Host reports it, and why a version exemption is the wrong remedy.
|
|
10
|
+
- Restart DSH fully after updating.
|
|
11
|
+
|
|
3
12
|
## 1.1.2 — 2026-09-28
|
|
4
13
|
|
|
5
14
|
- Fix **Windows reporting "no grok CLI"** with the official CLI installed. Detection probed for a file literally named `grok`, but `fs.existsSync` never applies Windows' `PATHEXT` resolution, so the installed `grok.exe` was invisible: `resolveGrokBin()` fell back to the bare name, `grokCliAvailable()` returned `false`, and every CLI-backed path — session pull, CLI/device-code login, automatic renewal — was short-circuited before it ran. Settings showed the orange "CLI not found" warning and the plugin stayed on its built-in fallback adapter, even though `spawn("grok")` itself works on Windows.
|
package/docs/guide.en.md
CHANGED
|
@@ -6,7 +6,7 @@ For quick setup, see the [README](../README.en.md#install). This guide covers de
|
|
|
6
6
|
|
|
7
7
|
## Installation and compatibility
|
|
8
8
|
|
|
9
|
-
You need DeepSeek Harness, the official Grok Build CLI, and an account with Grok Build access. The plugin declares Node.js `^22.19.0 || >=24.0.0`; DSH peers use
|
|
9
|
+
You need DeepSeek Harness, the official Grok Build CLI, and an account with Grok Build access. The plugin declares Node.js `^22.19.0 || >=24.0.0`; DSH peers use `>=0.1.5-rc.2 <0.3.0-0`, which spans the whole 0.1 and 0.2 lines. See [package.json](../package.json) for the full requirements. Declared compatibility is not a claim that every version has passed live verification.
|
|
10
10
|
|
|
11
11
|
**Install from npm:**
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ dsh plugin --profile web list dsh-grok-subscription --depth 0
|
|
|
18
18
|
For reproducibility, pin a published version, for example:
|
|
19
19
|
|
|
20
20
|
```sh
|
|
21
|
-
dsh plugin --profile web add dsh-grok-subscription@1.1.
|
|
21
|
+
dsh plugin --profile web add dsh-grok-subscription@1.1.3
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
**Install from GitHub:**
|
|
@@ -124,6 +124,8 @@ That task makes a real model request and uses the selected service's quota; it i
|
|
|
124
124
|
|
|
125
125
|
**No response on an old release.** Version `1.0.0` had a tool-call serialization defect fixed in `1.0.1`; older versions may also lack later renewal fixes. Update to the current published version before diagnosing a persistent problem rather than attributing every missing response to that old defect.
|
|
126
126
|
|
|
127
|
+
**The plugin vanished from Settings after a DSH update.** From 0.2.0 DSH refuses a plugin whose `@deepseek-ai/dsh*` peer ranges do not admit the running version, and it drops the whole bundle before any plugin code loads: no `grok-build` route, no Settings section, and nothing in the panel to explain it. The Host writes `skipping profile bundle "dsh-grok-subscription"` to its own stderr, and `dsh --profile web --dump-config` omits the `grok-subscription` row. Update the plugin rather than granting a version exemption: an exemption re-enables a build that was never checked against that Host.
|
|
128
|
+
|
|
127
129
|
## Updates and sign-out
|
|
128
130
|
|
|
129
131
|
For npm installs, update in Settings or run `dsh plugin --profile web add dsh-grok-subscription@latest`. For GitHub-source installs, run `dsh plugin --profile web update dsh-grok-subscription`. For local links, pull, test, and rebuild the checkout. Restart DSH afterwards.
|
|
@@ -132,7 +134,7 @@ In the desktop app the `desktop` profile is owned exclusively by the Electron ap
|
|
|
132
134
|
|
|
133
135
|
```sh
|
|
134
136
|
cd "$HOME/.dsh/profiles/desktop" # Windows: cd "$env:USERPROFILE\.dsh\profiles\desktop"
|
|
135
|
-
pnpm add --save-exact dsh-grok-subscription@1.1.
|
|
137
|
+
pnpm add --save-exact dsh-grok-subscription@1.1.3
|
|
136
138
|
```
|
|
137
139
|
|
|
138
140
|
Then quit and restart the desktop app completely. After a successful update the profile's `package.json` dependency should show the target version while its `dsh.profile.bundles` entry is unchanged. Refreshing the browser is not enough: without a Host restart the old version keeps loading.
|
package/docs/guide.zh-CN.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## 安装与兼容性
|
|
8
8
|
|
|
9
|
-
需要 DeepSeek Harness、官方 Grok Build CLI,以及当前具有 Grok Build 使用资格的订阅账号。插件的 Node.js 要求为 `^22.19.0 || >=24.0.0`,DSH peer 声明以 [package.json](../package.json) 为准;其中 DSH 依赖使用
|
|
9
|
+
需要 DeepSeek Harness、官方 Grok Build CLI,以及当前具有 Grok Build 使用资格的订阅账号。插件的 Node.js 要求为 `^22.19.0 || >=24.0.0`,DSH peer 声明以 [package.json](../package.json) 为准;其中 DSH 依赖使用 `>=0.1.5-rc.2 <0.3.0-0`,覆盖 0.1 与 0.2 全线。声明范围不等于所有版本都已经过实机验证。
|
|
10
10
|
|
|
11
11
|
**npm 安装:**
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ dsh plugin --profile web list dsh-grok-subscription --depth 0
|
|
|
18
18
|
需要可重复安装时,固定已发布版本,例如:
|
|
19
19
|
|
|
20
20
|
```sh
|
|
21
|
-
dsh plugin --profile web add dsh-grok-subscription@1.1.
|
|
21
|
+
dsh plugin --profile web add dsh-grok-subscription@1.1.3
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
**GitHub 来源安装:**
|
|
@@ -124,6 +124,8 @@ dsh --profile headless "只回复:ok"
|
|
|
124
124
|
|
|
125
125
|
**旧版本发消息无回复。** `1.0.0` 存在已在 `1.0.1` 修正的工具调用序列化问题;旧版本也可能缺少后续续期修复。先更新到当前发布版,再定位仍然存在的问题,不要把所有无回复都归因于旧缺陷。
|
|
126
126
|
|
|
127
|
+
**DSH 更新后插件从设置页消失。** 0.2.0 起,插件的 `@deepseek-ai/dsh*` peer 范围若不包含当前运行版本,DSH 会在加载任何插件代码之前丢掉整个 bundle:既没有 `grok-build` 路由,也没有设置分区,界面里没有任何提示。Host 自己的 stderr 会输出 `skipping profile bundle "dsh-grok-subscription"`,`dsh --profile web --dump-config` 里也不会出现 `grok-subscription` 行。此时应更新插件,而不是授予版本豁免——豁免会重新启用一个从未针对该 Host 验证过的构建。
|
|
128
|
+
|
|
127
129
|
## 更新与登出
|
|
128
130
|
|
|
129
131
|
npm 安装可在设置页更新,或运行 `dsh plugin --profile web add dsh-grok-subscription@latest`。GitHub 来源安装可运行 `dsh plugin --profile web update dsh-grok-subscription`。本地链接安装则拉取对应 checkout、测试并构建。更新后手动重启 DSH。
|
|
@@ -132,7 +134,7 @@ npm 安装可在设置页更新,或运行 `dsh plugin --profile web add dsh-gr
|
|
|
132
134
|
|
|
133
135
|
```sh
|
|
134
136
|
cd "$HOME/.dsh/profiles/desktop" # Windows: cd "$env:USERPROFILE\.dsh\profiles\desktop"
|
|
135
|
-
pnpm add --save-exact dsh-grok-subscription@1.1.
|
|
137
|
+
pnpm add --save-exact dsh-grok-subscription@1.1.3
|
|
136
138
|
```
|
|
137
139
|
|
|
138
140
|
然后完全退出并重启桌面版。更新成功后该 profile 的 `package.json` 里依赖应变为目标版本,`dsh.profile.bundles` 条目保持不变。仅刷新网页不够:Host 未重启时仍会加载旧版本。
|
package/lib/client.js
CHANGED
|
@@ -39,7 +39,7 @@ var import_react2 = require("react");
|
|
|
39
39
|
var zh = {
|
|
40
40
|
nav: "Grok \u8BA2\u9605",
|
|
41
41
|
title: "Grok \u8BA2\u9605",
|
|
42
|
-
subtitle: "\u7528 SuperGrok / X Premium\uFF08Grok Build\uFF09\u4F1A\u8BDD\uFF0C\u800C\u4E0D\u662F XAI_API_KEY\u3002\xB7 1.1.
|
|
42
|
+
subtitle: "\u7528 SuperGrok / X Premium\uFF08Grok Build\uFF09\u4F1A\u8BDD\uFF0C\u800C\u4E0D\u662F XAI_API_KEY\u3002\xB7 1.1.3",
|
|
43
43
|
signedIn: "\u5DF2\u767B\u5F55",
|
|
44
44
|
signedOut: "\u672A\u767B\u5F55",
|
|
45
45
|
account: "\u8D26\u6237",
|
|
@@ -119,7 +119,7 @@ var zh = {
|
|
|
119
119
|
var en = {
|
|
120
120
|
nav: "Grok Subscription",
|
|
121
121
|
title: "Grok Subscription",
|
|
122
|
-
subtitle: "Use a SuperGrok / X Premium (Grok Build) session, not XAI_API_KEY. \xB7 1.1.
|
|
122
|
+
subtitle: "Use a SuperGrok / X Premium (Grok Build) session, not XAI_API_KEY. \xB7 1.1.3",
|
|
123
123
|
signedIn: "Signed in",
|
|
124
124
|
signedOut: "Signed out",
|
|
125
125
|
account: "Account",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-grok-subscription",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Use a SuperGrok or X Premium Grok Build subscription in DeepSeek Harness",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -59,20 +59,20 @@
|
|
|
59
59
|
"node": "^22.19.0 || >=24.0.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@deepseek-ai/dsh-api-remotes": "
|
|
63
|
-
"@deepseek-ai/dsh-client-connection": "
|
|
64
|
-
"@deepseek-ai/dsh-client-locale": "
|
|
65
|
-
"@deepseek-ai/dsh-client-ui-conversation": "
|
|
66
|
-
"@deepseek-ai/dsh-client-ui-model-selection": "
|
|
67
|
-
"@deepseek-ai/dsh-client-ui-primitives": "
|
|
68
|
-
"@deepseek-ai/dsh-client-ui-settings": "
|
|
69
|
-
"@deepseek-ai/dsh-client-ui-slots": "
|
|
70
|
-
"@deepseek-ai/dsh-credentials": "
|
|
71
|
-
"@deepseek-ai/dsh-llm": "
|
|
72
|
-
"@deepseek-ai/dsh-llm-pi-ai": "
|
|
73
|
-
"@deepseek-ai/dsh-settings": "
|
|
74
|
-
"@deepseek-ai/dsh-web": "
|
|
75
|
-
"@earendil-works/pi-ai": "
|
|
62
|
+
"@deepseek-ai/dsh-api-remotes": ">=0.1.5-rc.2 <0.3.0-0",
|
|
63
|
+
"@deepseek-ai/dsh-client-connection": ">=0.1.5-rc.2 <0.3.0-0",
|
|
64
|
+
"@deepseek-ai/dsh-client-locale": ">=0.1.5-rc.2 <0.3.0-0",
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-conversation": ">=0.1.5-rc.2 <0.3.0-0",
|
|
66
|
+
"@deepseek-ai/dsh-client-ui-model-selection": ">=0.1.5-rc.2 <0.3.0-0",
|
|
67
|
+
"@deepseek-ai/dsh-client-ui-primitives": ">=0.1.5-rc.2 <0.3.0-0",
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.5-rc.2 <0.3.0-0",
|
|
69
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.5-rc.2 <0.3.0-0",
|
|
70
|
+
"@deepseek-ai/dsh-credentials": ">=0.1.5-rc.2 <0.3.0-0",
|
|
71
|
+
"@deepseek-ai/dsh-llm": ">=0.1.5-rc.2 <0.3.0-0",
|
|
72
|
+
"@deepseek-ai/dsh-llm-pi-ai": ">=0.1.5-rc.2 <0.3.0-0",
|
|
73
|
+
"@deepseek-ai/dsh-settings": ">=0.1.5-rc.2 <0.3.0-0",
|
|
74
|
+
"@deepseek-ai/dsh-web": ">=0.1.5-rc.2 <0.3.0-0",
|
|
75
|
+
"@earendil-works/pi-ai": "0.82.1 || 0.85.1",
|
|
76
76
|
"react": "^18.2.0",
|
|
77
77
|
"react-dom": "^18.2.0"
|
|
78
78
|
},
|
|
@@ -129,7 +129,8 @@
|
|
|
129
129
|
"devDependencies": {
|
|
130
130
|
"esbuild": "^0.25.0",
|
|
131
131
|
"react": "^18.3.1",
|
|
132
|
-
"react-dom": "^18.3.1"
|
|
132
|
+
"react-dom": "^18.3.1",
|
|
133
|
+
"semver": "^7.8.5"
|
|
133
134
|
},
|
|
134
135
|
"author": "BaronCyrus",
|
|
135
136
|
"repository": {
|