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/README.ja.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
# 🔐 dsh-coding-subscription-oauth
|
|
6
6
|
|
|
7
|
-
**v0.6.
|
|
7
|
+
**v0.6.4 · 旧名 `dsh-grok-build`
|
|
8
8
|
|
|
9
9
|
**DeepSeek Harness(dsh)のためのコーディングサブスクリプション OAuth プラグイン。** 支払い済みのサブスクリプションで一度きりのサインイン——その後は dsh の設定ページまたは CLI からそのモデルを使えます。**チャットにトークンを貼り付ける必要はありません。**
|
|
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
|
## 名称変更
|
|
25
25
|
|
|
@@ -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.
|
|
30
|
+
| npm | `dsh-coding-subscription-oauth@0.6.4`(現在のリリース) | 旧 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/*` | 変更なし |
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
- 🌐 **プロキシ対応** — レビュー済みの信頼できるサブスクリプションドメインのみをプロキシします。
|
|
44
44
|
- 📥 **手動 CLI Pull** — 設定ページが許可リストにある公式 Grok/Codex/Kimi/Claude CLI の OAuth ファイルを読み取り専用で検出。プレビューと上書き確認の後、ワンウェイコピーを取り込みます。
|
|
45
45
|
- 🗂️ **タブ分けされた設定** — Accounts・Gateway・Capabilities・About。リモートホストではデバイスコード優先と CLI missing の静かな案内;サインイン済みカードは展開するまで折りたたまれます。
|
|
46
|
-
- 🎛️ **オプション機能(既定オフ)** — Codex の検索・使用量/クォータ・画像生成/編集・Fast、Grok Imagine
|
|
46
|
+
- 🎛️ **オプション機能(既定オフ)** — Codex の検索・使用量/クォータ・画像生成/編集・Fast、Grok Imagine はスイッチをオンにすると即時適用されます。追加の既定オフのスイッチで非 Codex モデルルートから Codex 画像ツールを利用できますが、Codex ログイン、セッション、添付ファイル所有権の検証は維持されます。
|
|
47
47
|
- 🔌 **オプトインのローカル API ゲートウェイ** — 既定オフのループバック OpenAI/Anthropic 互換サーバー。自分のツール専用で、公開リレーではありません。
|
|
48
48
|
|
|
49
49
|
## このプラグインが解く接続の問題
|
|
@@ -77,13 +77,13 @@ DSH にコーディングサブスクを載せるとき、よく次の検索語
|
|
|
77
77
|
|
|
78
78
|
```bash
|
|
79
79
|
# 1. web プロファイルにプラグインをインストール(現在の 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. 任意 — Google Antigravity(レビュー済みの固定バージョン)
|
|
83
83
|
dsh plugin --profile web add dsh-agy@0.1.2
|
|
84
84
|
|
|
85
|
-
# 3. 実際に設定したプロセスマネージャーで既存の DSH Web プロセスを再起動
|
|
86
|
-
# `dsh web` は公式 CLI エイリアスであり、サービス名ではありません。
|
|
85
|
+
# 3. 実際に設定したプロセスマネージャーで既存の DSH Web プロセスを再起動
|
|
86
|
+
# `dsh web` は公式 CLI エイリアスであり、サービス名ではありません。
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
次に **Settings → Coding OAuth** を開いて任意のプロバイダーにサインインします。これで完了です——セレクターから認証済みモデルを選べます。
|
|
@@ -114,11 +114,11 @@ dsh plugin --profile web add dsh-agy@0.1.2
|
|
|
114
114
|
|
|
115
115
|
## インストール
|
|
116
116
|
|
|
117
|
-
DeepSeek Harness `0.1.1-rc.2` と Node.js 22.19+ が前提です。詳細は[インストールノート](INSTALL.md)をご覧ください。
|
|
117
|
+
DeepSeek Harness `0.1.1-rc.2` と Node.js 22.19+ が前提です。詳細は[インストールノート](INSTALL.md)をご覧ください。
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
120
|
# 現在の npm リリース(推奨)
|
|
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
|
# 開発/代替: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
|
-
インストール後に既存の DSH Web プロセスを再起動します。実運用デプロイに対する検証:
|
|
130
|
+
インストール後に既存の DSH Web プロセスを再起動します。実運用デプロイに対する検証:
|
|
131
131
|
|
|
132
132
|
```bash
|
|
133
133
|
pnpm run verify:deployed # 実 /api/llm.models + OAuth 状態の確認
|
|
@@ -150,15 +150,15 @@ pnpm run smoke:deployed # 実際の Codex/Kimi ツール呼び出し
|
|
|
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 @@ pnpm run smoke:deployed # 実際の Codex/Kimi ツール呼び出し
|
|
|
178
178
|
|
|
179
179
|
## オプション機能
|
|
180
180
|
|
|
181
|
-
|
|
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.
|
|
7
|
+
**v0.6.4 · 이전 이름 `dsh-grok-build`
|
|
8
8
|
|
|
9
9
|
**[DeepSeek Harness](https://github.com/deepseek-ai/dsh)용 코딩 구독 OAuth 플러그인.** 이미 결제한 구독으로 한 번에 로그인하고, dsh 설정 페이지나 CLI에서 그 모델을 사용하세요. **채팅에 토큰을 붙여넣을 필요가 없습니다.**
|
|
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
|
## 이름 변경
|
|
25
25
|
|
|
@@ -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.
|
|
30
|
+
| npm | `dsh-coding-subscription-oauth@0.6.4`(현재 릴리스) | 레거시 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/*` | 그대로 |
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
- 🌐 **프록시 인지형** — 검증된 신뢰 가능한 구독 도메인만 프록시합니다.
|
|
44
44
|
- 📥 **수동 CLI Pull** — 설정 페이지가 허용 목록에 있는 공식 Grok/Codex/Kimi/Claude CLI OAuth 파일을 읽기 전용으로 검색합니다. 미리보기와 덮어쓰기 확인 후 단방향 복사본을 가져옵니다.
|
|
45
45
|
- 🗂️ **탭으로 나뉜 설정** — Accounts, Gateway, Capabilities, About. 원격 호스트에서는 device code를 우선하고 CLI missing 소음을 줄이며, 로그인된 카드는 펼칠 때까지 접혀 있습니다.
|
|
46
|
-
- 🎛️ **선택적 기능 (기본 꺼짐)** — Codex 검색, 사용량/쿼터, 이미지 생성/편집, Fast, Grok Imagine은 스위치를 켜면 즉시 적용됩니다.
|
|
46
|
+
- 🎛️ **선택적 기능 (기본 꺼짐)** — Codex 검색, 사용량/쿼터, 이미지 생성/편집, Fast, Grok Imagine은 스위치를 켜면 즉시 적용됩니다. 추가 기본 꺼짐 스위치로 비 Codex 모델 라우트가 Codex 이미지 도구를 호출할 수 있지만 Codex 로그인, 세션, 첨부 파일 소유권 검사는 그대로 유지됩니다.
|
|
47
47
|
- 🔌 **옵트인 로컬 API 게이트웨이** — 기본 꺼짐의 루프백 OpenAI/Anthropic 호환 서버. 내 도구 전용이며 공개 릴레이가 아닙니다.
|
|
48
48
|
|
|
49
49
|
## 이 플러그인이 푸는 연동 문제
|
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
|
|
78
78
|
```bash
|
|
79
79
|
# 1. web 프로필에 플러그인 설치 (현재 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. 선택 사항 — Google Antigravity (검증된 고정 버전)
|
|
83
83
|
dsh plugin --profile web add dsh-agy@0.1.2
|
|
84
84
|
|
|
85
|
-
# 3. 실제로 구성한 프로세스 관리자로 기존 DSH Web 프로세스 재시작
|
|
86
|
-
# `dsh web`은 공식 CLI 별칭이지 서비스 이름이 아닙니다.
|
|
85
|
+
# 3. 실제로 구성한 프로세스 관리자로 기존 DSH Web 프로세스 재시작
|
|
86
|
+
# `dsh web`은 공식 CLI 별칭이지 서비스 이름이 아닙니다.
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
그런 다음 **Settings → Coding OAuth**를 열고 원하는 프로바이더에 로그인하세요. 완료입니다 — 선택기에서 인증된 모델을 선택하면 됩니다.
|
|
@@ -114,11 +114,11 @@ dsh plugin --profile web add dsh-agy@0.1.2
|
|
|
114
114
|
|
|
115
115
|
## 설치
|
|
116
116
|
|
|
117
|
-
DeepSeek Harness `0.1.1-rc.2` 및 Node.js 22.19+가 필요합니다. 자세한 내용은 [설치 노트](INSTALL.md)를 참조하세요.
|
|
117
|
+
DeepSeek Harness `0.1.1-rc.2` 및 Node.js 22.19+가 필요합니다. 자세한 내용은 [설치 노트](INSTALL.md)를 참조하세요.
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
120
|
# 현재 npm 릴리스 (권장)
|
|
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
|
# 개발/대안: 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
|
-
설치 후 기존 DSH Web 프로세스를 재시작합니다. 실제 배포 검증:
|
|
130
|
+
설치 후 기존 DSH Web 프로세스를 재시작합니다. 실제 배포 검증:
|
|
131
131
|
|
|
132
132
|
```bash
|
|
133
133
|
pnpm run verify:deployed # 실제 /api/llm.models + OAuth 상태 확인
|
|
@@ -150,15 +150,15 @@ pnpm run smoke:deployed # 실제 Codex/Kimi 도구 호출 + 두 번
|
|
|
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 @@ pnpm run smoke:deployed # 실제 Codex/Kimi 도구 호출 + 두 번
|
|
|
178
178
|
|
|
179
179
|
## 선택적 기능
|
|
180
180
|
|
|
181
|
-
|
|
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.
|
|
7
|
+
**v0.6.4** · 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
|
|
|
@@ -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). `0.6.2`
|
|
21
|
-
|
|
22
|
-
---
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
> **Upgrade / 升级:** Follow the versioned steps in [`INSTALL.md`](INSTALL.md). `0.6.4` pins the shared dispatcher runtime to `dsh-coding-oauth-core@0.1.1` and `undici@7.29.0`; 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
|
+
|
|
22
|
+
---
|
|
23
23
|
|
|
24
24
|
## Name change
|
|
25
25
|
|
|
@@ -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.
|
|
30
|
+
| npm (recommended) | Current release is `0.6.4`: `dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4` | 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 |
|
|
@@ -44,7 +44,7 @@ Published first as **`dsh-grok-build`** when it only covered Grok Build. The cur
|
|
|
44
44
|
- 🌐 **Proxy-aware** — proxies only reviewed subscription domains; Kimi China stays direct by default.
|
|
45
45
|
- 📥 **Manual CLI Pull** — Settings discovers allowlisted official Grok/Codex/Kimi/Claude CLI OAuth files read-only; you pull a one-way copy after preview and overwrite confirmation.
|
|
46
46
|
- 🗂️ **Tabbed Settings** — Accounts, Gateway, Capabilities, and About; remote hosts prefer device-code sign-in with quieter CLI-missing tips; signed-in cards stay collapsed until expanded.
|
|
47
|
-
- 🎛️ **Optional capabilities, default off** — Codex search, usage/quota, image generate/edit, Fast, and Grok Imagine apply live when you turn them on.
|
|
47
|
+
- 🎛️ **Optional capabilities, default off** — Codex search, usage/quota, image generate/edit, Fast, and Grok Imagine apply live when you turn them on. An additional default-off switch lets non-Codex model routes call Codex image tools while preserving Codex sign-in, session, and attachment-ownership checks.
|
|
48
48
|
- 🔌 **Opt-in local API gateway** — default-off loopback OpenAI/Anthropic-compatible server for your own tools, with copyable base URLs and Bearer key; never a public relay.
|
|
49
49
|
|
|
50
50
|
## Problems this plugin solves
|
|
@@ -81,13 +81,13 @@ 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.
|
|
84
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
85
85
|
|
|
86
86
|
# 2. optional — Google Antigravity (pinned, reviewed version)
|
|
87
87
|
dsh plugin --profile web add dsh-agy@0.1.2
|
|
88
88
|
|
|
89
|
-
# 3. restart the existing DSH Web process with its configured process manager
|
|
90
|
-
# `dsh web` is the official CLI alias for the web profile, not a service-unit name.
|
|
89
|
+
# 3. restart the existing DSH Web process with its configured process manager
|
|
90
|
+
# `dsh web` is the official CLI alias for the web profile, not a service-unit name.
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
Then open **Settings → Coding OAuth** and sign in to any provider. Done — pick your authenticated model from the selector.
|
|
@@ -118,11 +118,11 @@ Then open **Settings → Coding OAuth** and sign in to any provider. Done — pi
|
|
|
118
118
|
|
|
119
119
|
## Install
|
|
120
120
|
|
|
121
|
-
Requires DeepSeek Harness `0.1.1-rc.2` and Node.js 22.19+. Full details in the [installation notes](INSTALL.md).
|
|
121
|
+
Requires DeepSeek Harness `0.1.1-rc.2` and Node.js 22.19+. Full details in the [installation notes](INSTALL.md).
|
|
122
122
|
|
|
123
123
|
```bash
|
|
124
124
|
# current npm release
|
|
125
|
-
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.
|
|
125
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
126
126
|
|
|
127
127
|
# development / alternative: from GitHub
|
|
128
128
|
dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
|
|
@@ -131,7 +131,7 @@ dsh plugin --profile web add github:lninghaha/dsh-coding-subscription-oauth
|
|
|
131
131
|
# dsh plugin --profile web add ./dsh-coding-subscription-oauth
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
Restart the existing DSH Web process after installing. Maintainers can verify a live deployment from a source checkout (npm installs do not include these scripts):
|
|
134
|
+
Restart the existing DSH Web process after installing. Maintainers can verify a live deployment from a source checkout (npm installs do not include these scripts):
|
|
135
135
|
|
|
136
136
|
```bash
|
|
137
137
|
pnpm run verify:deployed # checks real /api/llm.models + OAuth state
|
|
@@ -147,22 +147,22 @@ pnpm run smoke:deployed # real Codex/Kimi tool-calls + second-turn r
|
|
|
147
147
|
|
|
148
148
|
## Settings page
|
|
149
149
|
|
|
150
|
-
Open **Settings → Coding OAuth**. The page uses segmented tabs — **Accounts**, **Gateway**, **Capabilities**, and **About** — with live status hints, semantic badges, and skeleton loading states. On a remote (non-loopback) host, Accounts prefers device-code sign-in and collapses noisy CLI-missing hints into one tip. Signed-in provider cards collapse to a compact summary; expand one for model search/filter, quota progress bars, or CLI Pull controls. Gateway adds quick-setup snippets (cURL / Python / IDE), and Capabilities uses toggle switches with dependency-aware disabled states plus Imagine status.
|
|
151
|
-
|
|
152
|
-
DSH Web remains loopback-only. Remote Settings must travel through an SSH tunnel or an owner-authenticated HTTPS reverse proxy. The plugin prefers a DSH-native `ownerRequestPolicy`; its fallback requires the real trusted TCP peer, exact HTTPS Origin/Host, same-origin Fetch Metadata, a proxy-injected owner proof, and an independent mutation CSRF proof. Forwarded headers never grant access, and incomplete policy fails closed. See [INSTALL.md](INSTALL.md#安全访问远程-settings).
|
|
150
|
+
Open **Settings → Coding OAuth**. The page uses segmented tabs — **Accounts**, **Gateway**, **Capabilities**, and **About** — with live status hints, semantic badges, and skeleton loading states. On a remote (non-loopback) host, Accounts prefers device-code sign-in and collapses noisy CLI-missing hints into one tip. Signed-in provider cards collapse to a compact summary; expand one for model search/filter, quota progress bars, or CLI Pull controls. Gateway adds quick-setup snippets (cURL / Python / IDE), and Capabilities uses toggle switches with dependency-aware disabled states plus Imagine status.
|
|
151
|
+
|
|
152
|
+
DSH Web remains loopback-only. Remote Settings must travel through an SSH tunnel or an owner-authenticated HTTPS reverse proxy. The plugin prefers a DSH-native `ownerRequestPolicy`; its fallback requires the real trusted TCP peer, exact HTTPS Origin/Host, same-origin Fetch Metadata, a proxy-injected owner proof, and an independent mutation CSRF proof. Forwarded headers never grant access, and incomplete policy fails closed. See [INSTALL.md](INSTALL.md#安全访问远程-settings).
|
|
153
153
|
|
|
154
154
|
<table>
|
|
155
155
|
<tr>
|
|
156
156
|
<td align="center" valign="top" width="33%">
|
|
157
|
-
<a href="media/en/settings_accounts.png"><img src="media/en/settings_accounts.png" alt="Coding OAuth Accounts tab" width="280" /></a><br />
|
|
157
|
+
<a href="media/en/settings_accounts.png"><img src="media/en/settings_accounts.png" alt="Coding OAuth Accounts tab" width="280" /></a><br />
|
|
158
158
|
<sub>Accounts</sub>
|
|
159
159
|
</td>
|
|
160
160
|
<td align="center" valign="top" width="33%">
|
|
161
|
-
<a href="media/en/settings_gateway.png"><img src="media/en/settings_gateway.png" alt="Coding OAuth Gateway tab" width="280" /></a><br />
|
|
161
|
+
<a href="media/en/settings_gateway.png"><img src="media/en/settings_gateway.png" alt="Coding OAuth Gateway tab" width="280" /></a><br />
|
|
162
162
|
<sub>Gateway</sub>
|
|
163
163
|
</td>
|
|
164
164
|
<td align="center" valign="top" width="33%">
|
|
165
|
-
<a href="media/en/settings_capabilities.png"><img src="media/en/settings_capabilities.png" alt="Coding OAuth Capabilities tab" width="280" /></a><br />
|
|
165
|
+
<a href="media/en/settings_capabilities.png"><img src="media/en/settings_capabilities.png" alt="Coding OAuth Capabilities tab" width="280" /></a><br />
|
|
166
166
|
<sub>Capabilities</sub>
|
|
167
167
|
</td>
|
|
168
168
|
</tr>
|
|
@@ -184,7 +184,7 @@ The selector only lists routes that completed authentication; unauthenticated pr
|
|
|
184
184
|
|
|
185
185
|
## Optional capabilities
|
|
186
186
|
|
|
187
|
-
All
|
|
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.
|
|
7
|
+
**v0.6.4 · 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
|
|
|
@@ -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
|
## Mudança de nome
|
|
25
25
|
|
|
@@ -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.
|
|
31
|
+
| npm | `dsh-coding-subscription-oauth@0.6.4` (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 |
|
|
@@ -44,7 +44,7 @@ O projeto começou como **`dsh-grok-build`** (só Grok Build). Agora cobre Super
|
|
|
44
44
|
- 🌐 **Ciente de proxy** — faz proxy apenas de domínios de assinatura revisados e confiáveis.
|
|
45
45
|
- 📥 **CLI Pull manual** — as configurações descobrem os arquivos OAuth oficiais dos CLIs Grok/Codex/Kimi/Claude permitidos, somente leitura; você puxa uma cópia de via única após pré-visualização e confirmação de sobrescrita.
|
|
46
46
|
- 🗂️ **Configurações em abas** — Accounts, Gateway, Capabilities e About; hosts remotos preferem device code com menos ruído de CLI missing; cartões conectados ficam recolhidos até serem expandidos.
|
|
47
|
-
- 🎛️ **Capacidades opcionais, padrão desligado** — busca do Codex, uso/cota, geração/edição de imagens, Fast e Grok Imagine são aplicadas ao vivo quando ativadas.
|
|
47
|
+
- 🎛️ **Capacidades opcionais, padrão desligado** — busca do Codex, uso/cota, geração/edição de imagens, Fast e Grok Imagine são aplicadas ao vivo quando ativadas. Outro interruptor, também desligado por padrão, permite que rotas de modelos não Codex usem as ferramentas de imagem Codex sem ignorar login, sessão ou propriedade dos anexos.
|
|
48
48
|
- 🔌 **Gateway de API local opt-in** — servidor loopback compatível com OpenAI/Anthropic, desligado por padrão; para as suas próprias ferramentas, nunca um relé público.
|
|
49
49
|
|
|
50
50
|
## Problemas de integração que este plugin resolve
|
|
@@ -77,13 +77,13 @@ 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.
|
|
80
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
81
81
|
|
|
82
82
|
# 2. opcional — Google Antigravity (versão fixa revisada)
|
|
83
83
|
dsh plugin --profile web add dsh-agy@0.1.2
|
|
84
84
|
|
|
85
|
-
# 3. reinicie o processo DSH Web existente com o gerenciador configurado
|
|
86
|
-
# `dsh web` é o alias oficial da CLI, não um nome de serviço.
|
|
85
|
+
# 3. reinicie o processo DSH Web existente com o gerenciador configurado
|
|
86
|
+
# `dsh web` é o alias oficial da CLI, não um nome de serviço.
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Depois abra **Settings → Coding OAuth** e faça login em qualquer provedor. Pronto — escolha seu modelo autenticado no seletor.
|
|
@@ -114,11 +114,11 @@ Depois abra **Settings → Coding OAuth** e faça login em qualquer provedor. Pr
|
|
|
114
114
|
|
|
115
115
|
## Instalação
|
|
116
116
|
|
|
117
|
-
Requer DeepSeek Harness `0.1.1-rc.2` e Node.js 22.19+. Detalhes completos nas [notas de instalação](INSTALL.md).
|
|
117
|
+
Requer DeepSeek Harness `0.1.1-rc.2` e Node.js 22.19+. Detalhes completos nas [notas de instalação](INSTALL.md).
|
|
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.
|
|
121
|
+
dsh plugin --profile web add dsh-coding-subscription-oauth@0.6.4
|
|
122
122
|
|
|
123
123
|
# desenvolvimento/alternativo: do 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
|
-
Reinicie o processo DSH Web existente após instalar. Verificação contra uma implantação ao vivo:
|
|
130
|
+
Reinicie o processo DSH Web existente após instalar. Verificação contra uma implantação ao vivo:
|
|
131
131
|
|
|
132
132
|
```bash
|
|
133
133
|
pnpm run verify:deployed # confere /api/llm.models real + estado OAuth
|
|
@@ -150,15 +150,15 @@ Abra **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 @@ 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
|
|
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.
|
|
7
|
+
**v0.6.4 · ранее `dsh-grok-build`
|
|
8
8
|
|
|
9
9
|
**Плагин OAuth для подписок на кодинг для [DeepSeek Harness](https://github.com/deepseek-ai/dsh).** Войдите один раз по уже оплаченным подпискам — и используйте их модели из страницы настроек или CLI dsh. **Никаких вставленных токенов в чат.**
|
|
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
|
## Смена имени
|
|
25
25
|
|
|
@@ -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.
|
|
31
|
+
| npm | `dsh-coding-subscription-oauth@0.6.4` (текущая версия) | Старого 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/*` | без изменений |
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
- 🌐 **С учётом прокси** — проксируется только проверенные доверенные домены подписок.
|
|
45
45
|
- 📥 **Ручной CLI Pull** — настройки обнаруживают разрешённые официальные OAuth-файлы CLI Grok/Codex/Kimi/Claude только для чтения; вы забираете одностороннюю копию после предпросмотра и подтверждения перезаписи.
|
|
46
46
|
- 🗂️ **Настройки во вкладках** — Accounts, Gateway, Capabilities и About; на удалённых хостах предпочтителен device code и меньше шума CLI missing; вошедшие карточки свёрнуты, пока их не развернёшь.
|
|
47
|
-
- 🎛️ **Опциональные возможности, по умолчанию выключены** — поиск Codex, использование/квота, генерация/редактирование изображений, Fast и Grok Imagine применяются сразу при включении.
|
|
47
|
+
- 🎛️ **Опциональные возможности, по умолчанию выключены** — поиск Codex, использование/квота, генерация/редактирование изображений, Fast и Grok Imagine применяются сразу при включении. Дополнительный выключенный по умолчанию переключатель разрешает маршрутам не-Codex моделей вызывать инструменты изображений Codex, не обходя вход Codex, сессию и проверку владения вложениями.
|
|
48
48
|
- 🔌 **Локальный API-шлюз по opt-in** — по умолчанию выключенный loopback-сервер, совместимый с OpenAI/Anthropic; для ваших собственных инструментов, а не публичный relay.
|
|
49
49
|
|
|
50
50
|
## Какие проблемы подключения закрывает этот плагин
|
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
|
|
78
78
|
```bash
|
|
79
79
|
# 1. установите текущую npm-версию в web-профиль
|
|
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. опционально — Google Antigravity (зафиксированная проверенная версия)
|
|
83
83
|
dsh plugin --profile web add dsh-agy@0.1.2
|
|
84
84
|
|
|
85
|
-
# 3. перезапустите существующий процесс DSH Web через настроенный менеджер процессов
|
|
86
|
-
# `dsh web` — официальный псевдоним CLI, а не имя службы.
|
|
85
|
+
# 3. перезапустите существующий процесс DSH Web через настроенный менеджер процессов
|
|
86
|
+
# `dsh web` — официальный псевдоним CLI, а не имя службы.
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
Затем откройте **Settings → Coding OAuth** и войдите в любого провайдера. Готово — выберите авторизованную модель в селекторе.
|
|
@@ -114,11 +114,11 @@ dsh plugin --profile web add dsh-agy@0.1.2
|
|
|
114
114
|
|
|
115
115
|
## Установка
|
|
116
116
|
|
|
117
|
-
Требуется DeepSeek Harness `0.1.1-rc.2` и Node.js 22.19+. Полные детали в [заметках по установке](INSTALL.md).
|
|
117
|
+
Требуется DeepSeek Harness `0.1.1-rc.2` и Node.js 22.19+. Полные детали в [заметках по установке](INSTALL.md).
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
120
|
# текущая npm-версия (рекомендуется)
|
|
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
|
# разработка/альтернатива: из 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
|
-
После установки перезапустите существующий процесс DSH Web. Проверка на реальном развёртывании:
|
|
130
|
+
После установки перезапустите существующий процесс DSH Web. Проверка на реальном развёртывании:
|
|
131
131
|
|
|
132
132
|
```bash
|
|
133
133
|
pnpm run verify:deployed # проверяет реальный /api/llm.models + статус OAuth
|
|
@@ -150,15 +150,15 @@ pnpm run smoke:deployed # реальные вызовы Codex/Kimi +
|
|
|
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 @@ pnpm run smoke:deployed # реальные вызовы Codex/Kimi +
|
|
|
178
178
|
|
|
179
179
|
## Дополнительные возможности
|
|
180
180
|
|
|
181
|
-
Все
|
|
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
|
|