claude-commit 0.4.0__tar.gz → 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: claude-commit
3
- Version: 0.4.0
3
+ Version: 0.6.0
4
4
  Summary: AI-powered git commit message generator using Claude Agent SDK
5
5
  Author-email: Johannlai <johannli666@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "claude-commit"
7
- version = "0.4.0"
7
+ version = "0.6.0"
8
8
  description = "AI-powered git commit message generator using Claude Agent SDK"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -480,6 +480,12 @@ Begin your analysis now.
480
480
 
481
481
  return commit_message
482
482
 
483
+ except KeyboardInterrupt:
484
+ # Handle Ctrl+C gracefully without showing traceback
485
+ if "progress" in locals() and progress is not None:
486
+ progress.stop()
487
+ # Don't print anything here - let main() handle the user message
488
+ return None
483
489
  except CLINotFoundError:
484
490
  # Stop progress on error
485
491
  if "progress" in locals() and progress is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: claude-commit
3
- Version: 0.4.0
3
+ Version: 0.6.0
4
4
  Summary: AI-powered git commit message generator using Claude Agent SDK
5
5
  Author-email: Johannlai <johannli666@gmail.com>
6
6
  License: MIT
File without changes
File without changes
File without changes