Bumpsmith

v0.1.2
io.github.bumpsmith/bumpsmith Checked 9 hours ago Published 12 days ago

Upgrade npm and PyPI dependencies across breaking changes, verified with your tests in a sandbox.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_repositories List repositories

Repositories you can use with the other tools.

scan_dependencies Scan for upgrade debt

List the repository's direct dependencies that are one or more major versions behind, with the latest version and whether it has passed the release-age wait. No AI; only package names are looked up on the public registry.

ParameterTypeDescription
repositorystringPath to the repository (default: the folder Bumpsmith was started in).

check_release Check a release before adopting it

Is this version safe to adopt? Reports publish age, yanked and deprecated status, and whether OSV lists it as malicious, against Bumpsmith's release gate (3-day minimum age by default). No AI.

ParameterTypeDescription
ecosystem *string
package *stringPackage name, e.g. zod or @sentry/node
min_age_daysnumberMinimum release age in days (at least 3, as in the upgrade pipeline)
versionstringVersion to check (default: the latest)

api_diff Diff a package's public API

Compare the TypeScript type definitions of two versions of an npm package: removed, added and changed exports. No AI. Useful to see exactly what a major version changed.

ParameterTypeDescription
from *string
package *string
to *string

explain_upgrade Explain an upgrade

What breaks when this repository moves a direct dependency to a new version, and every place in the code that is affected. Reads the release notes, changelog and type definitions (uses the configured model; a few cents).

ParameterTypeDescription
package *string
version *stringTarget version, e.g. 4.1.0
repositorystringPath to the repository (default: the folder Bumpsmith was started in).

start_upgrade Upgrade a dependency and fix the code

Upgrade a dependency in an isolated sandbox, fix the code the upgrade breaks, verify with the repository's own checks before and after, and review the diff. Takes a few minutes and runs in the background: poll get_upgrade with the returned id. Nothing is written to the repository until apply_upgrade.

ParameterTypeDescription
package *string
version *string
budget_usdnumberSpend cap (default 8)
providerstringModel provider (default: the configured one), e.g. anthropic-api, claude-code, codex, openai
repositorystringPath to the repository (default: the folder Bumpsmith was started in).

get_upgrade Get an upgrade's status or result

Status of a running upgrade (id from start_upgrade) or the result of a finished one (run id from list_upgrades): state, confidence, cost, the evidence (what changed upstream, what changed here, checks before and after, the review). States: "ready" (verified in the sandbox and approved by the independent review; safe to apply), "safe" (version bump only, checks pass), "needs_human" (could not prove the change; read the evidence), "blocked_policy" (refused: malicious, too new, or a safety rule), "failed_infra" (the sandbox could not run the repository).

ParameterTypeDescription
id *string
include_patchbooleanAlso return the patch (unified diff)
repositorystringPath to the repository (default: the folder Bumpsmith was started in).

list_upgrades List upgrades

Recent upgrade runs in this repository, newest first, with their state.

ParameterTypeDescription
limitinteger
repositorystringPath to the repository (default: the folder Bumpsmith was started in).
statestring

apply_upgrade Apply a verified upgrade

Stage a finished upgrade's patch in the working tree (git apply --check, then git apply --index). Only "ready" and "safe" results apply; the user reviews with git diff --cached and commits.

ParameterTypeDescription
id *string
repositorystringPath to the repository (default: the folder Bumpsmith was started in).