29 references to ClientId
aspire (4)
Agents\AspireSkills\LocalAspireSkills.cs (1)
31
(Path.Combine(".claude", "skills"), [ClaudeCodeAgentClient.
ClientId
]),
Agents\ClaudeCode\ClaudeCodeAgentClient.cs (1)
54
public string Id =>
ClientId
;
Agents\Playwright\PlaywrightCliInstaller.cs (1)
355
var primarySkillBaseDirectory = Path.GetRelativePath(repoRoot, clients.Single(client => string.Equals(client.Id, ClaudeCodeAgentClient.
ClientId
, StringComparisons.AgentClientId))
Commands\InitCommand.cs (1)
274
if (registeredClients.Any(client => string.Equals(client.Id, ClaudeCodeAgentClient.
ClientId
, StringComparisons.AgentClientId)))
Aspire.Cli.Tests (25)
Agents\TelemetryHookConfiguratorTests.cs (24)
53
[CopilotAgentClient.ClientId, ClaudeCodeAgentClient.
ClientId
, OpenCodeAgentClient.ClientId],
57
[(CopilotAgentClient.ClientId, TelemetryHookStatus.Configured), (ClaudeCodeAgentClient.
ClientId
, TelemetryHookStatus.Configured)],
76
[CopilotAgentClient.ClientId, ClaudeCodeAgentClient.
ClientId
],
80
[(CopilotAgentClient.ClientId, TelemetryHookStatus.WriteFailed), (ClaudeCodeAgentClient.
ClientId
, TelemetryHookStatus.Configured)],
110
var result = await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None).DefaultTimeout();
112
Assert.Equal([(ClaudeCodeAgentClient.
ClientId
, TelemetryHookStatus.Configured)], GetOutcomes(result));
128
await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None).DefaultTimeout();
129
await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None).DefaultTimeout();
164
await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None).DefaultTimeout();
184
await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None);
185
await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None);
218
await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None).DefaultTimeout();
241
? [CopilotAgentClient.ClientId, ClaudeCodeAgentClient.
ClientId
]
242
: [ClaudeCodeAgentClient.
ClientId
];
246
? [(CopilotAgentClient.ClientId, TelemetryHookStatus.Configured), (ClaudeCodeAgentClient.
ClientId
, TelemetryHookStatus.MalformedConfig)]
247
: [(ClaudeCodeAgentClient.
ClientId
, TelemetryHookStatus.MalformedConfig)];
287
await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None);
288
await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None);
310
var result = await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None).DefaultTimeout();
312
Assert.Equal([(ClaudeCodeAgentClient.
ClientId
, TelemetryHookStatus.UnexpectedConfigShape)], GetOutcomes(result));
330
var result = await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None).DefaultTimeout();
332
Assert.Equal([(ClaudeCodeAgentClient.
ClientId
, TelemetryHookStatus.UnexpectedConfigShape)], GetOutcomes(result));
343
var result = await configurator.ConfigureAsync([ClaudeCodeAgentClient.
ClientId
], CancellationToken.None).DefaultTimeout();
345
Assert.Equal([(ClaudeCodeAgentClient.
ClientId
, TelemetryHookStatus.Configured)], GetOutcomes(result));
Commands\NewCommandTests.cs (1)
3575
Assert.Equal([ClaudeCodeAgentClient.
ClientId
], hooks.SelectedClientIds);