Open History to see the last commit
1# Keeping T3 Code in Sync
2
3The T3 Code web or desktop app and the server it connects to work best when they use the same
4version. If they do not match, T3 Code shows a warning with the right update option for that server.
5
6## Where to Find the Update
7
8You may see the warning in either of these places:
9
10- above the message box in the current conversation
11- **Settings** → **Connections**, beside the affected connection
12
13Dismissing the conversation warning only hides that reminder for those two versions. It does not
14update the server, and the version difference remains visible in Connections.
15
16## Before You Update
17
18Let active agent work and terminal commands finish first. Updating restarts the server, so the
19connection will disappear briefly and work that is still running may be interrupted.
20
21The update does not remove saved threads, settings, or project files.
22
23## Choose the Action You See
24
25| Action | What to do |
26| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27| **Update server** | Select the button and leave T3 Code open. It prepares the matching version, restarts the server, and reconnects automatically. This can take several minutes. |
28| **Update the desktop app** | Open the T3 Code desktop app on the machine that runs the server and install the app update there. Reopen it if needed. |
29| **Copy update command** | Copy the command, open a terminal on the server machine, stop the current T3 Code server, and relaunch it with the copied command and any startup options you normally use. |
30
31The available action depends on how that server was started. T3 Code does not update connected
32servers silently in the background.
33
34If the server uses the T3 Code background service, you can also update it directly on the host:
35
36```sh
37npx t3@latest service update
38```
39
40See [Running T3 Code in the Background](./background-service.md) for install, status, and removal
41commands.
42
43## After the Update
44
45Keep the web or desktop app open while the server restarts. When it reconnects with the matching
46version, the warning and update action disappear.
47
48If the client reports a timeout, the server may still be finishing the update. Wait a minute, then
49reconnect or open **Settings** → **Connections** again. If the warning remains:
50
511. Retry the offered action once.
522. Make sure you updated the machine named in the warning, not only the device you are using.
533. For a command-line server, relaunch it with `npx t3@<client-version>`, replacing
54 `<client-version>` with the client version shown in the warning.
55
56For remote connection setup and access troubleshooting, see [Remote Access](./remote-access.md).