dsh-client-ui-quickfill
Manifest validTerminal-style prompt history & fast completion for the DSH web composer: Alt+Up/Down recall (bare Up/Down on single-line drafts), prefix-aware cycling (zsh up-line-or-search), Ctrl+R fuzzy history search with reverse-i-search continuation, and gray ghost autosuggestion accepted with Tab or Right arrow.
dsh-client-ui-quickfill
Terminal-style prompt history & fast completion for the DSH web composer. Brings the scrollback of a shell to your AI input: recall past prompts, search them instantly, and fill them with a keystroke.
- Recall —
Alt+↑/Alt+↓cycle prompt history (even on multiline drafts); bare↑/↓works on single-line drafts. The first↑applies zsh'sup-line-or-search: if the draft is a prefix of some entry, jump to the newest matching one and keep stepping within that prefix only. - Search —
Ctrl+R(orCmd+R) opens a fuzzy history-search picker: typing narrows (subsequence match),↑/↓selects,Ctrl+Ragain jumps to the next match (reverse-i-search),Enterfills,Esccloses. - Complete — while typing, the newest entry that starts with the draft is
shown as a gray ghost right after the caret (fish-style autosuggestion);
Tabor→at the end accepts it as an ordinary, undoable draft write. - Protect — your partially typed draft and caret are restored exactly when
you cycle back to newest (or press
Esc). Consecutive duplicates are collapsed, empty prompts are never recorded, and IME composition (Chinese pinyin) passes every key through untouched. - Optional cross-session pool — an opt-in global history (
localStorage) extends search, prefix recall and the ghost to prompts from every session, like zsh'sSHARE_HISTORY. Off by default for privacy.
Requirements
- DSH web profile (
dsh --profile web), version0.1.0-rc.8line. - pnpm (
npm install -g pnpm) fordsh pluginmanagement.
Install (community users)
dsh plugin --profile web add dsh-client-ui-quickfill
Then add the bundle to the profile's composite package list
(~/.dsh/profiles/web/package.json):
"dependencies": {
"dsh-client-ui-quickfill": "^0.1.0"
}
Restart the dsh web service — the node side scans bundles at startup,
applies their cordis.patch.yml and bakes the client into the
window.__DSH_BOOT__ boot graph; only a restart activates a new bundle.
The plugin is a self-registering bundle: its patch layer inserts the
ui-quickfillbrowser roster row automatically. No hand-writtencordis.patch.ymlis needed.
Build & test (contributors)
npm install # link peer dependencies
npm test # smoke tests: derivation, matching, prefix walk, ghost, pool
npm pack # inspect the published file set
To test against a live instance, point a web-test profile at this directory:
"dependencies": {
"dsh-client-ui-quickfill": "file:../../dsh-client-ui-quickfill"
}
or symlink it into ~/.dsh/profiles/node_modules and restart.
Data storage (browser-local only, no server)
| localStorage key | Contents |
|---|---|
dsh-quickfill.global-history | Cross-session prompt pool (globally unique, capped at 500, newest last) |
dsh-quickfill.settings | Toggles (global) |
- The global pool is off by default (privacy: prompts may be sensitive).
It stays in this browser and never leaves the device; session data already
lives in
~/.dshon disk, so this is a same-trust-domain local cache. - Enabling it merges the current session's whole history in once, then new prompts append automatically; session entries always rank first.
- Clear: DevTools → Application → Local Storage → delete the keys.
Known limitations
Cmd+Ron macOS doubles as the browser reload shortcut and interception is not always reliable; Windows/Linux are unaffected.- History comes from the loaded conversation snapshot;
loadOlderpages load in on demand. Ctrl+Ris swallowed while a slash command is claimed or a send is in flight (draft protection); pressEscfirst, then search.- Ghost layer mirrors the composer's computed font metrics; unusual theme font overrides can drift the glow 1–2px. Multiline drafts and empty drafts disable the ghost intentionally.
- Split composers: textarea lookup is scope-locked to the seat's conversation
(
[data-conversation-scroll]), so split layouts should work — not yet exercised in a split layout.
License
MIT — see LICENSE.
中文说明
Comments
Loading…
From the same category
by 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
★ 4.1k
↓ 16k/wk
MIT
TypeScript
Oct 5, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 320/wk
Apache-2.0
TypeScript
Oct 5, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby 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.9k
↓ 38.8k/wk
Apache-2.0
TypeScript
Oct 5, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 282
↓ 571/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 197
↓ 108/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 81
MIT
JavaScript
Oct 3, 2026