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.

Chat Sync — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-chat-sync

Chat Sync

DSH plugin: auto-import local AI CLI conversations (Claude Code, Codex CLI, Cursor Agent) as real DSH sessions

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-chat-sync@0.3.5
READMECompatibilityVersions

Compatibility and provenance

Chat Sync is published as dsh-chat-sync and currently resolves to version 0.3.5. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/20/2026

Versions

0.3.5stable
8/27/2026
0.3.4stable
8/19/2026
0.3.3stable
8/19/2026
Show 10 more versionsCollapse versions
0.3.2stable
8/19/2026
0.3.1stable
8/19/2026
0.3.0stable
8/19/2026
0.2.1stable
8/18/2026
0.2.0stable
8/18/2026
0.1.9stable
8/18/2026
0.1.8stable
8/18/2026
0.1.7stable
8/18/2026
0.1.6stable
8/18/2026
0.1.0stable
8/18/2026

Related plugins

Loading related plugins…

Latest
0.3.5
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
72.4 kB
Files
11
Surface
web
License
MIT
Source
npm
GitHub
★ 1
Weekly downloads
78
Last push
8/27/2026
View source ↗Project homepage ↗
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 developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocol

README

dsh-chat-sync

DSH(DeepSeek Harness)插件:把本地 Claude Code / Codex CLI / Cursor Agent 的对话自动导入为 DSH 会话,在侧边栏统一查看。

功能

能力说明
自动导入发现新对话自动创建 DSH 会话
工作区匹配按源对话的项目路径自动匹配或创建 DSH 工作区
三源分组侧边栏按 Claude Code / Codex CLI / Cursor Agent 分组显示
动态同步fs.watch 递归监听 + SSE 推送,列表自动刷新
隐私围栏所有 API 仅接受 loopback 请求

数据源

源路径
Claude Code~/.claude/projects/<项目>/<sessionId>.jsonl
Codex CLI~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl
Cursor Agent~/.cursor/projects/<项目>/agent-transcripts/<uuid>/<uuid>.jsonl

工作原理

自动导入流程

  1. 扫描:定期扫描三个数据源目录,发现新的对话文件
  2. 匹配工作区:根据源对话的 cwd(工作目录)查找匹配的 DSH 工作区
    • 匹配到 → 直接使用
    • 未匹配 → 自动创建新工作区目录
  3. 创建会话:通过 DSH API 创建新会话,挂载到对应工作区
  4. 命名:会话标题格式为 [来源] 原始标题(如 [Claude] 修复登录bug)

状态追踪

已导入的会话记录在 .chat-sync/imported.json,避免重复导入。只导入最近 24 小时内有更新的会话。

安装

# 从 GitHub 安装(独立仓库,已发布 npm)
dsh plugin --profile web add github:nan1010082085/dsh-chat-sync

# 或从 npm 安装
dsh plugin --profile web add dsh-chat-sync

配置

在 profile 的 cordis.patch.yml(~/.dsh/profiles/web/cordis.patch.yml)按 id 覆盖:

- id: chat-sync
  config:
    enabled: true
    # 浏览功能
    watch: true                    # 动态同步
    syncToWorkspace: true          # 文件复制到 .chat-sync 目录
    # 自动导入
    autoImport: true               # 自动导入为 DSH 会话
    autoImportIntervalMs: 60000    # 扫描间隔(毫秒)
    # 高级
    maxSessions: 500               # 会话列表上限
    maxMessageChars: 8000          # 单条消息截断长度
    recentLiveMs: 180000           # 「活跃」判定窗口

配置项说明

配置项默认值说明
enabledtrue插件总开关
watchtrue文件监听 + SSE 推送
syncToWorkspacetrue文件复制到 .chat-sync 目录
autoImporttrue自动导入为 DSH 会话
autoImportIntervalMs60000自动导入扫描间隔

API(均 loopback-only)

路由说明
GET /api/dsh-chat-sync/status各源可用性 / 会话数 / 同步模式
GET /api/dsh-chat-sync/sessions过滤后的会话列表
GET /api/dsh-chat-sync/session?id=<source:uuid>消息流(增量)
GET /api/dsh-chat-sync/eventsSSE 实时更新

开发与测试

node --check lib/index.js lib/sources.js lib/routes.js lib/client.js lib/auto-import.js
node tests/smoke.mjs         # 端到端测试
node tests/client-load.mjs   # 客户端加载测试

License

MIT