dsh-antigravity-auth 0.1.4-rc.5 → 0.1.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 +18 -0
- package/README.md +20 -8
- package/README.zh.md +18 -8
- package/docs/dsh-source-verification.md +9 -9
- package/lib/client.cjs +5 -3
- package/lib/client.cjs.map +1 -1
- package/lib/index.js +13 -7
- package/lib/llm-adapter.js +18 -18
- package/lib/project-context.js +3 -2
- package/lib/replay.js +13 -7
- package/lib/types/account-routes.d.ts.map +1 -1
- package/lib/types/client/AntigravityAuthSettings.d.ts.map +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/llm-adapter.d.ts +1 -1
- package/lib/types/llm-adapter.d.ts.map +1 -1
- package/lib/types/project-context.d.ts.map +1 -1
- package/lib/types/replay.d.ts +4 -2
- package/lib/types/replay.d.ts.map +1 -1
- package/lib/types/rpc.d.ts +1 -1
- package/lib/types/rpc.d.ts.map +1 -1
- package/lib/types/search.d.ts.map +1 -1
- package/package.json +54 -55
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [Unreleased]
|
|
4
|
+
|
|
5
|
+
## [0.1.4] - 2026-10-30
|
|
6
|
+
|
|
7
|
+
- Verify the plugin against the coherent DSH `0.2.1-rc.5` graph and forward the admitted request peer for account RPC.
|
|
8
|
+
- Respect DSH WebRuntime provider selection without mutating its private selection state.
|
|
9
|
+
- Remove the DSH version range restriction from published peers and retire the unused `dsh-invariants` peer.
|
|
10
|
+
|
|
11
|
+
## [0.1.4-rc.6] - 2026-10-13
|
|
12
|
+
|
|
13
|
+
- Adapt the plugin to DSH `0.2.0-rc.2` and keep the tested dependency graph coherent.
|
|
14
|
+
- Preserve the existing credential isolation, V4 tool history, signed replay, and concurrent search cancellation behavior.
|
|
15
|
+
- Update the matching official source verification target and remove obsolete prerelease age exceptions.
|
|
16
|
+
- Fix Windows test isolation so test fixtures do not overwrite live user credentials or capability gates in `%LOCALAPPDATA%\dsh-antigravity-auth`.
|
|
17
|
+
- Register `google` as an alias provider route alongside `google-antigravity` so sessions and configurations specifying `google` seamlessly route to `AntigravityAdapter`.
|
|
18
|
+
- Robustify project ID normalization to handle resource name prefixes and alphanumeric IDs.
|
|
19
|
+
- Keep Host test fixtures isolated from live profile data and preserve explicit Web Search provider selections.
|
|
20
|
+
|
|
3
21
|
## [0.1.4-rc.5] - 2026-09-28
|
|
4
22
|
|
|
5
23
|
- Align the plugin and its dependency graph with DSH `0.2.0-rc.1`, Cordis `4.0.4`, and Schemastery `3.18.4`.
|
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# dsh-antigravity-auth
|
|
2
2
|
|
|
3
|
-
> **DSH compatibility:** `0.1.4
|
|
3
|
+
> **DSH compatibility:** Version `0.1.4` declares no DSH version range restriction. Its tested development baseline is DSH `0.2.1-rc.5`; other versions have not been verified by these checks. See [verification](docs/dsh-source-verification.md).
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/dsh-antigravity-auth)
|
|
6
6
|
[](https://awesome-dsh-plugin.com)
|
|
7
7
|
|
|
8
8
|
English | [中文](README.zh.md)
|
|
9
9
|
|
|
10
|
-
Release: **v0.1.4
|
|
10
|
+
Release: **v0.1.4** (npm tag: `latest`).
|
|
11
11
|
|
|
12
12
|
A self-contained [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)
|
|
13
13
|
**Antigravity Capability Bundle**. It integrates Antigravity's private OAuth session
|
|
@@ -27,6 +27,14 @@ The settings section follows the DSH interface language (English or Chinese), in
|
|
|
27
27
|
> may be rate-limited or changed without notice. Do not rely on it for
|
|
28
28
|
> production workloads.
|
|
29
29
|
|
|
30
|
+
## 0.1.4: DSH 0.2.1 compatibility
|
|
31
|
+
|
|
32
|
+
Updates the tested DSH graph to `0.2.1-rc.5`, forwards the request's admitted peer to account RPC, and respects the Host's Web Search provider selection. DSH peers are unrestricted so installation is not rejected solely by the Host version; this does not imply untested versions will work. The full package and fixed-source checks pass. The disposable Web Host and logged-out account status route were exercised without live OAuth or private endpoint calls.
|
|
33
|
+
|
|
34
|
+
## 0.1.4-rc.6: DSH 0.2.0-rc.2 adaptation and selection fixes
|
|
35
|
+
|
|
36
|
+
This release raises the minimum and tested DSH dependency graph to `0.2.0-rc.2`, while preserving the existing credential, replay, and cancellation behavior. It also isolates Host test fixtures from live profile data, adds the `google` provider alias, normalizes Antigravity project IDs, and preserves an explicit `deepseek-official` Web Search selection instead of overriding it during automatic registration. The complete package and tagged-source checks pass; live account and private transport behavior remain unverified.
|
|
37
|
+
|
|
30
38
|
## 0.1.4-rc.5: DSH 0.2.0-rc.1 adaptation
|
|
31
39
|
|
|
32
40
|
This release updates the DSH dependency graph, registers capability controls through Config Forms and volatile settings, forwards the current Connection RPC operator, and maps V4 role `tool` messages into provider history. The account route keeps its Host-side loopback guard. The complete package and tagged-source checks pass; live account and private transport behavior remain unverified.
|
|
@@ -86,6 +94,10 @@ The `antigravity-search` Host row registers provider ID `antigravity` through
|
|
|
86
94
|
the audited Wire Identity dispatcher. Results include the generated output and deduplicated,
|
|
87
95
|
validated HTTP(S) source references.
|
|
88
96
|
|
|
97
|
+
DSH owns the active search-provider selection. Select `antigravity` in the
|
|
98
|
+
Host's Web Search configuration when multiple providers are available; the
|
|
99
|
+
plugin does not overwrite an existing selection.
|
|
100
|
+
|
|
89
101
|
### Image Creation & Editing
|
|
90
102
|
|
|
91
103
|
`generate_image` presents a unified operation dispatching to Antigravity image endpoints:
|
|
@@ -105,24 +117,24 @@ Multimodal `analyze_video` tool accepts workspace MP4 videos, performing bounded
|
|
|
105
117
|
- Clear status tiers: Normal (>60%, emerald green), Warning (30%–60%, amber), and Low (<30%, coral red).
|
|
106
118
|
- Elegant loading shimmer tracks and querying spinner animations.
|
|
107
119
|
|
|
108
|
-
## Requirements
|
|
120
|
+
## Requirements (current checkout)
|
|
109
121
|
|
|
110
|
-
- DeepSeek Harness `0.2.
|
|
122
|
+
- DeepSeek Harness `0.2.1-rc.5` (tested coherent dependency graph).
|
|
111
123
|
- Node.js `^22.19.0` or `>=24.0.0`.
|
|
112
124
|
- `pnpm` available on `PATH` (`11.7.0` is the tested project package manager).
|
|
113
125
|
- A Google account with Antigravity access.
|
|
114
126
|
|
|
115
|
-
## Install
|
|
127
|
+
## Install (published release)
|
|
116
128
|
|
|
117
|
-
Stop `dsh web`,
|
|
129
|
+
Stop `dsh web`, then install the latest release into the intended profile:
|
|
118
130
|
|
|
119
131
|
```sh
|
|
120
132
|
dsh --version
|
|
121
|
-
dsh plugin --profile web add
|
|
133
|
+
dsh plugin --profile web add dsh-antigravity-auth
|
|
122
134
|
dsh plugin --profile web list
|
|
123
135
|
```
|
|
124
136
|
|
|
125
|
-
Verify the entry, restart `dsh web`, and refresh the browser.
|
|
137
|
+
Verify the entry, restart `dsh web`, and refresh the browser. The example uses the `web` profile; replace it with the intended profile, such as `desktop`.
|
|
126
138
|
|
|
127
139
|
## Terminal login command
|
|
128
140
|
|
package/README.zh.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# dsh-antigravity-auth
|
|
2
2
|
|
|
3
|
-
> **DSH 兼容性:** `0.1.4
|
|
3
|
+
> **DSH 兼容性:** `0.1.4` 不限制 DSH 版本范围,开发测试基线为 DSH `0.2.1-rc.5`;这些检查未验证其他版本。见[验证说明](docs/dsh-source-verification.md)。
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/dsh-antigravity-auth)
|
|
6
6
|
[](https://awesome-dsh-plugin.com)
|
|
7
7
|
|
|
8
8
|
[English](README.md) | 中文
|
|
9
9
|
|
|
10
|
-
发布版本:**v0.1.4
|
|
10
|
+
发布版本:**v0.1.4**(npm 标签:`latest`)。
|
|
11
11
|
|
|
12
12
|
这是一个自包含的 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)
|
|
13
13
|
**Antigravity 能力包**。它集成了 Antigravity 的私有 OAuth 登录态与 Wire Identity 线路身份,提供:
|
|
@@ -24,6 +24,14 @@
|
|
|
24
24
|
> **⚠️ 非官方通道——仅限个人开发。** 私有、受账户权限控制的 Antigravity
|
|
25
25
|
> 后端服务未获官方支持、可随时撤销,也可能在没有通知的情况下被限流或变更。请勿依赖它承载生产任务。
|
|
26
26
|
|
|
27
|
+
## 0.1.4:适配 DSH 0.2.1
|
|
28
|
+
|
|
29
|
+
开发测试依赖图升级至 DSH `0.2.1-rc.5`,账号 RPC 转发当前请求通过认证的身份,网页搜索保留 Host 的提供方选择。DSH peer 不设版本范围,安装不会仅因 Host 版本被拦截;这不代表未经验证的版本一定可用。完整包检查和固定源码检查已通过,并在隔离 Web Host 中验证未登录状态接口;没有发起真实 OAuth 或私有接口请求。
|
|
30
|
+
|
|
31
|
+
## 0.1.4-rc.6:适配 DSH 0.2.0-rc.2 与选择保持修复
|
|
32
|
+
|
|
33
|
+
此版本将最低及已测试的 DSH 依赖图升级到 `0.2.0-rc.2`,并保留既有凭据隔离、历史重放与取消行为。同时隔离 Host 测试 fixture 与真实 profile 数据,增加 `google` 提供方别名,规范化 Antigravity project ID,并在自动注册时保留用户明确选择的 `deepseek-official` 网页搜索提供方。完整包检查与固定源码检查已通过;真实账号和私有传输尚未验证。
|
|
34
|
+
|
|
27
35
|
## 0.1.4-rc.5:适配 DSH 0.2.0-rc.1
|
|
28
36
|
|
|
29
37
|
此版本更新 DSH 依赖图,使用 Config Forms 与 volatile 配置注册功能控制项,向 Connection RPC 传入新版 operator,并将 V4 `tool` 角色消息映射到提供商历史。账号路由保留 Host 侧回环限制。完整包检查与固定源码检查已通过;真实账号和私有传输尚未验证。
|
|
@@ -80,6 +88,8 @@
|
|
|
80
88
|
|
|
81
89
|
`antigravity-search` Host 行通过 `@deepseek-ai/dsh-web` 注册 ID 为 `antigravity` 的全局搜索提供方。基于审计过的 Wire Identity 线路分发请求,返回真实 grounding 来源与去重检验过的 HTTP(S) 链接。
|
|
82
90
|
|
|
91
|
+
搜索提供方由 DSH 选择。存在多个可用提供方时,请在 Host 的网页搜索配置中选择 `antigravity`;插件不会覆盖已有选择。
|
|
92
|
+
|
|
83
93
|
### 图片创作与编辑
|
|
84
94
|
|
|
85
95
|
`generate_image` 为模型提供统一操作接口,分发至 Antigravity 图片端点:
|
|
@@ -99,24 +109,24 @@
|
|
|
99
109
|
- 状态三档配色:充足(>60%,翡翠绿)、预警(30%–60%,警示橙)、紧急(<30%,警示红)。
|
|
100
110
|
- 配备 Shimmer 微光流动轨道、微型 Spinner 与平滑展开动画。
|
|
101
111
|
|
|
102
|
-
##
|
|
112
|
+
## 环境要求(当前源码)
|
|
103
113
|
|
|
104
|
-
- DeepSeek Harness `0.2.
|
|
114
|
+
- DeepSeek Harness `0.2.1-rc.5`(统一依赖图;npm 与对应源码制品分别验证)。
|
|
105
115
|
- Node.js `^22.19.0` 或 `>=24.0.0`。
|
|
106
116
|
- `PATH` 中可用 `pnpm`(本项目测试版本为 `11.7.0`)。
|
|
107
117
|
- 具有 Antigravity 权限的 Google 账号。
|
|
108
118
|
|
|
109
|
-
##
|
|
119
|
+
## 安装(已发布版本)
|
|
110
120
|
|
|
111
|
-
先停止 `dsh web
|
|
121
|
+
先停止 `dsh web`,再将最新发布版安装到目标 profile:
|
|
112
122
|
|
|
113
123
|
```sh
|
|
114
124
|
dsh --version
|
|
115
|
-
dsh plugin --profile web add
|
|
125
|
+
dsh plugin --profile web add dsh-antigravity-auth
|
|
116
126
|
dsh plugin --profile web list
|
|
117
127
|
```
|
|
118
128
|
|
|
119
|
-
核对条目后重启 `dsh web`
|
|
129
|
+
核对条目后重启 `dsh web` 并刷新浏览器。示例使用 `web` profile;请按实际情况替换为 `desktop` 等目标 profile。
|
|
120
130
|
|
|
121
131
|
## 终端登录命令
|
|
122
132
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# DSH source compatibility verification
|
|
2
2
|
|
|
3
|
-
This checkout
|
|
4
|
-
source tag at `
|
|
5
|
-
the lockfile,
|
|
6
|
-
|
|
3
|
+
This checkout tests the published DSH `0.2.1-rc.5` graph and its matching
|
|
4
|
+
source tag at `b830ec950faba0a46dda564be3e2d854afed94f1`. Development dependencies,
|
|
5
|
+
the lockfile, and package smoke checks use this baseline. This check does not
|
|
6
|
+
prove behavior on other DSH versions.
|
|
7
7
|
|
|
8
8
|
## Build the official artifacts once
|
|
9
9
|
|
|
10
10
|
Use a separate scratch directory, outside any plugin or live DSH installation:
|
|
11
11
|
|
|
12
12
|
```sh
|
|
13
|
-
git clone --depth 1 --branch dsh-v0.2.
|
|
13
|
+
git clone --depth 1 --branch dsh-v0.2.1-rc.5 https://github.com/deepseek-ai/deepseek-harness.git harness
|
|
14
14
|
cd harness
|
|
15
15
|
git rev-parse HEAD
|
|
16
|
-
# Must be
|
|
16
|
+
# Must be b830ec950faba0a46dda564be3e2d854afed94f1.
|
|
17
17
|
PNPM_CONFIG_MINIMUM_RELEASE_AGE=0 pnpm install --frozen-lockfile --ignore-scripts
|
|
18
18
|
pnpm run build:lib
|
|
19
19
|
pnpm --filter './packages/**' --filter './vendor/*' -r pack --pack-destination ../dsh-packages
|
|
@@ -51,12 +51,12 @@ repository, an installed package, or a user profile.
|
|
|
51
51
|
|
|
52
52
|
Package smoke checks accept both registry and source-artifact lock identities
|
|
53
53
|
while continuing to verify the selected version. Both registry and source
|
|
54
|
-
checks target `0.2.
|
|
54
|
+
checks target `0.2.1-rc.5`; source checks use `DSH_VERIFY_VERSION` explicitly.
|
|
55
55
|
|
|
56
56
|
## 中文说明
|
|
57
57
|
|
|
58
|
-
当前检出版本以已发布的 DSH `0.2.
|
|
59
|
-
|
|
58
|
+
当前检出版本以已发布的 DSH `0.2.1-rc.5` 为开发和验证基线,
|
|
59
|
+
锁文件与打包检查使用同一套依赖图;此检查不能证明其他 DSH 版本的运行结果。
|
|
60
60
|
|
|
61
61
|
按上面的固定 tag 构建、打包一次,然后在本插件目录运行
|
|
62
62
|
`pnpm run check:dsh-source -- /绝对路径/dsh-packages`。脚本在临时目录内安装
|
package/lib/client.cjs
CHANGED
|
@@ -1198,8 +1198,7 @@ window.__ModuleLoader__.load({
|
|
|
1198
1198
|
base: void 0,
|
|
1199
1199
|
user: void 0,
|
|
1200
1200
|
revision: void 0,
|
|
1201
|
-
writable: false
|
|
1202
|
-
mode: "memory"
|
|
1201
|
+
writable: false
|
|
1203
1202
|
};
|
|
1204
1203
|
function useCapabilitySettings(scope) {
|
|
1205
1204
|
const subscribe = (0, react.useCallback)((listener) => scope?.subscribe(listener) ?? (() => {}), [scope]);
|
|
@@ -1323,6 +1322,9 @@ window.__ModuleLoader__.load({
|
|
|
1323
1322
|
await load(signal);
|
|
1324
1323
|
return;
|
|
1325
1324
|
}
|
|
1325
|
+
try {
|
|
1326
|
+
if (typeof window !== "undefined" && typeof window.open === "function" && result.value?.authorizationUrl && !window.navigator?.userAgent?.includes("jsdom")) window.open(result.value.authorizationUrl, "_blank");
|
|
1327
|
+
} catch {}
|
|
1326
1328
|
setStatus((previous) => {
|
|
1327
1329
|
if (previous === null) return previous;
|
|
1328
1330
|
const { errorCode: _ignoredErrorCode, ...login } = previous.login;
|
|
@@ -1487,7 +1489,7 @@ window.__ModuleLoader__.load({
|
|
|
1487
1489
|
},
|
|
1488
1490
|
children: loginBusy ? t("startingLogin") : isConfigured ? t("relogin") : t("login")
|
|
1489
1491
|
}),
|
|
1490
|
-
|
|
1492
|
+
isConfigured ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
1491
1493
|
className: "agy-btn agy-btn-outline",
|
|
1492
1494
|
type: "button",
|
|
1493
1495
|
disabled: actionBusy,
|