Skip to content

[release/13.4] Filter resources with resource.excludeFromMcp from CLI MCP tools#18150

Merged
joperezr merged 6 commits into
release/13.4from
backport/pr-18106-to-release/13.4
Jun 12, 2026
Merged

[release/13.4] Filter resources with resource.excludeFromMcp from CLI MCP tools#18150
joperezr merged 6 commits into
release/13.4from
backport/pr-18106-to-release/13.4

Conversation

@aspire-repo-bot

@aspire-repo-bot aspire-repo-bot Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Backport of #18106 to release/13.4

/cc @JamesNK

Customer Impact

ExcludeFromMcp() no longer works. A customer would use it with a resource and expect the resource to be excluded from MCP calls. However the annotation doesn't work. The resource data is available from MCP and its tools are callable from MCP.

Testing

Unit tests, end-to-end tests

Risk

Low

Regression?

Yes, introduced in 13.2 #14337

JamesNK added 6 commits June 12, 2026 07:43
Resources marked with the resource.excludeFromMcp property are now
excluded from all MCP tool results:
- ListResourcesTool filters them from resource listings
- ListConsoleLogsTool and ExecuteResourceCommandTool reject requests
  targeting excluded resources
- ListStructuredLogsTool, ListTracesTool, and ListTraceStructuredLogsTool
  filter out telemetry from excluded resources
- McpResourceToolRefreshService skips excluded resources

Added McpToolHelpers with IsExcludedFromMcp, CheckResourceExcludedAsync,
GetExcludedResourceNamesAsync, and GetResourceNotAvailableMessage helpers.

Includes comprehensive unit tests covering all filtering scenarios.
- Add two tests for ListTraceStructuredLogsTool filtering:
  - FiltersExcludedResourceLogs: verifies excluded resource logs are
    removed from trace-scoped structured log results
  - ReturnsAllLogs_WhenNoResourcesExcluded: verifies no filtering when
    no resources are excluded
- Add doesNotContainMarker parameter to CallAgentMcpToolAsync helper
- Add AgentMcpExcludeFromMcpTests E2E test that verifies list_resources
  excludes resources marked with ExcludeFromMcp()
Add overloads of CheckResourceExcludedAsync and GetExcludedResourceNamesAsync
that accept IAppHostAuxiliaryBackchannel directly. Update ListConsoleLogsTool
and ExecuteResourceCommandTool to use the connection they already obtained,
eliminating a redundant GetSelectedConnectionAsync + GetResourceSnapshotsAsync
call per request.
The test was timing out because the Redis container's health check
never passed in the Docker-in-Docker CI environment, causing
webfrontend (which has WaitFor(cache)) to stay stuck in Waiting state.

Redis is irrelevant to this test — it only verifies ExcludeFromMcp()
filtering. Disabling Redis removes the container dependency.
Copilot AI review requested due to automatic review settings June 12, 2026 07:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 18150

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 18150"

@github-actions

Copy link
Copy Markdown
Contributor

Re-running the failed jobs in the CI workflow for this pull request because 1 job was identified as retry-safe transient failures in the CI run attempt.
GitHub was asked to rerun all failed jobs for that attempt, and the rerun is being tracked in the rerun attempt.
The job links below point to the failed attempt jobs that matched the retry-safe transient failure rules.

@github-actions

Copy link
Copy Markdown
Contributor

CLI E2E Tests unknown — 112 passed, 0 failed, 2 unknown (commit d46acb1)

View all recordings
- Test Detail
AddPackageInteractiveWhileAppHostRunningDetached Recording · Job · CLI logs
AddPackageWhileAppHostRunningDetached Recording · Job · CLI logs
AgentCommands_AllHelpOutputs_AreCorrect Recording · Job · CLI logs
AgentInitCommand_DefaultSelection_InstallsDefaultSkills Recording · Job · CLI logs
AgentInitCommand_MigratesDeprecatedConfig Recording · Job · CLI logs
AgentInitCommand_NonInteractive_BundleOnlySkillsBeyondCliCatalog_AreInstallable Recording · Job · CLI logs
AgentMcpListResources_ExcludesResourceMarkedWithExcludeFromMcp Recording · Job · CLI logs
AgentMcpListStructuredLogsReturnsLogsFromStarterApp Recording · Job · CLI logs
AgentMcpListStructuredLogsReturnsLogsFromStarterApp_DevLocalhost Recording · Job · CLI logs
AgentMcpListStructuredLogsReturnsLogsFromStarterApp_Isolated Recording · Job · CLI logs
AllPublishMethodsBuildDockerImages Recording · Job · CLI logs
AspireAddAndStartWorkAgainstLegacyAppHostTs Recording · Job · CLI logs
AspireAddPackageVersionToDirectoryPackagesProps Recording · Job · CLI logs
AspireInitSingleFileAppHostRunsViaDotnetRunAppHost Recording · Job · CLI logs
AspireInitWithExistingAppHostDirRecreatesMissingNuGetConfigAndPreservesFiles Recording · Job · CLI logs
AspireInitWithSolutionFileGeneratesAppHostThatBuildsAgainstChannelHive Recording · Job · CLI logs
AspireStartUpdatesStaleTypeScriptAppHostPath Recording · Job · CLI logs
AspireUpdateRemovesAppHostPackageVersionFromDirectoryPackagesProps Recording · Job · CLI logs
AspireUpdateRemovesOrphanAppHostPackageVersionWhenSdkAlreadyCurrent Recording · Job · CLI logs
Banner_DisplayedOnFirstRun Recording · Job · CLI logs
Banner_DisplayedWithExplicitFlag Recording · Job · CLI logs
Banner_NotDisplayedWithNoLogoFlag Recording · Job · CLI logs
CertificatesClean_RemovesCertificates Recording · Job · CLI logs
CertificatesTrust_WithNoCert_CreatesAndTrustsCertificate Recording · Job · CLI logs
CertificatesTrust_WithUntrustedCert_TrustsCertificate Recording · Job · CLI logs
ConfigSetGet_CreatesNestedJsonFormat Recording · Job · CLI logs
CreateAndRunAspireStarterProject Recording · Job · CLI logs
CreateAndRunAspireStarterProjectWithBundle Recording · Job · CLI logs
CreateAndRunEmptyAppHostProject Recording · Job · CLI logs
CreateAndRunJavaEmptyAppHostProject Recording · Job · CLI logs
CreateAndRunJsReactProject Recording · Job · CLI logs
CreateAndRunPolyglotAppHostWithDevLocalhostUrls Recording · Job · CLI logs
CreateAndRunPythonReactProject Recording · Job · CLI logs
CreateAndRunTypeScriptEmptyAppHostProject Recording · Job · CLI logs
CreateAndRunTypeScriptStarterProject Recording · Job · CLI logs
CreateJavaAppHostWithViteApp Recording · Job · CLI logs
CreateTypeScriptAppHostWithViteApp_AllowsGuestAppPackageManagerToDiffer Recording · Job · CLI logs
CreateTypeScriptAppHostWithViteApp_UsesConfiguredToolchain Recording · Job · CLI logs
DashboardRunWithAgentMcpListTracesReturnsNoTraces Recording · Job · CLI logs
DashboardRunWithAgentMcpListTracesReturnsNoTraces_DevLocalhost Recording · Job · CLI logs
DashboardRunWithOtelTracesReturnsNoTraces Recording · Job · CLI logs
DashboardRunWithOtelTracesReturnsNoTraces_DevLocalhost Recording · Job · CLI logs
DeployK8sBasicApiService Recording · Job · CLI logs
DeployK8sWithExternalHelmChart Recording · Job · CLI logs
DeployK8sWithGarnet Recording · Job · CLI logs
DeployK8sWithMongoDB Recording · Job · CLI logs
DeployK8sWithMySql Recording · Job · CLI logs
DeployK8sWithPostgres Recording · Job · CLI logs
DeployK8sWithRabbitMQ Recording · Job · CLI logs
DeployK8sWithRedis Recording · Job · CLI logs
DeployK8sWithSqlServer Recording · Job · CLI logs
DeployK8sWithValkey Recording · Job · CLI logs
DeployTypeScriptAppToKubernetes Recording · Job · CLI logs
DescribeCommandResolvesReplicaNames Recording · Job · CLI logs
DescribeCommandShowsRunningResources Recording · Job · CLI logs
DetachFormatJsonProducesValidJson Recording · Job · CLI logs
DetachFormatJsonProducesValidJsonWhenRestartingExistingInstance Recording · Job · CLI logs
DoPublishAndDeployListStepsWork Recording · Job · CLI logs
DocsCommand_RendersInteractiveMarkdownFromLocalSource Recording · Job · CLI logs
DoctorCommand_DetectsDeprecatedAgentConfig Recording · Job · CLI logs
DoctorCommand_TypeScriptAppHostReportsMissingConfiguredToolchain Recording · Job · CLI logs
DoctorCommand_WithSslCertDir_ShowsTrusted Recording · Job · CLI logs
DoctorCommand_WithoutSslCertDir_ShowsPartiallyTrusted Recording · Job · CLI logs
GatewayWithoutExternalEndpoint_FailsPublishWithGuidance Recording · Job · CLI logs
GeneratedAspireDevScript_StartsWatchMode_WithConfiguredToolchain Recording · Job · CLI logs
GlobalMigration_HandlesCommentsAndTrailingCommas Recording · Job · CLI logs
GlobalMigration_HandlesMalformedLegacyJson Recording · Job · CLI logs
GlobalMigration_PreservesAllValueTypes Recording · Job · CLI logs
GlobalMigration_SkipsWhenNewConfigExists Recording · Job · CLI logs
GlobalSettings_MigratedFromLegacyFormat Recording · Job · CLI logs
IngressWithoutExternalEndpoint_FailsPublishWithGuidance Recording · Job · CLI logs
InitTypeScriptAppHost_AugmentsExistingViteRepoInWorkspaceSubdirectory Recording · Job · CLI logs
InteractiveCSharpInitCreatesExpectedFiles Recording · Job · CLI logs
InvalidAppHostPathWithComments_IsHealedOnRun Recording · Job · CLI logs
JavaScriptHostingApisRunFromTypeScriptAppHost Recording · Job · CLI logs
LatestCliCanStartStableChannelAppHost Recording · Job · CLI logs
LatestCliCanStartStableChannelTypeScriptAppHost Recording · Job · CLI logs
LegacySettingsMigration_AdjustsRelativeAppHostPath Recording · Job · CLI logs
LogsCommandShowsResourceLogs Recording · Job · CLI logs
OtelLogsReturnsStructuredLogsFromStarterApp Recording · Job · CLI logs
OtelLogsReturnsStructuredLogsFromStarterAppIsolated Recording · Job · CLI logs
PersistentContainersPreserveDataAcrossAppHostRuns Recording · Job · CLI logs
PsCommandListsRunningAppHost Recording · Job · CLI logs
PsFormatJsonOutputsOnlyJsonToStdout Recording · Job · CLI logs
PublishJavaScriptPatternsGeneratesExpectedDockerComposeArtifacts Recording · Job · CLI logs
PublishWithConfigureEnvFileUpdatesEnvOutput Recording · Job · CLI logs
PublishWithDockerComposeServiceCallbackSucceeds Recording · Job · CLI logs
PublishWithoutOutputPathUsesAppHostDirectoryDefault Recording · Job · CLI logs
ResourceCommand_FailedExecution_DisplaysAppHostLogPathAndLogContainsEntries Recording · Job · CLI logs
ResourceCommand_SetAndDeleteParameterUpdatesDescribeOutput Recording · Job · CLI logs
RestoreGeneratesSdkFiles Recording · Job · CLI logs
RestoreGeneratesSdkFiles_WithConfiguredToolchain Recording · Job · CLI logs
RestoreRefreshesGeneratedSdkAfterAddingIntegration Recording · Job · CLI logs
RestoreSupportsConfigOnlyHelperPackageAndCrossPackageTypes Recording · Job · CLI logs
RunFromParentDirectory_UsesExistingConfigNearAppHost Recording · Job · CLI logs
RunReportsSyntaxErrorsForDotNetAppHost Recording · Job · CLI logs
RunReportsSyntaxErrorsForTypeScriptAppHost Recording · Job · CLI logs
SecretCrudOnDotNetAppHost Recording · Job · CLI logs
SecretCrudOnTypeScriptAppHost Recording · Job · CLI logs
StagingChannel_ConfigureAndVerifySettings_ThenSwitchChannels Recording · Job · CLI logs
StartAndWaitForTypeScriptSqlServerAppHostWithNativeAssets Recording · Job · CLI logs
StartReportsSyntaxErrorsForDotNetAppHost Recording · Job · CLI logs
StartReportsSyntaxErrorsForTypeScriptAppHost Recording · Job · CLI logs
StopAllAppHostsFromAppHostDirectory Recording · Job · CLI logs
StopJavaPolyglotAppHostUsingApphostDirectory Recording · Job · CLI logs
StopNonInteractiveSingleAppHost Recording · Job · CLI logs
StopTypeScriptPolyglotAppHostUsingApphostDirectory Recording · Job · CLI logs
StopWithNoRunningAppHostExitsSuccessfully Recording · Job · CLI logs
TypeScriptAppHostRunDoesNotDeadlockWhenLazyOptionsInvokeAsyncCallback Recording · Job · CLI logs
UnAwaitedChainsCompileWithAutoResolvePromises Recording · Job · CLI logs
UpdateProjectChannelToStable_CSharpEmptyAppHost_PreservesAspireConfigChannel Recording · Job · CLI logs
UpdateProjectChannelToStable_CSharpSingleFileInit_PreservesAspireConfigChannel Recording · Job · CLI logs
UpdateProjectChannelToStable_TypeScriptSingleFileInit_PreservesAspireConfigChannel Recording · Job · CLI logs
UpdateProjectChannelToStable_TypeScript_PreviewsStablePackagesAndPreservesChannel Recording · Job · CLI logs

