Skip to content

chore: post-#123 cleanup for agent bash path#124

Merged
Licoy merged 1 commit into
mainfrom
chore/post-123-cleanup
Jul 14, 2026
Merged

chore: post-#123 cleanup for agent bash path#124
Licoy merged 1 commit into
mainfrom
chore/post-123-cleanup

Conversation

@Licoy

@Licoy Licoy commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up after merging #123 / fixing #120:

  • Remove machine-local .cargo/config.toml (mingw cross-compile linker — should not live in the main repo)
  • Bump open-agent-sdk to include warn + unit tests when shell_binary path is missing
  • Clarify Git Bash path examples in zh-CN / en-US settings copy

Related

Test plan

  • cargo test --lib tools::bash::tests in open-agent-sdk (6 passed)
  • Confirm settings still show Bash Path after pull
  • Confirm no .cargo/config.toml on main after merge

Remove machine-local .cargo cross-compile config, bump open-agent-sdk
for shell override warn/tests, and document Git Bash path examples in
settings i18n (related to #120).
Copilot AI review requested due to automatic review settings July 14, 2026 09:48
@Licoy
Licoy merged commit 1e89ee6 into main Jul 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is a post-merge cleanup related to the newly configurable Agent Bash executable path on Windows, focusing on user-facing settings copy and removing a machine-local Cargo configuration from the repo.

Changes:

  • Clarify the Git Bash executable path examples in zh-CN and en-US settings copy (including guidance to use bash.exe instead of git-bash.exe).
  • Remove .cargo/config.toml that contained a machine-/environment-specific MinGW linker override.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/i18n/locales/zh-CN.json Updates the Bash Path setting description with a concrete Windows Git Bash example.
src/i18n/locales/en-US.json Updates the Bash Path setting description with a concrete Windows Git Bash example.
.cargo/config.toml Removes a machine-local cross-compile linker configuration from the repository.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 496 to 499
"agentWorkspacePreview": "Preview: {{value}}",
"agentBashPath": "Bash Path",
"agentBashPathDesc": "Path to the Bash executable used for Agent commands. Leave empty to auto-detect from PATH.",
"agentBashPathDesc": "Path to the Bash executable used for Agent commands. Leave empty to auto-detect from PATH. On Windows with Git, use e.g. C:\\Program Files\\Git\\bin\\bash.exe (not git-bash.exe).",
"agentBashPathPlaceholder": "Leave empty for auto-detection",
@Licoy
Licoy deleted the chore/post-123-cleanup branch July 14, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants