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★ 10735
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.
DDDMUC/dsh-free-search★ 1719
Free web search for DSH with 42 engines: 6 keyless (DuckDuckGo, Bing, SearXNG, Degoog, AnySearch), 6 key-or-keyless tiers (Exa, Tavily, Keenable, Firecrawl, Parallel, You.com), 5 HTML search pages, and keyed providers from Brave and Baidu to Zhihu, OpenAI and Claude. Failure-classified failover with cooldown and key rotation, allowlist switching, an editable fallback chain, zh/en language pools, Multi concurrent merge, 12 MCP tools and a standalone stdio server, with per-engine keys in settings.
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 1143
Chrome sidebar extension that lets DSH operate your browser directly, no vision capabilities required.
liustack/modsearch★ 1044
Web search bridge for text-only agents: ask the web or X, get structured JSON evidence (search, fetch, citations).
Fisfzy/dsh-ego-browser★ 577
Drive a real Chrome/Chromium browser from DeepSeek Harness with 35 structured tools for navigation, snapshots, clicks, forms, JavaScript/CDP, screenshots, downloads and tabs; a live sidebar mirrors the page and accepts mouse and keyboard input. It ships a managed CDP runtime, keeps login state across calls, and can import cookies from your everyday Chrome through a companion extension.
regrevia/Envoy#dsh-envoy★ 266
Distill any link into Markdown, a wiki or a knowledge base. Installs per host: DSH -> envoy-dsh; Claude Code/Codex -> envoy@envoy. Douyin/Bilibili video, image posts, WeChat, Xiaohongshu, PDFs, podcasts. Video is read on its own timeline with keyframes and ASR transcripts locatable to \[mm:ss], so the context carries what was said and shown instead of the title and the recommendation rail. On 60 turns with vs without: ends normally with the gaps named 22% -> 92%, times out 68% -> 0% (the A/B is exploratory: different time caps, no human correctness review). On 123 live links 80% came back usable (93% of the pages that answered).
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.