概览
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.收起技术说明
为 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 / ZH
插件文档
目录摘要
为 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 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- DSH 大版本升级若改变输入框 DOM 结构(目前锚点是 `[data-input-scroll]`),拦截可能失效——失效模式是"插件静默不生效",不会破坏原生功能。Lexical 换行适配依赖 `__lexicalEditor`、`_commands` 与命令的 `type` 标签;插件不会绕过编辑器直接改 DOM。 - 面板样式全部引用 DSH 官方语义 token(`--dsw-alias-*`),深浅色随主题自动切换,仅保留浅色兜底。 - 需要重启 `dsh web` 才能加载新的插件代码(浏览器侧需硬刷新)。
