Releases: orchetron/secondwind
Releases · orchetron/secondwind
Release list
v0.2.2
Per-section resolve. An offloaded block stays behind one <<swload:...>> marker with a covering table, but resolve now takes an optional selector so the agent fetches just one slice instead of pulling the whole block: a `/`-path of `field=value`, `[n]`, or field-name segments, or `L<a>-<b>` for a line range (e.g. `number=13932/body`). A string field returns verbatim; resolving the marker with no selector still returns the exact original bytes.
v0.2.1
Prompt-cache-safe rewriting. A default-on cache guard decides each tool-output block's wire form on first sight and freezes it, never rewriting a block a provider has already cached, so the request prefix stays byte-stable and prompt caching holds. A fresh block offloads only when its preview covers the content; otherwise it stays verbatim, so a just-arrived result is never forced through a resolve. Relevance split runs only with the guard off. New SW_CACHE_GUARD and SW_HOLD_TURNS host controls, plus a prompt-cache benchmark and a live-provider probe.
v0.2.0
Readable lossless inline codecs for records, objects, listings, trees, and lockfiles: structure is stripped while every value stays readable at face value, with no unreadable re-encoding and no decoder in the loop. Unified inline-vs-offload routing on one expected-token-cost model, gated on whether the offload preview covers a block's content: record arrays evict to the store, objects and text ship inline. New OffloadMode host control (Off, Auto, Always), also settable via the SW_OFFLOAD_MODE proxy env var and enforced on every offload path. Refreshed BENCHMARKS.md with measured numbers, plus new inline_bench, latency, and accuracy bench harnesses.
v0.1.3
secondwind 0.1.3 ~30% faster tool-output compression (trusted built-in codecs skip the redundant idempotence re-encode; losslessness unchanged: CLMH + inverse witness still run every block). Adds BENCHMARKS.md with reproducible latency, throughput, and ratio numbers.
v0.1.2
secondwind 0.1.2 Post-launch fixes and dashboard polish: idempotent redaction (redact->scoreboard now composes), trace-format help, npm package.json export, README install from live packages, install.sh hint fix, proof/watch branding. No compression codec changed.
v0.1.1
secondwind 0.1.1 Red-team remediation: duplicate-key JSON kept verbatim, offload/verbatim wires verify, resolve integrity-checks the blob, Bedrock structured tool-results stay verbatim, linear richness scoring, tokens-only ledger de-duped by cert, real verified ratio, self-proof rejects an unrecoverable stub, ASGI forwards untouched bytes when nothing compresses. No codec changed.