dsh-coding-subscription-oauth 0.6.3 → 0.6.5

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.
Files changed (127) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/CONTRIBUTING.md +13 -4
  3. package/INSTALL.md +7 -5
  4. package/README.de.md +6 -6
  5. package/README.es.md +6 -6
  6. package/README.fr.md +6 -6
  7. package/README.ja.md +6 -6
  8. package/README.ko.md +6 -6
  9. package/README.md +6 -6
  10. package/README.pt-BR.md +6 -6
  11. package/README.ru.md +6 -6
  12. package/README.zh-CN.md +6 -6
  13. package/docs/00-project-rules.md +4 -4
  14. package/docs/02-architecture.md +7 -3
  15. package/docs/02-architecture.zh-CN.md +7 -3
  16. package/lib/bin.js +1333 -569
  17. package/lib/bin.js.map +4 -4
  18. package/lib/client.js +1 -1
  19. package/lib/client.js.map +2 -2
  20. package/lib/gateway-protocol.d.ts +3 -46
  21. package/lib/gateway-protocol.d.ts.map +1 -1
  22. package/lib/gateway-routes.d.ts.map +1 -1
  23. package/lib/grok-errors.d.ts +2 -12
  24. package/lib/grok-errors.d.ts.map +1 -1
  25. package/lib/grok-imagine/client.d.ts +73 -0
  26. package/lib/grok-imagine/client.d.ts.map +1 -0
  27. package/lib/grok-imagine/index.d.ts +8 -0
  28. package/lib/grok-imagine/index.d.ts.map +1 -0
  29. package/lib/grok-imagine/net.d.ts +10 -0
  30. package/lib/grok-imagine/net.d.ts.map +1 -0
  31. package/lib/grok-imagine/parse.d.ts +20 -0
  32. package/lib/grok-imagine/parse.d.ts.map +1 -0
  33. package/lib/grok-imagine/types.d.ts +191 -0
  34. package/lib/grok-imagine/types.d.ts.map +1 -0
  35. package/lib/grok-imagine.d.ts +3 -263
  36. package/lib/grok-imagine.d.ts.map +1 -1
  37. package/lib/http-json.d.ts +2 -9
  38. package/lib/http-json.d.ts.map +1 -1
  39. package/lib/index.js +1395 -26178
  40. package/lib/index.js.map +4 -4
  41. package/lib/kimi-errors.d.ts +2 -12
  42. package/lib/kimi-errors.d.ts.map +1 -1
  43. package/lib/runtime/gateway-protocol.d.ts +47 -0
  44. package/lib/runtime/gateway-protocol.d.ts.map +1 -0
  45. package/lib/runtime/grok-errors.d.ts +13 -0
  46. package/lib/runtime/grok-errors.d.ts.map +1 -0
  47. package/lib/runtime/http-json.d.ts +10 -0
  48. package/lib/runtime/http-json.d.ts.map +1 -0
  49. package/lib/runtime/kimi-errors.d.ts +13 -0
  50. package/lib/runtime/kimi-errors.d.ts.map +1 -0
  51. package/package.json +12 -7
  52. package/scripts/release.mjs +1 -0
  53. package/src/adapter.ts +0 -348
  54. package/src/alias-adapter.ts +0 -147
  55. package/src/auth-routes.ts +0 -921
  56. package/src/auth.ts +0 -67
  57. package/src/bin.ts +0 -350
  58. package/src/capability-routes.ts +0 -279
  59. package/src/capability-runtime.ts +0 -314
  60. package/src/capability-settings.ts +0 -671
  61. package/src/capability-tools.ts +0 -685
  62. package/src/catalog.ts +0 -271
  63. package/src/client/GrokBuildSettings.tsx +0 -771
  64. package/src/client/api.ts +0 -88
  65. package/src/client/components/AboutTab.tsx +0 -30
  66. package/src/client/components/AccountsTab.tsx +0 -241
  67. package/src/client/components/Badge.tsx +0 -33
  68. package/src/client/components/CapabilitiesTab.tsx +0 -265
  69. package/src/client/components/CliPullPreview.tsx +0 -116
  70. package/src/client/components/CopyButton.tsx +0 -57
  71. package/src/client/components/GatewayTab.tsx +0 -469
  72. package/src/client/components/NoticeBanner.tsx +0 -46
  73. package/src/client/components/ProgressBar.tsx +0 -53
  74. package/src/client/components/ProviderCard.tsx +0 -606
  75. package/src/client/components/SettingsTabs.tsx +0 -75
  76. package/src/client/components/ToggleSwitch.tsx +0 -71
  77. package/src/client/constants.ts +0 -230
  78. package/src/client/display.ts +0 -61
  79. package/src/client/dshClientAdapter.ts +0 -127
  80. package/src/client/gatewaySnippets.ts +0 -37
  81. package/src/client/index.tsx +0 -156
  82. package/src/client/locales.ts +0 -540
  83. package/src/client/microStyles.ts +0 -52
  84. package/src/client/parsers.ts +0 -398
  85. package/src/client/styles.ts +0 -325
  86. package/src/client/types.ts +0 -199
  87. package/src/codex-http.ts +0 -447
  88. package/src/codex-images.ts +0 -503
  89. package/src/codex-model-capabilities.ts +0 -320
  90. package/src/codex-search.ts +0 -245
  91. package/src/codex-usage.ts +0 -263
  92. package/src/compatibility.ts +0 -55
  93. package/src/dsh-host-adapter.ts +0 -173
  94. package/src/gateway-anthropic-messages.ts +0 -84
  95. package/src/gateway-auth.ts +0 -102
  96. package/src/gateway-backend.ts +0 -274
  97. package/src/gateway-body.ts +0 -49
  98. package/src/gateway-config.ts +0 -76
  99. package/src/gateway-http.ts +0 -104
  100. package/src/gateway-openai-chat.ts +0 -124
  101. package/src/gateway-openai-responses.ts +0 -53
  102. package/src/gateway-parse.ts +0 -224
  103. package/src/gateway-protocol.ts +0 -52
  104. package/src/gateway-routes.ts +0 -158
  105. package/src/gateway.ts +0 -258
  106. package/src/grok-errors.ts +0 -24
  107. package/src/grok-imagine.ts +0 -1627
  108. package/src/grok-import.ts +0 -151
  109. package/src/http-json.ts +0 -82
  110. package/src/ids.ts +0 -59
  111. package/src/imagine-routes.ts +0 -463
  112. package/src/index.ts +0 -735
  113. package/src/invariant.ts +0 -17
  114. package/src/kimi-errors.ts +0 -26
  115. package/src/media-store.ts +0 -927
  116. package/src/oauth-import-routes.ts +0 -324
  117. package/src/oauth-providers.ts +0 -152
  118. package/src/oauth-session.ts +0 -183
  119. package/src/oauth-sources.ts +0 -1104
  120. package/src/oauth.ts +0 -620
  121. package/src/provider.ts +0 -128
  122. package/src/proxy.ts +0 -11
  123. package/src/redact.ts +0 -72
  124. package/src/session.ts +0 -218
  125. package/src/store.ts +0 -217
  126. package/src/web-origin.ts +0 -296
  127. package/src/web-routes.ts +0 -38
