Type /tabs to pick a browser tab (via chrome-devtools-mcp) and auto-fill its URL into the composer.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:LWJ007/dsh-browser-tabs
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
在 DeepSeek Harness 里直接选择浏览器标签页 —— 输入 /tabs 弹出标签页选择器,点选后链接自动填入输入框。
A DeepSeek Harness (DSH) plugin that adds a /tabs slash command: typing /tabs opens a picker listing your browser tabs (via chrome-devtools-mcp); selecting one writes its URL into the composer.
✨ 功能 / Features
/tabs— 弹出标签页选择器,列出当前浏览器所有标签页。- 点选即填 — 选中某个标签页后,它的 URL 自动写入输入框(composer)。
- 操作你已登录的浏览器 — 通过 chrome-devtools-mcp(
--autoConnect)读取真实浏览器标签页,无需另起无头浏览器。
📦 安装 / Install
dsh plugin --profile web add github:LWJ007/dsh-browser-tabs
或通过 git 地址安装:
dsh plugin --profile web add https://github.com/LWJ007/dsh-browser-tabs.git
安装后重启一次 dsh(bundle 层在启动时组合)。
🔧 安装排错 / Troubleshooting
错误 1:ERR_PNPM_UNEXPECTED_STORE(pnpm store 路径不一致)
这是 pnpm 的 store 路径问题,与插件本身无关。在 C:\Users\lee.li\.dsh\profiles\web 目录下重新安装依赖即可:
cd C:\Users\lee.li\.dsh\profiles\web
pnpm install
或统一 store 路径:
pnpm config set store-dir C:\Users\lee.li\.dsh\.pnpm-store\v11 --global
错误 2:allowBuilds 需要配置(git 托管插件构建被 pnpm 阻止)
在 C:\Users\lee.li\.dsh\profiles\web\pnpm-workspace.yaml 的 allowBuilds 下添加你的插件包名:
allowBuilds:
node-pty: false
dsh-browser-tabs: true
然后重新执行安装命令。
前置条件 / Prerequisites
- DeepSeek Harness(
dsh)web profile。 - 在 DSH 的 MCP 管理器(
dsh-mcp-manager)中配置 chrome-devtools-mcp 为 MCP server(stdio,--autoConnect)。插件通过mcp__chrome-devtools-mcp__list_pages工具读取标签页列表。
🚀 使用 / Usage
- 在输入框输入
/tabs。 - 弹出标签页选择器,列出所有浏览器标签页(标题 + URL)。
- 点选某个标签页 —— 它的 URL 自动填入输入框。
🛠 工作原理 / How it works
- 宿主端(
lib/index.js):注册GET /api/dsh-browser-tabs/pages路由,调用mcp__chrome-devtools-mcp__list_pages获取标签页列表,返回 JSON。 - 客户端(
lib/client.js):把/tabs注册为popupSelect命令。options从宿主路由拉取标签页;onSelect通过conversation.input.setDraft把选中的 URL 写入输入框。
📄 许可证 / License
MIT
Links
More in this category
Tencent/BrowserSkill#dsh-plugin-browserskill★ 8657
BrowserSkill bridge for controlling visible Chrome and Edge Agent Windows from DeepSeek Harness, with native browser tools, accessibility and VOM observations, screenshots, owned multi-session control, and a live Web UI overlay.
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 798
Chrome sidebar extension that lets DSH operate your browser directly, no vision capabilities required.
liustack/modsearch★ 638
Web search bridge for text-only agents: ask the web or X, get structured JSON evidence (search, fetch, citations).
DDDMUC/dsh-free-search★ 372
Free, keyless web search for DSH: 7 engines (DuckDuckGo/Bing/SearXNG free + Exa/Perplexity/DeepSeek paid), auto-failover, settings-page UI with API key inputs and official links, web_fetch, and an engine test tool.
Tabbit-Browser/dsh-tabbit★ 107
Gives DeepSeek Harness control of the Tabbit Browser: auto-loads the tabbit-browser skill on install, detects official Tabbit and Tabbit Browser releases (>= 1.9.0), checks the tabbit-cli persistent runtime, diagnoses the per-platform DSH sandbox mode needed to call the CLI, and downloads the region-matched official installer via a background job when no qualifying version is present.
wqty123/dsh-browser★ 107
Shared real browser for DSH: a native Electron window the human can watch and take over, driven by the agent over CDP with 20 browser_* tools (open/snapshot/execute/fill/screenshot/download/auth), per-task session isolation, cookie persistence, CAPTCHA detection; self-hosts on plain dsh web without a desktop shell.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.