dsh-browser-playwright-codex 0.6.0 → 0.6.1
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 +9 -0
- package/SECURITY.md +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
Bilingual by intent: the version headings and the summary of each release are given in both
|
|
4
4
|
languages, the individual entries follow the language the surrounding code and docs use.
|
|
5
5
|
|
|
6
|
+
## 0.6.1 — 2026-10-16
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **清掉仓库里的本机绝对路径**:`DIALOG-POLICY.md` 里那条 `D:\dsh-plugins\…` 与 `codex-rules.md` 里那条 `C:\Users\…\.codex\…` 换成通用说法;`ci.yml` 里写死的验收计数("(52 checks)",实际 57 项)改成由脚本自己打印,从此不会再漂移。三处都是外部模型评审当场读出来的。
|
|
10
|
+
- **SECURITY.md 的扫描数字更新为 2026-10-16 对 0.6.0 的实测**:dsh.so 的 `dsh-plugin-vet` 扫出
|
|
11
|
+
**1 Critical / 3 Warning / 25 Info**(80 个文件),此前记的是 v0.5.3 的 1 / 3 / 22(75 个文件)。
|
|
12
|
+
Critical 与 Warning 的**条目**没变(Critical 仍是 `browser_evaluate` 的 `new Function`),只有 Info 随代码增长增加。
|
|
13
|
+
(旧数字来自我们的上一次扫描;新数字来自 dsh.so 的独立扫描,用于核对。)
|
|
14
|
+
|
|
6
15
|
## 0.6.0 — 2026-10-16
|
|
7
16
|
一句话摘要:**`browser_fill` 现在也接受 `value` 这个参数名**(模型按语义猜也能一次成功),缺值时给的是指路错误,而不是"缺少属性 text"。
|
|
8
17
|
|
package/SECURITY.md
CHANGED
|
@@ -70,8 +70,8 @@ Nothing else.
|
|
|
70
70
|
|
|
71
71
|
## 2. What the scanner reports, and which gate contains it
|
|
72
72
|
|
|
73
|
-
dsh.so runs `dsh-plugin-vet` over the whole repository. Their scan of **
|
|
74
|
-
**1 Critical, 3 Warning,
|
|
73
|
+
dsh.so runs `dsh-plugin-vet` over the whole repository. Their scan of **0.6.0 (2026-10-16)** reports
|
|
74
|
+
**1 Critical, 3 Warning, 25 Info** across 80 files — and it is **right about the capability**. Here is
|
|
75
75
|
each one, with the gate that decides whether it is reachable at all.
|
|
76
76
|
|
|
77
77
|
> For the record: their v0.4.9 scan — before this plugin was split into responsibility-scoped modules —
|
|
@@ -83,7 +83,7 @@ each one, with the gate that decides whether it is reachable at all.
|
|
|
83
83
|
| Critical | `new Function('return (' + expression + ')')` — reported in `lib/session.js` (source: `src/session.ts`) | The body of **`browser_evaluate`**: it wraps your expression and runs it in the page. This is what "run JavaScript in the page" means; there is no way to implement it without dynamic evaluation. | Only when `allowEvaluate: true`. **The package ships `false`, so the tool is not registered.** |
|
|
84
84
|
| Warning | `fs.writeFileSync` of a JSON blob (`lib/login-state.js`, `lib/runtime-state.js`) | Exporting the login state (`cookies` + `localStorage`) so a closed window can be reopened still logged in, and the small runtime state file behind the Settings switches. | Always — it is how login persistence works. The files live under your DSH home. |
|
|
85
85
|
| Warning | HTTP request to a bare IP (`scripts/dsh-browser-verify.mjs`) | The acceptance suite starts a **local** `http.server` on `127.0.0.1` with a fixture page, so `npm run verify` needs no DSH and no internet. | Only when you run that script. |
|
|
86
|
-
| Info ×
|
|
86
|
+
| Info ×25 | `localStorage` reads, `process.env` reads, hardcoded `127.0.0.1`, dev-only probe scripts | Restoring login state; test hooks (`DSH_BROWSER_STATE_FILE`, `PLAYWRIGHT_DOWNLOAD_HOST`); and scripts under `scripts/analysis/` that the scanner itself marks *"Dev-only file — not executed at install/runtime"*. | — |
|
|
87
87
|
|
|
88
88
|
Two honest notes:
|
|
89
89
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-browser-playwright-codex",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Browser automation for DeepSeek Harness: fill in forms, scrape lists and work across tabs in real pages, using the logins you already have. Runs in a visible window that stays quiet when minimised, and stops for sign-ins, CAPTCHAs and native dialogs instead of confirming for you.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|