Wine-Red/dsh-prompt-stash 预览 preview

Wine-Red/dsh-prompt-stash

Local, per-session prompt stash for DeepSeek Harness Web | 本地、分对话的提示词输入暂存工具。写了一半的长提示词,临时需要先问一个短问题? 同时准备多个方案,但尚未决定发哪一个?将未完成的想法放入草稿架中,准备好后再继续完成

Project Overview项目介绍

dsh-prompt-stash is a local input-stashing plugin for DeepSeek Harness Web. Its core capability pushes unsent plain text into a per-session LIFO stash (latest first, up to 10 entries) and renders a collapsible bar above the input box for preview, restore, and delete. Use it when you need to ask a side question and later resume the original draft. Caveat: only plain text is supported; inputs containing images or file references are ignored.

dsh-prompt-stash 是 DeepSeek Harness Web 的本地输入暂存插件。核心能力是把未发送的纯文本压入会话级 LIFO 暂存栈,最新优先,最多 10 条,并在输入框上方以折叠栏展示预览、恢复与删除。适合在需要临时插队提问、稍后再续打原内容的场景使用。注意当前版本仅支持纯文本,含图片或附件引用的输入会被忽略。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

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

把 Wine-Red/dsh-prompt-stash 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-prompt-stash — Save the thought. Ask the detour.

当前源码适配版:0.3.2 / DSH 0.2.0-rc.1。已迁移到官方 Config/configForms 和输入框订阅接口;快捷键写入 profile 配置,暂存内容保留原 localStorage 键。图片、文件附件和引用均禁止按纯文本暂存。旧 DSH 请继续使用 0.2.x。

dsh-prompt-stash

Awesome DSH Plugin npm version CI DSH compatibility License

简体中文 | English

DeepSeek Harness Web 的本地输入暂存插件。把尚未发送的纯文本压入当前会话的 LIFO 暂存栈,先处理临时问题,之后再安全恢复原输入。

输入暂存不是草稿同步。DSH 已负责保存当前输入框草稿;本插件提供的是一组可明确存入、恢复和删除的临时输入副本。

功能

  • 每个 DSH 会话独立保存,最新内容优先,最多保留 10 条。
  • 暂存后立即在输入框上方显示折叠栏,可展开预览、恢复、删除或清空。
  • 当前输入非空时不会直接覆盖;恢复前必须确认先暂存当前内容。
  • 使用 DSH 官方 inputActions.setDraft() 清空和恢复,不操作 textarea 或内部 Store。
  • 暂存内容只保存在当前浏览器的 localStorage;快捷键配置通过 DSH Host settings 保存,可跨刷新和浏览器生效。
  • 支持中英文、深浅主题、键盘操作和 DSH 原生队列组合布局。
  • 可在“设置 → 内置插件 → Prompt Stash”中录入单键或组合键快捷键,默认使用 Ctrl+S。

当前版本仅支持纯文本。带图片、附件或文件引用的输入不会被暂存。

效果

暂存消息与 DSH 原生排队消息组合显示

暂存内容默认折叠;展开后可查看创建时间与两行文本预览,并执行恢复、删除或清空操作。

要求

  • DeepSeek Harness 0.2.0-rc.1
  • Web profile
  • Node.js 20 或更高版本(仅源码开发需要)

插件的 Host、设置、样式和 slot 注册均采用故障隔离;单个挂载点冲突时会禁用对应功能并记录错误,不会把异常抛回 DSH 启动链。

安装

npm 与 GitHub Release 提供预构建发布包;安装后重启 DSH。桌面端可在插件管理中安装包名,CLI 用户使用实际 profile 名称(例如 web 或 desktop)。

npm registry(推荐)

直接安装到 DSH Web profile:

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

npm 包已包含构建产物,不需要允许安装期构建脚本。安装后重启 DSH Web。

更新到最新版本:

dsh plugin --profile web update dsh-prompt-stash

GitHub Release tarball(备用)

从 Releases 下载 dsh-prompt-stash-0.3.2.tgz,然后安装到 Web profile:

dsh plugin --profile web add ./dsh-prompt-stash-0.3.2.tgz

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-commandcode-provider 下一个 Next dsh-github-router →