dsh-coding-subscription-oauth 0.6.2 → 0.6.4
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 +51 -27
- package/CONTRIBUTING.md +17 -8
- package/INSTALL.md +45 -44
- package/README.de.md +20 -20
- package/README.es.md +20 -20
- package/README.fr.md +20 -20
- package/README.ja.md +20 -20
- package/README.ko.md +20 -20
- package/README.md +23 -23
- package/README.pt-BR.md +20 -20
- package/README.ru.md +20 -20
- package/README.zh-CN.md +23 -23
- package/compatibility/dsh-bom.json +30 -30
- package/docs/00-project-rules.md +17 -0
- package/docs/02-architecture.md +11 -11
- package/docs/02-architecture.zh-CN.md +11 -11
- package/lib/bin.js +1333 -569
- package/lib/bin.js.map +4 -4
- package/lib/capability-settings.d.ts +8 -2
- package/lib/capability-settings.d.ts.map +1 -1
- package/lib/capability-tools.d.ts +7 -2
- package/lib/capability-tools.d.ts.map +1 -1
- package/lib/client.js +3 -3
- package/lib/client.js.map +3 -3
- package/lib/codex-images.d.ts +8 -0
- package/lib/codex-images.d.ts.map +1 -1
- package/lib/index.js +721 -25499
- package/lib/index.js.map +4 -4
- package/package.json +77 -77
- package/src/adapter.ts +75 -75
- package/src/alias-adapter.ts +17 -17
- package/src/capability-runtime.ts +1 -0
- package/src/capability-settings.ts +14 -1
- package/src/capability-tools.ts +23 -4
- package/src/client/GrokBuildSettings.tsx +3 -2
- package/src/client/constants.ts +7 -1
- package/src/client/locales.ts +5 -0
- package/src/client/parsers.ts +2 -0
- package/src/client/types.ts +2 -0
- package/src/codex-images.ts +19 -1
- package/src/compatibility.ts +14 -14
- package/src/index.ts +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -4,34 +4,58 @@ All notable changes to `dsh-coding-subscription-oauth` are documented here, foll
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
-
## v0.6.
|
|
7
|
+
## v0.6.4 - 2026-08-29
|
|
8
8
|
|
|
9
|
-
`0.
|
|
10
|
-
|
|
11
|
-
###
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
###
|
|
18
|
-
|
|
19
|
-
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
9
|
+
- 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.
|
|
10
|
+
|
|
11
|
+
### Documentation
|
|
12
|
+
|
|
13
|
+
- 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.
|
|
14
|
+
|
|
15
|
+
## v0.6.3 - 2026-08-28
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- Add a default-off `codexImagesAnyModel` capability that lets non-Codex model routes call Codex image generate/edit tools without bypassing Codex authentication, capability gates, current-session attachment ownership, or edit authorization.
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- Clear `codexImagesAnyModel` in `normalizeCapabilitySettings` whenever resolved `codexImages` is false, so the any-model flag cannot remain on after images are disabled at the admit layer (UI cascade alone is insufficient).
|
|
24
|
+
|
|
25
|
+
### Documentation
|
|
26
|
+
|
|
27
|
+
- Align the Hub co-install matrix in `INSTALL.md` to `dsh-hub-oauth-gateway@1.10.0` with Subscription `0.6.3` and `dsh-coding-oauth-core@0.1.0`.
|
|
28
|
+
- Add a maintainer smoke checklist for new DeepSeek Harness releases in `CONTRIBUTING.md`, and point the open migration profile-verification todo at that checklist plus the green Docker `isolated-install` / `rc2-compatibility` sandbox evidence.
|
|
29
|
+
- Sync capability inventory lines to eight switches (`codexImagesAnyModel` included) across README translations and architecture docs; document editing the hardcoded DSH pin in `Dockerfile` for smoke builds.
|
|
30
|
+
|
|
31
|
+
## v0.6.2 - 2026-08-25
|
|
32
|
+
|
|
33
|
+
`0.6.1` was never published or packed; its unreleased changes are folded into this release.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- Probe optional DSH host services without eagerly reading Cordis properties, so a missing injection degrades safely instead of failing the complete plugin tree during startup.
|
|
38
|
+
- Require only `webServer` at plugin activation and register owner OAuth, capability, gateway, and import routes directly so optional services may arrive and leave independently.
|
|
39
|
+
- Inject rc.2-required pi-ai credential storage/auth context through the existing owner-locked OAuth files, fail closed for unknown provider writes, and retain image attachments under the provider request policy.
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
|
|
43
|
+
- Verify the exact DeepSeek Harness `0.1.1-rc.2` BOM and resolve `dsh-coding-oauth-core@0.1.0` from npm rather than a sibling workspace path.
|
|
44
|
+
|
|
45
|
+
## v0.6.0 - 2026-08-22
|
|
46
|
+
|
|
47
|
+
### Added
|
|
48
|
+
|
|
49
|
+
- Add exact DSH BOM/client platform gates, host/client compatibility adapters, trusted remote owner policy, and shared `dsh-coding-oauth-core` owner election for standalone/Hub co-installation.
|
|
50
|
+
|
|
51
|
+
### Changed
|
|
52
|
+
|
|
53
|
+
- Redesign Provider management around summaries, local model drafts with batch apply, in-card CLI Pull preview, real Gateway models, explicit confirmations, retryable loading states, and compact Hub-owned co-install UI.
|
|
54
|
+
- Keep OAuth/Web ownership independent from optional LLM services and wait for required Web routes before reporting the standalone runtime active.
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
|
|
58
|
+
- Restore focus after CLI previews and logout confirmation, remove ARIA relationships to unmounted panels, and verify release client imports against the official DSH `PLATFORM_MODULES` contract.
|
|
35
59
|
|
|
36
60
|
## v0.5.8 - 2026-08-22
|
|
37
61
|
|
package/CONTRIBUTING.md
CHANGED
|
@@ -92,21 +92,30 @@ History is part of the review. The maintainer counterpart — tags, clean-tree r
|
|
|
92
92
|
|
|
93
93
|
## Review & merging
|
|
94
94
|
|
|
95
|
-
-
|
|
95
|
+
- The maintainer may self-approve and merge; additional review is optional.
|
|
96
96
|
- A PR that changes public behaviour must not be merged without its README/changelog updates.
|
|
97
97
|
- Do not force-push `main` or a published release tag. Feature-branch force-pushes still need explicit approval (see above).
|
|
98
98
|
- Maintainers run the release loop (`docs/00-project-rules.md` §3–4 and §7) after merging a substantive change: clean working tree, bump version, annotated tag `v<version>`, publish to npm, and keep the GitHub milestone/release updated.
|
|
99
99
|
|
|
100
|
-
### npm
|
|
100
|
+
### npm release verification
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
Maintainers publish the verified candidate manually using the handoff rules in
|
|
103
|
+
`docs/00-project-rules.md` §4.1. Tag pushes run `.github/workflows/release.yml`,
|
|
104
|
+
which only verifies that the tagged version and the `latest` dist-tag already
|
|
105
|
+
exist on the public npm registry before creating or updating the GitHub Release;
|
|
106
|
+
the workflow never publishes a second copy. A missing version or mismatched
|
|
107
|
+
`latest` tag fails the workflow and prevents the GitHub Release.
|
|
103
108
|
|
|
104
|
-
|
|
105
|
-
2. Open **Package → Settings → Trusted Publisher → GitHub Actions**.
|
|
106
|
-
3. Set **Organization or user** to `lninghaha`, **Repository** to `dsh-coding-subscription-oauth`, **Workflow filename** to `release.yml`, and leave the environment blank unless you add one.
|
|
107
|
-
4. Save. Pushing `v*` must then create/update the GitHub Release and publish (or skip if that exact version is already on the registry).
|
|
109
|
+
## New DSH release smoke checklist
|
|
108
110
|
|
|
109
|
-
|
|
111
|
+
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
|
+
|
|
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.
|
|
114
|
+
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
|
+
3. **Settings surface.** Settings → Coding OAuth renders all four tabs (Accounts / Gateway / Capabilities / About).
|
|
116
|
+
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.
|
|
117
|
+
5. **Live routes.** `DSH_WEB_URL=http://127.0.0.1:3080 pnpm run verify:deployed` (status route + catalog + registered routes), then `smoke:deployed` with `DSH_RESTORE_PROVIDER` / `DSH_RESTORE_MODEL` set for one streamed reply per credentialed OAuth route.
|
|
118
|
+
6. **Then move the pin.** Update `compatibility/dsh-bom.json`, the `dsh.compatibility` block in `package.json`, and the README compatibility notes in the same commit.
|
|
110
119
|
|
|
111
120
|
## Reporting security issues
|
|
112
121
|
|
package/INSTALL.md
CHANGED
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
本仓库原名 **`dsh-grok-build`**。普通用户请使用已发布的 npm 版本:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.
|
|
6
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
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/*`,凭据文件名不变。
|
|
10
10
|
|
|
11
|
-
第一次公开发布是 **`0.4.1`**。`0.6.1` 从未正式发布或打包,其未发布改动已合入当前推荐的 **`0.6.
|
|
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.
|
|
14
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
15
15
|
dsh plugin --profile web update dsh-coding-subscription-oauth
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## 前置条件
|
|
19
19
|
|
|
20
|
-
- DeepSeek Harness 0.1.1-rc.2(精确已验证 BOM)
|
|
20
|
+
- DeepSeek Harness 0.1.1-rc.2(精确已验证 BOM)
|
|
21
21
|
- Node.js 22.19+
|
|
22
22
|
- 需要使用的个人编码订阅;没有 Claude/Google 账号也可以先安装路由
|
|
23
23
|
- 部分网络需要 HTTP/HTTPS 代理
|
|
@@ -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.
|
|
29
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
30
30
|
|
|
31
31
|
# 开发 / 备用:从 GitHub
|
|
32
32
|
dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
|
|
@@ -38,19 +38,20 @@ dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
|
|
|
38
38
|
dsh plugin --profile web add dsh-agy@0.1.2
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
安装后重启现有 DSH Web 进程;不要另起一个端口相同的服务器。
|
|
42
|
-
|
|
43
|
-
## 升级注意事项
|
|
44
|
-
|
|
45
|
-
- 本版按 DSH `0.1.1-rc.2` 的精确兼容矩阵发布;生产环境应锁定已验证的 BOM,不要用 `*` 或未验证的宽泛 peer range。
|
|
46
|
-
- 从 `0.6.0` 升级到 `0.6.2` 后再重启:`0.6.0` 在严格 Cordis 注入检查下可能因读取尚未注入的可选服务而拖垮插件树。这个补丁不迁移或重置 OAuth 凭据、Gateway、模型/适配器 ID 与缓存。
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
|
|
41
|
+
安装后重启现有 DSH Web 进程;不要另起一个端口相同的服务器。
|
|
42
|
+
|
|
43
|
+
## 升级注意事项
|
|
44
|
+
|
|
45
|
+
- 本版按 DSH `0.1.1-rc.2` 的精确兼容矩阵发布;生产环境应锁定已验证的 BOM,不要用 `*` 或未验证的宽泛 peer range。
|
|
46
|
+
- 从 `0.6.0` 升级到 `0.6.2` 后再重启:`0.6.0` 在严格 Cordis 注入检查下可能因读取尚未注入的可选服务而拖垮插件树。这个补丁不迁移或重置 OAuth 凭据、Gateway、模型/适配器 ID 与缓存。
|
|
47
|
+
- 从 `0.6.3` 升级到 `0.6.4`:统一固定 `dsh-coding-oauth-core@0.1.1` 与 `undici@7.29.0`;无配置、凭据、数据或路由迁移。
|
|
48
|
+
- 在同一个 **web profile** 中先保证 `dsh-coding-oauth-core@0.1.1` 可从 npm 解析,再安装 Subscription `0.6.4`(以及需要的 `dsh-hub-oauth-gateway@1.11.1`)。Core 只是共享 npm 依赖,不是单独的 DSH 插件,用户不需要执行 `dsh plugin add dsh-coding-oauth-core`。
|
|
49
|
+
- 共装 Hub 与 Subscription 时,先安装 `dsh-hub-oauth-gateway@1.11.1` 与 Subscription `0.6.4`,完成后只重启一次现有 DSH Web 进程;Hub 提供完整用量中心,Subscription 显示紧凑状态入口。只升级 Subscription 仍可独立工作。
|
|
50
|
+
- 升级会保留既有 Cordis id、OAuth 凭据文件、模型/适配器 ID、Gateway 配置和模型缓存;不要为了“清理旧版本”删除这些文件。若旧包名 `dsh-grok-build` 仍在 profile 中,只移除那条旧插件记录,再安装当前包,避免重复路由。
|
|
51
|
+
- 回滚时恢复上一个插件版本并重启一次,保留凭据和配置;先查看兼容性诊断与失败原因,不要用清空凭据来代替回滚。
|
|
52
|
+
- DSH Web 与本地 Gateway 继续只绑定 loopback。远程 Settings 只能走 SSH 隧道或满足 owner proof、精确 Origin 和 CSRF proof 的 HTTPS 反向代理;升级不会放宽到 `0.0.0.0`。
|
|
53
|
+
|
|
54
|
+
本地 API 网关默认关闭。需要时在 profile 里打开(只绑 loopback):
|
|
54
55
|
|
|
55
56
|
```yaml
|
|
56
57
|
gateway:
|
|
@@ -59,31 +60,31 @@ gateway:
|
|
|
59
60
|
port: 18080
|
|
60
61
|
```
|
|
61
62
|
|
|
62
|
-
或在 Settings → Coding OAuth → Gateway 标签页打开。Bearer key 存在 `$DSH_HOME/.coding-oauth-gateway.json`。不要绑定 `0.0.0.0`。
|
|
63
|
-
|
|
64
|
-
## 安全访问远程 Settings
|
|
65
|
-
|
|
66
|
-
DSH Web 仍应只绑定 loopback。远程浏览器必须通过 SSH 隧道,或通过已经完成属主认证的 HTTPS 反向代理访问;不能把 DSH 或本插件直接监听到 `0.0.0.0`。
|
|
67
|
-
|
|
68
|
-
插件优先采用 DSH 提供的 `ownerRequestPolicy` 宿主能力。宿主尚未提供该能力时,可启用严格 fallback:
|
|
69
|
-
|
|
70
|
-
```yaml
|
|
71
|
-
- id: llm-grok-build-oauth
|
|
72
|
-
config:
|
|
73
|
-
ownerRequest:
|
|
74
|
-
loopbackAccessMode: ssh-tunnel
|
|
75
|
-
trustedProxy:
|
|
76
|
-
peers: [<反向代理的实际 TCP 来源地址>]
|
|
77
|
-
origins: [https://dsh.example.com]
|
|
78
|
-
ownerProof: <由本机密钥管理或部署模板注入>
|
|
79
|
-
csrfToken: <独立于 ownerProof 的本机密钥>
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
上面的尖括号内容是占位符,不可原样使用;真实 proof 只放在被 Git 忽略的本机部署配置或密钥注入层。反向代理必须保留公开 `Host`,在完成属主认证后向上游注入 `X-DSH-Owner-Proof`,并为变更请求注入独立的 `X-DSH-CSRF-Token`。插件同时核验实际 TCP peer、精确 HTTPS `Origin`/`Host` 和 `Sec-Fetch-Site: same-origin`;`X-Forwarded-*` 不能授权。任一项缺失都会 fail closed。
|
|
83
|
-
|
|
84
|
-
若把同机反向代理的 loopback 地址列为 `peers`,来自该地址的所有请求都会按代理流量校验,不能再回退为本地请求。这是防止反代改写 `Host` 后绕过 proof 的安全边界;配置前应保留独立的 SSH 修复通道。
|
|
85
|
-
|
|
86
|
-
## Antigravity 安全配置
|
|
63
|
+
或在 Settings → Coding OAuth → Gateway 标签页打开。Bearer key 存在 `$DSH_HOME/.coding-oauth-gateway.json`。不要绑定 `0.0.0.0`。
|
|
64
|
+
|
|
65
|
+
## 安全访问远程 Settings
|
|
66
|
+
|
|
67
|
+
DSH Web 仍应只绑定 loopback。远程浏览器必须通过 SSH 隧道,或通过已经完成属主认证的 HTTPS 反向代理访问;不能把 DSH 或本插件直接监听到 `0.0.0.0`。
|
|
68
|
+
|
|
69
|
+
插件优先采用 DSH 提供的 `ownerRequestPolicy` 宿主能力。宿主尚未提供该能力时,可启用严格 fallback:
|
|
70
|
+
|
|
71
|
+
```yaml
|
|
72
|
+
- id: llm-grok-build-oauth
|
|
73
|
+
config:
|
|
74
|
+
ownerRequest:
|
|
75
|
+
loopbackAccessMode: ssh-tunnel
|
|
76
|
+
trustedProxy:
|
|
77
|
+
peers: [<反向代理的实际 TCP 来源地址>]
|
|
78
|
+
origins: [https://dsh.example.com]
|
|
79
|
+
ownerProof: <由本机密钥管理或部署模板注入>
|
|
80
|
+
csrfToken: <独立于 ownerProof 的本机密钥>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
上面的尖括号内容是占位符,不可原样使用;真实 proof 只放在被 Git 忽略的本机部署配置或密钥注入层。反向代理必须保留公开 `Host`,在完成属主认证后向上游注入 `X-DSH-Owner-Proof`,并为变更请求注入独立的 `X-DSH-CSRF-Token`。插件同时核验实际 TCP peer、精确 HTTPS `Origin`/`Host` 和 `Sec-Fetch-Site: same-origin`;`X-Forwarded-*` 不能授权。任一项缺失都会 fail closed。
|
|
84
|
+
|
|
85
|
+
若把同机反向代理的 loopback 地址列为 `peers`,来自该地址的所有请求都会按代理流量校验,不能再回退为本地请求。这是防止反代改写 `Host` 后绕过 proof 的安全边界;配置前应保留独立的 SSH 修复通道。
|
|
86
|
+
|
|
87
|
+
## Antigravity 安全配置
|
|
87
88
|
|
|
88
89
|
`dsh-agy@0.1.2` 的 `/agy` standalone dashboard 没有自己的认证,并包含凭据导出接口。Web 服务带 trusted-host 或反向代理时,建议在 profile 最终 `cordis.patch.yml` 禁用该 dashboard:
|
|
89
90
|
|
|
@@ -159,7 +160,7 @@ OAuth access token 会在本地记录过期时间前 5 分钟主动刷新。服
|
|
|
159
160
|
|
|
160
161
|
### 可选能力
|
|
161
162
|
|
|
162
|
-
|
|
163
|
+
设置页的八项订阅能力开关默认全部关闭,打开后立即生效(无需重启):`codexSearch`、`codexImages`、`codexImageEdits`、`codexImagesAnyModel`、`codexUsage`、`codexFast`、`grokImagineImage`、`grokImagineVideo`。`codexImagesAnyModel` 仅放宽调用模型路由限制;仍要求已登录 Codex、开启对应图像能力,并保留当前会话附件归属和编辑授权检查。
|
|
163
164
|
|
|
164
165
|
数值控制为 `searchResults`(1–20,默认 5)、`imageCount`(1–4,默认 1)、`videoArtifactTtlMs`(1 小时–7 天,默认 7 天;界面以 1–168 小时显示)。降低视频保留时间会立即缩短并清理已有产物;提高只影响之后生成的产物。管理员可在插件配置的 `capabilities` 下提供不含秘密的 composition 默认值;`coding-subscription-oauth` 设置区中的用户值会覆盖该 base,省略时所有开关仍默认关闭。
|
|
165
166
|
|
package/README.de.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# 🔐 dsh-coding-subscription-oauth
|
|
6
6
|
|
|
7
|
-
**v0.6.
|
|
7
|
+
**v0.6.4 · 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
|
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
*[English](README.md) · [中文版](README.zh-CN.md) · [日本語](README.ja.md) · [한국어](README.ko.md) · [Português (BR)](README.pt-BR.md) · [Español](README.es.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Русский](README.ru.md)*
|
|
15
15
|
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
---
|
|
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
|
|
21
|
-
|
|
22
|
-
---
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
---
|
|
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.1` with `undici@7.29.0` is their shared runtime pin, not a separate DSH plugin.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
23
|
|
|
24
24
|
## Namensänderung
|
|
25
25
|
|
|
@@ -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.
|
|
30
|
+
| npm | `dsh-coding-subscription-oauth@0.6.4` (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 |
|
|
@@ -43,7 +43,7 @@ Zuerst **`dsh-grok-build`** (nur Grok Build). Jetzt SuperGrok / Codex / Kimi / C
|
|
|
43
43
|
- 🌐 **Proxy-bewusst** — nur geprüfte, vertrauenswürdige Abonnement-Domänen werden über den Proxy geleitet.
|
|
44
44
|
- 📥 **Manueller CLI-Pull** — die Einstellungen entdecken erlaubte offizielle Grok-/Codex-/Kimi-/Claude-CLI-OAuth-Dateien schreibgeschützt; nach Vorschau und Überschreibbestätigung ziehen Sie eine Einweg-Kopie.
|
|
45
45
|
- 🗂️ **Einstellungen mit Tabs** — Accounts, Gateway, Capabilities und About; Remote-Hosts bevorzugen Device-Code mit ruhigeren CLI-Missing-Hinweisen; angemeldete Karten bleiben eingeklappt, bis sie erweitert werden.
|
|
46
|
-
- 🎛️ **Optionale Funktionen, standardmäßig aus** — Codex-Suche, Nutzung/Kontingent, Bild erzeugen/bearbeiten, Fast und Grok Imagine wirken live beim Einschalten.
|
|
46
|
+
- 🎛️ **Optionale Funktionen, standardmäßig aus** — Codex-Suche, Nutzung/Kontingent, Bild erzeugen/bearbeiten, Fast und Grok Imagine wirken live beim Einschalten. Ein zusätzlicher, standardmäßig deaktivierter Schalter erlaubt Nicht-Codex-Modellrouten die Codex-Bildwerkzeuge, ohne Codex-Anmeldung, Sitzung oder Anhangseigentum zu umgehen.
|
|
47
47
|
- 🔌 **Opt-in lokales API-Gateway** — standardmäßig ausgeschalteter Loopback-Server, OpenAI-/Anthropic-kompatibel; für Ihre eigenen Werkzeuge, niemals ein öffentliches Relay.
|
|
48
48
|
|
|
49
49
|
## Integrationsprobleme, die dieses Plugin löst
|
|
@@ -77,13 +77,13 @@ 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.
|
|
80
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
81
81
|
|
|
82
82
|
# 2. optional — Google Antigravity (gepinnte, geprüfte Version)
|
|
83
83
|
dsh plugin --profile web add dsh-agy@0.1.2
|
|
84
84
|
|
|
85
|
-
# 3. den vorhandenen DSH-Web-Prozess mit dem konfigurierten Prozessmanager neu starten
|
|
86
|
-
# `dsh web` ist der offizielle CLI-Alias, kein Dienstname.
|
|
85
|
+
# 3. den vorhandenen DSH-Web-Prozess mit dem konfigurierten Prozessmanager neu starten
|
|
86
|
+
# `dsh web` ist der offizielle CLI-Alias, kein Dienstname.
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Danach **Settings → Coding OAuth** öffnen und bei einem beliebigen Anbieter anmelden. Fertig — wählen Sie Ihr authentifiziertes Modell im Wähler.
|
|
@@ -114,11 +114,11 @@ Danach **Settings → Coding OAuth** öffnen und bei einem beliebigen Anbieter a
|
|
|
114
114
|
|
|
115
115
|
## Installation
|
|
116
116
|
|
|
117
|
-
Erfordert DeepSeek Harness `0.1.1-rc.2` und Node.js 22.19+. Vollständige Details in den [Installationshinweisen](INSTALL.md).
|
|
117
|
+
Erfordert DeepSeek Harness `0.1.1-rc.2` und Node.js 22.19+. Vollständige Details in den [Installationshinweisen](INSTALL.md).
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
120
|
# aktuelle npm-Version (empfohlen)
|
|
121
|
-
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.
|
|
121
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
122
122
|
|
|
123
123
|
# Entwicklung/Alternativ: von GitHub
|
|
124
124
|
dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
|
|
@@ -127,7 +127,7 @@ dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
|
|
|
127
127
|
dsh plugin --profile web add ./dsh-coding-subscription-oauth
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
Nach der Installation den vorhandenen DSH-Web-Prozess neu starten. Verifikation gegen ein Live-Deployment:
|
|
130
|
+
Nach der Installation den vorhandenen DSH-Web-Prozess neu starten. Verifikation gegen ein Live-Deployment:
|
|
131
131
|
|
|
132
132
|
```bash
|
|
133
133
|
pnpm run verify:deployed # prüft echtes /api/llm.models + OAuth-Status
|
|
@@ -149,15 +149,15 @@ pnpm run smoke:deployed # echte Codex/Kimi-Tool-Calls + Replay des z
|
|
|
149
149
|
<table>
|
|
150
150
|
<tr>
|
|
151
151
|
<td align="center" valign="top" width="33%">
|
|
152
|
-
<a href="media/en/settings_accounts.png"><img src="media/en/settings_accounts.png" alt="Coding OAuth Accounts tab" width="280" /></a><br />
|
|
152
|
+
<a href="media/en/settings_accounts.png"><img src="media/en/settings_accounts.png" alt="Coding OAuth Accounts tab" width="280" /></a><br />
|
|
153
153
|
<sub>Accounts</sub>
|
|
154
154
|
</td>
|
|
155
155
|
<td align="center" valign="top" width="33%">
|
|
156
|
-
<a href="media/en/settings_gateway.png"><img src="media/en/settings_gateway.png" alt="Coding OAuth Gateway tab" width="280" /></a><br />
|
|
156
|
+
<a href="media/en/settings_gateway.png"><img src="media/en/settings_gateway.png" alt="Coding OAuth Gateway tab" width="280" /></a><br />
|
|
157
157
|
<sub>Gateway</sub>
|
|
158
158
|
</td>
|
|
159
159
|
<td align="center" valign="top" width="33%">
|
|
160
|
-
<a href="media/en/settings_capabilities.png"><img src="media/en/settings_capabilities.png" alt="Coding OAuth Capabilities tab" width="280" /></a><br />
|
|
160
|
+
<a href="media/en/settings_capabilities.png"><img src="media/en/settings_capabilities.png" alt="Coding OAuth Capabilities tab" width="280" /></a><br />
|
|
161
161
|
<sub>Capabilities</sub>
|
|
162
162
|
</td>
|
|
163
163
|
</tr>
|
|
@@ -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
|
|
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.
|
|
7
|
+
**v0.6.4 · 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
|
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
*[English](README.md) · [中文版](README.zh-CN.md) · [日本語](README.ja.md) · [한국어](README.ko.md) · [Português (BR)](README.pt-BR.md) · [Español](README.es.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Русский](README.ru.md)*
|
|
15
15
|
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
---
|
|
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
|
|
21
|
-
|
|
22
|
-
---
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
---
|
|
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.1` with `undici@7.29.0` is their shared runtime pin, not a separate DSH plugin.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
23
|
|
|
24
24
|
## Cambio de nombre
|
|
25
25
|
|
|
@@ -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.
|
|
31
|
+
| npm | `dsh-coding-subscription-oauth@0.6.4` (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 |
|
|
@@ -44,7 +44,7 @@ Empezó como **`dsh-grok-build`** (solo Grok Build). Ahora cubre SuperGrok / Cod
|
|
|
44
44
|
- 🌐 **Consciente de proxy** — solo hace proxy de dominios de suscripción revisados y confiables.
|
|
45
45
|
- 📥 **CLI Pull manual** — la configuración descubre los archivos OAuth oficiales de los CLI Grok/Codex/Kimi/Claude permitidos, en modo solo lectura; extraes una copia unidireccional tras previsualizar y confirmar la sobrescritura.
|
|
46
46
|
- 🗂️ **Configuración en pestañas** — Accounts, Gateway, Capabilities y About; en hosts remotos se prioriza el device code y se reduce el ruido de CLI missing; las tarjetas conectadas permanecen contraídas hasta expandirlas.
|
|
47
|
-
- 🎛️ **Capacidades opcionales, desactivadas por defecto** — búsqueda de Codex, uso/cuota, generación/edición de imágenes, Fast y Grok Imagine se aplican en vivo al activarlas.
|
|
47
|
+
- 🎛️ **Capacidades opcionales, desactivadas por defecto** — búsqueda de Codex, uso/cuota, generación/edición de imágenes, Fast y Grok Imagine se aplican en vivo al activarlas. Otro interruptor, también desactivado por defecto, permite que rutas de modelos no Codex usen las herramientas de imagen Codex sin omitir inicio de sesión, sesión ni propiedad de adjuntos.
|
|
48
48
|
- 🔌 **Gateway de API local opt-in** — servidor loopback compatible con OpenAI/Anthropic, desactivado por defecto; para tus propias herramientas, nunca un relé público.
|
|
49
49
|
|
|
50
50
|
## Problemas de integración que resuelve este plugin
|
|
@@ -77,13 +77,13 @@ 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.
|
|
80
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
81
81
|
|
|
82
82
|
# 2. opcional — Google Antigravity (versión fija revisada)
|
|
83
83
|
dsh plugin --profile web add dsh-agy@0.1.2
|
|
84
84
|
|
|
85
|
-
# 3. reinicia el proceso DSH Web existente con el gestor de procesos configurado
|
|
86
|
-
# `dsh web` es el alias oficial de CLI, no un nombre de servicio.
|
|
85
|
+
# 3. reinicia el proceso DSH Web existente con el gestor de procesos configurado
|
|
86
|
+
# `dsh web` es el alias oficial de CLI, no un nombre de servicio.
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Luego abre **Settings → Coding OAuth** e inicia sesión en cualquier proveedor. Listo — elige tu modelo autenticado en el selector.
|
|
@@ -114,11 +114,11 @@ Luego abre **Settings → Coding OAuth** e inicia sesión en cualquier proveedor
|
|
|
114
114
|
|
|
115
115
|
## Instalación
|
|
116
116
|
|
|
117
|
-
Requiere DeepSeek Harness `0.1.1-rc.2` y Node.js 22.19+. Detalles completos en las [notas de instalación](INSTALL.md).
|
|
117
|
+
Requiere DeepSeek Harness `0.1.1-rc.2` y Node.js 22.19+. Detalles completos en las [notas de instalación](INSTALL.md).
|
|
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.
|
|
121
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
122
122
|
|
|
123
123
|
# desarrollo/alternativo: desde GitHub
|
|
124
124
|
dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
|
|
@@ -127,7 +127,7 @@ dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
|
|
|
127
127
|
dsh plugin --profile web add ./dsh-coding-subscription-oauth
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
Reinicia el proceso DSH Web existente tras instalar. Verificación contra un despliegue en vivo:
|
|
130
|
+
Reinicia el proceso DSH Web existente tras instalar. Verificación contra un despliegue en vivo:
|
|
131
131
|
|
|
132
132
|
```bash
|
|
133
133
|
pnpm run verify:deployed # comprueba /api/llm.models real + estado OAuth
|
|
@@ -150,15 +150,15 @@ Abre **Settings → Coding OAuth**:
|
|
|
150
150
|
<table>
|
|
151
151
|
<tr>
|
|
152
152
|
<td align="center" valign="top" width="33%">
|
|
153
|
-
<a href="media/en/settings_accounts.png"><img src="media/en/settings_accounts.png" alt="Coding OAuth Accounts tab" width="280" /></a><br />
|
|
153
|
+
<a href="media/en/settings_accounts.png"><img src="media/en/settings_accounts.png" alt="Coding OAuth Accounts tab" width="280" /></a><br />
|
|
154
154
|
<sub>Accounts</sub>
|
|
155
155
|
</td>
|
|
156
156
|
<td align="center" valign="top" width="33%">
|
|
157
|
-
<a href="media/en/settings_gateway.png"><img src="media/en/settings_gateway.png" alt="Coding OAuth Gateway tab" width="280" /></a><br />
|
|
157
|
+
<a href="media/en/settings_gateway.png"><img src="media/en/settings_gateway.png" alt="Coding OAuth Gateway tab" width="280" /></a><br />
|
|
158
158
|
<sub>Gateway</sub>
|
|
159
159
|
</td>
|
|
160
160
|
<td align="center" valign="top" width="33%">
|
|
161
|
-
<a href="media/en/settings_capabilities.png"><img src="media/en/settings_capabilities.png" alt="Coding OAuth Capabilities tab" width="280" /></a><br />
|
|
161
|
+
<a href="media/en/settings_capabilities.png"><img src="media/en/settings_capabilities.png" alt="Coding OAuth Capabilities tab" width="280" /></a><br />
|
|
162
162
|
<sub>Capabilities</sub>
|
|
163
163
|
</td>
|
|
164
164
|
</tr>
|
|
@@ -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
|
|
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.
|
|
7
|
+
**v0.6.4 · 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
|
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
*[English](README.md) · [中文版](README.zh-CN.md) · [日本語](README.ja.md) · [한국어](README.ko.md) · [Português (BR)](README.pt-BR.md) · [Español](README.es.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Русский](README.ru.md)*
|
|
15
15
|
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
---
|
|
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
|
|
21
|
-
|
|
22
|
-
---
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
---
|
|
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.1` with `undici@7.29.0` is their shared runtime pin, not a separate DSH plugin.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
23
|
|
|
24
24
|
## Changement de nom
|
|
25
25
|
|
|
@@ -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.
|
|
31
|
+
| npm | `dsh-coding-subscription-oauth@0.6.4` (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é |
|
|
@@ -44,7 +44,7 @@ Le projet s'appelait **`dsh-grok-build`** (Grok Build uniquement). Il couvre mai
|
|
|
44
44
|
- 🌐 **Conscient du proxy** — ne proxifie que les domaines d'abonnement examinés et de confiance.
|
|
45
45
|
- 📥 **CLI Pull manuel** — les paramètres découvrent en lecture seule les fichiers OAuth officiels des CLI Grok/Codex/Kimi/Claude autorisés ; vous récupérez une copie à sens unique après prévisualisation et confirmation d'écrasement.
|
|
46
46
|
- 🗂️ **Paramètres en onglets** — Accounts, Gateway, Capabilities et About ; les hôtes distants privilégient le device code avec moins de bruit CLI missing ; les cartes connectées restent repliées jusqu'à expansion.
|
|
47
|
-
- 🎛️ **Capacités optionnelles, désactivées par défaut** — recherche Codex, usage/quota, génération/édition d'images, Fast et Grok Imagine s'appliquent en direct dès leur activation.
|
|
47
|
+
- 🎛️ **Capacités optionnelles, désactivées par défaut** — recherche Codex, usage/quota, génération/édition d'images, Fast et Grok Imagine s'appliquent en direct dès leur activation. Un autre interrupteur, désactivé par défaut, autorise les routes de modèles non-Codex à appeler les outils d'image Codex sans contourner la connexion Codex, la session ni la propriété des pièces jointes.
|
|
48
48
|
- 🔌 **Passerelle API locale opt-in** — serveur loopback compatible OpenAI/Anthropic, désactivé par défaut ; pour vos propres outils, jamais un relais public.
|
|
49
49
|
|
|
50
50
|
## Problèmes d'intégration que ce plugin résout
|
|
@@ -77,13 +77,13 @@ 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.
|
|
80
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
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
|
|
84
84
|
|
|
85
|
-
# 3. redémarrez le processus DSH Web existant avec le gestionnaire configuré
|
|
86
|
-
# `dsh web` est l’alias CLI officiel, pas un nom de service.
|
|
85
|
+
# 3. redémarrez le processus DSH Web existant avec le gestionnaire configuré
|
|
86
|
+
# `dsh web` est l’alias CLI officiel, pas un nom de service.
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Ensuite ouvrez **Settings → Coding OAuth** et connectez-vous à n'importe quel fournisseur. C'est tout — choisissez votre modèle authentifié dans le sélecteur.
|
|
@@ -114,11 +114,11 @@ Ensuite ouvrez **Settings → Coding OAuth** et connectez-vous à n'importe quel
|
|
|
114
114
|
|
|
115
115
|
## Installation
|
|
116
116
|
|
|
117
|
-
Nécessite DeepSeek Harness `0.1.1-rc.2` et Node.js 22.19+. Détails complets dans les [notes d'installation](INSTALL.md).
|
|
117
|
+
Nécessite DeepSeek Harness `0.1.1-rc.2` et Node.js 22.19+. Détails complets dans les [notes d'installation](INSTALL.md).
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
120
|
# version actuelle npm (recommandé)
|
|
121
|
-
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.
|
|
121
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
122
122
|
|
|
123
123
|
# développement/alternatif : depuis GitHub
|
|
124
124
|
dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
|
|
@@ -127,7 +127,7 @@ dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
|
|
|
127
127
|
dsh plugin --profile web add ./dsh-coding-subscription-oauth
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
Redémarrez le processus DSH Web existant après l'installation. Vérification sur un déploiement en direct :
|
|
130
|
+
Redémarrez le processus DSH Web existant après l'installation. Vérification sur un déploiement en direct :
|
|
131
131
|
|
|
132
132
|
```bash
|
|
133
133
|
pnpm run verify:deployed # vérifie /api/llm.models réel + état OAuth
|
|
@@ -150,15 +150,15 @@ Ouvrez **Settings → Coding OAuth** :
|
|
|
150
150
|
<table>
|
|
151
151
|
<tr>
|
|
152
152
|
<td align="center" valign="top" width="33%">
|
|
153
|
-
<a href="media/en/settings_accounts.png"><img src="media/en/settings_accounts.png" alt="Coding OAuth Accounts tab" width="280" /></a><br />
|
|
153
|
+
<a href="media/en/settings_accounts.png"><img src="media/en/settings_accounts.png" alt="Coding OAuth Accounts tab" width="280" /></a><br />
|
|
154
154
|
<sub>Accounts</sub>
|
|
155
155
|
</td>
|
|
156
156
|
<td align="center" valign="top" width="33%">
|
|
157
|
-
<a href="media/en/settings_gateway.png"><img src="media/en/settings_gateway.png" alt="Coding OAuth Gateway tab" width="280" /></a><br />
|
|
157
|
+
<a href="media/en/settings_gateway.png"><img src="media/en/settings_gateway.png" alt="Coding OAuth Gateway tab" width="280" /></a><br />
|
|
158
158
|
<sub>Gateway</sub>
|
|
159
159
|
</td>
|
|
160
160
|
<td align="center" valign="top" width="33%">
|
|
161
|
-
<a href="media/en/settings_capabilities.png"><img src="media/en/settings_capabilities.png" alt="Coding OAuth Capabilities tab" width="280" /></a><br />
|
|
161
|
+
<a href="media/en/settings_capabilities.png"><img src="media/en/settings_capabilities.png" alt="Coding OAuth Capabilities tab" width="280" /></a><br />
|
|
162
162
|
<sub>Capabilities</sub>
|
|
163
163
|
</td>
|
|
164
164
|
</tr>
|
|
@@ -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
|
|
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
|
|