nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Cnily03/dsh-delete-archived-session
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
A DeepSeek Harness (dsh) plugin that permanently deletes archived sessions with a two-step confirm, from the sidebar row hover strip and the "⋯" more-menu. It stops the session's running work and removes its log and projection-cache record from disk.
| Hover the delete button | Armed, click again to confirm |
|---|---|
![]() |
![]() |
Use --profile web for a dsh web server or --profile desktop for the desktop app, then restart the Harness.
# npm
dsh plugin --profile web add dsh-delete-archived-session
# GitHub (latest)
dsh plugin --profile web add github:Cnily03/dsh-delete-archived-session
The desktop app can also install it from its built-in plugin market.
The control renders only while the row's session is archived, in two places:
Both reuse the shipped IconTrashOutlineRegular, Tooltip and MenuItemButton, so they match the native controls.
Deleting takes two deliberate clicks:
Deleting stops the session's running work, removes its log directory and projection-cache record from disk, and clears the workspace accounting so the row disappears.
A session must be archived before it can be deleted. Archiving alone does not stop the agent or remove any file; deletion is what stops the work and clears the files.
pnpm install
pnpm build # tsup -> dist/
pnpm typecheck # tsc --noEmit
pnpm lint # biome lint
pnpm format # biome check --write
| Path | Purpose |
|---|---|
src/index.ts |
Host half: delete route, stop/idle/flush/remove, cleanup, startup sweep. |
src/client.ts |
Client half: the two-step control, arm timer and overlay notice. |
src/locale.ts |
Namespace, route and message dictionaries. |
cordis.patch.yml |
Bundle patch that inserts the Host row. |
Copyright (c) Cnily03. All rights reserved.
Licensed under the MIT License.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: session、session-management。