td_self_update
Check for a newer release of this server from GitHub and optionally download and install it to multiple paths including the plugin cache and repository working tree.
Instructions
Check for and optionally install a newer TDPilot release from GitHub.
Default behavior (check_only=True) hits the GitHub releases API and
returns {installed, latest, newer_available, release_url, asset_urls}.
Set check_only=False to actually download and install — this writes
to ~/.tdpilot/td_component/tdpilot.tox, the Claude Code plugin cache,
and the repo working-tree (when running from a clone). On success returns
md5 fingerprints for each install path so the caller can verify sync.
Releases v1.6.9 through v2.0.3 shipped without the tdpilot.tox asset;
against those, check_only=False returns
error_code="release_asset_missing" with remediation hints instead of
installing. Releases after v2.0.3 attach the asset automatically
(.github/workflows/release-assets.yml).
Network-only — does not touch TouchDesigner. Safe to run when TD is closed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check_only | No | If True (default), only check whether a newer release exists. If False, download + install the latest .plugin/.tox to all three install paths (~/.tdpilot, plugin cache, repo). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |