@nice-code/commander 0.108.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
@@ -24184,7 +24184,8 @@ function commanderStatePaths(dataDir, configKey) {
24184
24184
  bootLogPath: (0, node_path.join)(stateDir, "daemon-boot.log"),
24185
24185
  ingestSeqPath: (0, node_path.join)(stateDir, "ingest-seq"),
24186
24186
  envOverridesPath: (0, node_path.join)(stateDir, "env-overrides.json"),
24187
- 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")
24188
24189
  };
24189
24190
  }
24190
24191
  async function ensureStateDir(paths) {
@@ -24248,6 +24249,7 @@ const commanderStatusRealm = defineRealm({
24248
24249
  state: t.string(),
24249
24250
  pid: t.optional(t.number()),
24250
24251
  startedAt: t.optional(t.number()),
24252
+ lastStartedAt: t.optional(t.number()),
24251
24253
  sawOutputAt: t.optional(t.number()),
24252
24254
  lastTask: t.optional(t.object({
24253
24255
  outcome: t.string(),
@@ -27505,7 +27507,7 @@ async function withTimeout(ctx, run) {
27505
27507
  async function main() {
27506
27508
  const argv = process.argv.slice(2);
27507
27509
  if (argv[0] === "daemon") {
27508
- const { runCommanderDaemon } = await Promise.resolve().then(() => require("./main-BHPsC_5Q.cjs"));
27510
+ const { runCommanderDaemon } = await Promise.resolve().then(() => require("./main-CVu9gjbx.cjs"));
27509
27511
  return runCommanderDaemon(argv.slice(1));
27510
27512
  }
27511
27513
  const parsed = parseCliArgs(argv);