dsh-keys-manager 0.4.4 → 0.4.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to dsh-keys-manager are documented here. Assembled from `.changes/unreleased/` fragments by the release-prep workflow.
4
4
 
5
+ ## [0.4.5] - 2026-12-04
6
+
7
+ ### Changed
8
+
9
+ - Build-time `@oh-my-pi/pi-ai`, `pi-catalog`, and `pi-utils` pins move from `18.20.3` to `19.4.2`, with matching `pnpm-workspace.yaml` `patchedDependencies` / `minimumReleaseAgeExclude` rows and a re-ported Cursor exec-frame handoff patch for the `CursorExecContext` / `mcpEffect` surface (prefer local `shell`/`shellStream` when installed).
10
+ - Drop the `google-gemini-cli` transport route (and the leftover `google-antigravity` hub surface): upstream omp 19.3+ removed those Cloud Code Assist OAuth providers. Gemini API key / Vertex are not reinvented here. Antigravity remains as the existing `antigravity-cli` ACP route only.
11
+ - Node 22 polyfill for `RegExp.escape` (needed by pi-catalog 19.x family templates) is embedded in every omp artifact banner and vitest setup; oauth `HookTables.signOut` and regenerated capability indexes track the new pin.
12
+
5
13
  ## [0.4.4] - 2026-11-26
6
14
 
7
15
  ### Changed
package/README.md CHANGED
@@ -30,7 +30,7 @@ manager.
30
30
  - Two more sign in through the plugin's own bundled clients: Kilo and Z.AI
31
31
  Coding Plan.
32
32
  - Seven companion transport routes for providers the vendored pi-ai cannot
33
- speak: Cursor, Devin, the two Google routes, Factory Droid, and the two
33
+ speak: Cursor, Devin, Antigravity CLI, Factory Droid, and the two
34
34
  GitLab Duo routes.
35
35
 
36
36
  **Interface**
@@ -135,8 +135,6 @@ Providers the vendored pi-ai cannot speak are served by the companion
135
135
  |---|---|---|---|
136
136
  | `cursor` | browser page + poll | on the credential seam | 123 |
137
137
  | `devin` | paste the landed callback URL, or import the Devin CLI seat key | none — sign in again | 1 seed, then the account's roster |
138
- | `google-gemini-cli` | loopback `8085` + paste fallback | on the credential seam | 7 |
139
- | `google-antigravity` | loopback `51121` + paste fallback | on the credential seam | 22 |
140
138
  | `factory-droid` | WorkOS device code (URL + user code) | one refresh in a 60 s window, keeps `orgId`/`region` | 77 |
141
139
  | `gitlab-duo` | PKCE loopback `localhost:8080/callback`, no port fallback, paste fallback | one refresh in a 60 s window | 16 |
142
140
  | `gitlab-duo-agent` | paste the `vscode://` URL | one refresh, echoes the `vscode` redirect | 1 |
@@ -150,21 +148,12 @@ Providers the vendored pi-ai cannot speak are served by the companion
150
148
  - **Devin** — no refresh. The browser sign-in derives an expiry from the token
151
149
  (JWT `exp` minus five minutes, else one year); the CLI import's seat key has
152
150
  none, so that row is a static bearer with a blank countdown column.
153
- - **Google routes** — both share one generated `lib/omp/google.mjs` artifact yet
154
- keep separate grants, account rows and catalogs. The grant is
155
- `{access, refresh, expires, projectId, email?}`; sign-in resolves the Cloud
156
- project the route bills, and a `legacy-tier` or paid account whose project
157
- cannot be discovered is asked for it in the sign-in panel — `GOOGLE_CLOUD_PROJECT`
158
- (or `GOOGLE_CLOUD_PROJECT_ID`) in the host environment answers the same
159
- question without the prompt, and declining both fails `AUTH_FAILED`. The
160
- question belongs to `google-gemini-cli`; Antigravity onboards its free tier
161
- instead. The two routes are not interchangeable accounts: `google-gemini-cli`
162
- is the Google Cloud (Gemini Code Assist) route and needs a Cloud project — a
163
- Google One subscription does not supply one — while `google-antigravity` runs
164
- on a Google account's Antigravity entitlement, where Antigravity's own plans
165
- (including the Google One AI plans) decide access. Neither route needs
166
- Antigravity's `agy` CLI, and neither speaks ACP: omp ships that as a separate
167
- `antigravity-cli` provider, which this plugin does not bundle.
151
+ - **Antigravity CLI** — the `antigravity-cli` ACP route (login via `antigravity-login`).
152
+ Upstream omp 19.3+ removed the Cloud Code Assist OAuth providers
153
+ (`google-gemini-cli` / `google-antigravity`); those hub routes are gone here too.
154
+ This is not a rename of `google-gemini-cli`: different login, different wire,
155
+ different catalog. Gemini API key / Vertex are not reinvented in KeysManager.
156
+
168
157
  - **Factory Droid** — four wires behind one proxy, chosen by model id inside the
