24 instantiations of AgentConfiguration
aspire (4)
Agents\AgentConfiguration.cs (1)
31var edit = new AgentConfiguration();
Agents\ClaudeCode\ClaudeCodeAgentClient.cs (1)
101var edit = new AgentConfiguration();
Agents\Copilot\CopilotAgentClient.cs (1)
143var edit = new AgentConfiguration();
Commands\AgentInitCommand.cs (1)
651var edit = new AgentConfiguration();
Aspire.Cli.Tests (20)
Agents\AgentConfigurationTestContext.cs (1)
79var edit = new AgentConfiguration();
Agents\AgentConfigurationTests.cs (19)
37var edit = new AgentConfiguration(); 59var edit = new AgentConfiguration(); 86var edit = new AgentConfiguration(); 119var edit = new AgentConfiguration(); 135var edit = new AgentConfiguration(); 156var otherEdit = new AgentConfiguration(); 158var edit = new AgentConfiguration(); 175var edit = new AgentConfiguration(); 202var edit = new AgentConfiguration(); 223var edit = new AgentConfiguration(); 253var edit = new AgentConfiguration(); 281var edit = new AgentConfiguration(); 297var remoteEdit = new AgentConfiguration(); 301var mcpEdit = new AgentConfiguration(); 331var edit = new AgentConfiguration(); 369var edit = new AgentConfiguration(); 411var edit = new AgentConfiguration(); 440var edit = new AgentConfiguration(); 500var edit = new AgentConfiguration();
55 references to AgentConfiguration
aspire (23)
Agents\AgentConfiguration.cs (1)
31var edit = new AgentConfiguration();
Agents\AspireSkills\AspireSkillsRemoteConfiguration.cs (3)
28if (AgentConfiguration.ReadObject(path, cancellationToken) is { } config && 104AgentConfiguration edit, CancellationToken cancellationToken) 172IEnumerable<string> paths, string targetPath, AgentConfiguration edit, CancellationToken cancellationToken)
Agents\ClaudeCode\ClaudeCodeAgentClient.cs (4)
39AgentConfiguration.EnumerateJsonFiles(Path.Combine(ManagedSettingsDirectory, "managed-settings.d"))), cancellationToken); 52AgentConfiguration edit, CancellationToken cancellationToken) 68AgentConfiguration edit, CancellationToken cancellationToken) 101var edit = new AgentConfiguration();
Agents\Copilot\CopilotAgentClient.cs (3)
66AgentConfiguration edit, CancellationToken cancellationToken) 90AgentConfiguration edit, CancellationToken cancellationToken) 143var edit = new AgentConfiguration();
Agents\IAgentClient.cs (2)
30AgentConfiguration edit, CancellationToken cancellationToken); 39AgentConfiguration edit, CancellationToken cancellationToken);
Agents\McpConfigFileHelper.cs (1)
43AgentConfiguration edit, CancellationToken cancellationToken)
Agents\OpenCode\OpenCodeAgentClient.cs (7)
73var config = AgentConfiguration.ReadObject(path, CancellationToken.None); 88foreach (var directory in GetConfiguredSkillDirectories(AgentConfiguration.ParseObject(inline))) 134AgentConfiguration edit, CancellationToken cancellationToken) 240AspireSkillsRemoteConfiguration.HasOpenCodeCatalog(AgentConfiguration.ParseObject(inline))) 247if (AgentConfiguration.ReadObject(path, cancellationToken) is { } config && AspireSkillsRemoteConfiguration.HasOpenCodeCatalog(config)) 258AgentConfiguration edit, CancellationToken cancellationToken) 265var inlineConfig = AgentConfiguration.ParseObject(inline);
Commands\AgentInitCommand.cs (2)
562var results = await AgentConfiguration.ApplyRemoteAsync(selectedClients, workspaceRoot, scope, cancellationToken); 651var edit = new AgentConfiguration();
Aspire.Cli.Tests (32)
Agents\AgentConfigurationTestContext.cs (2)
74=> AgentConfiguration.ApplyRemoteAsync(clients, Project, scope, cancellationToken); 79var edit = new AgentConfiguration();
Agents\AgentConfigurationTests.cs (30)
35var inline = AgentConfiguration.ParseObject(json); 36var file = AgentConfiguration.ReadObject(path, CancellationToken.None); 37var edit = new AgentConfiguration(); 58var file = AgentConfiguration.ReadObject(path, CancellationToken.None); 59var edit = new AgentConfiguration(); 85AgentConfiguration.ReadObject(path, CancellationToken.None)); 86var edit = new AgentConfiguration(); 113"null" => Assert.Throws<ArgumentNullException>(() => AgentConfiguration.ParseObject(json)), 114"[]" => Assert.Throws<InvalidOperationException>(() => AgentConfiguration.ParseObject(json)), 115_ => Assert.ThrowsAny<JsonException>(() => AgentConfiguration.ParseObject(json)) 118AgentConfiguration.ReadObject(path, CancellationToken.None)); 119var edit = new AgentConfiguration(); 135var edit = new AgentConfiguration(); 137Assert.Null(AgentConfiguration.ReadObject(path, CancellationToken.None)); 138Assert.Empty(AgentConfiguration.EnumerateJsonFiles(directory)); 156var otherEdit = new AgentConfiguration(); 158var edit = new AgentConfiguration(); 175var edit = new AgentConfiguration(); 180var discovered = AgentConfiguration.ReadObject(path, CancellationToken.None); 202var edit = new AgentConfiguration(); 223var edit = new AgentConfiguration(); 253var edit = new AgentConfiguration(); 281var edit = new AgentConfiguration(); 297var remoteEdit = new AgentConfiguration(); 301var mcpEdit = new AgentConfiguration(); 331var edit = new AgentConfiguration(); 369var edit = new AgentConfiguration(); 411var edit = new AgentConfiguration(); 440var edit = new AgentConfiguration(); 500var edit = new AgentConfiguration();