返回目录
模型与 MCP 插件

dsh-plugins

kangyishuai/dsh-plugins

Unofficial DeepSeek Harness (DSH) plugins: in-place conversation rewind with file restore, and real session deletion with trash + audit log.

Stars
1
Forks
0
Issues
1
更新
5 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:kangyishuai/dsh-plugins

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

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

CI npm scope Verified on DSH 0.2.2-rc.3 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

Plugin What it does Version
session-delete
screenshots
Really deletes sessions instead of just archiving them. Deleted sessions go to a restorable trash; the confirm dialog shows one line of impact (size · sub-sessions · running) and Enter executes it. Supports ⌘⌥⌫ for the current session, one-click clearing of a whole workspace, and chunked permanent deletion from the trash. Every action goes into an audit log, and a receipt lists anything left behind. npm
session-rewind Rewind 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
next-step A decision card when a turn is worth continuing: a short summary of checkable facts, the question you need to settle, and 1–2 mutually exclusive next steps that name a concrete object and send exactly their own text with one click. How often it appears is a user-chosen tier (strict / balanced / eager); a withheld card is one click away and reveals the candidate already computed, with no second model call. A local review log (no message text, local only) plus a Wilson-interval report make the thresholds and wording tunable against evidence. Optionally (off by default) a grey ghost hint in the empty composer, accepted with Tab or →. npm
advisor On-demand second opinion: the main model decides when to consult a separately configured advisor model, which reads the whole conversation — tool calls and results included — and returns structured advice. Advisory only — it never approves, blocks or runs anything. Off by default; shadow mode, four-level budgets and a token ledger keep the extra calls visible. npm
btw Ask a read-only side question without interrupting the main task. The command fires mid-turn instead of queueing; the answer runs in a forked, tool-less child agent enforced by a runtime guard, so it never enters the conversation history. The fork reuses the parent prompt prefix (57–94% served from cache, no cache-write charge), and answers persist to a per-session history file. A tab in the native right sidebar streams answers as they are generated and renders full Markdown (the conversation narrows instead of being covered); threads support follow-up, promote-to-draft (Markdown source, insert only, never auto-send), and an honest scope badge. npm
artifacts Local artifact pages for a session: one artifact tool publishes a self-contained HTML page, a compact summary row lands in the timeline, and the latest version refreshes in place inside a sandboxed right-sidebar panel. Versions are files under the DSH data root; nothing is uploaded. npm
projects Project-level context: sessions grouped into projects, with the project's standing rules and MEMORY.md index injected before every request (registered once, rendered per session). One panel shows threads, memory, audit and pending approvals. Threads get isolated Git worktrees with safe archiving; the coordinator proposes by default and has a tiny tool basket (no shell, file writes, deletion, push or merge) — dangerous actions can only be requested and need a switch on to execute. No remote writes, no credentials. npm
casefile
screenshots
Evidence-first workbench for reverse-engineering investigations on top of REA: observations become citable evidence, claims that cite them, and obligations that close only against a fresh PASS check bound to the implementation digest. Runs real checks (build / cli / web screenshot similarity / process side effects / project self-test JSON), reopens a closed obligation the moment the implementation changes, and refuses to close a project until coverage, unknowns and check freshness all line up. Exports a redacted spec pack and an acceptance report. No MCP bridge, no analysis engine, no DRM bypass. npm
More plugins are on the way.

Install

From Discover (recommended). Open Plugins → Discover → Add index source in DSH and paste:

https://cdn.jsdelivr.net/npm/@kangyishuai/dsh-plugin-index/index.json

Every plugin in this repository then shows up with its description, category and version list, and can be installed with one click. The index is rebuilt from npm after every release, so it always lists the versions that actually exist.

From the command line:

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 telemetry, no hidden calls. Plugins never phone home, and they only touch the local DSH data directory as documented. The one exception is deliberate and opt-in: advisor spends an extra model call, and only through the host's own LLM service, to the provider you already configured — it is off by default.
  • 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

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。