3 writes to Id
aspire (3)
Agents\AgentClient.cs (3)
23
Id
= "copilot",
46
Id
= "claude",
58
Id
= "opencode",
12 references to Id
aspire (7)
Agents\AgentClient.cs (1)
126
public override string ToString() =>
Id
;
Commands\AgentInitCommand.cs (6)
94
var supportedClients = string.Join(",", AgentClient.All.Select(static client => client.
Id
));
110
var selected = ConsoleInteractionService.MatchChoices(value, AgentClient.All, static client => client.
Id
);
123
[.. AgentClient.All.Select(static client => new CompletionItem(client.
Id
)),
266
var matchedClients = ConsoleInteractionService.MatchChoices(requestedAgents, AgentClient.All, static client => client.
Id
);
270
requestedAgents, string.Join(",", AgentClient.All.Select(static client => client.
Id
)),
299
binding: agentsBinding.WithDefault(string.Join(",", defaultClients.Select(static client => client.
Id
))),
Aspire.Cli.Tests (5)
Commands\AgentInitClientSelectionTests.cs (5)
172
Assert.Equal(expectedClients.Split(','), agentPrompt.PreSelected.Cast<AgentClient>().Select(client => client.
Id
));
177
var defaults = AgentClient.All.Where(client => expectedClients.Split(',').Contains(client.
Id
)).ToArray();
1041
var client = AgentClient.All.Single(client => client.
Id
== clientId);
1094
var client = AgentClient.All.Single(client => client.
Id
== clientId);
1127
var client = AgentClient.All.Single(client => client.
Id
== clientId);