Repository navigation
ThinkWatch Core 0.81.0
This release keeps a conversation that carries encrypted history on the upstream that encrypted it, so moving a route to another upstream no longer breaks a Codex conversation that is under way.
Upgrade notes
- The control-plane protocol version stays at 51, and the request store's schema is unchanged; nothing is cleared.
- No configuration key is added, renamed or removed.
Conversations with encrypted history stay on their upstream. OpenAI Responses hands clients encrypted state to send back each turn (encrypted_content: reasoning, compacted history, and the messages Codex sub-agents report to each other), and only the account that encrypted it can read it. Before, a conversation moved to another upstream, for example after its route was changed, failed every turn with invalid_encrypted_content.
- The gateway now remembers which upstream last answered each conversation, across configuration reloads, a cold cache and quiet upstreams. A conversation that carried encrypted content is remembered for 30 days; the record does not survive a restart of core.
- When more than reasoning is encrypted, the conversation goes back to that upstream only, whatever its rule now picks, with no failover. If that upstream was removed, the request is refused with
gw.route.sealed_upstream_gone. - When only reasoning is encrypted, that upstream is tried first and the others remain as fallbacks.
- The route decision records this as the new reason
sealed. - An upstream that refuses encrypted content it cannot read (with a 400, or with an error inside the stream) now fails the request with
gw.upstream.sealed_elsewhere, which names the upstream and explains that the history was encrypted by another one.
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.81.0:
curl -fsSL https://raw.githubusercontent.com/ThinkWatchProject/ThinkWatch-Core/main/scripts/install.sh | sudo sh -s -- --version 0.81.0An installation made with the script switches to 0.81.0 with:
sudo twcore upgrade --version 0.81.0 --restartConfiguration, 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.sha256On macOS:
shasum -a 256 -c twcore-aarch64-apple-darwin.sha256On 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
- Keep conversations with encrypted history on the upstream that encrypted it by @fylorn in #368
- 0.81.0 by @fylorn in #369
Full Changelog: v0.80.0...v0.81.0