📹 Recordings uploaded automatically from CI run #27402121786

@joperezr joperezr merged commit ccc566c into release/13.4 Jun 12, 2026
620 of 624 checks passed
@joperezr joperezr deleted the backport/pr-18106-to-release/13.4 branch June 12, 2026 17:57
@github-actions github-actions Bot added this to the 13.4.x milestone Jun 12, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot removed this from the 13.4.x milestone Jun 12, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

✅ No documentation update needed.

Decision path: docs_required → already documented by name

Triggered signals (2): cli_command_file_changed, mcp_tool_file_changed.

This PR is a backport of #18106 to release/13.4, fixing a regression (introduced in 13.2) where resources annotated with ExcludeFromMcp() were not being filtered from MCP tool results. No new flags, options, APIs, or tools were added — the fix restores already-documented behavior.

Per-signal documentation evidence (all in src/frontend/src/content/docs/get-started/aspire-mcp-server.mdx):

  • cli_command_file_changed (AgentMcpCommand.cs): The "Exclude resources from MCP" section already states: "By default, all resources, console logs, and telemetry are accessible through the MCP server. You can exclude specific resources and their associated telemetry by annotating them with ExcludeFromMcp():" (line 126). The method ExcludeFromMcp() appears verbatim in code examples at lines 134 and 151, and in the Enterprise considerations list at line 209.

  • mcp_tool_file_changed (ListResourcesTool.cs, ListConsoleLogsTool.cs, ExecuteResourceCommandTool.cs, ListStructuredLogsTool.cs, ListTracesTool.cs, ListTraceStructuredLogsTool.cs, McpToolHelpers.cs): All modified tools are listed by name in the Tools table: list_resources (line 108), list_console_logs (line 109), list_structured_logs (line 110), list_traces (line 111), list_trace_structured_logs (line 112), execute_resource_command (line 113). The filtering behavior for excluded resources is described in the same "Exclude resources from MCP" section.

