Skip to content

Agent-launched new terminal should match the active WSL/Ubuntu session, not the default profile #351

Description

@vanzue

Feature request

When the active terminal is a WSL distro (e.g. Ubuntu) and the agent decides it needs to launch a new terminal, it should open a new terminal of the same kind (WSL/Ubuntu), not fall back to the user''s default profile (e.g. PowerShell).

Current behavior

If the active pane is Ubuntu and the agent spawns a new terminal, it uses the default profile (PowerShell) instead of a new Ubuntu terminal.

Expected

The newly launched terminal should match the active session''s shell/profile (WSL distro) so the agent''s follow-up commands run in the right environment.

Origin

Raised by @dot-mike on #200:

Also seeing another bug similar to this. I.e if the active terminal is Ubuntu, and the agent decides it needs to launch a new terminal, it will use the default terminal (for example Powershell) and not a new Ubuntu terminal.

#200 (comment)

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-AgentPaneThe agent pane UX, ?<prompt> delegation, command palette AI entriesIssue-FeatureNew capability or enhancement requestNeeds-Tag-FixNeeds-TriageAwaiting first review by the team

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions