dsh-autoload-history: Automatically load all historical messages when opening a session
dsh-autoload-history is a DSH plugin developed by magicOF2 and licensed under the MIT License. It aims to solve the problem in DSH Web where viewing the complete history of long sessions requires repeatedly clicking "Load earlier". The plugin's core function is to automatically load history messages page by page (50 messages per page) after a session is opened until all messages are loaded. It supports automatic following during session switching, does not interfere with normal chat, and is mounted on an official slot without any visible UI traces. The plugin includes a fail-safe mechanism that stops after three consecutive pages show no progress to prevent infinite loops. Installation methods include adding pre-built packages via GitHub source or npm, and it takes effect automatically after installation. Users can temporarily disable the plugin or set a maximum page limit via localStorage (e.g., setting it to 20 pages for approximately 1,000 messages).
Read More