Skip to content

Make Tau updates prominent and add tau update#430

Merged
alejandro-ao merged 4 commits into
mainfrom
feat/prominent-update-message
Jul 22, 2026
Merged

Make Tau updates prominent and add tau update#430
alejandro-ao merged 4 commits into
mainfrom
feat/prominent-update-message

Conversation

@alejandro-ao

@alejandro-ao alejandro-ao commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • render available-version notices as the first TUI transcript item in bright yellow
  • add tau update, which detects and reuses the installer that owns Tau's active environment
  • make uv-tool updates install the explicit latest stable version so an old receipt pin cannot block upgrades
  • point startup guidance and installation docs to the new command

User experience

Outdated Tau installations are now difficult to miss, without interrupting startup. Users can upgrade directly with one memorable command. Tau respects the existing installation: uv tool, uv pip, pipx, and pip installs are updated with that same manager, while direct-source, Conda/Pixi, and unknown installs stop with safe instructions instead of trying unrelated tools.

Issue

No linked issue.

Manual validation

  1. Seed ~/.tau/cache/update-check.json with a fresh latest_version newer than the installed version.
  2. Run tau and confirm the bright-yellow update notice is the first transcript item, before release notes and session history.
  3. Run tau update from a normal uv, pipx, or pip installation and confirm Tau invokes that installation's manager.
  4. For a uv tool originally installed with an exact old version, confirm Tau runs uv tool install tau-ai@<latest-version> rather than preserving the old pin.
  5. Confirm an editable checkout reports its original source instead of modifying another installation.
  6. Run tau --version after updating.

Checks

  • uv run pytest
  • uv run ruff check .
  • uv run ruff format --check .
  • uv run mypy
  • uv build --out-dir /tmp/tau-feature-dist
  • hugo --minify --destination /tmp/tau-feature-site (from website/)

@alejandro-ao
alejandro-ao marked this pull request as ready for review July 22, 2026 09:06
@alejandro-ao
alejandro-ao merged commit 27c5c56 into main Jul 22, 2026
2 checks passed
@alejandro-ao
alejandro-ao deleted the feat/prominent-update-message branch July 22, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant