Changelog
Release history for the trx CLI.
0.4.4 2026-07-10
Fix hardcoded version + brew lock follow-up
Fixed
- hardcoded version in
bin/trx.ts—--versionalways returned0.4.1even after0.4.3publish because version string was hardcoded. Now reads frompackage.jsondynamically viaimport pkg with { type: "json" }. Root cause ofbun add -g @crafter/trx@lateststill showing 0.4.1. - brew lock race (from 0.4.3, reforged) —
trx initsequential installs + lock retry verification. Included again for completeness.
Upgrade
# clear bun minimumReleaseAge cache if set
# ~/.bunfig.toml -> minimumReleaseAge = 0 (or remove)
bun pm cache rm
bun add -g @crafter/trx@latest --force
trx --version # -> 0.4.4
trx doctor --output json 0.4.3 2026-07-10
Fix brew lock contention in trx init
Fixed
- brew lock race —
trx initon macOS ranbrew installforffmpeg,yt-dlp,whisper-cppin parallel viaPromise.all, causinglockf: 200: already lockedand falseMissing dependencies: yt-dlp, ffmpegeven though bottles were installed. Sequential install now:whisper-cli->ffmpeg->yt-dlp. - Retry + verify —
installViaBrewnow verifieswhich <bin>after a lock failure, cleans*.incompletecache files, retries install, and treats existing binary as success. No more false negative when bottle installs but brew reports lock error. - Cleanup
.incompletemarkers — removes~/Library/Caches/Homebrew/downloads/*.incompletebefore retry to prevent stuck state.
Changed
spawnutility now supportstimeoutoption (for future 5m cap on brew installs) and explicit kill on timeout.
Upgrade
bun add -g @crafter/trx@latest
# if you hit the lock before:
brew cleanup --prune=all
rm -f ~/Library/Caches/Homebrew/downloads/*.incomplete
trx init
trx doctor --output json 0.4.2 2026-07-10
Fix skill docs, accents & full flag coverage
Fixed
- Broken Spanish accents in skill docs —
cmo/estnow correctlycómo/está/más/sí/él/qué/cuándo/número/también/informaciónin bothSKILL.mdandreferences/whisper-fixes.md - Missing opening marks docs —
¿/¡were rendered as empty strings (""), now correct UTF-8 - Install instructions — now includes both
bunandnpmoptions andtrx doctorstep fornpm install trx && trx initflow
Added
- Full flags table — documents
-w/--words,--output,--fields srt,metadata,files,--jsonpayload format, config location~/.trx/config.json,--output-dirwith real examples - Example JSON response — agents now see expected schema without needing
trx schema - Troubleshooting — OpenAI backend
OPENAI_API_KEYrequirement,npm vs bunengines note,yt-dlpupgrade path, GPU/no-GPU guidance, large file tips - Agent payload example —
trx transcribe --json '{"input":"...","language":"es"}' --output jsonpreferred pattern
0.4.0 2026-04-06
OpenAI API backend + large-v3-turbo
Added
- OpenAI API transcription backend —
trx transcribe -b openaiuses the OpenAI API instead of local Whisper. Supportsgpt-4o-transcribe,gpt-4o-mini-transcribe, andwhisper-1. large-v3-turbomodel — near-large accuracy at ~3x speed for local transcription.--backendflag ontrx transcribeandtrx initto choose betweenlocalandopenai.- Backend selection in
trx init— interactive prompt or--backend openaiflag. trx doctorshows backend status — API key detection, active model, backend type.- OS-specific open command — uses
openon macOS,xdg-openon Linux,starton Windows. - Quoted paths with spaces — file paths containing spaces are now quoted in the terminal output for ctrl+click support.
Fixed
- SRT timestamps for
gpt-4o-transcribemodels now use real audio duration viaffprobeinstead of placeholder values.
0.3.2 2026-04-03
Cross-platform support
Added
- Cross-platform
trx init— Linux support viaapt-get+ source compilation for whisper-cli, Windows support viawinget+ pre-built binaries. - Platform detection shown during init:
trx init (linux).
Fixed
- Config defaults merge —
readConfig()now merges saved config with defaults, preventing crashes whenwhisperFlagsis missing. - FFmpeg path collision — when input is a
.wavin the current directory, output no longer collides with input path.
0.3.0 2026-03-31
Word timestamps + language auto-detect
Added
- Word-level timestamps via
--wordsflag — generates SRT with per-word timing. - Auto-detect language by default —
-lflag now only forces a specific language override.
Fixed
- Vercel deploy issues resolved (bun.lock conflicts, peer dependency warnings).
0.2.0 2026-03-30
Progress bar + agent skill
Added
- Live progress bar during Whisper transcription with percentage indicator.
- Word count summary shown after transcription completes.
openhint — suggests command to open the output file.- Agent skill auto-install —
trx initoffers to install the Claude Code skill. - OG images generated via Sharp for social sharing.
- 21 e2e tests covering the full CLI surface.
- Monorepo structure with separate website package at
trx.crafter.run.
Fixed
- Spinner hang after transcription — properly guards callbacks and exits.
0.1.0 2026-03-30
Initial release
Added
trx transcribe— transcribe any URL or local file via local Whisper.trx init— one-command setup: installs whisper-cli, yt-dlp, ffmpeg, downloads model.trx doctor— health check for all dependencies and configuration.trx schema— runtime introspection for agent self-service.- Agent-first JSON output —
--output jsonfor piping to other tools. --dry-run— validate input and preview execution plan without running.--fields— select specific output fields to save tokens.- Input validation — rejects path traversals, control characters, URL-encoded paths.
- 99 language support via Whisper’s built-in language detection.
- 5 model sizes — tiny, base, small, medium, large.