@runfile/cli 0.45.1 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -583,8 +583,13 @@ When commands run in parallel (`"parallel": true` on a target or `for` block), e
583
583
  line-buffered, prefixed with a colored bracketed label identifying the branch, and stripped of cursor-control
584
584
  escapes — so progress-bar redraws (`docker compose pull`, `cargo build`, etc.) become chronological append-only
585
585
  lines instead of corrupting each other's output. The label shows the full resolved `@target` invocation
586
- (`[@dev --port 5000]`) for target-call branches, or the raw command truncated to 12 characters (`[docker compo]`)
587
- for shell branches; each label gets one of six cycling colors so adjacent branches stay distinct.
586
+ (`[@dev --port 5000]`) for target-call branches; for shell branches it shows the first *meaningful* part of the
587
+ command, skipping setup like `cd`, `export` and `FOO=bar` assignments — so
588
+ `cd ../battle-tanks-api && run api` is labelled `[run api]`, not `[cd /Users/jo]`. Labels are also guaranteed
589
+ unique within a batch: two branches that would otherwise share a label are widened until they differ, then
590
+ distinguished by the directory they `cd` into (`[battle-tanks-api]` vs `[battle-tanks]`), and finally by an
591
+ ordinal suffix (`[npm run dev #1]`). They're padded to a common width so the brackets line up, and each gets one
592
+ of six cycling colors so adjacent branches stay distinct.
588
593
  SGR colors flow through unchanged. The prefix propagates through `@target` invocations too,
589
594
  so monorepo fan-outs like `{ "for": "ns", "in": "namespaces", "do": "@{{ VAR.ns }}:dev" }` tag every nested shell
590
595
  with its branch identity. Set `RUNFILE_NO_LINE_PREFIX=1` to opt out and inherit raw stdio.
Binary file
Binary file
Binary file
package/bin/linux-x64/run CHANGED
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -13,5 +13,5 @@
13
13
  "license": "MIT",
14
14
  "name": "@runfile/cli",
15
15
  "repository": "https://github.com/JoaaoVerona/runfile",
16
- "version": "0.45.1"
16
+ "version": "0.46.0"
17
17
  }