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) or highlight (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-highlight attribute as an automatic highlight contract
  • Dual entry points for configuration in Settings: the ADHDGoFly left sidebar section, or the ADHDGoFly card 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 → ADHDGoFly left sidebar section
  • Settings → 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 dsh process 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 localStorage caching or built-in defaults.
  • After command-line installation, upgrade, or uninstall, a DSH restart and browser refresh are required.
  • pnpm ≥ 10 may report ERR_PNPM_ADDING_TO_ROOT; append -w at the end.
  • Installing directly from GitHub requires additional configuration: either force-include the lib/dicts build artifacts, or allow this package in the allowBuilds section of pnpm-workspace.yaml.
  • Highlighting may briefly reset during React re-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:

https://github.com/zuoguyoupan2023/adhdgofly-dsh-ext