wang122818/dsh-command-delete ↗★ 0
dsh-command-delete
用于在 DSH 中删除会话和工作区(项目)的斜杠命令及 Web 管理面板。
AI 分析
核心用途是提供项目注册和会话日志的清理与删除功能。适合需要通过斜杠命令或 Web 侧边栏面板快速管理、清理历史会话和工作区的用户。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wang122818/dsh-command-delete說明文件
閱讀完整 README ↗dsh-command-delete
DSH commands for removing a project registration and deleting a persisted session.
Web UI
The Web bundle adds a trash icon in the sidebar footer. It opens a management panel with project and session lists. Every destructive action has a confirmation dialog.
Project deletion removes only the DSH workspace registration; the directory and session logs remain. Session deletion permanently removes the persisted session log and refuses live/open sessions.
Commands
/delete-project
/delete-workspace
/delete-session
/delete-workspace is an alias for /delete-project.
Project deletion uses DSH's workspace registry. It removes only the DSH project/workspace registration. The project directory and all session logs remain on disk.
Session deletion removes the persisted JSONL session directory. It refuses to remove a session that is still owned by a live Agent. The current DSH release does not expose a public session-delete lifecycle, so live/open sessions are intentionally not deleted by this plugin.
Install from this checkout
From the directory that contains this package:
dsh plugin --profile default add .
Use the profile name you normally run with instead of default when needed. Restart DSH after installing the bundle.
With no id, each command prints the available IDs:
/delete-project
/delete-session