DeepSeek Harness plugin

dsh-archived-sessions-zalpha26

归档会话管理:在设置页查看、恢复、彻底删除已归档的会话(dsh-archived-sessions)。

Jump to install

Source facts

Repository
Zalpha263/dsh-archived-sessions
Latest update
Aug 20, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/Zalpha263/dsh-archived-sessions
Plugin: dsh-archived-sessions-zalpha26
Author: Zalpha263

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-archived-sessions

归档会话管理 —— DSH 永久插件。

设置 → 归档会话 页面管理已归档的会话:

  • 查看:列表秒开(零日志解析),显示标题、来源工作区、最后活跃时间(绝对时间戳)、消息数(后台统计,按日志 revision 缓存)
  • 恢复:移除归档记录,会话回到原工作区原位,侧边栏自动刷新
  • 删除:彻底删除(日志目录 + 工作区归属 + 归档记录三处清理),带子会话拦截、标题输入确认、删除后持久化验证

已知限制

位于内存中(本次运行打开过)的会话无法删除:删除文件后其持久化写入链会重新写回日志导致会话复活。界面会明确标记"无法删除 · 位于内存中",重启 DSH 后即可删除。

架构

  • lib/index.js — Host 半:archivedSessions Typert Remote 服务(list / preview / restore / deleteSession)
  • lib/client.js — Client 半:web 模块加载器格式,注册 settings.section 入口
  • cordis.patch.yml — bundle 层注册行(id: archived-sessions

安装(官方 dsh plugin 流程,见 DSH-插件安装注意事项.md v3)

开发态(当前采用)

dsh plugin --profile web add file:D:/DeepseekPlugin/dsh-archived-sessions
  • pnpm(nodeLinker: hoisted)会在 profile 的 node_modules 里生成真实副本(必须用 file: 前缀;裸路径会被记为 link: 生成 junction,启动时报 ERR_MODULE_NOT_FOUND
  • 注册行由包内 cordis.patch.yml 提供,bundles 列表由官方 CLI 自动对账
  • 改代码后:pnpm 的 install/update 不会刷新 file: 副本(实测 "Already up to date"),需 remove + add 强制重新打包,然后:Host 改动重启 DSH,仅 Client 改动 Ctrl+F5 硬刷新:

``powershell dsh plugin --profile web remove dsh-archived-sessions dsh plugin --profile web add file:D:/DeepseekPlugin/dsh-archived-sessions ``

发布态(推送到 GitHub 后切换)

dsh plugin --profile web add github:Zalpha263/dsh-archived-sessions#<完整40位commit>

验证(真实锚点)

cd $env:USERPROFILE\.dsh\profiles\web
node --input-type=module -e "const m = await import('dsh-archived-sessions'); console.log(typeof m.apply)"
# 输出 function 即成功
(Invoke-WebRequest http://127.0.0.1:3080/).Content -match 'dsh-archived-sessions'   # 重启后:manifest 含包名