@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.mjs CHANGED
@@ -783,6 +783,8 @@ function staleOverrides(config, overrides) {
783
783
  }
784
784
  return stale;
785
785
  }
786
+ //#endregion
787
+ //#region src/config/validate.ts
786
788
  const SUITE_PARALLEL_DEFAULT = 4;
787
789
  const SUITE_STAGGER_DEFAULT_MS = 100;
788
790
  /** C0/DEL/C1 control characters have no business in tag keys/values or env keys. */
@@ -24183,7 +24185,8 @@ function commanderStatePaths(dataDir, configKey) {
24183
24185
  bootLogPath: join(stateDir, "daemon-boot.log"),
24184
24186
  ingestSeqPath: join(stateDir, "ingest-seq"),
24185
24187
  envOverridesPath: join(stateDir, "env-overrides.json"),
24186
- savedFiltersPath: join(stateDir, "saved-filters.json")
24188
+ savedFiltersPath: join(stateDir, "saved-filters.json"),
24189
+ lastStartsPath: join(stateDir, "last-starts.json")
24187
24190
  };
24188
24191
  }
24189
24192
  async function ensureStateDir(paths) {
@@ -24247,6 +24250,7 @@ const commanderStatusRealm = defineRealm({
24247
24250
  state: t.string(),
24248
24251
  pid: t.optional(t.number()),
24249
24252
  startedAt: t.optional(t.number()),
24253
+ lastStartedAt: t.optional(t.number()),
24250
24254
  sawOutputAt: t.optional(t.number()),
24251
24255
  lastTask: t.optional(t.object({
24252
24256
  outcome: t.string(),
@@ -27504,7 +27508,7 @@ async function withTimeout(ctx, run) {
27504
27508
  async function main() {
27505
27509
  const argv = process.argv.slice(2);
27506
27510
  if (argv[0] === "daemon") {
27507
- const { runCommanderDaemon } = await import("./main-1B7viLr8.mjs");
27511
+ const { runCommanderDaemon } = await import("./main-CWWlV2U5.mjs");
27508
27512
  return runCommanderDaemon(argv.slice(1));
27509
27513
  }
27510
27514
  const parsed = parseCliArgs(argv);