You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(segkit): add doctor command with Homebrew/applesimutils auto-install (#71)
* feat(segkit): add doctor command with --fix for auto-remediation
Replaces `segkit setup` with `segkit doctor` / `segkit doctor --fix`.
Doctor checks for devbox, Homebrew, and applesimutils, and --fix
auto-installs anything missing. Also adds Homebrew bin dirs to PATH
during iOS plugin init so applesimutils is discoverable in --pure mode.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat(ios): run segkit doctor --fix in init hook
Ensures Homebrew and applesimutils are installed on first devbox shell
entry. Subsequent runs are a no-op since deps are already present.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(ios): only shim specific Homebrew binaries, not entire bin dir
Symlinks only the tools we need (applesimutils) into a private
brew-shims dir rather than adding all of /opt/homebrew/bin to PATH.
Prevents Homebrew-installed node/python/etc from shadowing Nix packages.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(segkit): silent no-op when deps OK, clear message when fixed
Doctor --fix now produces no output when all dependencies are present
(silent no-op for init hook). When something is installed, prints what
was fixed and asks the user to retry their command.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(segkit): exit 0 on successful fix, print progress during installs
Doctor now prints "segkit: installing X..." before each install so
users know what's happening and can cancel if needed. Exits SUCCESS
when deps are fixed (init hook continues). Silent no-op when all
deps are already present.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore: update devbox.lock files with segkit flake resolution
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* style(segkit): apply cargo fmt formatting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments