swenbo1-web/dsh-web-search-button ↗★ 1
dsh-web-search-button
联网搜索按钮与 /search 命令插件,在输入框左下角提供一键开关的联网搜索状态按钮,无弹窗干扰。
AI 分析
核心用途是快速、无缝地切换会话的联网搜索状态。适合需要频繁在本地知识库与实时网络检索之间切换的用户,点击即可直接生效,不打断打字输入流。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:swenbo1-web/dsh-web-search-button说明文档
阅读完整 README ↗💡 Usage
Mode 1: Composer Toggle Button (Lit Up / Dimmed)
- Open any session; the
[ 🌐 联网搜索 ]button is displayed on the bottom-left of the input bar. - Click once ➔ Directly Lits Up (Bright green/accent background + white text + subtle glow):
- Web Search Mode is ON;
- Zero dialogs, zero alerts, zero prompt confirmations!
- All subsequent messages in this session will automatically invoke
web_searchfor real-time information; - Focus is smoothly preserved on the text box so you can continue typing without interruption.
- Click again ➔ Directly Dims (Neutral/muted background):
- Web Search Mode is OFF, returning to normal chat.
Mode 2: Slash Command
Type slash commands directly into the input bar and press Enter:
/search # One-shot direct web search
/search on # Enable persistent Web Search Mode (turns button ON / Lit up)
/search off # Disable Web Search Mode (turns button OFF / Dimmed)