# feat\(server\): update provider CLIs in the background when nothing is running · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/25b6b08e4b4c9b126551f336df879f27c27625b4)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 25b6b08e4b4c9b126551f336df879f27c27625b4

Requested commit: 25b6b08e4b4c9b126551f336df879f27c27625b4

Commit: 25b6b08e4b4c9b126551f336df879f27c27625b4

Tree: 0d0d7c835fb5e30141072be574dcd4f50963a02c

Author: maria-rcks

Committer: maria-rcks

## Message

```
feat(server): update provider CLIs in the background when nothing is running

Adds an update window that stays closed while threads run or wait for input,
for 15 minutes after any client interaction, and while a scheduled task or
usage-limit resume is due within 10 minutes. A new Update automatically
setting (on by default) installs provider CLI updates inside that window.

The provider maintenance runner is now one server-lifetime instance, so RPC
and background updates share the per-installer lock. It was previously built
per WebSocket connection, so two clients' updates never queued.

```

## Parents

- [9d6b5ea2b6b14d398f6fcb95685463e102d354e3](https://git.cafe/pingdotgg/t3code/commit/9d6b5ea2b6b14d398f6fcb95685463e102d354e3?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/25b6b08e4b4c9b126551f336df879f27c27625b4?format=markdown)
