Repository navigation
v0.4.0 — streaming file transfers
Coordinated release: @labelgrid/core 0.2.0 · @labelgrid/mcp 0.4.0 · @labelgrid/cli 0.2.0
Highlights
- Streaming uploads and downloads. File transfers no longer buffer whole files in memory: presigned uploads stream from disk (with an explicit Content-Length), and downloads stream to disk. Memory use stays flat regardless of file size, and oversized files get an honest FILE_TOO_LARGE error.
- Safe downloads. Downloads write to a temp sibling and move into place atomically — a failed transfer never leaves a partial file, and CLI
--forceno longer touches the existing file until the new one has fully arrived. - Fixed: large multipart uploads timing out. Cover-art and license uploads were incorrectly bound to the 60-second request timeout; they now use the transfer timeout.
- Configurable timeouts.
LABELGRID_TIMEOUT_MSandLABELGRID_TRANSFER_TIMEOUT_MSenv vars (both server and CLI), plus CLI--timeout/--transfer-timeoutflags. - Download directory allow-list (MCP).
download_statementnow only writes insideLABELGRID_DOWNLOAD_DIR(default: ~/Downloads, else the working directory). Set the env var to change it — see the README. - CLI transfer progress on interactive terminals; silent in scripts and under
--json.
See each package's CHANGELOG for details. The MCP bump to 0.4.0 signals the new download-directory default; no tool names or parameters changed.