proto-commons/dsh-inline-comment ↗★ 0

dsh-inline-comment

Select text in a conversation, attach a comment chip to the message box, and preview it on hover.

Package
dsh-inline-comment
Compatibility
Unverified
Version
1.0.0
License
MIT
Last updated
Nov 5, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:proto-commons/dsh-inline-comment

Usage

  1. Drag over text in a conversation. Release — the Annotate pill appears next to the selection.

  2. Click it, write the note, and press Enter (or ⌘/Ctrl+Enter). The note is appended to the composer as a reference chip.

  3. Keep typing, or send. The model receives:

    > the selected sentence (up to 320 characters)
    >
    > Annotation: why it needs to change
    
  4. Hover the chip at any time to see the quote and the note. Backspace deletes the whole chip from the draft.

Configuration

SettingDefaultWhere
Submit shortcutEnter adds, Shift+Enter newlinesSettings → General → Comment shortcut
Alternative⌘/Ctrl+Enter adds, Enter newlinesSame row
Quote limit320 charactersMAX_QUOTE in client.js
Note limit4000 charactersMAX_COMMENT in client.js

The shortcut preference is stored in the browser at localStorage["dsh.inline-comment.submit-mode"] (enter or mod) and applies immediately.