DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Qr Share — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
Q

dsh-qr-share

Qr Share

DSH web plugin:侧边栏页脚中的二维码按钮,允许手机扫描并重新发出当前浏览器已认证的启动 URL,复用桌面端刚完成的相同 ?token 交换。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:xiaoguomeiyitian/dsh-qr-share#644f3d678cee0eecd082fdc55fcd35963dcae29b
README兼容性版本
QR button + dialog

兼容性与来源证明

Qr Share 以 dsh-qr-share 发布,当前版本为 0.3.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/1

版本

0.3.1stable
2026/9/1
0.3.0stable
2026/9/1
0.2.0stable
2026/8/30

相关插件

正在加载相关插件…

最新版
0.3.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 2
周下载
0
最近提交
2026/9/1
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-qr-share

English | 中文

DSH web plugin: a sidebar-footer QR-code button that lets a phone scan and re-issue the current browser's authenticated launch URL, reusing the same ?token=… exchange the desktop just completed.

Screenshots

Placeholder — add a screenshot of the sidebar footer button + dialog to docs/screenshot.png and uncomment the line below. Recommended size: 640×400, capturing the bottom of the sidebar and the QR dialog.

What it does

  1. After login, a QR-code icon appears in the sidebar footer (next to the Settings trigger).
  2. Click → a dialog opens showing a QR code and the resolved URL as plain text (fallback for failed scans).
  3. Scan with a phone → the phone opens the URL → the server's BrowserAuth exchanges the token for a cookie (303 → /) and the phone lands on the same session.

The QR URL is composed from window.location.origin so it automatically matches whatever authority the desktop actually used (LAN IP, public domain, reverse-proxied sub-path). No environment variable is needed for the QR to point at the right host — the DSH_PUBLIC_HOST already in web-external.patch.yml still gates the route via the trust fence.

Security model

  • The /_qr/share route is gated by connection.requestRejection — identical to /api's gate. 403 if Host isn't trusted; 401 if the browser cookie isn't valid. The token is only returned on 200.
  • The launch token is process-stable (one per dsh web activation) and becomes useless after the first exchange (the cookie is bound to the authority and HttpOnly + SameSite=Strict).
  • SameSite=Strict + same-origin fetch mean the route is unreachable from any cross-site frame.

Install

Via the DSH plugin CLI (recommended for production)

dsh plugin --profile <name> add dsh-qr-share@latest

This adds the bundle declaration to your profile and reuses the cordis.patch.yml shipped in the package — no manual patch overlay edits needed.

Via plain npm install

# in a project that owns a DSH profile directory
npm install dsh-qr-share
# or with pnpm
pnpm add dsh-qr-share

Then add the row from cordis.patch.yml (shipped with the package) to your profile's patch overlay, and ensure the package is reachable from the profile's node_modules (pnpm/npm flat layout works; pnpm strict layout needs a symlink — see manual install below).

Manual install (e.g. inside the docker-build image)

  1. Place the package at /app/dsh-qr-share/.

  2. Symlink it into $DSH_HOME/profiles/node_modules/dsh-qr-share (the entrypoint does this for you; see docker-build/docker-scripts/entrypoint.sh).

  3. Add the row from cordis.patch.yml to your patch overlay:

    - insert:
        - id: qr-share
          name: 'dsh-qr-share'
    

Configuration (patch overlay)

- insert:
    - id: qr-share
      name: 'dsh-qr-share'
      config:
        enabled: true   # default true; set false to short-circuit the route to 404

Build

# Recommended: pnpm (matches the project lockfile-less layout)
pnpm install
pnpm build       # tsc declarations + tsdown bundles
pnpm typecheck   # strict check
pnpm pack        # produce dsh-qr-share-<version>.tgz (used by the install commands above)

# Also supported: npm (any Node >= 20, no extra install)
npm install
npm run build    # same tsc + tsdown pipeline
npm run typecheck
npm pack

For npm publishing we ship ./npm_publish.sh — a single-file mirror of the core_ts release flow (npm login → npm install → npm run build → npm pack --dry-run review → npm publish --access public).

Outputs:

  • lib/index.js — Node host half (the /_qr/share route)
  • lib/invariant.js — runtime guard
  • lib/client.js — official profile channel bundle (id dsh-qr-share)
  • lib/client-registry.js — plugin-registry channel bundle (id dsh-external/dsh-qr-share)
  • lib/types/** — TypeScript declarations

Compatibility

  • Node >=20
  • DSH (DeepSeek Harness) core >=0.1.0-rc.8 (tested against 0.1.1-rc.2 and 0.1.2-alpha.1)
  • React ^18 || ^19 (peer, optional — the host half doesn't need React)

The host half uses @deepseek-ai/cordis types only (declaration merging + Context re-export); the runtime cordis instance is supplied by the DSH core at plugin mount time. This is why the peer dependency on @deepseek-ai/cordis is intentionally absent — it would be rejected by the DSH market manifest gate, and is not required at runtime.

Publishing

For maintainers — see RELEASE-CHECKLIST.md for the step-by-step npm publish flow.

License

MIT — see LICENSE.

Acknowledgements

  • dsh-better-sidebar — the slot injection and dual client bundle (official / plugin-registry) pattern is inspired by its tsdown.config.ts.
  • qrcode — the QR code renderer.
  • DSH community — for the dsh.community plugin manifest spec (0.15) and the verification / discovery surface at dsh.so.

相关插件

继续浏览 security-access 分类下经过校验的插件。

Doctor@linxin666/dsh-doctorDSH 配置档案的事务性救援模式,配备受监督的启动器、隔离的恢复容器、确定性修复、健康监控以及本地 Web 恢复控制台Mobiledsh-mobileDeepSeek Harness 移动端适配与安全访问插件,支持局域网、远程连接、Android App 和手机浏览器。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Auto Reviewdsh-auto-review针对 DeepSeek Harness 审批请求的第二模型 AI 自动审查:只读审查子代理在审批应答链上决定允许或拒绝,并采用故障关闭回退机制和完整的会话日志审计。