Allow configuring the assistant command runner shell

Ouverte
#2,917 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
github, java

Piste de recherche

The issue does not name implementation files, tests, or an entry point. First determine whether shell selection is controlled by the SDK or the VS Code host, then trace how the command-execution tool chooses its runner and handles session settings. Done means a documented setting can select a shell and environment, commands run directly in it, unavailable shells produce an explicit error, and the existing default is preserved.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Feature request

Allow SDK hosts or users to configure the shell used by the assistant's command-execution tool, rather than always exposing a PowerShell command runner on Windows.

Motivation

In a VS Code session using Copilot SDK on Windows, the integrated terminal can be configured to use Bash, but the assistant's command runner remains PowerShell. Bash commands require an explicit bash invocation, and a WSL Bash environment may not have the same tools or PATH as the configured VS Code terminal.

Desired behavior

  • Provide a documented host or session setting for choosing the command runner shell, including Git Bash or another user-configured Bash on Windows.
  • Allow commands to run directly in the selected shell without a PowerShell wrapper.
  • Clearly expose which shell and environment are active, and report an explicit error if the requested shell is unavailable.
  • Preserve the existing default behavior when no shell is configured.

If this is controlled by the VS Code host rather than the SDK, please direct this request to the appropriate project.

Langage dominant
Java
Étoiles
10.7k
Forks
1.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de github/copilot-sdk

Toutes les issues de github/copilot-sdk

Issues similaires

Plus d'issues Java

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.