dsh-colorful-commands: Coloring the DSH Interface by Category

Preface

When running agents in DeepSeek Harness (DSH), lines representing reasoning processes, Shell commands, file reads/writes, searches, and web requests alternate on the same screen. Default styles often rely solely on icons or layout for differentiation. When staring at the screen for long periods, it is not immediately obvious which line is a “dangerous command” and which is “thinking.” Some users mentally categorize them based on themes or terminal color schemes, while others hope the client can mark semantics with stable, low-saturation colors without altering functionality. dsh-colorful-commands is a DSH plugin for the latter group: it only colors the client UI and does not change any behavior.

What is this

dsh-colorful-commands (Display name: “Colorful Commands”) is released by maintainer BlanCatOra (Author signature: blancatora) and categorized as “Fun Customization” in the community directory. The repository states it was generated by an AI coding agent, blancatora (DeepSeek Harness / deepseek-v4.1-flash), rather than hand-written by humans; please verify the README and source code yourself before use.

The current plugin version is 0.2.0, licensed under MIT. It colors Harness interface elements by fixed categories and includes three built-in presets: Traditional Chinese Colors, Traditional Japanese Colors, and Macaron. Each category can be individually customized for both light and dark themes.

Which categories are covered

The table below corresponds to the classification method in the README; command lines are divided into three risk levels based on the command text (read from the React fiber, not the model description). All three tiers belong to the red family, with increasing saturation.

Category Coloring Target
Thinking / Reasoning Reasoning lines, process group titles
Command · Low / Med / High Risk bash / pwsh lines
File Read read, image reads
Write / Edit write / edit
Search grep / glob
Web Requests web_search / web_fetch
Other Tools Unclassified tools (neutral color)
Status “Completed” success green, progress circles, mixed activity titles, trailing “Usage / Branch”
UI Controls Permission selection (colored by level), Plan Mode

Trigger examples for the three red command tiers (Light mode reference values from the materials):

Tier Trigger Example Light
Low Normal commands #A7535A
Med Contains sudo, curl, chmod -R, systemctl, etc. #C02C38
High Contains rm -rf /, mkfs, dd of=/dev/, git push --force, etc. #DE2A18

Body text and reasoning content maintain their native colors; the plugin only dyes icons, short labels, and key statuses to avoid noise from a fully colored screen.

Presets and Customization

The three presets are not hand-written fixed hex codes; instead, they are selected based on semantic hues, a unified tone, and contrast against the actual host background:

Preset Color Library
Traditional Chinese Colors (Default) 742 colors
Traditional Japanese Colors 58 colors
Macaron 34 colors

The color strategy is described specifically in the README: low saturation is prioritized, light and dark modes have independent sets of values, and the contrast constraint for each color value against the background is 3.0–10.5 (color changes are checked by tests). If a category looks harsh, you can change its light/dark color to a lighter value or restore the preset on the plugin details page.

The configuration entry is in the sidebar Plugins → dsh-colorful-commands (Plugin Details page), not in the global “Settings” page—this is the DSH convention for plugin configuration. The details page allows switching presets, modifying palettes or entering hex codes per category, and restoring preset values with one click.

Installation and Activation

Currently distributed via GitHub (the README states it is not yet published to npm). Use the repository URL for installation; do not construct command forms not found in the documentation yourself.

Desktop Version: Settings → Plugins → Add Plugin, enter the following address and restart the app:

https://github.com/BlanCatOra/dsh-colorful-commands

Web / CLI profile:

dsh plugin --profile <profile> add https://github.com/BlanCatOra/dsh-colorful-commands

If it is published to npm later, the README notes that the package name dsh-colorful-commands can also be used.

The plugin loads client patches with the permissions of the current DSH process; it is recommended to browse the repository source code and LICENSE before installation to ensure compliance with your environment policies. The community directory site skillhub plugin page and GitHub have no official affiliation with DeepSeek / High-Flyer and are part of community ecosystem distribution.

One-Minute Verification

The README suggests pasting the prompt from docs/DEMO-PROMPT.md in the repository into DSH and sending it once. This triggers all colorizable categories that can be covered by the prompt and includes a comparison color value table. If you find that coloring does not work after upgrading DSH, you can run this self-check first and then locate the issue following the troubleshooting order in the repository’s AGENTS.md.

Compatibility notes: The README records successful testing on DSH 0.2.1-rc.2 (Arch package 0.2.1rc.2-1)—plugin loading ok: true, style injection, and 122 elements were correctly classified and colored. In package.json, engines.dsh is >=0.2.0-0; the README further explains that the trade-offs regarding kernel version determination and whether to declare engines.dsh can be found in AGENTS.md.

Known Limitations and Use Cases

Suitable for: UI plugin users who want to quickly distinguish thinking, command risks, read/write, search, and web lines using colors in the DSH client, and who can accept relying on stable suffixes of kernel CSS Module class names (e.g., [class*="_title"]). If the kernel changes the suffix, coloring may fail.

Notes:

  • Only changes UI, not functionality or behavior.
  • Inner lines within process groups (e.g., “Create Sub-Agent”, “Update Task List”) currently only have colored icons, while text remains the native color—the kernel does not provide distinguishable semantic hooks.
  • The japanese / macaron color libraries are small; light and dark colors for a few categories may be identical (listed as a known defect in the README).

For development-side self-checks, you can execute:

npm test

This runs the build plus full tests; lib/client.js is a build artifact and needs to be committed, so modifications should only touch src/.

Conclusion

dsh-colorful-commands maps “what this activity is doing” to a set of preset-able, low-saturation colors that can be fine-tuned per category, and specifically handles the three red tiers for command risks as well as controls like permissions and plan mode. If you are doing long-session development with DSH, you can install it as described above and use DEMO-PROMPT with the comparison color table to confirm the effect.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye