28 references to Project
aspire (10)
Agents\AgentClient.cs (3)
100
return scope is AgentConfigurationScope.
Project
107
return scope is AgentConfigurationScope.
Project
115
if (scope is AgentConfigurationScope.
Project
)
Agents\McpConfigFileHelper.cs (1)
26
(scope is AgentConfigurationScope.
Project
||
Commands\AgentInitCommand.cs (4)
210
PromptBinding.Create(parseResult, s_scopeOption, AgentConfigurationScope.
Project
),
393
new[] { AgentConfigurationScope.
Project
, AgentConfigurationScope.Global },
394
value => value is AgentConfigurationScope.
Project
875
var root = scope is AgentConfigurationScope.
Project
? workspaceRoot : ExecutionContext.HomeDirectory;
Commands\InitCommand.cs (1)
187
PromptBinding.Create(parseResult, AgentInitCommand.s_scopeOption, AgentConfigurationScope.
Project
),
Commands\NewCommand.cs (1)
617
PromptBinding.Create(parseResult, AgentInitCommand.s_scopeOption, AgentConfigurationScope.
Project
),
Aspire.Cli.Tests (18)
Commands\AgentInitClientSelectionTests.cs (16)
176
var selectedScope = scope == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
278
[InlineData("PrOjEcT", nameof(AgentConfigurationScope.
Project
))]
412
Assert.Equal([AgentConfigurationScope.
Project
, AgentConfigurationScope.Global], choices.Cast<AgentConfigurationScope>());
505
var selectedScope = scope == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
507
var root = selectedScope is AgentConfigurationScope.
Project
? workspace.WorkspaceRoot : homeDirectory;
648
var scope = scopeName == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
696
var scope = scopeName == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
750
var scope = scopeName == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
783
jsoncPath, AgentClient.OpenCode, AgentConfigurationScope.
Project
, new TestEnvironment(), CancellationToken.None);
829
var scope = scopeName == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
880
var scope = scopeName == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
1042
var scope = scopeName == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
1095
var scope = scopeName == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
1128
var scope = scopeName == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
1156
var scope = scopeName == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
1194
var scope = scopeName == "project" ? AgentConfigurationScope.
Project
: AgentConfigurationScope.Global;
Commands\AgentInitCommandTests.cs (2)
737
PromptBinding.CreateDefault(AgentConfigurationScope.
Project
),
772
PromptBinding.CreateDefault(AgentConfigurationScope.
Project
),