DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@starpivot/dsh-session-import

Session Import

将 Cursor、Codex 和 Claude Code 的会话与技能导入 DeepSeek Harness

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

npx -y @deepseek-ai/dsh plugin --profile web add @starpivot/dsh-session-import@0.1.15
README兼容性版本

兼容性与来源证明

Session Import 以 @starpivot/dsh-session-import 发布,当前版本为 0.1.15。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/11/4

版本

0.1.15stable
2026/8/18
0.1.14stable
2026/8/18
0.1.13stable
2026/8/18
查看其余 13 个版本收起版本
0.1.12stable
2026/8/18
0.1.11stable
2026/8/18
0.1.10stable
2026/8/18
0.1.9stable
2026/8/18
0.1.8stable
2026/8/18
0.1.7stable
2026/8/18
0.1.6stable
2026/8/18
0.1.5stable
2026/8/18
0.1.4stable
2026/8/18
0.1.3stable
2026/8/18
0.1.2stable
2026/8/17
0.1.1stable
2026/8/17
0.1.0stable
2026/8/17

相关插件

正在加载相关插件…

最新版
0.1.15
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
137.4 kB
文件数
6
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
48
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Better Sidebardsh-better-sidebarBetter Sidebar for DSH — 在一列中提供文件树、编辑器、变更、任务和侧边聊天,并为每个对话单独显示。同时提供服务,供其他插件注册侧边栏标签页和文件查看器。Client Ui Git Graph@linxin666/dsh-client-ui-git-graph外部 dsh Web GUI 插件:空会话 Git 分支选择器和 Git 图,包含实际的主机端 Git 操作与防护,作为 dsh 配置文件包Ssh@linxin666/dsh-sshdsh Web GUI 的远程 SSH 操作:主机配置存储(~/.dsh/dsh-ssh.json,可从 ~/.ssh/config 导入)、支持跳板主机的持久化 ssh2 连接池、exec / PTY Web 终端 / SFTP 传输 / 本地端口转发隧道 / 集群执行Update@linxin666/dsh-update用于 dsh Web GUI 的自更新插件:探测 npm 上是否有更新的系列版本,并在原地运行所属配置的 pnpm 更新;可通过设置图标旁侧边栏中的触发器启动,并显示发布说明面板

README

@starpivot/dsh-session-import

Import Cursor, Codex, and Claude Code conversations and skills into DeepSeek Harness. This package lives at packages/session-import in dsh-plugins-public.

Install

From a machine that already has dsh:

dsh plugin --profile web add @starpivot/dsh-session-import
# or, from git:
dsh plugin --profile web add github:StarPivotNet/dsh-plugins-public#path:packages/session-import
# restart dsh web

What it does

After restart, Settings gains 导入 / Import:

  • 会话 — scan the local Claude Code, Codex, Cursor, Grok Build, and ZCode homes, then write selected conversations as cold DSH sessions
  • 技能 — copy Claude / Codex / Cursor SKILL.md bundles and Markdown commands into ~/.dsh/skills
  • 记忆 — copy ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, and Codex MEMORY.md into ~/.dsh/imported-memory, and merge the instruction files into ~/.dsh/AGENTS.md
  • 自动化 — map Codex ~/.codex/automations/*/automation.toml RRULEs onto DSH timers. Daily/weekly local clocks and intervals of at least 5 minutes are created; faster heartbeats are listed as unsupported

Imported conversations keep user text, assistant text, reasoning, and tool-call / tool-result pairs. They stay under the foreign working directory; if that directory is not a DSH workspace yet, one is created and the session is attached there. Pass --here to rewrite them into the current workspace instead. Titles come from the native thread name or the first human prompt, not from model nicknames. Re-importing the same native id is counted as already present, then re-attached to the correct workspace.

Slash commands:

  • /import — usage
  • /import list [claude|codex|cursor|grok|zcode] — discover local conversations
  • /import all — import every discovered conversation
  • /import claude|codex|cursor|grok|zcode [id-or-path] — import one store, or one match
  • /import skills [claude|codex|cursor] — copy skills into ~/.dsh/skills
  • /import memory — copy Claude/Codex instruction and memory files
  • /import automations — create DSH timers from Codex automations
  • /import repair — move leftover imports back to their original project workspaces

Where it reads

SourceConversationsSkills
Claude Code~/.claude/projects/**/*.jsonl, ~/.claude/sessions/**/*.jsonl~/.claude/skills, ~/.claude/commands
Codex~/.codex/sessions/**/rollout-*.jsonl, ~/.codex/archived_sessions~/.codex/skills
Cursor~/.cursor/projects, ~/.cursor/chats, Cursor workspaceStorage composer / transcript JSON~/.cursor/skills, ~/.cursor/commands
Grok Build~/.grok/sessions/<cwd>/<id>/updates.jsonlbundled skills stay in Grok
ZCode~/.zcode/cli/db/db.sqlite sessions, ~/.zcode/v2/sessions/**/*.jsonZCode skills stay in ZCode

The Settings page lists the newest 300 conversations and only reads the first 64 KiB of each file for title and cwd. It scans Claude, Codex, and Cursor one store at a time so the first matches appear before the slower stores finish. /import list does the same walk and prints the newest 40. Codex archived_sessions is skipped unless you pass --archived. Filter by title or path to reach older conversations; /import all still imports every discovered active-store file that fits maxFileBytes.

A file path that is not under those homes can still be imported with /import /absolute/path.jsonl from the Host command, or from the Settings page when you pass that path through the RPC importSessions call.

Conversion

Each foreign conversation becomes one DSH session id import-<source>-<native-id>. The seed is a balanced turn/step log:

  • human prompts become user/message
  • Codex # AGENTS.md dumps become plugin instruction context
  • assistant text and thinking become assistant/message
  • Claude tool_use, Codex function_call / custom_tool_call, and Cursor tool bubbles become tool/call plus tool/result
  • a missing tool result is closed with a synthetic error so the seed stays balanced
  • an existing native title, or the first human prompt, is written as session/title

Images, attachments, and Cursor's proprietary blobs are dropped. Tool output longer than 32 KiB characters is truncated. Files larger than 32 MiB are skipped during discovery.

Re-importing the same native id is a no-op.

Config

On the session-import Host row:

FieldDefaultMeaning
maxFileBytes33554432Discovery skips larger conversation files
maxToolResultChars32000Truncate imported tool output
maxTextChars200000Truncate imported message text
skillTarget~/.dsh/skillsDestination for copied skills

Develop

From the repository root:

pnpm install
pnpm --filter @starpivot/dsh-session-import test
pnpm --filter @starpivot/dsh-session-import run build