renebentes pushed a commit to renebentes/3054 that referenced this pull request Jun 25, 2026
Updated [Aspire.Hosting.PostgreSQL](https://github.com/microsoft/aspire)
from 13.3.5 to 13.4.6.

<details>
<summary>Release notes</summary>

_Sourced from [Aspire.Hosting.PostgreSQL's
releases](https://github.com/microsoft/aspire/releases)._

## 13.4.6

## What's New in Aspire 13.4.6

Patch release for Aspire 13.4 fixing polyglot AppHost code generation
binding when CLI and SDK versions diverge, resource service port
collision in `--isolated` mode, and a MongoDB.Driver dependency update.

### 🐛 Fixes

- 🔗 **Polyglot AppHost code generation silently failed when CLI and SDK
versions diverged** — `Aspire.TypeSystem` used a floating strong-name
`AssemblyVersion` that changed with every build. When the installed
Aspire CLI was built at a different version than the AppHost's SDK, the
CLR couldn't satisfy the strong-name bind and every code generator
(TypeScript, Python, Java, Go, Rust) was silently dropped, surfacing as
`No code generator found for language: <lang>`. The `AssemblyVersion` is
now frozen at a stable constant so any compatible CLI/SDK pair on 13.4
binds successfully. Relates to #​18110 and #​17910.
([#​18160](microsoft/aspire#18160),
`@​sebastienros`)

- 🔌 **Multiple AppHosts started with `--isolated` collided on the
resource service port** — Both instances tried to bind to the same fixed
port from `ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL`, causing an "address
already in use" error on the second instance. `DashboardServiceHost` now
binds to port 0 on loopback when `RandomizePorts` is true (set by
`--isolated`), letting the OS assign a unique port per instance.
([#​18341](microsoft/aspire#18341), `@​JamesNK`)

- 🍃 **MongoDB.Driver updated to 3.9.0** — Removes a wrongly pinned
`SharpCompress` transitive dependency and uses the corrected `Snappier`
transitive. Fixes #​17981.
([#​18279](microsoft/aspire#18279),
`@​Falco20019`)

### 🏷️ Housekeeping

- 🚀 Bumped branding to 13.4.6
([#​18343](microsoft/aspire#18343))

---

_Full Changelog:
[v13.4.5...v13.4.6](microsoft/aspire@v13.4.5...v13.4.6)_

_Full commit:
[87fe259e4fc244c599019a7b1304c85a1488f248](microsoft/aspire@87fe259e4fc244c599019a7b1304c85a1488f248)_

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/27855270514) ·
131 AIC · ⌖ 13.5 AIC · ⊞ 37.4K

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.60, model:
claude-sonnet-4.6, id: 27855270514, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/27855270514 -->

## 13.4.5

## What's New in Aspire 13.4.5

Patch release for Aspire 13.4 clearing a transitive MessagePack security
advisory, tightening CLI validation for Playwright configuration, and
adding coding-agent detection to CLI telemetry.

### 🐛 Fixes

- 🛡️ **Bumped StreamJsonRpc to 2.25.29 to clear the MessagePack
GHSA-hv8m-jj95-wg3x (CVE-2026-48109) NU1903 advisory** — The transitive
MessagePack 2.5.192 dependency pulled in via StreamJsonRpc 2.22.23 fell
within the advisory's vulnerable LZ4 decompression range. Aspire does
not use `MessagePackFormatter` or LZ4 — all StreamJsonRpc calls use
`SystemTextJsonFormatter` over local Unix sockets — so the vulnerability
was not reachable in practice. The bump clears the NU1903 warning for
consumers of the `Aspire.Hosting` package.
([#​18204](microsoft/aspire#18204),
`@​mitchdenny`)
- 🎭 **`playwrightCliVersion` values that are not valid SemVer 2.0 now
fail fast with a clear diagnostic** — Previously an invalid override
(range expression, dist-tag like `latest`, or a `v`-prefixed string)
would surface as a generic npm resolution failure. The value is now
validated with strict SemVer parsing at startup; an error naming the
configuration key and the offending value is emitted immediately.
([#​18205](microsoft/aspire#18205),
`@​mitchdenny`)
- 🤖 **CLI telemetry now detects and reports the calling coding agent** —
When the Aspire CLI is invoked from inside a known coding agent
environment (GitHub Copilot CLI, VS Code Copilot agent, etc.) the agent
name is included in the main CLI telemetry event. GitHub Copilot CLI is
specifically identified as `copilot-cli`.
([#​18240](microsoft/aspire#18240),
`@​damianedwards`)

### 🏷️ Housekeeping

- 📄 Refreshed the `@​microsoft/aspire-cli` npm package README to be
TypeScript-only — updated examples to the current `ts-starter` template
(`apphost.mts` / `aspire.mjs`), added a backing-services snippet showing
`aspire add` for PostgreSQL and Redis, and documented `aspire dashboard
run` as a standalone dashboard option.
([#​18221](microsoft/aspire#18221), `@​adamint`)

---

_Full Changelog:
[v13.4.4...v13.4.5](microsoft/aspire@v13.4.4...v13.4.5)_

_Full commit:
[73114e86c64aeb9f3f3c7da8e37df1ae4281b27e](microsoft/aspire@73114e86c64aeb9f3f3c7da8e37df1ae4281b27e)_

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/27667814104/agentic_workflow)
· ● 4.4M

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.40, model:
claude-sonnet-4.6, id: 27667814104, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/27667814104 -->

## 13.4.4

## What's New in Aspire 13.4.4

Patch release for Aspire 13.4 with improved DCP connection reliability
during request execution and consistent `ExcludeFromMcp()` filtering
across all CLI MCP tools.

### 🐛 Fixes

* 🔌 **DCP requests could fail permanently when the connection dropped
mid-request** — If the underlying DCP channel closed while a request was
in flight, the error was surfaced directly instead of being retried.
Reconnection is now attempted as part of the DCP request retry path so
transient disconnections recover automatically without surfacing errors.
([#​18096](microsoft/aspire#18096),
`@​karolz-ms`)
* 🔍 **Resources marked with `ExcludeFromMcp()` were not consistently
filtered from CLI MCP tools** — Resources with the
`resource.excludeFromMcp` property were not excluded uniformly from all
CLI MCP tool results. `list_resources`, `list_console_logs`,
`execute_resource_command`, `list_structured_logs`, `list_traces`, and
`list_trace_structured_logs` all now honor the exclusion, preventing
excluded resources and their telemetry from appearing in agent context.
([#​18150](microsoft/aspire#18150), `@​JamesNK`)

### 🏷️ Housekeeping

* 📦 Improved npm CLI package metadata and hardened npm publish
validation in the release pipeline.
([#​18093](microsoft/aspire#18093),
`@​adamratzman`)

* * *

_Full Changelog:
[v13.4.3...v13.4.4](microsoft/aspire@v13.4.3...v13.4.4)_

_Full commit:
[ccc566c5ab3285c9beb8f38ede34734bb477c029](microsoft/aspire@ccc566c5ab3285c9beb8f38ede34734bb477c029)_


## 13.4.3

## What's New in Aspire 13.4.3

Patch release for Aspire 13.4 with a fix for persistent container
endpoint allocation regressions introduced in 13.4.

### 🐛 Fixes

- 🔌 **Persistent container endpoints had incorrect default behavior** —
Persistent containers were defaulting to proxyless endpoint behavior
instead of the proxied behavior used by normal containers. This caused
integrations that depend on endpoint allocation before resource startup
(such as the KeyVault emulator) to fail. Persistent containers now
default to proxied endpoints matching normal container behavior; opt out
with `isProxied: false` or `WithEndpointProxySupport(false)`. Proxyless
container endpoints with only a `targetPort` specified now also resolve
immediately to that port instead of waiting for delayed allocation.
(#​17960, `@​danegsta`)

### 🏷️ Housekeeping

- 🛠️ Unblocked WinGet manifest publishing on locked-down 1ES agents and
updated manifest tags (#​17958)

---
*Full Changelog:
microsoft/aspire@v13.4.2...v13.4.3*

*Full commit:
[4f218933552e18ff2874d1b6d5dc3fe671e3b6d9](microsoft/aspire@4f218933552e18ff2874d1b6d5dc3fe671e3b6d9)*

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/27173824611/agentic_workflow)
· ● 4.7M

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.40, model:
claude-sonnet-4.6, id: 27173824611, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/27173824611 -->

## 13.4.2

## What's New in Aspire 13.4.2

Patch release for Aspire 13.4 with a fix for Redis persistent container
deadlock on startup when using TLS.

### 🐛 Fixes

- 🔴 **Redis with `WithLifetime(ContainerLifetime.Persistent)` could
deadlock on startup** — Redis TLS startup arguments used the
public/allocated host ports instead of the internal target ports. When
the public port differed from the target port (or was not yet allocated)
the container would listen on an unexpected port and become unreachable.
The TLS and non-TLS startup arguments now bind to target ports, matching
what Redis expects internally. Fixes #​17822. (#​17827, backported via
#​17850, `@​danegsta`)

### 🏷️ Housekeeping

- 🚀 Bumped branding to 13.4.2 (#​17876)

---
*Full Changelog:
microsoft/aspire@v13.4.1...v13.4.2*

*Full commit:
[d7d0b6759ce4b936c76bc4775814d27db560dd6d](microsoft/aspire@d7d0b6759ce4b936c76bc4775814d27db560dd6d)*

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/26920328099/agentic_workflow)
· ● 5M

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.40, model:
claude-sonnet-4.6, id: 26920328099, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/26920328099 -->

## 13.4.1

## What's New in Aspire 13.4.1

Patch release for Aspire 13.4 with fixes for explicit-start resource
lifecycle callbacks, Redis persistent container startup, proxyless
endpoint allocation, and a duplicated `profiles` block in the empty C#
AppHost template.

### 🐛 Fixes

- ⏱️ **Explicit-start resources triggered lifecycle callbacks too
early** — Session-scoped resources marked with `WithExplicitStart()`
were having their execution configuration callbacks (environment
variables, arguments, certificates) evaluated at AppHost startup instead
of at manual start. This meant user-interaction callbacks such as
`WithEnvironment(ctx => PromptForValueAsync(...))` were called before
the user triggered the resource. DCP registration is now deferred until
the user manually starts the resource; persistent explicit-start
resources still register immediately but patch the existing DCP record
to `Start = true` rather than deleting and recreating it. Fixes #​17813.
(#​17825, backported via #​17826, `@​danegsta`)
- 🔴 **Redis with `WithLifetime(ContainerLifetime.Persistent)` could
deadlock on startup** — Redis TLS startup arguments used the
public/allocated host ports instead of the internal target ports. When
the public port differed from the target port (or was not yet allocated)
the container would listen on an unexpected port and become unreachable.
The TLS and non-TLS startup arguments now bind to target ports, matching
what Redis expects internally. Fixes #​17822. (#​17827, backported via
#​17850, `@​danegsta`)
- 🔌 **Proxyless container endpoint could hang when resolved before
container creation** — Referencing a proxyless container endpoint in an
environment variable callback (before the container port spec was
finalized) could deadlock. An on-demand allocation path now commits the
target port as the fallback host port in that case; once
`BuildContainerPorts` runs, normal DCP dynamic port assignment takes
over for any later resolution. (#​17851, backported via #​17859,
`@​danegsta`)
- 📄 **Empty C# AppHost template emitted duplicate `profiles` block** —
`aspire new aspire-empty` on 13.4 produced an `aspire.config.json` with
a `profiles` block that duplicated the content already present in
`apphost.run.json`, causing redundant launch configuration. The embedded
template now contains only the required `appHost.path` binding; profile
configuration lives exclusively in `apphost.run.json`. Fixes #​17660.
(#​17781, backported via #​17820, `@​mitchdenny`)

### 🏷️ Housekeeping

- 📦 Added Aspire CLI npm package to the release pipeline so the npm
distribution is published as part of stable releases. (#​17297,
backported via #​17766, `@​adamint`)
- 🚀 Bumped branding to 13.4.1 (#​17819)

---
*Full Changelog:
microsoft/aspire@v13.4.0...v13.4.1*

*Full commit:
[cf985fa817dd5863e7f62eb74fa1725ab5069ed2](microsoft/aspire@cf985fa817dd5863e7f62eb74fa1725ab5069ed2)*

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/26909313891/agentic_workflow)
· ● 1.0.40

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/26909313891/agentic_workflow)
· ● 3.9M

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.40, model:
claude-sonnet-4.6, id: 26909313891, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/26909313891 -->

## 13.4.0

# Aspire 13.4.0

Aspire 13.4 brings major improvements to Foundry hosted agents, the
Aspire skills system, CLI reliability, and TypeScript AppHost stability
— with cross-compute-environment deployment now working end-to-end and
**TypeScript AppHost support — Aspire's polyglot story — reaching
general availability (GA)**.

## Highlights

- 🎉 **TypeScript AppHost is now GA** — First introduced as a preview in
an earlier version of Aspire, the TypeScript AppHost — Aspire's polyglot
story — has reached the quality bar for general availability and is now
officially supported for production use alongside C#. As part of GA, the
experimental markers on the Azure TypeScript AppHost (ATS) APIs have
been removed and the ATS surface area is stable for 13.4.
- 🤖 **Foundry hosted agents** — Protocol selection (`responses` /
`invocations`) is now configurable from both C# and TypeScript AppHosts.
Cross-compute-environment deployments (e.g., a Foundry hosted agent + an
AKS consumer) now wire up correctly: endpoint resolution and the
required **Azure AI User** RBAC role assignment on the Foundry account
are generated automatically — no manual `az role assignment create`
steps needed.
- 🛠️ **Aspire skills catalog from bundle** — `aspire agent init` now
drives its installable skill catalog from the bundle manifest, surfacing
all six bundled skills (previously only three were visible). An embedded
snapshot means the full catalog is available even in airgapped /
disconnected environments.
- 🔧 **CLI reliability** — Multiple CLI fixes: implicit-channel discovery
restored, `aspire stop` no longer falsely reports failure on Unix,
`aspire ps` no longer includes raw resource data (use `aspire describe`
for detailed state), `aspire new` prefers the current CLI template
version, friendly error for `aspire do --list-steps` without a step
argument, and improved `--search` option description with documentation
link.
- ⌨️ **TypeScript AppHost** — Fixed a deadlock that occurred when lazy
options callbacks invoked async methods; dev-localhost resource service
URLs are now accepted for local development without extra configuration.
- 📊 **Dashboard** — Summary log formatting improved for readability,
`dotnet watch` dashboard auto-launch signal restored, and dynamic-port
handling fixed for `DistributedApplicationTestingBuilder`.
- ☸️ **Kubernetes** — The Helm CLI minimum version (≥ 4.2.0) is now
validated before a Kubernetes deploy, giving a clear error instead of a
cryptic failure.
- ⚠️ **`Aspire.Hosting.Blazor` ships as preview in 13.4** — A packaging
issue with the Blazor gateway scripts means the package is intentionally
marked preview for this release. Full stable support is targeted for
13.5.

## ⚠️ Notable changes

- `aspire ps` no longer includes raw resource data in its output. Use
`aspire describe <resource>` to inspect detailed resource state.
- Foundry hosted agent builder API shape updated — see
[#​17545](microsoft/aspire#17545) and
[#​17669](microsoft/aspire#17669) for the
updated C# and TypeScript signatures.
- `Aspire.Hosting.Blazor` is preview-versioned in 13.4
(`SuppressFinalPackageVersion=true`). A fix for the `addBlazorGateway`
gateway script resolution error in TypeScript AppHosts is tracked in
[#​17685](microsoft/aspire#17685).

## 📖 Learn more

For the full details on everything in this release, check out the
[What's new in Aspire 13.4](https://aspire.dev/whats-new/aspire-13-4/)
documentation.

Thank you to all the community contributors who helped make Aspire 13.4
possible! 💜

---
*Full Changelog:
microsoft/aspire@v13.3.5...v13.4.0*

*Full commit:
[becb48e2d61099e35ae336d527d3875e928d6594](microsoft/aspire@becb48e2d61099e35ae336d527d3875e928d6594)*

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/26779980139/agentic_workflow)
· ● 6.5M

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.40, model:
claude-sonnet-4.6, id: 26779980139, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/26779980139 -->


Commits viewable in [compare
view](microsoft/aspire@v13.3.5...v13.4.6).
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
renebentes pushed a commit to renebentes/3054 that referenced this pull request Jun 25, 2026
…to 13.4.6 (#208)

Updated
[Aspire.Npgsql.EntityFrameworkCore.PostgreSQL](https://github.com/microsoft/aspire)
from 13.3.5 to 13.4.6.

<details>
<summary>Release notes</summary>

_Sourced from [Aspire.Npgsql.EntityFrameworkCore.PostgreSQL's
releases](https://github.com/microsoft/aspire/releases)._

## 13.4.6

## What's New in Aspire 13.4.6

Patch release for Aspire 13.4 fixing polyglot AppHost code generation
binding when CLI and SDK versions diverge, resource service port
collision in `--isolated` mode, and a MongoDB.Driver dependency update.

### 🐛 Fixes

- 🔗 **Polyglot AppHost code generation silently failed when CLI and SDK
versions diverged** — `Aspire.TypeSystem` used a floating strong-name
`AssemblyVersion` that changed with every build. When the installed
Aspire CLI was built at a different version than the AppHost's SDK, the
CLR couldn't satisfy the strong-name bind and every code generator
(TypeScript, Python, Java, Go, Rust) was silently dropped, surfacing as
`No code generator found for language: <lang>`. The `AssemblyVersion` is
now frozen at a stable constant so any compatible CLI/SDK pair on 13.4
binds successfully. Relates to #​18110 and #​17910.
([#​18160](microsoft/aspire#18160),
`@​sebastienros`)

- 🔌 **Multiple AppHosts started with `--isolated` collided on the
resource service port** — Both instances tried to bind to the same fixed
port from `ASPIRE_RESOURCE_SERVICE_ENDPOINT_URL`, causing an "address
already in use" error on the second instance. `DashboardServiceHost` now
binds to port 0 on loopback when `RandomizePorts` is true (set by
`--isolated`), letting the OS assign a unique port per instance.
([#​18341](microsoft/aspire#18341), `@​JamesNK`)

- 🍃 **MongoDB.Driver updated to 3.9.0** — Removes a wrongly pinned
`SharpCompress` transitive dependency and uses the corrected `Snappier`
transitive. Fixes #​17981.
([#​18279](microsoft/aspire#18279),
`@​Falco20019`)

### 🏷️ Housekeeping

- 🚀 Bumped branding to 13.4.6
([#​18343](microsoft/aspire#18343))

---

_Full Changelog:
[v13.4.5...v13.4.6](microsoft/aspire@v13.4.5...v13.4.6)_

_Full commit:
[87fe259e4fc244c599019a7b1304c85a1488f248](microsoft/aspire@87fe259e4fc244c599019a7b1304c85a1488f248)_

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/27855270514) ·
131 AIC · ⌖ 13.5 AIC · ⊞ 37.4K

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.60, model:
claude-sonnet-4.6, id: 27855270514, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/27855270514 -->

## 13.4.5

## What's New in Aspire 13.4.5

Patch release for Aspire 13.4 clearing a transitive MessagePack security
advisory, tightening CLI validation for Playwright configuration, and
adding coding-agent detection to CLI telemetry.

### 🐛 Fixes

- 🛡️ **Bumped StreamJsonRpc to 2.25.29 to clear the MessagePack
GHSA-hv8m-jj95-wg3x (CVE-2026-48109) NU1903 advisory** — The transitive
MessagePack 2.5.192 dependency pulled in via StreamJsonRpc 2.22.23 fell
within the advisory's vulnerable LZ4 decompression range. Aspire does
not use `MessagePackFormatter` or LZ4 — all StreamJsonRpc calls use
`SystemTextJsonFormatter` over local Unix sockets — so the vulnerability
was not reachable in practice. The bump clears the NU1903 warning for
consumers of the `Aspire.Hosting` package.
([#​18204](microsoft/aspire#18204),
`@​mitchdenny`)
- 🎭 **`playwrightCliVersion` values that are not valid SemVer 2.0 now
fail fast with a clear diagnostic** — Previously an invalid override
(range expression, dist-tag like `latest`, or a `v`-prefixed string)
would surface as a generic npm resolution failure. The value is now
validated with strict SemVer parsing at startup; an error naming the
configuration key and the offending value is emitted immediately.
([#​18205](microsoft/aspire#18205),
`@​mitchdenny`)
- 🤖 **CLI telemetry now detects and reports the calling coding agent** —
When the Aspire CLI is invoked from inside a known coding agent
environment (GitHub Copilot CLI, VS Code Copilot agent, etc.) the agent
name is included in the main CLI telemetry event. GitHub Copilot CLI is
specifically identified as `copilot-cli`.
([#​18240](microsoft/aspire#18240),
`@​damianedwards`)

### 🏷️ Housekeeping

- 📄 Refreshed the `@​microsoft/aspire-cli` npm package README to be
TypeScript-only — updated examples to the current `ts-starter` template
(`apphost.mts` / `aspire.mjs`), added a backing-services snippet showing
`aspire add` for PostgreSQL and Redis, and documented `aspire dashboard
run` as a standalone dashboard option.
([#​18221](microsoft/aspire#18221), `@​adamint`)

---

_Full Changelog:
[v13.4.4...v13.4.5](microsoft/aspire@v13.4.4...v13.4.5)_

_Full commit:
[73114e86c64aeb9f3f3c7da8e37df1ae4281b27e](microsoft/aspire@73114e86c64aeb9f3f3c7da8e37df1ae4281b27e)_

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/27667814104/agentic_workflow)
· ● 4.4M

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.40, model:
claude-sonnet-4.6, id: 27667814104, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/27667814104 -->

## 13.4.4

## What's New in Aspire 13.4.4

Patch release for Aspire 13.4 with improved DCP connection reliability
during request execution and consistent `ExcludeFromMcp()` filtering
across all CLI MCP tools.

### 🐛 Fixes

* 🔌 **DCP requests could fail permanently when the connection dropped
mid-request** — If the underlying DCP channel closed while a request was
in flight, the error was surfaced directly instead of being retried.
Reconnection is now attempted as part of the DCP request retry path so
transient disconnections recover automatically without surfacing errors.
([#​18096](microsoft/aspire#18096),
`@​karolz-ms`)
* 🔍 **Resources marked with `ExcludeFromMcp()` were not consistently
filtered from CLI MCP tools** — Resources with the
`resource.excludeFromMcp` property were not excluded uniformly from all
CLI MCP tool results. `list_resources`, `list_console_logs`,
`execute_resource_command`, `list_structured_logs`, `list_traces`, and
`list_trace_structured_logs` all now honor the exclusion, preventing
excluded resources and their telemetry from appearing in agent context.
([#​18150](microsoft/aspire#18150), `@​JamesNK`)

### 🏷️ Housekeeping

* 📦 Improved npm CLI package metadata and hardened npm publish
validation in the release pipeline.
([#​18093](microsoft/aspire#18093),
`@​adamratzman`)

* * *

_Full Changelog:
[v13.4.3...v13.4.4](microsoft/aspire@v13.4.3...v13.4.4)_

_Full commit:
[ccc566c5ab3285c9beb8f38ede34734bb477c029](microsoft/aspire@ccc566c5ab3285c9beb8f38ede34734bb477c029)_


## 13.4.3

## What's New in Aspire 13.4.3

Patch release for Aspire 13.4 with a fix for persistent container
endpoint allocation regressions introduced in 13.4.

### 🐛 Fixes

- 🔌 **Persistent container endpoints had incorrect default behavior** —
Persistent containers were defaulting to proxyless endpoint behavior
instead of the proxied behavior used by normal containers. This caused
integrations that depend on endpoint allocation before resource startup
(such as the KeyVault emulator) to fail. Persistent containers now
default to proxied endpoints matching normal container behavior; opt out
with `isProxied: false` or `WithEndpointProxySupport(false)`. Proxyless
container endpoints with only a `targetPort` specified now also resolve
immediately to that port instead of waiting for delayed allocation.
(#​17960, `@​danegsta`)

### 🏷️ Housekeeping

- 🛠️ Unblocked WinGet manifest publishing on locked-down 1ES agents and
updated manifest tags (#​17958)

---
*Full Changelog:
microsoft/aspire@v13.4.2...v13.4.3*

*Full commit:
[4f218933552e18ff2874d1b6d5dc3fe671e3b6d9](microsoft/aspire@4f218933552e18ff2874d1b6d5dc3fe671e3b6d9)*

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/27173824611/agentic_workflow)
· ● 4.7M

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.40, model:
claude-sonnet-4.6, id: 27173824611, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/27173824611 -->

## 13.4.2

## What's New in Aspire 13.4.2

Patch release for Aspire 13.4 with a fix for Redis persistent container
deadlock on startup when using TLS.

### 🐛 Fixes

- 🔴 **Redis with `WithLifetime(ContainerLifetime.Persistent)` could
deadlock on startup** — Redis TLS startup arguments used the
public/allocated host ports instead of the internal target ports. When
the public port differed from the target port (or was not yet allocated)
the container would listen on an unexpected port and become unreachable.
The TLS and non-TLS startup arguments now bind to target ports, matching
what Redis expects internally. Fixes #​17822. (#​17827, backported via
#​17850, `@​danegsta`)

### 🏷️ Housekeeping

- 🚀 Bumped branding to 13.4.2 (#​17876)

---
*Full Changelog:
microsoft/aspire@v13.4.1...v13.4.2*

*Full commit:
[d7d0b6759ce4b936c76bc4775814d27db560dd6d](microsoft/aspire@d7d0b6759ce4b936c76bc4775814d27db560dd6d)*

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/26920328099/agentic_workflow)
· ● 5M

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.40, model:
claude-sonnet-4.6, id: 26920328099, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/26920328099 -->

## 13.4.1

## What's New in Aspire 13.4.1

Patch release for Aspire 13.4 with fixes for explicit-start resource
lifecycle callbacks, Redis persistent container startup, proxyless
endpoint allocation, and a duplicated `profiles` block in the empty C#
AppHost template.

### 🐛 Fixes

- ⏱️ **Explicit-start resources triggered lifecycle callbacks too
early** — Session-scoped resources marked with `WithExplicitStart()`
were having their execution configuration callbacks (environment
variables, arguments, certificates) evaluated at AppHost startup instead
of at manual start. This meant user-interaction callbacks such as
`WithEnvironment(ctx => PromptForValueAsync(...))` were called before
the user triggered the resource. DCP registration is now deferred until
the user manually starts the resource; persistent explicit-start
resources still register immediately but patch the existing DCP record
to `Start = true` rather than deleting and recreating it. Fixes #​17813.
(#​17825, backported via #​17826, `@​danegsta`)
- 🔴 **Redis with `WithLifetime(ContainerLifetime.Persistent)` could
deadlock on startup** — Redis TLS startup arguments used the
public/allocated host ports instead of the internal target ports. When
the public port differed from the target port (or was not yet allocated)
the container would listen on an unexpected port and become unreachable.
The TLS and non-TLS startup arguments now bind to target ports, matching
what Redis expects internally. Fixes #​17822. (#​17827, backported via
#​17850, `@​danegsta`)
- 🔌 **Proxyless container endpoint could hang when resolved before
container creation** — Referencing a proxyless container endpoint in an
environment variable callback (before the container port spec was
finalized) could deadlock. An on-demand allocation path now commits the
target port as the fallback host port in that case; once
`BuildContainerPorts` runs, normal DCP dynamic port assignment takes
over for any later resolution. (#​17851, backported via #​17859,
`@​danegsta`)
- 📄 **Empty C# AppHost template emitted duplicate `profiles` block** —
`aspire new aspire-empty` on 13.4 produced an `aspire.config.json` with
a `profiles` block that duplicated the content already present in
`apphost.run.json`, causing redundant launch configuration. The embedded
template now contains only the required `appHost.path` binding; profile
configuration lives exclusively in `apphost.run.json`. Fixes #​17660.
(#​17781, backported via #​17820, `@​mitchdenny`)

### 🏷️ Housekeeping

- 📦 Added Aspire CLI npm package to the release pipeline so the npm
distribution is published as part of stable releases. (#​17297,
backported via #​17766, `@​adamint`)
- 🚀 Bumped branding to 13.4.1 (#​17819)

---
*Full Changelog:
microsoft/aspire@v13.4.0...v13.4.1*

*Full commit:
[cf985fa817dd5863e7f62eb74fa1725ab5069ed2](microsoft/aspire@cf985fa817dd5863e7f62eb74fa1725ab5069ed2)*

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/26909313891/agentic_workflow)
· ● 1.0.40

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/26909313891/agentic_workflow)
· ● 3.9M

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.40, model:
claude-sonnet-4.6, id: 26909313891, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/26909313891 -->

## 13.4.0

# Aspire 13.4.0

Aspire 13.4 brings major improvements to Foundry hosted agents, the
Aspire skills system, CLI reliability, and TypeScript AppHost stability
— with cross-compute-environment deployment now working end-to-end and
**TypeScript AppHost support — Aspire's polyglot story — reaching
general availability (GA)**.

## Highlights

- 🎉 **TypeScript AppHost is now GA** — First introduced as a preview in
an earlier version of Aspire, the TypeScript AppHost — Aspire's polyglot
story — has reached the quality bar for general availability and is now
officially supported for production use alongside C#. As part of GA, the
experimental markers on the Azure TypeScript AppHost (ATS) APIs have
been removed and the ATS surface area is stable for 13.4.
- 🤖 **Foundry hosted agents** — Protocol selection (`responses` /
`invocations`) is now configurable from both C# and TypeScript AppHosts.
Cross-compute-environment deployments (e.g., a Foundry hosted agent + an
AKS consumer) now wire up correctly: endpoint resolution and the
required **Azure AI User** RBAC role assignment on the Foundry account
are generated automatically — no manual `az role assignment create`
steps needed.
- 🛠️ **Aspire skills catalog from bundle** — `aspire agent init` now
drives its installable skill catalog from the bundle manifest, surfacing
all six bundled skills (previously only three were visible). An embedded
snapshot means the full catalog is available even in airgapped /
disconnected environments.
- 🔧 **CLI reliability** — Multiple CLI fixes: implicit-channel discovery
restored, `aspire stop` no longer falsely reports failure on Unix,
`aspire ps` no longer includes raw resource data (use `aspire describe`
for detailed state), `aspire new` prefers the current CLI template
version, friendly error for `aspire do --list-steps` without a step
argument, and improved `--search` option description with documentation
link.
- ⌨️ **TypeScript AppHost** — Fixed a deadlock that occurred when lazy
options callbacks invoked async methods; dev-localhost resource service
URLs are now accepted for local development without extra configuration.
- 📊 **Dashboard** — Summary log formatting improved for readability,
`dotnet watch` dashboard auto-launch signal restored, and dynamic-port
handling fixed for `DistributedApplicationTestingBuilder`.
- ☸️ **Kubernetes** — The Helm CLI minimum version (≥ 4.2.0) is now
validated before a Kubernetes deploy, giving a clear error instead of a
cryptic failure.
- ⚠️ **`Aspire.Hosting.Blazor` ships as preview in 13.4** — A packaging
issue with the Blazor gateway scripts means the package is intentionally
marked preview for this release. Full stable support is targeted for
13.5.

## ⚠️ Notable changes

- `aspire ps` no longer includes raw resource data in its output. Use
`aspire describe <resource>` to inspect detailed resource state.
- Foundry hosted agent builder API shape updated — see
[#​17545](microsoft/aspire#17545) and
[#​17669](microsoft/aspire#17669) for the
updated C# and TypeScript signatures.
- `Aspire.Hosting.Blazor` is preview-versioned in 13.4
(`SuppressFinalPackageVersion=true`). A fix for the `addBlazorGateway`
gateway script resolution error in TypeScript AppHosts is tracked in
[#​17685](microsoft/aspire#17685).

## 📖 Learn more

For the full details on everything in this release, check out the
[What's new in Aspire 13.4](https://aspire.dev/whats-new/aspire-13-4/)
documentation.

Thank you to all the community contributors who helped make Aspire 13.4
possible! 💜

---
*Full Changelog:
microsoft/aspire@v13.3.5...v13.4.0*

*Full commit:
[becb48e2d61099e35ae336d527d3875e928d6594](microsoft/aspire@becb48e2d61099e35ae336d527d3875e928d6594)*

> Generated by [Generate release notes for a new stable Aspire
release](https://github.com/microsoft/aspire/actions/runs/26779980139/agentic_workflow)
· ● 6.5M

<!-- gh-aw-agentic-workflow: Generate release notes for a new stable
Aspire release, engine: copilot, version: 1.0.40, model:
claude-sonnet-4.6, id: 26779980139, workflow_id: release-notes-generate,
run: https://github.com/microsoft/aspire/actions/runs/26779980139 -->


Commits viewable in [compare
view](microsoft/aspire@v13.3.5...v13.4.6).
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants