@nice-code/commander 0.94.0 → 0.96.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
@@ -27,16 +27,15 @@ export default defineCommanderConfig({
27
27
  { id: "web", run: ["bun", "run", "dev"], cwd: "./apps/web", dependsOn: ["api"] },
28
28
  { id: "types", kind: "task", run: ["bunx", "tsc", "--noEmit"], timeoutMs: 120_000 },
29
29
  ],
30
- groups: { dev: { include: ["web"] } },
31
- defaultSelection: ["dev"],
30
+ defaultSelection: "web",
32
31
  });
33
32
  ```
34
33
 
35
34
  ```bash
36
- bunx nice-commander up # `dev` → starts api first, waits for it to be READY, then web
35
+ bunx nice-commander up # `web` → starts api first, waits for it to be READY, then web
37
36
  bunx nice-commander status # live table
38
37
  bunx nice-commander ui # the browser view
39
- bunx nice-commander down dev
38
+ bunx nice-commander down web
40
39
  ```
41
40
 
42
41
  > ⚠ The binary is **`nice-commander`** — always the full name. `bunx commander` fetches a
@@ -44,11 +43,16 @@ bunx nice-commander down dev
44
43
  > it will just quietly not be this tool. If you want something shorter in a script, alias
45
44
  > `nice-commander`, never `commander`.
46
45
 
47
- Every acting command takes the same selector — ids, group names, or `tag=value` terms (AND across
48
- terms). `up --dry-run` and `explain` show exactly what would be touched, without touching it.
46
+ Every acting command takes the same selector — ids, suite names, `@pin` names, or `tag=value` terms
47
+ (AND across terms; `--any` ORs them). `up --dry-run` and `explain` show exactly what would be
48
+ touched, without touching it.
49
+
50
+ Tags organise processes; a **suite** is a declared run-unit (`suites: { verify: { where, include,
51
+ parallel, failFast } }`) for the things you mean to run as one. Mark a process `optIn: true` and no
52
+ tag selection, suite query or `--all` will ever start it.
49
53
 
50
54
  The GUI’s **shutdown daemon** button stops every task and service managed by that daemon,
51
- including processes hidden by filters or groups, then exits the daemon. Confirm the dialog to
55
+ including processes hidden by filters or suites, then exits the daemon. Confirm the dialog to
52
56
  proceed. Run `nice-commander ui` to start it again.
53
57
 
54
58
  ## What it does that a script does not
@@ -78,7 +82,7 @@ are needed.
78
82
 
79
83
  ## Reading process status
80
84
 
81
- The UI uses the same indicators in process rows and dependency/group views:
85
+ The UI uses the same indicators in process rows, dependency dots, tag groups and suite cards:
82
86
 
83
87
  - A gently pulsing solid green dot means running or ready.
84
88
  - A green circle with a check means the run completed successfully.
@@ -87,7 +91,7 @@ The UI uses the same indicators in process rows and dependency/group views:
87
91
  - A blue dashed ring means starting or stopping; a muted ring means idle or deliberately stopped.
88
92
 
89
93
  Task results remain visible after cleanup, and a new run takes precedence over its previous
90
- result. Group summaries distinguish pending, blocked and stopped tasks from running ones.
94
+ result. Tag group and suite summaries distinguish pending, blocked and stopped tasks from running ones.
91
95
  The process overview follows the current filters. Reduced-motion preferences disable animation.
92
96
 
93
97
  ## Finding and stopping port owners