chancoki/dsh-model-search-plugin0

dsh-model-search-plugin

DSH client plugin — keyword search when selecting models in the Web GUI

AI 分析

核心用途是为 Web 界面的模型选择器增加搜索框。适合配置了大量模型、需要通过关键字快速过滤和切换模型的 Web 端用户。

パッケージ
dsh-model-search-plugin
バージョン
1.0.7
最終更新
2026/08/24

インストール

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

ドキュメント

README 全文を読む ↗

使用 API

// 配置
DSHModelSearchPlugin.configure({
  placeholder: '搜索模型...',    // 搜索框占位文本
  debounceDelay: 200,            // 防抖延迟(ms)
  hideUnmatched: true,           // 隐藏不匹配项
  focusHotkey: 'f',              // 快捷键(需要 Ctrl/Cmd)
  focusRequiresModifier: true,   // 是否需要 Ctrl/Cmd 修饰键
});

// 激活
DSHModelSearchPlugin.activate();

// 停用
DSHModelSearchPlugin.deactivate();

// 检查状态
var active = DSHModelSearchPlugin.isActive();