Repository navigation
Run Builders on a Mac (#7) - #13
Merged
Merged
Conversation
A native macOS build alongside the Windows one, plus two fixes the Mac testing turned up. - MCP replies are flushed as they're printed. Release builds buffer piped stdout on macOS, so an agent never heard back until it disconnected. - Exporting without replacing no longer goes through a shell. OS.execute runs its command through one on macOS, so a folder name containing $(...) ran as a command. ln is now started directly, and hostile names and eight racing publishes are tested. - Cmd shortcuts on a Mac (undo, redo, save), and Mac wording: Trash, Show in Finder, Terminal, and connect commands quoted for zsh. - A macOS export preset (universal, ETC2/ASTC textures for Apple Silicon). tools/package.ps1 (was package_windows.ps1) takes -Platform macOS: kits go in Contents/Resources, the app is ad-hoc signed again and zipped with ditto. - CI builds, tests, packages and smoke-tests the Mac app on macos-latest, and releases attach AgentGuildBuilders-macos.zip. - The README and the agent page cover installing on a Mac and opening an unsigned app the first time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Refs #7. This adds a native macOS build alongside the Windows one, plus two fixes that testing on a real Mac turned up.
Fixes found on a Mac
run/flush_stdout_on_printis now on.OS.executeruns its command through a shell on macOS, so a destination folder named like$(touch x)ran that command.lnis now started directly withOS.execute_with_pipe, keeping the atomic no-overwrite behaviour. New tests cover hostile folder names and eight racing publishes: exactly one wins and nothing is left behind. Windows is unchanged.Mac support
tools/package.ps1(waspackage_windows.ps1) takes-Platform macOS. The kits and licence go inContents/Resources, the app is ad-hoc signed again and verified, and it's zipped withditto.build-macosjob that tests, packages, checks the signature and smoke-tests the app. Releases now attachAgentGuildBuilders-macos.ziptoo.tests/site_commands.gd.uid, which was missed in Agent-ready docs page on GitHub Pages: download, install and run Builders #10/Agent-ready setup page on GitHub Pages #11.Tested on an M4 Mac mini (macOS 27)
All five suites pass:
runhardeningclearance_hardeningpackage_hardeningsite_commandsThe packaged ZIP passes
codesign --verify --deep --strictand launches with its kits. The MCP smoke test passes 10 of 10 both headless and in a window.The agent page's Mac install block works for both installing and updating.
Not yet verified
package.ps1still produces the same Windows ZIP layout.🤖 Generated with Claude Code