dsh-prompt-history
Manifest validDSH composer plugin: ↑/↓ prompt-history navigation — browse the current session's sent prompts right in the input box, with a "History x/y" badge.
dsh-prompt-history
English | 中文
DSH (DeepSeek Harness) community plugin: ↑/↓ prompt-history navigation for the composer. Recall the prompts you already sent in the current session without leaving the input box — press ↑ to pull back the last sent prompt, browse older ones with ↑/↓, and always keep your original draft safe.
A small 历史 x/y badge appears in the composer's tool row while you browse.
Features
↑/↓browse the current session's sent prompts (user + steering nodes), newest first.- Consecutive duplicates are collapsed.
- Multi-line drafts are respected:
↑only starts browsing when the caret is on the first line. - Browsing exits automatically when you send the message or switch sessions; pressing
↓past the newest prompt restores your saved draft. - Keydown is bound to the composer card (
[data-composer-card]), notwindow. Sidebar search and other inputs never see the handler.
Requirements
- A DeepSeek Harness web profile (any profile name; the examples below use
web).
Installation
The package ships its compiled lib/ in the repo, so neither install path needs a build step.
Option A — tarball
cd dsh-prompt-history
npm pack # → dsh-prompt-history-0.1.0.tgz
dsh plugin --profile web add ./dsh-prompt-history-0.1.0.tgz
Option B — git (latest)
dsh plugin --profile web add github:cw1999mm/dsh-prompt-history
Then restart (or refresh) the web UI. The plugin loads as the dsh-prompt-history bundle layer; remove it with:
dsh plugin --profile web remove dsh-prompt-history
Manual / development install
Link the package into your profile's node_modules and add the bundle row:
# from the profile directory (e.g. ~/.dsh/profiles/web)
pnpm add link:<absolute path to this project>
Then append to the profile's cordis.patch.yml:
- insert:
- id: dsh-prompt-history
name: dsh-prompt-history
Usage
- Focus the composer and type — or don't: your draft is saved automatically.
- Press
↑(with the caret on the first line) to load the most recent prompt you sent in this session. ↑/↓move through older/newer prompts; the历史 x/ybadge shows where you are.- Press
↓past the newest prompt (or just send) to return to your original draft.
How it works
lib/index.js— host half. Deliberately empty: it exists only so the plugin is a valid, activating row in the cordis composition.lib/client.js— browser half, discovered through the package'sdsh.clientdeclaration. It declaresinject = ['slots'], waits for that service, then hooksconversation.input.right, binds ↑/↓ on the composer card, and reads the session's chat snapshot to build the prompt history.
License
MIT © 2026 cw1999mm
Comments
Loading…
From the same category
by zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.2k
↓ 134/wk
Apache-2.0
TypeScript
Oct 1, 2026
dsh plugin --profile web add dsh-webby ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 3.9k
↓ 11.6k/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby YuJunZhiXue
DeepSeek Harness 破甲:让所有模型都能破甲,不同模型可换不同提示词;默认提示词面向国模「小码酱」。Jailbreak for every model — swap prompts per model. 求 Star 收藏 ⭐
★ 2.9k
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-purgeby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 1.7k
↓ 32k/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile web add dsh-contextby agentrq
AgentRQ: Human-in-loop realtime conversational task manager for AI Agents. Self-hosted! Control your own agents from wherever you want Mobile, Web, Desktop. Designed to work well with your own Claude
★ 1.1k
↓ 56/wk
Apache-2.0
JavaScript
Oct 1, 2026
dsh plugin --profile web add @agentrq/dsh-plugin-agentrqby vshulcz
One memory shared by Claude Code, Codex, Cursor, Copilot CLI, OpenClaw and 20 more coding agents, built from the session history already on disk. A fix found in one agent comes back in any of them, in
★ 1.1k
↓ 1.2k/wk
MIT
Go
Sep 30, 2026
dsh plugin --profile web add dsh-deja