Skip to content

v0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Jul 11:10

Added

  • chegi upgrade — self-upgrade with auto-check, 24h cooldown, and changelog diff display
  • chegi branch — full branch manager with interactive menu and 9 subcommands (create, switch, merge, rename, delete, push-delete, sync, info, list)
  • chegi clone — clone repos with user/repo shorthand, submodule init, smart .gitignore, and .chegi/ setup
  • chegi commit — secure replacement for git commit with auto security scan and 5 commit styles (Free, Conventional, Scope, Body, Gitmoji)
  • chegi new — scaffold projects from scratch with templates (python, node, go, rust, cpp, csharp, ruby) and GitHub push integration
  • chegi info — project status dashboard with branch, changes, contributors, security, and JSON/short/watch modes
  • chegi doctor — comprehensive health check covering Git, identity, security, hooks, and stats
  • chegi hooks — manage pre-commit and pre-push Git hooks with guard scanning
  • chegi auth — encrypted token-based auth for GitHub and GitLab with scope validation and credential helper integration
  • chegi repo — browse GitHub repos with fuzzy search, language colors, star count, and local cache
  • chegi completions — shell completion scripts for bash, zsh, fish, and powershell with auto-install
  • chegi init — initialize .chegi/ project directory with config and guard rules
  • chegi config git — manage Git global config (user.identity, editor, pull.rebase, fetch.prune) with interactive wizard
  • chegi co/br/ci/st — fast Git alias pass-through commands (checkout, branch, commit, status)
  • First-run wizard for new users — Git check, identity setup, SSH key, GitHub CLI, auth login, theme picker, and sensitive patterns
  • GitConfigService — centralized Git global config operations (get, set, unset, get_all, identity)
  • GitHubRepoService — create and list GitHub repositories with interactive picker
  • SecurityGuard strict mode — scan both staged and unstaged files
  • SecurityGuard directory scan — recursive sensitive file detection without Git repo
  • Custom sensitive file patterns via .chegi.json config
  • Color theme system with theme switching and GlobalConfig persistence
  • macOS universal2 binary builds (Intel + Apple Silicon)
  • Linux ARM64 native binary builds
  • Docker multi-arch images (amd64 + arm64) on Docker Hub and GHCR
  • --version / -v global flag

Fixed

  • Replace pepy.tech downloads badge with shields.io (pepy.tech had 404 errors)
  • Fix Python version badge to use static badge (shields.io/pyversion endpoint doesn't exist)
  • Replace bare except Exception with specific exception types across services
  • Replace subprocess.run with GitClient in services layer
  • Replace ValueError raises with custom exception types in services
  • Add missing type hints to all functions and parameters
  • Add missing module docstrings to 34 source files
  • Add missing __init__.py files to test directories
  • Fix __init__.py directories that should have been files

Changed

  • AGENTS.md: enforce strict type hints with AST-based pre-commit gate
  • AGENTS.md: add custom exceptions rule — never raise ValueError/TypeError/RuntimeError in services
  • CONTRIBUTING.md: add strict type hint requirements for contributors