diff --git a/pyproject.toml b/pyproject.toml index 4029f5d..71cbc0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ "Topic :: Software Development", ] dependencies = [ - "commit-check>=2.7.0,<3", + "commit-check>=2.11.0,<3", "mcp>=1.27.0,<2" ] dynamic = ["version"] diff --git a/src/commit_check_mcp/server.py b/src/commit_check_mcp/server.py index a1ac882..139a63a 100644 --- a/src/commit_check_mcp/server.py +++ b/src/commit_check_mcp/server.py @@ -162,6 +162,7 @@ def _validate_message( "allow_empty_commits", "allow_fixup_commits", "allow_wip_commits", + "ai_attribution", ], ValidationContext(stdin_text=message, config=cfg), cfg, @@ -281,6 +282,7 @@ def _validate_all( "allow_empty_commits", "allow_fixup_commits", "allow_wip_commits", + "ai_attribution", ], ValidationContext(stdin_text=message, config=cfg), cfg,