Right-Sidebar tab menu enhancement for DeepSeek Harness: adds a 'Close other tabs' item that closes every content tab of the session except the one whose menu is open and the docked guide.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:tinyfinddong/dsh-close-all-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(DSH)右侧栏增强插件:在右侧栏 tab 的上下文菜单中增加「关闭全部标签」,一键关闭当前会话右侧栏的所有内容标签。
✨ 功能
- 在右侧栏任意 tab 的右键菜单末尾增加「关闭全部标签」项
- 一键关闭当前会话的所有内容标签(文件、浏览器、终端、文档预览等)
- 保留唯一的 docked 引导页(遵循 DSH 右侧栏自身的关闭语义)
- 样式随 DSH 主题:主题 token 文字色、hover 圆角背景、紧凑 padding
📦 安装
方式一:从 npm 安装(推荐)
dsh plugin add dsh-close-all-tabs
npm 包自带构建产物,安装后无需构建。重启 DSH 后生效。
方式二:从 GitHub clone + link
git clone https://github.com/tinyfinddong/dsh-close-all-tabs.git
cd dsh-close-all-tabs
pnpm install
pnpm build
# 将插件 link 到 DSH profile(示例:desktop profile)
pnpm --dir ~/.dsh/profiles/desktop add link:/path/to/dsh-close-all-tabs
然后在 profile 的 package.json 中把 dsh-close-all-tabs 加入 dsh.profile.bundles,重启 DSH。
仓库已提交
lib/构建产物,clone 后跳过pnpm build也可直接 link 使用。
🖱️ 使用
- 打开右侧栏(快捷键或会话 header 角落按钮)
- 在任意 tab 的 chip 上右键打开上下文菜单
- 点击菜单末尾的「关闭全部标签」
⚙️ 兼容性
| 要求 | 版本 |
|---|---|
| Node.js | >=22.19 |
| DeepSeek Harness | >=0.2.0-rc.2 <0.3.0-0 |
依赖的 DSH 运行时包(由 DSH 提供,非本包安装):
@deepseek-ai/dsh-client-ui-sidebar-right@deepseek-ai/dsh-client-ui-slots@deepseek-ai/dsh-client-locale
🛠️ 开发
pnpm install
pnpm build # 构建 host 半部 + client 半部 + types
pnpm typecheck
- host 半部(
src/index.ts):占位入口,保证 bundle 层正常加载并服务 client bundle - client 半部(
src/client/):通过sidebar.right.tab.menu.itemslot 注册菜单项,自注入 CSS - 构建产物:
lib/index.js(host,ESM)+lib/client.js(client,ModuleLoader 格式)
📄 License
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10735
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10735
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8661
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7538
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5419
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1103
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.