Preface¶
The DeepSeek Harness (DSH) Web extension integrates via plugins. adhdgofly-dsh-ext is a part-of-speech highlighting plugin for the already-rendered Markdown content areas in DSH Web, applicable to regions such as conversation messages and deliverables. It colors nouns green, verbs red, adjectives/adverbs purple, and other words gray. It operates purely as a client-side DOM post-processing step without modifying the DSH source code.
Below, we introduce its capabilities, installation methods, and common commands.
What This Is¶
- Plugin name:
adhdgofly-dsh-ext - Maintainer:
zuoguyoupan2023 - License: MIT
- Applicable targets: Already-rendered Markdown content areas in DSH Web
- Working mechanism: Client-side DOM post-processing, without altering the DSH source code
Core Features¶
- Part-of-speech highlighting in already-rendered Markdown content areas: nouns green, verbs red, adjectives/adverbs purple, others gray
- Supports English (including suffix-based lemmatization) and Chinese (forward maximum matching)
- Follows DSH theme’s dark/light color palettes
- Instant toggle for part-of-speech filtering: text preserved, colors removed
- Highlight styles selectable between
color(text color change) orhighlight(background box with border) - Debounced streaming output: skipped until the
[data-streaming]message stream completes - Exemptions for code blocks and
pre/code,.markdown-code-block, buttons/input fields/decorative areas - Supports the
data-adhdgofly-highlightattribute as an automatic highlight contract - Dual entry points for configuration in
Settings: theADHDGoFlyleft sidebar section, or theADHDGoFlycard within plugin settings
Installation and Activation¶
App Plugin Center¶
If you are using the openharness App locally, you can install adhdgofly-dsh-ext from the featured recommendations in the left sidebar’s plugin center. Once installed, DSH will automatically restart and apply the plugin.
Command Line¶
First, start or initialize DSH Web:
npx @deepseek-ai/dsh web
Then, install the plugin:
npx @deepseek-ai/dsh plugin --profile web add adhdgofly-dsh-ext
If you encounter ERR_PNPM_ADDING_TO_ROOT with pnpm ≥ 10, append -w to the end of the command:
npx @deepseek-ai/dsh plugin --profile web add -w adhdgofly-dsh-ext
After installing via the command line, you need to restart DSH Web for the changes to take effect: first, press Ctrl+C in the terminal running DSH Web to stop it, then execute:
npx @deepseek-ai/dsh web
Once the Web interface reopens, refresh your browser page.
Typical Usage¶
Settings Entry¶
After installation, you can access the configuration from two entry points:
Settings → ADHDGoFlyleft sidebar sectionSettings → Plugins → Plugin Configurations → ADHDGoFly card
Verifying Installation¶
First, check whether the relevant plugin line exists in the dump-config:
npx @deepseek-ai/dsh --profile web --dump-config | grep -A3 adhdgofly
Then, look in the browser’s Network tab for:
/plugins/adhdgofly-dsh-ext/client.js
Upgrading and Uninstalling¶
Upgrade:
npx @deepseek-ai/dsh plugin --profile web update adhdgofly-dsh-ext
Uninstall:
npx @deepseek-ai/dsh plugin --profile web remove adhdgofly-dsh-ext
After upgrading or uninstalling via the command line, you also need to stop DSH Web, restart it, and refresh your browser.
Local Development¶
For local development, you can run:
npx @deepseek-ai/dsh plugin --profile web add file:../adhdgofly-dsh-ext
Applicable Scenarios and Notes¶
- Suitable for quickly distinguishing parts of speech while reading Markdown outputs in DSH Web.
- The plugin runs with the current
dshprocess permissions; please review the source code and license before installation. - The license is MIT; dictionary data comes from the built-in dictionaries of
adhdgofly-ide-ext, with the English dictionary sourced from Princeton WordNet and the Chinese dictionary from the jieba segmentation lexicon. - For remote browsers (non-loopback), DSH settings RPC is not persistent, and the plugin card may not display; highlighting falls back to
localStoragecaching or built-in defaults. - After command-line installation, upgrade, or uninstall, a DSH restart and browser refresh are required.
pnpm ≥ 10may reportERR_PNPM_ADDING_TO_ROOT; append-wat the end.- Installing directly from GitHub requires additional configuration: either force-include the
lib/dictsbuild artifacts, or allow this package in theallowBuildssection ofpnpm-workspace.yaml. - Highlighting may briefly reset during
Reactre-renders; the resources mention handling via debouncing, skipping streaming, and processed-text mechanisms, but the relevant sections were truncated, and the full limitations should be referred to in the repository’s documentation.
Conclusion¶
The value of adhdgofly-dsh-ext lies in transforming DSH Web’s Markdown areas into a view that is color-coded by part of speech and filterable on demand. Source code repository: