Published July 10, 2026
| Version v1.5.0
Software
Open
smartpipe: semantic pipes for your terminal
Authors/Creators
Description
[1.5.0] — 2026-07-10
Fixed
- The published 1.4.0 introduced itself as 1.4.0rc1.
__version__was never bumped past rc1, so--version,cite, and the update-check comparison all carried the rc tag - and the cite golden had pinned the stale value, so tests stayed green. All four version sites fixed; the release checklist now names every one of them. The README Python badge also caught up with reality (3.11-3.14 - the matrix has proven 3.14 for a while). - A
.envon disk no longer leaks into smartpipe's environment. The file-type sniffer inside the document parser (magika, via markitdown) callsload_dotenv()at import time - so parsing a document while sitting in a repo with a.envsilently injected credentials the user never exported. The import is now fenced: anything it adds or changes is reverted. Exporting a variable is consent; a file on disk is not.
Added
- The research kit: manifest, agree, stratified sampling, and a hard
privacy fence.
--manifest run.jsonon any model verb writes the citable methods-section artifact at run end - models, prompt and its sha256, compiled schema, counts, token receipt, timestamps, exit status - atomically, even on partial and interrupted runs.smartpipe agree gold.jsonl model.jsonl --on idscores inter-rater agreement (observed, Cohen's kappa, Krippendorff's alpha, confusion matrix) with zero model calls - the math reproduces the published worked examples to the printed digit.sample 50 --by labelallocates proportionally per stratum, integer-exact, still seeded and reproducible. And--local-onlyis the IRB sentence made enforceable: every cloud wire refused before any spend, remote OLLAMA_HOST included, and the run makes no network calls at all - not even the update ping. One cookbook page tells the whole story with real runs. - The OCR role works everywhere now. cluster, diff, distinct,
outliers, split, and join (both sides,
--rightincluded) honor a configured ocr-model with the same per-row disclosure, local fallback, and--max-callsbelt as the rest - and split gains the belt flags, since OCR is the one way it ever calls a model. Unset stays exactly as free as before, pinned per verb. Embedding runs over OCR-parsed documents batch again (a two-pass count replaced the per-item fallback), andusing/config showfinally list every role and posture - stt-model, ocr-model, media-embed-model, cache, batching, update-check, media-previews - each with its value and where it came from. The missing-key screens now offersmartpipe auth login PROVIDERalongside the export line. - Request batching: N small items, one model call. map, extend, and
filter now coalesce eligible items into packed requests - ten
one-line classifications cost one HTTP call instead of ten, and
--max-callscounts what actually flies. Each item keeps its own labeled slot in the reply, so a model that skips one names exactly which item re-runs solo; valid answers are never thrown away with the batch. Caching stays per item, media and oversized items never batch, and one stderr note tells you what happened:note: batched 500 items into 42 calls. On by default;smartpipe config batching off(orSMARTPIPE_BATCH=off) restores strict one-call-per-item behavior. - Field paths reach everywhere. The nested-path grammar (
a.b.c,items[0],a['weird key']) now also works in--fields,writetemplates (smartpipe write 'out/{user.plan}/{stem}.txt'),--explode,--tally, andjoin --on- the same exact-column-name-wins rule as everywhere else, and malformed paths fault at the flag, before anything is spent. En route,writetemplates with dotted vars or bare{}used to crash with a raw traceback; they're clean usage errors now. smartpipe demo- a practice corpus in one command. Downloads the 26 MB playground (invoices, reports, photos, recordings, sessions, JSONL) into./smartpipe-playground- sha256-verified before unpack, staged so an interrupted download leaves nothing, idempotent on re-runs, and it refuses to touch a directory it didn't create. Ends with three copy-pasteable free commands; every cookbook recipe runs against this corpus. Zero model calls, zero config.
Notes
Files
prabal-rje/smartpipe-v1.5.0.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/prabal-rje/smartpipe/tree/v1.5.0 (URL)
Software
- Repository URL
- https://github.com/prabal-rje/smartpipe