jinhuang712/dsh-session-link1

dsh-session-link

DeepSeek Harness 的会话引用插件:支持一键复制当前会话 ID、@ 菜单列出/插入会话,以及读取指定会话内容的工具

AI 分析

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

包名
dsh-session-link
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$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).