lzbaclz/dsh-selection-ask

lzbaclz★ 6JavaScript最后同步: 2026-08-16

在 GitHub 打开

ChatGPT-style select→ask for DeepSeek Harness Web: select text in a conversation, a floating 「询问 DeepSeek」 button appears — click it to quote the selection into the composer.

README 摘要

dsh-selection-ask 简体中文 · Installation · Usage · Development · Troubleshooting · License Select it. Quote it. Ask DeepSeek. DeepSeek Harness is a text-first terminal/agent workspace. But quoting a piece of context back into the chat should be one gesture, not a copy-paste chore. dsh-selection-ask gives the web GUI a ChatGPT-style selection helper: select text in a conversation and a floating 「询问 DeepSeek」 button appears beside it. Click it — the selection is quoted into the composer as a Markdown blockquote ( ), the composer is focused, and the caret is parked at the end. Just type your follow-up and send. Why - Zero friction quoting — the exact gesture you know from ChatGPT, in DeepSeek Harness. - Official integration, no hacks — writes through the harness's inputActions.setDraft input-machine API, so undo history and draft persistence keep working. It never touches DSH internals or DOM state directly. - One command to install — the compiled lib/ is committed, so a github: install fetches ready-to-load artifacts with no build step. Features - Button follows the selection — positioned at the selection's screen coordinates ( position: fixed ), clamped to the viewport, hidden once the…

在 GitHub 查看完整 README →
终端/TUIcomposerdeepseek-harnessdshdsh-pluginquoteselection

分类