返回目录
其他 待识别

dsh-copy-session-id

Hanihahaha/dsh-copy-session-id

该仓库暂未提供项目说明。

Stars
0
Forks
0
Issues
0
更新
1 天前

PROJECT TOPICS

项目标签

PROJECT README

README

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

CLASSIFICATION EVIDENCE

分类依据

项目类型待识别
功能分类其他
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。