dsh-copy-session-id
其他 活跃维护

dsh-copy-session-id

Hanihahaha/dsh-copy-session-id

轻量级适配DeepSeek会话的网页插件,在会话头部栏展示当前会话ID,点击即可复制完整值到剪贴板,无需手动查找输入,操作简单便捷。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
None
开源协议
5 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:Hanihahaha/dsh-copy-session-id
git clone https://github.com/Hanihahaha/dsh-copy-session-id.git
git clone git@github.com:Hanihahaha/dsh-copy-session-id.git
README.md main

dsh-copy-session-id

中文

A DeepSeek Harness (DSH) Web plugin that displays the current session ID in the session header and copies the complete value to the clipboard on click.

Behavior

  • Displays a compact monospace session-ID control beside the title, truncating long values visually.
  • Copies the complete ID with one click and shows a short confirmation state.
  • Localizes its tooltip for Chinese and English interfaces.

Install

# Run from the repository root.
dsh plugin --profile web add ".\dsh-copy-session-id"

The package bundle patch inserts copy-session-id, while dsh.client exposes lib/client.js through the DSH Web boot graph. Restart dsh web after installation.

Implementation

The client registers in the conversation.session.header.actions session slot. It receives the stable sessionId from the framework, copies with navigator.clipboard.writeText, and falls back to document.execCommand('copy') when necessary. The host half intentionally has an empty apply function so Loader keeps the client module active.

License

MIT