package/CHANGELOG.md CHANGED
@@ -4,6 +4,39 @@ All notable changes to `dsh-coding-subscription-oauth` are documented here, foll
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ### Changed
8
+
9
+ - Mirror Hub’s first shared-runtime extract (`http-json`, `grok-errors`, `kimi-errors`, `gateway-protocol`) under `vendor/runtime-slice/` with build copies in `src/runtime/` and thin facades at the historical module paths. Add `pnpm run assert:runtime-slice` with `SYNC_HASHES.json` so isolated CI can verify the mirror without a Hub checkout; when Hub is present the script also compares live Hub files.
10
+
11
+ ### Documentation
12
+
13
+ - Document the temporary runtime-slice mirror and the planned drop after the next core npm release in `docs/02-architecture.md` / `docs/02-architecture.zh-CN.md`.
14
+
15
+ ## v0.6.5 - 2026-09-02
16
+
17
+ ### Fixed
18
+
19
+ - Restrict gateway key reveal/rotate to `accessMode === "loopback"`, matching the Settings UI which already hides those controls on ssh-tunnel and trusted-https-proxy.
20
+
21
+ ### Changed
22
+
23
+ - Stop shipping `src/` in the npm `files` allowlist. Runtime remains the generated `lib/` bundle.
24
+ - Add `.nvmrc`, `pnpm run assert:node`, `release:inspect`, and `release:publish`. Cloud Agent verification is `pnpm run check` with optional Docker.
25
+
26
+ ### Documentation
27
+
28
+ - Add `AGENTS.md` (cloud environment as the primary path; Docker optional; isolated `DSH_HOME`; operator-only npm publish).
29
+ - Align `CONTRIBUTING.md` and `docs/00-project-rules.md` so contributors are not Docker-only; Cursor Cloud / isolated `DSH_HOME` is the primary verification path.
30
+ - Localize community README upgrade banners (ja/ko/pt-BR/es/fr/de/ru) so they are not English-only under bilingual headings, keeping Cordis fix in `0.6.2+` and DSH `0.1.1-rc.2` facts accurate.
31
+
32
+ ## v0.6.4 - 2026-08-29
33
+
34
+ - Pin Subscription, its shared core dependency, and both production/development dispatcher dependencies to `undici@7.29.0` with `dsh-coding-oauth-core@0.1.1`, preventing a co-installed Undici major split while preserving the proxy-store ABI and Grok Imagine's explicit pinned dispatcher.
35
+
36
+ ### Documentation
37
+
38
+ - Correct the README upgrade callout so Cordis/DSH `0.1.1-rc.2` support is attributed to `0.6.2+`, and name `0.6.3` for default-off `codexImagesAnyModel`; add the any-model route-gate boundary sentence across README translations and an `INSTALL.md` `0.6.2` → `0.6.3` upgrade note.
39
+
7
40
  ## v0.6.3 - 2026-08-28
8
41
 
9
42
  ### Added
package/CONTRIBUTING.md CHANGED
@@ -9,7 +9,16 @@ Welcome! `dsh-coding-subscription-oauth` is an open-source coding-subscription O
9
9
 
10
10
  ## Getting started
11
11
 
12
- Development verification for this plugin runs only in an isolated Docker build sandbox; do not run installs, builds, tests, typechecks, linters or package checks directly on a shared developer host. The tracked `Dockerfile` copies the filtered source into the image (never credentials), downloads dependencies in a dedicated stage, then runs project code with `--network=none`. Do not use privileged mode, credential or host-directory bind mounts, or the Docker socket. Tests use no published ports. The narrowly controlled interactive Web preview below is the only port-publishing exception; host networking remains prohibited unless its documented fallback conditions are all met.
12
+ Primary verification is `pnpm run check` on Node matching `.nvmrc` (Cursor Cloud or an isolated checkout). Do not install into a shared operator DSH profile; use `export DSH_HOME=/tmp/dsh-verify-*` (or `$HOME/.dsh-cloud`) for plugin smoke tests.
13
+
14
+ Docker sandbox targets remain available for CI and for contributors who prefer a hermetic build. The tracked `Dockerfile` copies the filtered source into the image (never credentials), downloads dependencies in a dedicated stage, then runs project code with `--network=none`. Do not use privileged mode, credential or host-directory bind mounts, or the Docker socket. Tests use no published ports. The narrowly controlled interactive Web preview below is the only port-publishing exception; host networking remains prohibited unless its documented fallback conditions are all met.
15
+
16
+ ```bash
17
+ pnpm install --frozen-lockfile
18
+ pnpm run check
19
+ ```
20
+
21
+ Optional Docker:
13
22
 
