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.

パッケージ
dsh-inline-comment
互換性
未検証
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/11/05

インストール

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

ドキュメント

README 全文を読む ↗

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.