Skip to content

Retok 0.3.0

Choose a tag to compare

@willsmanley willsmanley released this 17 Sep 15:07
· 41 commits to main since this release
c6a2823

Retok 0.3.0 adds automatic integration, safer RTK migration, and practical command workflows.

  • Install supported integrations with retok init --replace-rtk; custom or unsupported RTK hooks remain preserved with an explanation.
  • Use retok run --capture -- COMMAND for finite output that should remain eligible for compaction beyond the normal progress window.
  • Select output explicitly with read, json, summary, err, and test; default compaction remains reversible.
  • Filter local gain reports, inspect retained output, discover eligible historical commands without executing them, and import an existing usage export without fetching another package.
  • Faster tokenizer startup with identical ordinary o200k counts and selection behavior; the precomputed vocabulary makes binaries larger.

RTK remains faster on the small synthetic command fixtures. Token reduction, retained information, execution behavior, and elapsed time are reported separately in the benchmark charts.

Integrations have host-specific limits. Gemini/VS Code rewrites are withheld after approval-regression checks; Cursor/Droid retain RTK pending qualification. OpenClaw may ask again for a previously approved exact command. PowerShell automatic rewriting is unavailable; Windows completion hooks and explicit commands remain supported.

macOS binaries use Developer ID signing and accepted notarization; Windows uses timestamped Authenticode signing. Each binary ships with an SBOM, license notices and checksums. See INTEGRATIONS.md and COMPATIBILITY.md for supported routes and deliberate differences.

Qualification includes native Linux x64, Windows x64 and macOS x64 execution checks. Linux ARM64 core behavior was exercised under QEMU; macOS ARM64 received native signature verification on an x64 Mac, without ARM64 runtime execution. Host-integration checks have the version and scope limits documented in INTEGRATIONS.md.