Files
bonzi c44c38f096
Fork Android APK / release (push) Has been cancelled
feat(hermes): add native Hermes workspace
2026-09-19 01:39:31 +00:00

5.2 KiB

Updating T3 Code

Update the app

On desktop, open Settings → General and choose Check for Updates. When a release is available, the same button downloads it and then installs it after confirmation. Packaged desktop apps check automatically in the background; Linux automatic updates require the AppImage build. You can choose the stable or nightly update track in the same section.

On Android, open Settings → Software Update and choose Check for updates. Store builds use the app's signed update channel and restart only after pending drafts and messages are saved. Fork APK builds use the repository updater described below. Android also checks its signed app update channel automatically while the app is in use.

The app you use and the server running your agents can be on different machines. When a server is behind your web or desktop app, an update notice appears in the conversation and Settings → Connections. Update the machine named in that notice.

Before you update

Server updates restart the connection and can interrupt active agents and terminal commands. Saved threads, settings, and project files remain.

Settings → General → Continue threads after restarts is off by default. Enable it to resume supported active threads after an update, crash, or machine restart. Changes are saved to connected environments that support this setting; update older servers first. If a supported environment was offline or has a different value, use Apply to all in Settings after it connects. T3 Code must start again on that machine; the setting does not enable automatic startup. Terminal commands may still be interrupted, and threads without saved provider resume state need a new message. If you previously enabled continuation for updates, enable this setting once to allow recovery without a connected client.

Update a connected server

The offered action depends on how the server runs:

Action What to do
Update server Keep the client open while it installs and reconnects. Supported background services update remotely. For a desktop-hosted server, this also closes and relaunches the desktop app on the host.
Update the desktop app Update the desktop app on the machine running the server, then reopen it if needed.
Copy update command Stop the command-line server on its host and relaunch with the copied command, keeping your usual startup options.

For a background service, run the matching version's CLI on the host:

npx t3@<client-version> service update

Replace <client-version> with the version shown in the notice. Using @latest only resolves the mismatch if your client is on that release. An older service launcher may require this local update before it supports remote updates and rollback.

For a foreground server, the copied command is npx t3@<client-version>. Add serve if you normally run without a browser, and preserve options such as --host or --tailscale-serve. See background services for service management.

If an update fails

Keep the client open until it reconnects or reports a failure. A failed service update can roll back to the previous version. If the update still fails:

  1. Retry the offered action once.
  2. Check that you updated the server's machine, not only the device you are using.
  3. For a command-line server, stop it and relaunch the exact version shown in the notice.

Mobile updates

For fork Android APK installations, open Settings → Software Update → Check for updates. T3 Code checks its public repository, downloads the newest compatible APK into app-owned cache, and opens Android's package installer. Confirm the installation there. Android may first ask you to allow T3 Code to install unknown apps. Before Android opens, T3 Code verifies that the APK has this app's package name, the exact version selected from the repository, a newer version code, and the same signing certificate set as the installed app. Downloads larger than 500 MiB are rejected. A stalled check or download times out so you can retry. The unchanged signing key preserves your local data. These fork releases do not receive upstream background updates. Updating the APK does not update your server.

Install App Store or Google Play releases as usual. The mobile app can also download updates in the background and apply them when you next leave the app. It saves drafts and queued messages before restarting. If you keep the app open for a long time, it may ask to install immediately; choosing Later leaves the update queued for the next suitable moment.