dsh-session-sync

DSH PLUGIN模型与账号接入

仓库 borncode-app/dsh-session-sync · npm @local/dsh-session-sync

模型与账号接入 L4 · 沙盒安装通过 安全审查:低风险 可信度:银 可安装插件
安装这个插件

把 Claude Code 与 MiniMax Code 的历史对话导入 DSH,按项目文件夹归入对应工作区,并用来源图标标记每条会话。

一句话选型结论

按资料字段整理

dsh-session-sync 是模型与账号接入类的 DSH 可安装插件,验证等级 L4 · 沙盒安装通过,安全审查为低风险,列出 5 项功能,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类模型与账号接入 收录类型可安装插件 验证等级L4 · 沙盒安装通过 安全审查低风险
验证等级 L4 L4 · 沙盒安装通过
GitHub 星标 0 复刻 0 · 未关闭 issue 0
最近更新 2026-11-12 创建于 2026-11-12
README 14.6 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:borncode-app/dsh-session-sync#v1.0.0
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名@local/dsh-session-sync可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-session-sync:把外部对话搬进 DeepSeek Harness 的会话导入插件

  • 导入 Claude Code 会话
  • 导入 MiniMax Code 会话
  • 按项目文件夹归入工作区
  • 会话行显示来源图标
  • 自动定时增量同步

适用场景

文件读写

上游标签

claude-codedeepseek-harnessdshdsh-pluginimportminimaxsessionssync

验证等级与安全审查

L4 · 沙盒安装通过
自动化流程结论,不是人工审核
验证等级L4 · 沙盒安装通过安装命令在隔离沙盒内真实执行成功,无依赖错误
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度银综合仓库活跃度与验证结果

上面的结论来自上游最近一次自动化验证(2026-11-13): 同一套检查会在插件发新版后重跑,页面显示的是最新一次的逐项结果。

逐项检查结果

L1 · 已找到 ✓ 通过
  • L1.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L2 · 结构化 ✓ 通过
  • L2.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L3 · 安装规范 ✓ 通过
  • L3.1_INSTALL_COMMAND_PARSED 安装命令已解析 方式:安装规范解析
  • L3.2_DSH_VERSION_DECLARED DSH 版本已声明 方式:DSH 版本声明
L4 · 安装已测 ✓ 通过
  • L4.1_INSTALL_EXECUTED_CONFINED 受限沙盒内执行安装 方式:沙盒安装执行
  • L4.2_INSTALL_SUCCESS 沙盒安装成功 方式:沙盒安装执行
  • L4.3_ARTIFACT_CONFIRMED 安装产物已确认 方式:沙盒安装执行
L5 · 运行已测 ✕ 未通过
  • L5.1_INSTALL_PASSED_SANDBOXED 沙盒安装通过 方式:沙盒安装执行
  • L5.2_WEB_BOOT_READY Web 启动就绪 方式:Web 启动
  • L5.3_HTTP_SERVED HTTP 服务响应 方式:HTTP 请求
  • L5.4_PLUGIN_INVENTORY_ACTIVE 插件清单中已激活 方式:插件清单查询

风险详情

  • 结论说明 静态扫描 低;动态审计无结论(以下以静态为准)→ 总评级 低。
  • 风险计数 严重 0 / 高 0

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L4:在沙盒里真实装过,依赖能装上,不是纸面声明。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 列出了 5 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在模型与账号接入场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-session-sync当前 L4 · 沙盒安装通过 低风险 0 未标注 有
archify L4 · 沙盒安装通过 低风险 8.0 万 未标注 有
DeepSeek-Reasonix L4 · 沙盒安装通过 低风险 3.6 万 未标注 有
nocobase L3 · 安装规范通过 低风险 2.5 万 0.1.1-rc.2 无
voyager L3 · 安装规范通过 低风险 2.1 万 未标注 无
learn-harness-engineering L4 · 沙盒安装通过 低风险 2.0 万 未标注 有

