dsh-agy-link 0.4.90 → 0.4.92
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 +28 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.92 (2026-10-29)
|
|
4
|
+
|
|
5
|
+
### English
|
|
6
|
+
|
|
7
|
+
- **Fix(models): don't parse lowercase `error:`/`failed:` diagnostic lines into bogus model slugs.**
|
|
8
|
+
- The two-column text fallback skipped rows starting with capital `Fetching`/`Error` only, so a lowercase `error: …` / `failed: …` line (two-space aligned) was parsed as a model with slug `error:`. The banner filter is now case-insensitive and also covers `failed`. Adds a regression test.
|
|
9
|
+
|
|
10
|
+
### 中文
|
|
11
|
+
|
|
12
|
+
- **修复(models):不再把小写的 `error:`/`failed:` 诊断行解析成假模型条目。**
|
|
13
|
+
- 两列文本回退只跳过首字母大写的 `Fetching`/`Error`,因此小写且以两空格对齐的 `error: …`/`failed: …` 会被解析成 slug 为 `error:` 的假模型。现 banner 过滤改为大小写不敏感并覆盖 `failed`。补充回归测试。
|
|
14
|
+
|
|
15
|
+
**Full Changelog**: https://github.com/amlyczz/dsh-agy-link/compare/v0.4.91...v0.4.92
|
|
16
|
+
|
|
17
|
+
## 0.4.91 (2026-10-29)
|
|
18
|
+
|
|
19
|
+
### English
|
|
20
|
+
|
|
21
|
+
- **Security(doctor): redact secret URL query parameters (`access_token`, `token`, `api_key`, …).**
|
|
22
|
+
- `redactLine()` fully redacted accounts.google.com URLs but left secret-bearing query parameters on any other URL (OAuth callbacks, signed URLs) in the clear. Query keys `access_token/refresh_token/id_token/token/api_key/apikey/client_secret/key` are now masked as `<key>=<redacted>` while other query parameters are preserved. Adds a regression test.
|
|
23
|
+
|
|
24
|
+
### 中文
|
|
25
|
+
|
|
26
|
+
- **安全(doctor):脱敏 URL 查询串中的密钥参数(`access_token`、`token`、`api_key` 等)。**
|
|
27
|
+
- `redactLine()` 只整体脱敏 accounts.google.com 的 URL,其它 URL(OAuth 回调、签名链接)上的密钥查询参数会明文残留。现对 `access_token/refresh_token/id_token/token/api_key/apikey/client_secret/key` 统一掩码为 `<key>=<redacted>`,其它查询参数保留。补充回归测试。
|
|
28
|
+
|
|
29
|
+
**Full Changelog**: https://github.com/amlyczz/dsh-agy-link/compare/v0.4.90...v0.4.91
|
|
30
|
+
|
|
3
31
|
## 0.4.90 (2026-10-29)
|
|
4
32
|
|
|
5
33
|
### English
|
package/dist/index.js
CHANGED
|
@@ -2142,7 +2142,7 @@ function parseModelsOutput(stdout) {
|
|
|
2142
2142
|
const out = [];
|
|
2143
2143
|
for (const line of text.split(/\n/)) {
|
|
2144
2144
|
const t = line.trim();
|
|
2145
|
-
if (t === "" ||
|
|
2145
|
+
if (t === "" || /^(fetching|error|failed|warning|please sign in|tip:)/i.test(t)) continue;
|
|
2146
2146
|
const m = t.match(/^(\S+)(?:\t+|\s{2,})(.+)$/);
|
|
2147
2147
|
if (m && m[1] !== void 0 && m[2] !== void 0) out.push({
|
|
2148
2148
|
slug: m[1],
|
|
@@ -32433,6 +32433,7 @@ function redactLine(line) {
|
|
|
32433
32433
|
out = out.replace(/\bsk-[A-Za-z0-9_-]{16,}\b/g, "<api-key-redacted>");
|
|
32434
32434
|
out = out.replace(/\bGOCSPX-[A-Za-z0-9_-]{10,}\b/g, "<api-key-redacted>");
|
|
32435
32435
|
out = out.replace(/\b((?:proxy-)?authorization|cookie|set-cookie|x-api-key)\s*:\s*[^\r\n]+/gi, "$1: <redacted>");
|
|
32436
|
+
out = out.replace(/([?&](?:access_token|refresh_token|id_token|token|api_key|apikey|client_secret|key)=)[^&\s]+/gi, "$1<redacted>");
|
|
32436
32437
|
out = out.replace(/\b(?:https?|socks[45]):\/\/[^\s/]*:[^\s/@]*@[^\s]+/gi, "<proxy-url-redacted>");
|
|
32437
32438
|
return out;
|
|
32438
32439
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-agy-link",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.92",
|
|
4
4
|
"description": "Google Antigravity (agy CLI) models for DeepSeek Harness — stream Gemini/Claude/GPT-OSS subscriptions into DSH with thinking, tool activity, token usage and in-GUI Google OAuth login.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|