DSH | dsh-input-assist | 你的智能体输入框还停在上个时代——Copilot 式补全 + 错别字检查 #6313
Replies: 4 comments
|
0.3.0 更新 · Custom dictionary + English spell check 自定义词库(仅本浏览器) — 设置卡片底部直接编辑你自己的错词表,一行一条 英文拼写检查 — 词典层新增 211 条高置信英文数据:高频错拼( 升级到 v0.3.0: dsh plugin --profile web remove dsh-input-assist && dsh plugin --profile web add dsh-input-assist |
|
0.4.0 更新 · Custom dictionary list editor 自定义词库改版 — textarea(一行一条
dsh plugin --profile web update dsh-input-assist # 或 @honlnk/dsh-input-assist已装用户也可以在设置 → 插件里直接更新。词典数据、检查行为无变化,仅编辑体验改版。 |
|
0.5 – 0.7.1 更新 · 在途取消 / 流式渐显 / dsh 0.1.5 适配
升级 dsh 到 0.1.5 后发现打字不出补全建议的用户,请把插件更新到 0.7.1: dsh plugin --profile web add dsh-input-assist@0.7.1 |
|
新增动态演示:ghost text 流式渐显 + Live demo added to the post above — streaming ghost text with word-by-word Tab accept, and typo underline + quick fix. v0.7.1 also supports the 0.1.5-rc.2 contenteditable composer, with automatic fallback for the 0.1.1 runtime. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Claude Code、Codex、Cursor、VS Code Chat——你每天给智能体打几百字指令,但没有一家的输入框有补全。这个插件把输入框带到该有的样子:打字,停顿,灰色建议出现在光标后;
Tab一个词一个词地采纳。中文还有错别字检查:在/再、的/得/地、recieve→receive,红波浪线标在文中,点击即修。(中文演示:输入停顿后 ghost 建议流式渐显 →
Tab逐词采纳 → 「迫不急待」红波浪线标红 →Ctrl+Shift+F一键修正)(English demo: typing → streaming ghost suggestion →
recievered-underlined with the typo bar → one-key fix toreceive)它做什么 / What it does
输入补全(ghost text)
Tab可在生成中途采纳Tab逐词采纳(中文按词切分)、Shift+Tab全量采纳、Esc关闭;IME 组合期一律放行Esc/ 关开关会真正取消在途请求——迟到响应不复活、不白烧 token中英混排错别字检查(两层)
recieve→receive、defualt→default、github→GitHub)+ 上下文规则,浏览器本地 200ms 即时标红、零成本obj.method这类标识符一律不查自定义词库(仅本浏览器)
.txt(错词 => 正词一行一条),换浏览器/换机器随身带An inline ghost-text completion + bilingual typo checker for the dsh composer: FIM suggestions stream in right after your cursor (SSE progressive render,
Tabaccepts word by word, in-flight requests truly cancelled), errors from a 100%-local dictionary layer plus an optional LLM pass get red underlines in the text with per-item click-to-fix — and a per-browser custom dictionary on top.安装 / Install
dsh plugin --profile web add dsh-input-assist # 或 @honlnk/dsh-input-assist dsh --profile webAPI key 三选一:什么都不做(自动复用 dsh 已存的
DEEPSEEK_API_KEY)/设置页卡片里填/settings.yaml配置。词典层无需任何配置、离线可用。当前版本 0.7.1:兼容 dsh 0.1.5-rc.2(官方 latest,含 contenteditable 新输入框)与 0.1.1 旧运行时(网络层自动降级,无需配置)。
项目地址:https://github.com/honlnk/dsh-input-assist (TypeScript、116 项测试、双语 README、详细开发文档)——欢迎 issue / PR / 此帖回帖反馈。
All reactions