R3alloc/dsh-session-deeplink 预览 preview

R3alloc/dsh-session-deeplink

Plugin插件 Native原生 ⭐ 5 MIT Sessions & Context会话与上下文

用于可分享会话深链接的DeepSeek Harness插件

Project Overview项目介绍

This is a native web client plugin built exclusively for DeepSeek Harness (DSH), designed to make DSH sessions directly accessible and shareable via custom URLs. It runs entirely client-side in the browser, with no additional host-side services required to function. Core features include opening the requested session directly via the /?session=<id> URL query parameter, automatically syncing the active session ID to the browser address bar when switching sessions, and preserving any unrelated query parameters and URL fragments when updating the browser address.

After installation and restarting the DSH web service, any time you open an existing or new session, the plugin automatically updates your browser’s address bar to include the session ID in the URL. If you share this URL with another developer, or save it for later access, opening the URL will automatically restore the matching session directly in DSH, as long as the session still exists in your DSH session list. This makes it ideal for developers who need to share session context with collaborators or quickly jump back to a specific working session across restarts.

The plugin was developed against DeepSeek Harness version 0.1.0-rc.6, and since DSH is currently in developer preview, future DSH updates may require corresponding updates to this plugin. It is released under the open-source MIT license. For regular use, installing from npm is recommended, as the npm package includes a pre-built client bundle that does not require local building. If installing from GitHub with pnpm 10 or later, you will need to explicitly allow package builds in your profile’s pnpm-workspace.yaml before installation.

这是专为DeepSeek Harness(DSH)打造的Web客户端原生插件,功能是让用户可以通过URL直接访问和分享DSH会话。插件完全运行在浏览器端,不需要额外添加任何主机端服务。它支持通过/?session=<id>参数直接打开指定会话,切换会话时自动同步地址栏中的会话ID,还会保留URL中的其他查询参数和片段。

对于需要频繁分享会话或者快速跳转恢复特定会话的DSH开发者来说,这个插件能大幅提升协作和开发调试的效率。完成安装并重启DSH Web服务后,打开任意会话,浏览器地址就会自动更新为带会话ID的链接。只要对应会话还保留在DSH的会话列表中,打开分享出的链接就能直接恢复到对应会话状态。

该插件当前适配DeepSeek Harness 0.1.0-rc.6版本,由于DSH目前还处于开发者预览阶段,后续DSH版本更新可能需要同步更新插件。插件采用MIT许可证开放源码,推荐从npm安装,npm包已经预构建好,不需要本地重新构建。使用pnpm 10及以上版本从GitHub安装时,需要额外配置构建权限。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

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

把 R3alloc/dsh-session-deeplink 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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

← 上一个 Prev dsh-cc-ecosystem 下一个 Next dsh-plugin-design →