Sunday2Mo/dsh-file-quote1

dsh-file-quote

Unified quoting for DeepSeek Harness Web: select file-editor text or chat messages → annotate → 「引用#N」chip → the AI receives a formatted quote block with file path and exact line range (source line hidden on the user side); sent quotes collapse into a hoverable chip that jumps back to the original text. 统一引用插件(文件编辑器 + 会话消息)。

AI 分析

核心用途是实现代码与对话的深度联动引用。适合在工作台编写代码时,需要将特定文件的精确行区间作为上下文发送给 AI 协同讨论的开发者。

パッケージ
dsh-file-quote
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/27

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Sunday2Mo/dsh-file-quote

ドキュメント

README 全文を読む ↗

使用

  1. 引用会话消息:在任意对话中划选一段文本,点击浮层「批注」(可加评论),点「插入输入框」——输入框光标处出现「引用#N」chip。
  2. 引用文件文本:在工作台编辑器、better-sidebar 编辑器或 Markdown 预览中划选代码,同样流程;发送后引用块自带文件路径 + 行区间,AI 可直接定位到原文。
  3. 发送后:引用块折叠为「引用内容 · 悬停查看」chip——悬停查看全文,点击跳回原文并高亮(编辑器选中高亮 / 消息行闪烁 / 原文浮层兜底)。