numux 2.13.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 +2 -2
- package/dist/man/numux.1 +3 -3
- package/dist/numux.js +9 -11
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -226,7 +226,7 @@ export default defineConfig({
|
|
|
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.13.
|
|
1
|
+
.TH "NUMUX" "1" "April 2026" "2.13.1" "numux manual"
|
|
2
2
|
.SH "NAME"
|
|
3
3
|
\fBnumux\fR
|
|
4
4
|
.P
|
|
@@ -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
|
@@ -244,7 +244,7 @@ export default defineConfig({
|
|
|
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.13.
|
|
544
|
+
version: "2.13.1",
|
|
545
545
|
description: "Terminal multiplexer with dependency orchestration",
|
|
546
546
|
type: "module",
|
|
547
547
|
license: "MIT",
|
|
@@ -857,7 +857,7 @@ var FLAGS = [
|
|
|
857
857
|
long: "--timestamps",
|
|
858
858
|
short: "-t",
|
|
859
859
|
key: "timestamps",
|
|
860
|
-
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)",
|
|
861
861
|
valueName: "<format>",
|
|
862
862
|
completionHint: "none"
|
|
863
863
|
},
|
|
@@ -3340,7 +3340,7 @@ Object.defineProperty(GhosttyTerminalRenderable.prototype, "lineInfo", {
|
|
|
3340
3340
|
});
|
|
3341
3341
|
|
|
3342
3342
|
// src/utils/timestamp.ts
|
|
3343
|
-
var DEFAULT_TIMESTAMP_FORMAT = "HH:mm:ss";
|
|
3343
|
+
var DEFAULT_TIMESTAMP_FORMAT = "HH:mm:ss.SSS";
|
|
3344
3344
|
function formatTimestamp(date, format) {
|
|
3345
3345
|
const hours24 = date.getHours();
|
|
3346
3346
|
const hours12 = hours24 % 12 || 12;
|
|
@@ -3601,18 +3601,16 @@ class Pane {
|
|
|
3601
3601
|
get timestampsEnabled() {
|
|
3602
3602
|
return this._timestampFormat !== null;
|
|
3603
3603
|
}
|
|
3604
|
+
getTimestampSigns() {
|
|
3605
|
+
return this.timestampGutter?.getLineSigns() ?? null;
|
|
3606
|
+
}
|
|
3604
3607
|
updateTimestampSigns() {
|
|
3605
3608
|
if (!(this.timestampGutter && this._timestampFormat))
|
|
3606
3609
|
return;
|
|
3607
3610
|
const fmt = this._timestampFormat;
|
|
3608
3611
|
const signs = new Map;
|
|
3609
|
-
let prevFormatted = "";
|
|
3610
3612
|
for (let i = 0;i < this.lineTimestamps.length; i++) {
|
|
3611
|
-
|
|
3612
|
-
if (formatted !== prevFormatted) {
|
|
3613
|
-
signs.set(i, { before: formatted });
|
|
3614
|
-
prevFormatted = formatted;
|
|
3615
|
-
}
|
|
3613
|
+
signs.set(i, { before: formatTimestamp(new Date(this.lineTimestamps[i]), fmt) });
|
|
3616
3614
|
}
|
|
3617
3615
|
this.timestampGutter.setLineSigns(signs);
|
|
3618
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)
|