DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Session Import — DeepSeek Harness 插件(DSH Plugin)
← 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/9/20

版本

0.1.15stable
2026/8/18
0.1.14stable
2026/8/18
0.1.13stable
2026/8/18

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
查看其余 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

相关插件

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

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序
最新版
0.1.15
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
137.4 kB
文件数
6
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
37
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录