返回目录

dsh-chrome

精选清单收录维护状态: 维护中

stuarthu/dsh-chrome

Chrome 侧边栏扩展,内嵌完整 dsh Web 界面,支持页面读取、HTTP 抓取与浏览器控制。

前往 GitHub
$ dsh plugin add dsh-chrome

安装

dsh 没有统一的安装命令——把该插件 README 中的配置行加入你的 profile/patch 配置,然后重启即可。

了解安装方式

13

星标

7

Fork

JavaScript

语言

MIT

许可证

2026-08-15

创建于

2026-08-22

最近推送

README

dsh-chrome — DeepSeek Harness browser companion

English | 中文

A Chrome side panel that embeds the full dsh web UI (sessions, settings, approvals, tasks, goals, workspaces — everything) and lets the dsh agent perceive and drive your browser:

  • Sees the current page automatically. After you switch tabs or navigate (SPA routes included), the "current page" (URL, title, body text, capped at 1,000,000 characters) is injected into your most recently active session, so the agent knows what you are looking at. Only http(s) tabs are injected this way.
  • Reads HTTP traffic on request. When you ask it to, the agent starts a capture (browser_start_capture) and records the active tab's request method, URL, status, request body and response body via the Chrome DevTools Protocol; browser_capture_requests reads them back. Secret-shaped values are masked by default — see Security.
  • Drives the browser. browser_navigate / browser_click / browser_open_tab.
  • Approval-free, with tool-level intent unlock. State-changing actions run only when the current turn was started by a real message from you that contains explicit browser intent. The words that unlock browser_navigate / browser_click / browser_open_tab are open, navigate, click, visit, tab (打开 / 跳转 / 前往 / 点击 / 导航 / 访问 / 浏览一下 / 新标签), plus "go to" when it is followed by a page or URL (go to github.com, go to the page — a bare go to the next step does not unlock anything); the words that unlock browser_start_capture are capture, debug (抓包 / 抓一下 / 抓取请求 / 监听网络 / 网络请求 / 流量). Note that 抓取 on its own does not unlock capture — it reads as ordinary "fetch/scrape" intent; say 抓包 or 抓取请求. If an action is blocked you get a refusal quoting the exact words that would unlock that tool, so you can simply restate. An instruction hidden inside a web page cannot drive the browser (best-effort protection in approval-free mode, not an absolute guarantee).
  • While capturing, Chrome shows a "debugging this browser" banner (it disappears when capture stops).

Prerequisites

  • dsh web running locally (default http://127.0.0.1:3080; configurable in the extension's settings).
  • Chrome 118+ (the extension relies on InjectionResult.error, added in Chrome 118).

Install

Two halves: the host plugins (added to dsh) and the Chrome extension (loaded unpacked).

1. Add the host plugins to your dsh web profile:

dsh plugin --profile web add dsh-chrome

This registers the bridge, the browser tools, and the page injector. dsh hot-applies new plugin rows, so just refresh the browser afterwards — no restart needed unless you later edit an already-loaded plugin file.

2. Install the Chrome extension files and load them:

npx dsh-chrome install

This copies the extension to a stable per-user directory (prints the path) and shows the remaining steps:

  1. Open chrome://extensions, turn on Developer mode.
  2. Click Load unpacked and select the printed directory.
  3. Click the dsh-chrome toolbar icon to open the side panel.

Re-run npx dsh-chrome install after upgrading the package, then reload the extension at chrome://extensions — the installer copies the files, so without both steps Chrome keeps running the previous version against the new host plugins. npx dsh-chrome path prints the directory.

To remove dsh-chrome completely, undo both halves: npx dsh-chrome uninstall deletes the extension directory (then remove it in chrome://extensions), and dsh plugin --profile web remove dsh-chrome unwires the host plugins.

Usage

  • The side panel is the full dsh web UI — use it normally.
  • Top bar: bridge status (warns if dsh is not running), Stop capture (manual override), Settings (change the dsh address).
  • Tell the agent things like "open the xx page", "click the login button", "capture this page's requests".

Security

Trusted, local use only. The bridge and browser tools give a local dsh agent the ability to read pages, capture traffic, and drive your browser.

在 GitHub 阅读完整 README →

DSH Plugins 是独立的 DeepSeek Harness 插件目录,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。