DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-porter

S

dsh-porter

Discovered

DSH session data ops: cross-root migrate (cwd convert), inspect, repair, format convert. Zero dsh dependency.

dsh-porter

npm version license node

DSH 会话数据运维 CLI:跨根迁移(含 workspace 归属同步)、体检、修复、格式转换。零 dsh 依赖。

DSH 会话文件不能直接复制迁移(cwd 路径编码写在数据里、格式严格、归属状态分离)——dsh-porter 处理这些。详见 docs/format.md。

Install

npm install -g dsh-porter

Requires Node >= 20.11.

Quick Start

# 体检数据根
dsh-porter inspect ~/.dsh

# 迁移预览 → 执行(Windows 根 → WSL 根)
dsh-porter migrate /mnt/c/Users/1/.dsh ~/.dsh --direction to-wsl --dry-run
dsh-porter migrate /mnt/c/Users/1/.dsh ~/.dsh --direction to-wsl

Commands

CommandDescription
`migrate --direction to-wslto-win
`inspect <sessionroot>`
`convert --format zstdplain`
repair <file>修复损坏会话(torn 截断/污染隔离)
archive <src> <dst>归档:迁移 + 两阶段删源

所有命令支持 --json 与语义化退出码(0 成功 / 1 部分失败 / 2 用法 / 3 环境)。

Research

  • docs/format.md — DSH 会话格式研究(帧结构 / header schema / 兼容约束;生态内首份公开文档)

Test

npm test

License

MIT

Comments

Loading…

Similar plugins

dsh-session-migrate

Cross-version session migration for DSH: sweeps legacy session stores (v0 plaintext, .zstd and .zip exports), re-pins the header cwd to the target workspace and drops sessions in so the persistence la

Sessions & MessagesManifest valid

★ 0

dsh plugin --profile web add dsh-session-migrate

by zzdhsxk

Repairs legacy DSH session logs that the current build refuses to migrate, recovering missing tool-call ids and names from the log itself and verifying each repair against the real v0 to v3 migration

Sessions & MessagesManifest valid

★ 1

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-session-migration-repair

Cross-session reference (mention) plugin — paste @[label](dsh-session:…) into any session, including one in another workspace, and the host injects the referenced session snapshot for the model to rea

Sessions & MessagesManifest valid

★ 0

dsh plugin --profile web add dsh-session-ref

by cnkids

DSH 宿主插件:把游离(未分组)会话按 cwd 归位到匹配的工作区 —— 只改工作区归属记录,不碰会话文件;支持拖拽与 /reattach 命令(默认 dry-run)| DSH host plugin: re-attach ungrouped sessions to their matching workspace by cwd — ownership bookkeeping only, ne

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 14, 2026

dsh plugin --profile web add dsh-session-reattach

by Equinox7379

Session log repair tool for DSH: scans zstd session logs for unknown event types and marks them ignorable with a compliant frame rewrite (backup included). Read-only scan by default.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-session-repair

by MST19711

Upload arbitrary files into a DSH session workspace (uploads/<sessionId>/) and let the agent deliver result files as clickable download cards in the conversation.

Manifest valid

★ 0

MIT

JavaScript

Sep 13, 2026

dsh plugin --profile web add @deepseek-ai/dsh-session-files