Repository navigation
dsh-next-hint — 回合结束后,输入框里自己浮出一句「接下来可以问什么」(Tab 采纳,不自动发送) #10397
xiaoshenming
started this conversation in
Show Your Plugins!
Replies: 4 comments
|
0.1.1 已发布 —— 修的就是「灰字有时有、有时没有」。 根因不在客户端竞态:系统指令最后一行自己留了逃逸口 实测(DSH 0.2.1-rc.2,隔离 web profile + 真实会话,4 轮):2 轮 改了什么:
版本 0.1.1( 顺带说一句:桌面 profile 由应用独占, 另外重申:别和 |
0 replies
|
0.1.2:IME 组合期不再画灰字。
|
0 replies
|
0.1.3:与
|
0 replies
|
0.1.5:安全性补丁 + 同类全景。
|
0 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.
Uh oh!
There was an error while loading. Please reload this page.
TL;DR — 一轮对话结束、输入框是空的时候,第一行自己浮出一句「接下来可以问什么」的灰字;按 Tab 采纳进草稿,绝不会自动发送。Claude Code 那种 prompt suggestions 的 DSH 版。
仓库:https://github.com/xiaoshenming/dsh-next-hint (MIT · 非官方 · 独立开发)
它凭什么值得装
安装
桌面端:设置 → 插件 → 添加 git 包
github:xiaoshenming/dsh-next-hint#main,重启一次应用(插件在启动时进花名册)。CLI 等价写法见 README。兼容
ctx.llm+ctx.sessions+ctx.webServer.register;浏览器半边挂在官方槽位conversation.composer.dock上,灰字节点自己画(官方没有开放行内 hint 的写入口)。几个实现取舍(给写插件的同学)
In English: dsh-next-hint paints a ghost suggestion on the composer's first line when a turn settles. Tab accepts it into the draft; nothing is ever sent. It reads the session's own last few turns on the host, spends one decoupled auxiliary request, and fails silently. Measured on DSH Desktop 0.2.1-rc.2 (Windows), MIT.
同类:写完之后才发现的
发布前扫了一遍社区,才发现三天前已经有一个几乎同款的 Composer predictions(dsh-composer-prediction)。两边都是「回合结束 → 一笔辅助请求 → 灰字 → Tab 采纳」,都复用
ctx.llm、都把推理档压到模型最低档 —— 看来这是这类功能的自然解。差异在接缝上:它挂
conversation.input.overlay、自带设置页与配置持久化 RPC、按会话缓存建议;我走官方槽位conversation.composer.dock、宿主无状态(一次 POST 一来一回)、配置直接用宿主的 schemastery 设置页。取舍不同,各有各的脆点。两个别同时装:都会往输入框里画灰字,也都会每轮各花一笔模型调用。
All reactions