zuoguyoupan2023/adhdgofly-dsh-ext
ADHDGoFly POS高亮插件,适用于DeepSeek Harness Web:在渲染的Markdown中,名词显示为绿色,动词显示为红色,形容词/副词显示为紫色,其他词性显示为灰色。
Project Overview项目介绍
adhdgofly-dsh-ext is a purpose-built plugin for the DeepSeek Harness (DSH) web interface, porting the mature part-of-speech highlighting functionality from the existing ADHDGoFly ecosystem. It applies consistent color coding to text based on part of speech in all rendered Markdown content areas, including chat messages and deliverables, with nouns colored green, verbs red, adjectives and adverbs purple, and all other words gray. The plugin works entirely as client-side post-processing of the DOM, so it does not require modifying DSH’s core source code, and all tokenization logic and compressed dictionaries are pulled from the existing open-source ADHDGoFly project. It also supports both deep and light DSH themes, on-off toggling for part-of-speech filtering, and debounce handling for streaming output.
This plugin is designed for DSH users who want visual part-of-speech highlighting to assist with reading, especially users with ADHD who benefit from visual differentiation of word types to improve text comprehension. After installation, the plugin automatically detects DSH theme changes and updates its color scheme to match, eliminating the need for manual user adjustments. When users receive streaming output from the LLM, the plugin waits until streaming is complete before applying highlighting, which avoids unnecessary performance slowdowns during the streaming process. It also exposes an attribute contract that lets other DSH plugins like openharness-reader integrate with its highlighting system seamlessly.
The plugin is released under the open-source MIT license, and its dictionary data is sourced from Princeton WordNet for English and the jieba Chinese word segmentation library, both following their respective open-source licenses. There are a few known limitations to the current version: highlighting may briefly reset during React re-renders, it does not add highlighting to code editors or arbitrary web pages, and remote browser sessions only store settings in local storage, so settings do not sync across different browsers. Users can install it either through the one-click installation option in the openharness desktop app plugin center, or via a simple command line entry for manual setups.
adhdgofly-dsh-ext 是专为 DeepSeek Harness(DSH)Web 界面开发的插件,它将 ADHDGoFly 生态的词性高亮功能移植到了 DSH 中。插件会在已渲染的 Markdown 内容区(包括对话消息、Deliverables 等区域)按词性给文字上色:名词染绿、动词染红、形容词和副词染紫、其他词染灰,同时支持深浅主题适配、词性筛选开关、流式输出防抖和代码块豁免。它是纯客户端 DOM 后处理插件,不需要修改 DSH 源码,分词引擎和压缩词典都来自 ADHDGoFly 生态。
这个插件面向需要通过词性高亮辅助阅读的 DSH 用户,尤其是有 ADHD 阅读障碍、希望通过视觉区分词性来提升文本理解效率的用户。安装完成后,插件会自动适配 DSH 的主题切换,当用户开启流式输出对话时,插件会在内容渲染完成后自动进行分词高亮,不会在流式输出过程中额外增加渲染负担。同时插件预留了属性契约,其他插件如 openharness-reader 可以直接接入该高亮机制实现联动。
本插件采用 MIT 许可证开源,词典数据分别来自 Princeton WordNet 和 jieba 分词词库,遵循对应开源协议。目前已知限制包括:React 重渲染时高亮可能短暂重置,不覆盖代码编辑器和任意网页,远程浏览器使用时设置仅保存在 localStorage 无法跨浏览器同步。安装方式支持 DSH 桌面 App 插件中心一键安装,也支持命令行安装、本地开发安装和升级卸载。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:adhdgofly-dsh-ext(zuoguyoupan2023/adhdgofly-dsh-ext)
仓库:https://github.com/zuoguyoupan2023/adhdgofly-dsh-ext
本站详情页:https://www.yhbd.top/plugins/zuoguyoupan2023-adhdgofly-dsh-ext/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 6 · 最近提交 2026-09-06 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 6 stars - very few users, little community feedback星标只有 6,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
npx @deepseek-ai/dsh plugin --profile web add adhdgofly-dsh-ext
把 zuoguyoupan2023/adhdgofly-dsh-ext 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
adhdgofly-dsh-ext
把 adhdgofly-ide-ext 的词性高亮机制搬进 DeepSeek Harness(DSH)Web 界面:在已渲染的 Markdown 内容区(对话消息、Deliverables 等)把名词染绿、动词染红、形容词/副词染紫、其他染灰,支持深/浅双色板、词性筛选即时开关、流式输出防抖与代码块豁免。
本插件是纯客户端 DOM 后处理插件(dsh.client 双面包),不改 DSH 源码;分词引擎与压缩词典来自 ADHDGoFly 生态(MIT),经 npx @deepseek-ai/dsh plugin --profile web add 一条命令安装。
功能
- 词性高亮:英文(含后缀词形还原)+ 中文(正向最大匹配),名词绿 / 动词红 / 形副紫 / 其他灰。
- 深/浅色板:跟随 DSH 主题(
theme服务),颜色与 adhdgofly-ide-ext 一致。 - 词性筛选:即时生效——文字保留、颜色移除(CSS 覆盖,无需重新分词)。
- 高亮样式:
color(文字变色,默认)/highlight(背景框 + 边框)。 - 流式兼容:
[data-streaming]消息流完前跳过,settle 后自动高亮;MutationObserver + 防抖 + 重入锁。 - 代码块豁免:
pre/code、.markdown-code-block、按钮/输入框/装饰区不参与高亮。 - 属性契约(v0.1.2):任何带
data-adhdgofly-highlight属性的元素自动被高亮(无需写入containers配置、无需重新加载)——openharness-reader的 Markdown 预览即用此契约接入;其他插件可照此联动。未带该属性的页面不受影响。 - 设置页(v0.1.3 双模式):配置面有两个并存入口——① Settings → ADHDGoFly 左侧分区(保留原位,老习惯不变);② Settings → 插件 → **「插件配置」**标签页里的 ADHDGoFly 卡片(rc.7 官方插件设置机制)。两者绑定同一个
adhdgoflysettings 命名空间(宿主侧 schema 持久化,loopback 下改任一处另一处自动同步);远程浏览器自动回退 localStorage。可在设置里用「设置入口 / Settings entry」选择只留一种(both/classic/plugin-card,刷新生效)。
安装
前置:本机已安装 DeepSeek Harness(DSH),且已初始化 web profile(npx @deepseek-ai/dsh web 跑过一次即可)。当前版本 0.1.5。
方式一:App 插件中心(推荐,无需命令行)
- 下载并安装 openharness 桌面 App:
- 打开 App,在左侧边栏进入「插件中心」;
- 在「特别推荐」里找到 adhdgofly-dsh-ext;
- 点击「安装」,等待安装完成——DSH 会自动重启并应用,无需手动操作;
- 重启后即可在 Web 设置里看到配置入口(见 §配置)。
方式二:命令行安装
# 1) 安装 DSH(首次)
npx @deepseek-ai/dsh web
# 2) 安装插件
npx @deepseek-ai/dsh plugin --profile web add adhdgofly-dsh-ext
# 若 pnpm ≥ 10 报 ERR_PNPM_ADDING_TO_ROOT,命令末尾加 -w:
npx @deepseek-ai/dsh plugin --profile web add -w adhdgofly-dsh-ext
⚠️ 命令行安装后必须重启 DSH 才生效
- 在正在运行的 DSH Web 终端按
Ctrl+C停止当前进程;- 重新启动:
npx @deepseek-ai/dsh web(若机器已把dsh装进 PATH,dsh web/dsh --profile web与之等价,任选其一)- 等 Web 界面重新打开后刷新浏览器页面。
不重启的话,正在运行的 DSH 进程的 boot 图里没有本插件,刷新页面也不会加载它。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
yogsoth-ai/de-anthropocentric-research-engine
ZSeven-W/dsh-openpencil
HanaAyane/dsh-reasoning-effort
HuanLinOTO/dsh-plugin-better-sidebar-plugin-office
joeseesun/qiaomu-rss-dsh