Saltar al contenido principal
W

dsh-workspace-move

w3170700600-lang/dsh-workspace-move

Move a conversation to another workspace from its sidebar menu while preserving its full history; workspace files stay in place. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Instalar

dsh plugin --profile web add github:w3170700600-lang/dsh-workspace-move

README

dsh-workspace-move

Move a DSH conversation to another workspace from the sidebar session menu while keeping its full history.

在侧栏会话的「⋯」菜单中增加「移动到工作区…」。选择一个已有工作区,或输入文件夹路径新建工作区,即可迁移会话。

Install / 安装

dsh plugin --profile web add https://github.com/w3170700600-lang/dsh-workspace-move/releases/latest/download/dsh-workspace-move.tgz

After installation, refresh the DSH window once so the sidebar menu item appears.

安装后刷新一次 DSH 界面,侧栏会话菜单就会出现「移动到工作区…」。

What it does / 功能

  • Moves the complete session log, title, timestamps and event history.

  • Moves only the session log and workspace membership; files in the old workspace stay where they are.

  • Lets you pick an existing workspace or type a folder path. A missing target folder is created.

  • Refuses a running session; an idle but loaded session is closed first and then moved.

  • Backs up the original session directory to %USERPROFILE%\.dsh\backups\workspace-move\ before each move.

  • 保留完整会话历史、标题、时间与事件记录。

  • 只迁移会话日志和工作区归属,不移动工作区里的文件。

  • 支持已有工作区或新文件夹路径;目标文件夹不存在时会自动创建。

  • 正在运行的会话会拒绝迁移;已加载但空闲的会话会先关闭再迁移。

  • 每次迁移前把原会话目录备份到 %USERPROFILE%\.dsh\backups\workspace-move\。

Limitations / 限制

  • Supports the current DSH session format v4.

  • Moving a session does not move project files or generated artifacts.

  • The target workspace directory must be readable and writable by DSH.

  • 支持当前 DSH 会话格式 v4。

  • 迁移会话不会迁移项目文件或生成的文件。

  • 目标工作区目录必须可读写。

Verification / 验证

The plugin has been exercised against a live DSH session with 7,093 log records: the title, record count and final sequence number were preserved after the move and the moved log was parsed back successfully.

已对一个含 7,093 条日志记录的 DSH 会话做过实际迁移验证:迁移后标题、记录数和最终序号均保留,移动后的日志可正常解析。

License

MIT

Plugins relacionados