Skip to content

Releases: Cans518/dsh-chat-prune

dsh-chat-prune v0.6.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 01:36

安装

dsh plugin --profile desktop add https://github.com/Cans518/dsh-chat-prune/releases/download/v0.6.0/dsh-chat-prune-0.6.0.tgz
# 或直接从仓库装
dsh plugin --profile desktop add github:Cans518/dsh-chat-prune

校验

3c00e93bfa7551000ec25039e584826e6e5a8d1ba83a6054e3aeb04977cb259a  dsh-chat-prune-0.6.0.tgz

安装后重新打开 DSH。插件商店按 GitHub topic dsh-plugin 收录,通常 24 小时内出现。

Full Changelog: v0.5.0...v0.6.0

dsh-chat-prune v0.5.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 20:43

安装

dsh plugin --profile desktop add https://github.com/Cans518/dsh-chat-prune/releases/download/v0.5.0/dsh-chat-prune-0.5.0.tgz
# 或直接从仓库装
dsh plugin --profile desktop add github:Cans518/dsh-chat-prune

校验

8fb3d556a033a763566b970fa26b88dec0b6e657412b1d23bfd7a891e63d273f  dsh-chat-prune-0.5.0.tgz

安装后重新打开 DSH。插件商店按 GitHub topic dsh-plugin 收录,通常 24 小时内出现。

Full Changelog: v0.4.5...v0.5.0

dsh-chat-prune v0.4.5

Choose a tag to compare

@github-actions github-actions released this 18 Oct 19:01

安装

dsh plugin --profile desktop add https://github.com/Cans518/dsh-chat-prune/releases/download/v0.4.5/dsh-chat-prune-0.4.5.tgz
# 或直接从仓库装
dsh plugin --profile desktop add github:Cans518/dsh-chat-prune

校验

2c9849b041e52a9941a1499ce91a080140a001510554bdc8171d11f5bd02d98c  dsh-chat-prune-0.4.5.tgz

安装后重新打开 DSH。插件商店按 GitHub topic dsh-plugin 收录,通常 24 小时内出现。

Full Changelog: v0.4.4...v0.4.5

dsh-chat-prune v0.4.4

Choose a tag to compare

@github-actions github-actions released this 18 Oct 07:42

安装

dsh plugin --profile desktop add https://github.com/Cans518/dsh-chat-prune/releases/download/v0.4.4/dsh-chat-prune-0.4.4.tgz
# 或直接从仓库装
dsh plugin --profile desktop add github:Cans518/dsh-chat-prune

校验

e6fe3e95dd2648d254dc398869f5103f97938848af6a7b397c5a8d6431d44bc5  dsh-chat-prune-0.4.4.tgz

安装后重新打开 DSH。插件商店按 GitHub topic dsh-plugin 收录,通常 24 小时内出现。

dsh-chat-prune v0.4.3

Choose a tag to compare

@github-actions github-actions released this 18 Oct 06:28

安装

dsh plugin --profile desktop add https://github.com/Cans518/dsh-chat-prune/releases/download/v0.4.3/dsh-chat-prune-0.4.3.tgz
# 或直接从仓库装
dsh plugin --profile desktop add github:Cans518/dsh-chat-prune

校验

8b710ba1f3a1285a23e988654f778a1a6bd5f467cf0844081d5c4279ce3dc7d5  dsh-chat-prune-0.4.3.tgz

安装后重新打开 DSH。插件商店按 GitHub topic dsh-plugin 收录,通常 24 小时内出现。

DSH Chat Prune v0.4.2 · 修复 GitHub 直装

Choose a tag to compare

@Cans518 Cans518 released this 18 Oct 06:20

会话管理插件:删除、筛选、批量归档/置顶、保留规则修剪。

本版修复

  • 移除 prepare。pnpm 11 会拒绝执行构建脚本的 git 依赖
    (ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED),导致
    dsh plugin add github:Cans518/dsh-chat-prune 直接失败。
    构建产物 client.js 本来就已提交,安装期不需要再构建。
  • 新增 test/client-fresh.mjs:校验提交的 client.js 与源码同步,
    防止 GitHub 直装拿到旧产物。

安装(两种方式都实测通过)

# 发布包
dsh plugin --profile desktop add https://github.com/Cans518/dsh-chat-prune/releases/download/v0.4.2/dsh-chat-prune-0.4.2.tgz

# 或直接从仓库装
dsh plugin --profile desktop add github:Cans518/dsh-chat-prune

校验

697a746afe2b84d940e52db0d47cd682250091fb8276aa7a0c408d06351558d5  dsh-chat-prune-0.4.2.tgz

DSH Chat Prune v0.4.1 · 商店元数据

Choose a tag to compare

@Cans518 Cans518 released this 18 Oct 06:17

会话管理插件:删除、筛选、批量归档/置顶、保留规则修剪。

本版变更

  • 补 engines.dsh(插件商店的兼容性缓存读这个字段)与 icon
  • 新增 prepare:GitHub 直装时自动重建 client,避免产物过期
  • publish/ 记录了两个商店的实测收录规则与自查工具

