Skip to content

Retok v0.1.0

Choose a tag to compare

@willsmanley willsmanley released this 17 Sep 00:50
32c9cc6

Retok 0.1.0 is the first public release of a local, lossless tool-output compactor for coding agents.

It chooses among reversible JSON and text representations using exact o200k_base token counts, and retains the original whenever no candidate is smaller. This release includes the persistent JSONL protocol, explicit restoration, bounded decoders, invalid-UTF-8 passthrough, and no network calls or telemetry.

Install

Linux and macOS:

curl -fsSL https://raw.githubusercontent.com/ctxrs/retok/main/install.sh | sh

Windows PowerShell:

irm https://raw.githubusercontent.com/ctxrs/retok/main/install.ps1 | iex

The installers verify the binary and license notices against SHA256SUMS. They install into a user directory and do not edit PATH, shell profiles, or agent settings.

Assets

  • Linux x64 and arm64: static musl executables
  • macOS 13 or newer: x64 and arm64
  • Windows: x64
  • CycloneDX SBOM and complete third-party/runtime notices beside every executable
  • SHA256SUMS for the complete 15-file asset inventory

The macOS and Windows artifacts are not Developer ID/AuthentiCode signed, and the macOS artifacts are not notarized. Gatekeeper or SmartScreen may warn. Linux x64 and arm64 passed full functional artifact smoke tests. The macOS and Windows artifacts were cross-built and passed executable-structure, dependency, SBOM, and checksum validation; managed native smoke runners were unavailable because their shared disk-health admission gate remained closed.

Source: 32c9cc634c85e7b28e8c3e1e1f49739d548239c1