Introduction¶
In DSH usage scenarios, users often need to repeatedly input the same role settings, code review requirements, or workflow instructions. Manual repetition is inefficient and prone to errors. dsh-input-list is a memory-based plugin for DSH, maintained by konglong87. It functions essentially as a prompt bookmark and reusable text manager, designed to solve content reuse issues by supporting one-click backfilling of saved content into the input box.
Installation¶
Install via the DSH plugin manager. In an environment where DSH is already installed, execute:
dsh plugin --profile web add github:konglong87/dsh-input-list
Restart DSH after installation to apply the changes.
Features¶
The plugin provides the following core capabilities:
* Quick Access: Provides an entry point next to the input box for quickly opening the content list.
* CRUD Operations: Supports adding, editing, and deleting entries. Deletion operations include a confirmation step.
* Persistent Storage: Data is saved in the DSH host settings and remains readable after page refreshes.
* One-click Backfill: Clicking an entry appends its body text to the current input draft without overwriting existing content or auto-sending.
* Appearance Adaptation: Supports both light and dark themes.
* Popup Positioning: Automatically adjusts position based on window boundaries.
Capacity Limits:
* Entry Count: 100 entries
* Name Length: 80 characters
* Body Length: 12,000 characters
Usage¶
- Open the DSH conversation page and locate the ☆ icon next to the input box.
- Click the + button, fill in the content name and body, and click save.
- Click any entry in the list to append the body text to the current input draft.
- Click the pencil icon to edit, or click the trash can icon and confirm to delete.
Technical Details and Limitations¶
- Data Storage: Content is stored in the DSH host settings and does not rely on an independent database.
- Core Dependencies: Core functionality relies on the
conversation.input.rightinput slot and thesettingsScopesettings service. - Optional Enhancement: The quick collection feature below historical messages is an optional enhancement. It only appears when the host provides the
conversation.chat.user-actionsslot; without this slot, the functionality next to the input box remains fully usable. - Security Notice: The plugin runs with the permissions of the current DSH process. Please avoid saving passwords, API Keys, or other sensitive information in a shared DSH host.
Conclusion¶
dsh-input-list provides a lightweight text management solution suitable for saving frequently used Prompt templates and workflow instructions.
- Directory: DSH Plugin Directory
- Source Code: GitHub