dsh-data-ledger: Providing a Unified Dashboard and AI Assistant for DSH Local Data

dsh-data-ledger is a DSH plugin developed by Niuniu-Sir, licensed under the MIT license, aiming to centrally manage and securely clean up DSH local data. This plugin addresses issues such as scattered data, unclear volume, and the risk of accidental deletion. It provides a right-side "Data Management" panel that groups and displays the source, size, and status of data such as conversations, skills, and logs, supporting tree-style expansion of sub-agents and path operations. Core features include AI butler tools (such as ledger_scan), which allow agents to scan data and propose cleanup, but require explicit user confirmation before executing deletion, recovery, or thorough removal. The security mechanism is strict, handling only the `~/.dsh` directory; it prevents symbolic link escapes through whitelist checks and `realpath` verification. Deletion defaults to the trash/recycle bin, while thorough deletion requires double confirmation, and it does not touch user project files. The plugin is zero...

Read More