DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

Yokira404 /

Yokira404/dsh-highlight-LETME

Verified

自动标红思考过程中的let_me

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@621574f5

Languages: English | 简体中文

【插件】自动标注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 ×2 for 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).
屏幕截图 2026-08-20 174445

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's dsh.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 to dsh.profile.bundles in ~/.dsh/profiles/desktop/package.json, then restart.

Layout

  • lib/client.js — browser half (dsh.client bundle, lazy-CJS factory format)
  • lib/index.js — host loader entry (no-op)
  • cordis.patch.yml — loader patch composing this package into the profile
  • package.json — dsh.client + dsh.bundle.patch declarations
  • test/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-boot
  • test/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.

—/ 5

No ratings yet

Verified DSH bundle

Commit 621574f58d12

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout