What problem does it solve?
Keeping the lingtai-tui terminal client current is error-prone: installs may come from Homebrew or a native installer, PATH shadowing can hide a fresh binary, and partial migrations can leave the system in a misleading state. This Skill governs the /update-tui and self-update flows so updates are verified, truthful, and never destructive.
Core Features & Use Cases
- Release comparison and install-method detection: Compares the running TUI against the latest GitHub release and detects whether the install is Homebrew, source/user-local, or unknown before acting.
- Homebrew-to-native migration: Runs the version-pinned install.sh script with --update and --non-interactive, verifies the receipt, binary version, and Python runtime, and honestly reports when PATH still resolves to the old Homebrew binary.
- Guarded cleanup and recovery: Homebrew removal happens only through an explicit interactive prompt, legacy runtimes are preserved via --skip-python recovery, and unknown or dev versions receive guidance instead of guesses.
- Use Case: A user on an Apple-Silicon Mac originally installed lingtai-tui via Homebrew. Running /update-tui migrates to the native installer, detects that /opt/homebrew/bin still shadows the new binary on PATH, and reports the truthful pending state until the native binary actually resolves.
Quick Start
Ask the agent to run /update-tui to check the current lingtai-tui version against the latest GitHub release and perform a verified update.