DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Session Id Footer — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-session-id-footer

Session Id Footer

DeepSeek Harness 的会话 ID 页脚:在编辑器下方以小字显示当前会话 ID,点击即可复制。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:xiaozhiaixue/dsh-session-id#cbda55c4e931860b1fd6b478993ca796da51255f
README兼容性版本

兼容性与来源证明

Session Id Footer 以 dsh-session-id-footer 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/22

版本

0.1.0stable
2026/8/22

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/8/31
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Git Graph@linxin666/dsh-client-ui-git-graph外部 dsh Web GUI 插件:空会话 Git 分支选择器和 Git 图,包含实际的主机端 Git 操作与防护,作为 dsh 配置文件包

README

dsh-session-id

Session ID footer for DeepSeek Harness (DSH): shows the current session id under the composer, click to copy.

DeepSeek Harness 会话 ID 显示插件:在输入框(composer)下方的 footer 位置以小字显示当前会话 ID,点击一键复制。

仓库 / 目录名是 dsh-session-id;内部 bundle 包名沿用既有安装名 dsh-session-id-footer(与 ~/.dsh/profiles/web/cordis.patch.yml 中的注册名一致,dsh plugin 从本仓库安装后即与现网安装完全同名)。这与官方惯例一致——教程示例仓库 hello-plugin 的包名即为 dsh-hello-plugin(仓库名 ≠ 包名,包名带 dsh- 前缀)。

Why

DSH 的会话 ID 是排查、归档、跨会话协作时的关键标识,但 GUI 默认不展示当前会话 ID——只能靠开发者工具或归档面板间接获取。本插件补上最后一步:在 composer 下方的 dock 内以小字常驻显示当前会话 ID,点击即复制,并给出「✓ 已复制」反馈。

  • 纯 UI 插件:不碰 host 状态、不注册 HTTP 端点,零风险、零权限。
  • 即时复制:优先 navigator.clipboard,降级 execCommand('copy') 兼容旧浏览器。
  • 贴近官方插件机制:走 window.__ModuleLoader__.load 标准 bundle 格式 + slots.inject("conversation.composer.dock") 官方插槽。

Features

  • 🆔 当前会话 ID 以 11px 小字常驻 composer 底部 dock
  • 📋 点击复制会话 ID(1.6s「✓ 已复制」反馈 + 绿色高亮)
  • 🖱️ hover 提亮、user-select: text 可手动框选
  • 🎯 无会话时自动隐藏(sessionId 为空不渲染)

Install

标准 DSH profile bundle(官方外部插件分发路径,见 docs/user/develop/basic/publish.md):仓库根目录即 bundle 包(package.json 声明 dsh.bundle.patch),dsh plugin 安装后由 bundle 的 cordis.patch.yml 自动插入插件行。无需构建步骤——纯 JS,git 安装不需要 prepare 脚本或 allowBuilds。

Option A — official dsh plugin (recommended)

# From a directory that contains this checkout (the repo root IS the package):
dsh plugin --profile web add ./dsh-session-id
# or straight from GitHub (plain JS, no build permission needed):
dsh plugin --profile web add github:realpkuasule/dsh-session-id

# Verify the composed layer without booting:
dsh --profile web --dump-config | grep -A2 dsh-session-id-footer

dsh plugin links the package, records it in the profile's dependencies, and the bundle layer inserts the session-id-footer plugin row.

Discoverability

Add the dsh-plugin topic to your plugin repository for discoverability — the official DeepSeek Harness README recommends it, and dsh-plugin is the shared topic under which the community finds DSH plugins (both mirrors of this repo, realpkuasule/dsh-session-id and xiaozhiaixue/dsh-session-id, carry it).

Option B — manual (no CLI)

# 1. Copy the package (repo root) into your profile's node_modules
DSH_HOME="${DSH_HOME:-$HOME/.dsh}"
mkdir -p "$DSH_HOME/profiles/node_modules/dsh-session-id-footer"
cp -R . "$DSH_HOME/profiles/node_modules/dsh-session-id-footer/"
# 2. Add the bundle layer to $DSH_HOME/profiles/web/cordis.patch.yml
#    (an `- insert:` list entry — same shape as the bundle's own patch file)
    - id: session-id-footer
      name: dsh-session-id-footer
# 3. Restart `dsh web`

Open the GUI: the composer dock now shows the current session ID in small text. Click it to copy.

Architecture

Browser (client.js, __ModuleLoader__ bundle)
 └─ slots.inject("conversation.composer.dock", order 10) ──▶ <span> session id
      • props.sessionId / props.session.id → display string
      • click → navigator.clipboard → fallback execCommand('copy')
      • 1.6s "✓ 已复制" feedback via ctx.timeout
Node (index.js, profile Cordis plugin)
 └─ empty apply(): pure UI plugin, exists only so the package
    registers in the host cordis.yml / Loader; the browser half
    ships via exports["./client"] + the package.json dsh.client declaration
  • 数据来源:composer dock 插槽注入的 props.sessionId(官方 dsh-client-ui-* 渲染链自带),无需额外数据层。
  • 渲染位置:conversation.composer.dock 插槽 order: 10,位于 composer 卡片下方的 dock 条内。
  • 隐藏逻辑:无会话(sessionId 为空)时不渲染任何元素,不占位。

Repository layout

The repository root is the bundle package, following the official bundle layout from publish.md:

dsh-session-id/
├── package.json          # bundle manifest: dsh.bundle.patch + dsh.client.platform: web
├── cordis.patch.yml      # the bundle's patch layer (inserts the plugin row)
├── lib/
│   ├── index.js          # host half (empty apply)
│   └── client.js         # browser half (__ModuleLoader__ bundle)
├── README.md
├── DESIGN.md             # full design doc: decisions, risks, verification
└── LICENSE               # MIT

License

MIT