24 references to CopilotCli
aspire (4)
Agents\AgentClient.cs (1)
25
Environments = AgentEnvironment.
CopilotCli
| AgentEnvironment.CopilotApp | AgentEnvironment.VsCode,
Agents\Copilot\CopilotAgentEnvironmentScanner.cs (1)
44
environments |= AgentEnvironment.
CopilotCli
;
Agents\Hooks\TelemetryHookConfigurator.cs (1)
69
AgentEnvironment.CopilotApp | AgentEnvironment.
CopilotCli
);
Commands\AgentInitCommand.cs (1)
624
AgentEnvironment.
CopilotCli
=> "GitHub Copilot CLI",
Aspire.Cli.Tests (20)
Agents\AgentEnvironmentDetectorTests.cs (3)
73
DetectedEnvironments = AgentEnvironment.
CopilotCli
| AgentEnvironment.CopilotApp
77
DetectedEnvironments = AgentEnvironment.OpenCode | AgentEnvironment.
CopilotCli
90
Assert.Equal(AgentEnvironment.
CopilotCli
| AgentEnvironment.CopilotApp | AgentEnvironment.OpenCode, environments);
Agents\CopilotAgentEnvironmentScannerTests.cs (2)
37
Assert.Equal((cliInstalled ? AgentEnvironment.
CopilotCli
: AgentEnvironment.None) |
87
Assert.Equal(AgentEnvironment.
CopilotCli
, environments);
Agents\TelemetryHookConfiguratorTests.cs (6)
22
var result = await configurator.ConfigureAsync(AgentEnvironment.
CopilotCli
, CancellationToken.None).DefaultTimeout();
24
Assert.Equal(AgentEnvironment.
CopilotCli
, result.ConfiguredEnvironments);
51
AgentEnvironment.
CopilotCli
| AgentEnvironment.CopilotApp | AgentEnvironment.ClaudeCode |
74
AgentEnvironment.CopilotApp | AgentEnvironment.
CopilotCli
| AgentEnvironment.ClaudeCode,
96
await configurator.ConfigureAsync(AgentEnvironment.
CopilotCli
, CancellationToken.None).DefaultTimeout();
205
(int)(AgentEnvironment.CopilotApp | AgentEnvironment.
CopilotCli
| AgentEnvironment.ClaudeCode),
Commands\AgentInitClientSelectionTests.cs (2)
111
DetectedEnvironments = AgentEnvironment.CopilotApp | AgentEnvironment.
CopilotCli
| AgentEnvironment.VsCode
121
Assert.True(AgentClient.Copilot.Includes(AgentEnvironment.
CopilotCli
));
Commands\AgentInitCommandTests.cs (4)
721
options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.
CopilotCli
};
757
options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.
CopilotCli
};
962
[InlineData(nameof(AgentEnvironment.
CopilotCli
), "GitHub Copilot CLI")]
1006
options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.
CopilotCli
};
Commands\NewCommandTests.cs (3)
2466
options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.
CopilotCli
};
3345
options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.
CopilotCli
};
3374
options.AgentEnvironmentDetectorFactory = _ => new TestAgentEnvironmentDetector { DetectedEnvironments = AgentEnvironment.
CopilotCli
};