Skip to content

feat(plugins): release Copilot SDK Pipe v0.8.0 and Files Filter v0.1.3#50

Merged
Fu-Jie merged 2 commits into
mainfrom
feat-conditional-tool-filtering
Feb 25, 2026
Merged

feat(plugins): release Copilot SDK Pipe v0.8.0 and Files Filter v0.1.3#50
Fu-Jie merged 2 commits into
mainfrom
feat-conditional-tool-filtering

Conversation

@Fu-Jie
Copy link
Copy Markdown
Owner

@Fu-Jie Fu-Jie commented Feb 25, 2026

Summary: release Copilot SDK Pipe v0.8.0 and Files Filter v0.1.3. Includes P1-P4 tool filtering, reliable file publish across storage backends, strict /api/v1/files URL format, HTML preview plus download links, CLI built-ins availability fix, bilingual docs sync, and filter model matching/debug improvements. Verification: version sync completed and local debug script executed.

Related Issues

Closes #48 — Fixed file publishing failure and workspace file creation issues

- Add P1~P4 conditional tool filtering and admin/server gating behavior

- Fix artifact publishing reliability, strict /api file URLs, and HTML preview/download delivery

- Update bilingual README/docs, release notes, and filter matching/debug improvements
Copilot AI review requested due to automatic review settings February 25, 2026 16:43
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 25, 2026

✅ Plugin Version Check / 插件版本检查

版本更新检测通过!PR 包含版本变化和更新说明。

Version check passed! PR contains version changes and update description.


版本变化 / Version Changes

Plugin Updates

  • GitHub Copilot SDK Files Filter: v0.1.2 → v0.1.3
  • GitHub Copilot Official SDK Pipe: v0.7.0 → v0.8.0

This comment was generated automatically. / 此评论由自动生成。

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @Fu-Jie, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on enhancing the GitHub Copilot SDK Pipe and its companion Files Filter plugin. It introduces conditional tool filtering for better control over tool access, improves file publishing reliability across different storage backends, and ensures that essential CLI built-in tools are always available. The changes also include documentation updates and bug fixes to provide a more stable and user-friendly experience.

Highlights

  • Plugin Updates: This PR releases Copilot SDK Pipe v0.8.0 and Files Filter v0.1.3, enhancing tool filtering and file publishing reliability.
  • Conditional Tool Filtering: Introduces a four-priority tool permission system (P1-P4) for precise control over tool activation in conversations.
  • File Publish Reliability: Fixes file publishing across all storage backends (local/S3/GCS/Azure) and ensures CLI built-in tools are always available.
  • HTML Artifact Delivery: Adds direct access links for HTML artifacts and enforces strict file URL formatting.
Changelog
  • GitHub Copilot SDK Files Filter
    • Fixed BYOK model ID matching
    • Added dual-channel debug log
  • GitHub Copilot SDK Pipe
    • Implemented conditional tool filtering (P1-P4)
    • Fixed file publish reliability across all storage backends
    • Ensured CLI built-in tools are always available
    • Added HTML direct access link
    • Enforced strict file URL format
Activity
  • Version sync completed for Pipe and Filter across code, README, docs detail/index, and root README badges.
  • Local debug script run.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a significant feature release for the Copilot SDK Pipe (v0.8.0) and its companion Files Filter (v0.1.3). The changes are extensive and well-executed, including a sophisticated four-tier conditional tool filtering system, major reliability fixes for file publishing across different storage backends, and several UX improvements like ensuring CLI built-in tools are always available. The removal of tool caching in favor of real-time database reads is a smart move for multi-worker stability. The documentation updates are comprehensive and clearly explain the new functionality. I found one minor copy-paste error in a new documentation file. Overall, this is an excellent and impactful update.

Comment on lines +161 to +163
if not is_enabled:
continue # 立即跳过,硬性拦截

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There appears to be a duplicated and incorrectly indented code block here. The if not is_enabled: continue logic is already present on lines 157-158. This block from lines 161-163 should be removed to correct the example.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in commit 0619a40: removed the duplicated code block that was incorrectly placed outside the code fence. Thank you for catching this!

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in commit 0619a40: removed the duplicated code block that was incorrectly placed outside the code fence. Thank you for catching this!

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request releases GitHub Copilot SDK Pipe v0.8.0 and GitHub Copilot SDK Files Filter v0.1.3, introducing a comprehensive four-priority (P1~P4) conditional tool filtering system and critical file publishing reliability fixes across all storage backends.

