Allow configuring the assistant command runner shell

Aperta
#2,917 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, java

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Java
Stelle
10.7k
Fork
1.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di github/copilot-sdk

Tutte le issue di github/copilot-sdk

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.