DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Agent Project Sync — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
A

dsh-agent-project-sync

Agent Project Sync

Discover Codex and Claude project directories and register them as shared DeepSeek Harness workspaces.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Harzva/dsh-agent-project-sync#5ff9b30f5a3cc4d798af7288920c539ac2d84515
READMECompatibilityVersions

Compatibility and provenance

Agent Project Sync is published as dsh-agent-project-sync and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
8/23/2026

Versions

0.1.0stable
8/23/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 2
Weekly downloads
0
Last push
8/23/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Agent Teams@nanmicoder/dsh-agent-teamsAgentTeams for DeepSeek Harness: multi-agent team collaboration (captain, members, tasks with dependencies, messaging) driven by natural language, with a tree monitor in the web GUI

README

dsh-agent-project-sync

把 Codex、Claude Code 等本地智能体使用过的项目目录汇总到一个 DSH home,并注册为 DeepSeek Harness 原生 Workspace。不同智能体继续操作同一份源码;插件不复制项目、不迁移聊天记录,也不建立第二份项目文件。

它解决什么

一个项目可能先在 Codex 中打开,又在 Claude Code 中继续,最后希望从 DSH 接管。各工具保存会话的方式不同,但都记录了工作目录 cwd。本插件只读取 JSONL 开头的这项元数据,按真实目录路径去重,然后:

  1. 生成当前机器的共享项目清单:$DSH_HOME/agent-project-sync/projects.json。
  2. 通过公开的 ctx.workspaceRegistry API,把存在的目录注册为 DSH Workspace。
  3. 提供本地 CLI,让其他智能体读取或手动补充同一清单。

当前内置 Codex 与 Claude Code 适配器;结构允许以后添加 Cursor、Kimi、OpenCode 等来源。

安全边界

  • 只读取每个 JSONL 文件开头最多 128 KiB,并只提取 cwd;不保存或返回聊天正文。
  • 默认全部写操作都是 dry-run;DSH 工具真实写入必须 confirm=true 且 dryRun=false。
  • 同步只新增或复用 Workspace,绝不删除 Workspace、会话、项目目录或源智能体数据。
  • 清单使用原子写入、进程锁和用户私有文件权限;它包含本机绝对路径,属于机器本地数据,不应提交到公开仓库。
  • 指定另一个 DSH home 时,通过 DSH_HOME 或插件的 dshHome 配置选择;插件不会直接改写其他 home 的内部 Workspace 数据。要同步哪个 home,就在那个 home 的 profile 中加载插件。

安装

从 GitHub Release 安装:

dsh plugin --profile web add https://github.com/Harzva/dsh-agent-project-sync/releases/latest/download/dsh-agent-project-sync-0.1.0.tgz

开发目录链接安装:

npm install
npm run check
dsh plugin --profile web add -w link:/absolute/path/to/dsh-agent-project-sync

安装后重新启动对应 profile。若使用单独的 DSH home:

DSH_HOME=/path/to/selected-home dsh plugin --profile web add -w link:/absolute/path/to/dsh-agent-project-sync
DSH_HOME=/path/to/selected-home dsh web

也可以把 bundle 行直接加入 profile:

- insert:
    - id: agent-project-sync
      name: dsh-agent-project-sync
      config:
        sources: [codex, claude]
        maxFilesPerSource: 20000
        maxHeaderBytes: 131072
        excludePaths: []

DSH 工具

工具默认行为用途
agent_projects_scan只读发现 Codex/Claude 项目并显示哪些已是 Workspace
agent_projects_list只读读取当前 DSH home 的共享项目清单
agent_projects_syncdry-run合并发现结果并注册缺失 Workspace
agent_projects_adddry-run手动加入一个现有目录

真实同步示例参数:

{
  "dryRun": false,
  "confirm": true
}

可以先用 agent_projects_scan 得到稳定项目 id,再把 ids 传给 agent_projects_sync 只处理选中的目录。

给 Codex、Claude 等使用的 CLI

# 只读扫描
dsh-agent-project-sync scan

# 扫描并写入共享清单
dsh-agent-project-sync scan --save --confirm

# 读取同一清单
dsh-agent-project-sync list --json

# 手动登记一个项目;不加 --confirm 时只预览
dsh-agent-project-sync add /path/to/project --confirm

CLI 只管理共享清单。原生 DSH Workspace 写入必须在加载插件的 DSH Host 内完成,以免绕过 DSH 的存储与生命周期约束。

配置

字段默认值说明
sourcescodex, claude启用的发现适配器
codexHomeCODEX_HOME 或 ~/.codexCodex 数据根
claudeHomeCLAUDE_CONFIG_DIR 或 ~/.claudeClaude Code 数据根
dshHomeDSH_HOME 或 ~/.dsh共享清单所属 DSH home
registryPathDSH home 下的默认清单仅覆盖共享清单文件位置
excludePaths空不导入的目录根;其子目录也跳过
maxFilesPerSource20000每个来源最多检查的 JSONL 文件数
maxHeaderBytes131072每个 JSONL 最多读取的开头字节数

开发与验证

npm run check
pnpm run pack:dsh
npm run preflight
npm run verify:dsh-offline
npm pack --dry-run

verify:dsh-offline 创建临时隔离的 DSH_HOME,安装刚打包的 tarball 并检查配置组合;不会触碰日常 profile。

兼容基线:DeepSeek Harness / dsh 0.1.0-rc.8、Cordis ^4.0.1、Node.js ^22.19 || >=24。

卸载

从目标 profile 移除包并重启:

dsh plugin --profile web remove dsh-agent-project-sync

卸载不会删除已有 Workspace、项目目录或共享清单。若要清理清单,请由用户单独确认并删除该机器本地文件。

License

MIT