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 peer 범위
>=0.1.5-rc.2
Cordis peer 범위
>=4.0.2
버전
0.2.0
라이선스
MIT
최근 업데이트
2026. 10. 3.

같은 패키지 이름의 다른 저장소

설치

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

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.