Skip to content

Wine-Red/dsh-prompt-stash

30Last commit Aug 14, 2026

dsh-prompt-stash DSH plugin

This plugin adds a LIFO stash stack per conversation in DSH Web. It stores plain text temporarily, allowing you to clear the input box for a quick side question, then restore the original text. It supports up to 10 stashed entries per session, with a collapsible UI and configurable keyboard shortcuts.

How to install the dsh-prompt-stash DSH plugin

dsh plugin --profile web add dsh-prompt-stash

Copying does not run this command. Review the repository and version before installing the dsh-prompt-stash DSH plugin.

dsh-prompt-stash DSH plugin data source

dsh-prompt-stash DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-prompt-stash DSH plugin can do

  • Per-conversation independent stash storage, up to 10 entries, newest first.
  • Collapsible bar above the input box showing preview, with restore, delete, and clear actions.
  • Does not overwrite non-empty input; prompts to stash current content before restoring.
  • Uses official DSH `inputActions.setDraft()` API, does not manipulate textarea or internal store.
  • Pure client-side, only uses localStorage, no network requests or telemetry.
  • Supports i18n (Chinese/English), light/dark theme, keyboard navigation, and DSH native queue layout.
  • Configurable shortcut key (default Ctrl+S) via plugin settings in DSH Web.

Where the dsh-prompt-stash DSH plugin fits

  • While composing a long prompt, temporarily stash it to ask a quick side question.
  • Quickly switch between multiple draft prompts by stashing and restoring.
  • Handle an urgent side task in the middle of a conversation, then restore the original input.
  • Use keyboard shortcuts to rapidly stash and cycle through recent stashes.
  • Prevent accidental loss of input when switching between different conversation contexts.

Who the dsh-prompt-stash DSH plugin is for

  • Frequent users of DeepSeek Harness Web who write long or complex prompts.
  • Prompt engineers and power users who need to manage multiple draft inputs efficiently.
  • Users who prefer keyboard-driven workflows and want to minimize mouse usage.

dsh-prompt-stash DSH plugin limitations

  • Currently supports plain text only; inputs with images, attachments, or file references cannot be stashed.
  • Depends on browser localStorage; clearing site data will delete all stashed content.
  • Requires DSH 0.1.0-rc.6 or later, and only works with the Web profile.
  • Stash limit is fixed at 10 per conversation; older entries are automatically discarded when full.

dsh-prompt-stash DSH plugin: from the repository README

Quoted from the Wine-Red/dsh-prompt-stash README, the upstream source of the dsh-prompt-stash DSH plugin. Copyright remains with the original authors.

DeepSeek Harness Web 的本地输入暂存插件。把尚未发送的纯文本压入当前会话的 LIFO 暂存栈,先处理临时问题,之后再安全恢复原输入。 > 输入暂存不是草稿同步。DSH 已负责保存当前输入框草稿;本插件提供的是一组可明确存入、恢复和删除的临时输入副本。 ## 功能 - 每个 DSH 会话独立保存,最新内容优先,最多保留 10 条。 - 暂存后立即在输入框上方显示折叠栏,可展开预览、恢复、删除或清空。 - 当前输入非空时不会直接覆盖;恢复前必须确认先暂存当前内容。 - 使用 DSH 官方 `inputActions.setDraft()` 清空和恢复,不操作 `textarea` 或内部 Store。 - 纯客户端实现,不联网;内容只保存在当前浏览器的 `localStorage`。 - 支持中英文、深浅主题、键盘操作和 DSH 原生队列组合布局。 - 可在“设置 → 插件 → 插件配置”中录入单键或组合键快捷键,默认使用 `Ctrl+S`。 当前版本仅支持纯文本。带图片、附件或文件引用的输入不会被暂存。 ## 效果 ![暂存消息与 DSH 原生排队消息组合显示](docs/assets/dsh-prompt-stash-demo.png) 暂存内容默认折叠;展开后可查看创建时间与两行文本预览,并执行恢复、删除或清空操作。 ## 要求 - DeepSeek Harness `0.1.0-rc.6` - Web profile - Node.js 20 或更高版本(仅源码开发需要) ## 安装 ### npm registry(推荐) 直接安装到 DSH Web profile: ```sh dsh plugin --profile web add dsh-prompt-stash ``` npm 包已包含构建产物,不需要允许安装期构建脚本。安装后重启 DSH Web。 更新到最新版本: ```sh dsh plugin --profile web update dsh-prompt-stash ``` ### GitHub Release tarball(备用) 从 [Releases](https://github.com/Wine-Red/dsh-prompt-stash/releases/latest) 下载 `dsh-prompt-stash-0.2.2.tgz`,然后安装到 Web profile: ```sh dsh plugin --profile web add ./dsh-prompt-stash-0.2.2.tgz ``` tarball 同样包含预构建产物。安装后重启 DSH Web。 ### 本地源码 checkout ```sh git clone https://gith

Read the full READMERepository license: MIT

dsh-prompt-stash DSH plugin questions

How do I install dsh-prompt-stash?

Run `dsh plugin --profile web add dsh-prompt-stash` in your terminal. This installs the plugin from npm. After installation, restart DSH Web. If you prefer a tarball, download the latest `.tgz` from GitHub Releases and run `dsh plugin --profile web add ./dsh-prompt-stash-0.2.2.tgz`.

How do I configure the shortcut key?

Go to Settings → Plugins → Plugin Config → Input Stash. Click the shortcut key input box, press the desired key or combination (e.g., F8), then save. The default shortcut is Ctrl+S. Changes take effect immediately.

Can I stash images or file attachments?

No, the current version only supports plain text. Inputs containing images, attachments, or file references will not be stashed. The plugin will simply ignore the stash action if the input is not plain text.

Why did my stashed content disappear?

All stashed data is stored in your browser's localStorage under the key `dsh.promptStash.v1`. If you clear site data, cookies, or use private browsing mode that doesn't persist localStorage, the stash will be lost. Also, each conversation has a limit of 10 stashes; the oldest entry is automatically removed when new ones exceed the limit.

Does the plugin send any data to a server?

No. The plugin is entirely client-side. It does not make any network requests, collect telemetry, or send data to any external service. All content remains in your browser's localStorage, scoped by session ID.