DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-plugin-prompt-history

S

dsh-plugin-prompt-history

Manifest valid

DSH Web plugin: recall previously sent prompts in the composer with a rebindable shortcut and a clickable history panel.

UI (client)hasBundlePatch

Prompt history · 提示历史

English | 简体中文

Recall prompts you already sent in this session, without retyping them. 把这一轮会话里已经发出去的提示词直接找回来,不用重新打一遍。


English

What it adds

  • Ctrl+↑ (rebindable) opens a panel listing the last 100 user messages of the current conversation, newest first. ↑/↓, Home/End move the highlight, Enter or a click fills the composer (it never sends), Esc closes without touching the draft.
  • Ctrl+↓ restores the draft that was in the composer before the last pick.
  • A history icon on the left of the composer card opens the same panel with the mouse.

Only plain text is restored: images, @ references and / command chips are not replayed. History is session-local and in-memory — switching conversations, reloading or restarting discards the browse state. Both shortcuts appear under Settings → General → Keyboard shortcuts and can be rebound there.

Install

dsh plugin --profile desktop add dsh-plugin-prompt-history

Or add the plugin market index and install it from Discover.

Requirements

  • DSH Desktop (Windows / macOS). The web build reserves plain arrow combinations, so the default bindings are only declared for the desktop runtime.

Files

  • client.js — the whole feature: shortcut commands, the overlay panel, the icon button.
  • index.js — empty host entry, required by the bundle patch.
  • cordis.patch.yml — inserts this package into the profile bundle.

中文

功能

  • Ctrl+↑(可在设置里改键)弹出面板,按从新到旧列出当前会话最近 100 条用户消息。↑/↓、Home/End 移动高亮,Enter 或鼠标点击填入输入框(只填入,不发送),Esc 关闭且完全不动草稿。
  • Ctrl+↓ 恢复上一次选择前输入框里的内容。
  • 输入卡片左侧有一个历史图标,鼠标点击效果等同 Ctrl+↑。

只还原纯文本:图片、@ 引用、/ 命令都不会被复现。 历史只在当前会话、当前页面内存在——切换会话、刷新或重启后浏览状态即丢弃。两个快捷键都会出现在 设置 → 通用 → 键盘快捷键,可随时改绑。

安装

dsh plugin --profile desktop add dsh-plugin-prompt-history

也可以在 DSH 的「发现」里添加插件市场索引后直接安装。

环境要求

  • DSH Desktop(Windows / macOS)。Web 端把裸方向键组合视为保留键,所以默认键位只对桌面端声明。

文件结构

  • client.js — 全部功能:快捷键命令、浮层面板、图标按钮。
  • index.js — 空的主机入口,bundle 补丁要求存在。
  • cordis.patch.yml — 把本包插入 profile 的 bundle。

License

MIT

Comments

Loading…

Similar plugins

dsh-prompt-lib

by Stmol

DSH plugin: keep your own prompts in Settings and switch them on per chat

Sessions & MessagesManifest valid

★ 2

↓ 28/wk

MIT

JavaScript

Oct 4, 2026

dsh plugin --profile web add @stmol/dsh-prompt-lib

by WhitePlusMS

DSH Web UI plugin for workspace file references, prompt history, and lightweight composer enhancements.

UI & ExperienceManifest valid

★ 3

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add dsh-input-plus

by kexin8

⌨️ Keyboard shortcuts for the DSH chat composer — ↑↓ cycle history, Ctrl+C clear input. DSH web plugin.

Development & InfrastructureManifest valid

★ 4

↓ 303/wk

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-composer-keys

by DIV7NE

DSH web plugin: a Run button on every chat code block that pastes into an integrated terminal, plus "Attach selection as context" from terminal output.

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 13, 2026

dsh plugin --profile web add dsh-run-in-terminal

by Domush

Native DSH plugin for persistent message history navigation via arrow keys

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Nov 12, 2026

dsh plugin --profile web add dsh-plugin-message-history

by AhaCrazy

DSH plugin: global back/forward navigation history across sessions and whole-page panels, with a configurable bottom strip and browser-style shortcuts.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Nov 4, 2026

dsh plugin --profile web add dsh-nav-history