Repository navigation
[release/17.0] Backport CLI source and agent setup improvements - #22109
Jose Perez Rodriguez (joperezr) merged 5 commits into
Conversation
## Description Configured template sources currently appear in the `aspire new` picker under a friendly name or alias alone, making it difficult to tell which repository and ref will supply a template. Show that provenance directly in each source heading while retaining the friendly name. Git headings now use `Name (repository @ ref)`. An omitted ref is explicitly displayed as `default branch`, rather than guessing a branch name or displaying the acquired commit. Directory headings use `Name (path)` instead. Built-in grouping, collision-safe source IDs and selections, trust/consent behavior, acquisition semantics, and the extension's flat-choice protocol remain unchanged. Existing literal-text escaping and terminal-width cropping apply to the expanded headings. Follow-up to #21754. No new dependencies. ### User-facing usage Run `aspire new` with configured template sources. Example headings: ```text Company templates (https://github.com/example/templates @ release/templates) company (https://github.com/example/templates @ default branch) Company templates (/work/templates) ``` ### Screenshots / Recordings > **This PR includes CLI prompt changes.** TODO: add a screenshot or recording of `aspire new` with Git and directory sources, including a narrow terminal. > > Rendered console snapshots cover full headings at 120 columns and literal-text escaping/cropping at 40 columns. No screenshot or recording is attached. <!-- Add screenshots/recordings here --> ### Validation - `./restore.sh` — passed. - `dotnet test --project tests/Aspire.Cli.Tests/Aspire.Cli.Tests.csproj --no-launch-profile -- --filter-class '*.NewCommandLocalTemplateTests' --filter-class '*.ConsoleInteractionServiceTests' --filter-class '*.ExtensionInteractionServiceTests' --filter-class '*.TemplateSourceConfigurationTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'` — passed, 750 tests. - `git diff --check` — passed. Coverage includes configured/default refs, commit and fully qualified branch refs, friendly names and alias fallback, directory sources, inherited sources, duplicate names, credential-bearing source rejection, markup-containing locations, and width-aware rendering. Git acquisition uses the existing test runner, not live repositories. Quarantined/outerloop tests and the full repository suite were not run. Fixes # (issue) ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] Yes - [ ] No - Did you add public API? - [ ] Yes - If yes, did you have an API Review for it? - [ ] Yes - [ ] No - Did you add `<remarks />` and `<code />` elements on your triple slash comments? - [ ] Yes - [ ] No - [x] No - Does the change make any security assumptions or guarantees? - [ ] Yes - If yes, have you done a threat model and had a security review? - [ ] Yes - [ ] No - [x] No --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> (cherry picked from commit db62c35)
`aspire agent init` shows a generic installation-location preview that
can be mistaken for plugin configuration. Its result summary omits
configured source URLs and does not show where Playwright skills are
installed.
This PR separates configured remote sources from installed local skills:
- Show repository URLs and the actual OpenCode catalogs, including
retained version pins, alongside configuration locations.
- Include successfully installed Playwright skills and already-current
static skills in the installed-skills summary.
- Group locations with their supported agents, separate result sections
with blank lines, and dim the shared-location notice.
The excerpts below show project-scoped setup with GitHub Copilot, Claude
Code, and OpenCode selected, installing Aspire configuration and
Playwright CLI.
### Before
```text
Installation locations:
Skills: .agents/skills (shared: GitHub Copilot, OpenCode)
Skills: .claude/skills
Shared files may be discovered by agents that aren't selected.
🤖 Configured Aspire plugin:
GitHub Copilot: .github/copilot/settings.json
Claude Code: .claude/settings.json
OpenCode: opencode.jsonc
✅ Installed Playwright CLI.
✅ Agent environment configuration complete.
```
### After
```text
🤖 Configured sources:
Sources: https://github.com/microsoft/aspire-skills, https://raw.githubusercontent.com/microsoft/aspire-skills/main/opencode/v1/
Locations: .github/copilot/settings.json (GitHub Copilot), .claude/settings.json (Claude Code), opencode.jsonc (OpenCode)
✅ Installed Playwright CLI.
🤖 Installed skills:
Skills: playwright-cli
Locations: .agents/skills (GitHub Copilot, OpenCode), .claude/skills (Claude Code)
Shared files may be discovered by agents that aren't selected.
✅ Agent environment configuration complete.
```
The shared-location notice is dim in the terminal; the text block does
not show that styling.
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a47a61ad-c59b-4674-8e74-e493bff49b02
(cherry picked from commit 2fefac5)
## Description Give organization-provided configuration, template, skill, and integration sources a consistent introduction and inventory before acquisition or selection. Users can understand where content comes from, read source documentation, and distinguish choices from different feeds without changing existing consent or NuGet mapping policy. ### Source onboarding and presentation - Explain each configured source kind before displaying its details, followed by the shared warning: **Only use sources you trust. Content from these sources can run code on your machine.** - Share aligned source-detail rendering with bold-green labels and literal, escaped values. Use consistent localized labels, including **Name**, **Git source**, **Git path**, **Git ref**, and **Package feed**. - Explain detected configuration sources, show their origin, and use the standard yes/no confirmation with Yes as the interactive default. Explicit consent flags and unattended consent requirements remain unchanged. - Add `ASPIRE_INIT_SOURCE_README_URL` for a clickable documentation link. The Microsoft source defaults to its repository-root README. Unsupported terminals receive a plain-text URL. URLs must be absolute HTTP(S) URLs without control characters; they are presentation-only and are not fetched or persisted. - Display template-source explanations, inventories, and trust warnings before fetching templates. Omit built-in templates from the inventory and omit default Git paths and refs. - Display skill-source explanations and inventories for additional enabled sources. Omit default-source details; show marketplace only when it differs from the source name. Summarize registration by the configuration files updated and their agent names, rather than repeating repository and catalog URLs. - Display integration-source inventories only for explicitly configured sources, not built-in channels or ambient NuGet feeds. Retain trust warnings for eligible non-nuget.org feeds. - Share a blue Git-acquisition notice for configuration and templates, using the inbox-tray icon and naming the content being fetched. Mention authentication prompts only for interactive acquisition and write the notice to stderr. - Remove noisy per-template-source searching messages and automatic configuration-update details. ### Source-aware selection and restore - Use configured source names for template and integration picker groups; show groups only when multiple sources supply choices. Keep labels unique for flat clients when names collide. - Keep identical integration package IDs selectable from different feeds and constrain version lookup to the selected feed. - Preserve configured-source metadata and names when ambient discovery returns the same feed/package/version, without changing pinned-channel defaults or the ordering of distinct feeds. - Resolve SDK search-result feed names to enabled NuGet source locations before selection and installation, avoiding aliases being interpreted as local filesystem paths. - Do not turn native C# picker selections into `dotnet package add --source` overrides, which exclude SDK and dependency feeds. Picker-selected named integrations use the existing persistent, transactional NuGet configuration path and exact package mappings when mapping is already enabled. - Preserve pre-existing policy: disabled package-source mapping stays disabled, ambient mappings remain unchanged, and explicit `--source` and polyglot exact-package overrides retain their behavior. Failed native installation still rolls back staged configuration. ### Demos, documentation, and coverage - Let the configuration-source demo launchers use the installed CLI by default or a source-built CLI with `-Cli source`. Source mode emulates the stable CLI identity and uses published packages without requiring a local package hive. - Link the demo to its configured source branch's README. - Update source documentation, localization, console snapshots, and the terminal E2E consent helper for the standard single-key yes/no prompt. - Cover source provenance, multi-feed version lookup, SDK feed-name aliases, native mapped/unmapped restore policy, dependency-feed preservation, and failed-install rollback. No new dependencies or public library APIs are introduced. Existing source trust, authentication, and configuration-materialization requirements are unchanged; declining a suggested configuration source remains supported. Fixes # (issue) ### User-facing usage For an already configured or detected configuration source, organizations can supply their documentation URL: ```powershell $env:ASPIRE_INIT_SOURCE_README_URL = 'https://docs.example/config-source?team=[platform]' aspire new ``` The illustrative URL above is used by the console tests. Replace it with the organization's documentation URL. The explanation, source details, documentation link, and trust warning appear before: ```text Use configuration from this source? [Y/n]: ``` Relevant help from the rebased CLI's `aspire new --help`: ```text Usage: aspire new [command] [options] --use-config-source Use the proposed Git configuration source. Specify false to decline it. --non-interactive Run the command in non-interactive mode, disabling all interactive prompts and spinners ``` For example, `aspire new --use-config-source false` declines the proposed source without fetching it. Configured template inventories appear during `aspire new`, skill inventories during `aspire agent init`, and integration inventories during `aspire add --apphost .\AppHost.csproj`. Git template acquisition now reports: ```text 📥 Fetching templates using Git. Git may prompt you to authenticate. ``` ### Screenshots / Recordings > **This PR includes UI changes.** Please add screenshots or screen recordings so reviewers can evaluate the visual changes without running locally. > > - For before/after comparisons, place them side-by-side or label them clearly. > - For interactive changes (animations, transitions, new flows), prefer a short screen recording (GIF or video). > - If you cannot capture visuals now, note what scenario to test and mark this section as TODO. These screenshots render output from the current CLI console components using illustrative sources. They are not live terminal captures. Template, skill, and integration pickers are shown before confirmation. #### Configuration source in `aspire new` Explains the detected source, displays its Git details and README link, and asks for consent using the standard yes/no prompt.  #### Template sources in `aspire new` Explains configured template sources before fetching, then groups built-in and organization-provided templates in the picker.  #### Skills in `aspire new` Explains configured skill sources and shows their Git details and plugins before the skill/tool selection prompt.  #### Integration sources in `aspire add` Explains configured integration sources, displays feed locations and package patterns, and keeps identical package IDs selectable from distinct source groups.  ### Validation Rebased onto `origin/main` at `2f471dc6f8019fc1660e1f1ea153078c99be5e85`. Validation used `MSBUILDTERMINALLOGGER=false` and the previously restored repository SDK: - `.\dotnet.cmd test --project tests\Aspire.Cli.Tests\Aspire.Cli.Tests.csproj --configuration Release --no-restore --no-launch-profile -p:SkipNativeBuild=true -- --filter-class '*.AddCommandTests' --filter-class '*.AgentInitCommandTests' --filter-class '*.AgentInitClientSelectionTests' --filter-class '*.ConfigSourceCommandTests' --filter-class '*.ConfigSourceServiceTests' --filter-class '*.ConsoleInteractionServiceTests' --filter-class '*.NewCommandLocalTemplateTests' --filter-class '*.NuGetClientTests' --filter-class '*.NuGetPackageCacheTests' --filter-class '*.SkillSourceTests' --filter-class '*.PackageChannelTests' --filter-class '*.KnownEmojisTests' --filter-class '*.EmojiWidthTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'` — **passed: 1,657 passed, 2 Windows symlink tests skipped, 0 failed**. - `.\dotnet.cmd build tests\Aspire.Cli.EndToEnd.Tests\Aspire.Cli.EndToEnd.Tests.csproj --configuration Release --no-restore -p:SkipNativeBuild=true` — **passed: 0 warnings, 0 errors**. Terminal E2E scenarios were **not executed**. - `.\dotnet.cmd exec artifacts\bin\Aspire.Cli\Release\net11.0\aspire.dll new --help` — **passed**; relevant output is included above. - `[System.Management.Automation.Language.Parser]::ParseFile` on both changed demo launchers — **passed**, with no parse errors. The authenticated demo workflows were **not rerun**. - `git diff --check` — **passed** for the clean working tree. `git diff --check origin/main...HEAD` reports four intentional EOF blank lines in generated console snapshots; these preserve the captured output and are not manually trimmed. The CLI test build still reports the existing ILCompiler `NU1903` advisory. This PR does not change dependency versions. ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] Yes - [ ] No - Did you add public API? - [ ] Yes - If yes, did you have an API Review for it? - [ ] Yes - [ ] No - Did you add `<remarks />` and `<code />` elements on your triple slash comments? - [ ] Yes - [ ] No - [x] No - Does the change make any security assumptions or guarantees? - [ ] Yes - If yes, have you done a threat model and had a security review? - [ ] Yes - [ ] No - [x] No --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Mitch Denny <midenn@microsoft.com> (cherry picked from commit 4954c76)
## Description Routine Git initialization/fetch/checkout output clutters Aspire workflows such as `aspire new`. Use Git's supported `--quiet` options to suppress success/progress output without suppressing authentication prompts or meaningful diagnostics. This PR was stacked on [#21855](#21855), which has now merged; it now targets `main`. The separate askpass layer remains [#21930](#21930). - Apply `--quiet` to repository initialization, shallow fetches, and detached checkouts. - Preserve complete stdout capture for refs, SHAs, and Git object contents. Explicit operations display captured stderr on success and failure without copying parsed stdout into console output or private diagnostics into logs/exception messages. - Keep background configuration-source diagnostics deferred until command exit through the existing notification path, including suppression for machine-readable invocations. Immutable operation-local Git clients/runners prevent background routing from changing concurrent foreground output; local queries and SSH preflight share the same routing. - Retain the original interactive Git/credential-helper/SSH behavior, inherited remote stderr and terminal input, bounded unattended safeguards, source consent/trust, cancellation, and timeout reporting. - Identify the template repository before authentication-capable Git calls, including non-default path/ref qualifiers. Distinct sources now have distinct fetch notices; HTTP URL credentials/query/fragment are redacted and markup is escaped. A comment at the rendering site explains why users need the destination before entering basic-auth credentials: an ambiguous prompt could send their password to the wrong server, where it could be logged. - Update related tests, console snapshots, localized notice resources, and documentation; address the test-helper argument validation and naming feedback. No project-template or askpass IPC changes are included here. Fixes # (issue) ### User-facing usage Existing commands are unchanged, for example: ```bash aspire new --use-config-source aspire update --config-source --yes --non-interactive ``` Routine Git acquisition messages disappear. Explicit acquisition errors remain immediate. Automatic configuration-source checks cannot interrupt command output or prompts with Git diagnostics; those diagnostics are deferred and are suppressed alongside advisory notices for machine-readable output. Template fetch notices identify each source before Git can prompt, for example: ```text Fetching templates from https://example.test/team/templates.git using Git. Git may prompt you to authenticate. ``` ### Validation **Passed: 1,237 targeted tests** on macOS ARM64 at revision `2965391214e1c73a52e70c1b18716471841932ee`: ```bash dotnet test --project tests/Aspire.Cli.Tests/Aspire.Cli.Tests.csproj --no-launch-profile -- --filter-class '*.GitCommandRunnerTests' --filter-class '*.GitClientTests' --filter-class '*.ConfigSourceServiceGitTests' --filter-class '*.ConfigSourceServiceTests' --filter-class '*.ConfigSourceCommandTests' --filter-class '*.TemplateEngineFactoryGitCheckoutTests' --filter-class '*.TemplateEngineFactoryGitTests' --filter-class '*.NewCommandLocalTemplateTests' --filter-class '*.ConsoleInteractionServiceTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' ``` **Regression reproduced before the background-diagnostics fix:** all four real-runner cases failed because stderr was displayed before notification: ```bash dotnet test --project tests/Aspire.Cli.Tests/Aspire.Cli.Tests.csproj --no-launch-profile -- --filter-method '*.CompletedCheck_RealGitDiagnosticsAreDeferredUnlessMachineReadable' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' ``` Those cases now pass in the focused selection above. They exercise actual Git ref-resolution/fetch failures with the runner and configuration service sharing the same interaction service, verify deferred output after the CLI update notice, and verify JSON suppression. Additional coverage proves explicit acquisition remains immediate after a background check, operation-local handlers do not interfere with concurrent foreground output, successful warnings/failures preserve parsed stdout and safe classification, and existing auth, timeout, cancellation, SHA-1/SHA-256 and template behavior remains covered. New multi-source command cases verify distinct repository notices precede Git ref-resolution/fetch for both symbolic and pinned refs. Console coverage verifies custom path/ref display, default omission, HTTP credential redaction, markup escaping, and stderr routing. Eight updated console snapshots were reviewed. **Passed:** localized resource regeneration with zero warnings/errors: ```bash dotnet build /t:UpdateXlf src/Aspire.Cli/Aspire.Cli.csproj ``` **Passed:** `git diff --check`. **Not rerun locally:** Linux terminal-authentication E2E and Windows/live credential-manager UI validation. The earlier Linux archive attempt was blocked while cross-publishing the dashboard Native AOT payload from macOS: ```bash ./localhive.sh -o <session-output>/quiet-git-linux -r linux-arm64 --archive ``` After resolving the initial missing PowerShell dependency in the session-local tool directory, the build failed because `llvm-objcopy`/`objcopy` is unavailable. The E2E scenario was not run; generated template-localization build noise was removed and is not in this PR. ### Screenshots / Recordings > **This PR includes UI changes.** Please add screenshots or screen recordings so reviewers can evaluate the visual changes without running locally. > > - For before/after comparisons, place them side-by-side or label them clearly. > - For interactive changes (animations, transitions, new flows), prefer a short screen recording (GIF or video). > - If you cannot capture visuals now, note what scenario to test and mark this section as TODO. <!-- Add screenshots/recordings here --> Console snapshot diffs show the source-specific notices at 40- and 120-column widths, including custom path/ref qualifiers. TODO: Capture the existing interactive configuration-source SSH authentication scenario and confirm authentication prompts/diagnostics remain visible while routine fetch output is quiet. Automated output-routing coverage passes; the local Linux archive blocker is documented above. ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] Yes - [ ] No - Did you add public API? - [ ] Yes - If yes, did you have an API Review for it? - [ ] Yes - [ ] No - Did you add `<remarks />` and `<code />` elements on your triple slash comments? - [ ] Yes - [ ] No - [x] No - Does the change make any security assumptions or guarantees? - [ ] Yes - If yes, have you done a threat model and had a security review? - [ ] Yes - [ ] No - [x] No --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 575c3bc)
…21982) Git configuration-source acquisition currently shows a generic fetching notice without identifying the repository or displaying progress. This makes it harder to tell which repository the CLI is contacting or whether acquisition is still running. This change: - Identifies the configuration repository in the fetch notice, matching Git template acquisition. - Shows the existing status UI while acquiring and validating the configuration source, without repeating it for in-memory cache hits or adding output to background version checks. - Moves the shared `from {1}` wording into the parent fetch messages, using separate content and repository arguments instead of nested resource formatting. - Updates localized resources, console snapshots, regression tests, and the configuration-source specification. When a Git configuration source is configured, users can accept it with: ```shell aspire new --use-config-source ``` The relevant message text now identifies the repository before acquisition: ```text Fetching configuration source from https://git.example/configuration using Git. Git may prompt you to authenticate. ``` The acquisition status reads `Fetching configuration source using Git...`. The fetch notice retains its blue styling and stderr routing, and the existing display redaction and markup escaping are reused. > **This PR includes UI changes.** Please add screenshots or screen recordings so reviewers can evaluate the visual changes without running locally. > > - For before/after comparisons, place them side-by-side or label them clearly. > - For interactive changes (animations, transitions, new flows), prefer a short screen recording (GIF or video). > - If you cannot capture visuals now, note what scenario to test and mark this section as TODO. <!-- Add screenshots/recordings here --> TODO: Add a terminal recording of `aspire new --use-config-source` with a configured Git source, showing the repository notice and acquisition spinner. No live terminal recording was captured on this Windows host; the message text is covered by console snapshots. Localization regeneration: ```powershell .\dotnet.cmd build src\Aspire.Cli\Aspire.Cli.csproj --configuration Release --no-restore -t:UpdateXlf -p:SkipNativeBuild=true ``` **Passed:** 0 warnings, 0 errors. Focused CLI regression tests: ```powershell .\dotnet.cmd test --project tests\Aspire.Cli.Tests\Aspire.Cli.Tests.csproj --configuration Release --no-restore --no-launch-profile -p:SkipNativeBuild=true -- --filter-class '*.ConfigSourceServiceTests' --filter-class '*.ConsoleInteractionServiceTests' --filter-class '*.TemplateEngineFactoryGitTests' --filter-class '*.NewCommandLocalTemplateTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true' ``` **Passed:** 937 tests passed, 2 skipped, 0 failed. Both commands were run with `MSBUILDTERMINALLOGGER=false`. The test build reported an existing `NU1903` advisory for `Microsoft.DotNet.ILCompiler`; dependencies are unchanged. Fixes # (issue) - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [x] Yes - [ ] No - Did you add public API? - [ ] Yes - If yes, did you have an API Review for it? - [ ] Yes - [ ] No - Did you add `<remarks />` and `<code />` elements on your triple slash comments? - [ ] Yes - [ ] No - [x] No - Does the change make any security assumptions or guarantees? - [ ] Yes - If yes, have you done a threat model and had a security review? - [ ] Yes - [ ] No - [x] No --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 7f897ad)
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22109Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22109" |
Tests selector3 / 101 PR test projects · 4 PR jobs, from 196 changed files. Selected PR test projects (3 / 101)
Selected PR jobs (4)
How these were chosen — grouped by what changed📦 affected project 🔧 🔧 🔧 🔧 🔧 🔧 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 Job reasons
Selection computed for commit |
There was a problem hiding this comment.
🔵 Needs a closer look
Changes to Git diagnostic routing and consent prompts require human validation because terminal authentication E2E tests and Windows credential-manager scenarios were not run.
No open issues 🎉
8 files not reviewed
src/Aspire.Cli/Resources/AddCommandStrings.Designer.cs: Generated filesrc/Aspire.Cli/Resources/AgentCommandStrings.Designer.cs: Generated filesrc/Aspire.Cli/Resources/ConfigSourceStrings.Designer.cs: Generated filesrc/Aspire.Cli/Resources/DoctorCommandStrings.Designer.cs: Generated filesrc/Aspire.Cli/Resources/NewCommandStrings.Designer.cs: Generated filesrc/Aspire.Cli/Resources/SecretCommandStrings.Designer.cs: Generated filesrc/Aspire.Cli/Resources/SharedCommandStrings.Designer.cs: Generated filesrc/Aspire.Cli/Resources/TrayCommandStrings.Designer.cs: Generated file
What changed in this PR
Backports five merged CLI improvements to release/17.0, making configured content sources easier to identify and agent setup results clearer. The changes cover source presentation, Git acquisition output, and source-aware package selection; dashboard changes are excluded.
Changes:
- Unify source inventories, trust notices, documentation links, and selection-group presentation.
- Clarify agent configuration and installed-skill summaries, and quiet routine Git output while retaining diagnostics.
- Update supporting tests, console snapshots, localization resources, demos, and documentation.
| File | Description |
|---|---|
| tests/Aspire.Cli.Tests/Utils/CliTestHelper.cs | Supplies new prompter and package-cache dependencies. |
| tests/Aspire.Cli.Tests/TestServices/TestGitCommandRunner.cs | Parses fetch arguments independently of option positions. |
| tests/Aspire.Cli.Tests/TestServices/TestDotNetCliRunner.cs | Updates search contract and pagination metadata. |
| tests/Aspire.Cli.Tests/TestServices/TestConfigSourceServices.cs | Supports interaction abstraction and Git diagnostic routing. |
| tests/Aspire.Cli.Tests/TestServices/FakePlaywrightServices.cs | Allows simulating an installed Playwright version. |
| tests/Aspire.Cli.Tests/TestServices/FakeNuGetClient.cs | Delegates SDK source-name resolution. |
| tests/Aspire.Cli.Tests/Templating/TemplateEngineFactoryGitTests.cs | Checks quiet Git arguments and status-free acquisition. |
| tests/Aspire.Cli.Tests/Templating/TemplateEngineFactoryGitCheckoutTests.cs | Adds quiet-checkout regression coverage. |
| tests/Aspire.Cli.Tests/Templating/DotNetTemplateFactoryTests.cs | Updates the package-search test implementation. |
| tests/Aspire.Cli.Tests/Snapshots/NewCommandLocalTemplateTests.RepositoryTemplate_NotifiesBeforeGitAndKeepsCachedCommitsQuiet_interactive=True_pinnedCommit=True.verified.txt | Records interactive pinned-commit acquisition notice. |
| tests/Aspire.Cli.Tests/Snapshots/NewCommandLocalTemplateTests.RepositoryTemplate_NotifiesBeforeGitAndKeepsCachedCommitsQuiet_interactive=True_pinnedCommit=False.verified.txt | Records interactive branch-resolution notices. |
| tests/Aspire.Cli.Tests/Snapshots/NewCommandLocalTemplateTests.RepositoryTemplate_NotifiesBeforeGitAndKeepsCachedCommitsQuiet_interactive=False_pinnedCommit=True.verified.txt | Records unattended pinned-commit acquisition notice. |
| tests/Aspire.Cli.Tests/Snapshots/NewCommandLocalTemplateTests.RepositoryTemplate_NotifiesBeforeGitAndKeepsCachedCommitsQuiet_interactive=False_pinnedCommit=False.verified.txt | Records unattended branch-resolution notices. |
| tests/Aspire.Cli.Tests/Snapshots/NewCommandLocalTemplateTests.ConfiguredGitSources_MixedSearchSelectsGitTemplateWithoutAcquisitionStatus.verified.txt | Records generated Git-template content. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceSelection_TemplateSourcesExplainBeforeFetching_nonDefaultGitValues=True_width=40.verified.txt | Captures narrow source inventory with custom Git details. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceSelection_TemplateSourcesExplainBeforeFetching_nonDefaultGitValues=True_width=120.verified.txt | Captures wide source inventory with custom Git details. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceSelection_TemplateSourcesExplainBeforeFetching_nonDefaultGitValues=False_width=40.verified.txt | Captures narrow inventory with defaults omitted. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceSelection_TemplateSourcesExplainBeforeFetching_nonDefaultGitValues=False_width=120.verified.txt | Captures wide inventory with defaults omitted. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceSelection_IntegrationVersionsUseSourceGroups_multipleSources=True.verified.txt | Records version choices grouped by source. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceSelection_IntegrationVersionsUseSourceGroups_multipleSources=False.verified.txt | Records ungrouped single-source version choices. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceSelection_IntegrationGroupsAndTrustNotice_customSource=True_multipleSources=True.verified.txt | Records custom-feed inventory and grouped choices. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceSelection_IntegrationGroupsAndTrustNotice_customSource=True_multipleSources=False.verified.txt | Records custom-feed inventory for one source. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceSelection_IntegrationGroupsAndTrustNotice_customSource=False_multipleSources=True.verified.txt | Records ambient-feed groups and trust warning. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceSelection_IntegrationGroupsAndTrustNotice_customSource=False_multipleSources=False.verified.txt | Records a single-source integration picker. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceDetails_WideLabelsUseTerminalCellWidths.verified.txt | Captures alignment for wide-character labels. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceDetails_RendersConsistently_ansi=True_width=120.verified.txt | Captures styled, aligned source details. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceDetails_RendersConsistently_ansi=False_width=40.verified.txt | Captures narrow plain-text source details. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.SourceDetails_RendersConsistently_ansi=False_width=120.verified.txt | Captures wide plain-text source details. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.PromptForSelectionAsync_TemplateSourceHeadingsAreLiteralAndFitWidth_gitSource=True_width=40.verified.txt | Records narrow styled Git-source heading. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.PromptForSelectionAsync_TemplateSourceHeadingsAreLiteralAndFitWidth_gitSource=True_width=120.verified.txt | Records wide styled Git-source heading. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.PromptForSelectionAsync_TemplateSourceHeadingsAreLiteralAndFitWidth_gitSource=False_width=40.verified.txt | Records narrow styled directory-source heading. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.PromptForSelectionAsync_TemplateSourceHeadingsAreLiteralAndFitWidth_gitSource=False_width=120.verified.txt | Records wide styled directory-source heading. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_RendersFetchNotice_interactive=True.verified.txt | Records repository notice with authentication guidance. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_RendersFetchNotice_interactive=False.verified.txt | Records unattended repository-fetch notice. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_RendersAlignedDetailsAndReadmeLink_ansi=True.verified.txt | Captures styled configuration details and clickable link. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_RendersAlignedDetailsAndReadmeLink_ansi=False.verified.txt | Captures configuration details and plain-text link. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_OmitsDefaultDetails_path=teams-platform.json_reference=null.verified.txt | Records custom path with default ref omitted. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_OmitsDefaultDetails_path=teams-platform.json_reference=config-preview.verified.txt | Records custom configuration path and ref. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_OmitsDefaultDetails_path=null_reference=null.verified.txt | Records omission of implicit defaults. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_OmitsDefaultDetails_path=null_reference=config-preview.verified.txt | Records custom ref with implicit path omitted. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_OmitsDefaultDetails_path=aspire.config.json_reference=null.verified.txt | Records omission of the standard configuration path. |
| tests/Aspire.Cli.Tests/Snapshots/ConsoleInteractionServiceTests.ConfigSource_OmitsDefaultDetails_path=aspire.config.json_reference=config-preview.verified.txt | Records custom ref with standard path omitted. |
| tests/Aspire.Cli.Tests/Snapshots/ConfigSourceServiceTests.SelectForCreation_ReadmeOverrideIsDisplayedBeforeConsent_microsoftDefault=True_supportsLinks=True.verified.txt | Records clickable README override for Microsoft source. |
| tests/Aspire.Cli.Tests/Snapshots/ConfigSourceServiceTests.SelectForCreation_ReadmeOverrideIsDisplayedBeforeConsent_microsoftDefault=True_supportsLinks=False.verified.txt | Records plain README override for Microsoft source. |
| tests/Aspire.Cli.Tests/Snapshots/ConfigSourceServiceTests.SelectForCreation_ReadmeOverrideIsDisplayedBeforeConsent_microsoftDefault=False_supportsLinks=True.verified.txt | Records clickable README override for custom source. |
| tests/Aspire.Cli.Tests/Snapshots/ConfigSourceServiceTests.SelectForCreation_ReadmeOverrideIsDisplayedBeforeConsent_microsoftDefault=False_supportsLinks=False.verified.txt | Records plain README override for custom source. |
| tests/Aspire.Cli.Tests/Snapshots/ConfigSourceServiceTests.SelectForCreation_MicrosoftSourceDefaultsToRootReadme_explicitSource=True.verified.txt | Records default README for explicitly configured Microsoft source. |
| tests/Aspire.Cli.Tests/Snapshots/ConfigSourceServiceTests.SelectForCreation_MicrosoftSourceDefaultsToRootReadme_explicitSource=False.verified.txt | Records default README for detected Microsoft source. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.Remote_SummaryListsAgentConfigurationFilesWithExistingOpenCodeCatalogs_array=True_pinned=True.verified.txt | Records configuration locations with pinned catalog arrays. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.Remote_SummaryListsAgentConfigurationFilesWithExistingOpenCodeCatalogs_array=True_pinned=False.verified.txt | Records configuration locations with unpinned catalog arrays. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.Remote_SummaryListsAgentConfigurationFilesWithExistingOpenCodeCatalogs_array=False_pinned=False.verified.txt | Records configuration locations with scalar catalogs. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.Remote_SummaryListsAgentConfigurationFiles.verified.txt | Records configuration-file summary with agent names. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=opencode.verified.txt | Records OpenCode source inventory and warning. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=copilot.verified.txt | Records GitHub Copilot source inventory and warning. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=copilot,claude,opencode.verified.txt | Records combined agent source inventory and warning. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitCommandTests.AgentInit_WarnsAboutSelectedClientSourcesBeforeRegistration_agents=claude.verified.txt | Records Claude source inventory and warning. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitClientSelectionTests.AgentInit_SkillSummary_IncludesOnlySuccessfulPlaywrightDestinations.verified.txt | Records only successful Playwright destinations. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitClientSelectionTests.AgentInit_SkillSummary_GroupsInstalledSkillsByLocationAndAgent_scope=project_playwrightOutcome=not-installed.verified.txt | Records project skills without Playwright. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitClientSelectionTests.AgentInit_SkillSummary_GroupsInstalledSkillsByLocationAndAgent_scope=project_playwrightOutcome=installed.verified.txt | Records project skills including Playwright. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitClientSelectionTests.AgentInit_SkillSummary_GroupsInstalledSkillsByLocationAndAgent_scope=global_playwrightOutcome=installed.verified.txt | Records global skills including Playwright. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitClientSelectionTests.AgentInit_InstallationLocations_ShowSelectedAssetsAndSharedConsumers_scope=project_installSkills=True_configureMcp=True.verified.txt | Replaces project preview with skill and MCP results. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitClientSelectionTests.AgentInit_InstallationLocations_ShowSelectedAssetsAndSharedConsumers_scope=project_installSkills=True_configureMcp=False.verified.txt | Replaces project preview with skill results. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitClientSelectionTests.AgentInit_InstallationLocations_ShowSelectedAssetsAndSharedConsumers_scope=project_installSkills=False_configureMcp=True.verified.txt | Replaces project preview with MCP result. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitClientSelectionTests.AgentInit_InstallationLocations_ShowSelectedAssetsAndSharedConsumers_scope=global_installSkills=True_configureMcp=True.verified.txt | Replaces global preview with skill and MCP results. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitClientSelectionTests.AgentInit_InstallationLocations_ShowSelectedAssetsAndSharedConsumers_scope=global_installSkills=True_configureMcp=False.verified.txt | Replaces global preview with skill results. |
| tests/Aspire.Cli.Tests/Snapshots/AgentInitClientSelectionTests.AgentInit_InstallationLocations_ShowSelectedAssetsAndSharedConsumers_scope=global_installSkills=False_configureMcp=True.verified.txt | Replaces global preview with MCP result. |
| tests/Aspire.Cli.Tests/NuGet/NuGetPackageCacheTests.cs | Verifies resolved feed locations in package results. |
| tests/Aspire.Cli.Tests/Git/GitCommandRunnerTests.Authentication.cs | Supplies interaction service to authentication tests. |
| tests/Aspire.Cli.Tests/Git/GitClientTests.cs | Updates expected quiet Git commands. |
| tests/Aspire.Cli.Tests/Configuration/ConfigSourceServiceGitTests.cs | Adapts runner setup and object-format assertions. |
| tests/Aspire.Cli.Tests/Commands/NewCommandLocalTemplateTests.InitConfig.cs | Updates styled groups and confirmation handling. |
| tests/Aspire.Cli.Tests/Commands/NewCommandLocalTemplateTests.cs | Tests notices before Git and cached-commit behavior. |
| tests/Aspire.Cli.Tests/Agents/SkillSourceTests.cs | Verifies preservation of configured source names. |
| tests/Aspire.Cli.EndToEnd.Tests/Helpers/ConfigSourceTestContext.cs | Uses single-key consent and removes obsolete output checks. |
| tests/Aspire.Cli.EndToEnd.Tests/EmulatedStagingBuildTests.cs | Makes staging package selection deterministic. |
| tests/Aspire.Cli.EndToEnd.Tests/ConfigSourceTests.cs | Checks configuration state rather than removed messages. |
| tests/Aspire.Cli.EndToEnd.Tests/AgentCommandTests.cs | Removes expectations for built-in source notices. |
| src/Aspire.Cli/Templating/TemplateEngineFactory.cs | Displays repository notices without authentication-obscuring status UI. |
| src/Aspire.Cli/Templating/ConfiguredTemplateSourceService.cs | Displays source inventory and retains template provenance. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.zh-Hant.xlf | Synchronizes Traditional Chinese template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.zh-Hans.xlf | Synchronizes Simplified Chinese template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.tr.xlf | Synchronizes Turkish template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.ru.xlf | Synchronizes Russian template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.pt-BR.xlf | Synchronizes Brazilian Portuguese template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.pl.xlf | Synchronizes Polish template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.ko.xlf | Synchronizes Korean template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.ja.xlf | Synchronizes Japanese template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.it.xlf | Synchronizes Italian template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.fr.xlf | Synchronizes French template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.es.xlf | Synchronizes Spanish template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.de.xlf | Synchronizes German template resource entries. |
| src/Aspire.Cli/Resources/xlf/NewCommandStrings.cs.xlf | Synchronizes Czech template resource entries. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.zh-Hant.xlf | Synchronizes Traditional Chinese agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.zh-Hans.xlf | Synchronizes Simplified Chinese agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.tr.xlf | Synchronizes Turkish agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ru.xlf | Synchronizes Russian agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.pt-BR.xlf | Synchronizes Brazilian Portuguese agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.pl.xlf | Synchronizes Polish agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ko.xlf | Synchronizes Korean agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.ja.xlf | Synchronizes Japanese agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.it.xlf | Synchronizes Italian agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.fr.xlf | Synchronizes French agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.es.xlf | Synchronizes Spanish agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.de.xlf | Synchronizes German agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AgentCommandStrings.cs.xlf | Synchronizes Czech agent-summary resources. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.zh-Hant.xlf | Adds integration-source explanation entry for Traditional Chinese. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.zh-Hans.xlf | Adds integration-source explanation entry for Simplified Chinese. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.tr.xlf | Adds integration-source explanation entry for Turkish. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.ru.xlf | Adds integration-source explanation entry for Russian. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.pt-BR.xlf | Adds integration-source explanation entry for Brazilian Portuguese. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.pl.xlf | Adds integration-source explanation entry for Polish. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.ko.xlf | Adds integration-source explanation entry for Korean. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.ja.xlf | Adds integration-source explanation entry for Japanese. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.it.xlf | Adds integration-source explanation entry for Italian. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.fr.xlf | Adds integration-source explanation entry for French. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.es.xlf | Adds integration-source explanation entry for Spanish. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.de.xlf | Adds integration-source explanation entry for German. |
| src/Aspire.Cli/Resources/xlf/AddCommandStrings.cs.xlf | Adds integration-source explanation entry for Czech. |
| src/Aspire.Cli/Resources/SharedCommandStrings.resx | Adds shared source labels and repository-fetch messages. |
| src/Aspire.Cli/Resources/NewCommandStrings.resx | Replaces obsolete status strings with source explanation. |
| src/Aspire.Cli/Resources/NewCommandStrings.Designer.cs | Synchronizes template resource accessors. |
| src/Aspire.Cli/Resources/ConfigSourceStrings.resx | Adds source-detail and README strings; removes obsolete messages. |
| src/Aspire.Cli/Resources/AgentCommandStrings.resx | Clarifies source and installed-skill summary wording. |
| src/Aspire.Cli/Resources/AddCommandStrings.resx | Adds integration-source explanation text. |
| src/Aspire.Cli/Resources/AddCommandStrings.Designer.cs | Exposes the integration-source explanation resource. |
| src/Aspire.Cli/Packaging/PackageChannel.cs | Preserves identical packages from distinct feeds. |
| src/Aspire.Cli/NuGet/NuGetPackageCache.cs | Passes NuGet client and consumes source-page metadata. |
| src/Aspire.Cli/Interaction/SelectionChoiceGroup.cs | Adds optional group-heading styling. |
| src/Aspire.Cli/Interaction/KnownEmojis.cs | Adds acquisition icon and documents terminal presentation constraints. |
| src/Aspire.Cli/Interaction/ConsoleInteractionService.cs | Applies trusted heading styles after escaping and cropping. |
| src/Aspire.Cli/Git/IGitClient.cs | Adds operation-local stderr-handler contract. |
| src/Aspire.Cli/Git/GitCommandRunner.cs | Routes captured diagnostics through operation-local handlers. |
| src/Aspire.Cli/Git/GitClient.cs | Quiets acquisition commands and propagates diagnostic handlers. |
| src/Aspire.Cli/Commands/TemplateManagementCommand.cs | Uses the shared source-name table label. |
| src/Aspire.Cli/Commands/BaseCommand.cs | Uses the generalized Git-output display helper. |
| src/Aspire.Cli/CliConfigNames.cs | Defines the source README URL environment variable. |
| src/Aspire.Cli/Agents/AspireSkills/SkillSource.cs | Retains configuration keys as source display names. |
| eng/scripts/config-sources-demo/run-aspire-add.ps1 | Supports installed or source-built CLI selection. |
| docs/specs/cli-config-sources-1p-scenarios.md | Updates the documented source-consent prompt. |
Review effort: Balanced
|
Thanks. Looks like we had similar idea of what to pull in. |
|
This is quite a lot of churn to take post snap, but most of the work is in polishing around the new features so let's go ahead and take this. |
424367f
into
release/17.0
|
✅ No documentation update needed. Step 5 branch: excluded → head_branch_is_backport, title_release_prefix (plus supporting base_branch_is_release). This is a backport to release/17.0; docs belong to the original forward PR. Triggered signals (not acted on): cli_command_file_changed (AddCommand.cs, NewCommand.cs), cli_resource_strings_changed (AgentCommandStrings.resx, ConfigSourceStrings.resx), pr_body_has_cli_flag_mention (--use-config-source), pr_body_has_user_facing_section. |
Description
Backport five merged CLI changes to
release/17.0so users can identify configured content sources, understand agent setup results, and see acquisition progress without routine Git output clutter.Cherry-picked in order:
db62c35564) - Show repository and ref in template picker group headings.2fefac5abe) - Clarify source and skill summaries inaspire agent init.4954c76a62) - Unify CLI source onboarding, presentation, and selection.575c3bc76b) - Quiet routine Git acquisition output.7f897adec4) - Show configuration source repositories and Git acquisition progress.The first four cherry-picks applied cleanly. The fifth conflicted in four dashboard resource designer files; those changes were excluded by retaining the release branch's versions. This PR contains no dashboard changes and no additional prerequisite commits.
User-facing usage
With configuration and template sources configured, run:
The CLI identifies source repositories, shows acquisition progress, and includes repository/ref information in template-source headings.
The setup summary separates configured remote sources from installed skills and identifies their agent-specific locations.
Screenshots / Recordings
TODO: Capture the template-source picker, configuration-source acquisition progress, and
aspire agent initsource/skill summaries. No screenshots or recordings were captured for this backport.Validation
Focused CLI tests using the repository's existing .NET SDK (
11.0.100-rc.2.26504.105):Passed: 1,453 succeeded, 2 skipped, 0 failed.
The build emitted the existing NU1903 advisory for the pinned
Microsoft.DotNet.ILCompilerpackage. This PR does not change dependency versions.Verified that the branch contains exactly five commits on top of
release/17.0, that the cherry-picked patches match the originals apart from the excluded dashboard files, and that the backport worktree is clean. CLI E2E tests and live interactive scenarios were not run.Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?