1 write to ClaudeCode
Aspire.Cli.Tests (1)
Agents\AgentConfigurationTestContext.cs (1)
41
ClaudeCode
= new ClaudeCodeAgentClient(ExecutionContext, Environment, NullLogger<ClaudeCodeAgentClient>.Instance);
19 references to ClaudeCode
Aspire.Cli.Tests (19)
Agents\AgentConfigurationTestContext.cs (1)
43
Clients = [Copilot,
ClaudeCode
, OpenCode];
Agents\AgentConfigurationTests.cs (14)
252
var path = _context.
ClaudeCode
.GetIntegrationConfigPath(AgentConfigurationScope.Project, _context.Project);
255
await _context.
ClaudeCode
.UpdateIntegrationConfigAsync(
280
var path = _context.
ClaudeCode
.GetIntegrationConfigPath(AgentConfigurationScope.Project, _context.Project);
283
await _context.
ClaudeCode
.UpdateIntegrationConfigAsync(
570
var results = await _context.ConfigureIntegrationAsync(AgentConfigurationScope.Global, [_context.
ClaudeCode
]).DefaultTimeout();
575
await _context.ConfigureIntegrationAsync(AgentConfigurationScope.Project, [_context.
ClaudeCode
]).DefaultTimeout();
624
var results = await _context.ConfigureIntegrationAsync(AgentConfigurationScope.Project, [_context.
ClaudeCode
]);
655
var results = await _context.ConfigureIntegrationAsync(AgentConfigurationScope.Project, [_context.
ClaudeCode
]);
673
var results = await _context.ConfigureIntegrationAsync(AgentConfigurationScope.Global, [_context.
ClaudeCode
]).DefaultTimeout();
704
AgentConfigurationScope.Global, [_context.Copilot, _context.
ClaudeCode
]);
708
Assert.Equal([_context.Copilot, _context.
ClaudeCode
], result.Clients);
726
AgentConfigurationScope.Global, [_context.Copilot, _context.
ClaudeCode
]);
731
Assert.Equal([_context.Copilot, _context.
ClaudeCode
], result.Clients);
741
AgentConfigurationScope.Project, [_context.Copilot, _context.
ClaudeCode
]);
Commands\AgentInitClientSelectionTests.cs (1)
1643
Assert.False(File.Exists(context.
ClaudeCode
.GetIntegrationConfigPath(AgentConfigurationScope.Global, context.Project)));
Commands\AgentInitCommandTests.cs (2)
956
IAgentClient[] clients = [context.Copilot, context.
ClaudeCode
];
1220
var client = agent == "copilot" ? context.Copilot : context.
ClaudeCode
;
Commands\ConfigSourceCommandTests.cs (1)
270
"claude" => context.
ClaudeCode
,