Retok v0.2.0
Retok 0.2.0 adds command execution and agent setup.
- Run arbitrary executables with
retok COMMAND ...; arguments, stdin, output streams and exit status are preserved. Interactive and ongoing output passes through. - Install native output adapters for Claude Code, Copilot CLI, Pi / Oh My Pi, OpenCode and current Kilo. Other supported hosts receive instructions; see the integration matrix.
- Switch recognized stock RTK setups with
retok init --replace-rtk, with backups and custom settings preserved. - Inspect measured local savings with
gain, optionally retain originals forrecall, and replay saved output withdiscover.
Install and switch on Linux/macOS:
curl -fsSL https://raw.githubusercontent.com/ctxrs/retok/main/install.sh | sh -s -- --replace-rtkWindows PowerShell:
& ([scriptblock]::Create((irm https://raw.githubusercontent.com/ctxrs/retok/main/install.ps1))) -ReplaceRtkThe synthetic benchmark reports tokens, retained information and timing together. Retok was slower on these small workloads; this release makes no speed or model-billing claim. RTK workflow differences are documented.
Five binaries are supplied below: static Linux x64/ARM64, notarized Developer ID macOS x64/ARM64, and timestamped Authenticode Windows x64. Each binary has a CycloneDX SBOM and third-party notices; SHA256SUMS covers all fifteen assets.