21 references to CopilotApp
aspire (7)
Agents\Copilot\CopilotAgentClient.cs (4)
35
public AgentEnvironment Environments => AgentEnvironment.CopilotCli | AgentEnvironment.
CopilotApp
| AgentEnvironment.VsCode;
106
var targetEnvironment = detectedEnvironments & (AgentEnvironment.
CopilotApp
| AgentEnvironment.CopilotCli);
110
if (targetEnvironment.HasFlag(AgentEnvironment.
CopilotApp
))
112
targetEnvironment = AgentEnvironment.
CopilotApp
;
Agents\Copilot\CopilotAgentEnvironmentScanner.cs (1)
27
environments |= AgentEnvironment.
CopilotApp
;
Agents\Hooks\TelemetryHookConfigurator.cs (1)
15
(AgentEnvironment.
CopilotApp
| AgentEnvironment.CopilotCli | AgentEnvironment.ClaudeCode);
Commands\AgentInitCommand.cs (1)
768
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)
54
AgentEnvironment.CopilotCli | AgentEnvironment.
CopilotApp
| AgentEnvironment.ClaudeCode |
58
Assert.Equal(AgentEnvironment.
CopilotApp
| AgentEnvironment.ClaudeCode, result.ConfiguredEnvironments);
77
AgentEnvironment.
CopilotApp
| AgentEnvironment.CopilotCli | AgentEnvironment.ClaudeCode,
82
Assert.Equal(AgentEnvironment.
CopilotApp
, skip.Environment);
208
(int)(AgentEnvironment.
CopilotApp
| AgentEnvironment.CopilotCli | AgentEnvironment.ClaudeCode),
209
(int)AgentEnvironment.
CopilotApp
)]
Commands\AgentInitClientSelectionTests.cs (3)
33
DetectedEnvironments = AgentEnvironment.
CopilotApp
| AgentEnvironment.CopilotCli | AgentEnvironment.VsCode
47
Assert.Equal(AgentEnvironment.
CopilotApp
| AgentEnvironment.CopilotCli | AgentEnvironment.VsCode, copilot.Environments);
1370
DetectedEnvironments = AgentEnvironment.
CopilotApp
| AgentEnvironment.ClaudeCode | AgentEnvironment.OpenCode
Commands\AgentInitCommandTests.cs (1)
673
[InlineData(nameof(AgentEnvironment.
CopilotApp
), "GitHub Copilot App")]