fix(tui): make startup update checks configurable

This commit is contained in:
Hunter B
2026-05-31 16:56:16 -07:00
parent 78d6cb48d3
commit a9a4213d39
6 changed files with 300 additions and 35 deletions
+10
View File
@@ -71,6 +71,16 @@ reasoning_effort = "max"
# Display estimated usage in USD or CNY. Aliases `yuan` and `rmb` normalize to `cny`.
cost_currency = "usd" # usd | cny
# ─────────────────────────────────────────────────────────────────────────────────
# Startup update check
# ─────────────────────────────────────────────────────────────────────────────────
# The TUI checks for newer CodeWhale releases in the background at startup.
# Set check_for_updates = false in managed or air-gapped environments.
# update_uri may point at a GitHub-compatible latest-release JSON endpoint.
[update]
check_for_updates = true
# update_uri = "https://internal.mirror.example/codewhale/releases/latest"
# ─────────────────────────────────────────────────────────────────────────────────
# Paths
# ─────────────────────────────────────────────────────────────────────────────────