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 kingcharleslzy-ai
Community-maintained dsh-purge fork with host-policy patches, prompt and rule settings, diagnostics, separate update-check and install controls, and local backup/rollback.
★ 10.8k
MIT
JavaScript
Nov 18, 2026
dsh plugin --profile web add dsh-purge-communityby 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
★ 8k
↓ 19.2k/wk
MIT
TypeScript
Nov 20, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby mmparko
DeepSeek Harness 破甲 (mirror of YuJunZhiXue/dsh-purge) — 上游即将删库,此为本仓库全量镜像:含全部分支/73 个 tag/完整提交历史。原作者署名与二开要求见 README 署名章节。
★ 5.6k
↓ 15.2k/wk
MIT
JavaScript
Oct 13, 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,
★ 5.3k
↓ 116.3k/wk
Apache-2.0
TypeScript
Nov 20, 2026
dsh plugin --profile web add dsh-contextby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.8k
↓ 513/wk
Apache-2.0
TypeScript
Nov 20, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
★ 1.5k
↓ 9k/wk
MIT
JavaScript
Nov 12, 2026
dsh plugin --profile web add dsh-bili-scroll