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
refactor: overhaul diff, remove shell from snapshot, fix install flow
- diff: default to remote config (logged in) instead of useless local
snapshot comparison. Error with guidance when not logged in.
- diff: add dotfiles comparison (repo URL mismatch, uncommitted changes,
unpushed commits)
- diff: add macOS preferences comparison for remote configs
- diff: fix formulae/casks mixing by filtering casks from remote packages
- snapshot: remove ShellSnapshot from data structure — shell plugins and
theme are part of dotfiles, not a separate concern
- installer: stepShell now only installs oh-my-zsh; skips .zshrc
modification when dotfiles are present (dotfiles manage .zshrc)
- sync: remove shell diff and shell restore from sync plan
- cleanup: remove SnapshotShellConfig, ShellDiff, GitDiff types and all
related capture/compare/format/restore code (~600 lines removed)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
// If logged in, diff against the user's own remote config
66
+
stored, authErr:=auth.LoadToken()
67
+
ifauthErr!=nil||stored==nil {
68
+
returnfmt.Errorf("no comparison target specified\n\n Log in to diff against your openboot.dev config:\n openboot login\n\n Or specify a target explicitly:\n openboot diff --user <username> Compare against a remote config\n openboot diff --from <file> Compare against a snapshot file")
0 commit comments