dsh-selection-comments
界面增强 活跃维护

dsh-selection-comments

O-OII/dsh-selection-comments

轻量级选区注释工具,为选中文本生成编号锚点与紧凑引用,支持注释编辑管理和标签页恢复,默认中文界面并可切换英文。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
1.4 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:O-OII/dsh-selection-comments
git clone https://github.com/O-OII/dsh-selection-comments.git
git clone git@github.com:O-OII/dsh-selection-comments.git
README.md main

DSH Selection Comments

简体中文

Comment on conversation passages in DeepSeek Harness Web/Desktop, without filling your draft with copied text.

Select a passage, add a comment, and keep numbered references compact

Public synthetic demo: real plugin + React with sample transcript/input adapters, not a live DSH session.

Features

  • Select text to add a comment, with a numbered badge anchored beside the passage.
  • Keep quote + comment in one compact draft reference; expand both when submitting.
  • Edit, delete, or re-add a comment from its badge/reference; review everything in All comments.
  • Keep the composer uncluttered: no permanent comments toolbar or extra footer counter.

Install

For DSH Web or Windows Desktop; see the compatibility matrix for the API baseline and tested scope.

git clone https://github.com/O-OII/dsh-selection-comments.git
cd dsh-selection-comments
dsh plugin --profile desktop add --ignore-scripts .

Use the official DSH CLI supplied with your target installation; replace desktop with your intended profile. The client bundle is included—no build required.

Use in four steps

  1. Select a passage in the conversation and click 注释 / Comment.
  2. Write your note and choose Add comment, or press Ctrl/⌘+Enter.
  3. Click a numbered badge or draft reference to edit, delete, re-add, or open All comments.
  4. Submit normally in DSH: references expand to the original quote and your note, not just a number.

Edit a comment with the built-in UI language selector

Language

Simplified Chinese is the default, even with an English browser or DSH. Choose English or Follow DSH in the comment dialog's language selector; Esc closes the dialog.

Review your comments

All comments shows quotes, notes, and draft status. Delete all comments removes this session's comments, draft references, and plugin tab cache.

Manage all comments in the real plugin dialog

Recovery

Comments can recover after refresh in the same browser tab via sessionStorage; this is not cross-tab/cloud sync or secure erasure—see privacy and limits.

Detailed docs

MIT — © 2026 O-OII contributors. See LICENSE.