Clarify telemetry hook message when Copilot App and CLI are detected
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Describe the bug
When `aspire new` or `aspire init` configures AI agent environments and both GitHub Copilot App and Copilot CLI are detected, it reports:
> Installed Aspire agent telemetry hooks for: GitHub Copilot App.
The App and CLI share the same Copilot hook configuration, but runtime telemetry differentiates them. The current message incorrectly implies that the hook is App-only.
### Expected Behavior
The message should reflect the shared hook, for example **“GitHub Copilot App and CLI”** or **“GitHub Copilot (shared App/CLI hook)”**.
### Steps To Reproduce
1. Install the GitHub Copilot App and use a VS Code terminal where Copilot CLI is also detected.
2. Run `aspire new` or `aspire init` and enable AI agent environment configuration.
3. Observe that the telemetry hook installation message names only GitHub Copilot App.
### Exceptions (if any)
N/A
### Aspire doctor output
N/A
### Anything else?
Observed with Aspire CLI `13.6.0-dev` through the Aspire VS Code extension.
Contributor guide
Research direction
Start from the `aspire new` and `aspire init` paths that configure AI agent environments, then locate the telemetry hook installation message. Reproduce the case with both GitHub Copilot App and Copilot CLI detected, update the wording to describe their shared hook, and run the relevant CLI tests or commands to confirm the message is accurate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100