3 implementations of GetIntegrationConfigPath
aspire (3)
Agents\ClaudeCode\ClaudeCodeAgentClient.cs (1)
69
public string
GetIntegrationConfigPath
(AgentConfigurationScope scope, DirectoryInfo workspaceRoot)
Agents\Copilot\CopilotAgentClient.cs (1)
55
public string
GetIntegrationConfigPath
(AgentConfigurationScope scope, DirectoryInfo workspaceRoot)
Agents\OpenCode\OpenCodeAgentClient.cs (1)
158
public string
GetIntegrationConfigPath
(AgentConfigurationScope scope, DirectoryInfo workspaceRoot)
48 references to GetIntegrationConfigPath
aspire (1)
Agents\AgentConfiguration.cs (1)
25
foreach (var targets in clients.Distinct().GroupBy(client => Path.GetFullPath(client.
GetIntegrationConfigPath
(scope, workspaceRoot)), StringComparers.FileSystemPath))
Aspire.Cli.Tests (47)
Agents\AgentConfigurationTests.cs (8)
196
var path = _context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, _context.Project);
220
var inherited = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, _context.Project);
222
var path = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, _context.Project);
252
var path = _context.ClaudeCode.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, _context.Project);
280
var path = _context.ClaudeCode.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, _context.Project);
295
var path = _context.OpenCode.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, _context.Project);
594
: client.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, _context.Project);
603
Assert.False(File.Exists(client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, _context.Project)));
Agents\AgentPathTests.cs (1)
45
_context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, _context.Project));
Agents\SkillSourceTests.cs (10)
211
context.OpenCode.
GetIntegrationConfigPath
(scope, context.Project),
222
configurations[client.Id] = AgentConfiguration.ReadObject(client.
GetIntegrationConfigPath
(scope, context.Project));
236
var path = context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project);
258
var path = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project);
280
client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project),
298
var path = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project);
345
var path = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project);
392
var path = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project);
424
context.OpenCode.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project), """{"skills":[]}""");
433
client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project));
Commands\AgentInitClientSelectionTests.cs (7)
110
? defaults.Select(client => client.
GetIntegrationConfigPath
(selectedScope, workspace.WorkspaceRoot)).Distinct().Order(StringComparer.Ordinal)
113
File.Exists(client.
GetIntegrationConfigPath
(selectedScope, workspace.WorkspaceRoot)) &&
116
.Select(client => client.
GetIntegrationConfigPath
(selectedScope, workspace.WorkspaceRoot))
1477
var pluginPath = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, workspace.WorkspaceRoot);
1534
var pluginPath = client.
GetIntegrationConfigPath
(scope, workspace.WorkspaceRoot);
1641
Assert.True(File.Exists(context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, context.Project)));
1643
Assert.False(File.Exists(context.ClaudeCode.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, context.Project)));
Commands\AgentInitCommandTests.cs (16)
107
context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project)), "json")
216
context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project)), "json")
281
client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project))));
454
Assert.True(File.Exists(client.
GetIntegrationConfigPath
(configurationScope, context.Project)));
527
var config = await File.ReadAllTextAsync(context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project));
567
context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project)), "json")
876
$"{prefix}{Path.GetRelativePath(scopeRoot.FullName, client.
GetIntegrationConfigPath
(scope, context.Project)).Replace(Path.DirectorySeparatorChar, '/')} ({client.DisplayName})").ToArray();
934
context.OpenCode.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project), config.ToJsonString());
960
client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project), original);
981
client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project)));
1084
context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project),
1142
var settingsPath = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project);
1151
client.
GetIntegrationConfigPath
(AgentConfigurationScope.Global, context.Project), settings);
1226
await AgentConfigurationTestContext.WriteAsync(client.
GetIntegrationConfigPath
(scope, context.Project),
1397
var integrationPath = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project);
1417
Assert.True(File.Exists(context.Copilot.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project)));
Commands\ConfigSourceCommandTests.cs (2)
275
await Verify(await File.ReadAllTextAsync(client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, context.Project)), "json")
347
.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, workspace.WorkspaceRoot);
Commands\InitCommandTests.cs (3)
1027
var nativePath = client.
GetIntegrationConfigPath
(AgentConfigurationScope.Project, workspace.WorkspaceRoot);
1109
var selectedPath = client.
GetIntegrationConfigPath
(selectedScope, workspace.WorkspaceRoot);
1110
var unselectedPath = client.
GetIntegrationConfigPath
(unselectedScope, workspace.WorkspaceRoot);