返回目录
模型与 MCP 插件

dsh-mention-tooltip

xiaozou-second/dsh-mention-tooltip

DeepSeek Harness plugin: show the complete text of an @ mention row the menu had to clip

Stars
0
Forks
0
Issues
0
更新
5 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:xiaozou-second/dsh-mention-tooltip

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

Mention tooltip

A DeepSeek Harness bundle that shows the full text of an @ suggestion row the menu had to clip.

The composer's @ menu gives a row's name 40% of the row and ellipsizes the rest, so a long file name stays unreadable however wide the window is — and the right sidebar narrows it further. Rest the pointer on such a row and the complete text appears on that row's own line, just past the ellipsis.

What it does

  • Only a row whose text is really clipped reacts; every other row looks untouched.
  • Only the parts the menu cut are repeated — a hidden file name, a hidden folder, or both — so the note usually stays one line and never repeats what is already on screen.
  • The note sits inside the hovered row, so the rows above and below stay readable. It wraps within the row instead of growing past it.
  • It follows the app theme, takes no pointer events, and closes on pointer-out, click, typing, or a row that moves.

Install

Link a checkout into the profile; the bundle adds its own row and needs no configuration:

dsh plugin --profile web add link:/path/to/dsh-mention-tooltip

Or place the row by hand in the profile's cordis.patch.yml:

- id: mention-tooltip
  name: '@xiaozou-wine/mention-tooltip'

Once the bundle is published, Plugins → Add plugin accepts @xiaozou-wine/mention-tooltip on its own.

How it decides

On pointerover the plugin measures the row's own text parts — the ones whose computed text-overflow is ellipsis — and compares scrollWidth with clientWidth. A part that is really clipped makes the note appear after a 180 ms rest.

Scrolling only matters when it can move the row. A transcript scrolling under a streaming reply is ignored, so the note cannot blink per token; a menu that really scrolls asks the note to follow the row under the pointer.

Limits

  • Only the trigger menu is covered. Truncated text elsewhere — session titles, chips, file trees — is left alone.
  • The note repeats text that is already the row's accessible name, so it is marked aria-hidden and adds no screen-reader noise.

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。