14
23
  ```bash
15
24
  docker build --target check --build-arg NODE_VERSION=22.19.0 \
@@ -54,7 +63,7 @@ This repo also ships a Grok Build CLI (`dsh-coding-oauth`, legacy `dsh-grok-buil
54
63
  1. Open an issue describing the change (or link an existing one) so scope is agreed first.
55
64
  2. Branch from the default branch. Keep commits atomic and conventional — see **Commits & pushes** below.
56
65
  3. When you change a capability or add a doc, update `README.md` (and the community translations added in `docs/00-project-rules.md` §2 if user-facing) and the relevant entries in `docs/` (public layer), **and** add a changelog entry under `Unreleased` in `CHANGELOG.md`.
57
- 4. Build the Docker `check` and `verify` targets until green, then commit that passing slice promptly (do not stack later work on an uncommitted green tree).
66
+ 4. Run `pnpm run check` until green (or the Docker `check` / `verify` targets if you prefer a hermetic sandbox), then commit that passing slice promptly (do not stack later work on an uncommitted green tree).
58
67
  5. Push the branch as a version/milestone checkpoint and open a PR. Describe what changed and how it was verified. Keep the scope of local-only docs (`docs/local/`) out of the PR unless you are a maintainer doing internal investigation.
59
68
 
60
69
  ## Commits & pushes
@@ -79,7 +88,7 @@ History is part of the review. The maintainer counterpart — tags, clean-tree r
79
88
 
80
89
  ### Before you commit
81
90
 
82
- - Build the relevant Docker targets (`check`, then `verify`) and wait until green. Do not commit a failing tree.
91
+ - Run `pnpm run check` (or the Docker `check` then `verify` targets) and wait until green. Do not commit a failing tree.
83
92
  - Commit promptly once checks pass — do not leave a finished, verified change sitting uncommitted next to later work.
84
93
  - Generated `lib/` is a committed release artifact (git installs + the CI `git diff --exit-code -- lib` drift gate). Rebuild it and include it in the **same** commit as the source or build-script change that produced it. Do not land stale `lib/` against newer `src/`, and do not land a `lib/`-only commit unless the only change is a verified rebuild with no source delta.
85
94
  - Never commit secrets, tokens, credentials, private keys, `.env` files, host-specific paths, or local-only notes (`docs/local/`, `reference/`). See `docs/00-project-rules.md` §0.3.
@@ -110,7 +119,7 @@ the workflow never publishes a second copy. A missing version or mismatched
110
119
 
