Skip to content

[docs] Add WithTerminal() interactive terminal sessions page#1244

Merged
mitchdenny merged 2 commits into
release/13.5from
mitchdenny/docs-withterminal-13-5
Jun 11, 2026
Merged

[docs] Add WithTerminal() interactive terminal sessions page#1244
mitchdenny merged 2 commits into
release/13.5from
mitchdenny/docs-withterminal-13-5

Conversation

@mitchdenny

Copy link
Copy Markdown
Member

Adds documentation for the WithTerminal() experimental API introduced in Aspire 13.5 (microsoft/aspire#17866).

Changes

  • New page: app-host/withterminal.mdx — covers basic usage, custom dimensions, multi-replica support, dashboard terminal view, and the aspire terminal attach / aspire terminal ps CLI commands
  • Sidebar entry added to Resource types section after "Executable resources"

Source PR

microsoft/aspire#17866 — "WithTerminal(): per-replica interactive terminal sessions (Aspire side)"

Notes

  • The feature is marked experimental (ASPIRETERMINAL001); the page includes the required #pragma warning disable patterns
  • TypeScript options overload (dimensions) is not yet supported — noted inline
  • Windows executables only for 13.5; Linux/macOS/containers are noted as follow-ups

/cc @adamint (SME from source PR reviews)

Documents the WithTerminal() experimental API introduced in Aspire 13.5:
- Basic usage (C# and TypeScript)
- Custom terminal dimensions
- Multi-replica support
- Dashboard terminal view
- aspire terminal attach / aspire terminal ps CLI commands

Closes microsoft/aspire#17866 (docs obligation)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mitchdenny
mitchdenny changed the base branch from main to release/13.5 June 10, 2026 14:11
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1244. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1244 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

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.

Pull request overview

Adds new Aspire AppHost documentation for the experimental WithTerminal() API (interactive PTY sessions), and links it into the AppHost “Resource types” navigation.

Changes:

  • Added a new app-host/withterminal.mdx page covering basic usage, sizing, replica behavior, dashboard access, and related CLI commands.
  • Added a new sidebar item under Resource types pointing to the new page.
Show a summary per file
File Description
src/frontend/src/content/docs/app-host/withterminal.mdx New docs page describing interactive terminal sessions via WithTerminal() (C# + TypeScript examples).
src/frontend/config/sidebar/docs.topics.ts Adds the new “Interactive terminals” entry to the AppHost Resource types sidebar section.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 4

Comment thread src/frontend/src/content/docs/app-host/withterminal.mdx
Comment thread src/frontend/src/content/docs/app-host/withterminal.mdx Outdated
Comment thread src/frontend/src/content/docs/app-host/withterminal.mdx Outdated
Comment thread src/frontend/config/sidebar/docs.topics.ts Outdated
- remove redundant sidebar translations block
- clean up unused import and wording updates
- fix CLI reference link target
- remove duplicate build/run call in dimensions sample

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mitchdenny
mitchdenny enabled auto-merge (squash) June 11, 2026 04:44
@mitchdenny
mitchdenny merged commit 7aa48a8 into release/13.5 Jun 11, 2026
9 checks passed
@mitchdenny
mitchdenny deleted the mitchdenny/docs-withterminal-13-5 branch June 11, 2026 05:07
mitchdenny pushed a commit that referenced this pull request Jul 6, 2026
Remove the duplicate withterminal.mdx (from #1244) in favor of the
kebab-case with-terminal.mdx, matching the app-host directory naming
convention. Fold in the dashboard section and the TypeScript config
tracking issue reference.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
mitchdenny added a commit that referenced this pull request Jul 6, 2026
* Add WithTerminal docs and aspire terminal CLI reference

Document the experimental WithTerminal() AppHost API for exposing
interactive terminal sessions on resources, plus the aspire terminal,
aspire terminal attach, and aspire terminal ps CLI commands. Wires the
new pages into the docs and reference sidebars and repoints the 13.5
what's-new link to the new slug.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Frame no-auto-debugger as a temporary NOTE callout

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Give C# and TypeScript equal billing in with-terminal docs

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Consolidate WithTerminal docs onto with-terminal.mdx

Remove the duplicate withterminal.mdx (from #1244) in favor of the
kebab-case with-terminal.mdx, matching the app-host directory naming
convention. Fold in the dashboard section and the TypeScript config
tracking issue reference.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Address PR review: self-contained snippets and ASPIRETERMINAL001 guidance

Add the #pragma warning disable ASPIRETERMINAL001 suppression to the C#
examples, make the Experimental aside actionable, and make the configure
and replicas snippets self-contained (full builder bootstrap + run) for
both C# and TypeScript.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Mitch Denny <midenn@Mac.localdomain>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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