仓库档案

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方borncode-app仓库 dsh-session-sync · 默认分支 main
分类模型与账号接入ai
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 0收录时的数值,非实时
创建 / 更新2026-11-12 · 2026-11-12最后推送 2026-11-14
本站收录2026-11-13首次进入本站目录的时间

README 全文

14.6 KB
作者原文,中文版优先;只做安全转义,不改内容

> This repository has moved into one monorepo.
>
> The BornCode plugins — agent customization, desktop control, auto-continue,
> auto-shutdown, browser use, session instructions, session sync, and the side
> chat — now live in
> borncode-app/dsh-borncode,
> one repository with one Plugins entry.
>
> | this repo | new home |
> |---|---|
> | dsh-agent-customizer | packages/dsh-agent-customizer |
> | dsh-agent-desktop | packages/dsh-agent-desktop |
> | dsh-auto-continue | packages/dsh-auto-continue |
> | dsh-auto-shutdown | packages/dsh-auto-shutdown |
> | dsh-browser-use | packages/dsh-browser-use |
> | dsh-session-instructions | packages/dsh-session-instructions |
> | dsh-session-sync | packages/dsh-session-sync |
> | dsh-side-chat | packages/dsh-side-chat |
>
> The code and its history are unchanged; only the repository is shared. Install
> dsh-borncode instead of the individual bundles. This repository stays open
> so the old links keep working.
dsh-session-sync
Brings your Claude Code and MiniMax Code conversations into DeepSeek Harness — in the right workspace.


What it does

You have conversations in Claude Code (~/.claude/projects/**/*.jsonl) and in MiniMax Code
(~/.minimax/v2/sqlite/runtime-state.sqlite plus its dated session directory). The Harness knows nothing about
them, so the work you did there is invisible here.

This plugin imports those conversations as ordinary persisted DSH sessions, filed under the workspace whose
folder matches the session's own working directory — and marks every one of them with the logo of the app it
came from.

The plugin follows one rule: a workspace is keyed by its folder path. A session recorded in
C:\Users\you\Documents\portfolio is imported into the DSH workspace for exactly that folder; a workspace is
created when the folder does not have one yet. The workspace's existing title is kept.

What gets imported

Source Read from Notes
Claude Code ~/.claude/projects/*/*.jsonl Main-thread user and assistant text; sidechains, tool traffic, and injected ` context are skipped. The transcript'scustom-title/agent-namebecomes the DSH title; a mid-sessionrelocated` record wins as the working directory.
MiniMax Code ~/.minimax/v2/sqlite/runtime-state.sqlite The display message rows (user/assistant) of each row in local_runtime_sessions; greeting and tool-result rows are skipped. The MiniMax title and workspace_dir are preserved.
DSH Existing persisted sessions Not copied. They are accounted as source dsh; a row with no map entry shows the DSH logo.

Imported sessions are ordinary persisted DSH sessions: they appear in the sidebar, open in the Conversation view,
carry the origin logo, and can be archived or deleted like any other session. A session is never imported twice:
the state file maps every external session to a deterministic DSH session id.

Flags (the row logo)

Each Session row shows a 14 px logo in its leading cell:

  • orange starburst — Claude Code
  • violet M — MiniMax Code
  • blue D — a DSH session

The logo is drawn as inline SVG, so it matches the interface in every theme and costs one small component per idle
row. The source map is fetched once from the Host status route; a late answer re-renders every mounted row through
one shared store. A row that shows a status dot keeps that dot in the same cell (the cell is reserved for the row's
primary state), so the logo appears on idle rows.

Control route (Host + one client slot)

The Host answers a JSON route at /plugins/session-sync:

  • GET — counts per origin, the last run, both source paths.
  • POST {"action":"sync"} — scan and import now.
  • POST {"action":"warm"} — rebuild the projection cache for imported sessions (the sidebar reads historical
    titles from that cache).
  • POST {"action":"verify","sessionId":"…"} — replay-validate one imported log.
  • POST {"action":"regroup","dryRun":true} — plan the MiniMax regroup (below).
  • POST {"action":"regroup"} — run it.
  • POST {"action":"rename-sandboxes"} — give the remaining MiniMax sandbox workspaces their conversation's title.

Automatic sync runs 3.5 seconds after startup and then every 15 minutes. It only parses sessions whose external
fingerprint changed, so a quiet run is cheap.

MiniMax sandboxes and the regroup

MiniMax Code stores each session's working directory as its own sandbox (~/.minimax/sessions//workspace), not
the folder the user was working in. The real folder only appears in the prompt — usually inside …
or as an absolute Windows path.

regroup reads the prompt, resolves the first path that is an existing project folder, imports the conversation
into that folder's workspace, and archives the sandbox copy. A path that runs into the surrounding sentence
(C:\FO3TH`, and deliver …) still resolves, because candidates are shortened from the right until one exists.

Refused as project folders: the home directory, hidden folders directly under it (~/.ssh),
AppData\Local\Temp, Windows, node_modules, .git, and anything inside another MiniMax sandbox. Only an
explicit `` tag may name a hidden folder.

A regroup run moves conversations like this:

Session From the sandbox to
เลือก GitHub repo ที่เหมาะทำ portfolio C:\Users\you\Documents\portfolio
แก้ข้อความบนภาพเป็น กรุงเทพใต้ C:\Users\you\Documents\presenton
ย้อนวิศวกรรม C:/FO3TH เป็นแอป Android C:\FO3TH
查找可用 skills C:\FO3TH

The remaining MiniMax sessions name no folder in their prompt, so they stay in their sandbox workspace — which
rename-sandboxes renames to Mavis · instead of mvs_ workspace.

Requirements

DeepSeek Harness 0.2.x (Web GUI)
Runtime Node 24, supplied by the Harness runtime
Optional Claude Code (~/.claude) and/or MiniMax Code (~/.minimax) — import whichever exist
Note MiniMax Code must expose node:sqlite (DatabaseSync); without it the plugin reports sqlite-unavailable instead of failing the run

Install

git clone https://github.com/borncode-app/dsh-session-sync.git dsh-session-sync

Then in DSH: Plugins → install the bundle from that directory, or:

plugin_manager install_bundle target=C:\path\to\dsh-session-sync

Restart once. The first import happens a few seconds after startup.

Configuration

field default meaning
endpoint /plugins/session-sync Route the Client half reads and posts to
autoSync true Scan after startup and on an interval
intervalMinutes 15 Minimum gap between automatic runs
maxTextChars 20000 Per-message character budget; longer bodies are truncated visibly
claudeRoot ~/.claude/projects Claude Code transcript root
minimaxDatabase ~/.minimax/v2/sqlite/runtime-state.sqlite MiniMax Code runtime database

Files

file role
index.js Host row: scanning, conversion, persistence, workspace accounting, status route
lib/convert.mjs Pure transcript → DSH event conversion and title/id helpers
lib/sources.mjs Claude JSONL and MiniMax sqlite readers, project-folder inference
client.js The row logo component and its one-shot source-map store
cordis.patch.yml Bundle patch
state.json Import map and last-run report (written at runtime, not tracked)
scripts/repair-titles.mjs Repair tool for the first build's session/title source
scripts/reframe-sessions.mjs Rebuild the two-frame Zstandard layout of a log
scripts/flag-titles.mjs Add the [Claude Code] / [MiniMax Code] title prefix (superseded by the logo)
scripts/strip-prefixes.mjs Remove those prefixes from the logs
scripts/reappend-titles.mjs Append a fresh title event so the projection cache picks up a corrected title
locale/{en,th,zh}.json Plugin title and description
icon.svg Plugin icon
test/convert.test.mjs Conversion smoke test (no Harness required)
test/sources.test.mjs Project-folder inference tests

Run the tests with npm test (plain node --test, no Harness needed).

Limitations

  • The import is a snapshot of the text conversation. Tool calls, tool results, reasoning blocks, and attachments are
    not replayed, so a first run stays fast and the imported log stays readable.
  • An external session that receives more messages after it was imported is left at its imported revision; only new
    sessions are added by later runs. Deleting state.json and the imported DSH sessions re-imports afresh.
  • Imported logs are replay-validated with the persistence reader; the plugin exposes POST {action:"verify"} on
    its route for the same check.
  • A session whose recorded folder no longer exists is skipped and reported in the last-run issues instead of
    inventing a workspace path.
  • MiniMax Code must expose node:sqlite (DatabaseSync) to the Host; the plugin reports sqlite-unavailable
    instead of failing the whole run when it does not.

ภาษาไทย

Plugin นี้ ดึงบทสนทนาที่คุณเคยคุยใน Claude Code และ MiniMax Code เข้ามาใน DSH โดยจัดเก็บเข้า workspace
ที่ตรงกับโฟลเดอร์ที่ session นั้นทำงานอยู่ — และติดป้ายโลโก้กำกับว่ามาจากแอปไหน

แหล่งที่มา อ่านจาก
Claude Code ~/.claude/projects/*/*.jsonl (ข้าม sidechain, tool traffic และ ``)
MiniMax Code ~/.minimax/v2/sqlite/runtime-state.sqlite (เอาแถวข้อความ user/assistant เท่านั้น)
  • session ที่ import แล้วเป็น session ปกติของ DSH — เห็นใน sidebar, เปิดอ่านได้, archive/delete ได้ตามปกติ
  • import ซ้ำไม่ได้: state.json เก็บ map ของ session ภายนอก → id ของ session ใน DSH
  • โลโก้ในแถว: ⭐ ส้ม = Claude Code, M ม่วง = MiniMax Code, D น้ำเงิน = DSH
  • regroup ช่วยกรณี MiniMax เก็บ session ไว้ใน sandbox ของตัวเอง — มันอ่าน prompt หา path ที่เป็นโฟลเดอร์โปรเจกต์จริง
    แล้วย้ายไปเข้า workspace ของโฟลเดอร์นั้น (ปฏิเสธพาธเสี่ยง เช่น home dir, Windows, node_modules, .git)
  • sync อัตโนมัติหลังเปิดแอป ~3.5 วินาที แล้วทุก 15 นาที (ข้ามไฟล์ที่ไม่เปลี่ยน)
  • ข้อจำกัด: import เฉพาะข้อความ ไม่ดึง tool call / tool result / reasoning / ไฟล์แนบ, และ session ที่ถูก import ไปแล้ว
    จะไม่อัปเดตตามที่คุยต่อในแอปต้นทาง (ลบ state.json + session ที่ import แล้วเพื่อ import ใหม่)

