PerryLink/dsh-session-sync

跨设备DeepSeek Harness会话同步:专用git镜像,采用追加式保留双方的冲突解决策略(分叉文件,绝不静默覆盖),提供/sync命令和sync_*工具

Project Overview项目介绍

dsh-session-sync is a native DeepSeek Harness plugin built exclusively for cross-device DSH session synchronization. It works by mirroring your DSH session store to a dedicated git worktree that you host on your own remote git repository, so no third-party cloud service is involved. To install the plugin, you can use the DSH plugin command: dsh plugin --profile web add dsh-session-sync for the npm released version, or install directly from the GitHub repository for the latest main branch updates. It requires Node.js version ^22.19.0 or >=24.0.0, and is compatible with DSH versions from 0.1.2-rc.1 up to below 0.2.0.

This plugin is designed for DSH users who work across multiple devices and want to keep their conversation sessions in sync without relying on proprietary cloud storage. After installation, you need to add a configuration entry pointing to your own private git remote that will store the mirrored sessions. By default, the plugin automatically pulls the latest session changes when DSH starts, and pushes updated sessions after every completed turn. You can adjust these auto-sync settings at any time to match your preferred workflow.

dsh-session-sync is released under the open-source Apache 2.0 license, so it is free to use, modify, and distribute without any cost or subscription fees. It only requires a working local git installation and a running DSH instance, so it works on any platform that supports those two tools, with no platform-specific code or restrictions. Only text-only model sessions are supported, and all pull and push operations require user confirmation before executing, to prevent unintended changes to your session data.

dsh-session-sync 是专为 DeepSeek Harness 开发的原生会话同步插件,核心功能是通过用户自主控制的 Git 远程仓库镜像 DSH 会话存储,实现不同设备间的会话同步。它支持通过 DSH 插件市场、npm、Git 等多种方式安装,兼容 DSH v0.1.2-rc.1 及以上版本,要求 Node.js 版本不低于 22.19.0 或 24.0.0,所有数据由用户自行掌控。

对于需要在多台设备间使用 DSH 的开发者来说,这款插件解决了会话上下文无法跨设备同步的痛点。典型工作流为:安装插件后,在个人配置中指定私有 Git 远程仓库,插件会默认在 DSH 启动时拉取最新会话,每轮对话结束后自动推送更新。遇到会话冲突时,插件会保留本地和远程双方版本,不会静默覆盖,避免会话内容意外丢失。

这款插件遵循 Apache 2.0 开源协议,完全免费使用,没有额外的订阅或使用成本。它依赖本地 Git 环境运行,只要 Git 和 DSH 可正常运行,就能在任意平台使用,没有操作系统限制。插件仅支持纯文本模型会话同步,不需要视觉或其他特殊模型能力,首次使用需要确认配置项中的远程仓库地址正确。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 16 stars - an early-stage project星标 16,属于早期项目
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-sync

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

READMEREADME

🔄 dsh-session-sync

  • 1024 store channel: npm i -g dsh1024 once, then dsh1024 plugin --profile web add dsh-session-sync (counts toward the deepseek1024.com install ranking). Gitee dshfind OpenSSF Scorecard

Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store.

Sync your sessions between devices, keep both sides on any conflict, never lose a turn.

Official repository. This is the only official repository of dsh-session-sync, maintained by PerryLink. Same-name repositories under other accounts are not affiliated.

License DSH plugin dsh-doctor DSH Market Node CI Version npm version npm downloads

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-ponytail 下一个 Next dsh-quota-meter →