111
120
  The plugin verifies an exact DeepSeek Harness BOM (`compatibility/dsh-bom.json`). A new DSH rc/stable is **unverified by default**, and lifecycle drift has broken activation before (#17), so run this checklist before moving the pin — in order, stopping at the first failure:
112
121
 
113
- 1. **Sandbox first.** Edit the hardcoded `@deepseek-ai/dsh@0.1.1-rc.2` pin in `Dockerfile` (`dsh-installed` / `rc2-compatibility` stages — there is no build-arg) to the candidate DSH version, then build those targets green. This catches activation/lifecycle breakage without touching a real profile.
122
+ 1. **Sandbox or isolated cloud first.** Prefer `pnpm run check` on Node matching `.nvmrc` in Cursor Cloud / an isolated `DSH_HOME`. Docker remains optional: edit the hardcoded `@deepseek-ai/dsh@0.1.1-rc.2` pin in `Dockerfile` (`dsh-installed` / `rc2-compatibility` stages — there is no build-arg) to the candidate DSH version, then build those targets green. This catches activation/lifecycle breakage without touching a real profile.
114
123
  2. **Real profile install (maintainer machine).** Install the candidate tarball into an existing `dsh web` profile and restart that process once; the plugin must activate with only `webServer` required and no Cordis injection failures in the logs.
115
124
  3. **Settings surface.** Settings → Coding OAuth renders all four tabs (Accounts / Gateway / Capabilities / About).
116
125
  4. **Credentials survive.** Every previously signed-in provider card (Grok / Codex / Kimi / Claude) still shows signed-in — an upgrade must never migrate or reset OAuth credential files.
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.6.3
6
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
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.6.3
14
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
15
15
  dsh plugin --profile web update dsh-coding-subscription-oauth
16
16
  ```
17
17
 
@@ -26,7 +26,7 @@ dsh plugin --profile web update dsh-coding-subscription-oauth
26
26
 
27
27
  ```bash
28
28
  # 普通用户:当前 npm 发布版
29
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.3
29
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
30
30
 
31
31
  # 开发 / 备用:从 GitHub
32
32
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -44,8 +44,10 @@ dsh plugin --profile web add dsh-agy@0.1.2
44
44
 
45
45
  - 本版按 DSH `0.1.1-rc.2` 的精确兼容矩阵发布;生产环境应锁定已验证的 BOM,不要用 `*` 或未验证的宽泛 peer range。
46
46
  - 从 `0.6.0` 升级到 `0.6.2` 后再重启:`0.6.0` 在严格 Cordis 注入检查下可能因读取尚未注入的可选服务而拖垮插件树。这个补丁不迁移或重置 OAuth 凭据、Gateway、模型/适配器 ID 与缓存。
47
- - 在同一个 **web profile** 中先保证 `dsh-coding-oauth-core@0.1.0` 可从 npm 解析,再安装 Subscription `0.6.3`(以及需要的 `dsh-hub-oauth-gateway@1.10.0`)。Core 只是共享 npm 依赖,不是单独的 DSH 插件,用户不需要执行 `dsh plugin add dsh-coding-oauth-core`。
48
- - 共装 Hub 与 Subscription 时,先安装 `dsh-hub-oauth-gateway@1.10.0` Subscription `0.6.3`,完成后只重启一次现有 DSH Web 进程;Hub 提供完整用量中心,Subscription 显示紧凑状态入口。只升级 Subscription 仍可独立工作。
47
+ - `0.6.3` 升级到 `0.6.4`:统一固定 `dsh-coding-oauth-core@0.1.1` `undici@7.29.0`;无配置、凭据、数据或路由迁移。
48
+ - `0.6.4` 升级到 `0.6.5`:Gateway key reveal/rotate 仅限 `accessMode === "loopback"`(与 Settings UI 一致);无配置、凭据、数据或路由迁移。npm 包不再附带 `src/`,运行时仍为生成的 `lib/`。
49
+ - 在同一个 **web profile** 中先保证 `dsh-coding-oauth-core@0.1.1` 可从 npm 解析,再安装 Subscription `0.6.5`(以及需要的 `dsh-hub-oauth-gateway@1.11.1`)。Core 只是共享 npm 依赖,不是单独的 DSH 插件,用户不需要执行 `dsh plugin add dsh-coding-oauth-core`。
50
+ - 共装 Hub 与 Subscription 时,先安装 `dsh-hub-oauth-gateway@1.11.1` 与 Subscription `0.6.5`,完成后只重启一次现有 DSH Web 进程;Hub 提供完整用量中心,Subscription 显示紧凑状态入口。只升级 Subscription 仍可独立工作。
49
51
  - 升级会保留既有 Cordis id、OAuth 凭据文件、模型/适配器 ID、Gateway 配置和模型缓存;不要为了“清理旧版本”删除这些文件。若旧包名 `dsh-grok-build` 仍在 profile 中,只移除那条旧插件记录,再安装当前包,避免重复路由。
50
52
  - 回滚时恢复上一个插件版本并重启一次,保留凭据和配置;先查看兼容性诊断与失败原因,不要用清空凭据来代替回滚。
51
53
  - 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.6.3 · früher `dsh-grok-build`
7
+ **v0.6.5 · 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
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  ---
19
19
 
20
- > **Upgrade / 升级:** Follow the versioned steps in [`INSTALL.md`](INSTALL.md). Install into the existing `web` profile, keep profile/config/credential files, and restart one existing DSH Web process after all packages are updated. When Hub and Subscription are both used, `dsh-coding-oauth-core@0.1.0` is their shared npm dependency, not a separate DSH plugin.
20
+ > **Upgrade:** Folgen Sie den versionierten Schritten in [`INSTALL.md`](INSTALL.md). `0.6.5` behält die gemeinsame Dispatcher-Laufzeitumgebung bei `dsh-coding-oauth-core@0.1.1` und `undici@7.29.0` und beschränkt Reveal/Rotate des Gateway-Schlüssels auf Loopback-Zugriff; eine Migration von Konfiguration, Anmeldedaten, Daten oder Routen ist nicht erforderlich. Grok Imagine behält seinen explizit gepinnten Dispatcher. Releases ab `0.6.2` enthalten den strengen Cordis-Injection-Startfix und Unterstützung für DSH `0.1.1-rc.2`; behalten Sie Profil-/Konfigurations-/Anmeldedateien und starten Sie den bestehenden DSH-Web-Prozess nach dem Update nur einmal neu. Wenn Hub und Subscription zusammen genutzt werden, sind `dsh-coding-oauth-core@0.1.1` und `undici@7.29.0` ihr gemeinsamer Runtime-Pin, kein separates DSH-Plugin.
21
21
 
22
22
  ---
23
23
 
@@ -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.6.3` (aktuelle Version) | Es gab kein altes npm-Paket |
30
+ | npm | `dsh-coding-subscription-oauth@0.6.5` (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.6.3
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
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.6.3
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
122
122
 
123
123
  # Entwicklung/Alternativ: von GitHub
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -177,7 +177,7 @@ Der Wähler listet nur Routen, die die Authentifizierung abgeschlossen haben; ni
177
177
 
178
178
  ## Optionale Funktionen
179
179
 
180
- Die acht Schalter `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage` und `grokImagineVideo` sind standardmäßig aus und werden ohne Neustart live angewendet. Die Grenzwerte sind `searchResults` (1–20, Standard 5), `imageCount` (1–4, Standard 1) und `videoArtifactTtlMs` (1 Stunde–7 Tage, Standard 7 Tage; die Oberfläche zeigt 1–168 Stunden). Eine kürzere Aufbewahrung verkürzt und bereinigt vorhandene Artefakte sofort; eine Erhöhung gilt nur für neue Artefakte.
180
+ Die acht Schalter `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage` und `grokImagineVideo` sind standardmäßig aus und werden ohne Neustart live angewendet. `codexImagesAnyModel` lockert nur die Aufrufmodell-Routenbeschränkung; weiterhin erforderlich sind angemeldetes Codex, `codexImages` (und der Edits-Schalter für Bearbeitung) sowie Sitzungs-Anhangbesitz und Bearbeitungsautorisierung. Die Grenzwerte sind `searchResults` (1–20, Standard 5), `imageCount` (1–4, Standard 1) und `videoArtifactTtlMs` (1 Stunde–7 Tage, Standard 7 Tage; die Oberfläche zeigt 1–168 Stunden). Eine kürzere Aufbewahrung verkürzt und bereinigt vorhandene Artefakte sofort; eine Erhöhung gilt nur für neue Artefakte.
181
181
 
182
182
  ## Lokales API-Gateway
183
183
 
package/README.es.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.6.3 · antes `dsh-grok-build`
7
+ **v0.6.5 · 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
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  ---
19
19
 
20
- > **Upgrade / 升级:** Follow the versioned steps in [`INSTALL.md`](INSTALL.md). Install into the existing `web` profile, keep profile/config/credential files, and restart one existing DSH Web process after all packages are updated. When Hub and Subscription are both used, `dsh-coding-oauth-core@0.1.0` is their shared npm dependency, not a separate DSH plugin.
20
+ > **Actualización:** Siga los pasos versionados en [`INSTALL.md`](INSTALL.md). `0.6.5` mantiene el runtime del dispatcher compartido en `dsh-coding-oauth-core@0.1.1` y `undici@7.29.0`, y restringe reveal/rotate de la clave del Gateway al acceso loopback; no se requiere migración de configuración, credenciales, datos o rutas. Grok Imagine conserva su dispatcher pinned explícito. Las versiones desde `0.6.2` incluyen la corrección estricta de inyección Cordis al inicio y compatibilidad con DSH `0.1.1-rc.2`; conserve los archivos de profile/config/credenciales y reinicie el proceso DSH Web existente solo una vez tras actualizar. Cuando se usan Hub y Subscription juntos, `dsh-coding-oauth-core@0.1.1` con `undici@7.29.0` es su pin de runtime compartido, no un plugin DSH aparte.
21
21
 
22
22
  ---
23
23
 
@@ -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.6.3` (versión actual) | No se publicó un paquete npm legado |
31
+ | npm | `dsh-coding-subscription-oauth@0.6.5` (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.6.3
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
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.6.3
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
122
122
 
123
123
  # desarrollo/alternativo: desde GitHub
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -178,7 +178,7 @@ El selector solo lista rutas que completaron la autenticación; los proveedores
178
178
 
179
179
  ## Capacidades opcionales
180
180
 
181
- Los ocho controles `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage` y `grokImagineVideo` empiezan desactivados y se aplican en vivo, sin reinicio. Los límites son `searchResults` (1–20, predeterminado 5), `imageCount` (1–4, predeterminado 1) y `videoArtifactTtlMs` (1 hora–7 días, predeterminado 7 días; la interfaz muestra 1–168 horas). Reducir la retención acorta y limpia los artefactos existentes de inmediato; aumentarla solo afecta a los nuevos.
181
+ Los ocho controles `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage` y `grokImagineVideo` empiezan desactivados y se aplican en vivo, sin reinicio. `codexImagesAnyModel` solo relaja la restricción de ruta del modelo que llama; sigue exigiendo Codex con sesión iniciada, `codexImages` (y el interruptor de ediciones para editar) y conserva la propiedad de adjuntos de la sesión y la autorización de edición. Los límites son `searchResults` (1–20, predeterminado 5), `imageCount` (1–4, predeterminado 1) y `videoArtifactTtlMs` (1 hora–7 días, predeterminado 7 días; la interfaz muestra 1–168 horas). Reducir la retención acorta y limpia los artefactos existentes de inmediato; aumentarla solo afecta a los nuevos.
182
182
 
183
183
  ## Gateway de API local
184
184
 
package/README.fr.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.6.3 · anciennement `dsh-grok-build`
7
+ **v0.6.5 · 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
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  ---
19
19
 
20
- > **Upgrade / 升级:** Follow the versioned steps in [`INSTALL.md`](INSTALL.md). Install into the existing `web` profile, keep profile/config/credential files, and restart one existing DSH Web process after all packages are updated. When Hub and Subscription are both used, `dsh-coding-oauth-core@0.1.0` is their shared npm dependency, not a separate DSH plugin.
20
+ > **Mise à niveau :** Suivez les étapes versionnées dans [`INSTALL.md`](INSTALL.md). `0.6.5` conserve le runtime du dispatcher partagé sur `dsh-coding-oauth-core@0.1.1` et `undici@7.29.0`, et limite reveal/rotate de la clé Gateway à l'accès loopback ; aucune migration de configuration, d'identifiants, de données ou de routes n'est requise. Grok Imagine conserve son dispatcher pinned explicite. Les versions à partir de `0.6.2` incluent la correction stricte d'injection Cordis au démarrage et le support de DSH `0.1.1-rc.2` ; conservez les fichiers profile/config/identifiants et redémarrez une seule fois le processus DSH Web existant après la mise à jour. Lorsque Hub et Subscription sont utilisés ensemble, `dsh-coding-oauth-core@0.1.1` avec `undici@7.29.0` est leur pin de runtime partagé, pas un plugin DSH distinct.
21
21
 
22
22
  ---
23
23
 
@@ -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.6.3` (version actuelle) | Aucun ancien paquet npm n'a été publié |
31
+ | npm | `dsh-coding-subscription-oauth@0.6.5` (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.6.3
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
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.6.3
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
122
122
 
123
123
  # développement/alternatif : depuis GitHub
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -178,7 +178,7 @@ Le sélecteur ne liste que les routes ayant terminé l'authentification ; les fo
178
178
 
179
179
  ## Capacités optionnelles
180
180
 
181
- Les huit options `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage` et `grokImagineVideo` sont désactivées par défaut et s'appliquent à chaud, sans redémarrage. Les limites sont `searchResults` (1–20, défaut 5), `imageCount` (1–4, défaut 1) et `videoArtifactTtlMs` (1 heure–7 jours, défaut 7 jours ; l'interface affiche 1–168 heures). Réduire la rétention raccourcit et nettoie immédiatement les artefacts existants ; l'augmenter ne concerne que les nouveaux.
181
+ Les huit options `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage` et `grokImagineVideo` sont désactivées par défaut et s'appliquent à chaud, sans redémarrage. `codexImagesAnyModel` ne relâche que la contrainte de route du modèle appelant ; Codex connecté, `codexImages` (et le commutateur d'édition pour éditer), ainsi que la propriété des pièces jointes de session et l'autorisation d'édition restent requis. Les limites sont `searchResults` (1–20, défaut 5), `imageCount` (1–4, défaut 1) et `videoArtifactTtlMs` (1 heure–7 jours, défaut 7 jours ; l'interface affiche 1–168 heures). Réduire la rétention raccourcit et nettoie immédiatement les artefacts existants ; l'augmenter ne concerne que les nouveaux.
182
182
 
183
183
  ## Passerelle API locale
184
184
 
package/README.ja.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.6.3 · 旧名 `dsh-grok-build`
7
+ **v0.6.5 · 旧名 `dsh-grok-build`
8
8
 
9
9
  **DeepSeek Harness(dsh)のためのコーディングサブスクリプション OAuth プラグイン。** 支払い済みのサブスクリプションで一度きりのサインイン——その後は dsh の設定ページまたは CLI からそのモデルを使えます。**チャットにトークンを貼り付ける必要はありません。**
10
10
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  ---
19
19
 
20
- > **Upgrade / 升级:** Follow the versioned steps in [`INSTALL.md`](INSTALL.md). Install into the existing `web` profile, keep profile/config/credential files, and restart one existing DSH Web process after all packages are updated. When Hub and Subscription are both used, `dsh-coding-oauth-core@0.1.0` is their shared npm dependency, not a separate DSH plugin.
20
+ > **アップグレード:** [`INSTALL.md`](INSTALL.md) のバージョン別手順に従ってください。`0.6.5` は共有 dispatcher ランタイムを `dsh-coding-oauth-core@0.1.1` `undici@7.29.0` に維持し、Gateway キーの reveal/rotate loopback アクセスに限定します。設定・資格情報・データ・ルートの移行は不要です。Grok Imagine は明示的にピン留めされた dispatcher を維持します。`0.6.2` 以降のリリースには厳密な Cordis 注入起動修正と DSH `0.1.1-rc.2` 対応が含まれます。profile / 設定 / 資格情報ファイルはそのままにし、更新後に既存の DSH Web プロセスを一度だけ再起動してください。Hub Subscription を併用する場合、`dsh-coding-oauth-core@0.1.1` `undici@7.29.0` は共有ランタイムのピンであり、別の DSH プラグインではありません。
21
21
 
22
22
  ---
23
23
 
@@ -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.6.3`(現在のリリース) | 旧 npm パッケージは公開されていない |
30
+ | npm | `dsh-coding-subscription-oauth@0.6.5`(現在のリリース) | 旧 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.6.3
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
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.6.3
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
122
122
 
123
123
  # 開発/代替:GitHub から
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -178,7 +178,7 @@ pnpm run smoke:deployed # 実際の Codex/Kimi ツール呼び出し
178
178
 
179
179
  ## オプション機能
180
180
 
181
- 8 つのスイッチ `codexSearch`、`codexImages`、`codexImageEdits`、`codexImagesAnyModel`、`codexUsage`、`codexFast`、`grokImagineImage`、`grokImagineVideo` はすべて既定でオフで、変更は再起動なしで反映されます。数値設定は `searchResults`(1–20、既定 5)、`imageCount`(1–4、既定 1)、`videoArtifactTtlMs`(1 時間–7 日、既定 7 日、UI は 1–168 時間)です。保持期間を短くすると既存の成果物も直ちに短縮・削除され、長くした場合は以後の成果物にのみ適用されます。
181
+ 8 つのスイッチ `codexSearch`、`codexImages`、`codexImageEdits`、`codexImagesAnyModel`、`codexUsage`、`codexFast`、`grokImagineImage`、`grokImagineVideo` はすべて既定でオフで、変更は再起動なしで反映されます。`codexImagesAnyModel` は呼び出しモデルのルート制限のみを緩和します。引き続き Codex へのサインイン、`codexImages`(編集時は edits フラグ)、セッション添付の所有権と編集認可が必要です。数値設定は `searchResults`(1–20、既定 5)、`imageCount`(1–4、既定 1)、`videoArtifactTtlMs`(1 時間–7 日、既定 7 日、UI は 1–168 時間)です。保持期間を短くすると既存の成果物も直ちに短縮・削除され、長くした場合は以後の成果物にのみ適用されます。
182
182
 
183
183
  ## ローカル API ゲートウェイ
184
184
 
package/README.ko.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.6.3 · 이전 이름 `dsh-grok-build`
7
+ **v0.6.5 · 이전 이름 `dsh-grok-build`
8
8
 
9
9
  **[DeepSeek Harness](https://github.com/deepseek-ai/dsh)용 코딩 구독 OAuth 플러그인.** 이미 결제한 구독으로 한 번에 로그인하고, dsh 설정 페이지나 CLI에서 그 모델을 사용하세요. **채팅에 토큰을 붙여넣을 필요가 없습니다.**
10
10
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  ---
19
19
 
20
- > **Upgrade / 升级:** Follow the versioned steps in [`INSTALL.md`](INSTALL.md). Install into the existing `web` profile, keep profile/config/credential files, and restart one existing DSH Web process after all packages are updated. When Hub and Subscription are both used, `dsh-coding-oauth-core@0.1.0` is their shared npm dependency, not a separate DSH plugin.
20
+ > **업그레이드:** [`INSTALL.md`](INSTALL.md)의 버전별 단계를 따르세요. `0.6.5`는 공유 dispatcher 런타임을 `dsh-coding-oauth-core@0.1.1`과 `undici@7.29.0`으로 유지하고, Gateway 키 reveal/rotate를 loopback 접근으로 제한합니다. 설정·자격 증명·데이터·라우트 마이그레이션은 필요 없습니다. Grok Imagine은 명시적으로 고정된 dispatcher를 유지합니다. `0.6.2` 이후 릴리스에는 엄격한 Cordis 주입 시작 수정과 DSH `0.1.1-rc.2` 지원이 포함됩니다. profile/설정/자격 증명 파일은 유지하고, 업데이트 후 기존 DSH Web 프로세스를 한 번만 재시작하세요. Hub Subscription 함께 사용할 `dsh-coding-oauth-core@0.1.1`과 `undici@7.29.0`은 공유 런타임 핀이며 별도의 DSH 플러그인이 아닙니다.
21
21
 
22
22
  ---
23
23
 
@@ -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.6.3`(현재 릴리스) | 레거시 npm 패키지는 게시된 적 없음 |
30
+ | npm | `dsh-coding-subscription-oauth@0.6.5`(현재 릴리스) | 레거시 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.6.3
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
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.6.3
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
122
122
 
123
123
  # 개발/대안: GitHub에서
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -178,7 +178,7 @@ pnpm run smoke:deployed # 실제 Codex/Kimi 도구 호출 + 두 번
178
178
 
179
179
  ## 선택적 기능
180
180
 
181
- 8개 스위치 `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage`, `grokImagineVideo`는 모두 기본적으로 꺼져 있으며 재시작 없이 즉시 적용됩니다. 숫자 설정은 `searchResults`(1–20, 기본 5), `imageCount`(1–4, 기본 1), `videoArtifactTtlMs`(1시간–7일, 기본 7일, UI에서는 1–168시간)입니다. 보존 시간을 낮추면 기존 아티팩트도 즉시 단축·정리되며, 높인 값은 이후 생성된 아티팩트에만 적용됩니다.
181
+ 8개 스위치 `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage`, `grokImagineVideo`는 모두 기본적으로 꺼져 있으며 재시작 없이 즉시 적용됩니다. `codexImagesAnyModel`은 호출 모델 라우트 게이트만 완화합니다. 여전히 Codex 로그인, `codexImages`(편집 시 edits 플래그), 세션 첨부 소유권 및 편집 인가가 필요합니다. 숫자 설정은 `searchResults`(1–20, 기본 5), `imageCount`(1–4, 기본 1), `videoArtifactTtlMs`(1시간–7일, 기본 7일, UI에서는 1–168시간)입니다. 보존 시간을 낮추면 기존 아티팩트도 즉시 단축·정리되며, 높인 값은 이후 생성된 아티팩트에만 적용됩니다.
182
182
 
183
183
  ## 로컬 API 게이트웨이
184
184
 
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.6.3** · formerly `dsh-grok-build`
7
+ **v0.6.5** · 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
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  ---
19
19
 
20
- > **Upgrade / 升级:** Follow the versioned steps in [`INSTALL.md`](INSTALL.md). `0.6.3` includes the strict Cordis injection startup fix and DSH `0.1.1-rc.2` support; keep profile/config/credential files and restart one existing DSH Web process only after updating. `dsh-coding-oauth-core@0.1.0` remains a shared npm dependency, not a separate DSH plugin.
20
+ > **Upgrade / 升级:** Follow the versioned steps in [`INSTALL.md`](INSTALL.md). `0.6.5` keeps the shared dispatcher runtime on `dsh-coding-oauth-core@0.1.1` and `undici@7.29.0`, and restricts gateway key reveal/rotate to loopback access; no configuration, credential, data, or route migration is required. Grok Imagine retains its explicit pinned dispatcher. Releases from `0.6.2` onward include the strict Cordis injection startup fix and DSH `0.1.1-rc.2` support; keep profile/config/credential files and restart one existing DSH Web process only after updating.
21
21
 
22
22
  ---
23
23
 
@@ -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.6.3`: `dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.3` | No legacy npm package was published |
30
+ | npm (recommended) | Current release is `0.6.5`: `dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5` | 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.6.3
84
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
85
85
 
86
86
  # 2. optional — Google Antigravity (pinned, reviewed version)
87
87
  dsh plugin --profile web add dsh-agy@0.1.2
@@ -122,7 +122,7 @@ Requires DeepSeek Harness `0.1.1-rc.2` and Node.js 22.19+. Full details in the [
122
122
 
123
123
  ```bash
124
124
  # current npm release
125
- dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.3
125
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
126
126
 
127
127
  # development / alternative: from GitHub
128
128
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -184,7 +184,7 @@ The selector only lists routes that completed authentication; unauthenticated pr
184
184
 
185
185
  ## Optional capabilities
186
186
 
187
- All eight switches start **off** and apply **live** (no restart): `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage`, and `grokImagineVideo`. Numeric controls are `searchResults` (1–20, default 5), `imageCount` (1–4, default 1), and `videoArtifactTtlMs` (1 hour–7 days, default 7 days; the UI shows 1–168 hours). Lowering video retention shortens and cleans existing artifacts immediately; raising it affects only artifacts created afterward. Administrators may provide secret-free composition defaults under plugin config `capabilities`; live user settings in the `coding-subscription-oauth` settings section override that base, and omitting it keeps every switch off.
187
+ All eight switches start **off** and apply **live** (no restart): `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage`, and `grokImagineVideo`. `codexImagesAnyModel` only relaxes the calling-model route gate; it still requires signed-in Codex, `codexImages` (and the edits flag for edit), and keeps session attachment ownership and edit authorization. Numeric controls are `searchResults` (1–20, default 5), `imageCount` (1–4, default 1), and `videoArtifactTtlMs` (1 hour–7 days, default 7 days; the UI shows 1–168 hours). Lowering video retention shortens and cleans existing artifacts immediately; raising it affects only artifacts created afterward. Administrators may provide secret-free composition defaults under plugin config `capabilities`; live user settings in the `coding-subscription-oauth` settings section override that base, and omitting it keeps every switch off.
188
188
 
189
189
  `codex-oauth-fast` is advertised only after a **fresh live catalog** lists at least one `priority`-eligible model. Those requests send `service_tier: priority` plus a routing hint. The UI says **Fast requested** and never guarantees latency or that upstream will honor the request.
190
190
 
package/README.pt-BR.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.6.3 · antigo `dsh-grok-build`
7
+ **v0.6.5 · 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
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  ---
19
19
 
20
- > **Upgrade / 升级:** Follow the versioned steps in [`INSTALL.md`](INSTALL.md). Install into the existing `web` profile, keep profile/config/credential files, and restart one existing DSH Web process after all packages are updated. When Hub and Subscription are both used, `dsh-coding-oauth-core@0.1.0` is their shared npm dependency, not a separate DSH plugin.
20
+ > **Atualização:** Siga os passos versionados em [`INSTALL.md`](INSTALL.md). `0.6.5` mantém o runtime do dispatcher compartilhado em `dsh-coding-oauth-core@0.1.1` e `undici@7.29.0`, e restringe reveal/rotate da chave do Gateway ao acesso loopback; não é necessária migração de configuração, credenciais, dados ou rotas. Grok Imagine mantém seu dispatcher pinned explícito. Lançamentos a partir de `0.6.2` incluem a correção estrita de injeção Cordis na inicialização e suporte a DSH `0.1.1-rc.2`; conserve os arquivos de profile/config/credenciais e reinicie o processo DSH Web existente apenas uma vez após atualizar. Quando Hub e Subscription são usados juntos, `dsh-coding-oauth-core@0.1.1` com `undici@7.29.0` é o pin de runtime compartilhado, não um plugin DSH separado.
21
21
 
22
22
  ---
23
23
 
@@ -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.6.3` (versão atual) | Nenhum pacote npm legado foi publicado |
31
+ | npm | `dsh-coding-subscription-oauth@0.6.5` (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.6.3
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
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.6.3
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
122
122
 
123
123
  # desenvolvimento/alternativo: do GitHub
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -178,7 +178,7 @@ O seletor lista apenas rotas que concluíram a autenticação; provedores não a
178
178
 
179
179
  ## Capacidades opcionais
180
180
 
181
- Os oito controles `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage` e `grokImagineVideo` começam desativados e mudam ao vivo, sem reinício. Os limites são `searchResults` (1–20, padrão 5), `imageCount` (1–4, padrão 1) e `videoArtifactTtlMs` (1 hora–7 dias, padrão 7 dias; a interface mostra 1–168 horas). Reduzir a retenção encurta e limpa artefatos existentes imediatamente; aumentá-la vale apenas para novos artefatos.
181
+ Os oito controles `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage` e `grokImagineVideo` começam desativados e mudam ao vivo, sem reinício. `codexImagesAnyModel` só afrouxa o gate de rota do modelo que chama; ainda exige Codex autenticado, `codexImages` (e o flag de edits para editar) e mantém a propriedade de anexos da sessão e a autorização de edição. Os limites são `searchResults` (1–20, padrão 5), `imageCount` (1–4, padrão 1) e `videoArtifactTtlMs` (1 hora–7 dias, padrão 7 dias; a interface mostra 1–168 horas). Reduzir a retenção encurta e limpa artefatos existentes imediatamente; aumentá-la vale apenas para novos artefatos.
182
182
 
183
183
  ## Gateway de API local
184
184
 
package/README.ru.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # 🔐 dsh-coding-subscription-oauth
6
6
 
7
- **v0.6.3 · ранее `dsh-grok-build`
7
+ **v0.6.5 · ранее `dsh-grok-build`
8
8
 
9
9
  **Плагин OAuth для подписок на кодинг для [DeepSeek Harness](https://github.com/deepseek-ai/dsh).** Войдите один раз по уже оплаченным подпискам — и используйте их модели из страницы настроек или CLI dsh. **Никаких вставленных токенов в чат.**
10
10
 
@@ -17,7 +17,7 @@
17
17
 
18
18
  ---
19
19
 
20
- > **Upgrade / 升级:** Follow the versioned steps in [`INSTALL.md`](INSTALL.md). Install into the existing `web` profile, keep profile/config/credential files, and restart one existing DSH Web process after all packages are updated. When Hub and Subscription are both used, `dsh-coding-oauth-core@0.1.0` is their shared npm dependency, not a separate DSH plugin.
20
+ > **Обновление:** Следуйте пошаговым инструкциям по версиям в [`INSTALL.md`](INSTALL.md). `0.6.5` сохраняет общий runtime диспетчера на `dsh-coding-oauth-core@0.1.1` и `undici@7.29.0` и ограничивает reveal/rotate ключа Gateway доступом loopback; миграция конфигурации, учётных данных, данных или маршрутов не требуется. Grok Imagine сохраняет явно закреплённый dispatcher. Релизы начиная с `0.6.2` включают строгое исправление запуска Cordis-инъекции и поддержку DSH `0.1.1-rc.2`; сохраните файлы profile/config/учётных данных и перезапустите существующий процесс DSH Web только один раз после обновления. При совместном использовании Hub и Subscription `dsh-coding-oauth-core@0.1.1` с `undici@7.29.0` их общий runtime-pin, а не отдельный плагин DSH.
21
21
 
22
22
  ---
23
23
 
@@ -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.6.3` (текущая версия) | Старого npm-пакета не было |
31
+ | npm | `dsh-coding-subscription-oauth@0.6.5` (текущая версия) | Старого 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.6.3
80
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
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.6.3
121
+ dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.5
122
122
 
123
123
  # разработка/альтернатива: из GitHub
124
124
  dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
@@ -178,7 +178,7 @@ pnpm run smoke:deployed # реальные вызовы Codex/Kimi +
178
178
 
179
179
  ## Дополнительные возможности
180
180
 
181
- Все восемь переключателей `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage` и `grokImagineVideo` по умолчанию выключены и применяются без перезапуска. Ограничения: `searchResults` (1–20, по умолчанию 5), `imageCount` (1–4, по умолчанию 1) и `videoArtifactTtlMs` (1 час–7 дней, по умолчанию 7 дней; в интерфейсе 1–168 часов). Уменьшение срока сразу сокращает и очищает существующие артефакты; увеличение действует только на новые.
181
+ Все восемь переключателей `codexSearch`, `codexImages`, `codexImageEdits`, `codexImagesAnyModel`, `codexUsage`, `codexFast`, `grokImagineImage` и `grokImagineVideo` по умолчанию выключены и применяются без перезапуска. `codexImagesAnyModel` лишь ослабляет ограничение маршрута вызывающей модели; по-прежнему нужны вход в Codex, `codexImages` (и флаг edits для редактирования), а также сохраняются владение вложениями сессии и авторизация редактирования. Ограничения: `searchResults` (1–20, по умолчанию 5), `imageCount` (1–4, по умолчанию 1) и `videoArtifactTtlMs` (1 час–7 дней, по умолчанию 7 дней; в интерфейсе 1–168 часов). Уменьшение срока сразу сокращает и очищает существующие артефакты; увеличение действует только на новые.
182
182
 
183
183
  ## Локальный API-шлюз
184
184