Overview
dsh-composer-keys
为 DeepSeek Harness Web 的聊天输入框自定义发送、换行与打断键位,并提供可隔离切换的键位方案(内置 2 套 + 自定义 ≤3 套);适配 DSH 0.1.7-rc.1/rc.2(兼容 ≤0.1.6),默认保持 DSH 原生行为,忙碌时的排队/转向语义仍由原生「繁忙时 Enter 键行为」设置决定。Customizable send/newline/interrupt key bindings with isolated scheme presets for the DeepSeek Harness web composer; adapts DSH 0.1.7-rc.1/rc.2 (and ≤0.1.6). Native behavior is preserved by default; busy queue-vs-steer stays owned by the native Busy-Enter setting.
README / EN
Package documentation
Registry summary
为 DeepSeek Harness Web 的聊天输入框自定义发送、换行与打断键位,并提供可隔离切换的键位方案(内置 2 套 + 自定义 ≤3 套);适配 DSH 0.1.7-rc.1/rc.2(兼容 ≤0.1.6),默认保持 DSH 原生行为,忙碌时的排队/转向语义仍由原生「繁忙时 Enter 键行为」设置决定。Customizable send/newline/interrupt key bindings with isolated scheme presets for the DeepSeek Harness web composer; adapts DSH 0.1.7-rc.1/rc.2 (and ≤0.1.6). Native behavior is preserved by default; busy queue-vs-steer stays owned by the native Busy-Enter setting.
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
- DSH 大版本升级若改变输入框 DOM 结构(目前锚点是 `[data-input-scroll]`),拦截可能失效——失效模式是"插件静默不生效",不会破坏原生功能。Lexical 换行适配依赖 `__lexicalEditor`、`_commands` 与命令的 `type` 标签;插件不会绕过编辑器直接改 DOM。 - 面板样式全部引用 DSH 官方语义 token(`--dsw-alias-*`),深浅色随主题自动切换,仅保留浅色兜底。 - 需要重启 `dsh web` 才能加载新的插件代码(浏览器侧需硬刷新)。
