Skip to content

dsh-chat-import 0.2.0

Choose a tag to compare

@Nwflower Nwflower released this 14 Aug 04:00
· 90 commits to main since this release

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