插件目录 / Developer / dsh-highlight-LETME
dsh-highlight-LETME
已验证 · 实测可装 Yokira404
功能简介
自动标红思考过程中的let_me
可用 — 实测通过,早期项目
自动标红思考过程中的let_me 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
【插件】自动标注LetMe — dsh-plugin-letme-annotator
A DSH Desktop / DeepSeek Harness client plugin that watches the assistant's
thinking blocks and, whenever the reasoning text contains let me
(case-insensitive), places a red badge “出现了 let me” right after the
Think label and highlights every actual occurrence of the phrase in red at
its exact position inside the reasoning text.
- Works while reasoning is streaming; the badge appears the moment
let me
shows up and disappears again if the text is rewritten without it. - Counts occurrences precisely:
出现了 let me ×2for repeated matches. The
count equals the number of matches in the full reasoning text of that step
(one badge per Think row). - Position marking: in the collapsed row the matching words in the visible
summary line are highlighted; once expanded, every match in the full
reasoning body is highlighted (CSS Custom Highlight API). The old
whole-row left accent bar is used only as a fallback when that API is
unavailable. - Detects matches beyond the first line even while the Think row is collapsed
(it reads the session snapshot, with a DOM-text fallback).
Install
The plugin is already installed into the desktop profile
(~/.dsh/profiles/desktop): a junction at~/.dsh/profiles/node_modules/dsh-plugin-letme-annotator plus an entry in the profile manifest'sdsh.profile.bundles. Restart DSH Desktop to activate.
Manual install elsewhere: junction the autoHighlight_LetMe package folder
into ~/.dsh/profiles/node_modules/ and add dsh-plugin-letme-annotator todsh.profile.bundles in ~/.dsh/profiles/desktop/package.json, then restart.
Layout
lib/client.js— browser half (dsh.clientbundle, lazy-CJS factory format)lib/index.js— host loader entry (no-op)cordis.patch.yml— loader patch composing this package into the profilepackage.json—dsh.client+dsh.bundle.patchdeclarationstest/smoke.mjs— browser-logic smoke tests (stubbed DOM + session; the
fake DOM notifies the MutationObserver like a real browser, so the runaway
reconcile-loop freeze regression is covered)test/compose-check.mjs— loader-patch composition check via dsh-app-boottest/repro-loop.mjs— standalone freeze reproduction / settle check
Customize
Edit the constants at the top of lib/client.js:
const PATTERNS = [/\blet me\b/giu]; // match patterns
const BADGE_LABEL = "出现了 let me"; // badge text
Then restart DSH Desktop.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-highlight-LETME」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Yokira404/dsh-highlight-LETME Headless(CLI)profile:
dsh plugin --profile headless add github:Yokira404/dsh-highlight-LETME 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。