ffyfox/dsh-cua-preview ↗★ 0

dsh-cua-preview

DSH plugin: browser automation whose click and submit actions are gated by a DSH approval, with the current screen captured as a screenshot the user reviews before the action runs. 需要Node 22.12及Chrome,适合需安全执行网页点击和提交任务的用户。

パッケージ
dsh-cua-preview
互換性
未検証
Harness ピア範囲
>=0.1.5-rc.2
Cordis ピア範囲
>=4.0.2
バージョン
0.2.0
ライセンス
MIT
最終更新
2026/10/03

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ffyfox/dsh-cua-preview

ドキュメント

README 全文を読む ↗

Configuration

KeyDefaultMeaning
artifactsDir$DSH_HOME/cua-preview/artifactswhere screenshot evidence PNGs are written
headlesstruerun Chrome headless
chromePathauto-detectedexplicit Chrome/Chromium executable
settle{graceMs: 250, idleMs: 400, capMs: 3000}how long to wait for the page to finish reacting before the post-action screenshot

Chrome is looked up through $DSH_CUA_CHROME_PATH and the usual Linux install paths (/usr/bin/google-chrome-stable, /usr/bin/google-chrome, /usr/bin/chromium, /usr/bin/chromium-browser, /snap/bin/chromium), and is launched with the standard container-safe flags.

settle accepts false (no wait at all — the result then reports no settled field, because the plugin will not claim a property it never verified), a number (the total budget in milliseconds), or an object overriding any of graceMs (how long before the page is believed to have started reacting), idleMs (how long each condition must hold) and capMs (the total budget). Any other value is logged and ignored in favour of the defaults, so a misconfigured timer cannot stop the plugin from loading.