@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 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-BHPsC_5Q.cjs"));
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);