ci(release): include documentation content in release body

- embed changed v*.md release note content into generated GitHub release notes

- keep additional doc changes visible as file list in release output

- refine v0.9.1 EN/CN release notes to include only actual updated/fixed items
This commit is contained in:
fujie
2026-03-04 00:57:18 +08:00
parent 658f37baa6
commit 3e8b15af46
3 changed files with 41 additions and 42 deletions

View File

@@ -65,6 +65,7 @@ jobs:
changed_plugins: ${{ steps.detect.outputs.changed_plugins }}
release_notes: ${{ steps.detect.outputs.release_notes }}
has_doc_changes: ${{ steps.detect.outputs.has_doc_changes }}
changed_doc_files: ${{ steps.detect.outputs.changed_doc_files }}
steps:
- name: Checkout repository
@@ -132,8 +133,13 @@ jobs:
if [ -s changed_docs.txt ]; then
echo "has_doc_changes=true" >> $GITHUB_OUTPUT
echo "changed_doc_files<<EOF" >> $GITHUB_OUTPUT
cat changed_docs.txt >> $GITHUB_OUTPUT
echo "" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
else
echo "has_doc_changes=false" >> $GITHUB_OUTPUT
echo "changed_doc_files=" >> $GITHUB_OUTPUT
fi
# Check if there are any changes
@@ -359,6 +365,7 @@ jobs:
NOTES: ${{ github.event.inputs.release_notes }}
DETECTED_CHANGES: ${{ needs.check-changes.outputs.release_notes }}
COMMITS: ${{ steps.commits.outputs.commits }}
DOC_FILES: ${{ needs.check-changes.outputs.changed_doc_files }}
run: |
> release_notes.md
@@ -387,6 +394,34 @@ jobs:
echo "$NOTES" >> release_notes.md
echo "" >> release_notes.md
fi
if [ -n "$DOC_FILES" ]; then
echo "## Documentation Content" >> release_notes.md
echo "" >> release_notes.md
# Prefer release-note files (v*.md / v*_CN.md), then include other doc files
RELEASE_NOTE_FILES=$(echo "$DOC_FILES" | grep -E '^plugins/.*/v[^/]*\.md$' || true)
OTHER_DOC_FILES=$(echo "$DOC_FILES" | grep -Ev '^plugins/.*/v[^/]*\.md$' || true)
if [ -n "$RELEASE_NOTE_FILES" ]; then
while IFS= read -r file; do
[ -z "$file" ] && continue
if [ -f "$file" ]; then
echo "### ${file}" >> release_notes.md
echo "" >> release_notes.md
cat "$file" >> release_notes.md
echo "" >> release_notes.md
fi
done <<< "$RELEASE_NOTE_FILES"
fi
if [ -n "$OTHER_DOC_FILES" ]; then
echo "### Additional Documentation Files" >> release_notes.md
echo "" >> release_notes.md
echo "$OTHER_DOC_FILES" | sed 's/^/- /' >> release_notes.md
echo "" >> release_notes.md
fi
fi

View File

@@ -1,32 +1,14 @@
# GitHub Copilot SDK Pipe v0.9.1 Release Notes
## Overview
This release upgrades the GitHub Copilot SDK Pipe into a more autonomous and ecosystem-aware Agent integration for OpenWebUI, with stronger web-search behavior, clearer terminology, and improved tool-filtering reliability.
## New Features
## Updated
- Prioritize autonomous web search by always enabling `web_search` for Agent-side decision making.
- Add explicit ecosystem injection messaging for OpenWebUI Tools, MCP servers, OpenAPI servers, and Skills.
- Improve interactive delivery guidance for HTML Artifacts and RichUI workflows.
- Add recommendation for installing the Visual Explainer skill for high-quality visual rendering.
- Restore top-level onboarding callouts (`IMPORTANT` + `TIP`) in plugin docs for companion dependency and BYOK guidance.
- Refresh root README and root README_CN feature highlights to reflect the Agent-focused v0.9.1 positioning.
- Add/align docs mirrors so plugin README and `docs/plugins/pipes/` content stay synchronized.
## Bug Fixes
## Fixed
- Fix MCP tool filtering reliability when `function_name_filter_list` or UI-selected tool scopes are used.
- Normalize tool ID handling to avoid accidental filtering failures with `server:mcp:` prefixes.
- Standardize TODO terminology presentation to avoid malformed text artifacts.
- Remove duplicated language-consistency statements in both English and Chinese docs while keeping the intended single statement.
- Fix malformed CN Visual Explainer installation text formatting.
- Correct Indonesian status wording (`Agén` -> `Agen`) for better locale consistency.
## Migration Notes
- No breaking changes in Valve keys or runtime behavior are introduced in this release.
- Existing deployments can upgrade directly to `0.9.1`.
## Companion Plugins
- GitHub Copilot SDK Files Filter remains the required companion for raw-file handling before RAG interception.
## Documentation Scope
- Updated plugin docs: `README.md`, `README_CN.md`, and mirrored docs pages (`github-copilot-sdk.md`, `github-copilot-sdk.zh.md`).
- Updated project-level highlights in root `README.md` and `README_CN.md`.
- Correct Indonesian status wording (`Agén` -> `Agen`) for better locale consistency.

View File

@@ -1,32 +1,14 @@
# GitHub Copilot SDK Pipe v0.9.1 发布说明
## 概览
本次版本将 GitHub Copilot SDK Pipe 升级为更自主、与 OpenWebUI 生态深度融合的 Agent 集成方案,重点强化了网页搜索行为、术语一致性与工具过滤稳定性。
## 新功能
## 更新内容
-`web_search` 设为 Agent 侧始终可用,优先发挥自主网页搜索能力。
- 明确强调对 OpenWebUI 工具、MCP、OpenAPI Server 与 Skills 的生态注入与复用能力。
- 完善 HTML Artifacts 与 RichUI 的交互交付说明。
- 增加 Visual Explainer 技能安装建议,用于提升可视化渲染质量。
- 恢复插件文档顶部引导区块(`IMPORTANT` + `TIP`),强化配套插件与 BYOK 使用指引。
- 更新根 README 与 README_CN 的功能亮点文案,使其与 v0.9.1 的 Agent 定位保持一致。
- 同步并对齐插件 README 与 `docs/plugins/pipes/` 镜像文档内容。
## 问题修复
## 修复内容
- 修复在使用 `function_name_filter_list` 或聊天界面选择工具时的 MCP 工具过滤失效问题。
- 修复 `server:mcp:` 前缀场景下的工具 ID 归一化逻辑,避免误过滤。
- 统一 TODO 术语展示,消除异常字符导致的显示问题。
- 去除中英文文档中的“语言一致性”重复条目,保留单一有效描述。
- 修复中文文档中 Visual Explainer 安装示例的格式异常。
- 修正印尼语状态文案(`Agén` -> `Agen`),提升多语言一致性。
## 迁移说明
- 本版本未引入 Valve 配置键或运行时行为的破坏性变更。
- 现有部署可直接升级到 `0.9.1`
## 配套插件
- GitHub Copilot SDK Files Filter 仍为必备配套插件,用于在 RAG 预处理前保留原始文件访问能力。
## 文档覆盖范围
- 已更新插件文档:`README.md``README_CN.md` 及其镜像页(`github-copilot-sdk.md``github-copilot-sdk.zh.md`)。
- 已更新项目根文档亮点:`README.md``README_CN.md`
- 修正印尼语状态文案(`Agén` -> `Agen`),提升多语言一致性。