Skip to content

[ENHANCEMENT] Use VS Code automationProfile for spawned terminals (avoid default shell mismatch) #7892

@gr-alecz

Description

@gr-alecz

Type

Enhancement

Problem / Value

Roo spawns terminals using the user’s default shell, which can be incompatible for automation. VS Code provides a dedicated automation shell profile (e.g., terminal.integrated.automationProfile.linux) intended for tools. Using it prevents failures without forcing users to change their default shell.

Context

Affects users whose default shell is nonstandard or customized. They already configure an automationProfile (e.g., /bin/bash) specifically for tools and expect Roo to respect it.

Desired behavior

When Roo spawns a terminal for automated tasks, prefer the configured automationProfile over the defaultProfile.

Acceptance criteria

  • Roo uses the platform’s terminal.integrated.automationProfile.* when available.
  • If an automationProfile is not set, Roo falls back to the defaultProfile or platform default.
  • Works across supported platforms (Linux/macOS/Windows), following VS Code conventions.

Constraints/Notes

  • Do not override when the user explicitly selects a custom shell for a specific run.
  • Keep behavior consistent with VS Code terminal profile resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Issue [Unassigned]

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions