DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Session Sweeper — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-session-sweeper

Session Sweeper

会话清道夫(Session Sweeper):在 DSH Web 界面扫描、查看并安全清理本机 AI 终端会话历史(Claude Code / Codex CLI / WorkBuddy / DSH),隔离优先、带 SHA-256 清单与一键恢复。Scan, view, and safely clean AI terminal session histories from the DSH Web UI.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-session-sweeper@1.0.10
READMECompatibilityVersions
4 preview3 settings

Compatibility and provenance

Session Sweeper is published as dsh-session-sweeper and currently resolves to version 1.0.10. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
9/8/2026

Versions

1.0.10stable
9/4/2026

Related plugins

Loading related plugins…

Latest
1.0.10
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
9/8/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in memory-context.

Memory Plugin@openviking/dsh-memory-pluginOpenViking memory and context bundle for DeepSeek HarnessWeknora@wxg-prc-cpg/dsh-weknoraWeKnora knowledge retrieval tools for DeepSeek Harness (dsh): semantic search, document reading and RAG/agent answers over your own knowledge bases.Memsearch Dsh@zilliz/memsearch-dshMemSearch plugin for DeepSeek Harness: shared markdown memory across agents, with capture, pre-step context injection, memory-recall skill, and a skill-candidate review panel.Reme@agentscope-ai/remeReMe client and memory integrations for TypeScript agents

README

dsh-session-sweeper — 会话清道夫 (Session Sweeper)

中文说明

Scan, view, and safely clean local AI terminal session histories — Claude Code, Codex CLI, WorkBuddy, and DSH itself — from a dedicated card in the DSH Web UI (Settings → 会话清道夫 / Session Sweeper).

Screenshots

Session listMessage preview
View imageView image
Recycle binSettings
View imageView image

What it does

  • Scan every supported source under your home directory and list sessions with title, project, message count, size, and last-active time.
  • View session contents (user/assistant messages, tool calls) in a paged preview — including DSH logs stored as concatenated zstd frames.
  • Clean selected sessions. The default action is quarantine: the whole artifact (file, or session directory for DSH) is moved into a recycle directory with a manifest recording the original path and a SHA-256 per file. One click restores a batch byte-for-byte.
  • Hard delete is available but requires typing the confirmation phrase DELETE; it leaves an audit tombstone only.

Data safety model

GuardBehavior
Quarantine-firstDefault clean moves artifacts to ~/.hist-sweeper/recycle/<batchId>/ — always restorable
Active guardSessions modified within guardHours (default 24) are skipped unless you explicitly include them
Current sessionThe session served by the running DSH process is never cleanable
Lock detectionFiles that cannot be opened are skipped without aborting the batch
Audit logEvery operation is appended to ~/.hist-sweeper/recycle/log.jsonl and shown in the Recycle tab
ScopeTouches nothing besides session artifacts — never configs, credentials, memory, or todos

Install

From a packed tarball (no build scripts, lib/ is prebuilt and committed):

dsh plugin --profile web add ./dsh-session-sweeper-1.0.0.tgz

From git (lib/ is committed, so no prepare build permission is needed):

dsh plugin --profile web add github:HrxSpace/dsh-session-sweeper

Restart dsh web afterwards and open Settings → Session Sweeper.

Configuration

Both options can be overridden on the plugin row in your profile's cordis.patch.yml:

OptionDefaultMeaning
guardHours24Active-guard window in hours
recycleDir~/.hist-sweeper/recycleQuarantine destination

Test hooks (not for daily use): DSH_SWEEPER_HOME / DSH_SWEEPER_RECYCLE redirect the scanned home and recycle root — used by the test suite to run against synthetic trees.

Uninstall

dsh plugin --profile web remove dsh-session-sweeper

The recycle directory and audit log survive uninstalling (they are your recovery path); delete ~/.hist-sweeper manually once you no longer need them.

Permissions & network

  • Reads: ~/.claude/projects/**, ~/.codex/sessions/** (incl. archived_sessions), ~/.workbuddy/projects/**, ~/.dsh/sessions/**
  • Writes: only the recycle directory
  • Serves a same-origin-only JSON API (/sweeper/api/*) on the DSH web server; cross-origin requests are rejected
  • No network access, no lifecycle scripts, zero runtime dependencies beyond node builtins (react is provided by the DSH client runtime)

Development

# build (any tsdown ≥0.22 works; lib/ output is committed)
npx tsdown

# tests (node:test + tsx, zero package installs)
node --import tsx/esm --test tests/sweeper.test.ts

# dev instance with the local build overlaid
pnpm dsh --profile web --patch ./cordis.dev.yml --port 3180 --no-open

License

MIT