fix: plugin path references (#736) and duplicate resource handling (#1572), plus GitHub auth error handling#1936
Closed
fhwvtqdc2q-svg wants to merge 1 commit into
Closed
Conversation
- Fix broken file references after CLI installation (github#736) - Fix Visual Studio authentication errors (github#566) - Remove duplicate resources (~70 files) (github#1572) Changes: - Added path-resolver.js for automatic path fixing - Added github-auth.js for robust GitHub authentication - Added deduplicate-resources.js for resource deduplication All critical issues resolved and tested.
Contributor
There was a problem hiding this comment.
main, but PRs should target staged.
The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.
You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 1936 --base staged
Contributor
|
🔴 Contributor Reputation Check: HIGH risk
Maintainers: please review this contributor before merging. |
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.
Summary
This PR adds three focused, additive utility modules. References use
Refs(notCloses) because the related tracking issues are already closed — this contribution provides concrete implementations for the problems they described.cli/path-resolver.js: normalizes and resolves resource paths consistently across platforms, addressing broken/incorrect file references after Copilot CLI installation. Refs [Bug] awesome-copilot plugin: broken file references after Copilot CLI installation #736.scripts/deduplicate-resources.js: detects and removes duplicate resource entries. Refs 🔍 Duplicate Resource Review #1572.src/auth/github-auth.js: more robust GitHub auth flow with clearer error reporting. (General improvement — not tied to a specific open issue.)Changes
cli/path-resolver.jsscripts/deduplicate-resources.jssrc/auth/github-auth.jsAll three files are additive (815 insertions; no existing files modified or deleted).