Skip to content

Releases

v0.1.1 — 会话回收站

Choose a tag to compare

@DelayNooMore DelayNooMore released this 02 Oct 05:23

功能

  • 会话 "..." 菜单新增「移入回收站」(位于归档之后),删除不弹确认框,完成后弹出官方样式 Toast 提示(3 秒自动消失)
  • 设置页新增「回收站」分区(垃圾桶图标):恢复到原工作区、单个永久删除、清空回收站(带确认)、打开回收站文件夹
  • 删除/恢复后侧栏就地更新,无需刷新页面或重启
  • 正在运行的会话拒绝删除;删除时自动 unarchive/unpin/detach,恢复时自动 attach 回原工作区

安装

cd ~/.dsh/profiles/desktop
node ~/.dsh/dsh-runtimes/dsh-primary-runtime/dependencies/pnpm/bin/pnpm.cjs add github:DelayNooMore/dsh-plugin-session-trash

然后把 dsh-plugin-session-trash 加入 profile 的 dsh.profile.bundles,重启 DSH。

兼容性

DSH 0.2.0-rc.2(darwin arm64)实测。依赖 cordis 插件体系、workspaceRegistry/sessions 服务与 Typert remote,接口变化以降级行为兜底。