jinhuang712/dsh-session-link1

dsh-session-link

Session reference plugin for DeepSeek Harness: one-click copy of the current session's @session-id reference in the header, an @ mention menu that lists sessions by title, and a session_read tool that reads any local session by @session-id / dsh-session:URI / @title and projects it to readable conversation text — no more download-transfer-unzip to share context between sessions.

AI Analysis

核心用途是实现跨会话的关联与内容读取,允许 Agent 引用和理解其他历史会话。适合需要在不同对话间共享上下文或进行跨任务关联的用户。

Package
dsh-session-link
Version
0.1.0
License
MIT
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:jinhuang712/dsh-session-link

Usage

Share a session: open it, click「🔗 复制 Session ID」in the header, paste into any other session's composer — the reference appears as a chip — and send.

Pick a session without switching: type @ in the composer, find the session by title in the session group, insert it.

Read a reference: the model calls

session_read({ "link": "@session-7fc2d98e-…" })
InputBehaviour
@session-Exact, recommended — what the button produces
dsh-session:The URI form from older link payloads
@titleExact title match; a miss or ambiguity returns candidates/ids — retry by id

Optional: maxChars (projection budget, default 64000), truncate ("tail" keeps the most recent rows — default; "head" keeps the earliest), raw (debug: first 200000 chars of the original JSONL).