DeepSHPlugins
dsh-archive-manager#plugin 项目预览
GITHUB / COMMUNITY PROJECT

dsh-archive-manager#plugin

UI 增强TypeScriptMIT

美化版归档管理设置页:按工作区分组展示归档会话,悬停即可取消归档,附相对时间显示。

1 StarsNeumannzc 更新时间 2026-09-04
访问 GitHub 仓库
dsh-archive-manager#plugin 项目预览

项目介绍

中文

美化版归档管理设置页:按工作区分组展示归档会话,悬停即可取消归档,附相对时间显示。

English

Beautified archive-manager settings section listing archived sessions grouped by workspace, with a hover unarchive action and relative timestamps.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
Neumannzc
仓库
Neumannzc/dsh-archive-manager#plugin
GitHub Stars
1
Forks
0
开发语言
TypeScript
许可证
MIT
最近推送
2026-09-04
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

56/ 100
维护活跃
96
文档与实用信息
100
生态关注度
9
安装便捷信号
100
项目声明信号
100

近 7 天仍在更新;README 含完整安装与使用说明;关注度尚低(1)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add @tangzai/dsh-ui-archive-manager

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

@tangzai/dsh-ui-archive-manager

A beautified archive manager settings section for DeepSeek Harness (dsh): a flat list of archived sessions grouped by workspace, each row with a hover unarchive button, folder-style group headers, and relative timestamps (中文/English).

The package is a dual-half plugin: the node half restores the unarchive capability on stock npm dsh (the official 0.1.0-rc.6 ships archiveSession but not unarchiveSession — it was briefly published upstream then rolled back), and the browser half renders the settings section. No core packages are modified.

How it works

  • Display: the section reads the framework's own feeds — useSessions (archived sessions stay in session.list) and useWorkspaces (WorkspaceListState.archivedSessionIds) — so no custom data plumbing is needed.
  • Unarchive action: the browser half POSTs to the plugin's own exact HTTP route on the official webServer carrier; the node half patches WorkspaceRegistry.unarchiveSession (idempotent — a future official release that adds the method wins) and applies the same durable, queue-serialized state update as the upstream implementation. The change then propagates to every client through the core archived-sessions-changed frame.

Features

  • 设置 → 归档管理 settings page (plugin-scoped id archives-beautified, distinct from any official archives id).
  • Archived sessions grouped by workspace, mirroring the sidebar grouping rules.
  • Beautified UI: flat session rows, folder group headers, relative timestamps (3min ago / 3分钟前), hover-only unarchive icon button.
  • Trust fence on the unarchive route: mirrors client-connection's isTrustedApiRequest — DNS-rebinding defense via a mandatory Host fence, cross-site refused, opaque Origin: null refused, LAN deployments add their bound authority to the trustedHosts list; plus an 8 KiB body-size cap with two-layer defense (Content-Length precheck + streaming byte count).

Install

Requires dsh >= 0.1.0-rc.6 (archived-session feeds and the webServer carrier exist there) and pnpm.

dsh plugin --profile web add @tangzai/dsh-ui-archive-manager

Then restart the dsh profile (the plugin row mounts at next boot). Open 设置 → 归档管理 to see archived sessions and unarchive them.

Note: if your profile also runs the official @deepseek-ai/dsh-client-ui-archive-manager row, both sections render. Prefer one of them (either remove the official row, or uninstall this package).

Compatibility

dsh versionstatus
>= 0.1.0-rc.6 (npm)supported — unarchive provided by this plugin's node half
< 0.1.0-rc.6not supported (no archived-session feeds / webServer carrier)

Development

pnpm install
pnpm run build     # tsc node half + client type declarations + tsdown client bundle
pnpm run typecheck # tsc on node half, client half, and tests
pnpm run test      # vitest: derive / relativeTime / locale completeness

Publish (maintainers)

pnpm publish --access public

The package declares dsh.bundle.patch, so dsh plugin add automatically joins it to the profile's bundle layers and mounts cordis.patch.yml (row id ui-archive-manager-beautified).

License

MIT — see LICENSE. Derived from deepseek-ai/deepseek-harness (MIT, © DeepSeek).

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目