dsh-coding-subscription-oauth 0.7.0 → 0.7.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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to `dsh-coding-subscription-oauth` are documented here, foll
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## v0.7.1 - 2026-09-10
8
+
9
+ ### Fixed
10
+
11
+ - Initialize empty `modelErrors` on OAuth provider profiles so DSH `0.1.5-rc.1` model resolution no longer throws `Cannot read properties of undefined (reading 'get')` before a provider request (`#38`, thanks [@warc0s](https://github.com/warc0s) via #37).
12
+
7
13
  ## v0.7.0 - 2026-09-10
8
14
 
9
15
  ### Added
package/INSTALL.md CHANGED
@@ -3,7 +3,7 @@
3
3
  本仓库原名 **`dsh-grok-build`**。普通用户请使用已发布的 npm 版本:
4
4
 
5
5
  ```bash
6
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
6
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
7
7
  ```
8
8
 
9
9
  CLI 新命令是 `dsh-coding-oauth`(旧命令 `dsh-grok-build` 仍可用)。为兼容已有 profile,Cordis id 仍是 `llm-grok-build-oauth`,设置页 HTTP 路径仍是 `/plugins/dsh-grok-build/*`,凭据文件名不变。
@@ -11,7 +11,7 @@ CLI 新命令是 `dsh-coding-oauth`(旧命令 `dsh-grok-build` 仍可用)。
11
11
  第一次公开发布是 **`0.4.1`**。`0.6.1` 从未正式发布或打包,其未发布改动已合入当前推荐的 **`0.6.3`**:
12
12
 
13
13
  ```bash
14
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
14
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
15
15
  dsh plugin --profile web update dsh-coding-subscription-oauth
16
16
  ```
17
17
 
@@ -22,13 +22,13 @@ dsh plugin --profile web update dsh-coding-subscription-oauth
22
22
  - 需要使用的个人编码订阅;没有 Claude/Google 账号也可以先安装路由
23
23
  - 部分网络需要 HTTP/HTTPS 代理
24
24
 
25
- `0.1.2-alpha.*` 与 `0.1.5-rc.1` 可作为 BOM **未验证候选**出现,但不是生产 pin。在把候选提升为 `verified` 之前,不要把它们当作正式兼容声明。面向 `0.1.5-rc.1` 的客户端 inject 已不再要求 `@deepseek-ai/dsh-client-runtime`(该包在候选宿主上不存在);缺失的可选 inject 仍为 soft diagnostic。
25
+ `0.1.2-alpha.*` 与 `0.1.5-rc.1` 可作为 BOM **未验证候选**出现,但不是生产 pin。在把候选提升为 `verified` 之前,不要把它们当作正式兼容声明。面向 `0.1.5-rc.1` 的客户端 inject 已不再要求 `@deepseek-ai/dsh-client-runtime`(该包在候选宿主上不存在);缺失的可选 inject 仍为 soft diagnostic。OAuth provider profile 会初始化空的 `modelErrors` map,避免候选宿主在模型解析时对 undefined 调用 `.get`(见 `#38`)。
26
26
 
27
27
  ## 安装
28
28
 
29
29
  ```bash
30
30
  # 普通用户:当前 npm 发布版
31
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
31
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
32
32
 
33
33
  # 开发 / 备用:从 GitHub
34
34
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -47,11 +47,12 @@ dsh plugin --profile web add dsh-agy@0.1.2
47
47
  - 本版按 DSH `0.1.1-rc.2` 的精确兼容矩阵发布;生产环境应锁定已验证的 BOM,不要用 `*` 或未验证的宽泛 peer range。候选宿主(如 `0.1.5-rc.1`)只记在 `candidates[]`,须经隔离冒烟后再考虑提升。
48
48
  - 从 `0.6.0` 升级到 `0.6.2` 后再重启:`0.6.0` 在严格 Cordis 注入检查下可能因读取尚未注入的可选服务而拖垮插件树。这个补丁不迁移或重置 OAuth 凭据、Gateway、模型/适配器 ID 与缓存。
49
49
  - 从 `0.6.3` 升级到 `0.6.4`:统一固定 `dsh-coding-oauth-core@0.1.2` 与 `undici@7.29.0`;无配置、凭据、数据或路由迁移。
50
+ - 从 `0.7.0` 升级到 `0.7.1`:OAuth profile 初始化空 `modelErrors`,修复 DSH `0.1.5-rc.1` 选模型时 `Cannot read properties of undefined (reading 'get')`(`#38`);无配置/凭据/路由迁移。
50
51
  - 从 `0.6.5` 升级到 `0.7.0`:AuthDocument v2 多账号与 Accounts UI;去掉 `@deepseek-ai/dsh-client-runtime` inject;BOM 记录未验证候选 `0.1.5-rc.1`(verified 仍为 `0.1.1-rc.2`);无配置/凭据/路由破坏性迁移。
51
52
  - 从 `0.6.4` 升级到 `0.6.5`:Gateway key 的 reveal/rotate 仅限 `accessMode === "loopback"`(与 Settings UI 一致);无配置、凭据、数据或路由迁移。npm 包不再附带 `src/`,运行时仍为生成的 `lib/`。
52
53
  - 宿主边界(无需操作者迁移):客户端 classic-script 不再 inject `@deepseek-ai/dsh-client-runtime`;`ClientContext` 从 `@deepseek-ai/cordis` 解析。这与 Hub 在 `0.1.5-rc.1` 上的适配一致,避免陈旧 inject 诊断。
53
- - 在同一个 **web profile** 中先保证 `dsh-coding-oauth-core@0.1.2` 可从 npm 解析,再安装 Subscription `0.7.0`(以及需要的 `dsh-hub-oauth-gateway@1.12.0`)。Core 只是共享 npm 依赖,不是单独的 DSH 插件,用户不需要执行 `dsh plugin add dsh-coding-oauth-core`。
54
- - 共装 Hub 与 Subscription 时,先安装 `dsh-hub-oauth-gateway@1.12.0` 与 Subscription `0.7.0`,完成后只重启一次现有 DSH Web 进程;Hub 提供完整用量中心,Subscription 显示紧凑状态入口。只升级 Subscription 仍可独立工作。
54
+ - 在同一个 **web profile** 中先保证 `dsh-coding-oauth-core@0.1.2` 可从 npm 解析,再安装 Subscription `0.7.1`(以及需要的 `dsh-hub-oauth-gateway@1.12.0`)。Core 只是共享 npm 依赖,不是单独的 DSH 插件,用户不需要执行 `dsh plugin add dsh-coding-oauth-core`。
55
+ - 共装 Hub 与 Subscription 时,先安装 `dsh-hub-oauth-gateway@1.12.0` 与 Subscription `0.7.1`,完成后只重启一次现有 DSH Web 进程;Hub 提供完整用量中心,Subscription 显示紧凑状态入口。只升级 Subscription 仍可独立工作。
55
56
  - 升级会保留既有 Cordis id、OAuth 凭据文件、模型/适配器 ID、Gateway 配置和模型缓存;不要为了“清理旧版本”删除这些文件。若旧包名 `dsh-grok-build` 仍在 profile 中,只移除那条旧插件记录,再安装当前包,避免重复路由。
56
57
  - 回滚时恢复上一个插件版本并重启一次,保留凭据和配置;先查看兼容性诊断与失败原因,不要用清空凭据来代替回滚。
57
58
  - DSH Web 与本地 Gateway 继续只绑定 loopback。远程 Settings 只能走 SSH 隧道或满足 owner proof、精确 Origin 和 CSRF proof 的 HTTPS 反向代理;升级不会放宽到 `0.0.0.0`。
package/README.de.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.7.0 · früher `dsh-grok-build`
7
+ **v0.7.1 · früher `dsh-grok-build`
8
8
 
9
9
  **OAuth-Plugin für Coding-Abonnements für [DeepSeek Harness](https://github.com/deepseek-ai/dsh).** Melden Sie sich einmal mit den Abonnements an, die Sie bereits bezahlen, und nutzen Sie die Modelle aus den Einstellungen oder der CLI von dsh. **Keine Tokens in den Chat einfügen.**
10
10
 
@@ -27,7 +27,7 @@ Zuerst **`dsh-grok-build`** (nur Grok Build). Jetzt SuperGrok / Codex / Kimi / C
27
27
  | | Das verwenden | Funktioniert weiter |
28
28
  |---|---|---|
29
29
  | GitHub / `dsh plugin add` | [`dsh-coding-subscription-oauth`](https://github.com/lninghaha/dsh-coding-subscription-oauth) | `github:lninghaha/dsh-grok-build` (derselbe `main`) |
30
- | npm | `dsh-coding-subscription-oauth@0.7.0` (aktuelle Version) | Es gab kein altes npm-Paket |
30
+ | npm | `dsh-coding-subscription-oauth@0.7.1` (aktuelle Version) | Es gab kein altes npm-Paket |
31
31
  | CLI | `dsh-coding-oauth` | `dsh-grok-build` |
32
32
  | Cordis-Plugin-id | `llm-grok-build-oauth` | unverändert |
33
33
  | Settings-HTTP-API | `/plugins/dsh-grok-build/*` | unverändert |
@@ -77,7 +77,7 @@ Diese Suchbegriffe und DSH-Fehler führen meist hierher.
77
77
 
78
78
  ```bash
79
79
  # 1. Plugin in das Web-Profil installieren (aktuelle npm-Version)
80
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
81
81
 
82
82
  # 2. optional — Google Antigravity (gepinnte, geprüfte Version)
83
83
  dsh plugin --profile web add dsh-agy@0.1.2
@@ -118,7 +118,7 @@ Erfordert DeepSeek Harness `0.1.1-rc.2` und Node.js 22.19+. Vollständige Detail
118
118
 
119
119
  ```bash
120
120
  # aktuelle npm-Version (empfohlen)
121
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
122
122
 
123
123
  # Entwicklung/Alternativ: von GitHub
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
package/README.es.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.7.0 · antes `dsh-grok-build`
7
+ **v0.7.1 · antes `dsh-grok-build`
8
8
 
9
9
  **Plugin OAuth de suscripciones de codificación para [DeepSeek Harness](https://github.com/deepseek-ai/dsh).** Inicia sesión una vez con las suscripciones que ya pagas y luego usa sus modelos desde la página de configuración o la CLI de dsh. **Sin pegar tokens en el chat.**
10
10
 
@@ -28,7 +28,7 @@ Empezó como **`dsh-grok-build`** (solo Grok Build). Ahora cubre SuperGrok / Cod
28
28
  | | Usa esto | Sigue funcionando |
29
29
  |---|---|---|
30
30
  | GitHub / `dsh plugin add` | [`dsh-coding-subscription-oauth`](https://github.com/lninghaha/dsh-coding-subscription-oauth) | `github:lninghaha/dsh-grok-build` (el mismo `main`) |
31
- | npm | `dsh-coding-subscription-oauth@0.7.0` (versión actual) | No se publicó un paquete npm legado |
31
+ | npm | `dsh-coding-subscription-oauth@0.7.1` (versión actual) | No se publicó un paquete npm legado |
32
32
  | CLI | `dsh-coding-oauth` | `dsh-grok-build` |
33
33
  | Cordis plugin id | `llm-grok-build-oauth` | sin cambios |
34
34
  | API HTTP de ajustes | `/plugins/dsh-grok-build/*` | sin cambios |
@@ -77,7 +77,7 @@ Estas búsquedas y errores de DSH suelen traer a la gente hasta aquí.
77
77
 
78
78
  ```bash
79
79
  # 1. instala el plugin en el perfil web (versión actual de npm)
80
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
81
81
 
82
82
  # 2. opcional — Google Antigravity (versión fija revisada)
83
83
  dsh plugin --profile web add dsh-agy@0.1.2
@@ -118,7 +118,7 @@ Requiere DeepSeek Harness `0.1.1-rc.2` y Node.js 22.19+. Detalles completos en l
118
118
 
119
119
  ```bash
120
120
  # versión actual de npm (recomendado)
121
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
122
122
 
123
123
  # desarrollo/alternativo: desde GitHub
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
package/README.fr.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.7.0 · anciennement `dsh-grok-build`
7
+ **v0.7.1 · anciennement `dsh-grok-build`
8
8
 
9
9
  **Plugin OAuth pour abonnements de codage de [DeepSeek Harness](https://github.com/deepseek-ai/dsh).** Connectez-vous une fois avec les abonnements que vous payez déjà, puis utilisez leurs modèles depuis la page de configuration ou la CLI dsh. **Aucun token collé dans le chat.**
10
10
 
@@ -28,7 +28,7 @@ Le projet s'appelait **`dsh-grok-build`** (Grok Build uniquement). Il couvre mai
28
28
  | | Utiliser | Toujours valable |
29
29
  |---|---|---|
30
30
  | GitHub / `dsh plugin add` | [`dsh-coding-subscription-oauth`](https://github.com/lninghaha/dsh-coding-subscription-oauth) | `github:lninghaha/dsh-grok-build` (même `main`) |
31
- | npm | `dsh-coding-subscription-oauth@0.7.0` (version actuelle) | Aucun ancien paquet npm n'a été publié |
31
+ | npm | `dsh-coding-subscription-oauth@0.7.1` (version actuelle) | Aucun ancien paquet npm n'a été publié |
32
32
  | CLI | `dsh-coding-oauth` | `dsh-grok-build` |
33
33
  | Cordis plugin id | `llm-grok-build-oauth` | inchangé |
34
34
  | API HTTP des réglages | `/plugins/dsh-grok-build/*` | inchangé |
@@ -77,7 +77,7 @@ Ce sont les recherches et erreurs DSH qui mènent le plus souvent ici.
77
77
 
78
78
  ```bash
79
79
  # 1. installez le plugin dans le profil web (version actuelle npm)
80
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
81
81
 
82
82
  # 2. optionnel — Google Antigravity (version épinglée examinée)
83
83
  dsh plugin --profile web add dsh-agy@0.1.2
@@ -118,7 +118,7 @@ Nécessite DeepSeek Harness `0.1.1-rc.2` et Node.js 22.19+. Détails complets da
118
118
 
119
119
  ```bash
120
120
  # version actuelle npm (recommandé)
121
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
122
122
 
123
123
  # développement/alternatif : depuis GitHub
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
package/README.ja.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.7.0 · 旧名 `dsh-grok-build`
7
+ **v0.7.1 · 旧名 `dsh-grok-build`
8
8
 
9
9
  **DeepSeek Harness(dsh)のためのコーディングサブスクリプション OAuth プラグイン。** 支払い済みのサブスクリプションで一度きりのサインイン——その後は dsh の設定ページまたは CLI からそのモデルを使えます。**チャットにトークンを貼り付ける必要はありません。**
10
10
 
@@ -27,7 +27,7 @@
27
27
  | | これを使う | 互換 |
28
28
  |---|---|---|
29
29
  | GitHub / `dsh plugin add` | [`dsh-coding-subscription-oauth`](https://github.com/lninghaha/dsh-coding-subscription-oauth) | `github:lninghaha/dsh-grok-build`(同じ `main`) |
30
- | npm | `dsh-coding-subscription-oauth@0.7.0`(現在のリリース) | 旧 npm パッケージは公開されていない |
30
+ | npm | `dsh-coding-subscription-oauth@0.7.1`(現在のリリース) | 旧 npm パッケージは公開されていない |
31
31
  | CLI | `dsh-coding-oauth` | `dsh-grok-build` |
32
32
  | Cordis プラグイン id | `llm-grok-build-oauth` | 変更なし |
33
33
  | 設定ページ HTTP API | `/plugins/dsh-grok-build/*` | 変更なし |
@@ -77,7 +77,7 @@ DSH にコーディングサブスクを載せるとき、よく次の検索語
77
77
 
78
78
  ```bash
79
79
  # 1. web プロファイルにプラグインをインストール(現在の npm リリース)
80
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
81
81
 
82
82
  # 2. 任意 — Google Antigravity(レビュー済みの固定バージョン)
83
83
  dsh plugin --profile web add dsh-agy@0.1.2
@@ -118,7 +118,7 @@ DeepSeek Harness `0.1.1-rc.2` と Node.js 22.19+ が前提です。詳細は[イ
118
118
 
119
119
  ```bash
120
120
  # 現在の npm リリース(推奨)
121
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
122
122
 
123
123
  # 開発/代替:GitHub から
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
package/README.ko.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.7.0 · 이전 이름 `dsh-grok-build`
7
+ **v0.7.1 · 이전 이름 `dsh-grok-build`
8
8
 
9
9
  **[DeepSeek Harness](https://github.com/deepseek-ai/dsh)용 코딩 구독 OAuth 플러그인.** 이미 결제한 구독으로 한 번에 로그인하고, dsh 설정 페이지나 CLI에서 그 모델을 사용하세요. **채팅에 토큰을 붙여넣을 필요가 없습니다.**
10
10
 
@@ -27,7 +27,7 @@
27
27
  | | 이것을 쓰세요 | 계속 동작 |
28
28
  |---|---|---|
29
29
  | GitHub / `dsh plugin add` | [`dsh-coding-subscription-oauth`](https://github.com/lninghaha/dsh-coding-subscription-oauth) | `github:lninghaha/dsh-grok-build`(같은 `main`) |
30
- | npm | `dsh-coding-subscription-oauth@0.7.0`(현재 릴리스) | 레거시 npm 패키지는 게시된 적 없음 |
30
+ | npm | `dsh-coding-subscription-oauth@0.7.1`(현재 릴리스) | 레거시 npm 패키지는 게시된 적 없음 |
31
31
  | CLI | `dsh-coding-oauth` | `dsh-grok-build` |
32
32
  | Cordis 플러그인 id | `llm-grok-build-oauth` | 그대로 |
33
33
  | 설정 페이지 HTTP API | `/plugins/dsh-grok-build/*` | 그대로 |
@@ -77,7 +77,7 @@
77
77
 
78
78
  ```bash
79
79
  # 1. web 프로필에 플러그인 설치 (현재 npm 릴리스)
80
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
81
81
 
82
82
  # 2. 선택 사항 — Google Antigravity (검증된 고정 버전)
83
83
  dsh plugin --profile web add dsh-agy@0.1.2
@@ -118,7 +118,7 @@ DeepSeek Harness `0.1.1-rc.2` 및 Node.js 22.19+가 필요합니다. 자세한
118
118
 
119
119
  ```bash
120
120
  # 현재 npm 릴리스 (권장)
121
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
122
122
 
123
123
  # 개발/대안: GitHub에서
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.7.0** · formerly `dsh-grok-build`
7
+ **v0.7.1** · formerly `dsh-grok-build`
8
8
 
9
9
  **Coding-subscription OAuth for [DeepSeek Harness](https://github.com/deepseek-ai/dsh).** Use SuperGrok / X Premium (Grok Build), ChatGPT Plus/Pro (Codex), Kimi Code, Claude Pro/Max and Google Antigravity inside DSH — without a second API-key bill and **without pasting any token into chat.**
10
10
 
@@ -27,7 +27,7 @@ Published first as **`dsh-grok-build`** when it only covered Grok Build. The cur
27
27
 
28
28
  | | Use this | Still works |
29
29
  |---|---|---|
30
- | npm (recommended) | Current release is `0.7.0`: `dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0` | No legacy npm package was published |
30
+ | npm (recommended) | Current release is `0.7.1`: `dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1` | No legacy npm package was published |
31
31
  | GitHub / development | [`dsh-coding-subscription-oauth`](https://github.com/lninghaha/dsh-coding-subscription-oauth) | Previous GitHub repo `dsh-grok-build` was removed |
32
32
  | CLI | `dsh-coding-oauth` | `dsh-grok-build` |
33
33
  | Cordis plugin id | `llm-grok-build-oauth` | unchanged |
@@ -81,7 +81,7 @@ Grok Build device login, live `/v1/models-v2` and Responses streaming are verifi
81
81
 
82
82
  ```bash
83
83
  # 1. install the current npm release into the web profile
84
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
84
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
85
85
 
86
86
  # 2. optional — Google Antigravity (pinned, reviewed version)
87
87
  dsh plugin --profile web add dsh-agy@0.1.2
@@ -118,11 +118,11 @@ Then open **Settings → Coding OAuth** and sign in to any provider. Done — pi
118
118
 
119
119
  ## Install
120
120
 
121
- Requires DeepSeek Harness `0.1.1-rc.2` (verified BOM) and Node.js 22.19+. Unverified candidates such as `0.1.5-rc.1` are recorded in `compatibility/dsh-bom.json` only — see [INSTALL.md](INSTALL.md).
121
+ Requires DeepSeek Harness `0.1.1-rc.2` (verified BOM) and Node.js 22.19+. Unverified candidates such as `0.1.5-rc.1` are recorded in `compatibility/dsh-bom.json` only — see [INSTALL.md](INSTALL.md). OAuth profiles initialize an empty `modelErrors` map so candidate hosts do not crash on model resolution (`#38`).
122
122
 
123
123
  ```bash
124
124
  # current npm release
125
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
125
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
126
126
 
127
127
  # development / alternative: from GitHub
128
128
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
package/README.pt-BR.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.7.0 · antigo `dsh-grok-build`
7
+ **v0.7.1 · antigo `dsh-grok-build`
8
8
 
9
9
  **Plugin de OAuth para assinaturas de codificação do [DeepSeek Harness](https://github.com/deepseek-ai/dsh).** Entre com as assinaturas que você já paga — depois use os modelos delas a partir da página de configurações do dsh ou da CLI. **Nenhum token colado no chat.**
10
10
 
@@ -28,7 +28,7 @@ O projeto começou como **`dsh-grok-build`** (só Grok Build). Agora cobre Super
28
28
  | | Use isto | Ainda funciona |
29
29
  |---|---|---|
30
30
  | GitHub / `dsh plugin add` | [`dsh-coding-subscription-oauth`](https://github.com/lninghaha/dsh-coding-subscription-oauth) | `github:lninghaha/dsh-grok-build` (mesmo `main`) |
31
- | npm | `dsh-coding-subscription-oauth@0.7.0` (versão atual) | Nenhum pacote npm legado foi publicado |
31
+ | npm | `dsh-coding-subscription-oauth@0.7.1` (versão atual) | Nenhum pacote npm legado foi publicado |
32
32
  | CLI | `dsh-coding-oauth` | `dsh-grok-build` |
33
33
  | Cordis plugin id | `llm-grok-build-oauth` | inalterado |
34
34
  | API HTTP das configurações | `/plugins/dsh-grok-build/*` | inalterado |
@@ -77,7 +77,7 @@ Estas são as buscas e erros do DSH que costumam trazer as pessoas até aqui.
77
77
 
78
78
  ```bash
79
79
  # 1. instale o plugin no perfil web (versão atual do npm)
80
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
81
81
 
82
82
  # 2. opcional — Google Antigravity (versão fixa revisada)
83
83
  dsh plugin --profile web add dsh-agy@0.1.2
@@ -118,7 +118,7 @@ Requer DeepSeek Harness `0.1.1-rc.2` e Node.js 22.19+. Detalhes completos nas [n
118
118
 
119
119
  ```bash
120
120
  # versão atual do npm (recomendado)
121
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
122
122
 
123
123
  # desenvolvimento/alternativo: do GitHub
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
package/README.ru.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.7.0 · ранее `dsh-grok-build`
7
+ **v0.7.1 · ранее `dsh-grok-build`
8
8
 
9
9
  **Плагин OAuth для подписок на кодинг для [DeepSeek Harness](https://github.com/deepseek-ai/dsh).** Войдите один раз по уже оплаченным подпискам — и используйте их модели из страницы настроек или CLI dsh. **Никаких вставленных токенов в чат.**
10
10
 
@@ -28,7 +28,7 @@
28
28
  | | Используйте | По-прежнему работает |
29
29
  |---|---|---|
30
30
  | GitHub / `dsh plugin add` | [`dsh-coding-subscription-oauth`](https://github.com/lninghaha/dsh-coding-subscription-oauth) | `github:lninghaha/dsh-grok-build` (тот же `main`) |
31
- | npm | `dsh-coding-subscription-oauth@0.7.0` (текущая версия) | Старого npm-пакета не было |
31
+ | npm | `dsh-coding-subscription-oauth@0.7.1` (текущая версия) | Старого npm-пакета не было |
32
32
  | CLI | `dsh-coding-oauth` | `dsh-grok-build` |
33
33
  | Cordis plugin id | `llm-grok-build-oauth` | без изменений |
34
34
  | HTTP API страницы настроек | `/plugins/dsh-grok-build/*` | без изменений |
@@ -77,7 +77,7 @@
77
77
 
78
78
  ```bash
79
79
  # 1. установите текущую npm-версию в web-профиль
80
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
81
81
 
82
82
  # 2. опционально — Google Antigravity (зафиксированная проверенная версия)
83
83
  dsh plugin --profile web add dsh-agy@0.1.2
@@ -118,7 +118,7 @@ dsh plugin --profile web add dsh-agy@0.1.2
118
118
 
119
119
  ```bash
120
120
  # текущая npm-версия (рекомендуется)
121
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
122
122
 
123
123
  # разработка/альтернатива: из GitHub
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
package/README.zh-CN.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.7.0** · 原名 `dsh-grok-build`
7
+ **v0.7.1** · 原名 `dsh-grok-build`
8
8
 
9
9
  **面向 [DeepSeek Harness](https://github.com/deepseek-ai/dsh) 的编码订阅 OAuth 插件。** 把 SuperGrok / X Premium(Grok Build)、ChatGPT Plus/Pro(Codex)、Kimi Code、Claude Pro/Max 和 Google Antigravity 接到 DSH——不必再开一份按量 API-key,**也不要把 token 粘贴进聊天。**
10
10
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  ---
19
19
 
20
- > **升级:** 按 [`INSTALL.md`](INSTALL.md) 的版本化步骤操作。`0.7.0` 继续将共享 dispatcher runtime 固定为 `dsh-coding-oauth-core@0.1.2` 与 `undici@7.29.0`,并将 Gateway key 的 reveal/rotate 限制为 loopback 访问;无需迁移配置、凭据、数据或路由。Grok Imagine 保留显式 pinned dispatcher。`0.6.2` 及之后版本已包含严格 Cordis 注入启动修复并正式支持 DSH `0.1.1-rc.2`;保留 profile、配置和凭据文件,更新后再重启一次现有 DSH Web 进程。
20
+ > **升级:** 按 [`INSTALL.md`](INSTALL.md) 的版本化步骤操作。`0.7.1` 在 `0.7.0` 基础上修复 DSH `0.1.5-rc.1` 的 `modelErrors` 崩溃;继续将共享 dispatcher runtime 固定为 `dsh-coding-oauth-core@0.1.2` 与 `undici@7.29.0`,并将 Gateway key 的 reveal/rotate 限制为 loopback 访问;无需迁移配置、凭据、数据或路由。Grok Imagine 保留显式 pinned dispatcher。`0.6.2` 及之后版本已包含严格 Cordis 注入启动修复并正式支持 DSH `0.1.1-rc.2`;保留 profile、配置和凭据文件,更新后再重启一次现有 DSH Web 进程。
21
21
 
22
22
  ---
23
23
 
@@ -27,7 +27,7 @@
27
27
 
28
28
  | | 请用这个 | 仍然可用 |
29
29
  |---|---|---|
30
- | npm(推荐) | 当前版本是 `0.7.0`:`dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0` | 没有发布过旧 npm 包 |
30
+ | npm(推荐) | 当前版本是 `0.7.1`:`dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1` | 没有发布过旧 npm 包 |
31
31
  | GitHub / 开发安装 | [`dsh-coding-subscription-oauth`](https://github.com/lninghaha/dsh-coding-subscription-oauth) | 旧仓库 `dsh-grok-build` 已删除 |
32
32
  | CLI | `dsh-coding-oauth` | `dsh-grok-build` |
33
33
  | Cordis 插件 id | `llm-grok-build-oauth` | 不变 |
@@ -79,7 +79,7 @@
79
79
 
80
80
  ```bash
81
81
  # 1. 安装当前 npm 发布版到 web profile
82
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
82
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
83
83
 
84
84
  # 2. 可选 —— Google Antigravity(固定审核过的版本)
85
85
  dsh plugin --profile web add dsh-agy@0.1.2
@@ -116,11 +116,11 @@ dsh plugin --profile web add dsh-agy@0.1.2
116
116
 
117
117
  ## 安装
118
118
 
119
- 需要 DeepSeek Harness `0.1.1-rc.2`(已验证 BOM)与 Node.js 22.19+。`0.1.5-rc.1` 等未验证候选仅记在 `compatibility/dsh-bom.json`,完整细节见[安装说明](INSTALL.md)。
119
+ 需要 DeepSeek Harness `0.1.1-rc.2`(已验证 BOM)与 Node.js 22.19+。`0.1.5-rc.1` 等未验证候选仅记在 `compatibility/dsh-bom.json`,完整细节见[安装说明](INSTALL.md)。OAuth profile 会初始化空的 `modelErrors`,避免候选宿主模型解析时对 undefined 调用 `.get`(`#38`)。
120
120
 
121
121
  ```bash
122
122
  # 当前 npm 版本
123
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0
123
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1
124
124
 
125
125
  # 开发 / 备用:从 GitHub 安装
126
126
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -122,7 +122,7 @@ This project does not replicate the private Google Antigravity protocol. The pro
122
122
 
123
123
  ## 6. Compatibility
124
124
 
125
- The canonical package and repository name is **`dsh-coding-subscription-oauth`**. The previous GitHub URL still resolves to the same `main`, so old `dsh plugin add github:lninghaha/dsh-grok-build` commands continue to install the renamed package. The first public npm/GitHub Release was **`0.4.1`**. The current release is **`0.7.0`** (`dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0`), verified against DSH **`0.1.1-rc.2`**. `0.1.5-rc.1` is recorded only as an unverified BOM candidate; client inject no longer requires `@deepseek-ai/dsh-client-runtime` (absent on that candidate). GitHub and local tarball installs remain valid.
125
+ The canonical package and repository name is **`dsh-coding-subscription-oauth`**. The previous GitHub URL still resolves to the same `main`, so old `dsh plugin add github:lninghaha/dsh-grok-build` commands continue to install the renamed package. The first public npm/GitHub Release was **`0.4.1`**. The current release is **`0.7.1`** (`dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1`), verified against DSH **`0.1.1-rc.2`**. `0.1.5-rc.1` is recorded only as an unverified BOM candidate; client inject no longer requires `@deepseek-ai/dsh-client-runtime` (absent on that candidate). GitHub and local tarball installs remain valid.
126
126
 
127
127
  Stable on-disk / in-process identifiers (do not rename without a migration):
128
128
 
@@ -122,7 +122,7 @@ POST /plugins/dsh-grok-build/gateway/rotate
122
122
 
123
123
  ## 6. 兼容性
124
124
 
125
- 正式包名与仓库名是 **`dsh-coding-subscription-oauth`**。旧 GitHub 地址仍指向同一条 `main`,因此旧的 `dsh plugin add github:lninghaha/dsh-grok-build` 仍会安装更名后的包。第一次公开 npm / GitHub Release 是 **`0.4.1`**。当前版本是 **`0.7.0`**(`dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.0`),精确验证 DSH **`0.1.1-rc.2`**。`0.1.5-rc.1` 仅作为未验证 BOM 候选记录;客户端 inject 不再要求 `@deepseek-ai/dsh-client-runtime`(该候选宿主上不存在此包)。GitHub 与本地 tarball 安装仍然有效。
125
+ 正式包名与仓库名是 **`dsh-coding-subscription-oauth`**。旧 GitHub 地址仍指向同一条 `main`,因此旧的 `dsh plugin add github:lninghaha/dsh-grok-build` 仍会安装更名后的包。第一次公开 npm / GitHub Release 是 **`0.4.1`**。当前版本是 **`0.7.1`**(`dsh plugin --profile web add dsh-coding-subscription-oauth@0.7.1`),精确验证 DSH **`0.1.1-rc.2`**。`0.1.5-rc.1` 仅作为未验证 BOM 候选记录;客户端 inject 不再要求 `@deepseek-ai/dsh-client-runtime`(该候选宿主上不存在此包)。GitHub 与本地 tarball 安装仍然有效。
126
126
 
127
127
  以下标识保持稳定(无迁移方案前不要改名):
128
128
 
@@ -1 +1 @@
1
- {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../src/adapter.ts"],"names":[],"mappings":"AAAA,wFAAwF;AAExF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,KAAK,UAAU,EAAgC,MAAM,sBAAsB,CAAC;AAErF,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAkBzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAuDrD,uEAAuE;AACvE,wBAAgB,uBAAuB,CAAC,MAAM,GAAE,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAA8B,GAAG,MAAM,CAE7G;AA+DD,4EAA4E;AAC5E,wBAAgB,sBAAsB,CACrC,OAAO,EAAE,gBAAgB,EACzB,kBAAkB,EAAE,MAAM,eAAe,GAAG,SAAS,GACnD,WAAW,CAiBb;AAED,0FAA0F;AAC1F,MAAM,WAAW,yBAAyB;IACzC,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,SAAS,CAAC,EAAE;QAAE,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACrD;AAwBD,iFAAiF;AACjF,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,gBAAgB,EACtB,aAAa,EAAE,SAAS,oBAAoB,EAAE,EAC9C,kBAAkB,EAAE,MAAM,eAAe,GAAG,SAAS,EACrD,WAAW,CAAC,EAAE,iBAAiB,EAC/B,OAAO,CAAC,EAAE,yBAAyB,GACjC,UAAU,CAAC;AACd,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,gBAAgB,EACtB,aAAa,EAAE,SAAS,oBAAoB,EAAE,EAC9C,kBAAkB,EAAE,MAAM,eAAe,GAAG,SAAS,EACrD,OAAO,CAAC,EAAE,yBAAyB,GACjC,UAAU,CAAC"}
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../src/adapter.ts"],"names":[],"mappings":"AAAA,wFAAwF;AAExF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAAE,KAAK,UAAU,EAAgC,MAAM,sBAAsB,CAAC;AAErF,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAkBzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAuDrD,uEAAuE;AACvE,wBAAgB,uBAAuB,CAAC,MAAM,GAAE,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAA8B,GAAG,MAAM,CAE7G;AAiED,4EAA4E;AAC5E,wBAAgB,sBAAsB,CACrC,OAAO,EAAE,gBAAgB,EACzB,kBAAkB,EAAE,MAAM,eAAe,GAAG,SAAS,GACnD,WAAW,CAiBb;AAED,0FAA0F;AAC1F,MAAM,WAAW,yBAAyB;IACzC,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,SAAS,CAAC,EAAE;QAAE,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACrD;AAwBD,iFAAiF;AACjF,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,gBAAgB,EACtB,aAAa,EAAE,SAAS,oBAAoB,EAAE,EAC9C,kBAAkB,EAAE,MAAM,eAAe,GAAG,SAAS,EACrD,WAAW,CAAC,EAAE,iBAAiB,EAC/B,OAAO,CAAC,EAAE,yBAAyB,GACjC,UAAU,CAAC;AACd,wBAAgB,wBAAwB,CACvC,IAAI,EAAE,gBAAgB,EACtB,aAAa,EAAE,SAAS,oBAAoB,EAAE,EAC9C,kBAAkB,EAAE,MAAM,eAAe,GAAG,SAAS,EACrD,OAAO,CAAC,EAAE,yBAAyB,GACjC,UAAU,CAAC"}