全部插件

DSH / BUNDLE / CLIENT-UI

dsh-archive-manager

v0.1.0zimixvx / dsh-archive-manager7a8d968a1c

外部 Git 组合包组合包UI 与客户端插件社区 · Topic 自动分析Web UI
在 GitHub 打开
运行时构成
HOSTCLIENTUITOOLDATAFLOW

概览

dsh-archive-manager

A minimal DeepSeek Harness Web plugin that lists archived sessions and permanently deletes an archived session directory after explicit confirmation.

社区 · Topic 自动分析 — 通过 GitHub dsh-plugin Topic 自动发现。静态检查在不执行第三方代码的前提下,验证了固定公开版本的根目录 bundle 契约与已提交文件;这不等于人工审核、安全审计、运行时冒烟测试、发布者身份验证或官方背书。

安装

从 GitHub 安装此组合包

CLI 会验证组合包、调用原生 DSH 安装,成功后才上报完成。

npx dshpub add zimixvx/dsh-archive-manager --ref 7a8d968a1c76fe2a373a3690fb7cbf6c36cf533d

能力

它贡献了什么

HostCordis loadable未核对
Client / UIWeb UI未核对
Model tools未核对未核对
Profile stateconditional未核对

README / ZH

插件文档

A minimal out-of-tree DeepSeek Harness Web Cordis plugin that permanently deletes the on-disk session directory of an archived session from the sidebar.

LIMITATIONS

已知限制

- **Only archived sessions.** The route refuses any id not present in `workspaceRegistry.archivedSessionIds`. - **Live sessions are refused** — checked before the persistence lookup and again immediately before the `rm`, with HTTP `409`. - **Raw-artifact backend required.** The persistence backend must advertise `supportsRawArtifacts === true` and a `locate()` returning `{ kind: 'jsonl', path }`. Otherwise the route answers `501`. - **Deletes the session directory only.** `rm(dirname(location.path), { recursive: true, force: false })` removes the directory that holds the session's JSONL log (and any session-local files inside it). It does **not** modify the workspace registry, the archived markers, the projection cache, or content-addressed attachments (which live in a separate shared store and are shared across sessions). - **Stale archived markers.** After a successful delete, the archived marker in `archivedSessionIds` remains by design (removing it would mutate the registry). Because the panel only lists archived ids that still have a session summary, and the physical deletion removes that summary, the leftover marker does not reappear after a page reload. A local deleted-id set also hides the row immediately even if the follow-up refresh fails. - **Not reversible.** The deletion is a recursive `rm` with `force: false`. There is no trash or restore path.