본문으로 건너뛰기
K

dsh-plugins

kangyishuai/dsh-plugins

Real session deletion for DSH: trash by default, plan before delete, audit log, residue receipt

설치

dsh plugin --profile web add github:kangyishuai/dsh-plugins

README

DSH Plugins: careful, well-tested plugins for DeepSeek Harness

CI npm scope Verified on DSH 0.2.2-rc.1 License: MIT

Plugins for DeepSeek Harness (DSH). Each one is an independent npm package, verified end to end against a real DSH host before release.
English · 中文

Plugins

PluginWhat it doesVersion
session-delete
screenshots
Really deletes sessions instead of just archiving them. Deleted sessions go to a restorable trash, and the confirm dialog shows the plan first: size, sub-sessions, and the references that will be cleaned. Every action goes into an audit log, and a receipt lists anything left behind.npm
session-rewindRewind a conversation in place: Esc Esc or the ↶ button next to Copy, then choose conversation-only or conversation-plus-files. Everything from the target message on is withdrawn from the model context and transcript; changed files are restored with pre-write snapshots, rescue points and a trash, and the message text/images return to the composer. A panel lists withdrawn messages, audit history, rescue points and diagnostics. The log is append-only. Bare ↑ / ↓ in the composer recalls prompts you already sent, without rewinding anything.npm

More plugins are on the way.

Install

dsh plugin --profile desktop add @kangyishuai/dsh-session-delete
dsh plugin --profile desktop add @kangyishuai/dsh-session-rewind

Then restart the DSH desktop app. Each plugin's README covers usage, side effects and compatibility.

How these plugins are built

  • Nothing destructive without a way back. Deletion goes to a trash first. A confirm dialog states the impact: count, size, whether the session is live, and whether it can be undone. See ADR 0002.
  • No hard-coded internals. DSH is pre-release and its on-disk formats change. Plugins scan and match known patterns, and leave anything they don't recognize alone.
  • Verified on a real host. Unit tests, plus an end-to-end GUI smoke test against a throwaway DSH home. Compatibility tables say exactly which DSH version was checked.
  • No network, no telemetry. Plugins only touch the local DSH data directory, and only as documented.
  • Plain JavaScript, no build step. What you install is what's in the repo (ADR 0001).

Disclaimer: this is a personal community project. It is not affiliated with or endorsed by DeepSeek. Plugins are young software, so keep backups of anything you can't lose.

Contributing

Issues and PRs are welcome. Start with CONTRIBUTING.md, which covers setup, commands, commit conventions and the release flow. Design notes live in docs/ (in Chinese).

Security

Please report vulnerabilities privately. See SECURITY.md.

License

MIT

관련 플러그인