Changes:

  • Implements P1~P4 conditional tool filtering with admin/server/user/chat-level control
  • Fixes file publish failures on S3/GCS/Azure by using Storage.upload_file() in fallback path
  • Ensures CLI built-in tools remain available by setting available_tools=None
  • Adds strict file URL validation requiring /api/v1/files/ prefix format
  • Includes dual-channel debug logging in filter plugin for better troubleshooting
  • Updates all bilingual documentation (English/Chinese) with consistent v0.8.0/v0.1.3 versions

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated no comments.

Show a summary per file
File Description
plugins/pipes/github-copilot-sdk/github_copilot_sdk.py Core pipe plugin: version bump to 0.8.0, P1-P4 tool filtering implementation, Storage API integration for file publishing, available_tools=None for CLI tools, model cache TTL, system prompt warnings
plugins/filters/github_copilot_sdk_files_filter/github_copilot_sdk_files_filter.py Filter plugin: version bump to 0.1.3, prefix-based model ID matching, dual-channel debug logging
plugins/pipes/github-copilot-sdk/v0.8.0.md English release notes documenting new features and bug fixes
plugins/pipes/github-copilot-sdk/v0.8.0_CN.md Chinese release notes (translation of v0.8.0.md)
plugins/pipes/github-copilot-sdk/README.md Updated English README with v0.8.0 features and fixes
plugins/pipes/github-copilot-sdk/README_CN.md Updated Chinese README with v0.8.0 features and fixes
plugins/filters/github_copilot_sdk_files_filter/README.md Updated English filter README with v0.1.3 improvements
plugins/filters/github_copilot_sdk_files_filter/README_CN.md Updated Chinese filter README with v0.1.3 improvements
docs/plugins/pipes/index.md Version reference updated to v0.8.0
docs/plugins/pipes/index.zh.md Version reference updated to v0.8.0 (Chinese)
docs/plugins/pipes/github-copilot-sdk.md Documentation page updated with v0.8.0 features
docs/plugins/pipes/github-copilot-sdk.zh.md Documentation page updated with v0.8.0 features (Chinese)
docs/plugins/filters/index.md Version reference updated to v0.1.3
docs/plugins/filters/index.zh.md Version reference updated to v0.1.3 (Chinese)
docs/plugins/filters/github-copilot-sdk-files-filter.md Filter documentation updated with v0.1.3 improvements
docs/plugins/filters/github-copilot-sdk-files-filter.zh.md Filter documentation updated with v0.1.3 improvements (Chinese)
docs/development/copilot-sdk-tool-filtering.md New development documentation explaining P1-P4 tool filtering logic
docs/development/copilot-sdk-tool-filtering.zh.md Chinese version of tool filtering documentation
README.md Root README with version badge updated to v0.8.0 and date badge to 2026-02-25
README_CN.md Chinese root README with version badge updated to v0.8.0 and date badge to 2026-02-25

- Remove incorrectly placed duplicate 'if not is_enabled: continue' block
  outside code fence on line 161-163 of copilot-sdk-tool-filtering.zh.md
- Addresses review comment from gemini-code-assist (#50)
@Fu-Jie
Copy link
Copy Markdown
Owner Author

Fu-Jie commented Feb 25, 2026

Review feedback addressed in commit 0619a40:

  • Fixed: Removed duplicated if not is_enabled: continue block that was incorrectly placed outside the code fence in docs/development/copilot-sdk-tool-filtering.zh.md (lines 161-163)

The other reviewer comments (from copilot-pull-request-reviewer) were purely informational summaries with no action items — no further changes needed.

Ready for re-review. 🙏

@Fu-Jie Fu-Jie merged commit db33f44 into main Feb 25, 2026
1 check passed
@Fu-Jie Fu-Jie deleted the feat-conditional-tool-filtering branch February 25, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

keep create notes instead of use workspace

2 participants