dshbase

插件目录 / Knowledge / dsh-session-deeplink

dsh-session-deeplink

已验证 · 实测可装 R3alloc

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

6Stars
0Forks
0未关闭 issue
JavaScript语言
2026-08-14最近推送
跨平台平台

功能简介

DSH插件:可分享的会话深度链接

✅
我们的评价
可用 — 实测通过,早期项目

DSH插件:可分享的会话深度链接 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-session-deeplink

中文 | English

中文

这是一个 DeepSeek Harness Web 客户端插件,用于通过 URL 直接访问和分享 DSH 会话。

功能

  • 通过 /?session=<id> 直接打开指定会话。
  • 切换当前会话时,自动同步浏览器地址栏中的会话 ID。
  • 保留 URL 中其他查询参数和 fragment。
  • 完全运行在浏览器端,不添加任何 host 服务。

从 npm 安装

将插件安装到 web profile:

dsh plugin --profile web add dsh-session-deeplink

重启 dsh web,然后打开任意会话。浏览器地址会变为:

http://127.0.0.1:3080/?session=session-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

只要该会话仍存在于 DSH 会话列表中,打开此 URL 就会恢复到同一会话。

从 GitHub 安装

Git 依赖会通过包内的 prepare 脚本在本机完成构建:

dsh plugin --profile web add github:R3alloc/dsh-session-deeplink

pnpm 10 及以上版本可能要求先在对应 profile 的 pnpm-workspace.yaml 中明确授权构建,然后重新执行安装命令:

allowBuilds:
  dsh-session-deeplink: true

日常安装建议使用 npm 包,因为 npm 包已经包含构建好的客户端 bundle,不需要在安装时执行构建代码。

开发

npm install
npm run typecheck
npm test
npm pack --dry-run

兼容性

当前版本基于 DeepSeek Harness 0.1.0-rc.6 开发。DeepSeek Harness 目前仍处于开发者预览阶段,后续版本可能需要同步更新插件。

许可证

MIT


English

A web client plugin for DeepSeek Harness that makes sessions directly addressable and shareable by URL.

Features

  • Opens /?session=<id> directly in the requested session.
  • Keeps the address bar synchronized when the active session changes.
  • Preserves unrelated query parameters and URL fragments.
  • Runs entirely in the browser and adds no host-side service.

Install from npm

Install the bundle into the web profile:

dsh plugin --profile web add dsh-session-deeplink

Restart dsh web, then open a session. The browser URL becomes:

http://127.0.0.1:3080/?session=session-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Opening that URL restores the same session as long as it still exists in the DSH session list.

Install from GitHub

Git dependencies build locally through the package's prepare script:

dsh plugin --profile web add github:R3alloc/dsh-session-deeplink

pnpm 10 and later may require explicitly allowing the package build in the profile's pnpm-workspace.yaml before retrying the command:

allowBuilds:
  dsh-session-deeplink: true

Prefer the npm package for normal installation because it already contains the built client bundle and does not execute build code during installation.

Development

npm install
npm run typecheck
npm test
npm pack --dry-run

Compatibility

Developed against DeepSeek Harness 0.1.0-rc.6. DeepSeek Harness is currently a developer preview, so future releases may require plugin updates.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-session-deeplink」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

Web profile:

dsh plugin --profile web add dsh-session-deeplink

Headless(CLI)profile:

dsh plugin --profile headless add dsh-session-deeplink

包信息

npm:dsh-session-deeplink · 版本 — · 实测环境 dsh 0.1.0-rc.6

实测报告

端到端验证通过:dsh 0.1.0-rc.6 上 L1 安装 + L2 加载 + L3 运行问答。

使用场景

给 agent 一套记忆、知识库或检索层,让它不再跨会话丢上下文。

适合谁

跑长项目、想让 agent 记住决策、文档和偏好而不用每次重讲的人。

二次开发建议

记忆/检索后端是缝——插新存储、调蒸馏策略,或加引用与审计轨迹。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Knowledge 里更多

浏览全部 7797 个插件 →