swenbo1-web/dsh-web-search-button1

dsh-web-search-button

联网搜索按钮与 /search 命令插件,在输入框左下角提供一键开关的联网搜索状态按钮,无弹窗干扰。

AI 分析

核心用途是快速、无缝地切换会话的联网搜索状态。适合需要频繁在本地知识库与实时网络检索之间切换的用户,点击即可直接生效,不打断打字输入流。

包名
dsh-web-search-button
版本
0.1.0
许可证
MIT
最近更新
2026年9月8日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:swenbo1-web/dsh-web-search-button

💡 Usage

Mode 1: Composer Toggle Button (Lit Up / Dimmed)

  1. Open any session; the [ 🌐 联网搜索 ] button is displayed on the bottom-left of the input bar.
  2. 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_search for real-time information;
    • Focus is smoothly preserved on the text box so you can continue typing without interruption.
  3. 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)