@nice-code/commander 0.107.0 → 0.109.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/build/cli.cjs +6 -2
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +6 -2
- package/build/cli.mjs.map +1 -1
- package/build/client/assets/index-DmSR4VsH.js +23 -0
- package/build/client/assets/{index-RGFhhnpd.js.map → index-DmSR4VsH.js.map} +1 -1
- package/build/client/index.html +1 -1
- package/build/config.cjs +10 -1
- package/build/config.cjs.map +1 -1
- package/build/config.d.cts +42 -19
- package/build/config.d.mts +42 -19
- package/build/config.mjs +10 -1
- package/build/config.mjs.map +1 -1
- package/build/{main-BHPsC_5Q.cjs → main-CVu9gjbx.cjs} +67 -4
- package/build/main-CVu9gjbx.cjs.map +1 -0
- package/build/{main-1B7viLr8.mjs → main-CWWlV2U5.mjs} +69 -6
- package/build/main-CWWlV2U5.mjs.map +1 -0
- package/build/types-B3WIUo4S.mjs.map +1 -1
- package/build/types-CIdWQGjF.cjs.map +1 -1
- package/package.json +6 -6
- package/build/client/assets/index-RGFhhnpd.js +0 -23
- package/build/main-1B7viLr8.mjs.map +0 -1
- package/build/main-BHPsC_5Q.cjs.map +0 -1
package/build/cli.cjs
CHANGED
|
@@ -782,6 +782,8 @@ function staleOverrides(config, overrides) {
|
|
|
782
782
|
}
|
|
783
783
|
return stale;
|
|
784
784
|
}
|
|
785
|
+
//#endregion
|
|
786
|
+
//#region src/config/validate.ts
|
|
785
787
|
const SUITE_PARALLEL_DEFAULT = 4;
|
|
786
788
|
const SUITE_STAGGER_DEFAULT_MS = 100;
|
|
787
789
|
/** C0/DEL/C1 control characters have no business in tag keys/values or env keys. */
|
|
@@ -24182,7 +24184,8 @@ function commanderStatePaths(dataDir, configKey) {
|
|
|
24182
24184
|
bootLogPath: (0, node_path.join)(stateDir, "daemon-boot.log"),
|
|
24183
24185
|
ingestSeqPath: (0, node_path.join)(stateDir, "ingest-seq"),
|
|
24184
24186
|
envOverridesPath: (0, node_path.join)(stateDir, "env-overrides.json"),
|
|
24185
|
-
savedFiltersPath: (0, node_path.join)(stateDir, "saved-filters.json")
|
|
24187
|
+
savedFiltersPath: (0, node_path.join)(stateDir, "saved-filters.json"),
|
|
24188
|
+
lastStartsPath: (0, node_path.join)(stateDir, "last-starts.json")
|
|
24186
24189
|
};
|
|
24187
24190
|
}
|
|
24188
24191
|
async function ensureStateDir(paths) {
|
|
@@ -24246,6 +24249,7 @@ const commanderStatusRealm = defineRealm({
|
|
|
24246
24249
|
state: t.string(),
|
|
24247
24250
|
pid: t.optional(t.number()),
|
|
24248
24251
|
startedAt: t.optional(t.number()),
|
|
24252
|
+
lastStartedAt: t.optional(t.number()),
|
|
24249
24253
|
sawOutputAt: t.optional(t.number()),
|
|
24250
24254
|
lastTask: t.optional(t.object({
|
|
24251
24255
|
outcome: t.string(),
|
|
@@ -27503,7 +27507,7 @@ async function withTimeout(ctx, run) {
|
|
|
27503
27507
|
async function main() {
|
|
27504
27508
|
const argv = process.argv.slice(2);
|
|
27505
27509
|
if (argv[0] === "daemon") {
|
|
27506
|
-
const { runCommanderDaemon } = await Promise.resolve().then(() => require("./main-
|
|
27510
|
+
const { runCommanderDaemon } = await Promise.resolve().then(() => require("./main-CVu9gjbx.cjs"));
|
|
27507
27511
|
return runCommanderDaemon(argv.slice(1));
|
|
27508
27512
|
}
|
|
27509
27513
|
const parsed = parseCliArgs(argv);
|