This repository was archived by the owner on Nov 5, 2026. It is now read-only.
Repository navigation
Separate plugin origin from package-reported agent - #53
Merged
Steven J (tonystevenj) merged 2 commits intoNov 4, 2026
Merged
Conversation
Default origin to plugin, report github-copilot only from the native entry point, and remove inherited reports in shared hooks. Preserve origin overrides and update existing checks and documentation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Integrate merged packaging PR #37 and current app guidance. Bump plugin metadata to 2.1.8 because main now uses 2.1.7. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Chamu Rajasekera (Chamu-Rajasekera)
approved these changes
Nov 3, 2026
Chamu Rajasekera (Chamu-Rajasekera)
left a comment
Collaborator
There was a problem hiding this comment.
The origin/agent ownership split looks good and matches the CLI attribution contract: default origin to plugin, report fixed github-copilot only from the native entry point, and leave detection and report validation to the CLI. Shared hooks correctly remove inherited reports rather than setting empty values, preserving passive fallback. Existing origin overrides remain supported.
Please release a CLI version supporting MS_PLUGIN_REPORT_AGENT before distributing plugin 2.1.8. Approval or merge of bic/PowerPlatform-Managed-Host#2024 alone is not sufficient; the consuming CLI version must be published to avoid losing attribution on older CLIs.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
MS_CLI_ORIGINtopluginfor commands that invoke the Managed Apps CLI.MS_PLUGIN_REPORT_AGENT=github-copilotonly from the native Copilot hook entry point. The shared package does not identify the host.COPILOT_CLImarker from plugin hooks.2.1.8.Compatibility
The plugin reports the agent only when its entry point identifies the host. The native Copilot entry point does not distinguish CLI from VS Code, so it reports the generic
github-copilotlabel. Shared hooks do not guess Claude, Codex, Cursor, or another host.Release CLI support for
MS_PLUGIN_REPORT_AGENTbefore this plugin version. Older CLIs do not consume the new report and may lose agent attribution when the origin becomes channel-only.This branch includes the latest
mainafter microsoft/managed-apps#37 merged.Validation
files.pythonhosted.orgfailed withTLS HandshakeFailure.