DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Selection Tools — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
S

dsh-selection-tools

Selection Tools

Select conversation text and attach it as native composer annotations or copy it to the clipboard.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:hjthjt4210/dsh-selection-tools#c4ac8325e4953c3180accebd34f3c7a3a31828ff
READMECompatibilityVersions
dsh-selection-tools 演示

Compatibility and provenance

Selection Tools is published as dsh-selection-tools and currently resolves to version 0.3.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
8/20/2026

Versions

0.3.1stable
8/20/2026

Related plugins

Loading related plugins…

Latest
0.3.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
9/20/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Agent Teams@nanmicoder/dsh-agent-teamsAgentTeams for DeepSeek Harness: multi-agent team collaboration (captain, members, tasks with dependencies, messaging) driven by natural language, with a tree monitor in the web GUI

README

dsh-selection-tools

面向 DSH web 客户端的对话页选中文字工具。

演示

dsh-selection-tools 演示

查看高清演示视频

在对话页面用鼠标或键盘选中任意文字时,选区旁会出现一个迷你工具条,提供两个动作:

动作行为
引用把选中文字加入注释胶囊,悬停可查看原文,点击 × 可删除,发送时展开为附加上下文
复制把选中文字写入系统剪贴板

功能

  • 选中文字后显示「引用」和「复制」。
  • 引用内容以「N 条注释」胶囊显示在输入栏。
  • 悬停胶囊可查看每条引用的完整内容。
  • 点击胶囊右侧 × 可删除全部注释。
  • 发送消息时,注释会作为 <selection_annotations> 上下文提交。

安装

在 PowerShell 中执行:

git clone https://github.com/hjthjt4210/dsh-selection-tools.git
Copy-Item -Recurse -Force .\dsh-selection-tools "$env:USERPROFILE\.dsh\profiles\web\node_modules\dsh-selection-tools"

然后在 %USERPROFILE%\.dsh\profiles\web\package.json 的 dsh.profile.bundles 数组中加入 "dsh-selection-tools",最后重启 DSH。

本插件的 lib/index.js 是无操作的宿主入口,浏览器功能位于 lib/client.js。 这种双入口结构可避免 DSH 启动时在 Node.js 环境执行浏览器代码。

原理

  • 选区工具条注册在官方 shell.overlay 全框架浮层槽。 mouseup/Shift+方向键 keyup 后取 window.getSelection() 的非空选区,用 选区 getBoundingClientRect() 定位浮层。
  • 注释胶囊显示在输入栏左侧。多次引用会更新同一个胶囊的计数,悬停可查看每条
  • 引用的完整内容,点击 × 会删除全部注释,也不会显示成功提示条。
  • 引用数据通过官方 conversation 服务的 shell.insertReference() 写入,正文不会直接 塞进可见草稿。
  • 发送序列化通过 inputTriggers 注册专用 codec。DSH 提交草稿时把芯片展开为 <selection_annotations> 上下文;删除芯片会同时取消这些引用。
  • 复制优先使用 Clipboard API,并为不支持的环境提供本地复制回退。
  • 样式只用 --dsw-* 主题令牌,自动跟随深浅色模式。

开发

无构建步骤,lib/client.js 是标准 window.__ModuleLoader__.load 客户端插件 (React 18 + react/jsx-runtime)。

node --check lib/index.js
node --check lib/client.js

License

MIT