liangmianya/dsh-synapse
liangmianya/dsh-synapseDeepSeek Harness 的可视化非线性对话工作区:把会话、追问与分支变成可浏览、可拖拽的对话地图。
管理已归档与未归档会话,支持搜索、只读预览、标签备注、工作区归档、ZIP 备份、来源分支、手动残留会话检查和自动检查更新;保留旧回收记录恢复,停用自动清理。
Archive Management
Find past DSH chats, manage archives, and keep ZIP backups. dsh-archived-chats
English · 简体中文 Plugin market · npm · Releases · Discussions · Private security report
Archive Management adds conversation search, organization and backups to DeepSeek Harness. Find a past solution, preview its context, archive by workspace, or save a ZIP before deleting a chat.
This document describes 1.6.0. New recycle operations and automatic cleanup are retired; see upgrading for existing data.
Find dsh-archived-chats in the DSH plugin market, verify author Ultronen, and install. Follow the host's restart prompt, then open Settings → Archive Management (Chinese: 设置 → 归档管理).
Alternatively, use the CLI. web is an example profile; replace it with your running DSH profile and use the same profile for updates and removal:
dsh plugin --profile web add dsh-archived-chats@latestIf installation reports ERR_PNPM_ADDING_TO_ROOT, add -w after add. To update:
dsh plugin --profile web update dsh-archived-chatsPage · Purpose Archived · Search, filter, preview, tags and notes, import/export, unarchive and confirmed permanent deletion. Unarchived · Ordinary workspace and ungrouped chats, preview, individual/workspace/global archiving. Origins & Branches · Read-only sources, forks and subagents related to archived chats. About · Automatic update checks, host and local-checkout detection, copyable installation details, host-supported updates, and manual residual-chat checks. Recycle Bin, when records exist · Recover legacy records to Archived, export protection snapshots, or confirm permanent deletion; hidden when empty.
Content search starts at two characters and scans the selected scope in batches, showing progress, matches and failures; it supports Stop and Retry. Unarchived searches titles or session IDs. See the user guide for scope, long-log limits and detailed operations.
Archive organizes; Delete permanently removes. Archive and unarchive use official Host operations. Row deletion, selected deletion, workspace Delete all and global Delete all require confirmation. Workspace deletion never deletes project directories. Search and filters do not narrow workspace or global bulk actions.
Residual checks are manual maintenance. Open About → Maintenance → Check residual chats to inspect subagents with an explicit parent reference whose parent no longer exists. Preview or export first, then select and confirm permanent deletion; eligibility is rechecked at execution. Ungrouped chats, independent forks, ordinary unarchived chats and blank chats are excluded. Opening the page never scans or cleans automatically.
Format · Contents · Use Conversation backup ZIP · JSON, Markdown, tags, notes and attachment references; no attachment bytes or automatic descendant bundling. · Preview with Import backup, then restore; existing IDs are skipped. Legacy protection-snapshot ZIP · Legacy record, validated session payload and image attachments; 64 MiB per record. · Preserve legacy data; not accepted by the ordinary conversation importer.
Successful exports are validated against the same format and budgets as import before the download starts. This applies to ordinary conversation backups; protection snapshots use a separate format. A download-started notice does not confirm the file was saved; check browser downloads.
$DSH_HOME/plugin-data/archived-chats/, defaulting to ~/.dsh/. The plugin does not upload or cloud-sync chats.Version 1.6.0 disables new Move to Recycle Bin actions, removes Storage & Retention navigation, and stops automatic expiry and startup snapshot sweeping.
Removing navigation does not migrate or delete existing data. Legacy recycle records, snapshots and saved policies remain. Records keep the Recycle Bin visible; catalog read errors retain a retry view instead of being mistaken for an empty bin. Saved cleanup policies do not run, and incomplete permanent deletions require explicit retry.
Recovery prefers an intact original and returns it to Archived. Missing-original snapshot recovery depends on Host capabilities; unsupported or invalid recovery keeps the record and reports failure. Export a protection snapshot to preserve data first. Never treat manually deleting plugin data as emptying the Recycle Bin.
Installing an older release can restore its earlier cleanup rules. Before downgrading, keep a full data backup and check pending tasks and format compatibility.
The declared range is DSH >=0.1.0-rc.7; features still depend on Host capabilities. Native tests use pinned 0.1.7-rc.2 and 0.2.1-rc.2 backends; release CI covers macOS, Windows and Linux.
Archive, unarchive and inventory use official capabilities. Permanent deletion coordinates Host session lifecycle and storage locations rather than calling one unified public deletion API. ZIP import and legacy snapshot recovery also have different writer requirements. See compatibility and limits.
These 1.6.0 screenshots use synthetic example chats. The legacy Recycle Bin appears only when records exist; screenshots.json owns the order.
View screenshots
User guide · Architecture · Changelog · Support · Contributing
Use Discussions for questions and suggestions. Bug reports should include plugin and DSH versions, minimal reproduction steps and redacted errors. Report security issues privately. If this helped you find past work, consider giving the project a Star.
npm test
npm ci --prefix test/fixtures/native-host --ignore-scripts --include=optional
node scripts/run-native-integration.mjs
npm ci --prefix test/fixtures/native-host-0.2.1 --ignore-scripts --include=optional
node scripts/run-native-integration.mjs --fixture-root test/fixtures/native-host-0.2.1
npm pack --dry-run --jsonNative checks use isolated temporary data; all eight tests in each fixture must run without skips. Read the contribution guide in full before contributing.
dsh plugin --profile web remove dsh-archived-chatsRemoving the package preserves plugin data and does not permanently purge chats. See local data and uninstall.