169
158
  artifact; rows carry no base URL and the account's residency
170
159
  (`orgId`/`region`) survives refresh.
@@ -230,7 +219,7 @@ Four groups, one pool:
230
219
  - **OAuth accounts** — 9 routes that join as an account instead of a pasted key:
231
220
  seven use pi-ai's own flows, `kilo` and `zai` are signed in by the plugin's
232
221
  bundled clients.
233
- - **Transport routes** — 7 routes the vendored pi-ai cannot speak, served by
222
+ - **Transport routes** — 6 routes the vendored pi-ai cannot speak, served by
234
223
  `dsh-llm-omp-transports`.
235
224
 
236
225
  <details>
@@ -301,8 +290,8 @@ seven pi-ai rows are the provider's own grants. `kilo` is listed twice on
301
290
  purpose: the same route takes an API key as an extra built-in and an account
302
291
  through its bundled client.
303
292
 
304
- **Transport routes — 7** — `cursor`, `devin`, `google-gemini-cli`,
305
- `google-antigravity`, `factory-droid`, `gitlab-duo`, `gitlab-duo-agent`; sign-in,
293
+ **Transport routes — 6** — `cursor`, `devin`, `antigravity-cli`,
294
+ `factory-droid`, `gitlab-duo`, `gitlab-duo-agent`; sign-in,
306
295
  refresh and model detail live in [Transport routes](#transport-routes).
307
296
 
308
297
  </details>
@@ -328,7 +317,7 @@ yourself in the profile (`自定义` / Custom) is pooled like any built-in.
328
317
  |---|---|
329
318
  | [Development](docs/development.md) | build and dev workflow, repository layout |
330
319
  | [Release](docs/release.md) | CI checks and the npm release flow |
331
- | [Known limits](docs/known-limits.md) | current design boundaries, including the seven transport routes |
320
+ | [Known limits](docs/known-limits.md) | current design boundaries, including the six transport routes |
332
321
  | [Transports package](packages/llm-omp/README.md) | Transport routes: support status, risks, build/test, release |
333
322
 
334
323
  Chinese: [README.zh-CN.md](README.zh-CN.md) · [开发](docs/development.zh-CN.md) ·
package/README.zh-CN.md CHANGED
@@ -23,7 +23,7 @@ DSH Keys Manager 是一个 DeepSeek Harness 插件,把一个提供商 API key
23
23
 
24
24
  - 七家 pi-ai OAuth 提供商可以以账户身份入池,而不必粘贴 key。
25
25
  - 另有两条通过本插件自带的登录客户端入池:Kilo 与 Z.AI Coding Plan。
26
- - 随附七条传输路由,服务随附 pi-ai 无法支持的提供商:Cursor、Devin、两条 Google 路由、Factory Droid 与两条 GitLab Duo 路由。
26
+ - 随附六条传输路由,服务随附 pi-ai 无法支持的提供商:Cursor、Devin、Antigravity CLI、Factory Droid 与两条 GitLab Duo 路由。
27
27
 
28
28
  **界面**
29
29
 
@@ -91,8 +91,6 @@ dsh plugin --profile web link .
91
91
  |---|---|---|---|
92
92
  | `cursor` | 浏览器页面 + 轮询 | 在凭据 seam 上 | 123 |
93
93
  | `devin` | 粘贴浏览器最终落到的地址 | 无 —— 需重新登录 | 2 |
94
- | `google-gemini-cli` | 回环 `8085` + 粘贴兜底 | 在凭据 seam 上 | 7 |
95
- | `google-antigravity` | 回环 `51121` + 粘贴兜底 | 在凭据 seam 上 | 22 |
96
94
  | `factory-droid` | WorkOS 设备码(网址 + 用户码) | 60 秒窗口内刷新一次,保留 `orgId`/`region` | 77 |
97
95
  | `gitlab-duo` | PKCE 回环 `localhost:8080/callback`,无端口回落,可粘贴兜底 | 60 秒窗口内刷新一次 | 16 |
98
96
  | `gitlab-duo-agent` | 粘贴 `vscode://` 链接 | 刷新一次,回显 `vscode` 重定向 | 1 |
@@ -102,7 +100,11 @@ dsh plugin --profile web link .
102
100
 
103
101
  - **Cursor** —— 支持文本与推理流,把工具调用交给 DSH 的工具循环;遇到图片块以类型化错误拒绝。该客户端呈现 Cursor 厂商内部的 OAuth 身份。
104
102
  - **Devin** —— 没有刷新:记录是静态 bearer,有效期由令牌推导(JWT `exp` 减五分钟,否则一年);没有可读有效期时行显示 `active`,倒计时列留空。
105
- - **两条 Google 路由** —— 共用一份生成的 `lib/omp/google.mjs` 产物,却各自保留独立的授权、账户行与模型目录。授权内容为 `{access, refresh, expires, projectId, email?}`;登录会解析该路由计费所用的 Google Cloud 项目,`legacy-tier` 或付费账户若无法发现项目则以 `AUTH_FAILED` 失败,直到设置 `GOOGLE_CLOUD_PROJECT`(或 `GOOGLE_CLOUD_PROJECT_ID`)。
103
+ - **Antigravity CLI** —— `antigravity-cli` ACP 路由(经 `antigravity-login` 登录)。
104
+ 上游 omp 19.3+ 已移除 Cloud Code Assist OAuth 提供商(`google-gemini-cli` /
105
+ `google-antigravity`),本仓库同步下线这两条 hub 路由。这不是 `google-gemini-cli`
106
+ 的改名:登录、线路与目录均不同。KeysManager 不会在此重造 Gemini API key / Vertex 传输。
107
+
106
108
  - **Factory Droid** —— 一个代理背后是四套协议,由产物内的模型 id 选择;行上不带 base URL,账户的区域属性(`orgId`/`region`)在刷新后保留。
107
109
  - **GitLab Duo 一对** —— `gitlab-duo` 的 direct-access token 缓存以 GitLab token 为键,轮换后的 token 因此会未命中;`gitlab-duo-agent` 每个请求重新播种一条工作流并重放会话记录,而不是复用 socket。
108
110
 
@@ -208,7 +210,7 @@ $DSH_HOME/keys-manager/state.json
208
210
 
209
211
  两个插件签发的凭据是静态的,标记为 `signin:kilo` / `signin:zai-coding-plan`,不会向 `llm-pi-ai/<provider>` 写入任何内容;七条 pi-ai 行则是提供商自己的授权。`kilo` 出现两次是刻意的:同一条路由既可以作为插件额外内置路由收 API key,也可以通过自带客户端以账户身份入池。
210
212
 
211
- **传输路由 —— 7** —— `cursor`、`devin`、`google-gemini-cli`、`google-antigravity`、`factory-droid`、`gitlab-duo`、`gitlab-duo-agent`;登录、刷新与模型细节见[传输路由](#传输路由)。
213
+ **传输路由 —— 6** —— `cursor`、`devin`、`antigravity-cli`、`factory-droid`、`gitlab-duo`、`gitlab-duo-agent`;登录、刷新与模型细节见[传输路由](#传输路由)。
212
214
 
213
215
  </details>
214
216
 
@@ -232,7 +234,7 @@ $DSH_HOME/keys-manager/state.json
232
234
  |---|---|
233
235
  | [开发](docs/development.zh-CN.md) | 构建与开发工作流、仓库布局 |
234
236
  | [发布](docs/release.zh-CN.md) | CI 检查与 npm 发布流程 |
235
- | [已知限制](docs/known-limits.zh-CN.md) | 当前设计边界,含七条传输路由 |
237
+ | [已知限制](docs/known-limits.zh-CN.md) | 当前设计边界,含六条传输路由 |
236
238
  | [传输包(英文)](packages/llm-omp/README.md) | 传输路由:支持状态、风险、构建/测试与发布 |
237
239
 
238
240
  英文版本:[README.md](README.md) · [Development](docs/development.md) · [Release](docs/release.md) · [Known limits](docs/known-limits.md)。
@@ -2,7 +2,7 @@
2
2
  * Generated by scripts/generate-extra-capabilities.mjs — do not edit by hand;
3
3
  * run `pnpm run generate:capabilities` after bumping @oh-my-pi/pi-catalog.
4
4
  *
5
- * Source: @oh-my-pi/pi-catalog@18.20.3 src/models.json (sha256:d183025c204d185d1a002fccfc2bd7afd39407c3b96062fa373e56947e1ccdaf).
5
+ * Source: @oh-my-pi/pi-catalog@19.4.2 src/models.json (sha256:57b1026bd01d473d4c09aa5f3c715949aa8298e31db9caebc21d285597ed3f28).
6
6
  *
7
7
  * Two indexes over the same pin, both keyed by extra-provider route.
8
8
  *