
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-plugin-session-import
Advanced tools
DeepSeek Harness 插件:导入 claude-code / codex / reasonix / zcode 的聊天记录为 dsh 会话(含工作区绑定)。
已收录于 awesome-dsh-plugin 精选列表(Sessions & Messages)· AdamPlatin123 自动雷达(✅ 运行级验证通过)
DeepSeek Harness(dsh)插件:把 claude-code / codex / reasonix / zcode 的历史聊天记录导入为 dsh 会话(含工作区绑定与工具能力),导入后可直接续聊。
.claude.json 权威映射)custom_tool_call 参数自动从 JS 代码转 JSON)db.sqlite 权威索引 + compaction 压缩摘要还原)/import <tool> <path>(文件或目录批量)方式一:官方命令(推荐)
# 装进 web profile(自动 reconcile dsh.profile.bundles)
dsh plugin --profile web add dsh-plugin-session-import
dsh web # 重启生效
方式二:商店一键安装
装 dsh-store,打开「插件商店」搜索安装。
方式三:手动
# 1. 安装插件包
npm i dsh-plugin-session-import
# 2. 在 profile 挂载(~/.dsh/profiles/web/cordis.patch.yml):
# - insert:
# - id: session-import
# name: 'dsh-plugin-session-import'
# 3. 重启 dsh web
dsh web
/import codex C:\Users\xxx\.codex\sessions(目录=批量)| 工具 | 会话目录 |
|---|---|
| claude-code | ~/.claude/projects/ + %LOCALAPPDATA%\Claude-3p\claude-code-sessions(新端) |
| codex | ~/.codex/sessions/ |
| reasonix | ~/.reasonix/sessions/(CLI)+ %APPDATA%\reasonix\projects\*\sessions(桌面版) |
| zcode | ~/.zcode/cli/db/db.sqlite(权威索引) |
| 能力 | 说明 |
|---|---|
| 工具调用链 | seed 中 assistant/message 承载 tool-call 块,tool/result 紧跟对应调用(含孤儿 result 丢弃、迟到 result 配对),满足 OpenAI/DeepSeek wire 规则 |
| zcode 压缩 | 识别 compaction 标记,摘要正文(summary.body)原样还原为上下文 |
| codex 参数 | custom_tool_call 的 JS 代码参数(tools.exec_command({...}))自动转成标准 JSON,避免模型学到错误调用格式 |
| 超长截断 | 文本 ≤16K 字符、工具结果 ≤40K 字符裁剪;消息按预算截断(保留开头锚点 + 压缩摘要 + 尾部);单条超预算一半直接丢弃 |
| 预算自适应 | 按默认模型真实窗口(contextWindow − maxTokens − 25% 余量)动态计算,DSH_IMPORT_CONTEXT_BUDGET 可覆盖 |
| cwd 修复 | claude 中文路径(.claude.json 权威映射)、reasonix slug 贪心解码——避免 workspace=主目录导致沙箱拒绝 |
.titles.json,缺失时回退文件名提取npm run build # esbuild 构建 lib/index.js + lib/client.js
node test-events.mjs # toSessionEvents 单元测试 21 项(工具配对/孤儿丢弃等)
node test-codex.mjs # codex 解析器 7 项(exec_command 参数转 JSON)
node test-reasonix.mjs # reasonix 解析器 5 项
node test-slug.mjs # slug 路径解码 4 项
npm pack # 打包验证
MIT
FAQs
DeepSeek Harness 插件:导入 claude-code / codex / reasonix / zcode 的聊天记录为 dsh 会话(含工作区绑定)。
The npm package dsh-plugin-session-import receives a total of 149 weekly downloads. As such, dsh-plugin-session-import popularity was classified as not popular.
We found that dsh-plugin-session-import demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.