DeepSeek Harness Plugin

feng-yifan/dsh-plugins#dsh-ask-highlight

Stars ★ 1 Downloads (30d) 1,102 Category UI Enhancements Added 2026-10-18 npm dsh-ask-highlight

Highlights answered ask blocks (the “question n/n answered” tool rows) in the conversation with a soft brand-tinted card that follows the light/dark theme; pending asks and other tool blocks keep their native look. Settings can toggle highlighting and expand-by-default.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-ask-highlight

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:feng-yifan/dsh-plugins#path:/packages/dsh-ask-highlight

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

简体中文 | English

Highlight answered ask blocks ("question n/n answered") in the conversation thread as a soft card (light brand-color tint + rounded corners, theme-aware), and optionally keep ask blocks expanded by default. Pending ask blocks ("waiting for answer") and other tool rows keep their normal look.

Install

dsh plugin --profile web add dsh-ask-highlight

Refresh the browser after installing; if nothing changes, restart dsh web.

Config

Once installed, configure it under Settings → Plugins → 提问块高亮 (Ask Highlight). Two switches:

Switch Default Meaning
Highlight answered ask blocks On Master switch. Off injects neither the highlight style nor the expand script
Expand ask blocks by default Off When on, every ask block (pending / answered / cancelled) expands the first time it appears

Press Save, then refresh the page — no dsh web restart needed.

The configuration lives inside the active profile:

$DSH_HOME/profiles/<profile>/fengyifan-dsh-ask-highlight/state.json

The settings card shows the actual path. Each profile keeps its own copy.

The same two fields may appear in cordis.patch.yml, but that file only seeds the initial state.json: once the settings page has written a value, state.json wins and the profile file no longer overrides it.

Known limitations

  • Cancelled ask blocks (also in the finished state, labelled "cancelled") are highlighted as well.
  • Colors adapt automatically to the light / dark DSH theme.
  • In the expanded state, padding is a uniform 8px on all four sides.
  • "Expand by default" relies on DSH's DOM conventions; if DSH changes them, expansion fails silently, but the highlight style is unaffected.
  • With expand-by-default on: a block expands when it appears; a block you collapse by hand stays collapsed; and a page refresh or a session switch expands it again.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.