dylan121322/dsh-session-unarchive
dylan121322★ 0JavaScriptLast synced: 2026-08-15
—
README excerpt
dsh-session-unarchive Adds an archived-sessions view and a restore action to the dsh Web GUI. What it does - Shows an Archived section at the bottom of the sidebar, listing every archived session. - Adds a Restore session menu item that unarchives a session and returns it to its original position in its workspace. - Works in both zh-CN and en locales. Install Activate 1. Restart dsh. The first boot applies the patches to five dsh packages and prints a notice. 2. Restart dsh once more (host files take effect after that). 3. Refresh the browser at http://127.0.0.1:3080. Every later boot detects the patches as applied and stays quiet. The plugin is idempotent: it never re-applies or corrupts files, and it refuses to touch targets that were modified locally. How it works dsh 0.1.0-rc.6 archives sessions one-way: the GUI hides them from every view and offers no way back. The data is never deleted — the session id is only recorded in /.dsh/storages/workspace.json ( global.archivedSessionIds ). The cordis patch layer can override entry properties but cannot redirect an existing plugin's implementation file, so this bundle ships file patches instead. The plugin entry ( index.js ) runs at b…
View full README on GitHub →