Add Version Check script to canvas configure skill - #331
Open
McCall Saltzman (lesaltzm) wants to merge 2 commits into
Open
Add Version Check script to canvas configure skill#331McCall Saltzman (lesaltzm) wants to merge 2 commits into
McCall Saltzman (lesaltzm) wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an advisory “plugin out-of-date” reminder to the canvas-apps plugin by running a small version-check script at the start of the configure-canvas-mcp skill, and bumps related versions/docs to reflect the change.
Changes:
- Added a .NET file-based script to compare the local
canvas-appsplugin version vs the canonical manifest onmainand print update instructions when newer exists. - Updated
configure-canvas-mcpto run the version check before starting the skill workflow. - Bumped the plugin manifest versions (and updated plugin guidance) to include the new script.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| plugins/canvas-apps/skills/configure-canvas-mcp/SKILL.md | Adds an upfront “Plugin check” step and bumps the skill version. |
| plugins/canvas-apps/scripts/check-version.cs | New .NET script that fetches the latest manifest and prints update instructions when local is behind. |
| plugins/canvas-apps/AGENTS.md | Documents the new script and its intended best-effort behavior. |
| plugins/canvas-apps/.plugin/plugin.json | Bumps the canvas-apps plugin version. |
| plugins/canvas-apps/.claude-plugin/plugin.json | Keeps the legacy mirror manifest version in sync. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| allowed-tools: Bash, AskUserQuestion, mcp__canvas-authoring__connect | ||
| --- | ||
|
|
||
| > **Plugin check**: Run `dotnet run --file "${PLUGIN_ROOT}/scripts/check-version.cs" --verbosity quiet -- --plugin-root "${PLUGIN_ROOT}"` — if it outputs a message, show it to the user before proceeding. |
Comment on lines
+67
to
+73
| private static void WriteUpdateCommands(string cli, string pluginName, string indent) | ||
| { | ||
| Console.WriteLine($"{indent}{cli} plugin marketplace update {MarketplaceName}"); | ||
| Console.WriteLine( | ||
| $"{indent}{cli} plugin update {pluginName}@{MarketplaceName}" | ||
| ); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We've seen folks not using the latest versions of the plugin. This adds a reminder script to the configure skill for canvas apps. We use dotnet file run as users should already have dotnet installed to use this plugin.