FrankZhangIronly/dsh-composer-enter
FrankZhangIronly★ 0JavaScript最后同步: 2026-08-14
DSH web plugin: remap how Enter behaves in the chat composer (send / newline / interject), persisted to settings.yaml.
README 摘要
dsh-composer-enter A DeepSeek Harness (DSH) web plugin that lets you remap how the Enter key behaves in the chat composer — pick which key combination sends the message, which one inserts a newline, and which one triggers the interject (queue / steer) action. The plugin is shipped as a two-sided DSH plugin : a host (Node) half that owns the settings namespace and a loopback RPC channel, and a browser half that renders the key-mapping row in Settings → General and intercepts Enter at the document capture phase. 🌏 中文版本 / Chinese version is also available. Features - Settings row in General settings with three key recorders: Send message , Insert newline , Interject (other) . - Persistent configuration stored in /settings.yaml under the namespace ui-composer-enter . Edit the file directly and the UI refreshes on save. - Document-capture Enter interceptor that runs before React's listeners, with full respect for IME composition ( isComposing / keyCode 229) and readonly states. - Invariant enforcement : send and newline are always complementary (exactly one of them is plain Enter); the interject key is always a distinct combination. Conflicting selections are auto-corrected. - Zero cha…
在 GitHub 查看完整 README →