Compare commits
7 Commits
async-cont
...
openwebui-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fbd68ad042 | ||
|
|
b6ce354034 | ||
|
|
df042e471e | ||
|
|
b9f32e72d0 | ||
|
|
bfc2743f3a | ||
|
|
751e255894 | ||
|
|
9deb942208 |
16
README.md
16
README.md
@@ -26,7 +26,7 @@ A collection of enhancements, plugins, and prompts for [open-webui](https://gith
|
||||
| 🥇 | [Smart Mind Map](https://openwebui.com/posts/turn_any_text_into_beautiful_mind_maps_3094c59a) |  |  |  |  |
|
||||
| 🥈 | [Smart Infographic](https://openwebui.com/posts/smart_infographic_ad6f0c7f) |  |  |  |  |
|
||||
| 🥉 | [Markdown Normalizer](https://openwebui.com/posts/markdown_normalizer_baaa8732) |  |  |  |  |
|
||||
| 4️⃣ | [Async Context Compression](https://openwebui.com/posts/async_context_compression_b1655bc8) |  |  |  |  |
|
||||
| 4️⃣ | [Async Context Compression](https://openwebui.com/posts/async_context_compression_b1655bc8) |  |  |  |  |
|
||||
| 5️⃣ | [Export to Word Enhanced](https://openwebui.com/posts/export_to_word_enhanced_formatting_fca6a315) |  |  |  |  |
|
||||
| 6️⃣ | [AI Task Instruction Generator](https://openwebui.com/posts/ai_task_instruction_generator_9bab8b37) |  |  |  |  |
|
||||
|
||||
@@ -38,23 +38,17 @@ A collection of enhancements, plugins, and prompts for [open-webui](https://gith
|
||||
|
||||
## 🌟 Star Features
|
||||
|
||||
### 1. [GitHub Copilot Official SDK Pipe](https://openwebui.com/posts/github_copilot_official_sdk_pipe_ce96f7b4)    
|
||||
### 1. [GitHub Copilot Official SDK Pipe](https://openwebui.com/posts/github_copilot_official_sdk_pipe_ce96f7b4)    
|
||||
|
||||
**The ultimate autonomous Agent integration for OpenWebUI.** Deeply bridging GitHub Copilot SDK with your OpenWebUI ecosystem. It enables the Agent to autonomously perform **intent recognition**, **web search**, and **context compaction** while reusing your existing tools, skills, and configurations for a professional, full-featured experience.
|
||||
|
||||
> [!TIP]
|
||||
> **No GitHub Copilot subscription required!** Supports **BYOK (Bring Your Own Key)** mode using your own OpenAI/Anthropic API keys.
|
||||
|
||||
#### 🚀 Key Leap (v0.12.0)
|
||||
#### 🚀 Key Leap (v0.12.1)
|
||||
|
||||
- **🚀 High-Performance Shared Pool**: Eliminated 1-2s process startup latency between turns via a persistent client pool.
|
||||
- **🔑 Pure BYOK Mode**: Now supports full operation without a `GH_TOKEN`, relying solely on custom API keys.
|
||||
- **📏 RichUI Stability**: Fixed height calculation issues for a rock-solid interactive component experience.
|
||||
- **🩺 Smart Stall Detection**: Integrated `client.ping()` to rescue heavy tasks from premature timeouts.
|
||||
- **📋 Live TODO Widget**: Compact real-time task tracking synchronized with `session.db`, now automatically hidden when all tasks are completed.
|
||||
- **🔌 Seamless Ecosystem Integration**: Automatically injects and reuses your OpenWebUI **Tools**, **MCP**, **OpenAPI Servers**, and **Skills**.
|
||||
- **🌐 Language Consistency**: System prompts mandate that Agent output language remains strictly consistent with user input.
|
||||
- **🛡️ Secure Isolation**: Strict user/session-level **Workspace Sandboxing** with user-isolated environment variables.
|
||||
- **🛡️ Disable Terminal Tools for AI**: Terminal server tools are now filtered out at the pipe level, preventing AI from calling them while keeping terminal functionality available to users.
|
||||
- **🎨 RichUI Theme-Aware CSS Variables**: Added CSS custom properties that automatically adapt to light/dark themes for better text contrast.
|
||||
- **📊 Interactive Delivery**: Full support for **HTML Artifacts** and **RichUI** rendering, providing instant interactive previews and persistent downloadable results.
|
||||
- **🛠️ Deterministic Toolchain**: Built-in specialized tools for skill lifecycles (`manage_skills`) and system optimization.
|
||||
|
||||
|
||||
16
README_CN.md
16
README_CN.md
@@ -23,7 +23,7 @@ OpenWebUI 增强功能集合。包含个人开发与收集的插件、提示词
|
||||
| 🥇 | [Smart Mind Map](https://openwebui.com/posts/turn_any_text_into_beautiful_mind_maps_3094c59a) |  |  |  |  |
|
||||
| 🥈 | [Smart Infographic](https://openwebui.com/posts/smart_infographic_ad6f0c7f) |  |  |  |  |
|
||||
| 🥉 | [Markdown Normalizer](https://openwebui.com/posts/markdown_normalizer_baaa8732) |  |  |  |  |
|
||||
| 4️⃣ | [Async Context Compression](https://openwebui.com/posts/async_context_compression_b1655bc8) |  |  |  |  |
|
||||
| 4️⃣ | [Async Context Compression](https://openwebui.com/posts/async_context_compression_b1655bc8) |  |  |  |  |
|
||||
| 5️⃣ | [Export to Word Enhanced](https://openwebui.com/posts/export_to_word_enhanced_formatting_fca6a315) |  |  |  |  |
|
||||
| 6️⃣ | [AI Task Instruction Generator](https://openwebui.com/posts/ai_task_instruction_generator_9bab8b37) |  |  |  |  |
|
||||
|
||||
@@ -42,16 +42,10 @@ OpenWebUI 增强功能集合。包含个人开发与收集的插件、提示词
|
||||
> [!TIP]
|
||||
> **无需 GitHub Copilot 订阅!** 支持 **BYOK (Bring Your Own Key)** 模式,使用你自己的 OpenAI/Anthropic API Key。
|
||||
|
||||
#### 🚀 核心进化 (v0.12.0)
|
||||
#### 🚀 核心进化 (v0.12.1)
|
||||
|
||||
- **🚀 高性能共享池**:通过单例进程池消除了对话间 1-2 秒的进程冷启动延迟,响应更迅速。
|
||||
- **🔑 纯 BYOK 模式支持**:解除对 `GH_TOKEN` 的强制依赖,仅凭自定义 API Key 即可完整运行。
|
||||
- **📏 RichUI 稳定性修复**:彻底解决高度计算循环导致的页面无限变高问题,交互体验更稳固。
|
||||
- **🩺 智能防挂死探测**:在超时判断中引入 `client.ping()` 探测机制,有效减少复杂任务下的误杀中断。
|
||||
- **📋 Live TODO 小组件**:基于 `session.db` 实时任务状态,现在所有任务完成后将自动隐藏 UI,保持界面整洁。
|
||||
- **🔌 生态深度注入**: 自动读取并复用 OpenWebUI **工具 (Tools)**、**MCP**、**OpenAPI Server** 与 **技能 (Skills)**。
|
||||
- **🛡️ 安全沙箱**: 严格的用户/会话级 **工作区隔离**,并实现用户级环境变量隔离。
|
||||
- **🌐 语言一致性**: 提示词强制要求 Agent 输出语言与用户输入保持一致。
|
||||
- **🛡️ 禁用终端工具 AI 调用**: 终端服务器工具已在管道层面被过滤,AI 无法调用这些工具,但用户仍可通过界面使用终端功能。
|
||||
- **🎨 RichUI 主题感知 CSS 变量**: 新增 CSS 自定义属性,自动适配浅色/深色主题,改善文字对比度。
|
||||
|
||||
> [!TIP]
|
||||
> **💡 进阶实战建议**
|
||||
@@ -132,7 +126,7 @@ OpenWebUI 增强功能集合。包含个人开发与收集的插件、提示词
|
||||
|
||||
### Pipes (模型管道)
|
||||
|
||||
- **GitHub Copilot SDK** (`github-copilot-sdk`): 深度集成 GitHub Copilot SDK 的强大 Agent (v0.12.0)。支持高性能进程池优化、纯 BYOK 模式、智能意图识别、自主网页搜索与上下文压缩。
|
||||
- **GitHub Copilot SDK** (`github-copilot-sdk`): 深度集成 GitHub Copilot SDK 的强大 Agent (v0.12.1)。支持高性能进程池优化、纯 BYOK 模式、智能意图识别、自主网页搜索与上下文压缩。
|
||||
|
||||
### Pipelines (工作流管道)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"label": "downloads",
|
||||
"message": "10.9k",
|
||||
"message": "11.0k",
|
||||
"color": "blue",
|
||||
"namedLogo": "openwebui"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"label": "followers",
|
||||
"message": "422",
|
||||
"message": "426",
|
||||
"color": "blue"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"label": "saves",
|
||||
"message": "468",
|
||||
"message": "469",
|
||||
"color": "lightgrey"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"label": "views",
|
||||
"message": "117.2k",
|
||||
"message": "118.4k",
|
||||
"color": "blueviolet"
|
||||
}
|
||||
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"total_posts": 30,
|
||||
"total_downloads": 10862,
|
||||
"total_views": 117161,
|
||||
"total_downloads": 10953,
|
||||
"total_views": 118430,
|
||||
"total_upvotes": 350,
|
||||
"total_downvotes": 16,
|
||||
"total_saves": 468,
|
||||
"total_saves": 469,
|
||||
"total_comments": 98,
|
||||
"plugin_contributions": 22,
|
||||
"by_type": {
|
||||
"tool": 3,
|
||||
"action": 12,
|
||||
"prompt": 2,
|
||||
"pipe": 1,
|
||||
"filter": 4
|
||||
"filter": 4,
|
||||
"action": 12,
|
||||
"prompt": 2
|
||||
},
|
||||
"posts": [
|
||||
{
|
||||
@@ -22,8 +22,8 @@
|
||||
"version": "1.0.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Intelligently analyzes text content and generates interactive mind maps to help users structure and visualize knowledge.",
|
||||
"downloads": 2054,
|
||||
"views": 18204,
|
||||
"downloads": 2068,
|
||||
"views": 18359,
|
||||
"upvotes": 35,
|
||||
"saves": 82,
|
||||
"comments": 23,
|
||||
@@ -39,10 +39,10 @@
|
||||
"version": "1.6.1",
|
||||
"author": "Fu-Jie",
|
||||
"description": "AI-powered infographic generator based on AntV Infographic. Supports professional templates, auto-icon matching, and SVG/PNG downloads.",
|
||||
"downloads": 1528,
|
||||
"views": 15541,
|
||||
"downloads": 1537,
|
||||
"views": 15674,
|
||||
"upvotes": 30,
|
||||
"saves": 60,
|
||||
"saves": 61,
|
||||
"comments": 12,
|
||||
"is_published_plugin": true,
|
||||
"created_at": "2025-12-28",
|
||||
@@ -56,8 +56,8 @@
|
||||
"version": "1.2.8",
|
||||
"author": "Fu-Jie",
|
||||
"description": "A content normalizer filter that fixes common Markdown formatting issues in LLM outputs, such as broken code blocks, LaTeX formulas, and list formatting. Including LaTeX command protection.",
|
||||
"downloads": 978,
|
||||
"views": 10009,
|
||||
"downloads": 983,
|
||||
"views": 10070,
|
||||
"upvotes": 27,
|
||||
"saves": 52,
|
||||
"comments": 6,
|
||||
@@ -70,17 +70,17 @@
|
||||
"title": "Async Context Compression",
|
||||
"slug": "async_context_compression_b1655bc8",
|
||||
"type": "filter",
|
||||
"version": "1.5.0",
|
||||
"version": "1.6.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Reduces token consumption in long conversations while maintaining coherence through intelligent summarization and message compression.",
|
||||
"downloads": 952,
|
||||
"views": 8693,
|
||||
"downloads": 964,
|
||||
"views": 8804,
|
||||
"upvotes": 22,
|
||||
"saves": 57,
|
||||
"comments": 0,
|
||||
"is_published_plugin": true,
|
||||
"created_at": "2025-11-08",
|
||||
"updated_at": "2026-03-22",
|
||||
"updated_at": "2026-03-23",
|
||||
"url": "https://openwebui.com/posts/async_context_compression_b1655bc8"
|
||||
},
|
||||
{
|
||||
@@ -90,8 +90,8 @@
|
||||
"version": "0.4.4",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Export current conversation from Markdown to Word (.docx) with Mermaid diagrams rendered client-side (Mermaid.js, SVG+PNG), LaTeX math, real hyperlinks, improved tables, syntax highlighting, and blockquote support.",
|
||||
"downloads": 935,
|
||||
"views": 7345,
|
||||
"downloads": 940,
|
||||
"views": 7413,
|
||||
"upvotes": 22,
|
||||
"saves": 41,
|
||||
"comments": 8,
|
||||
@@ -107,8 +107,8 @@
|
||||
"version": "",
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 867,
|
||||
"views": 9569,
|
||||
"downloads": 874,
|
||||
"views": 9652,
|
||||
"upvotes": 11,
|
||||
"saves": 28,
|
||||
"comments": 0,
|
||||
@@ -124,8 +124,8 @@
|
||||
"version": "0.3.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Standalone OpenWebUI tool for managing native Workspace Skills (list/show/install/create/update/delete) for any model.",
|
||||
"downloads": 689,
|
||||
"views": 8285,
|
||||
"downloads": 699,
|
||||
"views": 8430,
|
||||
"upvotes": 10,
|
||||
"saves": 31,
|
||||
"comments": 4,
|
||||
@@ -141,8 +141,8 @@
|
||||
"version": "0.3.7",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Extracts tables from chat messages and exports them to Excel (.xlsx) files with smart formatting.",
|
||||
"downloads": 680,
|
||||
"views": 4151,
|
||||
"downloads": 685,
|
||||
"views": 4194,
|
||||
"upvotes": 13,
|
||||
"saves": 13,
|
||||
"comments": 0,
|
||||
@@ -155,17 +155,17 @@
|
||||
"title": "GitHub Copilot Official SDK Pipe",
|
||||
"slug": "github_copilot_official_sdk_pipe_ce96f7b4",
|
||||
"type": "pipe",
|
||||
"version": "0.12.0",
|
||||
"version": "0.12.1",
|
||||
"author": "Fu-Jie",
|
||||
"description": "A powerful Agent SDK integration for OpenWebUI. It deeply bridges GitHub Copilot SDK with OpenWebUI's ecosystem, enabling the Agent to autonomously perform intent recognition, web search, and context compaction. It seamlessly reuses your existing Tools, MCP servers, OpenAPI servers, and Skills for a professional, full-featured experience.",
|
||||
"downloads": 462,
|
||||
"views": 6682,
|
||||
"downloads": 465,
|
||||
"views": 6732,
|
||||
"upvotes": 17,
|
||||
"saves": 12,
|
||||
"comments": 19,
|
||||
"is_published_plugin": true,
|
||||
"created_at": "2026-01-26",
|
||||
"updated_at": "2026-03-22",
|
||||
"updated_at": "2026-03-23",
|
||||
"url": "https://openwebui.com/posts/github_copilot_official_sdk_pipe_ce96f7b4"
|
||||
},
|
||||
{
|
||||
@@ -175,8 +175,8 @@
|
||||
"version": "0.2.4",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Quickly generates beautiful flashcards from text, extracting key points and categories.",
|
||||
"downloads": 366,
|
||||
"views": 5193,
|
||||
"downloads": 368,
|
||||
"views": 5224,
|
||||
"upvotes": 13,
|
||||
"saves": 23,
|
||||
"comments": 2,
|
||||
@@ -192,8 +192,8 @@
|
||||
"version": "1.0.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "A comprehensive thinking lens that dives deep into any content - from context to logic, insights, and action paths.",
|
||||
"downloads": 261,
|
||||
"views": 2145,
|
||||
"downloads": 264,
|
||||
"views": 2166,
|
||||
"upvotes": 7,
|
||||
"saves": 17,
|
||||
"comments": 0,
|
||||
@@ -209,8 +209,8 @@
|
||||
"version": "1.0.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Intelligently analyzes text content and generates interactive mind maps to help users structure and visualize knowledge.",
|
||||
"downloads": 216,
|
||||
"views": 3341,
|
||||
"downloads": 224,
|
||||
"views": 3392,
|
||||
"upvotes": 7,
|
||||
"saves": 10,
|
||||
"comments": 0,
|
||||
@@ -226,8 +226,8 @@
|
||||
"version": "1.1.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "One-click batch install plugins from one or more GitHub repositories to your OpenWebUI instance. If a user mentions multiple repositories in one request, combine them into a single tool call.",
|
||||
"downloads": 183,
|
||||
"views": 4066,
|
||||
"downloads": 188,
|
||||
"views": 4143,
|
||||
"upvotes": 9,
|
||||
"saves": 8,
|
||||
"comments": 6,
|
||||
@@ -244,7 +244,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "将对话导出为 Word (.docx),支持 Mermaid 图表 (客户端渲染 SVG+PNG)、LaTeX 数学公式、真实超链接、增强表格格式、代码高亮和引用块。",
|
||||
"downloads": 181,
|
||||
"views": 3289,
|
||||
"views": 3300,
|
||||
"upvotes": 14,
|
||||
"saves": 7,
|
||||
"comments": 4,
|
||||
@@ -261,7 +261,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "Automatically extracts project rules from conversations and injects them into the folder's system prompt.",
|
||||
"downloads": 143,
|
||||
"views": 2394,
|
||||
"views": 2404,
|
||||
"upvotes": 7,
|
||||
"saves": 15,
|
||||
"comments": 0,
|
||||
@@ -278,7 +278,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "A specialized filter to bypass OpenWebUI's default RAG for GitHub Copilot SDK models. It moves uploaded files to a safe location ('copilot_files') so the Copilot Pipe can process them natively without interference.",
|
||||
"downloads": 102,
|
||||
"views": 2638,
|
||||
"views": 2649,
|
||||
"upvotes": 5,
|
||||
"saves": 1,
|
||||
"comments": 0,
|
||||
@@ -295,7 +295,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "基于 AntV Infographic 的智能信息图生成插件。支持多种专业模板,自动图标匹配,并提供 SVG/PNG 下载功能。",
|
||||
"downloads": 75,
|
||||
"views": 1747,
|
||||
"views": 1756,
|
||||
"upvotes": 10,
|
||||
"saves": 1,
|
||||
"comments": 0,
|
||||
@@ -312,7 +312,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "智能分析文本内容,生成交互式思维导图,帮助用户结构化和可视化知识。",
|
||||
"downloads": 60,
|
||||
"views": 876,
|
||||
"views": 878,
|
||||
"upvotes": 6,
|
||||
"saves": 2,
|
||||
"comments": 0,
|
||||
@@ -329,7 +329,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "通过智能摘要和消息压缩,降低长对话的 token 消耗,同时保持对话连贯性。",
|
||||
"downloads": 49,
|
||||
"views": 965,
|
||||
"views": 966,
|
||||
"upvotes": 7,
|
||||
"saves": 5,
|
||||
"comments": 0,
|
||||
@@ -363,7 +363,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "快速将文本提炼为精美的学习记忆卡片,支持核心要点提取与分类。",
|
||||
"downloads": 37,
|
||||
"views": 1026,
|
||||
"views": 1038,
|
||||
"upvotes": 7,
|
||||
"saves": 1,
|
||||
"comments": 0,
|
||||
@@ -379,8 +379,8 @@
|
||||
"version": "",
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 5,
|
||||
"views": 249,
|
||||
"downloads": 8,
|
||||
"views": 433,
|
||||
"upvotes": 1,
|
||||
"saves": 1,
|
||||
"comments": 0,
|
||||
@@ -397,9 +397,9 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 223,
|
||||
"views": 442,
|
||||
"upvotes": 1,
|
||||
"saves": 0,
|
||||
"saves": 2,
|
||||
"comments": 0,
|
||||
"is_published_plugin": false,
|
||||
"created_at": "2026-03-22",
|
||||
@@ -414,7 +414,7 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 3820,
|
||||
"views": 3828,
|
||||
"upvotes": 8,
|
||||
"saves": 3,
|
||||
"comments": 2,
|
||||
@@ -448,7 +448,7 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 2915,
|
||||
"views": 2917,
|
||||
"upvotes": 9,
|
||||
"saves": 4,
|
||||
"comments": 1,
|
||||
@@ -482,9 +482,9 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 2153,
|
||||
"views": 2165,
|
||||
"upvotes": 15,
|
||||
"saves": 26,
|
||||
"saves": 27,
|
||||
"comments": 9,
|
||||
"is_published_plugin": false,
|
||||
"created_at": "2026-01-25",
|
||||
@@ -516,7 +516,7 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 1638,
|
||||
"views": 1640,
|
||||
"upvotes": 17,
|
||||
"saves": 14,
|
||||
"comments": 2,
|
||||
@@ -531,7 +531,7 @@
|
||||
"name": "Fu-Jie",
|
||||
"profile_url": "https://openwebui.com/u/Fu-Jie",
|
||||
"profile_image": "https://community.s3.openwebui.com/uploads/users/b15d1348-4347-42b4-b815-e053342d6cb0/profile_d9510745-4bd4-4f8f-a997-4a21847d9300.webp",
|
||||
"followers": 422,
|
||||
"followers": 426,
|
||||
"following": 9,
|
||||
"total_points": 408,
|
||||
"post_points": 337,
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"total_posts": 30,
|
||||
"total_downloads": 10803,
|
||||
"total_views": 116397,
|
||||
"total_upvotes": 349,
|
||||
"total_downloads": 10945,
|
||||
"total_views": 118210,
|
||||
"total_upvotes": 350,
|
||||
"total_downvotes": 16,
|
||||
"total_saves": 468,
|
||||
"total_saves": 469,
|
||||
"total_comments": 98,
|
||||
"plugin_contributions": 22,
|
||||
"by_type": {
|
||||
"tool": 3,
|
||||
"filter": 4,
|
||||
"action": 12,
|
||||
"prompt": 2,
|
||||
"pipe": 1,
|
||||
"filter": 4
|
||||
"pipe": 1
|
||||
},
|
||||
"posts": [
|
||||
{
|
||||
@@ -22,8 +22,8 @@
|
||||
"version": "1.0.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Intelligently analyzes text content and generates interactive mind maps to help users structure and visualize knowledge.",
|
||||
"downloads": 2051,
|
||||
"views": 18115,
|
||||
"downloads": 2064,
|
||||
"views": 18332,
|
||||
"upvotes": 35,
|
||||
"saves": 82,
|
||||
"comments": 23,
|
||||
@@ -36,13 +36,13 @@
|
||||
"title": "Smart Infographic",
|
||||
"slug": "smart_infographic_ad6f0c7f",
|
||||
"type": "action",
|
||||
"version": "1.6.0",
|
||||
"version": "1.6.1",
|
||||
"author": "Fu-Jie",
|
||||
"description": "AI-powered infographic generator based on AntV Infographic. Supports professional templates, auto-icon matching, and SVG/PNG downloads.",
|
||||
"downloads": 1522,
|
||||
"views": 15470,
|
||||
"downloads": 1535,
|
||||
"views": 15655,
|
||||
"upvotes": 30,
|
||||
"saves": 60,
|
||||
"saves": 61,
|
||||
"comments": 12,
|
||||
"is_published_plugin": true,
|
||||
"created_at": "2025-12-28",
|
||||
@@ -56,8 +56,8 @@
|
||||
"version": "1.2.8",
|
||||
"author": "Fu-Jie",
|
||||
"description": "A content normalizer filter that fixes common Markdown formatting issues in LLM outputs, such as broken code blocks, LaTeX formulas, and list formatting. Including LaTeX command protection.",
|
||||
"downloads": 974,
|
||||
"views": 9958,
|
||||
"downloads": 983,
|
||||
"views": 10060,
|
||||
"upvotes": 27,
|
||||
"saves": 52,
|
||||
"comments": 6,
|
||||
@@ -70,17 +70,17 @@
|
||||
"title": "Async Context Compression",
|
||||
"slug": "async_context_compression_b1655bc8",
|
||||
"type": "filter",
|
||||
"version": "1.5.0",
|
||||
"version": "1.6.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Reduces token consumption in long conversations while maintaining coherence through intelligent summarization and message compression.",
|
||||
"downloads": 945,
|
||||
"views": 8634,
|
||||
"downloads": 964,
|
||||
"views": 8791,
|
||||
"upvotes": 22,
|
||||
"saves": 57,
|
||||
"comments": 0,
|
||||
"is_published_plugin": true,
|
||||
"created_at": "2025-11-08",
|
||||
"updated_at": "2026-03-22",
|
||||
"updated_at": "2026-03-23",
|
||||
"url": "https://openwebui.com/posts/async_context_compression_b1655bc8"
|
||||
},
|
||||
{
|
||||
@@ -90,9 +90,9 @@
|
||||
"version": "0.4.4",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Export current conversation from Markdown to Word (.docx) with Mermaid diagrams rendered client-side (Mermaid.js, SVG+PNG), LaTeX math, real hyperlinks, improved tables, syntax highlighting, and blockquote support.",
|
||||
"downloads": 927,
|
||||
"views": 7288,
|
||||
"upvotes": 21,
|
||||
"downloads": 940,
|
||||
"views": 7395,
|
||||
"upvotes": 22,
|
||||
"saves": 41,
|
||||
"comments": 8,
|
||||
"is_published_plugin": true,
|
||||
@@ -107,8 +107,8 @@
|
||||
"version": "",
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 863,
|
||||
"views": 9511,
|
||||
"downloads": 874,
|
||||
"views": 9646,
|
||||
"upvotes": 11,
|
||||
"saves": 28,
|
||||
"comments": 0,
|
||||
@@ -124,8 +124,8 @@
|
||||
"version": "0.3.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Standalone OpenWebUI tool for managing native Workspace Skills (list/show/install/create/update/delete) for any model.",
|
||||
"downloads": 681,
|
||||
"views": 8206,
|
||||
"downloads": 698,
|
||||
"views": 8399,
|
||||
"upvotes": 10,
|
||||
"saves": 31,
|
||||
"comments": 4,
|
||||
@@ -141,8 +141,8 @@
|
||||
"version": "0.3.7",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Extracts tables from chat messages and exports them to Excel (.xlsx) files with smart formatting.",
|
||||
"downloads": 676,
|
||||
"views": 4119,
|
||||
"downloads": 685,
|
||||
"views": 4184,
|
||||
"upvotes": 13,
|
||||
"saves": 13,
|
||||
"comments": 0,
|
||||
@@ -158,8 +158,8 @@
|
||||
"version": "0.12.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "A powerful Agent SDK integration for OpenWebUI. It deeply bridges GitHub Copilot SDK with OpenWebUI's ecosystem, enabling the Agent to autonomously perform intent recognition, web search, and context compaction. It seamlessly reuses your existing Tools, MCP servers, OpenAPI servers, and Skills for a professional, full-featured experience.",
|
||||
"downloads": 461,
|
||||
"views": 6662,
|
||||
"downloads": 465,
|
||||
"views": 6718,
|
||||
"upvotes": 17,
|
||||
"saves": 12,
|
||||
"comments": 19,
|
||||
@@ -175,8 +175,8 @@
|
||||
"version": "0.2.4",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Quickly generates beautiful flashcards from text, extracting key points and categories.",
|
||||
"downloads": 363,
|
||||
"views": 5160,
|
||||
"downloads": 368,
|
||||
"views": 5217,
|
||||
"upvotes": 13,
|
||||
"saves": 23,
|
||||
"comments": 2,
|
||||
@@ -192,8 +192,8 @@
|
||||
"version": "1.0.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "A comprehensive thinking lens that dives deep into any content - from context to logic, insights, and action paths.",
|
||||
"downloads": 261,
|
||||
"views": 2143,
|
||||
"downloads": 264,
|
||||
"views": 2166,
|
||||
"upvotes": 7,
|
||||
"saves": 17,
|
||||
"comments": 0,
|
||||
@@ -209,8 +209,8 @@
|
||||
"version": "1.0.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "Intelligently analyzes text content and generates interactive mind maps to help users structure and visualize knowledge.",
|
||||
"downloads": 213,
|
||||
"views": 3316,
|
||||
"downloads": 224,
|
||||
"views": 3392,
|
||||
"upvotes": 7,
|
||||
"saves": 10,
|
||||
"comments": 0,
|
||||
@@ -226,8 +226,8 @@
|
||||
"version": "1.1.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "One-click batch install plugins from one or more GitHub repositories to your OpenWebUI instance. If a user mentions multiple repositories in one request, combine them into a single tool call.",
|
||||
"downloads": 181,
|
||||
"views": 4017,
|
||||
"downloads": 187,
|
||||
"views": 4118,
|
||||
"upvotes": 9,
|
||||
"saves": 8,
|
||||
"comments": 6,
|
||||
@@ -244,7 +244,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "将对话导出为 Word (.docx),支持 Mermaid 图表 (客户端渲染 SVG+PNG)、LaTeX 数学公式、真实超链接、增强表格格式、代码高亮和引用块。",
|
||||
"downloads": 181,
|
||||
"views": 3275,
|
||||
"views": 3293,
|
||||
"upvotes": 14,
|
||||
"saves": 7,
|
||||
"comments": 4,
|
||||
@@ -261,7 +261,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "Automatically extracts project rules from conversations and injects them into the folder's system prompt.",
|
||||
"downloads": 143,
|
||||
"views": 2392,
|
||||
"views": 2404,
|
||||
"upvotes": 7,
|
||||
"saves": 15,
|
||||
"comments": 0,
|
||||
@@ -278,7 +278,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "A specialized filter to bypass OpenWebUI's default RAG for GitHub Copilot SDK models. It moves uploaded files to a safe location ('copilot_files') so the Copilot Pipe can process them natively without interference.",
|
||||
"downloads": 102,
|
||||
"views": 2632,
|
||||
"views": 2641,
|
||||
"upvotes": 5,
|
||||
"saves": 1,
|
||||
"comments": 0,
|
||||
@@ -294,8 +294,8 @@
|
||||
"version": "1.5.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "基于 AntV Infographic 的智能信息图生成插件。支持多种专业模板,自动图标匹配,并提供 SVG/PNG 下载功能。",
|
||||
"downloads": 74,
|
||||
"views": 1736,
|
||||
"downloads": 75,
|
||||
"views": 1753,
|
||||
"upvotes": 10,
|
||||
"saves": 1,
|
||||
"comments": 0,
|
||||
@@ -311,8 +311,8 @@
|
||||
"version": "0.9.2",
|
||||
"author": "Fu-Jie",
|
||||
"description": "智能分析文本内容,生成交互式思维导图,帮助用户结构化和可视化知识。",
|
||||
"downloads": 59,
|
||||
"views": 871,
|
||||
"downloads": 60,
|
||||
"views": 878,
|
||||
"upvotes": 6,
|
||||
"saves": 2,
|
||||
"comments": 0,
|
||||
@@ -329,7 +329,7 @@
|
||||
"author": "Fu-Jie",
|
||||
"description": "通过智能摘要和消息压缩,降低长对话的 token 消耗,同时保持对话连贯性。",
|
||||
"downloads": 49,
|
||||
"views": 964,
|
||||
"views": 965,
|
||||
"upvotes": 7,
|
||||
"saves": 5,
|
||||
"comments": 0,
|
||||
@@ -345,8 +345,8 @@
|
||||
"version": "1.0.0",
|
||||
"author": "Fu-Jie",
|
||||
"description": "全方位的思维透镜 —— 从背景全景到逻辑脉络,从深度洞察到行动路径。",
|
||||
"downloads": 38,
|
||||
"views": 743,
|
||||
"downloads": 39,
|
||||
"views": 753,
|
||||
"upvotes": 5,
|
||||
"saves": 1,
|
||||
"comments": 0,
|
||||
@@ -362,8 +362,8 @@
|
||||
"version": "0.2.4",
|
||||
"author": "Fu-Jie",
|
||||
"description": "快速将文本提炼为精美的学习记忆卡片,支持核心要点提取与分类。",
|
||||
"downloads": 36,
|
||||
"views": 1016,
|
||||
"downloads": 37,
|
||||
"views": 1031,
|
||||
"upvotes": 7,
|
||||
"saves": 1,
|
||||
"comments": 0,
|
||||
@@ -379,8 +379,8 @@
|
||||
"version": "",
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 3,
|
||||
"views": 169,
|
||||
"downloads": 8,
|
||||
"views": 419,
|
||||
"upvotes": 1,
|
||||
"saves": 1,
|
||||
"comments": 0,
|
||||
@@ -397,9 +397,9 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 99,
|
||||
"views": 427,
|
||||
"upvotes": 1,
|
||||
"saves": 0,
|
||||
"saves": 2,
|
||||
"comments": 0,
|
||||
"is_published_plugin": false,
|
||||
"created_at": "2026-03-22",
|
||||
@@ -414,7 +414,7 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 3817,
|
||||
"views": 3828,
|
||||
"upvotes": 8,
|
||||
"saves": 3,
|
||||
"comments": 2,
|
||||
@@ -448,7 +448,7 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 2911,
|
||||
"views": 2917,
|
||||
"upvotes": 9,
|
||||
"saves": 4,
|
||||
"comments": 1,
|
||||
@@ -465,7 +465,7 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 2471,
|
||||
"views": 2472,
|
||||
"upvotes": 7,
|
||||
"saves": 5,
|
||||
"comments": 0,
|
||||
@@ -482,9 +482,9 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 2149,
|
||||
"views": 2160,
|
||||
"upvotes": 15,
|
||||
"saves": 26,
|
||||
"saves": 27,
|
||||
"comments": 9,
|
||||
"is_published_plugin": false,
|
||||
"created_at": "2026-01-25",
|
||||
@@ -516,7 +516,7 @@
|
||||
"author": "",
|
||||
"description": "",
|
||||
"downloads": 0,
|
||||
"views": 1638,
|
||||
"views": 1640,
|
||||
"upvotes": 17,
|
||||
"saves": 14,
|
||||
"comments": 2,
|
||||
@@ -531,10 +531,10 @@
|
||||
"name": "Fu-Jie",
|
||||
"profile_url": "https://openwebui.com/u/Fu-Jie",
|
||||
"profile_image": "https://community.s3.openwebui.com/uploads/users/b15d1348-4347-42b4-b815-e053342d6cb0/profile_d9510745-4bd4-4f8f-a997-4a21847d9300.webp",
|
||||
"followers": 419,
|
||||
"followers": 425,
|
||||
"following": 9,
|
||||
"total_points": 407,
|
||||
"post_points": 336,
|
||||
"total_points": 408,
|
||||
"post_points": 337,
|
||||
"comment_points": 71,
|
||||
"contributions": 89
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
> *Blue: Downloads | Purple: Views (Real-time dynamic)*
|
||||
|
||||
### 📂 Content Distribution
|
||||

|
||||

|
||||
|
||||
|
||||
## 📈 Overview
|
||||
@@ -27,10 +27,10 @@
|
||||
## 📂 By Type
|
||||
|
||||
- 
|
||||
- 
|
||||
- 
|
||||
- 
|
||||
- 
|
||||
- 
|
||||
- 
|
||||
|
||||
## 📋 Posts List
|
||||
|
||||
@@ -39,12 +39,12 @@
|
||||
| 1 | [Smart Mind Map](https://openwebui.com/posts/turn_any_text_into_beautiful_mind_maps_3094c59a) | action |  |  |  |  |  | 2026-03-22 |
|
||||
| 2 | [Smart Infographic](https://openwebui.com/posts/smart_infographic_ad6f0c7f) | action |  |  |  |  |  | 2026-03-23 |
|
||||
| 3 | [Markdown Normalizer](https://openwebui.com/posts/markdown_normalizer_baaa8732) | filter |  |  |  |  |  | 2026-03-22 |
|
||||
| 4 | [Async Context Compression](https://openwebui.com/posts/async_context_compression_b1655bc8) | filter |  |  |  |  |  | 2026-03-22 |
|
||||
| 4 | [Async Context Compression](https://openwebui.com/posts/async_context_compression_b1655bc8) | filter |  |  |  |  |  | 2026-03-23 |
|
||||
| 5 | [Export to Word Enhanced](https://openwebui.com/posts/export_to_word_enhanced_formatting_fca6a315) | action |  |  |  |  |  | 2026-03-22 |
|
||||
| 6 | [AI Task Instruction Generator](https://openwebui.com/posts/ai_task_instruction_generator_9bab8b37) | prompt |  |  |  |  |  | 2026-03-22 |
|
||||
| 7 | [OpenWebUI Skills Manager Tool](https://openwebui.com/posts/openwebui_skills_manager_tool_b4bce8e4) | tool |  |  |  |  |  | 2026-03-23 |
|
||||
| 8 | [Export to Excel](https://openwebui.com/posts/export_mulit_table_to_excel_244b8f9d) | action |  |  |  |  |  | 2026-03-22 |
|
||||
| 9 | [GitHub Copilot Official SDK Pipe](https://openwebui.com/posts/github_copilot_official_sdk_pipe_ce96f7b4) | pipe |  |  |  |  |  | 2026-03-22 |
|
||||
| 9 | [GitHub Copilot Official SDK Pipe](https://openwebui.com/posts/github_copilot_official_sdk_pipe_ce96f7b4) | pipe |  |  |  |  |  | 2026-03-23 |
|
||||
| 10 | [Flash Card](https://openwebui.com/posts/flash_card_65a2ea8f) | action |  |  |  |  |  | 2026-03-22 |
|
||||
| 11 | [Deep Dive](https://openwebui.com/posts/deep_dive_c0b846e4) | action |  |  |  |  |  | 2026-01-08 |
|
||||
| 12 | [🧠 Smart Mind Map Tool: Auto-Generate Interactive Knowledge Graphs](https://openwebui.com/posts/smart_mind_map_tool_auto_generate_interactive_know_d25f4e3d) | tool |  |  |  |  |  | 2026-03-05 |
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
> *蓝色: 总下载量 | 紫色: 总浏览量 (实时动态生成)*
|
||||
|
||||
### 📂 内容分类占比 (Distribution)
|
||||

|
||||

|
||||
|
||||
|
||||
## 📈 总览
|
||||
@@ -27,10 +27,10 @@
|
||||
## 📂 按类型分类
|
||||
|
||||
- 
|
||||
- 
|
||||
- 
|
||||
- 
|
||||
- 
|
||||
- 
|
||||
- 
|
||||
|
||||
## 📋 发布列表
|
||||
|
||||
@@ -39,12 +39,12 @@
|
||||
| 1 | [Smart Mind Map](https://openwebui.com/posts/turn_any_text_into_beautiful_mind_maps_3094c59a) | action |  |  |  |  |  | 2026-03-22 |
|
||||
| 2 | [Smart Infographic](https://openwebui.com/posts/smart_infographic_ad6f0c7f) | action |  |  |  |  |  | 2026-03-23 |
|
||||
| 3 | [Markdown Normalizer](https://openwebui.com/posts/markdown_normalizer_baaa8732) | filter |  |  |  |  |  | 2026-03-22 |
|
||||
| 4 | [Async Context Compression](https://openwebui.com/posts/async_context_compression_b1655bc8) | filter |  |  |  |  |  | 2026-03-22 |
|
||||
| 4 | [Async Context Compression](https://openwebui.com/posts/async_context_compression_b1655bc8) | filter |  |  |  |  |  | 2026-03-23 |
|
||||
| 5 | [Export to Word Enhanced](https://openwebui.com/posts/export_to_word_enhanced_formatting_fca6a315) | action |  |  |  |  |  | 2026-03-22 |
|
||||
| 6 | [AI Task Instruction Generator](https://openwebui.com/posts/ai_task_instruction_generator_9bab8b37) | prompt |  |  |  |  |  | 2026-03-22 |
|
||||
| 7 | [OpenWebUI Skills Manager Tool](https://openwebui.com/posts/openwebui_skills_manager_tool_b4bce8e4) | tool |  |  |  |  |  | 2026-03-23 |
|
||||
| 8 | [Export to Excel](https://openwebui.com/posts/export_mulit_table_to_excel_244b8f9d) | action |  |  |  |  |  | 2026-03-22 |
|
||||
| 9 | [GitHub Copilot Official SDK Pipe](https://openwebui.com/posts/github_copilot_official_sdk_pipe_ce96f7b4) | pipe |  |  |  |  |  | 2026-03-22 |
|
||||
| 9 | [GitHub Copilot Official SDK Pipe](https://openwebui.com/posts/github_copilot_official_sdk_pipe_ce96f7b4) | pipe |  |  |  |  |  | 2026-03-23 |
|
||||
| 10 | [Flash Card](https://openwebui.com/posts/flash_card_65a2ea8f) | action |  |  |  |  |  | 2026-03-22 |
|
||||
| 11 | [Deep Dive](https://openwebui.com/posts/deep_dive_c0b846e4) | action |  |  |  |  |  | 2026-01-08 |
|
||||
| 12 | [🧠 Smart Mind Map Tool: Auto-Generate Interactive Knowledge Graphs](https://openwebui.com/posts/smart_mind_map_tool_auto_generate_interactive_know_d25f4e3d) | tool |  |  |  |  |  | 2026-03-05 |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# GitHub Copilot SDK Pipe for OpenWebUI
|
||||
|
||||
| By [Fu-Jie](https://github.com/Fu-Jie) · v0.12.0 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| By [Fu-Jie](https://github.com/Fu-Jie) · v0.12.1 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| :--- | ---: |
|
||||
|
||||
|  |  |  |  |  |  |  |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# GitHub Copilot Official SDK Pipe
|
||||
|
||||
| 作者:[Fu-Jie](https://github.com/Fu-Jie) · v0.12.0 | [⭐ 点个 Star 支持项目](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| 作者:[Fu-Jie](https://github.com/Fu-Jie) · v0.12.1 | [⭐ 点个 Star 支持项目](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| :--- | ---: |
|
||||
|
||||
|  |  |  |  |  |  |  |
|
||||
|
||||
@@ -15,7 +15,7 @@ Pipes allow you to:
|
||||
|
||||
## Available Pipe Plugins
|
||||
|
||||
- [GitHub Copilot SDK](github-copilot-sdk.md) (v0.12.0) - Official GitHub Copilot SDK integration. Features **Workspace Isolation**, **Zero-config OpenWebUI Tool Bridge**, **BYOK** support, and **dynamic MCP discovery**. **NEW in v0.12.0: Shared Client Pool fix (High Performance), Pure BYOK-only Mode, and Stable RichUI auto-sizing**. [View Deep Dive](github-copilot-sdk-deep-dive.md) | [**View Advanced Tutorial**](github-copilot-sdk-tutorial.md) | [**View Detailed Usage Guide**](github-copilot-sdk-usage-guide.md).
|
||||
- [GitHub Copilot SDK](github-copilot-sdk.md) (v0.12.1) - Official GitHub Copilot SDK integration. Features **Workspace Isolation**, **Zero-config OpenWebUI Tool Bridge**, **BYOK** support, and **dynamic MCP discovery**. **NEW in v0.12.1: Disable terminal tools for AI, RichUI theme-aware CSS variables**. [View Deep Dive](github-copilot-sdk-deep-dive.md) | [**View Advanced Tutorial**](github-copilot-sdk-tutorial.md) | [**View Detailed Usage Guide**](github-copilot-sdk-usage-guide.md).
|
||||
- **[Case Study: GitHub 100 Star Growth Analysis](star-prediction-example.md)** - Learn how to use the GitHub Copilot SDK Pipe with Minimax 2.1 to automatically analyze CSV data and generate project growth reports.
|
||||
- **[Case Study: High-Quality Video to GIF Conversion](video-processing-example.md)** - See how the model uses system-level FFmpeg to accelerate, scale, and optimize colors for screen recordings.
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ Pipes 可以用于:
|
||||
|
||||
## 可用的 Pipe 插件
|
||||
|
||||
- [GitHub Copilot SDK](github-copilot-sdk.zh.md) (v0.12.0) - GitHub Copilot SDK 官方集成。具备**工作区安全隔离**、**零配置工具桥接**与**BYOK (自带 Key) 支持**。**v0.12.0 更新:单例进程池 Bug 修复 (极速响应)、纯 BYOK 模式支持与 RichUI 自动高度稳定性增强**。[查看深度架构解析](github-copilot-sdk-deep-dive.zh.md) | [**查看进阶 实战教程**](github-copilot-sdk-tutorial.zh.md) | [**查看详细使用手册**](github-copilot-sdk-usage-guide.zh.md)。
|
||||
- [GitHub Copilot SDK](github-copilot-sdk.zh.md) (v0.12.1) - GitHub Copilot SDK 官方集成。具备**工作区安全隔离**、**零配置工具桥接**与**BYOK (自带 Key) 支持**。**v0.12.1 更新:禁用终端工具 AI 调用、RichUI 主题感知 CSS 变量**。[查看深度架构解析](github-copilot-sdk-deep-dive.zh.md) | [**查看进阶 实战教程**](github-copilot-sdk-tutorial.zh.md) | [**查看详细使用手册**](github-copilot-sdk-usage-guide.zh.md)。
|
||||
- **[实战案例:GitHub 100 Star 增长预测](star-prediction-example.zh.md)** - 展示如何使用 GitHub Copilot SDK Pipe 结合 Minimax 2.1 模型,自动编写脚本分析 CSV 数据并生成详细的项目增长报告。
|
||||
- **[实战案例:视频高质量 GIF 转换与加速](video-processing-example.zh.md)** - 演示模型如何通过底层 FFmpeg 工具对录屏进行加速、缩放及双阶段色彩优化处理。
|
||||
|
||||
|
||||
@@ -5,5 +5,5 @@ OpenWebUI native Tool plugins that can be used across models.
|
||||
## Available Tool Plugins
|
||||
|
||||
- [Batch Install Plugins from GitHub](batch-install-plugins-tool.md) (v1.1.0) - One-click batch install plugins from GitHub repositories with an interactive selection dialog and multi-language support.
|
||||
- [OpenWebUI Skills Manager Tool](openwebui-skills-manager-tool.md) (v0.3.0) - Simple native skill management (`list/show/install/create/update/delete`).
|
||||
- [OpenWebUI Skills Manager Tool](openwebui-skills-manager-tool.md) (v0.3.1) - Native skill management with multi-line `SKILL.md` frontmatter description support.
|
||||
- [Smart Mind Map Tool](smart-mind-map-tool.md) (v1.0.0) - Intelligently analyzes text content and proactively generates interactive mind maps to help users structure and visualize knowledge.
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
## 可用 Tool 插件
|
||||
|
||||
- [Batch Install Plugins from GitHub](batch-install-plugins-tool.zh.md) (v1.1.0) - 一键从 GitHub 仓库批量安装插件,支持交互式选择对话框和多语言。
|
||||
- [OpenWebUI Skills 管理工具](openwebui-skills-manager-tool.zh.md) (v0.3.0) - 简化技能管理(`list/show/install/create/update/delete`)。
|
||||
- [OpenWebUI Skills 管理工具](openwebui-skills-manager-tool.zh.md) (v0.3.1) - 支持多行 `SKILL.md` frontmatter 描述的原生技能管理工具。
|
||||
- [智能思维导图工具 (Smart Mind Map Tool)](smart-mind-map-tool.zh.md) (v1.0.0) - 智能分析文本内容并主动生成交互式思维导图,帮助用户结构化与可视化知识。
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
# OpenWebUI Skills Manager Tool
|
||||
|
||||
**Author:** [Fu-Jie](https://github.com/Fu-Jie/openwebui-extensions) | **Version:** 0.3.0 | **Project:** [OpenWebUI Extensions](https://github.com/Fu-Jie/openwebui-extensions)
|
||||
**Author:** [Fu-Jie](https://github.com/Fu-Jie/openwebui-extensions) | **Version:** 0.3.1 | **Project:** [OpenWebUI Extensions](https://github.com/Fu-Jie/openwebui-extensions)
|
||||
|
||||
A standalone OpenWebUI Tool plugin for managing native Workspace Skills across models.
|
||||
|
||||
## What's New
|
||||
|
||||
- Added GitHub skills-directory auto-discovery for `install_skill` (e.g., `.../tree/main/skills`) to install all child skills in one request.
|
||||
- Fixed language detection with robust frontend-first fallback (`__event_call__` + timeout), request header fallback, and profile fallback.
|
||||
- `install_skill` now supports multi-line `description: >` / `description: |` frontmatter blocks when importing remote `SKILL.md` files.
|
||||
- Added metadata fallback to use `title` when `name` is missing, plus regression tests for CRLF and YAML block scalars.
|
||||
|
||||
## Key Features
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
# OpenWebUI Skills 管理工具
|
||||
|
||||
**Author:** [Fu-Jie](https://github.com/Fu-Jie/openwebui-extensions) | **Version:** 0.3.0 | **Project:** [OpenWebUI Extensions](https://github.com/Fu-Jie/openwebui-extensions)
|
||||
**Author:** [Fu-Jie](https://github.com/Fu-Jie/openwebui-extensions) | **Version:** 0.3.1 | **Project:** [OpenWebUI Extensions](https://github.com/Fu-Jie/openwebui-extensions)
|
||||
|
||||
一个可跨模型使用的 OpenWebUI 原生 Tool 插件,用于管理 Workspace Skills。
|
||||
|
||||
## 最新更新
|
||||
|
||||
- `install_skill` 新增 GitHub 技能目录自动发现(例如 `.../tree/main/skills`),可一键安装目录下所有子技能。
|
||||
- 修复语言获取逻辑:前端优先(`__event_call__` + 超时保护),并回退到请求头与用户资料。
|
||||
- `install_skill` 现已支持远程 `SKILL.md` 中的多行 `description: >` / `description: |` frontmatter 描述。
|
||||
- 新增 `title` 作为 `name` 缺失时的元数据回退,并补齐 CRLF 与 YAML 块标量回归测试。
|
||||
|
||||
## 核心特性
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 🧰 OpenWebUI Skills Manager Tool
|
||||
|
||||
| By [Fu-Jie](https://github.com/Fu-Jie) · v0.3.0 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| By [Fu-Jie](https://github.com/Fu-Jie) · v0.3.1 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| :--- | ---: |
|
||||
|
||||
|  |  |  |  |  |  |  |
|
||||
@@ -23,10 +23,9 @@ When the selection dialog opens, search for this plugin, check it, and continue.
|
||||
|
||||
## What's New
|
||||
|
||||
- **🤖 Automatic Repo Root Discovery**: Install any GitHub repo by providing just the root URL (e.g., `https://github.com/owner/repo`). System auto-converts to discovery mode and installs all skills.
|
||||
- **🔄 Batch Deduplication**: Automatically removes duplicate URLs from batch installations and detects duplicate skill names.
|
||||
- Added GitHub skills-directory auto-discovery for `install_skill` (e.g., `.../tree/main/skills`) to install all child skills in one request.
|
||||
- Fixed language detection with robust frontend-first fallback (`__event_call__` + timeout), request header fallback, and profile fallback.
|
||||
- **📝 Multi-line Frontmatter Descriptions**: `install_skill` now correctly parses `description: >` and `description: |` blocks in remote `SKILL.md` files, so imported skill descriptions no longer truncate to a single line.
|
||||
- **↩️ Better Metadata Fallbacks**: If a skill frontmatter provides `title` without `name`, the installer now uses that title before falling back to directory-based names.
|
||||
- **🧪 Regression Coverage**: Added focused tests for folded/literal YAML blocks and CRLF line endings to keep external skill imports stable.
|
||||
|
||||
> [!TIP]
|
||||
> **💡 Looking to batch install global plugins (Actions, Filters, Pipes, Tools)?**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 🧰 OpenWebUI Skills 管理工具
|
||||
|
||||
| 作者:[Fu-Jie](https://github.com/Fu-Jie) · v0.3.0 | [⭐ 点个 Star 支持项目](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| 作者:[Fu-Jie](https://github.com/Fu-Jie) · v0.3.1 | [⭐ 点个 Star 支持项目](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| :--- | ---: |
|
||||
|
||||
|  |  |  |  |  |  |  |
|
||||
@@ -23,10 +23,9 @@
|
||||
|
||||
## 最新更新
|
||||
|
||||
- **🤖 自动发现仓库根目录**:现在可以直接提供 GitHub 仓库根 URL(如 `https://github.com/owner/repo`),系统会自动转换为发现模式并安装所有 skill。
|
||||
- **🔄 批量去重**:自动清除重复 URL,检测重复的 skill 名称。
|
||||
- `install_skill` 新增 GitHub 技能目录自动发现(例如 `.../tree/main/skills`),可一键安装目录下所有子技能。
|
||||
- 修复语言获取逻辑:前端优先(`__event_call__` + 超时保护),并回退到请求头与用户资料。
|
||||
- **📝 支持多行 Frontmatter 描述**:`install_skill` 现在可以正确解析远程 `SKILL.md` 里的 `description: >` 和 `description: |`,导入后的技能描述不再被截断成单行。
|
||||
- **↩️ 更稳的元数据回退**:当 frontmatter 只有 `title` 没有 `name` 时,安装器会优先使用 `title`,避免退回到通用目录名。
|
||||
- **🧪 回归测试补齐**:新增 folded/literal YAML 块和 CRLF 换行场景测试,保证外部技能导入行为稳定。
|
||||
|
||||
> [!TIP]
|
||||
> **💡 想要批量安装/管理全局插件 (Actions, Filters, Pipes, Tools)?**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# GitHub Copilot SDK Pipe for OpenWebUI
|
||||
|
||||
| By [Fu-Jie](https://github.com/Fu-Jie) · v0.12.0 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| By [Fu-Jie](https://github.com/Fu-Jie) · v0.12.1 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| :--- | ---: |
|
||||
|
||||
|  |  |  |  |  |  |  |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# GitHub Copilot Official SDK Pipe
|
||||
|
||||
| 作者:[Fu-Jie](https://github.com/Fu-Jie) · v0.12.0 | [⭐ 点个 Star 支持项目](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| 作者:[Fu-Jie](https://github.com/Fu-Jie) · v0.12.1 | [⭐ 点个 Star 支持项目](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| :--- | ---: |
|
||||
|
||||
|  |  |  |  |  |  |  |
|
||||
|
||||
@@ -5,7 +5,7 @@ author_url: https://github.com/Fu-Jie/openwebui-extensions
|
||||
funding_url: https://github.com/open-webui
|
||||
openwebui_id: ce96f7b4-12fc-4ac3-9a01-875713e69359
|
||||
description: A powerful Agent SDK integration for OpenWebUI. It deeply bridges GitHub Copilot SDK with OpenWebUI's ecosystem, enabling the Agent to autonomously perform intent recognition, web search, and context compaction. It seamlessly reuses your existing Tools, MCP servers, OpenAPI servers, and Skills for a professional, full-featured experience.
|
||||
version: 0.12.0
|
||||
version: 0.12.1
|
||||
requirements: github-copilot-sdk==0.1.30
|
||||
"""
|
||||
|
||||
@@ -78,10 +78,74 @@ RICHUI_BRIDGE_STYLE = """
|
||||
<style id="openwebui-richui-bridge-style" data-openwebui-richui-bridge="1">
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
/* Theme-aware CSS variables for AI-generated content */
|
||||
--richui-text: #1a202c;
|
||||
--richui-text-secondary: #4a5568;
|
||||
--richui-text-muted: #718096;
|
||||
--richui-bg: #ffffff;
|
||||
--richui-bg-secondary: #f7fafc;
|
||||
--richui-bg-tertiary: #edf2f7;
|
||||
--richui-border: #e2e8f0;
|
||||
--richui-border-subtle: #edf2f7;
|
||||
--richui-accent: #3182ce;
|
||||
--richui-accent-hover: #2b6cb0;
|
||||
--richui-success: #38a169;
|
||||
--richui-warning: #d69e2e;
|
||||
--richui-error: #e53e3e;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--richui-text: #f7fafc;
|
||||
--richui-text-secondary: #cbd5e0;
|
||||
--richui-text-muted: #a0aec0;
|
||||
--richui-bg: #1a202c;
|
||||
--richui-bg-secondary: #2d3748;
|
||||
--richui-bg-tertiary: #4a5568;
|
||||
--richui-border: #4a5568;
|
||||
--richui-border-subtle: #2d3748;
|
||||
--richui-accent: #63b3ed;
|
||||
--richui-accent-hover: #90cdf4;
|
||||
--richui-success: #68d391;
|
||||
--richui-warning: #f6e05e;
|
||||
--richui-error: #fc8181;
|
||||
}
|
||||
}
|
||||
html[data-openwebui-applied-theme="dark"],
|
||||
html.dark {
|
||||
--richui-text: #f7fafc;
|
||||
--richui-text-secondary: #cbd5e0;
|
||||
--richui-text-muted: #a0aec0;
|
||||
--richui-bg: #1a202c;
|
||||
--richui-bg-secondary: #2d3748;
|
||||
--richui-bg-tertiary: #4a5568;
|
||||
--richui-border: #4a5568;
|
||||
--richui-border-subtle: #2d3748;
|
||||
--richui-accent: #63b3ed;
|
||||
--richui-accent-hover: #90cdf4;
|
||||
--richui-success: #68d391;
|
||||
--richui-warning: #f6e05e;
|
||||
--richui-error: #fc8181;
|
||||
}
|
||||
html[data-openwebui-applied-theme="light"],
|
||||
html.light {
|
||||
--richui-text: #1a202c;
|
||||
--richui-text-secondary: #4a5568;
|
||||
--richui-text-muted: #718096;
|
||||
--richui-bg: #ffffff;
|
||||
--richui-bg-secondary: #f7fafc;
|
||||
--richui-bg-tertiary: #edf2f7;
|
||||
--richui-border: #e2e8f0;
|
||||
--richui-border-subtle: #edf2f7;
|
||||
--richui-accent: #3182ce;
|
||||
--richui-accent-hover: #2b6cb0;
|
||||
--richui-success: #38a169;
|
||||
--richui-warning: #d69e2e;
|
||||
--richui-error: #e53e3e;
|
||||
}
|
||||
html,
|
||||
body {
|
||||
background: transparent !important;
|
||||
color: var(--richui-text) !important;
|
||||
overflow-x: hidden !important;
|
||||
width: 100% !important;
|
||||
margin: 0 !important;
|
||||
@@ -1655,7 +1719,7 @@ class Pipe:
|
||||
description="Copilot CLI log level: none, error, warning, info, debug, all",
|
||||
)
|
||||
TIMEOUT: int = Field(
|
||||
default=300,
|
||||
default=3600,
|
||||
description="Timeout for each stream chunk (seconds)",
|
||||
)
|
||||
|
||||
@@ -2051,12 +2115,12 @@ class Pipe:
|
||||
+ "".join(button_html)
|
||||
+ "</div></section>\n"
|
||||
"<style>\n"
|
||||
".openwebui-richui-fallback-actions{margin:20px auto 0;max-width:1200px;padding:14px 16px;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:rgba(15,23,42,.04);}\n"
|
||||
".openwebui-richui-fallback-title{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-secondary, #64748b);margin-bottom:10px;}\n"
|
||||
".openwebui-richui-fallback-actions{margin:20px auto 0;max-width:1200px;padding:14px 16px;border:1px solid var(--richui-border, rgba(148,163,184,.18));border-radius:14px;background:var(--richui-bg-secondary, rgba(15,23,42,.04));}\n"
|
||||
".openwebui-richui-fallback-title{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--richui-text-secondary, #64748b);margin-bottom:10px;}\n"
|
||||
".openwebui-richui-fallback-row{display:flex;flex-wrap:wrap;gap:10px;}\n"
|
||||
".openwebui-richui-action-btn{appearance:none;border:1px solid rgba(148,163,184,.24);background:var(--color-bg-secondary, rgba(255,255,255,.9));color:var(--color-text-primary, #0f172a);border-radius:999px;padding:8px 14px;font:500 13px/1.2 var(--font-sans, system-ui);cursor:pointer;transition:all .18s ease;}\n"
|
||||
".openwebui-richui-action-btn:hover{transform:translateY(-1px);border-color:rgba(59,130,246,.55);}\n"
|
||||
".openwebui-richui-action-btn:focus-visible{outline:2px solid rgba(59,130,246,.6);outline-offset:2px;}\n"
|
||||
".openwebui-richui-action-btn{appearance:none;border:1px solid var(--richui-border, rgba(148,163,184,.24));background:var(--richui-bg, rgba(255,255,255,.9));color:var(--richui-text, #0f172a);border-radius:999px;padding:8px 14px;font:500 13px/1.2 var(--font-sans, system-ui);cursor:pointer;transition:all .18s ease;}\n"
|
||||
".openwebui-richui-action-btn:hover{transform:translateY(-1px);border-color:var(--richui-accent, rgba(59,130,246,.55));}\n"
|
||||
".openwebui-richui-action-btn:focus-visible{outline:2px solid var(--richui-accent, rgba(59,130,246,.6));outline-offset:2px;}\n"
|
||||
"</style>\n"
|
||||
)
|
||||
|
||||
@@ -5108,6 +5172,10 @@ class Pipe:
|
||||
__event_call__,
|
||||
)
|
||||
continue
|
||||
tool_type = t_dict.get("type", "")
|
||||
tool_id = t_dict.get("tool_id", "")
|
||||
if tool_type == "terminal" or str(tool_id).startswith("terminal:"):
|
||||
continue
|
||||
try:
|
||||
copilot_tool = self._convert_openwebui_tool_to_sdk(
|
||||
tool_name,
|
||||
@@ -9608,7 +9676,7 @@ class Pipe:
|
||||
break
|
||||
|
||||
now_ts = time.monotonic()
|
||||
no_progress_timeout = min(float(self.valves.TIMEOUT), 90.0)
|
||||
no_progress_timeout = float(self.valves.TIMEOUT)
|
||||
time_since_last_event = now_ts - state.get(
|
||||
"last_event_ts", stream_start_ts
|
||||
)
|
||||
|
||||
24
plugins/pipes/github-copilot-sdk/v0.12.1.md
Normal file
24
plugins/pipes/github-copilot-sdk/v0.12.1.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# GitHub Copilot SDK Pipe v0.12.1
|
||||
|
||||
This release disables terminal server tools from being exposed to AI while keeping terminal functionality available to users, and improves RichUI theme compatibility with automatic light/dark mode adaptation.
|
||||
|
||||
## New Features
|
||||
|
||||
- **Disable Terminal Tools for AI**: Terminal server tools (e.g., `run_command`) are now filtered out at the pipe level, preventing AI from calling them while preserving terminal functionality for users through the OpenWebUI interface.
|
||||
- **RichUI Theme-Aware CSS Variables**: Added CSS custom properties (`--richui-text`, `--richui-bg`, etc.) that automatically adapt to light/dark themes, improving text contrast and readability in AI-generated HTML content.
|
||||
|
||||
## Improvements
|
||||
|
||||
- **Fallback Actions Styling**: Updated fallback action buttons to use theme-aware CSS variables for consistent appearance across themes.
|
||||
- **Default Timeout**: Increased default stream timeout from 300s to 3600s for better handling of long-running tasks.
|
||||
|
||||
## Version Changes
|
||||
|
||||
### Plugin Updates
|
||||
|
||||
- **GitHub Copilot SDK Pipe**: v0.12.0 → v0.12.1 | [📖 README](https://github.com/Fu-Jie/openwebui-extensions/blob/main/plugins/pipes/github-copilot-sdk/README.md)
|
||||
|
||||
---
|
||||
|
||||
📚 [Documentation Portal](https://fu-jie.github.io/openwebui-extensions/)
|
||||
🐛 [Report Issues](https://github.com/Fu-Jie/openwebui-extensions/issues)
|
||||
24
plugins/pipes/github-copilot-sdk/v0.12.1_CN.md
Normal file
24
plugins/pipes/github-copilot-sdk/v0.12.1_CN.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# GitHub Copilot SDK Pipe v0.12.1
|
||||
|
||||
本次发布在管道层面禁用了终端服务器工具的 AI 调用,同时保留用户通过界面使用终端的功能,并改进了 RichUI 主题兼容性,支持自动浅色/深色模式适配。
|
||||
|
||||
## 新功能
|
||||
|
||||
- **禁用终端工具 AI 调用**: 终端服务器工具(如 `run_command`)已在管道层面被过滤,AI 无法调用这些工具,但用户仍可通过 OpenWebUI 界面使用终端功能。
|
||||
- **RichUI 主题感知 CSS 变量**: 新增 CSS 自定义属性(`--richui-text`、`--richui-bg` 等),自动适配浅色/深色主题,改善 AI 生成 HTML 内容的文字对比度和可读性。
|
||||
|
||||
## 改进
|
||||
|
||||
- **Fallback Actions 样式优化**: 更新 fallback action 按钮使用主题感知 CSS 变量,确保跨主题一致性。
|
||||
- **默认超时时间**: 将默认流超时从 300 秒增加到 3600 秒,更好地处理长时间运行的任务。
|
||||
|
||||
## 版本变更
|
||||
|
||||
### 插件更新
|
||||
|
||||
- **GitHub Copilot SDK Pipe**: v0.12.0 → v0.12.1 | [📖 README](https://github.com/Fu-Jie/openwebui-extensions/blob/main/plugins/pipes/github-copilot-sdk/README_CN.md)
|
||||
|
||||
---
|
||||
|
||||
📚 [文档门户](https://fu-jie.github.io/openwebui-extensions/)
|
||||
🐛 [报告问题](https://github.com/Fu-Jie/openwebui-extensions/issues)
|
||||
@@ -44,7 +44,7 @@ METADATA_KEY_PATTERN = re.compile(r"^[A-Za-z_][A-Za-z0-9_-]*$")
|
||||
|
||||
TRANSLATIONS = {
|
||||
"en-US": {
|
||||
"status_fetching": "Fetching plugin list from GitHub...",
|
||||
"status_fetching": "Discovering plugins from {repo}...",
|
||||
"status_installing": "Installing [{type}] {title}...",
|
||||
"status_done": "Installation complete: {success}/{total} plugins installed.",
|
||||
"status_list_title": "Available Plugins ({count} total)",
|
||||
@@ -67,7 +67,7 @@ TRANSLATIONS = {
|
||||
"err_no_match": "No plugins match the specified types.",
|
||||
},
|
||||
"zh-CN": {
|
||||
"status_fetching": "正在从 GitHub 获取插件列表...",
|
||||
"status_fetching": "正在从 {repo} 发现插件...",
|
||||
"status_installing": "正在安装 [{type}] {title}...",
|
||||
"status_done": "安装完成:成功安装 {success}/{total} 个插件。",
|
||||
"status_list_title": "可用插件(共 {count} 个)",
|
||||
@@ -90,7 +90,7 @@ TRANSLATIONS = {
|
||||
"err_no_match": "没有符合指定类型的插件。",
|
||||
},
|
||||
"zh-HK": {
|
||||
"status_fetching": "正在從 GitHub 取得外掛列表...",
|
||||
"status_fetching": "正在從 {repo} 發現外掛...",
|
||||
"status_installing": "正在安裝 [{type}] {title}...",
|
||||
"status_done": "安裝完成:成功安裝 {success}/{total} 個外掛。",
|
||||
"status_list_title": "可用外掛(共 {count} 個)",
|
||||
@@ -113,7 +113,7 @@ TRANSLATIONS = {
|
||||
"err_no_match": "沒有符合指定類型的外掛。",
|
||||
},
|
||||
"zh-TW": {
|
||||
"status_fetching": "正在從 GitHub 取得外掛列表...",
|
||||
"status_fetching": "正在從 {repo} 發現外掛...",
|
||||
"status_installing": "正在安裝 [{type}] {title}...",
|
||||
"status_done": "安裝完成:成功安裝 {success}/{total} 個外掛。",
|
||||
"status_list_title": "可用外掛(共 {count} 個)",
|
||||
@@ -136,7 +136,7 @@ TRANSLATIONS = {
|
||||
"err_no_match": "沒有符合指定類型的外掛。",
|
||||
},
|
||||
"ko-KR": {
|
||||
"status_fetching": "GitHub에서 플러그인 목록을 가져오는 중...",
|
||||
"status_fetching": "{repo}에서 플러그인 검색 중...",
|
||||
"status_installing": "[{type}] {title} 설치 중...",
|
||||
"status_done": "설치 완료: {success}/{total}개 플러그인 설치됨.",
|
||||
"status_list_title": "사용 가능한 플러그인 (총 {count}개)",
|
||||
@@ -159,7 +159,7 @@ TRANSLATIONS = {
|
||||
"err_no_match": "지정된 유형과 일치하는 플러그인이 없습니다.",
|
||||
},
|
||||
"ja-JP": {
|
||||
"status_fetching": "GitHubからプラグインリストを取得中...",
|
||||
"status_fetching": "{repo}からプラグインを検索中...",
|
||||
"status_installing": "[{type}] {title} をインストール中...",
|
||||
"status_done": "インストール完了: {success}/{total}個のプラグインがインストールされました。",
|
||||
"status_list_title": "利用可能なプラグイン (合計{count}個)",
|
||||
@@ -182,7 +182,7 @@ TRANSLATIONS = {
|
||||
"err_no_match": "指定されたタイプのプラグインがありません。",
|
||||
},
|
||||
"fr-FR": {
|
||||
"status_fetching": "Récupération de la liste des plugins depuis GitHub...",
|
||||
"status_fetching": "Recherche de plugins dans {repo}...",
|
||||
"status_installing": "Installation de [{type}] {title}...",
|
||||
"status_done": "Installation terminée: {success}/{total} plugins installés.",
|
||||
"status_list_title": "Plugins disponibles ({count} au total)",
|
||||
@@ -205,7 +205,7 @@ TRANSLATIONS = {
|
||||
"err_no_match": "Aucun plugin ne correspond aux types spécifiés.",
|
||||
},
|
||||
"de-DE": {
|
||||
"status_fetching": "Plugin-Liste wird von GitHub abgerufen...",
|
||||
"status_fetching": "Plugins werden in {repo} gesucht...",
|
||||
"status_installing": "[{type}] {title} wird installiert...",
|
||||
"status_done": "Installation abgeschlossen: {success}/{total} Plugins installiert.",
|
||||
"status_list_title": "Verfügbare Plugins (insgesamt {count})",
|
||||
@@ -228,7 +228,7 @@ TRANSLATIONS = {
|
||||
"err_no_match": "Keine Plugins entsprechen den angegebenen Typen.",
|
||||
},
|
||||
"es-ES": {
|
||||
"status_fetching": "Obteniendo lista de plugins de GitHub...",
|
||||
"status_fetching": "Buscando plugins en {repo}...",
|
||||
"status_installing": "Instalando [{type}] {title}...",
|
||||
"status_done": "Instalación completada: {success}/{total} plugins instalados.",
|
||||
"status_list_title": "Plugins disponibles ({count} en total)",
|
||||
@@ -251,7 +251,7 @@ TRANSLATIONS = {
|
||||
"err_no_match": "No hay plugins que coincidan con los tipos especificados.",
|
||||
},
|
||||
"it-IT": {
|
||||
"status_fetching": "Recupero lista plugin da GitHub...",
|
||||
"status_fetching": "Ricerca plugin in {repo}...",
|
||||
"status_installing": "Installazione di [{type}] {title}...",
|
||||
"status_done": "Installazione completata: {success}/{total} plugin installati.",
|
||||
"status_list_title": "Plugin disponibili ({count} totali)",
|
||||
@@ -274,7 +274,7 @@ TRANSLATIONS = {
|
||||
"err_no_match": "Nessun plugin corrisponde ai tipi specificati.",
|
||||
},
|
||||
"vi-VN": {
|
||||
"status_fetching": "Đang lấy danh sách plugin từ GitHub...",
|
||||
"status_fetching": "Đang tìm kiếm plugin trong {repo}...",
|
||||
"status_installing": "Đang cài đặt [{type}] {title}...",
|
||||
"status_done": "Cài đặt hoàn tất: {success}/{total} plugin đã được cài đặt.",
|
||||
"status_list_title": "Plugin khả dụng ({count} tổng cộng)",
|
||||
@@ -983,7 +983,7 @@ def _filter_candidates(
|
||||
if not (c.source_repo.lower() == DEFAULT_REPO.lower() and _matches_self_plugin(c))
|
||||
]
|
||||
|
||||
exclude_list = [item.strip().lower() for item in exclude_keywords.split(",") if item.strip()]
|
||||
exclude_list = [item.strip().lower() for item in (exclude_keywords or "").split(",") if item.strip()]
|
||||
if exclude_list:
|
||||
filtered = [
|
||||
c
|
||||
@@ -1458,6 +1458,19 @@ async def discover_plugins(
|
||||
skip_keywords: str = "test",
|
||||
source_repo: str = "",
|
||||
) -> Tuple[List[PluginCandidate], List[Tuple[str, str]]]:
|
||||
"""Fetch and parse all plugins from a single GitHub repository.
|
||||
|
||||
Scans the repo's file tree for Python files, validates each as a plugin,
|
||||
and extracts metadata (title, description, type, version).
|
||||
|
||||
Args:
|
||||
url: GitHub repository URL (e.g. https://github.com/owner/repo).
|
||||
skip_keywords: Comma-separated keywords to skip in filenames.
|
||||
source_repo: Override the repo identifier (owner/repo format).
|
||||
|
||||
Returns:
|
||||
Tuple of (valid_plugins, skipped_files_with_reasons).
|
||||
"""
|
||||
parsed = parse_github_url(url)
|
||||
if not parsed:
|
||||
return [], [("url", "invalid github url")]
|
||||
@@ -1539,6 +1552,15 @@ async def discover_plugins_from_repos(
|
||||
repos: List[str],
|
||||
skip_keywords: str = "test",
|
||||
) -> Tuple[List[PluginCandidate], List[Tuple[str, str]]]:
|
||||
"""Fetch plugins from multiple repositories in parallel.
|
||||
|
||||
Args:
|
||||
repos: List of owner/repo strings (e.g. ["Fu-Jie/openwebui-extensions"]).
|
||||
skip_keywords: Comma-separated keywords to skip in filenames.
|
||||
|
||||
Returns:
|
||||
Tuple of (all_plugins, all_skipped_files_with_reasons).
|
||||
"""
|
||||
tasks = [
|
||||
discover_plugins(f"https://github.com/{repo}", skip_keywords, source_repo=repo)
|
||||
for repo in repos
|
||||
@@ -1604,10 +1626,18 @@ class Tools:
|
||||
repo: str = DEFAULT_REPO,
|
||||
plugin_types: List[str] = ["pipe", "action", "filter", "tool"],
|
||||
) -> str:
|
||||
"""List plugins from one or more repositories in a single call.
|
||||
"""List all available plugins without installing.
|
||||
|
||||
If a user request mentions multiple repositories, combine them into the
|
||||
`repo` argument instead of calling this tool multiple times.
|
||||
Use this to preview what plugins are available before installation.
|
||||
For installation, use install_all_plugins instead.
|
||||
|
||||
Args:
|
||||
repo: One or more GitHub repositories (owner/repo format), comma or
|
||||
semicolon separated. Defaults to Fu-Jie/openwebui-extensions.
|
||||
plugin_types: Filter by plugin type (pipe, action, filter, tool).
|
||||
|
||||
Returns:
|
||||
Markdown formatted list of available plugins grouped by repository.
|
||||
"""
|
||||
user_ctx = await _get_user_context(__user__, __event_call__, __request__)
|
||||
lang = user_ctx.get("user_language", "en-US")
|
||||
@@ -1650,11 +1680,25 @@ class Tools:
|
||||
exclude_keywords: str = "",
|
||||
timeout: int = DEFAULT_TIMEOUT,
|
||||
) -> str:
|
||||
"""Install plugins from one or more repositories in a single call.
|
||||
"""Discover and install plugins interactively.
|
||||
|
||||
If a user request mentions multiple repositories, combine them into the
|
||||
`repo` argument and call this tool once instead of making parallel
|
||||
calls for each repository.
|
||||
Always fetches all available plugins regardless of user input, then
|
||||
presents a selection dialog for the user to choose which to install.
|
||||
|
||||
Workflow:
|
||||
1. Discover all plugins from repo(s)
|
||||
2. Present interactive selection dialog
|
||||
3. Install selected plugins to OpenWebUI
|
||||
|
||||
Args:
|
||||
repo: One or more GitHub repositories (owner/repo format), comma or
|
||||
semicolon separated. Defaults to Fu-Jie/openwebui-extensions.
|
||||
plugin_types: Filter by plugin type (pipe, action, filter, tool).
|
||||
exclude_keywords: Comma-separated keywords to skip matching plugins.
|
||||
timeout: HTTP request timeout in seconds.
|
||||
|
||||
Returns:
|
||||
Status message with installation results.
|
||||
"""
|
||||
user_ctx = await _get_user_context(__user__, __event_call__, __request__)
|
||||
lang = user_ctx.get("user_language", "en-US")
|
||||
@@ -1705,9 +1749,10 @@ class Tools:
|
||||
|
||||
base_url = base_url.rstrip("/")
|
||||
|
||||
await _emit_status(event_emitter, _t(lang, "status_fetching"), done=False)
|
||||
|
||||
repo_list = _parse_repo_inputs(repo)
|
||||
repo_display = repo_list[0] if len(repo_list) == 1 else f"{repo_list[0]} +{len(repo_list)-1}"
|
||||
await _emit_status(event_emitter, _t(lang, "status_fetching", repo=repo_display), done=False)
|
||||
|
||||
candidates, _ = await discover_plugins_from_repos(repo_list, skip_keywords)
|
||||
|
||||
if not candidates:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 🧰 OpenWebUI Skills Manager Tool
|
||||
|
||||
| By [Fu-Jie](https://github.com/Fu-Jie) · v0.3.0 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| By [Fu-Jie](https://github.com/Fu-Jie) · v0.3.1 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| :--- | ---: |
|
||||
|
||||
|  |  |  |  |  |  |  |
|
||||
@@ -23,10 +23,9 @@ When the selection dialog opens, search for this plugin, check it, and continue.
|
||||
|
||||
## What's New
|
||||
|
||||
- **🤖 Automatic Repo Root Discovery**: Install any GitHub repo by providing just the root URL (e.g., `https://github.com/owner/repo`). System auto-converts to discovery mode and installs all skills.
|
||||
- **🔄 Batch Deduplication**: Automatically removes duplicate URLs from batch installations and detects duplicate skill names.
|
||||
- Added GitHub skills-directory auto-discovery for `install_skill` (e.g., `.../tree/main/skills`) to install all child skills in one request.
|
||||
- Fixed language detection with robust frontend-first fallback (`__event_call__` + timeout), request header fallback, and profile fallback.
|
||||
- **📝 Multi-line Frontmatter Descriptions**: `install_skill` now correctly parses `description: >` and `description: |` blocks in remote `SKILL.md` files, so imported skill descriptions no longer truncate to a single line.
|
||||
- **↩️ Better Metadata Fallbacks**: If a skill frontmatter provides `title` without `name`, the installer now uses that title before falling back to directory-based names.
|
||||
- **🧪 Regression Coverage**: Added focused tests for folded/literal YAML blocks and CRLF line endings to keep external skill imports stable.
|
||||
|
||||
> [!TIP]
|
||||
> **💡 Looking to batch install global plugins (Actions, Filters, Pipes, Tools)?**
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 🧰 OpenWebUI Skills 管理工具
|
||||
|
||||
| 作者:[Fu-Jie](https://github.com/Fu-Jie) · v0.3.0 | [⭐ 点个 Star 支持项目](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| 作者:[Fu-Jie](https://github.com/Fu-Jie) · v0.3.1 | [⭐ 点个 Star 支持项目](https://github.com/Fu-Jie/openwebui-extensions) |
|
||||
| :--- | ---: |
|
||||
|
||||
|  |  |  |  |  |  |  |
|
||||
@@ -23,10 +23,9 @@
|
||||
|
||||
## 最新更新
|
||||
|
||||
- **🤖 自动发现仓库根目录**:现在可以直接提供 GitHub 仓库根 URL(如 `https://github.com/owner/repo`),系统会自动转换为发现模式并安装所有 skill。
|
||||
- **🔄 批量去重**:自动清除重复 URL,检测重复的 skill 名称。
|
||||
- `install_skill` 新增 GitHub 技能目录自动发现(例如 `.../tree/main/skills`),可一键安装目录下所有子技能。
|
||||
- 修复语言获取逻辑:前端优先(`__event_call__` + 超时保护),并回退到请求头与用户资料。
|
||||
- **📝 支持多行 Frontmatter 描述**:`install_skill` 现在可以正确解析远程 `SKILL.md` 里的 `description: >` 和 `description: |`,导入后的技能描述不再被截断成单行。
|
||||
- **↩️ 更稳的元数据回退**:当 frontmatter 只有 `title` 没有 `name` 时,安装器会优先使用 `title`,避免退回到通用目录名。
|
||||
- **🧪 回归测试补齐**:新增 folded/literal YAML 块和 CRLF 换行场景测试,保证外部技能导入行为稳定。
|
||||
|
||||
> [!TIP]
|
||||
> **💡 想要批量安装/管理全局插件 (Actions, Filters, Pipes, Tools)?**
|
||||
|
||||
@@ -3,7 +3,7 @@ title: OpenWebUI Skills Manager Tool
|
||||
author: Fu-Jie
|
||||
author_url: https://github.com/Fu-Jie/openwebui-extensions
|
||||
funding_url: https://github.com/open-webui
|
||||
version: 0.3.0
|
||||
version: 0.3.1
|
||||
openwebui_id: b4bce8e4-08e7-4f90-bea7-dc31d463a0bb
|
||||
requirements:
|
||||
description: Standalone OpenWebUI tool for managing native Workspace Skills (list/show/install/create/update/delete) for any model.
|
||||
@@ -846,26 +846,138 @@ async def _fetch_bytes(valves, url: str) -> bytes:
|
||||
)
|
||||
|
||||
|
||||
_FRONTMATTER_KEY_RE = re.compile(r"^([A-Za-z0-9_-]+):(.*)$")
|
||||
|
||||
|
||||
def _normalize_newlines(text: str) -> str:
|
||||
"""Normalize CRLF/CR text to LF for stable frontmatter parsing."""
|
||||
return text.replace("\r\n", "\n").replace("\r", "\n")
|
||||
|
||||
|
||||
def _strip_matching_quotes(value: str) -> str:
|
||||
"""Remove matching wrapping quotes from a scalar value."""
|
||||
value = (value or "").strip()
|
||||
if len(value) >= 2 and value[0] == value[-1] and value[0] in {"'", '"'}:
|
||||
return value[1:-1]
|
||||
return value
|
||||
|
||||
|
||||
def _collect_frontmatter_block(lines: List[str], start_index: int) -> Tuple[List[str], int]:
|
||||
"""Collect indented block lines until the next top-level frontmatter key."""
|
||||
block_lines: List[str] = []
|
||||
index = start_index
|
||||
|
||||
while index < len(lines):
|
||||
line = lines[index]
|
||||
if not line.strip():
|
||||
block_lines.append("")
|
||||
index += 1
|
||||
continue
|
||||
|
||||
indent = len(line) - len(line.lstrip(" "))
|
||||
if indent == 0 and _FRONTMATTER_KEY_RE.match(line):
|
||||
break
|
||||
if indent == 0:
|
||||
break
|
||||
|
||||
block_lines.append(line)
|
||||
index += 1
|
||||
|
||||
non_empty_indents = [
|
||||
len(line) - len(line.lstrip(" ")) for line in block_lines if line.strip()
|
||||
]
|
||||
min_indent = min(non_empty_indents) if non_empty_indents else 0
|
||||
dedented = [line[min_indent:] if line else "" for line in block_lines]
|
||||
return dedented, index
|
||||
|
||||
|
||||
def _fold_yaml_block(lines: List[str]) -> str:
|
||||
"""Fold YAML `>` block lines into paragraphs separated by blank lines."""
|
||||
parts: List[str] = []
|
||||
paragraph: List[str] = []
|
||||
|
||||
for line in lines:
|
||||
if line == "":
|
||||
if paragraph:
|
||||
parts.append(" ".join(segment.strip() for segment in paragraph))
|
||||
paragraph = []
|
||||
if parts and parts[-1] != "":
|
||||
parts.append("")
|
||||
continue
|
||||
paragraph.append(line.strip())
|
||||
|
||||
if paragraph:
|
||||
parts.append(" ".join(segment.strip() for segment in paragraph))
|
||||
|
||||
return "\n".join(parts).strip()
|
||||
|
||||
|
||||
def _parse_frontmatter_scalars(frontmatter_text: str) -> Dict[str, str]:
|
||||
"""Parse simple top-level YAML frontmatter scalars, including block scalars."""
|
||||
lines = _normalize_newlines(frontmatter_text).split("\n")
|
||||
metadata: Dict[str, str] = {}
|
||||
index = 0
|
||||
|
||||
while index < len(lines):
|
||||
line = lines[index]
|
||||
stripped = line.strip()
|
||||
|
||||
if not stripped or stripped.startswith("#") or line.startswith(" "):
|
||||
index += 1
|
||||
continue
|
||||
|
||||
match = _FRONTMATTER_KEY_RE.match(line)
|
||||
if not match:
|
||||
index += 1
|
||||
continue
|
||||
|
||||
key = match.group(1)
|
||||
raw_value = match.group(2).lstrip()
|
||||
|
||||
if raw_value[:1] in {"|", ">"}:
|
||||
block_lines, index = _collect_frontmatter_block(lines, index + 1)
|
||||
metadata[key] = (
|
||||
"\n".join(block_lines).strip()
|
||||
if raw_value.startswith("|")
|
||||
else _fold_yaml_block(block_lines)
|
||||
)
|
||||
continue
|
||||
|
||||
block_lines, next_index = _collect_frontmatter_block(lines, index + 1)
|
||||
if block_lines:
|
||||
segments = [_strip_matching_quotes(raw_value)] + [
|
||||
segment.strip() for segment in block_lines
|
||||
]
|
||||
metadata[key] = _fold_yaml_block(segments)
|
||||
index = next_index
|
||||
continue
|
||||
|
||||
metadata[key] = _strip_matching_quotes(raw_value)
|
||||
index += 1
|
||||
|
||||
return metadata
|
||||
|
||||
|
||||
def _parse_skill_md_meta(content: str, fallback_name: str) -> Tuple[str, str, str]:
|
||||
"""Parse markdown skill content into (name, description, body)."""
|
||||
fm_match = re.match(r"^---\s*\n(.*?)\n---\s*\n", content, re.DOTALL)
|
||||
normalized_content = _normalize_newlines(content)
|
||||
fm_match = re.match(r"^---\s*\n(.*?)\n---\s*(?:\n|$)", normalized_content, re.DOTALL)
|
||||
if fm_match:
|
||||
fm_text = fm_match.group(1)
|
||||
body = content[fm_match.end() :].strip()
|
||||
name = fallback_name
|
||||
description = ""
|
||||
for line in fm_text.split("\n"):
|
||||
m_name = re.match(r"^name:\s*(.+)$", line)
|
||||
if m_name:
|
||||
name = m_name.group(1).strip().strip("\"'")
|
||||
m_desc = re.match(r"^description:\s*(.+)$", line)
|
||||
if m_desc:
|
||||
description = m_desc.group(1).strip().strip("\"'")
|
||||
body = normalized_content[fm_match.end() :].strip()
|
||||
metadata = _parse_frontmatter_scalars(fm_text)
|
||||
name = (
|
||||
metadata.get("name")
|
||||
or metadata.get("title")
|
||||
or fallback_name
|
||||
).strip()
|
||||
description = (metadata.get("description") or "").strip()
|
||||
return name, description, body
|
||||
|
||||
h1_match = re.search(r"^#\s+(.+)$", content.strip(), re.MULTILINE)
|
||||
stripped_content = normalized_content.strip()
|
||||
h1_match = re.search(r"^#\s+(.+)$", stripped_content, re.MULTILINE)
|
||||
name = h1_match.group(1).strip() if h1_match else fallback_name
|
||||
return name, "", content.strip()
|
||||
return name, "", stripped_content
|
||||
|
||||
|
||||
def _append_source_url_to_content(content: str, url: str, lang: str = "en-US") -> str:
|
||||
|
||||
15
plugins/tools/openwebui-skills-manager/v0.3.1.md
Normal file
15
plugins/tools/openwebui-skills-manager/v0.3.1.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# OpenWebUI Skills Manager v0.3.1 Release Notes
|
||||
|
||||
This patch release improves compatibility when importing external `SKILL.md` files by correctly handling multi-line YAML frontmatter descriptions and safer metadata fallbacks.
|
||||
|
||||
### New Features
|
||||
- Support folded (`description: >`) and literal (`description: |`) multi-line descriptions during `install_skill`.
|
||||
- Normalize CRLF/CR line endings before parsing skill frontmatter metadata.
|
||||
|
||||
### Bug Fixes
|
||||
- Fixed imported skill descriptions being truncated or reduced to a single line when source frontmatter used YAML block scalars.
|
||||
- Added `title` as a name fallback when `name` is absent, reducing generic directory-name fallbacks for third-party skills.
|
||||
|
||||
### Enhancements
|
||||
- Added focused regression tests for folded/literal YAML blocks and CRLF inputs.
|
||||
- Synced README and docs mirrors so the latest release surface documents the new metadata compatibility.
|
||||
15
plugins/tools/openwebui-skills-manager/v0.3.1_CN.md
Normal file
15
plugins/tools/openwebui-skills-manager/v0.3.1_CN.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# OpenWebUI Skills Manager v0.3.1 版本发布说明
|
||||
|
||||
这个补丁版本重点增强了外部 `SKILL.md` 导入兼容性,能够正确处理多行 YAML frontmatter 描述,并提供更稳健的元数据回退逻辑。
|
||||
|
||||
### 新功能
|
||||
- `install_skill` 现已支持 folded(`description: >`)和 literal(`description: |`)两种多行描述格式。
|
||||
- 在解析技能 frontmatter 之前,统一规范化 CRLF/CR 换行,提升跨平台兼容性。
|
||||
|
||||
### 问题修复
|
||||
- 修复第三方 `SKILL.md` 使用 YAML 块标量时,导入后的技能描述被截断或压缩成单行的问题。
|
||||
- 当 frontmatter 缺少 `name` 但提供了 `title` 时,新增 `title` 回退逻辑,避免退回到通用目录名。
|
||||
|
||||
### 优化提升
|
||||
- 新增 folded/literal YAML 块与 CRLF 输入的定向回归测试。
|
||||
- 同步更新 README 与 docs 镜像页,确保最新发布文案与元数据兼容行为保持一致。
|
||||
63
tests/plugins/tools/test_openwebui_skills_manager.py
Normal file
63
tests/plugins/tools/test_openwebui_skills_manager.py
Normal file
@@ -0,0 +1,63 @@
|
||||
import importlib.util
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
MODULE_PATH = (
|
||||
Path(__file__).resolve().parents[3]
|
||||
/ "plugins"
|
||||
/ "tools"
|
||||
/ "openwebui-skills-manager"
|
||||
/ "openwebui_skills_manager.py"
|
||||
)
|
||||
SPEC = importlib.util.spec_from_file_location("openwebui_skills_manager", MODULE_PATH)
|
||||
openwebui_skills_manager = importlib.util.module_from_spec(SPEC)
|
||||
assert SPEC.loader is not None
|
||||
sys.modules[SPEC.name] = openwebui_skills_manager
|
||||
SPEC.loader.exec_module(openwebui_skills_manager)
|
||||
|
||||
|
||||
def test_parse_skill_md_meta_supports_folded_multiline_description():
|
||||
content = (
|
||||
"---\r\n"
|
||||
"name: persona-selector\r\n"
|
||||
"description: >\r\n"
|
||||
" Two-step persona picker. Step 1: numbered category list.\r\n"
|
||||
" Step 2: numbered persona list. 160 personas + Custom.\r\n"
|
||||
"---\r\n\r\n"
|
||||
"# Persona Selector\r\n\r\n"
|
||||
"Body content.\r\n"
|
||||
)
|
||||
|
||||
name, description, body = openwebui_skills_manager._parse_skill_md_meta(
|
||||
content, "fallback-skill"
|
||||
)
|
||||
|
||||
assert name == "persona-selector"
|
||||
assert description == (
|
||||
"Two-step persona picker. Step 1: numbered category list. "
|
||||
"Step 2: numbered persona list. 160 personas + Custom."
|
||||
)
|
||||
assert body == "# Persona Selector\n\nBody content."
|
||||
|
||||
|
||||
def test_parse_skill_md_meta_supports_literal_multiline_description_and_title_fallback():
|
||||
content = (
|
||||
"---\n"
|
||||
'title: "Data Storyteller"\n'
|
||||
"description: |\n"
|
||||
" First line.\n"
|
||||
" Second line.\n"
|
||||
"\n"
|
||||
" Third paragraph.\n"
|
||||
"---\n\n"
|
||||
"Explain how to turn analysis into a narrative.\n"
|
||||
)
|
||||
|
||||
name, description, body = openwebui_skills_manager._parse_skill_md_meta(
|
||||
content, "fallback-skill"
|
||||
)
|
||||
|
||||
assert name == "Data Storyteller"
|
||||
assert description == "First line.\nSecond line.\n\nThird paragraph."
|
||||
assert body == "Explain how to turn analysis into a narrative."
|
||||
Reference in New Issue
Block a user