├── .github ├── CODEOWNERS ├── branch-protection.json ├── dependabot.yml └── workflows │ ├── publish.yml │ └── release-checklist.yml ├── .gitignore ├── DOCUMENTATION.md ├── LICENSE ├── Makefile ├── README.md ├── git_smart_squash ├── VERSION ├── __init__.py ├── ai │ ├── __init__.py │ └── providers │ │ ├── __init__.py │ │ └── simple_unified.py ├── cli.py ├── dependency_validator.py ├── diff_parser.py ├── hunk_applicator.py ├── logger.py ├── post_install.py ├── simple_config.py ├── strategies │ ├── __init__.py │ ├── backup_manager.py │ └── commit_applier.py └── utils │ ├── __init__.py │ ├── display.py │ ├── git_diff.py │ ├── prompt_builder.py │ └── working_dir.py ├── publish.py ├── quick-publish.sh ├── requirements.txt ├── scripts ├── README.md ├── bump_version.py ├── publish.sh └── release.py ├── setup.py └── tests ├── __init__.py ├── run_all_tests.py ├── test_ai_integration.py ├── test_apply_failure_restoration.py ├── test_backup_restore.py ├── test_cli_flags_precedence.py ├── test_dependency_validation_integration.py ├── test_dependency_validator.py ├── test_e2e_hunk_application.py ├── test_functionality_comprehensive.py ├── test_git_diff_fallbacks.py ├── test_idempotency.py ├── test_in_repo.sh ├── test_instructions_feature.py ├── test_local.sh ├── test_logging.py ├── test_openai_responses_stubbed.py ├── test_patch_corruption_fixes.py ├── test_providers_stubbed.py ├── test_reasoning_all_providers.py ├── test_utils.py └── test_working_directory_validation.py /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/branch-protection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/.github/branch-protection.json -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/release-checklist.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/.github/workflows/release-checklist.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/.gitignore -------------------------------------------------------------------------------- /DOCUMENTATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/DOCUMENTATION.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/README.md -------------------------------------------------------------------------------- /git_smart_squash/VERSION: -------------------------------------------------------------------------------- 1 | 4.0.3 2 | -------------------------------------------------------------------------------- /git_smart_squash/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/__init__.py -------------------------------------------------------------------------------- /git_smart_squash/ai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/ai/__init__.py -------------------------------------------------------------------------------- /git_smart_squash/ai/providers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/ai/providers/__init__.py -------------------------------------------------------------------------------- /git_smart_squash/ai/providers/simple_unified.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/ai/providers/simple_unified.py -------------------------------------------------------------------------------- /git_smart_squash/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/cli.py -------------------------------------------------------------------------------- /git_smart_squash/dependency_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/dependency_validator.py -------------------------------------------------------------------------------- /git_smart_squash/diff_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/diff_parser.py -------------------------------------------------------------------------------- /git_smart_squash/hunk_applicator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/hunk_applicator.py -------------------------------------------------------------------------------- /git_smart_squash/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/logger.py -------------------------------------------------------------------------------- /git_smart_squash/post_install.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/post_install.py -------------------------------------------------------------------------------- /git_smart_squash/simple_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/simple_config.py -------------------------------------------------------------------------------- /git_smart_squash/strategies/__init__.py: -------------------------------------------------------------------------------- 1 | # This file makes the strategies directory a Python package -------------------------------------------------------------------------------- /git_smart_squash/strategies/backup_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/strategies/backup_manager.py -------------------------------------------------------------------------------- /git_smart_squash/strategies/commit_applier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/strategies/commit_applier.py -------------------------------------------------------------------------------- /git_smart_squash/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # Utils module for git-smart-squash -------------------------------------------------------------------------------- /git_smart_squash/utils/display.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/utils/display.py -------------------------------------------------------------------------------- /git_smart_squash/utils/git_diff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/utils/git_diff.py -------------------------------------------------------------------------------- /git_smart_squash/utils/prompt_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/utils/prompt_builder.py -------------------------------------------------------------------------------- /git_smart_squash/utils/working_dir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/git_smart_squash/utils/working_dir.py -------------------------------------------------------------------------------- /publish.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/publish.py -------------------------------------------------------------------------------- /quick-publish.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/quick-publish.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/scripts/README.md -------------------------------------------------------------------------------- /scripts/bump_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/scripts/bump_version.py -------------------------------------------------------------------------------- /scripts/publish.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/scripts/publish.sh -------------------------------------------------------------------------------- /scripts/release.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/scripts/release.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | # Tests for git-smart-squash -------------------------------------------------------------------------------- /tests/run_all_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/run_all_tests.py -------------------------------------------------------------------------------- /tests/test_ai_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_ai_integration.py -------------------------------------------------------------------------------- /tests/test_apply_failure_restoration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_apply_failure_restoration.py -------------------------------------------------------------------------------- /tests/test_backup_restore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_backup_restore.py -------------------------------------------------------------------------------- /tests/test_cli_flags_precedence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_cli_flags_precedence.py -------------------------------------------------------------------------------- /tests/test_dependency_validation_integration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_dependency_validation_integration.py -------------------------------------------------------------------------------- /tests/test_dependency_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_dependency_validator.py -------------------------------------------------------------------------------- /tests/test_e2e_hunk_application.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_e2e_hunk_application.py -------------------------------------------------------------------------------- /tests/test_functionality_comprehensive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_functionality_comprehensive.py -------------------------------------------------------------------------------- /tests/test_git_diff_fallbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_git_diff_fallbacks.py -------------------------------------------------------------------------------- /tests/test_idempotency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_idempotency.py -------------------------------------------------------------------------------- /tests/test_in_repo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_in_repo.sh -------------------------------------------------------------------------------- /tests/test_instructions_feature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_instructions_feature.py -------------------------------------------------------------------------------- /tests/test_local.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_local.sh -------------------------------------------------------------------------------- /tests/test_logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_logging.py -------------------------------------------------------------------------------- /tests/test_openai_responses_stubbed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_openai_responses_stubbed.py -------------------------------------------------------------------------------- /tests/test_patch_corruption_fixes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_patch_corruption_fixes.py -------------------------------------------------------------------------------- /tests/test_providers_stubbed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_providers_stubbed.py -------------------------------------------------------------------------------- /tests/test_reasoning_all_providers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_reasoning_all_providers.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/test_working_directory_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edverma/git-smart-squash/HEAD/tests/test_working_directory_validation.py --------------------------------------------------------------------------------