Preface¶
When reading long AI responses in the DeepSeek Harness (DSH) web version, the common workflow is: select a sentence → copy → click the input box → paste → add your follow-up question. What gets pasted is unstructured plain text, so the model struggles to distinguish “your follow-up question” from “the sentence you’re referring to”. Manually constructing Markdown blockquotes is also cumbersome.
The community plugin dsh-selection-ask (maintained by Eos010) solves this: after selecting text on the page, you can write an annotation in place, generating a numbered reference capsule that is written into the input box, while the original text is synchronized with highlighting and numbering. Deleting the capsule removes both the highlight and the number. It is categorized as a client-side plugin and currently has 0 stars on GitHub. Plugin directory page: skillhub.cn/plugins/Eos010/dsh-selection-ask.
What Is This¶
dsh-selection-ask is a text-selection quoting plugin for the DSH web version (README lists version V0.1, package.json is 0.1.0). It does not replace the host’s conversation capabilities; it only enhances the “select → quote → follow up” workflow on the browser side.
The plugin runs on the client side with the permissions of the current DSH process; the README states it does not connect to the network, does not read files, and does not read credentials. Before installing, you are advised to review the GitHub source code and the MIT license yourself.
Core Features¶
The capabilities match the README; summarized below.
- Select to quote: You can select AI responses, your own messages, tool output, code blocks, etc. An inline input bar floats beside the cursor, where you can write an annotation or just press Enter.
- Numbering and highlighting: Each quote has a globally incrementing number (
Selected text 1,2,3, …); the original text shows a highlight and a number badge. Hovering over a capsule in the input box lets you view the original text. - Capsule as single source of truth: After deleting a capsule in the input box, the original text’s highlight and number disappear simultaneously, leaving no orphaned annotations.
- Insertion position: New quotes land at the current cursor position in the input box; multiple consecutive quotes are appended one after another without overwriting existing content.
- Deduplication and merging: Referencing the same text again reuses the original number; if you first quote a short sentence and then quote a longer sentence that contains it, the reference is updated to the longer quote without adding a new capsule.
- Submit behavior:
Enteronly writes into the input box (you can keep editing);Ctrl/Cmd + Enterwrites and sends immediately. - Theme: Colors are derived from the host’s design variables, adapting to light/dark themes automatically.
- Form sent to the model: The input box shows numbered capsules, but what is actually sent is a well-formed Markdown blockquote, for example:
> A one-line comparison: the phrase "push downward" above is recursion, and after hitting the exit, "pull back" is unwinding—the two actions together constitute recursion.
(Here you continue writing your question; the cursor is already here)
- Length limit: Selections exceeding 8000 characters are truncated, with a prompt saying “Content is too long and has been truncated”.
Installation and Activation¶
The DSH command line cannot install plugins with --profile desktop; it will error out:
$ dsh plugin --profile desktop add github:Eos010/dsh-selection-ask
error: profile "desktop" is managed exclusively by the Electron application
The desktop profile is exclusively managed by the Electron application. Choose one of the two options below depending on your actual usage environment.
Desktop (Electron application)¶
Install within the DSH app, or follow the README’s manual two-step process (Windows PowerShell example):
# 1) Put the repository into the profile's node_modules
git clone https://github.com/Eos010/dsh-selection-ask `
"$env:USERPROFILE\.dsh\profiles\desktop\node_modules\dsh-selection-ask"
# 2) In ~/.dsh/profiles/desktop/package.json, add a line to the dsh.profile.bundles array:
# "dsh-selection-ask"
# 3) Restart DSH, then refresh the webpage (Ctrl+F5)
Command-line version dsh web¶
First ensure pnpm is on your PATH (dsh plugin forwards to pnpm):
npm i -g pnpm # dsh plugin is a forwarder for pnpm, so pnpm must be on PATH first
dsh plugin --profile web add github:Eos010/dsh-selection-ask
To install from a local working copy, replace github:… with file:<your working copy path>.
After either installation method, you must restart DSH and refresh the webpage (Ctrl+F5)—the package manifest is only read once at startup. To uninstall: remove the corresponding line from dsh.profile.bundles, delete the directory under node_modules, then restart.
Typical Usage¶
After the installation and restart above, follow these steps in the webpage.
- Select a piece of text;
- An inline input bar appears beside the cursor—write an annotation or leave it empty;
Enter: writes into the input box without sending;Ctrl/Cmd + Enter: writes and sends immediately.
| Action | Result |
|---|---|
| Select body text | An inline input bar floats up; the selected area’s background color does not disappear |
Press Enter in the input bar |
Writes into the input box without sending |
Press Ctrl/Cmd + Enter in the input bar |
Writes into the input box and sends immediately |
| Submit after writing an annotation | The input box shows [capsule] your annotation |
| Hover over a capsule | A tooltip shows the original text of this quote |
| Delete a capsule in the input box | The original text’s highlight and number disappear simultaneously |
Click elsewhere / press Esc |
Collapses the floating layer without touching the input box |
| Select text in the input box | No floating layer appears (editing mode, not quoting) |
| Quote multiple segments consecutively | They are arranged one after another at the cursor, appending rather than overwriting |
Numbers increment globally within a single page lifecycle; referencing the same text again reuses the original number.
Use Cases and Caveats¶
Who it’s for: Users who frequently “point at a specific sentence and follow up” on long responses in the DSH web version; scenarios where you want clear blockquote structure and consistency between on-page annotations and input box content.
Environment and limitations (from the README):
- Original text highlighting requires Chromium 105+ (DSH desktop and
dsh webare based on Chromium; the documentation states it is verified as working). - When transcribing very long content, the portion that scrolls off-screen is temporarily not highlighted and resumes once it scrolls back into view.
- The side question panel is still being perfected: the button is in place, but questions cannot yet be sent.
- After updating the plugin or changing configuration, please Ctrl+F5 to refresh the page.
- If side-question-related features are used in the future, they will call your own configured model and consume your quota.
Development side: package.json requires Node ≥ 22, zero runtime dependencies; build and test commands are in the repository README.
Conclusion¶
dsh-selection-ask condenses “select → annotate → Markdown quote” into a single chain of text selection and capsules, and uses the input box capsule as the unified driver for page highlighting and numbering. The DSH ecosystem emphasizes “everything is a plugin”; the community directory SkillHub has no official affiliation with DeepSeek / High-Flyer. For installation and review, please refer to the repository.
- Directory page: https://www.skillhub.cn/plugins/Eos010/dsh-selection-ask
- GitHub: https://github.com/Eos010/dsh-selection-ask