Release diff
release_diff
GitReleaseDiffTool — read-only SemVer bump decision for a package subdir.
GitReleaseDiffTool
Bases: AXMTool
Summarise commits/diff since the last tag to decide a SemVer bump.
Strictly read-only: issues only log, diff, tag and
rev-parse — never creates or pushes a tag. Scopes every log
and diff to the resolved package subdir so monorepo attribution
is correct. Registered as git_release_diff via axm.tools.
Source code in packages/axm-git/src/axm_git/tools/release_diff.py
name
property
Tool name used for MCP registration.
execute(*, path='.', **kwargs)
Compute a read-only release diff for the package at path.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str
|
Package root (defaults to the current directory). |
'.'
|
Returns:
| Type | Description |
|---|---|
ToolResult
|
ToolResult with current tag, commit summary, diffstat and a |
ToolResult
|
suggested next version. |