安装

dsh plugin --profile desktop add https://github.com/Cans518/dsh-chat-prune/releases/download/v0.4.1/dsh-chat-prune-0.4.1.tgz

校验

2afa87d06f9764a1a5bd44ac8534db0b17e7e4fc9f6145a5ec67f8ffedd71581  dsh-chat-prune-0.4.1.tgz

DSH Chat Prune v0.4.0 · 对话管理与保留规则

Choose a tag to compare

@Cans518 Cans518 released this 17 Oct 21:38

DSH Chat Prune 现在支持按保留规则修剪旧会话,以及批量整理。

  • 筛选:工作区、归档/置顶/加载/缺失状态、更新时间、记录大小,并支持稳定排序与每页 50 条。
  • 管理:跨页选择、选择全部筛选结果、批量归档/取消归档/置顶/取消置顶,使用宿主公开持久化接口。
  • 修剪:每个工作区保留最近 N 条,仅选择早于指定天数的记录;排除置顶、已加载、缺失和未知时间。预览前重新计算,不自动执行。
  • 批量删除:默认勾选备份,核对完整目标清单,执行前及备份后校验文件清单指纹和保护状态。
  • 执行反馈:成功、明确失败、结果未知和未执行分别列出,可停止后续任务。超时、连接中断或无效响应会停止整批后续请求。
  • 兼容:保持 DSH 主题同步与原生侧栏按钮;旧宿主未声明管理协议时禁用新版批量操作,提示重启。

验证:173 项测试通过,涵盖规则、Chromium、真实 DSH Host 与真实 CLI 安装。额外复核了非法操作参数。所有删除测试使用隔离数据,用户现有安装需正常退出并重开以激活更新。

安装或从 0.3.0 更新(先正常退出 DSH):

dsh plugin --profile desktop add https://github.com/Cans518/dsh-chat-prune/releases/download/v0.4.0/dsh-chat-prune-0.4.0.tgz

从本项目 0.2.x 迁移时先另存配置值,并执行 dsh plugin --profile desktop remove dsh-delete-chat,再安装新版。备份恢复仍为离线手动操作,归档会取消置顶。显示的记录大小不等同于实际释放空间。使用流程、兼容边界和回退说明见 README 与 AUDIT。

SHA256:cd94a5a75c3b820446b8f27f421b43a7bbc3af117b446748455d1c05644296da

DSH Chat Prune v0.3.0

Choose a tag to compare

@Cans518 Cans518 released this 17 Oct 20:13

项目正式更名为 DSH Chat Prune,包名与插件标识统一为 dsh-chat-prune。GitHub 仓库保留原有提交和发布历史。

  • 同步更新宿主路由、客户端模块、配置标识、README 与图标标题。
  • 保留原生侧栏删除按钮、删除后列表同步和跟随 DSH 主题的弹窗。
  • 新增旧版移除后安装新版的 CLI 迁移验收;既有备份文件保持原样。
  • 源码、浏览器、真实 DSH Host 与 CLI 集成验证:146 项通过、0 失败。测试使用隔离 profile,用户现有安装未自动迁移。

安装(使用桌面版自带的 DSH 命令,先正常退出应用):

dsh plugin --profile desktop add https://github.com/Cans518/dsh-chat-prune/releases/download/v0.3.0/dsh-chat-prune-0.3.0.tgz

从本项目 0.2.x 升级:先另存旧插件配置中的设置,再执行 dsh plugin --profile desktop remove dsh-delete-chat,随后安装新版。只迁移 backup、allowRunning、icon 的值,不要用旧版配置文件覆盖新文件。请勿同时启用新旧两版。

这是 GitHub Release 安装包;npm 上的旧名称属于其他作者。离线安装及配置说明见 README。

SHA256:c8b3974a9e0968011dfa54d44d9f74a4795fead263579ad916ef0399029d7103

v0.2.3 · DSH 命令安装与主题适配

Choose a tag to compare

@Cans518 Cans518 released this 17 Oct 19:57

预构建安装包,支持通过 DSH 命令安装并自动启用。

安装

先正常退出 DSH NEXT,再使用桌面版自带的命令:

dsh plugin --profile desktop add https://github.com/Cans518/dsh-delete-chat/releases/download/v0.2.3/dsh-delete-chat-0.2.3.tgz

安装完成后重新打开 DSH。无需克隆源码、编译或手动编辑 profile。

也可下载下方 .tgz 后,把命令末尾的地址换成本地文件路径。SHA256SUMS.txt 提供安装包校验值。

功能

  • 侧栏删除按钮与可搜索的“管理对话”窗口。
  • 删除确认、可选备份和已加载会话保护。
  • 删除后同步更新宿主名单。
  • 弹窗、按钮及提示跟随当前 DSH 主题。

当前在线删除支持 Windows。默认不备份,删除前请核对确认窗口中的设置。

验证

160 项检查通过,包括真实 DSH CLI 安装、自动启用、Host 启动与卸载验收。安装测试使用独立 profile,不修改已有用户会话。