nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
adithyanraj03/dsh-delete-plugin
Sidebar session deletion and workspace pinning for DeepSeek Harness: a Delete action behind a consent dialog permanently removes a session's log, workspace accounting and live state (refusing running turns), and Pin keeps workspaces on top; no network calls or telemetry of its own, deletion only on confirmation, uninstall removes both actions.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:adithyanraj03/dsh-delete-plugin
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
A DeepSeek Harness plugin that adds two sidebar powers dsh does not ship together: permanently deleting a session from the session row menu, and pinning a workspace to the top of the workspace list (dsh only pins sessions today).
It does two things:
From npm:
dsh plugin --profile web add dsh-delete-plugin
dsh --profile web
Or straight from GitHub:
dsh plugin --profile web add github:adithyanraj03/dsh-delete-plugin
Or from the release tarball (in the profile directory):
pnpm add https://github.com/adithyanraj03/dsh-delete-plugin/releases/latest/download/plugin.tgz
then add dsh-delete-plugin to dsh.profile.bundles and restart the host.
Open Plugins (settings, left sidebar) → Add plugin, paste the repository address, click Install:
https://github.com/adithyanraj03/dsh-delete-plugin
The host half loads at startup, so restart the app after installing or upgrading. The package has no lifecycle scripts — there is nothing to approve with pnpm approve-builds.
Never install the published package into a profile that already links a local copy of this plugin — you get two rows with the id
session-delete.
Right-click a session row (or open its … menu) → Delete session. The consent dialog lists what will be removed; Cancel keeps everything, Delete removes it permanently. If the session is mid-turn the host refuses with session-running and nothing is touched. After a successful delete the sidebar drops the row without a refresh; if it was the open session, the next one opens.
Right-click a workspace header (or open its … menu) → Pin workspace. The workspace moves to the top of the list and shows a pin badge; the menu item becomes Unpin workspace. Drag pinned workspaces up or down to reorder them — that order is persisted (it no longer snaps back to the order you pinned them in). Pins are stored in the plugin's own durable storage domain and are independent of dsh's session pins.
sessionDelete remote service) and a browser half (the two menu items, the consent dialog, the pin badge and ordering). Both mount from one package.subprocess service; the pin set lives in local durable storage.sessions, sessionPersistence, subprocess, workspaceRegistry, storageDomain). The browser half only contributes menu items and calls the host RPC.| Host | Status |
|---|---|
| dsh 0.2.2-rc.1 (web profile + desktop) | Built against its session/workspace services. Host half verified mounting on a clean profile; the delete and pin RPCs verified against real services (storage round-trip, running-turn refusal, unknown-id validation). |
| older hosts without these services | The row degrades or cannot activate; nothing else is affected. |
npm test # wiring harness: name agreement + every shipped file exists
python scripts/make-banner.py # regenerate the README banners (Pillow)
Layout: src/index.js (host: delete + pin remote service), src/client.js (browser: menus, consent dialog, badge, ordering), cordis.patch.yml (one insert row, id session-delete), locale/ (en + zh plugin-manager metadata), scripts/test-harness.mjs.
Session deletion already exists in the ecosystem (dsh-delete-session, dsh-session-delete, dsh-session-cleaner on npm). This is an independent implementation that also adds workspace pinning; the deletion teardown follows the same agent-factory teardown sequence dsh itself uses.
MIT © 2026 Adithya N Raj
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session。