DSH Plugin MarketA community catalog for DeepSeek Harness plugins

dsh-prompt-prediction

Verified Sessions & messages ★ 4 0.2.4

Unofficial DeepSeek Harness plugin for next-prompt ghost text; Tab or ArrowRight fills an editable draft without sending it.

What it is

Unofficial DeepSeek Harness plugin for next-prompt ghost text; Tab or ArrowRight fills an editable draft without sending it.

How to install

Run this in the DSH web profile, then refresh the page.

$ dsh plugin --profile web add dsh-prompt-prediction@0.2.4

DSH versions accepted

>=0.2.1-rc.5 <0.3.0

Author and traction

QingJ01 · ★ 4 · Updated 2026-11-05

About this plugin

DSH Prompt Prediction

让下一句提示词先出现在输入框里,由你决定是否采用。

DeepSeek Harness(DSH)的非官方插件:Agent 正常完成一轮回复后,预测你可能输入的下一句话,以灰字显示在空输入框中。按 Tab / → 填入可编辑草稿,不会自动发送。

中文 · [English](README.en.md) · [安装](#安装) · [配置](#配置) · [排障](#常见问题) · [开发与测试](#开发与测试)

| 项目 | 说明 |

| --- | --- |

| 运行环境 | DSH 插件,不是独立聊天应用或浏览器扩展 |

| 声明兼容范围 | DSH >=0.2.1-rc.5 <0.3.0;接口回归覆盖 0.2.1-rc.5 与 0.2.2-rc.1,不等于完整 Desktop 验收 |

| Node.js | >=24.0.0;本地开发和测试需要 |

| 构建与依赖 | 无构建步骤;DSH 提供 Cordis、Schemastery、React 等宿主能力 |

| 模型费用 | 预测会额外请求模型,可能计费 |

| 本地日志 | 默认开启,可能记录预测及交互文本;可用 auditLog: false 关闭 |

| 许可证 | [MIT](LICENSE) |

效果预览

由插件前端渲染,建议内容为示例文本;这不是模型准确率或完整 DSH 端到端验收证明。

中文说明

交互参考 Codex 的下一句预测,但不是 Codex 或 DeepSeek 的官方插件。建议只是模型推测,采纳后仍应检查;插件不会替你发送消息或执行预测中的工具调用。

安装

前提:已安装兼容的 DSH,终端可运行 dsh,目标 profile 中的会话已有可用模型路由。

从 npm 安装(推荐):

dsh plugin --profile desktop add dsh-prompt-prediction

改用本地源码(需要改动或调试时):

git clone https://github.com/QingJ01/dsh-prompt-prediction.git
cd dsh-prompt-prediction
dsh plugin --profile desktop add "link:$(pwd)"
  • 使用其他 profile 时,将 desktop 替换为对应名称。
  • 刷新已有 DSH 窗口以加载前端;Host 插件未自动加载时重启 DSH。
  • link 安装依赖该目录,请勿移动或删除;两种方式都无需 npm install 或构建。

更新与移除

npm 安装的版本需要重新添加以升级:

dsh plugin --profile desktop remove dsh-prompt-prediction
dsh plugin --profile desktop add dsh-prompt-prediction

link 安装在插件目录中、确认本地修改已保存后更新:

git pull --ff-only

随后重启 DSH 并刷新窗口,使 Host 与前端使用同一版本。若快进更新失败,先处理本地分支差异,不要用强制重置覆盖自己的修改。

dsh plugin --profile desktop remove dsh-prompt-prediction

移除插件不会由本插件清理已有审计日志;如需删除记录,请自行处理下方说明的日志目录。

使用方式

1. 正常提问,等待 Agent 正常完成一轮回复;失败、中断、取消等状态不触发预测。

2. 输入框完全为空且没有附件、引用或排队消息时,才可能显示灰字建议。

3. 聚焦输入框,采纳或忽略建议;采纳后可修改,再自行发送。

| 操作或状态 | 行为 |

| --- | --- |

| Tab / → | 填入可编辑草稿,支持撤销、重做,不发送 |

| Esc | 忽略当前建议,随后 Tab 可移动焦点;轮询不恢复同一轮的同一条建议 |

| Enter | 保留 DSH 原有发送、排队、命令处理逻辑,不用于采纳 |

| 输入文字、IME 组字、打开菜单 | 隐藏建议,不干扰当前输入 |

| 会话运行中、Plan 模式或输入框禁用 | 隐藏建议 |

| 长建议 | 单行省略预览,采纳时填入完整建议 |

| 删除草稿至空白 | 当前建议未被忽略且仍有效时,可以再次显示 |

插件提供供辅助技术读取的建议全文与按键说明;这不等于已经完成各类屏幕阅读器实测。状态读取请求超过 5 秒会隐藏旧建议并退避重试;这与模型请求的 timeoutMs 是两个不同限制。

配置

Compare in this category

The five most-starred plugins in the same category.

PluginAuthor StarsVersionUpdated
dsh-purge kingcharleslzy-ai 6.3K 1.6.86 2026-11-08
dsh-unrestricted yexi-by 1.1K 0.2.8 2026-11-05
dsh-univer-office dream-num 707 0.4.0 2026-11-03
dsh-synapse liangmianya 697 0.5.7 2026-11-04
dsh-qqbot tencent-connect 570 0.5.5 2026-11-08