Recalls prompts sent earlier in the current session with the up and down keys in an empty composer, and shows a position badge while browsing.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-tweaks-prompt-history
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:converk/dsh-tweaks#path:/plugins/prompt-history
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
在 DSH 的会话输入框里按 ↑ / ↓,翻出这个会话之前发过的提示词。
它能做什么
想改一改上次说过的话,不用翻聊天记录重打一遍——在输入框里按一下 ↑,上一次发过的提示词就回来了;接着按还能往更早翻。
怎么用
- 点进输入框,确保里面是空的。
- 按 ↑:自动填上你上一次发过的提示词;再按 ↑ 继续往更早翻。
- 按 ↓ 往回翻;翻过最新一条时,输入框恢复成你按 ↑ 之前的内容。
- 翻到想要的 → 直接编辑,或者回车发送。
翻的过程中,输入框右上角会显示 ↑↓ 历史 3/12,告诉你现在翻到第几条:

说明
- 只在输入框为空时才接管 ↑:不会跟
/命令菜单、@引用菜单抢方向键,也不会打断正常编辑(输入法打字中、按着 Ctrl/Alt 时都不管)。 - 历史只属于当前会话:包含你在运行中插话发过的内容;刷新页面后依然在。
- 直接开始打字就会退出历史浏览,已经填进输入框的内容会保留("回忆出来直接改")。
- 最多记 200 条。
- 角标文案跟随界面语言:中文「历史 n/N」,英文「History n/N」。
安装
npx @deepseek-ai/dsh plugin --profile web add "D:\你的目录\dsh-tweaks\plugins\prompt-history"
重启 DSH,并在浏览器中强制刷新(Ctrl + Shift + R)。
web为 DSH 的 profile 名称,可在C:\Users\你的用户名\.dsh\profiles\下确认。
开发者
本仓库的开发约定、DSH 契约与通用坑见 AGENTS.md。
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 7488
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 7488
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
omdsh-dev/DSH-better-sidebar★ 3555
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
ccch1mneyyy/dsh-TUI★ 2994
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 2274
A fixed-corner whale widget showing DeepSeek balance, today usage, per-turn cost and random talk lines, with sound effects and a menu.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1072
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.