dsh-session-id
在终端中运行以下命令:
dsh plugin install realpkuasule/dsh-session-id
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 终端中运行 dsh plugin install realpkuasule/dsh-session-id 即可安装此插件,源码位于 https://github.com/realpkuasule/dsh-session-id 。
插件介绍
The session ID in DeepSeek Harness is the key identifier for debugging, archiving, and cross-session collaboration, yet the GUI never surfaces it by default. You end up reaching for DevTools or digging through the archive panel every single time. dsh-session-id closes that last mile: a small 11 px label sits permanently in the dock right below the composer, so you always know which session you are working in at a glance.
Interaction is deliberately minimal. Click the label to copy the ID; the plugin prefers navigator.clipboard and falls back to execCommand for older browsers. A brief green highlight and a "Copied" tick confirm the action, resetting after 1.6 seconds. Hover brightens the text, and the label is also selectable by mouse for quick re-reading. When no session is active the element simply does not render, leaving no empty space in the dock. Under the hood it is a pure UI plugin: it touches no host state, registers no HTTP endpoints, and follows the official slots.inject injection point and standard bundle distribution format. Zero permissions, zero side effects.
If you regularly need to grab and share DSH session IDs—pasting them into bug reports, handoff notes to a teammate, or just telling yourself which tab is which across a dozen open sessions—this plugin removes the DevTools detour for good. It installs as a single bundle, requires no build step, and needs no extra configuration.
使用场景
- 排查问题时需要引用当前会话 ID
- 跨会话协作时需要快速识别和分享会话标识
- 归档会话记录时需要标注对应的 session ID
适合人员
- 需要频繁获取和分享 DSH 会话 ID 的开发者
- 排查多会话问题时需要快速定位标识的用户
- 使用 DeepSeek Harness 进行团队协作的工程人员