virgoC0der/dsh-plugins--packages-browser ↗★ 0

dsh-browser

Browser automation for the DeepSeek Harness: CDP-driven tools that navigate, click, type, and read a real Chrome, with screenshots rendered inline in the conversation 适合页面自动化与回归测试,需配置浏览器路径与端口等运行参数。

パッケージ
dsh-browser
互換性
未検証
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/14

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

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

Configuration

Resolved highest-first: the profile patch's config, environment variables, then ~/.dsh/browser/config.json. Defaults:

KeyEnvDefaultMeaning
headlessBROWSER_PLUGIN_HEADLESStrueRun without a visible window
portBROWSER_PLUGIN_PORT9333DevTools port; a browser here is adopted
browserPathBROWSER_PLUGIN_CHROMEdiscoveredExplicit browser executable
windowWidth / windowHeightBROWSER_PLUGIN_WINDOW_*1440 / 900Viewport for captures
chromeFlagsBROWSER_PLUGIN_CHROME_FLAGS[]Extra flags, e.g. --no-sandbox in a container
idleShutdownMsBROWSER_PLUGIN_IDLE_MS600000Reclaim the browser after this long idle; 0 disables
prewarmBROWSER_PLUGIN_PREWARMfalseStart the browser at mount, so the first call needs no cold start
navigationTimeoutMsBROWSER_PLUGIN_NAV_TIMEOUT_MS20000Per-navigation budget
actionTimeoutMsBROWSER_PLUGIN_ACTION_TIMEOUT_MS15000Per-call budget
captureTimeoutMsBROWSER_PLUGIN_CAPTURE_TIMEOUT_MS15000Per-capture budget
waitTimeoutMsBROWSER_PLUGIN_WAIT_TIMEOUT_MS30000Ceiling for browser_wait_for
wakeDisplayBROWSER_PLUGIN_WAKE_DISPLAYtrue on macOSWake the display for the duration of a capture
shotLimitBROWSER_PLUGIN_SHOT_LIMIT60Screenshots kept on disk (ring buffer)
imageToModelBROWSER_PLUGIN_IMAGE_TO_MODELautoauto (only when the route accepts images), always, never
verboseBROWSER_PLUGIN_VERBOSEfalseLog lifecycle lines to stderr

State lives in ~/.dsh/browser/: profile/ (the browser profile), shots/ (captured PNGs), config.json.