DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-tab-complete

d

dsh-tab-complete

Identified

Predicts the next user message as composer ghost text using the configured DSH model; Tab fills the draft without sending, with time-aware context and cached suggestions.

DSH 下一句预测(dsh-tab-complete)

简体中文(默认) | English

为 DeepSeek Harness 输入框提供下一句灰字建议,按 Tab 填入草稿,用户自行确认后发送。

预测始终开启,会把当前可见会话末尾最多 2000 个字符、当前时间、本地时区及可用的最后消息时间交给 DSH 已配置的模型,可能产生用量或费用。停用请卸载插件。

安装

先结束正在生成的会话并完整退出 DSH,再执行:

dsh plugin --profile desktop add github:FurinaLiF/dsh-tab-complete

重新打开 DSH,进入已有会话,在助手停止生成且输入框为空时等待灰字建议。本版不显示预测开关按钮。仓库自带可读 JS,无需额外构建。若 DSH 的包管理器提示构建授权,请先阅读其具体提示,勿整体关闭安全检查。

卸载:退出 DSH,执行 dsh plugin --profile desktop remove dsh-tab-complete,再重新打开。

使用

  • Tab:采用建议,仅填入草稿,不自动发送、不执行建议中的操作。
  • 采用后删空草稿:恢复同一轮、同一天的缓存建议,不新增模型调用。
  • Esc:放弃当前建议。
  • 输入文字或助手生成中:隐藏建议。
  • 每个客户端运行期间,每个观察到的会话轮次、每个本地日期最多请求一次;没有模型结果时保持空白。重新启动会重建缓存。
  • 跨天后回到窗口/页面会使旧缓存失效并重新预测,避免沿用昨天的时间措辞。
  • 预测根据当前时间和历史消息时间理解“明天/今晚”等表达;消息时间缺失时标为未知,不猜具体日期。时区不可解析时标注 UTC。

建议可能猜错,包括提出用户尚未同意的操作。只有用户实际发送的消息才是指令。

兼容性与验证边界

在 Windows 桌面版 DSH 0.2.1-rc.2 验证过真实模型返回、灰字显示和 Tab 填入草稿。后续 0.3.1/0.3.2 的开关移除、缓存恢复、时间边界通过离线回归;尚未逐项重新进行真实模型与界面验收。其它系统和 DSH 版本的兼容性未验证。web profile 可尝试相同安装命令,但没有独立网页运行验收。

需要 DSH 的 conversation.input.overlay 插槽、inputActions.captureInsertion/insertText、webServer 和 llm 服务。没有模型服务时不显示建议,不要求另填 API key。

隐私与诊断

上下文由 DSH 的已配置模型通道处理,不经过作者服务器。插件通过同源 HTTP 路由与 DSH 通信,预测路由使用 DSH 的连接准入检查。诊断位于 DSH_HOME(未设置则为用户目录下 .dsh)中的 dsh-tab-complete/debug.jsonl,只记录路由、事件类型、结果长度等,不记录会话正文。

反馈时提供 DSH 版本、系统、具体按键效果和脱敏错误提示即可;不要提交密钥、完整会话、完整配置或完整日志。

离线测试

node test/host.test.mjs
node test/client-state.test.mjs

测试使用模拟服务和 React 插槽适配器,不发送真实模型请求。宿主测试会写入诊断文件;可先将 DSH_HOME 指向临时目录。

许可证

MIT,见 LICENSE。

Comments

Loading…

Similar plugins

dsh-ghost-prompt

by MochiNek0

Predicts your next message after each completed turn and shows it as ghost text in the composer: press → to accept, or keep typing and finish it word by word with Ctrl+→, Esc to dismiss. The predictio

UI & ExperienceSessions & MessagesManifest valid

★ 1

MIT

TypeScript

Oct 22, 2026

dsh plugin --profile web add dsh-ghost-prompt

by dsh-plugin-collection

给 DSH 输入框加上输入预测:回合结束后自动建议你的下一句话,Tab 一键采纳;输入时按会话历史做前缀补全。输入预测 / 自动补全。

UI & ExperienceTerminal & ClientsManifest valid

★ 8

↓ 459/wk

MIT

JavaScript

Nov 12, 2026

dsh plugin --profile web add dsh-suggest-ghost

by WuweiRE

Composer suggestions for DeepSeek Harness: next-message ghost text after a reply and Tab-triggered draft continuation.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Nov 18, 2026

dsh plugin --profile web add dsh-composer-suggest

Composer prompt enhancement for DSH Web: a ✨ button rewrites the current draft in place after asking only about genuine ambiguity, and an empty composer shows a grey next-message ghost that Tab or a c

UI & ExperienceManifest valid

★ 0

MIT

TypeScript

dsh plugin --profile web add dsh-composer-enhance

by Tleon-H

After each reply, shows a gray next-prompt suggestion in the empty composer that Tab or → accepts, and ↑ in an empty composer recalls your last sent message; nothing is sent automatically.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 28, 2026

dsh plugin --profile web add dsh-next-prompt

by songshuhuoban

Suggests the next user reply in an empty composer after the assistant finishes, using the session model and rolling context summaries, with Tab to accept.

UI & ExperienceManifest valid

★ 0

MIT

TypeScript

Oct 18, 2026

dsh plugin --profile web add dsh-next-input