Upgrade planner
upgrade_plannerGenerates a prioritized dependency upgrade plan for one project or package, showing per-line targets and the smallest version that fixes each vulnerability.
Instructions
Prioritized upgrade plan for one project (project_path): the 4DA app's work order when computed (per-line targets, manifest vs lockfile fix), else the smallest version that fixes each vulnerability. Call when the user asks what to upgrade.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | No | Plan for this one package only (exact name, any ecosystem). Default: every dependency. | |
| include_dev | No | Include devDependencies. Default: false | |
| project_path | No | Project directory to plan for: the app's plan is narrowed to the steps (and installed lines) that touch it; the standalone plan resolves that project's lockfiles. "*" for every project the app tracks. Default: the project the server was started in, when that directory is a project. | |
| risk_threshold | No | Only show upgrades at or above this risk level. Default: all | |
| max_recommendations | No | Max recommendations to return. Default: 20 |