Skip to content

ThinkWatch Core 0.89.1

Choose a tag to compare

@github-actions github-actions released this 04 Nov 03:35
· 12 commits to main since this release
c3a4a39

ChatGPT account quotas now load automatically at startup and when accounts are added, so Lite's overview and menu bar can display remaining quota without first opening the Upstreams page.

Quota updates prefer the headers returned by real traffic. Background queries only fill a cold cache, refresh quota that has not been updated for 15 minutes, or check a window after its reported reset time. Manual refresh remains immediate. Concurrent readers share in-flight queries, with at most four account queries running at once; failed queries back off and preserve the last known quota.

Disabled accounts and accounts that need to sign in again are excluded from automatic queries. No configuration changes are required. Updating an already open Lite overview also requires the accompanying Lite event-subscription fix.

Downloads

Platform Binary Archive for server installation
Linux, x86_64 twcore-x86_64-unknown-linux-gnu twcore-x86_64-unknown-linux-gnu.tar.gz
Linux, aarch64 twcore-aarch64-unknown-linux-gnu twcore-aarch64-unknown-linux-gnu.tar.gz
macOS, Apple silicon twcore-aarch64-apple-darwin —
Windows, x64 twcore-x86_64-pc-windows-msvc.exe —
Windows, ARM64 twcore-aarch64-pc-windows-msvc.exe —

Each file is published with a .sha256 file beside it. A Linux archive contains twcore, the systemd unit twcore.service and LICENSE. ThinkWatch Lite includes its own copy of twcore; the files here are for running core separately, such as on a server.

Server installation

On Linux (x86_64 or aarch64), the install script sets up twcore as a systemd service. This installs 0.89.1:

curl -fsSL https://raw.githubusercontent.com/ThinkWatchProject/ThinkWatch-Core/main/scripts/install.sh | sudo sh -s -- --version 0.89.1

An installation made with the script switches to 0.89.1 with:

sudo twcore upgrade --version 0.89.1 --restart

Configuration, the remote control port and connecting ThinkWatch Lite are described in docs/server.md.

Verifying a download

A .sha256 file holds the SHA-256 of the file followed by its name. With both files in the current directory, on Linux:

sha256sum -c twcore-x86_64-unknown-linux-gnu.tar.gz.sha256

On macOS:

shasum -a 256 -c twcore-aarch64-apple-darwin.sha256

On Windows, in PowerShell, the following prints True when the binary matches:

(Get-FileHash .\twcore-x86_64-pc-windows-msvc.exe).Hash -eq (Get-Content .\twcore-x86_64-pc-windows-msvc.exe.sha256).Split()[0]

The install script and twcore upgrade check the SHA-256 themselves.

What's Changed

  • fix(quota): load account quotas automatically and prepare 0.89.1 by @fylorn in #394

Full Changelog: v0.89.0...v0.89.1