鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

dsh-conversation-archive

在 Windows 上管理 DSH 已归档会话,支持搜索、批量取消归档与删除、AI 辅助文件保留,以及经过校验的本地或网络目录备份。

会话消息
访问 GitHub
文档README

DSH Workspace Manager

English · 简体中文

Native workspace governance for DeepSeek Harness (DSH), bringing archived-session management, pre-deletion protection for important outputs, and verifiable local backups into the Settings interface. The plugin keeps DSH as the source of truth for session state and uses strict path validation, content hashes, and fail-closed safeguards to reduce risk when cleaning up archived work.

Features

  • Native archive management: browse, search, and filter DSH-archived conversations, then restore or delete them individually or in batches. Archive state always comes from DSH rather than a parallel plugin index.
  • Protected output retention: before deletion, the configured DSH model reviews eligible workspace outputs. Selected files are copied into a shared, deduplicated library and verified by content hash, with restore, batch removal, and in-app reminders built in.
  • Verified local backups: create ZIP backups manually, on a schedule, or before a clean shutdown. Each backup carries a manifest and hashes, restores only into an empty destination, and never overwrites existing files. Automatic backup is off by default; five verified backups are retained by default.
  • Workspace and path safety: support DSH-registered workspaces across drives and independent project directories, backfill historical mappings from native metadata, and reject traversal through junctions or symbolic links.

Screenshots

Archived conversations and retained files

Local backup and plugin settings

Requirements

ComponentRequirement
Operating systemWindows 10 or 11
DSHTested with 0.1.1-rc.2 through 0.1.2-rc.1; other versions are not yet verified
PowerShell5.1 or later
Node.js20 or later; also meet your DSH installation's requirements
WorkspaceA readable and writable folder, not a drive or share root

Installation

From GitHub

▼
powershell
复制代码
dsh plugin --profile web add github:yxv1203-collab/dsh-conversation-archive#v1.1.0

Restart DSH, then open Settings → Workspace Manager.

From a release package

Download dsh-conversation-archive-1.1.0.tgz and its .sha256 file from GitHub Releases.

▼
powershell
复制代码
Get-FileHash .\dsh-conversation-archive-1.1.0.tgz -Algorithm SHA256 Get-Content .\dsh-conversation-archive-1.1.0.tgz.sha256

Confirm the hashes match. For an offline installation, first copy the package to the profile's durable dependency directory, then install that retained copy:

▼
powershell
复制代码
$profileDeps = Join-Path $env:DSH_HOME 'profiles\web\deps' New-Item -ItemType Directory -Force $profileDeps | Out-Null $profilePackage = Join-Path $profileDeps 'dsh-conversation-archive-1.1.0.tgz' Copy-Item .\dsh-conversation-archive-1.1.0.tgz $profilePackage dsh plugin --profile web add $profilePackage

Keep this retained .tgz for as long as the file-based installation remains in the profile. Deleting or moving it makes pnpm re-resolution fail during later plugin installs. Installing from the GitHub tag above avoids a disposable local-file dependency.

Deletion and data protection

Unarchiving and deleting are separate operations. Deletion checks session ownership and paths, scans eligible outputs, asks the configured DSH model to assess their content, and verifies retained copies before recycling session data. Candidate file content may be sent to the model provider configured in DSH.

Original project folders and source files are not deletion targets. Review, copy, integrity, or path-validation failures stop the protected deletion workflow. AI retention is selective and does not replace a full project backup.

On supported DSH versions, session data is recycled while its archive marker remains in place. The next clean startup removes workspace references and finalizes deletion, preventing the conversation from reappearing in the active list.

Workspaces and metadata

Metadata not registered means a native archived session has no valid plugin workspace mapping. Startup and archive synchronization backfill mappings from DSH session metadata. If the warning remains, check workspace access and session metadata; complete workspace-output protection and backups require a valid mapping.

Native session paths are independent of the shared storage root. The plugin can infer that root from a canonical daily workspace on first use and records it for subsequent starts. Existing mappings and retained files are not automatically relocated. Explicit harnessRoot, DCA_HARNESS_ROOT, or DSH_HARNESS_ROOT settings take precedence.

Restoring a retained file to its original location requires a recognized DSH workspace. Otherwise, select an alternate destination. Existing files are never overwritten, and paths that escape through junctions or symbolic links are rejected.

Backup scope

Backups cover registered DSH session data and retained files, not entire source repositories. Targets may be local folders or supported network paths. Old backups are recycled only after the newest backup passes verification. Network availability, permissions, and Recycle Bin support depend on the destination.

Cloud accounts are not connected directly. External sync software may synchronize a backup folder. Reminders appear inside DSH, not as Windows notifications.

Removal

▼
powershell
复制代码
dsh plugin --profile web remove dsh-conversation-archive

Restart DSH after removal. Retained files and backups are preserved.

Development

With a compatible DSH installation available locally:

▼
powershell
复制代码
npm test npm pack --dry-run --json npm pack

Tests cover archive synchronization, historical metadata backfill, cross-drive path rules, retention, backups, deletion recovery, and release integrity.

Support and license

Report issues through GitHub Issues or contact yxv1203@gmail.com. Include DSH and plugin versions, reproduction steps, and sanitized diagnostics.

Licensed under MIT.

会话消息

快捷安装

复制到终端去安装插件

dshplugin--profilewebaddgithub:yxv1203-collab/dsh-conversation-archive

温馨提示

装插件等于在本机跑第三方代码,权限与你相同,能读文件、用凭据、访问网络,工具审批管不到。请只装可信来源,并尽量锁定 commit。

站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
零感AI零感AI
墨得问题墨得问题
dsh 插件推荐
dsh-btw
提供 /btw 一次性上下文旁问,不执行工具;回答显示在可复制、折叠或关闭的独立气泡中,不写入主对话。
billion-context
billion-context官方版:上下文压缩插件,兼顾小窗口(100k上下文足矣)省token(省5倍token)和超长会话(数月级别几十亿token单会话)。
dsh-auto-continue
回答因达到单次输出 token 上限被截断时自动发送"继续"续写,无需手动操作;面向自部署 Ollama 等小输出上限场景。
dsh-branchmark#dsh-branchmark
Vibe Coding 时,如果突然想到另一个问题,或者看到一段以后还会用到的回答,可以先保存下来、在 Side Chat 里快速问清楚,或另开一个相关会话继续研究,不打断当前任务的开发思路和注意力。
dsh-zh-thinking
注入一条系统提示词段落,让 Agent 的思维链、规划与工具调用推理全程使用简体中文;零外部依赖,git clone 后可从任意本地目录 link 安装,无需 npm 构建或发布。