DeepSeek Harness 插件

dsh-session-deeplink

DSH web client plugin: open a session directly from the URL (?session=<id>).(英文原文)

跳到安装方式

来源信息

GitHub 仓库
R3alloc/dsh-session-deeplink
最近更新
2026年8月14日
分类
界面增强
GitHub stars
6
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/R3alloc/dsh-session-deeplink
插件名:dsh-session-deeplink
作者:R3alloc

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-session-deeplink

[中文](#zh-cn) | [English](#english)

<a id="zh-cn"></a>

中文

这是一个 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

---

<a id="english"></a>

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