AI Agent Hub
Back to plugins
dsh-one-click-archive preview

dsh-one-click-archive

Memory Updated 2026.08.22

Run the following command in DeepSeek Harness:

dsh plugin install sujiu222/dsh-one-click-archive

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install sujiu222/dsh-one-click-archive in your terminal, then restart the DSH Web instance and refresh your browser; the plugin repository is https://github.com/sujiu222/dsh-one-click-archive.

About this plugin

As conversation history in DSH Web GUI keeps growing, manually archiving old sessions becomes tedious and error-prone. dsh-one-click-archive turns the workflow into two steps: pick an age threshold (from 1 hour up to 10 years), preview the exact candidate count and a sample, then confirm to archive. Everything runs through DSH's official workspaceRegistry.archiveSession() API, so no logs are deleted, no workspace accounting is touched, and every session remains fully restorable.

Multiple safeguards keep the process forgiving. Running, recently active, and already-archived sessions are automatically skipped. The candidate list is recalculated right before archiving, so a stale preview can never cause a surprise. All API routes are loopback-only, a confirmation dialog appears before any mutation, and the UI ships in both English and Simplified Chinese. You can also toggle whether blank sessions are included in the filter.

Ideal for long-term DSH users who have accumulated many experimental or exploratory conversations and want a periodic, low-risk way to tidy them up. No code changes needed-install, open Settings, and you are ready to go.

Screenshots

Use Cases

  • Periodically tidying up a large backlog of outdated exploratory conversations in DSH
  • Bulk-archiving session records after a project wraps up while keeping logs restorable
  • Quickly filtering old conversations by an age threshold, previewing candidates, then archiving with one click to avoid mistakes

Best For

  • DSH users who accumulate large volumes of conversations and need periodic cleanup
  • Developers who prefer safe, reversible operations and never want to lose logs
  • Researchers who want an efficient bilingual interface for managing their sessions