axint.upgrade
Check the latest Axint package and optionally apply the upgrade while preserving the current agent thread. Use: call when axint.status shows a stale server; not for app dependency upgrades. Inputs: apply defaults false; targetVersion selects the install, while reinstallXcode and writeReport matter only when applying. Effects: destructive when apply=true: can run package installs, refresh Xcode wiring, and write .axint/upgrade; may use npm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory where .axint/upgrade/latest.* should be written. | |
| apply | No | Whether to install the target package. | |
| format | No | Output format. markdown is human-readable, json is structured, and prompt is. | |
| writeReport | No | Whether to write .axint/upgrade/latest.json and latest.md. | |
| latestVersion | No | Known latest version to compare against. | |
| targetVersion | No | Specific Axint version to install. Defaults to the latest published npm version. | |
| reinstallXcode | No | Whether apply mode should also refresh optional Xcode MCP wiring. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| isError | No |