numux 2.12.0 → 2.13.1
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 +4 -4
- package/dist/man/numux.1 +5 -5
- package/dist/numux.js +17 -14
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -220,13 +220,13 @@ export default defineConfig({
|
|
|
220
220
|
| `-e,` `--env-file` `<path|false>` | Env file path, or "false" to disable env file loading |
|
|
221
221
|
| `--config` `<path>` | Config file path (default: auto-detect) |
|
|
222
222
|
| `-p,` `--prefix` | Prefixed output mode (no TUI, for CI/scripts) |
|
|
223
|
-
| `--only` `<a,b,...>` | Only run these processes (+ their dependencies) |
|
|
224
|
-
| `--exclude` `<a,b,...>` | Exclude these processes |
|
|
223
|
+
| `-o,` `--only` `<a,b,...>` | Only run these processes (+ their dependencies) |
|
|
224
|
+
| `-x,` `--exclude` `<a,b,...>` | Exclude these processes |
|
|
225
225
|
| `--kill-others` | Kill all processes when any exits (regardless of exit code) |
|
|
226
226
|
| `--kill-others-on-fail` | Kill all processes when any exits with non-zero code |
|
|
227
227
|
| `--max-restarts` `<n>` | Max auto-restarts for crashed processes |
|
|
228
228
|
| `--no-watch` | Disable file watching even if config has watch patterns |
|
|
229
|
-
| `-t,` `--timestamps` `[<format>]` | Add timestamps to output (default HH:mm:ss, or pass a format string) |
|
|
229
|
+
| `-t,` `--timestamps` `[<format>]` | Add timestamps to output (default HH:mm:ss.SSS, or pass a format string) |
|
|
230
230
|
| `--log-dir` `<path>` | Write per-process logs to directory |
|
|
231
231
|
| `--debug` | Enable debug logging to .numux/debug.log |
|
|
232
232
|
| `-h,` `--help` | Show this help |
|
|
@@ -277,7 +277,7 @@ Top-level options apply to all processes (process-level settings override):
|
|
|
277
277
|
| `watch` | `string \| string[]` | Global watch patterns, inherited by processes without their own watch |
|
|
278
278
|
| `sort` | `'config' \| 'alphabetical' \| 'topological'` | Tab display order. `'config'` preserves definition order (package.json script order for wildcards), `'alphabetical'` sorts by process name, `'topological'` sorts by dependency tiers. |
|
|
279
279
|
| `prefix` | `boolean` | Use prefixed output mode instead of TUI (for CI/scripts) |
|
|
280
|
-
| `timestamps` | `boolean \| string` | Add timestamps to output lines. `true` uses default `HH:mm:ss` format, or pass a format string (e.g. `"HH:mm:ss
|
|
280
|
+
| `timestamps` | `boolean \| string` | Add timestamps to output lines. `true` uses default `HH:mm:ss.SSS` format, or pass a format string (e.g. `"HH:mm:ss"`) |
|
|
281
281
|
| `killOthers` | `boolean` | Kill all processes when any one exits (regardless of exit code) |
|
|
282
282
|
| `killOthersOnFail` | `boolean` | Kill all processes when any one exits with a non-zero exit code |
|
|
283
283
|
| `noWatch` | `boolean` | Disable file watching even if processes have watch patterns |
|
package/dist/man/numux.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH "NUMUX" "1" "April 2026" "2.
|
|
1
|
+
.TH "NUMUX" "1" "April 2026" "2.13.1" "numux manual"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBnumux\fR
|
|
4
4
|
.P
|
|
@@ -301,13 +301,13 @@ Prefixed output mode (no TUI, for CI/scripts)
|
|
|
301
301
|
T}
|
|
302
302
|
_
|
|
303
303
|
T{
|
|
304
|
-
\fB\-\-only\fP \fB<a,b,\.\.\.>\fP
|
|
304
|
+
\fB\-o,\fP \fB\-\-only\fP \fB<a,b,\.\.\.>\fP
|
|
305
305
|
T}|T{
|
|
306
306
|
Only run these processes (+ their dependencies)
|
|
307
307
|
T}
|
|
308
308
|
_
|
|
309
309
|
T{
|
|
310
|
-
\fB\-\-exclude\fP \fB<a,b,\.\.\.>\fP
|
|
310
|
+
\fB\-x,\fP \fB\-\-exclude\fP \fB<a,b,\.\.\.>\fP
|
|
311
311
|
T}|T{
|
|
312
312
|
Exclude these processes
|
|
313
313
|
T}
|
|
@@ -339,7 +339,7 @@ _
|
|
|
339
339
|
T{
|
|
340
340
|
\fB\-t,\fP \fB\-\-timestamps\fP \fB[<format>]\fP
|
|
341
341
|
T}|T{
|
|
342
|
-
Add timestamps to output (default HH:mm:ss, or pass a format string)
|
|
342
|
+
Add timestamps to output (default HH:mm:ss\.SSS, or pass a format string)
|
|
343
343
|
T}
|
|
344
344
|
_
|
|
345
345
|
T{
|
|
@@ -502,7 +502,7 @@ T{
|
|
|
502
502
|
T}|T{
|
|
503
503
|
\fBboolean | string\fP
|
|
504
504
|
T}|T{
|
|
505
|
-
Add timestamps to output lines\. \fBtrue\fP uses default \fBHH:mm:ss\fP format, or pass a format string (e\.g\. \fB"HH:mm:ss
|
|
505
|
+
Add timestamps to output lines\. \fBtrue\fP uses default \fBHH:mm:ss\.SSS\fP format, or pass a format string (e\.g\. \fB"HH:mm:ss"\fP)
|
|
506
506
|
T}
|
|
507
507
|
_
|
|
508
508
|
T{
|
package/dist/numux.js
CHANGED
|
@@ -238,13 +238,13 @@ export default defineConfig({
|
|
|
238
238
|
| \`-e,\` \`--env-file\` \`<path|false>\` | Env file path, or "false" to disable env file loading |
|
|
239
239
|
| \`--config\` \`<path>\` | Config file path (default: auto-detect) |
|
|
240
240
|
| \`-p,\` \`--prefix\` | Prefixed output mode (no TUI, for CI/scripts) |
|
|
241
|
-
| \`--only\` \`<a,b,...>\` | Only run these processes (+ their dependencies) |
|
|
242
|
-
| \`--exclude\` \`<a,b,...>\` | Exclude these processes |
|
|
241
|
+
| \`-o,\` \`--only\` \`<a,b,...>\` | Only run these processes (+ their dependencies) |
|
|
242
|
+
| \`-x,\` \`--exclude\` \`<a,b,...>\` | Exclude these processes |
|
|
243
243
|
| \`--kill-others\` | Kill all processes when any exits (regardless of exit code) |
|
|
244
244
|
| \`--kill-others-on-fail\` | Kill all processes when any exits with non-zero code |
|
|
245
245
|
| \`--max-restarts\` \`<n>\` | Max auto-restarts for crashed processes |
|
|
246
246
|
| \`--no-watch\` | Disable file watching even if config has watch patterns |
|
|
247
|
-
| \`-t,\` \`--timestamps\` \`[<format>]\` | Add timestamps to output (default HH:mm:ss, or pass a format string) |
|
|
247
|
+
| \`-t,\` \`--timestamps\` \`[<format>]\` | Add timestamps to output (default HH:mm:ss.SSS, or pass a format string) |
|
|
248
248
|
| \`--log-dir\` \`<path>\` | Write per-process logs to directory |
|
|
249
249
|
| \`--debug\` | Enable debug logging to .numux/debug.log |
|
|
250
250
|
| \`-h,\` \`--help\` | Show this help |
|
|
@@ -283,7 +283,7 @@ numux logs api | tail -f # Follow process log output
|
|
|
283
283
|
| \`watch\` | \`string \\| string[]\` | Global watch patterns, inherited by processes without their own watch |
|
|
284
284
|
| \`sort\` | \`'config' \\| 'alphabetical' \\| 'topological'\` | Tab display order. \`'config'\` preserves definition order (package.json script order for wildcards), \`'alphabetical'\` sorts by process name, \`'topological'\` sorts by dependency tiers. |
|
|
285
285
|
| \`prefix\` | \`boolean\` | Use prefixed output mode instead of TUI (for CI/scripts) |
|
|
286
|
-
| \`timestamps\` | \`boolean \\| string\` | Add timestamps to output lines. \`true\` uses default \`HH:mm:ss\` format, or pass a format string (e.g. \`"HH:mm:ss
|
|
286
|
+
| \`timestamps\` | \`boolean \\| string\` | Add timestamps to output lines. \`true\` uses default \`HH:mm:ss.SSS\` format, or pass a format string (e.g. \`"HH:mm:ss"\`) |
|
|
287
287
|
| \`killOthers\` | \`boolean\` | Kill all processes when any one exits (regardless of exit code) |
|
|
288
288
|
| \`killOthersOnFail\` | \`boolean\` | Kill all processes when any one exits with a non-zero exit code |
|
|
289
289
|
| \`noWatch\` | \`boolean\` | Disable file watching even if processes have watch patterns |
|
|
@@ -541,7 +541,7 @@ var init_help = __esm(() => {
|
|
|
541
541
|
var require_package = __commonJS((exports, module) => {
|
|
542
542
|
module.exports = {
|
|
543
543
|
name: "numux",
|
|
544
|
-
version: "2.
|
|
544
|
+
version: "2.13.1",
|
|
545
545
|
description: "Terminal multiplexer with dependency orchestration",
|
|
546
546
|
type: "module",
|
|
547
547
|
license: "MIT",
|
|
@@ -803,6 +803,7 @@ var FLAGS = [
|
|
|
803
803
|
{
|
|
804
804
|
type: "value",
|
|
805
805
|
long: "--only",
|
|
806
|
+
short: "-o",
|
|
806
807
|
key: "only",
|
|
807
808
|
description: "Only run these processes (+ their dependencies)",
|
|
808
809
|
valueName: "<a,b,...>",
|
|
@@ -812,6 +813,7 @@ var FLAGS = [
|
|
|
812
813
|
{
|
|
813
814
|
type: "value",
|
|
814
815
|
long: "--exclude",
|
|
816
|
+
short: "-x",
|
|
815
817
|
key: "exclude",
|
|
816
818
|
description: "Exclude these processes",
|
|
817
819
|
valueName: "<a,b,...>",
|
|
@@ -855,7 +857,7 @@ var FLAGS = [
|
|
|
855
857
|
long: "--timestamps",
|
|
856
858
|
short: "-t",
|
|
857
859
|
key: "timestamps",
|
|
858
|
-
description: "Add timestamps to output (default HH:mm:ss, or pass a format string)",
|
|
860
|
+
description: "Add timestamps to output (default HH:mm:ss.SSS, or pass a format string)",
|
|
859
861
|
valueName: "<format>",
|
|
860
862
|
completionHint: "none"
|
|
861
863
|
},
|
|
@@ -1061,7 +1063,10 @@ function parseArgs(argv) {
|
|
|
1061
1063
|
const value = flag.parse ? flag.parse(next, arg) : next;
|
|
1062
1064
|
const current = result[flag.key];
|
|
1063
1065
|
if (Array.isArray(current)) {
|
|
1064
|
-
|
|
1066
|
+
if (Array.isArray(value))
|
|
1067
|
+
current.push(...value);
|
|
1068
|
+
else
|
|
1069
|
+
current.push(value);
|
|
1065
1070
|
} else {
|
|
1066
1071
|
result[flag.key] = value;
|
|
1067
1072
|
}
|
|
@@ -3335,7 +3340,7 @@ Object.defineProperty(GhosttyTerminalRenderable.prototype, "lineInfo", {
|
|
|
3335
3340
|
});
|
|
3336
3341
|
|
|
3337
3342
|
// src/utils/timestamp.ts
|
|
3338
|
-
var DEFAULT_TIMESTAMP_FORMAT = "HH:mm:ss";
|
|
3343
|
+
var DEFAULT_TIMESTAMP_FORMAT = "HH:mm:ss.SSS";
|
|
3339
3344
|
function formatTimestamp(date, format) {
|
|
3340
3345
|
const hours24 = date.getHours();
|
|
3341
3346
|
const hours12 = hours24 % 12 || 12;
|
|
@@ -3596,18 +3601,16 @@ class Pane {
|
|
|
3596
3601
|
get timestampsEnabled() {
|
|
3597
3602
|
return this._timestampFormat !== null;
|
|
3598
3603
|
}
|
|
3604
|
+
getTimestampSigns() {
|
|
3605
|
+
return this.timestampGutter?.getLineSigns() ?? null;
|
|
3606
|
+
}
|
|
3599
3607
|
updateTimestampSigns() {
|
|
3600
3608
|
if (!(this.timestampGutter && this._timestampFormat))
|
|
3601
3609
|
return;
|
|
3602
3610
|
const fmt = this._timestampFormat;
|
|
3603
3611
|
const signs = new Map;
|
|
3604
|
-
let prevFormatted = "";
|
|
3605
3612
|
for (let i = 0;i < this.lineTimestamps.length; i++) {
|
|
3606
|
-
|
|
3607
|
-
if (formatted !== prevFormatted) {
|
|
3608
|
-
signs.set(i, { before: formatted });
|
|
3609
|
-
prevFormatted = formatted;
|
|
3610
|
-
}
|
|
3613
|
+
signs.set(i, { before: formatTimestamp(new Date(this.lineTimestamps[i]), fmt) });
|
|
3611
3614
|
}
|
|
3612
3615
|
this.timestampGutter.setLineSigns(signs);
|
|
3613
3616
|
}
|
package/dist/types.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ export interface NumuxConfig<K extends string = string> {
|
|
|
102
102
|
* @default false
|
|
103
103
|
*/
|
|
104
104
|
prefix?: boolean;
|
|
105
|
-
/** Add timestamps to output lines. `true` uses default `HH:mm:ss` format, or pass a format string (e.g. `"HH:mm:ss
|
|
105
|
+
/** Add timestamps to output lines. `true` uses default `HH:mm:ss.SSS` format, or pass a format string (e.g. `"HH:mm:ss"`) */
|
|
106
106
|
timestamps?: boolean | string;
|
|
107
107
|
/**
|
|
108
108
|
* Kill all processes when any one exits (regardless of exit code)
|