[PR #7329] Windows - Desktop GUI - Git bash fork, powershell and cmd fixes #12351

Closed
opened 2026-02-16 18:17:16 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7329

State: closed
Merged: No


I found, fixed, tested, and confirmed several issues related to Git bash fork, powershell and cmd. Previously many command calls would fail, making the agent pretty useless at very many tasks on Windows, at least on Desktop. Not sure if it was an issue on TUI/CLI as I am... one of those guys. There are still some issues I will be resolving, but I figured I should PR this batch.

Unfortunately there are now some merge conflicts but I hey that probably happens every few hours some days

Issue
Add Git cmd and MinGW paths to git-env.ts 100% dank now
Fix stream reading race condition 100% dank now
Remove duplicate abort listeners from bash.ts 100% dank now
Add stream draining to prompt.ts 100% dank now
Fix newString undefined bug 100% dank now
Fix desktop race condition 100% dank now
Add shell bypass to prompt.ts 100% dank now
Add unique match identification 100% dank now
Fix Unicode character matching 100% dank now
Fix multi-line patterns 100% dank now
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7329 **State:** closed **Merged:** No --- I found, fixed, tested, and confirmed several issues related to Git bash fork, powershell and cmd. Previously many command calls would fail, making the agent pretty useless at very many tasks on Windows, at least on Desktop. Not sure if it was an issue on TUI/CLI as I am... one of those guys. There are still some issues I will be resolving, but I figured I should PR this batch. Unfortunately there are now some merge conflicts but I hey that probably happens every few hours some days | Issue | | |-------|--------| | Add Git cmd and MinGW paths to git-env.ts | 100% dank now | | Fix stream reading race condition | 100% dank now | | Remove duplicate abort listeners from bash.ts | 100% dank now | | Add stream draining to prompt.ts | 100% dank now | | Fix newString undefined bug | 100% dank now | | Fix desktop race condition | 100% dank now | | Add shell bypass to prompt.ts | 100% dank now | | Add unique match identification | 100% dank now | | Fix Unicode character matching | 100% dank now | | Fix multi-line patterns | 100% dank now |
yindo added the pull-request label 2026-02-16 18:17:16 -05:00
yindo closed this issue 2026-02-16 18:17:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12351