Allow configuring the assistant command runner shell

未关闭
#2,917 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
github, java

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Java
星标
10.7k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/copilot-sdk 的其他 Issue

查看 github/copilot-sdk 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。