axint.upgrade
Check for the latest Axint package and optionally upgrade while preserving the agent thread. Provides install commands and upgrade artifacts for resuming the MCP process without restart.
Instructions
Check the latest Axint package and optionally apply the upgrade while preserving the current agent thread. Returns exact install commands, optional Xcode MCP wiring refresh, .axint/upgrade/latest.* artifacts, and a same-thread resume prompt so an AI-agent or Xcode host can reload the MCP process without starting from scratch. Use: call when axint.status shows a stale server; not for app dependency upgrades. Effects: destructive when apply=true: can run package installs, refresh Xcode wiring, and write .axint/upgrade; may use npm network.
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 |