dsh_PromptRecall: Recall historical prompts in DSH Web input box using ↑/↓

dsh_PromptRecall is a DSH Web GUI input history plugin that mimics Codex interaction. Maintained by liguanyu (MIT license, version 1.0.0), it addresses the lack of terminal-like history functionality in web input fields. Once installed, it requires no configuration; pressing `↑`/`↓` while the input field is empty allows browsing historical prompts, which are persisted across sessions and restarts. If the draft is non-empty, the cursor is in the middle of the text, a selection is active, or a modal is open, the direction keys are returned to the editor. Pressing Esc clears the draft and saves it to history, allowing for later retrieval. The history is designed in two layers: the persistent layer is a JSONL file located in the DSH main directory (with a limit of approximately 10 MB for plain text only), and the local layer is the recall list for the current session (with a limit of 200 entries or 256 KB).

Read More