Repository navigation
Conversation
Co-Authored-By: BaoCode <noreply@baocode.dev>
…ith it - lib/bash_exe/: installs, updates and removes it (dl.baocode.dev/tools/ bash-exe/latest.json, checked against its size and SHA-256), a folder per version in the data directory. Settings -> General -> Command Line shows it; above every settings page it is recommended to all but a new user (first run here under 7 days ago, or under 5 messages sent), until put off for good, while the built-in core runs the agents. - bao_agent: Shell.find takes it (BAOCODE_BASH) after the shell CLAUDE_CODE_GIT_BASH_PATH sets and before Git Bash; the Bash tool tells the model its tools are built in and how paths may be written, and the environment section names the shell in place of "unknown". - CI publishes bash.exe gzipped for the app beside the zip, and the smoke test runs a command as bao_agent does. Co-Authored-By: BaoCode <noreply@baocode.dev>
…l leaves at once Co-Authored-By: BaoCode <noreply@baocode.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BaoCode Bash (baocode-dev/bash-exe, forked from oh-my-pi's shell) is a
bash.exefor Windows: bash 5.3 withrg,grep,sed,awk,find,jq,tarand some 80 other tools built in, takingC:\x,C:/x,/c/xand/mnt/c/xalike.CI (
.github/workflows/bash-exe.yml)tool/test_bash_exe.ps1there: the tools, the four path spellings, Windows programs (cmd /c,git,find /cgoing to Windows' find), exit statuses, stdin, background jobs, and a command run exactly as bao_agent runs one (the cwd file).bash-exe-X.Y.Ztags build bash-exe'svX.Y.Zand publish todl.baocode.dev/tools/bash-exe/X.Y.Z/(a zip with the license for people,bash.exegzipped for the app), thenlatest.jsonwith sizes and SHA-256. The release environment now letsbash-exe-*tags in.App
lib/bash_exe/: install, update, uninstall (checked against size and SHA-256; a folder per version in the data directory so a running one is never overwritten).CLAUDE_CODE_GIT_BASH_PATH), pending a test on a real Windows machine.bao_agent
Shell.find:CLAUDE_CODE_GIT_BASH_PATH→ BaoCode Bash (BAOCODE_BASH, set by the app when installed) → Git Bash → cmd.exe.unknownon Windows.Tests:
test/bash_exe/bao_bash_test.dart, bao_agentutils_test.dart(Shell), and the Windows smoke test in CI.🤖 Generated with BaoCode