makecindy / makecindy/cindy

bug: windows 下使用 Pi,一直报错无 git bash

Open
#2,590 2 comments 0 reactions 0 assignees View on GitHub
bug pi
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

### 问题描述 / What happened

直接使用 pi,settings.json 中配置了 git bash(非默认安装路径),正常使用,当使用 cindy 调用 pi,一直说没有 bash 命令,我尝试在 cindyglobal 下也 settings.json 放置 shellpath 的路径,都不起作用,导致很多命令无法执行

### 环境 / Environment

- Cindy 版本或 commit / version or commit:latest
- 平台与版本 / platform & OS version:windows
- 安装方式 / install method:exe

### 复现步骤 / Steps to reproduce

1. 系统环境变量里面配置了 Git Bash的 bin 路径,终端使用正常;
2.~/.pi/agent/settings.json 中配置了 shellPath,指定了 git bash.exe 的路径,正常使用 Pi 没问题,bash 指令一切正常;
3.通过 Cindy 对话窗口,使用 Pi 以及相同模型,一直报错吗,没有 Git bash;尝试在 Cindyglobal 文件夹下相应位置,放入相同的 settings.json,里面还是设置相同的 git bash.exe;都不起作用;

### 日志与截图 / Logs & screenshots

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Cindy launches Pi on Windows and how it resolves shellPath from ~/.pi/agent/settings.json and the cindyglobal settings location. Reproduce the reported setup with a non-default Git Bash path and compare the shell configuration used by direct Pi and the Cindy conversation window. Done means Cindy can find and use the configured Git Bash for Pi commands on Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.