lhh010/dsh-input-history

DSH Web input history plug-in: Ctrl+Up / Ctrl+Down recalls and switches sent messages like a terminal, zero core changes

dsh-input-history adds terminal-style input history to the DSH Web composer: Ctrl+Up / Ctrl+Down recalls and cycles through already-sent messages, with zero core changes. The plugin keeps the input history per conversation and matches the exact DSH version (a mismatch crashes with useConversation is not a function), which is why the pinned-tag install is recommended.

Web UI Enhancements ★ 4 updated 2026-09-18 ✅ runtime-tested
View on GitHub ↗

Install

dsh plugin --profile web add '@dsh-external/dsh-input-history@github:lhh010/dsh-input-history#v0.1.14'

README EN edition (2026-09-01, re-verified 2026-09-18): version matching matters — DSH 0.1.1-rc.2 (npm latest) needs the OLD version '@dsh-external/dsh-input-history@github:lhh010/dsh-input-history#v0.1.2'; DSH 0.1.2-alpha.1/2/3 use the default new-version command dsh plugin --profile web add '@dsh-external/dsh-input-history@github:lhh010/dsh-input-history#v0.1.14'. Local link option: clone, pnpm install && pnpm run build, dsh plugin --profile web add link:/path/to/dsh-input-history. Config line in cordis.patch.yml is hot-reloaded. If pnpm 11 blocks node-pty build scripts, run pnpm approve-builds --all in ~/.dsh/profiles/web and re-install; hard-refresh the browser after. Re-verified 2026-09-18: README's default command now pins #v0.1.14 (entry had #v0.1.5); newest tag v0.1.15. npm dsh-input-history is owned by a different repository (sunshaobei), so the GitHub pin stays.

Compatibility

DSH web 0.1.1-rc.2 (v0.1.2 pin) or 0.1.2-alpha.1-3 (v0.1.5 pin); node-pty build permission may be needed on pnpm 11.

Details

Recent updates

Ctrl+Up/Ctrl+Down input recall; zero core changes; version-pinned git installs; hot-reloaded config row.

FAQ

Which version do I install?
DSH 0.1.1-rc.2: pin #v0.1.2. DSH 0.1.2-alpha.1/2/3: pin #v0.1.5. A mismatch crashes with useConversation is not a function.
How do I recall past messages?
Ctrl+Up / Ctrl+Down cycles through already-sent messages in the composer, terminal-style.
What if pnpm 11 blocks the build?
Run pnpm approve-builds --all under ~/.dsh/profiles/web, re-run the install, then hard-refresh (Ctrl/Cmd+Shift+R).

Alternatives

omdsh-dev/dsh-input-history · lhh010/dsh-input-history

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins