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.
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:proto-commons/dsh-inline-comment說明文件
閱讀完整 README ↗Usage
-
Drag over text in a conversation. Release — the Annotate pill appears next to the selection.
-
Click it, write the note, and press Enter (or ⌘/Ctrl+Enter). The note is appended to the composer as a reference chip.
-
Keep typing, or send. The model receives:
> the selected sentence (up to 320 characters) > > Annotation: why it needs to change -
Hover the chip at any time to see the quote and the note. Backspace deletes the whole chip from the draft.
Configuration
| Setting | Default | Where |
|---|---|---|
| Submit shortcut | Enter adds, Shift+Enter newlines | Settings → General → Comment shortcut |
| Alternative | ⌘/Ctrl+Enter adds, Enter newlines | Same row |
| Quote limit | 320 characters | MAX_QUOTE in client.js |
| Note limit | 4000 characters | MAX_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.