dsh-live-browser: Let DeepSeek Harness Agents Drive the Sidebar Browser
c347087870/dsh-live-browser
Injects a command surface into the DSH sidebar browser so the agent can click, type, read and scroll the real page the user is viewing.
dsh-live-browser is a DSH plugin that fills the missing interaction layer of the DeepSeek Harness sidebar browser. The official sidebar only exposes navigation, so the agent can open a page but cannot click, type or read it; this plugin injects a DOM command surface into the sidebar webview without touching any DSH files and gives the model 25 browser_* tools. It offers stable ref snapshots, per-Session command isolation, self-opening browser tabs, and the confirmSensitive and allowEval safety switches, under the MIT license.
How to Install
dsh plugin --profile web add github:c347087870/dsh-live-browserReplace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.
- Category
- Tools & Capabilities
- Platform
- DSH Plugin
- Author
- c347087870
- Distribution
- Plugin
dsh-live-browser Key Features
dsh-live-browser Repo Summary
What Does It Do?
Live Browser is a DSH plugin for DeepSeek Harness that lets the agent drive the browser built into DSH's own right sidebar. The official sidebar browser only exposes navigation, so the agent can open a page but cannot click, type, read or scroll it; this plugin injects a DOM command surface into the sidebar webview without modifying any DSH files, and gives the model 25 browser_* tools that act on the very page the human is looking at. It is maintained by c347087870, written in JavaScript and released under the MIT license.
Core Features
- Page actions: click, type, press keys, select, hover, scroll, read text, evaluate expressions, wait and attach files through
browser_*tools that operate on the real rendered page. - Stable snapshots:
browser_snapshotproduces a snapshot with stablerefvalues for page elements, capped at 400 nodes by default, so the agent can target elements precisely. - Self-opening browser: when a command arrives and no page exists, the client opens a sidebar browser tab in the conversation that issued the request, so a single navigation command on a cold start pops the sidebar open and loads the target URL.
- Session isolation: every command carries the Session id that issued it, and each panel only receives commands for its own conversation, so a request from conversation A never surfaces in conversation B.
- Safety switches:
confirmSensitiveasks the user before actions marked sensitive, andallowEvalcan be turned off to block arbitrary JavaScript in the page, after whichbrowser_evalreturnsexecuted: falseand suggests snapshots or text reads instead. - Page export:
browser_screenshotexports charts to PNG using the page's own canvas/SVG,browser_downloadsreads the download directory, andbrowser_uploadattaches files.
How to Use This Plugin?
After enabling it in DSH, simply ask the agent to open a page and click a button; it calls the matching browser_* tool, and the command travels through the host queue and panel long-polling to the sidebar browser. To adjust behavior, change the settings card: disable allowEval for read-only browsing, raise commandTimeoutMs for slow pages, or set imageDir and downloadsDir to control where screenshots and downloads land. On the desktop build the profile is owned by the Electron app, so add the plugin from the interface and restart DSH for it to take effect.
How to Troubleshoot This Plugin?
After a successful load the log should report that the plugin is loaded with 25 tools ready; if it does not, verify that the bundle declaration and entry file exist in the plugin manifest, then restart DSH. Commands that never reach a panel fail with an actionable hint instead of hanging forever, so check whether the sidebar browser is allowed to open automatically and whether openPanelWaitMs is too short. For local development, do not mount the plugin through a directory link, because Node resolves the real path and dependencies end up looked up in the wrong directory; follow the official instructions and use a normal install or copy the whole package directory instead.
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: c347087870/dsh-live-browser. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
DSH Plugin FAQ
