dsh-log-memory: Guarding Session Logs with Popups When Opening DSH Web
`dsh-log-memory` is an MIT-licensed DSH plugin (v1.3.0) designed to address recovery challenges caused by accidental deletion or format migration of session logs. Upon opening the DSH web interface, the plugin immediately displays a guardian panel prompting users to back up log files under `~/.dsh/sessions`, and allows adjusting the reminder interval (10 minutes to 3 hours) and selecting a backup folder within the popup. Core features include mute reminders based on Beijing time natural days, incremental backups supporting both fish-version (original `.zstd`) and human-readable (readable `.txt`) formats, each maintaining an independent index. The plugin configuration is persisted in local files, and the backup process involves purely local file copying—no network connectivity or data reporting, with HTTP routes accepting only same-origin POST requests. It supports installation via the `dsh plugin` command, source code, or manual methods, and is tested for compatibility with D
Read More