Repository navigation
Composer predictions — ghost-text next-message suggestions for the DSH composer #10053
Amir-Bazylkhanov
started this conversation in
Show Your Plugins!
Replies: 1 comment 3 replies
|
独立做了个几乎同款的( 有件事值得替用户说出来:两个别同时装。 都会往同一个输入框里画灰字,结果是两条重叠的建议 + 每轮两笔辅助调用。你的版本里有没有检测「已经有别的 ghost 在场」?我这边只判了 接缝上也留个对照:我这边是浏览器侧判定( 顺带问一句:输入法组字结束那一下,你是怎么避免灰字闪一下又消失的?这是我这版目前最不稳的地方。 |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Composer predictions for DeepSeek Harness — ghost-text suggestions for your next message.
When an assistant turn ends, the plugin asks your configured model what you would most plausibly send next and paints it dimly in the empty composer. Tab inserts the whole suggestion into the draft (nothing is sent); Esc dismisses it. Suggestions never enter the draft, transcript, or history until you accept one.
Install
Restart DSH afterwards (the host half composes at boot).
What it does
ctx.llm, i.e. your deployment's own provider route and credentials (deepseek-account, Kimi, …). Reasoning is pinned to the model's cheapest advertised effort.settings.sectionpage.How it is built
cordis.patch.ymlinserts the host half; the browser half registers intoconversation.input.overlayandsettings.section.POST /api/composer-predict/rpc:config.get,config.set,predict,cancel) and persists config to its own JSON document in$DSH_HOME.Notes
0.2.1-rc.2.navIconis hardcoded per section id — third-party sections otherwise get the gear. If the shell markup changes, the plugin silently falls back to the gear.Links: GitHub · npm
Feedback very welcome — especially bad predictions, IME handling, and composer edge cases (attachments, very long drafts).
All reactions