Introduction¶
When troubleshooting, writing scripts, or integrating external tools in DeepSeek Harness (DSH), you often need the exact conversation identifier rather than the conversation title. A session ID looks like session-e7797998-430a-4d2c-aba6-6d7f441f4f70; manually extracting it from logs or network traffic is slow and error-prone. The community plugin dsh-plugin-copy-session-id (maintained by kjx-talesofai) adds two entry points in the desktop UI that copy the full ID to the clipboard with a single click, and shows the result via a Toast notification at the top of the host. Below we describe its purpose, capabilities, and installation.
What Is This¶
dsh-plugin-copy-session-id is a client-side (pure UI) plugin in the DSH ecosystem: its Host-side apply is empty—it writes no files and sends no requests. The session ID already exists on the browser side; the plugin simply mounts controls in the sidebar session menu and on the current session’s title bar. It is classified as a “client” plugin. The repository currently has 0 stars on GitHub and is licensed under MIT (© 2026 Jiaxin Kou).
Catalog page: SkillHub - dsh-plugin-copy-session-id
Source code: github.com/kjx-talesofai/dsh-plugin-copy-session-id
Core Features¶
The plugin provides the same action in two locations—copy the session ID (not the title):
-
The
⋯menu on a sidebar session row
A “Copy Session ID” entry appears after the built-in items. It is implemented using the host-providedMenuItemButtonandToastcomponents; styling, hover behavior, and ↑/↓/Tab/Esc keyboard navigation and focus return are consistent with built-in menu items. -
Right side of the title bar of the currently open session
A copy icon is added in the toolbar, to the left of the title bar’s built-in⋯, and it copies the ID of the session currently being viewed.
The second entry point targets subagent sessions: sidebar.workspaces hides rows with origin: 'subagent', so a subagent has no corresponding row in the sidebar and can only obtain its ID via the title bar. Because the title bar’s ⋯ dropdown is hard-coded by another plugin (e.g. session-log-export) and has no slot, this plugin renders its control as a sibling beside it.
On successful copy, the host displays a Toast centered at the top of the page; if the browser denies clipboard access, it shows “Copy failed, please copy the session ID manually” instead of the green success notification.
Technically, the plugin registers two slots: sidebar.workspaces.session.menu.item (order 500, after archive) and conversation.session.header.utilities (order -5, between open-in-app and the title bar’s ⋯). Feedback is routed uniformly through the host’s Toast on shell.overlay. The output is a build-free client.js that depends on @deepseek-ai/dsh-client-ui-primitives for buttons, Toast, writeClipboard, etc.
Installation & Activation¶
Requires DSH Desktop ≥ 0.2.0-rc.1 (peerDependencies / dsh.engines in package.json are both >=0.2.0-rc.1 <0.3.0-0). The README notes manual testing on macOS (Apple Silicon) with DSH Desktop 0.2.0-rc.2 and 0.2.1-rc.2.
In DSH, choose “Add plugin” and enter the following identifier (the current documentation corresponds to version v0.2.1):
github:kjx-talesofai/dsh-plugin-copy-session-id#v0.2.1
Or use the CLI (desktop profile):
dsh plugin --profile desktop add github:kjx-talesofai/dsh-plugin-copy-session-id#v0.2.1
If installing from a local checkout directory, the path must be an absolute path. After installation, restart the DSH desktop app so that the plugin row causes the Harness to inject the browser-side code into the page. The upgrade procedure is uninstall first, then install; uninstalling means removing it from the plugin list and restarting as well.
Typical Usage¶
- Open DSH Desktop and make sure the plugin has been installed and the app has been restarted.
- For a regular session: open the
⋯menu on the target session row in the sidebar and select “Copy Session ID”; or open that session first and click the copy icon on the right side of the title bar. - For a subagent session: when it is not visible in the sidebar, the ID can only be obtained via the copy icon on the current session’s title bar.
- Paste the clipboard content into whatever tool needs the ID (script arguments, tickets, log correlation, etc.). It should be a full UUID string starting with
session-.
Use Cases & Notes¶
Suited for developers and agent-debugging scenarios that frequently reference exact session IDs inside DSH; not intended for users who only want to copy the conversation title or export entire conversation content (for those, use other plugins such as log export).
DSH plugins run within the current Harness process and page context, so before installing you are advised to review the repository source code and the MIT license yourself. This plugin makes no network requests and writes no local files; the risk surface is mainly whether the clipboard API is available (permissions or browser policy).
The community catalog SkillHub is an independent site and has no official affiliation with DeepSeek / High-Flyer; the plugin list and the github: install source are governed by the maintainer’s repository and catalog page.
Conclusion¶
dsh-plugin-copy-session-id fills the small gap of “copy session ID” with two UI entry points and covers subagent sessions that are invisible in the sidebar. If you are already using DSH Desktop 0.2.x, you can install v0.2.1 with the command above and verify it after restarting.
- Catalog page: https://www.skillhub.cn/plugins/kjx-talesofai/dsh-plugin-copy-session-id
- GitHub: https://github.com/kjx-talesofai/dsh-plugin-copy-session-id