New:Socket for Asana Is Now Available.Learn more
Get Started

dsh-quote-selection

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dsh-quote-selection

DeepSeek Harness web GUI plugin: quote ANY selected text (floating button), add your own annotation, and hold references as embedded numbered chips above the composer; insert them into the draft on demand.

latest
npmnpm
Version
0.1.0
Version published
Weekly downloads
149
Maintainers
1
Weekly downloads
 
Created
Source

dsh-quote-selection

DeepSeek Harness Web GUI 插件:引用任意选中的文本,附带你自己的备注,并以 编号卡片嵌入显示在输入框上方,需要时统一插入草稿。

安装

dsh plugin --profile web add dsh-quote-selection

包声明了 dsh.bundle(自动加入 bundle 层)+ dsh.client(网页客户端), dsh plugin add下次页面加载即生效,重启后端也不会丢

功能

  • 任意位置划选文本(助手/用户消息、代码块、工具结果)→ 选中处浮出「引用」按钮
  • 点击后弹窗可写备注("为什么引用这段")
  • 引用以编号卡片显示在输入框上方:引用 #N | 预览 | (备注) | ✕
  • 助手消息操作条上的「引用」按钮可整条引用
  • 「插入 N 条引用到输入框」 → 以引用块(含 > —— 备注: 行)写入草稿

开发说明

  • 纯手写客户端 bundle(client/client.js),遵循 harness 的 window.__ModuleLoader__.load({ id, factory }) 契约,零构建步骤、零依赖。
  • 说明:harness 客户端目前没有"发送前钩子",所以采用"显式插入"方案保证输入框 在写作时保持干净;如需"发送时自动注入",需要接管 composer,暂未实现。

发布

cd apps/desktop/quote-plugin
npm login
npm publish

若包名被占用,改用自己的 scope(@<your-name>/dsh-quote-selection),并保持 cordis.patch.yml 中行的 name 与包名一致。

Keywords

deepseek-harness

FAQs

Package last updated on 19 Aug 2026

Related posts