Ln1m/dsh-archive-button ↗★ 1

dsh-archive-button

在侧栏提供会话一键打包归档按钮 适合需要清理和备份空闲会话的用户,需自备PowerShell脚本。

套件
dsh-archive-button
相容性
待驗證
Cordis 依賴範圍
^4.0.1
版本
0.1.0
授權
MIT
最近更新
2026年9月26日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ln1m/dsh-archive-button

dsh-archive-button

English · 中文

归档按钮与重启按钮(含两击确认态)界面示意

界面示意:按官方主题变量渲染的版式,非实机截图。

侧栏工作区标题行上的归档按钮(工作区标题行没挂载时回落到 footer 胶囊)。第一次点先空跑扫描,列出空闲超过 3 天的会话;第二次点把每个会话打包成逐字节校验的 zip,并删掉原目录。host 半端注册 /dsh-archive/* 路由并调归档脚本,client 半端只画按钮。模型不会触发它。

装

dsh plugin --profile web add file:

装完重启 web 实例。

环境变量

变量默认说明
DSH_ROOT~/DeepSeek_harnessDSH 安装根;归档脚本、归档目录、按钮日志都由它派生

前提

  • Windows PowerShell 5.1
  • \scripts\archive-dsh-sessions.ps1 需自备,本仓库不含该脚本