flyhye/dsh-selection-toolbar ↗★ 1

@local/dsh-selection-toolbar

Floating selection toolbar for the Harness Web UI: quote transcript text into the composer as a numbered reference that expands to the full passage on send, or fork the Session into a side conversation in the right sidebar.

Package
@local/dsh-selection-toolbar
Compatibility
Unverified
Version
1.3.0
License
MIT
Last updated
Nov 13, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:flyhye/dsh-selection-toolbar

使用限制

  • 轻量版设计:引用原文随消息一起发送,长文会整段进入模型上下文
  • 单条引用上限 1500 字,超出部分截断并以 …[+N] 标出;截断会即时提示
  • 溯源标记取自宿主聊天行的 data-chat-turn;选区跨越多个轮次时不做标注
  • 侧边对话需要会话已有已完成的回合(宿主限制);首个回复尚未结束时会提示稍后再试
  • 分叉出的会话与宿主原生分支一样保留在会话列表中
  • 编号计数与复用映射存于浏览器 localStorage:更换浏览器或清除站点数据后编号从 1 重新开始,同一会话可能出现重复编号(不影响功能)
  • 引用芯片的外观由宿主编辑器渲染,本插件不改变其样式