Skip to content

Releases: Nwflower/dsh-chat-import

dsh-chat-import 0.2.0

Choose a tag to compare

@Nwflower Nwflower released this 14 Aug 04:00

What's new in 0.2.0

Import Claude Code / Codex / ChatGPT / Cursor / Gemini / Reasonix / opencode conversations as resumable DSH sessions. This release adds two new sources, engineering guardrails, and P0 fixes that keep imported sessions resumable.

Added

  • Reasonix session import (import_reasonix) - v1/v2 tool_calls, meta-file cwd/title, filename-timestamp fallback
  • opencode session import (import_opencode) - SQLite session/message/part, compaction-aware, sessionIds/fullHistory
  • Clean lockfile regeneration + CI on npm ci with a lockfile-drift check
  • CHANGELOG (Keep a Changelog, shipped in the npm package)
  • Bilingual README structure sync check in CI
  • Headless real-load smoke job in CI (mock LLM verifies plugin activation)

Fixed (P0 - resumability)

  • Imported sessions stay resumable when a tool/call has no matching result - model APIs reject unmatched tool_calls, so a synthetic empty tool/result is appended
  • Imported message order follows the wire rules - tool/result attaches to the step owning its tool/call; Codex imports gain the missing tool-call block

Changed

  • Peer dependency relaxed to ^0.1.0-rc.6 (installs alongside newer DSH)
  • package.json metadata completed; engines pinned to >=22.13

Tested: 88 cases - DSH 0.1.0-rc.6 - npm package now at v0.2.0

v0.1.1

Choose a tag to compare

@Nwflower Nwflower released this 13 Aug 16:25

0.1.1 — 多源导入 + 发布面完善

新增(相对 0.1.0)

  • 六源导入:Claude Code / Codex / ChatGPT CLI / ChatGPT 网页导出 / Cursor / Gemini CLI(import_claude / import_codex / import_chatgpt / import_cursor / import_gemini),全保真(tool/call + tool/result、thinking、多步消息)
  • 双语 README(README.md EN + README.zh-CN.md)+ LOGO(assets/import.svg)
  • GitHub Actions CI(npm test + npm pack 发布面护栏)
  • prepublishOnly 发布护栏(测试 + 干净工作树 + 包内容检查)

修复

  • 0.1.0 包内容缺双语 README / LOGO(files 白名单补齐)

安装

dsh plugin --profile web add dsh-chat-import