Repository navigation
ThinkWatch Core 0.77.0
This release stops the tool-call check from deciding on arguments that are still arriving, and records hits that are only logged with the whole call.
Upgrade notes
- The control-plane protocol version is still 49. ThinkWatch Lite releases with protocol 49 work with 0.77.0.
- The request store's schema and the configuration are unchanged; nothing is cleared.
- For crates that embed
tw_guard:Wall::cut_earlyandWall::finishare new. Passcut_early(false)when the stream cannot be cut (observe mode), and callfinish()when a stream ends normally, so Chat calls without afinish_reasonor[DONE]are checked.Rule::find_inandRule::find_all_inare new;Rule::findandRule::find_allbehave as before.
Tool calls in streamed answers. The streaming check looked at the arguments as far as they had arrived. A destination cut off in the middle of its host looked like an external host, and a hit that was only recorded was written at that moment, with the rest of the call missing.
- A hit on arguments that are still arriving counts only once it is settled. A host cut off at
http://127(before.0.0.1) is no longer taken for an external one, and a$or\bat the end of what has arrived no longer fires. A credential at the very end is not counted until it is complete. - While a call streams, only rules that cut are checked, so a cut still happens as early as possible. Every rule runs again on the complete call: Anthropic
content_block_stop, Responsesoutput_item.done, Chatfinish_reason,[DONE]or the end of the stream. A hit that is only recorded, and every hit in observe mode, is recorded with the whole call. - The end of a stream (bytes held back to restore placeholders, and the closing frames of a converted stream) now goes through the check too.
-Tcounts as uploading a file only inside a curl command.docker compose exec -Tandssh -T, which turn off the terminal, no longer look like uploads.
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.77.0:
curl -fsSL https://raw.githubusercontent.com/ThinkWatchProject/ThinkWatch-Core/main/scripts/install.sh | sudo sh -s -- --version 0.77.0An installation made with the script switches to 0.77.0 with:
sudo twcore upgrade --version 0.77.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
- Tool calls: no verdicts on half-received input; record whole calls by @fylorn in #353
- v0.77.0 by @fylorn in #355
Full Changelog: v0.76.0...v0.77.0