20 references to CopilotApp
aspire (6)
Agents\AgentClient.cs (1)
25
Environments = AgentEnvironment.CopilotCli | AgentEnvironment.
CopilotApp
| AgentEnvironment.VsCode,
Agents\Copilot\CopilotAgentEnvironmentScanner.cs (1)
27
environments |= AgentEnvironment.
CopilotApp
;
Agents\Hooks\TelemetryHookConfigurator.cs (3)
69
AgentEnvironment.
CopilotApp
| AgentEnvironment.CopilotCli);
71
if (copilotEnvironment.HasFlag(AgentEnvironment.
CopilotApp
))
73
copilotEnvironment = AgentEnvironment.
CopilotApp
;
Commands\AgentInitCommand.cs (1)
625
AgentEnvironment.
CopilotApp
=> "GitHub Copilot App",
Aspire.Cli.Tests (14)
Agents\AgentEnvironmentDetectorTests.cs (2)
73
DetectedEnvironments = AgentEnvironment.CopilotCli | AgentEnvironment.
CopilotApp
90
Assert.Equal(AgentEnvironment.CopilotCli | AgentEnvironment.
CopilotApp
| AgentEnvironment.OpenCode, environments);
Agents\CopilotAgentEnvironmentScannerTests.cs (2)
38
(appInstalled ? AgentEnvironment.
CopilotApp
: AgentEnvironment.None), environments);
62
Assert.Equal(appInstalled ? AgentEnvironment.
CopilotApp
: AgentEnvironment.None, environments);
Agents\TelemetryHookConfiguratorTests.cs (6)
51
AgentEnvironment.CopilotCli | AgentEnvironment.
CopilotApp
| AgentEnvironment.ClaudeCode |
55
Assert.Equal(AgentEnvironment.
CopilotApp
| AgentEnvironment.ClaudeCode, result.ConfiguredEnvironments);
74
AgentEnvironment.
CopilotApp
| AgentEnvironment.CopilotCli | AgentEnvironment.ClaudeCode,
79
Assert.Equal(AgentEnvironment.
CopilotApp
, skip.Environment);
205
(int)(AgentEnvironment.
CopilotApp
| AgentEnvironment.CopilotCli | AgentEnvironment.ClaudeCode),
206
(int)AgentEnvironment.
CopilotApp
)]
Commands\AgentInitClientSelectionTests.cs (3)
111
DetectedEnvironments = AgentEnvironment.
CopilotApp
| AgentEnvironment.CopilotCli | AgentEnvironment.VsCode
120
Assert.True(AgentClient.Copilot.Includes(AgentEnvironment.
CopilotApp
));
1231
DetectedEnvironments = AgentEnvironment.
CopilotApp
| AgentEnvironment.ClaudeCode | AgentEnvironment.OpenCode
Commands\AgentInitCommandTests.cs (1)
963
[InlineData(nameof(AgentEnvironment.
CopilotApp
), "GitHub Copilot App")]