Skip to content
Plugin

dsh-suggest-ghost

dsh-plugin-collection51Updated 10d ago

Open on GitHub

给 DSH 输入框加上输入预测:回合结束后自动建议你的下一句话,Tab 一键采纳;输入时按历史做前缀补全。输入预测 / 自动补全。| Input prediction for the DSH composer: next prompt suggested as ghost text, Tab to accept, plus history prefix completion.

Practical score

82 / 100

Setup

Ready to use

License

MIT

Language

JavaScript

Install

Quick start

Copy the command, or hand the whole task to your harness agent.

git clone https://github.com/dsh-plugin-collection/dsh-suggest-ghost.git
DSH versionDSH 0.2.0-rc.2
Install with your agent

Please install the DeepSeek Harness plugin "dsh-suggest-ghost" for me. - GitHub repository: dsh-plugin-collection/dsh-suggest-ghost (https://github.com/dsh-plugin-collection/dsh-suggest-ghost) - Type: a Cordis plugin (installed into a DSH profile) - The plugin…

From the README

A cleaned excerpt from the project's own documentation.

dsh-suggest-ghost English 简体中文 DeepSeek Harness Web 输入预测插件:回合结束后用一次辅助 LLM 调用预测你的下一条提示词,草稿为空时以幽灵文本显示在输入框里;输入过程中则从当前会话历史找前缀补全。Tab 整条采纳,→ 逐词采纳。 这是什么 纯插件挂载(host 监听回合事件 + client 端 DOM overlay),不改 DSH 任何核心代码。三个模式自动切换: - LLM 下一条建议 (草稿为空):每个回合完成后,把最近几轮对话脱敏后发给建议模型(默认继承主请求路由,不额外配置),产出一条「你大概率会输入的下一句」——Claude Code 同款体验。长会话开启摘要后,早期目标与偏好也会保留,建议质量不随会话长度下降。 - 历史前缀补全 (草稿非空):zsh autosuggestions 式——从会话历史找前缀命中项,按新近度为主、会话内频次与跨会话热度为辅打分取最优,灰色显示剩余部分。全/半角标点、空白、大小写差异不影响匹配。即时、无网络。 - 停顿续写 (草稿非空):输入停 inlineDelayMs (默认 100ms)后发一次续写请求,把光标处的下半句以幽灵补出,Tab 整条采纳、 → 逐词采纳。 耗时与体感预期 : inlineDelayMs 只决定"何时发请求",模型返回本身实测 1.1 17 秒 (2026-10-20 真实环境 42 次生成:最快 1100ms、中位 4900ms、最慢 16986ms),所以停顿后马上等通常看不到。…

Open on GitHub

Project details

by
dsh-plugin-collection
License
MIT
stars
5
Forks
1
Updated
Nov 2, 2026
Created
Sep 1, 2026
Language
JavaScript
Indexed from
topic
Visit homepage

Related entries

Similar tools from the same corner of the ecosystem.

View all
Plugin

dsh-prompt-predict

ferrisching

输入框提示词联想插件:助手回复结束后预测你的下一句话,以灰色 ghost text 浮在输入框里,Tab 采纳、Esc 忽略 | Codex-style composer prompt predictions for DeepSeek Harness: your next message ghosted into the composer, accepted with Tab.

deepseekdeepseek-harnessdeepseek-harness-plugin
4Ready to use
78/100
Plugin

dsh-suggest-actions

hiJoeLee

在每条回复下方给出可点的下一步建议,点一下就作为你的消息发出去

ai-agentdeepseek-harnessdsh
4Ready to use
82/100
Plugin

dsh-prompt-history

Xiaofei-fei

DSH web plugin: terminal-style composer — shell history (↑/↓, prefix search, Ctrl+R), Codex-style completion and next-prompt prediction, selection toolbar (copy/quote/side chat), right-click paste, draggable chat TOC, and a parallel side-chat thread in the right sidebar.

autocompletecomposerdeepseek-harness
11Ready to use
80/100