diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a17ebc9..c8e5c20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -175,10 +175,7 @@ jobs: id: plugins run: | python scripts/extract_plugin_versions.py --json --output plugin_versions.json - python scripts/extract_plugin_versions.py --markdown --output plugin_table.md - - echo "=== Plugin Versions ===" - cat plugin_table.md + python scripts/extract_plugin_versions.py --json --output plugin_versions.json - name: Collect plugin files for release id: collect_files @@ -198,28 +195,12 @@ jobs: fi done else - echo "Collecting all plugin files..." - find plugins -name "*.py" -type f ! -name "__*" | while read -r file; do - dir=$(dirname "$file") - mkdir -p "release_plugins/$dir" - cp "$file" "release_plugins/$file" - done + echo "No changed plugins detected. Skipping file collection." fi # Create a zip file with error handling - cd release_plugins - if [ -n "$(ls -A . 2>/dev/null)" ]; then - if zip -r ../plugins_release.zip .; then - echo "Successfully created plugins_release.zip" - else - echo "Warning: Failed to create zip file, creating empty placeholder" - touch ../plugins_release.zip - fi - else - echo "No plugin files to zip, creating empty placeholder" - touch ../plugins_release.zip - fi - cd .. + # cd release_plugins + # Zip step removed as per user request echo "=== Collected Files ===" find release_plugins -name "*.py" -type f | head -20 @@ -280,16 +261,13 @@ jobs: echo "" >> release_notes.md fi - echo "## All Plugin Versions / 所有插件版本" >> release_notes.md - echo "" >> release_notes.md - cat plugin_table.md >> release_notes.md - echo "" >> release_notes.md + cat >> release_notes.md << 'EOF' ## Download / 下载 - 📦 **plugins_release.zip** - 包含本次更新的所有插件文件 / Contains all updated plugin files + 📦 **Download the updated plugin files below** / 请在下方下载更新的插件文件 ### Installation / 安装 @@ -323,7 +301,7 @@ jobs: prerelease: ${{ github.event.inputs.prerelease || false }} files: | plugin_versions.json - plugins_release.zip + release_plugins/**/*.py env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -336,5 +314,4 @@ jobs: echo "### Updated Plugins" >> $GITHUB_STEP_SUMMARY echo "${{ needs.check-changes.outputs.release_notes }}" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY - echo "### All Plugin Versions" >> $GITHUB_STEP_SUMMARY - cat plugin_table.md >> $GITHUB_STEP_SUMMARY + diff --git a/docs/plugins/filters/async-context-compression.md b/docs/plugins/filters/async-context-compression.md index 3498585..9dcb78c 100644 --- a/docs/plugins/filters/async-context-compression.md +++ b/docs/plugins/filters/async-context-compression.md @@ -1,7 +1,7 @@ # Async Context Compression Filter -v1.0.0 +v1.1.0 Reduces token consumption in long conversations through intelligent summarization while maintaining conversational coherence. diff --git a/docs/plugins/filters/async-context-compression.zh.md b/docs/plugins/filters/async-context-compression.zh.md index 3043866..c5600d0 100644 --- a/docs/plugins/filters/async-context-compression.zh.md +++ b/docs/plugins/filters/async-context-compression.zh.md @@ -1,7 +1,7 @@ # Async Context Compression(异步上下文压缩) Filter -v1.0.0 +v1.1.0 通过智能摘要减少长对话的 token 消耗,同时保持对话连贯。 diff --git a/docs/plugins/filters/index.md b/docs/plugins/filters/index.md index 516f309..a0a8a44 100644 --- a/docs/plugins/filters/index.md +++ b/docs/plugins/filters/index.md @@ -16,17 +16,17 @@ Filters act as middleware in the message pipeline: