@nice-code/commander 0.112.0 → 0.113.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 +11 -0
- package/build/cli.cjs +693 -162
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +691 -163
- package/build/cli.mjs.map +1 -1
- package/build/client/assets/index-CWg-PJ_l.js +23 -0
- package/build/client/assets/index-CWg-PJ_l.js.map +1 -0
- package/build/client/index.html +1 -1
- package/build/{main-DSPhWTfM.mjs → main-Bxa0Lop9.mjs} +117 -35
- package/build/main-Bxa0Lop9.mjs.map +1 -0
- package/build/{main-C3BG9bju.cjs → main-CcxTP9yh.cjs} +116 -34
- package/build/main-CcxTP9yh.cjs.map +1 -0
- package/package.json +6 -6
- package/build/client/assets/index-BK6klick.js +0 -23
- package/build/client/assets/index-BK6klick.js.map +0 -1
- package/build/main-C3BG9bju.cjs.map +0 -1
- package/build/main-DSPhWTfM.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -72,8 +72,19 @@ and starts one on the installed build. If a page ever can't connect, it offers *
|
|
|
72
72
|
- **Starts never kill an unknown port owner.** An occupied exclusive port blocks startup.
|
|
73
73
|
Inspect its owner and explicitly confirm a stop using `ports` or the UI; automatic orphan
|
|
74
74
|
reaping remains limited to verified ledger entries.
|
|
75
|
+
- **`down` and `restart` leave a shared dependency running.** `down web` stops `web` and the
|
|
76
|
+
dependencies only `web` was using. A dependency another live process still needs stays up, and
|
|
77
|
+
the command names it with what needs it. `down web --only` stops `web` and nothing else.
|
|
78
|
+
`restart web` restarts `web` alone.
|
|
75
79
|
- **A broken config keeps the last good one live.** Nothing restarts silently; changed processes
|
|
76
80
|
are marked stale until you restart them.
|
|
81
|
+
- **A changed definition reaches the next start.** Editing the config, or a module it imports,
|
|
82
|
+
reloads it in the daemon. A stale process keeps running the old definition until its next start,
|
|
83
|
+
so `restart <id>` (or `down` then `up`) applies the change. `up`, `restart` and `run` also make
|
|
84
|
+
the daemon reload first when the config on disk is newer than the one it holds.
|
|
85
|
+
- **`required` env vars are enforced.** A start refuses until each one has a value (an override,
|
|
86
|
+
a default, or the environment the process inherits), and names the variable and the
|
|
87
|
+
`env <id> --set NAME=…` command that sets it.
|
|
77
88
|
- **Merged logs that actually order.** The daemon stamps every line at receipt, so the timeline is
|
|
78
89
|
correct across processes and across daemon restarts — and search runs server-side over the
|
|
79
90
|
on-disk history, not over what your browser happens to be holding.
|