ติดตั้ง: git clone แล้ว plugin_manager install_bundle target= ใน DSH รีสตาร์ทหนึ่งครั้ง

License

MIT © 2026 BornCode

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
dsh-session-sync 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:borncode-app/dsh-session-sync#v1.0.0` 即可。对应的 npm 包名是 `@local/dsh-session-sync`。

dsh-session-sync 的验证等级是什么意思?

L4 · 沙盒安装通过。安装命令在隔离沙盒内真实执行成功,无依赖错误

dsh-session-sync 安全吗?

低风险。静态扫描 低;动态审计无结论(以下以静态为准)→ 总评级 低。

dsh-session-sync 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-session-sync 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-session-sync 有哪些功能?

导入 Claude Code 会话、导入 MiniMax Code 会话、按项目文件夹归入工作区、会话行显示来源图标、自动定时增量同步。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

6 条
不同作者的仓库分开列,请确认你要装的是哪一个
模型与账号接入
按星标排序,可作替代方案

archify

archify

从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。

L4 · 沙盒安装通过 8.0 万 星

nocobase

nocobase

L3 · 安装规范通过 2.5 万 星

voyager

voyager

Enhancement suite for Gemini, AI Studio, Claude, ChatGPT & DeepSeek —

L3 · 安装规范通过 2.1 万 星

dsh-our-free-model

dsh-our-free-model

为 DeepSeek Harness 挂载免登录、免 API Key 的免费前沿模型通道,装完即用,并附用量看板与 OpenAI 兼容本地转

未标注验证等级 8,064 星

borncode-app 的其它插件

6 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 2026-11-13。