Files
Fu-Jie_openwebui-extensions/plugins/tools/batch-install-plugins/v1.1.0_CN.md
Fu-Jie 8573a0d7b0 feat: add interactive selection dialog to batch installer (#60)
* feat: add interactive selection dialog to batch installer

* feat: improve batch installer selection dialog

* feat: add search and filtering to batch installer dialog

* fix: sync type filter with selected plugins

* fix: sync search results with selected plugins

* feat: add multi-repository batch install support

* fix: clarify single-call multi-repo usage

* feat: add repository filters to selection dialog

* refactor: simplify selection dialog header

* docs: simplify batch installer quick start

* docs: feature batch installer on homepage
2026-03-16 15:39:14 +08:00

2.0 KiB

概述

Batch Install Plugins from GitHub v1.1.0 将原本的安装确认步骤升级为基于 OpenWebUI execute 事件的交互式插件选择器。现在,用户可以先在浏览器对话框中查看过滤后的插件列表,取消勾选不想安装的项,然后只安装最终选中的插件子集。

📖 README

亮点

  • 交互式选择对话框:不再只使用基础 confirmation 事件,而是打开带类型筛选、关键词搜索、描述信息和复选框的浏览器对话框
  • 多仓库输入:一次请求支持多个 owner/repo,并在对话框中按仓库分组展示
  • 选择性安装:安装循环只会处理用户最终保留勾选的插件
  • 仓库上下文:对话框中会显示当前仓库,并且只展示真正有用的排除信息
  • 本地化 UI:对话框控件已为所有支持语言提供本地化文本
  • 工作流不回退:原有的插件发现、过滤、自动更新和连接回退逻辑保持不变

技术说明

  • 使用 __event_call__({"type": "execute"}) 替换安装确认步骤
  • 新增仓库解析和多仓库发现聚合流程,再进入过滤与安装阶段
  • 返回包含 confirmedselected_ids 的结构化结果
  • 保留原有的 120 秒用户交互超时时间
  • 安装顺序仍与用户传入的仓库顺序和过滤后的候选列表保持一致

验证

  • 已通过 python -m py_compile plugins/tools/batch-install-plugins/batch_install_plugins.py 进行 Python 语法校验
  • README 与镜像文档已同步为新的交互式选择流程

升级说明

  • 不需要新增 Valves
  • 现有提示词仍可继续使用
  • 安装开始前会新增一个插件选择器步骤
  • 现在单次请求就可以把多个仓库合并到同一个选择对话框