@nice-code/commander 0.81.0 → 0.82.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
@@ -23108,6 +23108,11 @@ const commanderStatusRealm = defineRealm({
23108
23108
  endedAt: t.number(),
23109
23109
  durationMs: t.optional(t.number())
23110
23110
  })),
23111
+ recentRuns: t.array(t.object({
23112
+ startedAt: t.number(),
23113
+ endedAt: t.optional(t.number()),
23114
+ outcome: t.optional(t.union(t.literal("succeeded"), t.literal("failed"), t.literal("stopped"), t.literal("crashed"), t.literal("timedOut")))
23115
+ })),
23111
23116
  restarts: t.number(),
23112
23117
  lastExit: t.optional(t.object({
23113
23118
  code: t.optional(t.number()),
@@ -23131,6 +23136,7 @@ const commanderStatusRealm = defineRealm({
23131
23136
  cwd: t.string(),
23132
23137
  dependsOn: t.array(t.string()),
23133
23138
  ready: t.optional(t.string()),
23139
+ timeoutMs: t.optional(t.number()),
23134
23140
  endpoints: t.array(t.object({
23135
23141
  name: t.string(),
23136
23142
  protocol: t.string(),
@@ -25268,7 +25274,7 @@ async function withTimeout(ctx, run) {
25268
25274
  async function main() {
25269
25275
  const argv = process.argv.slice(2);
25270
25276
  if (argv[0] === "daemon") {
25271
- const { runCommanderDaemon } = await import("./main-DyR1LyM-.mjs");
25277
+ const { runCommanderDaemon } = await import("./main-D2bk4fuD.mjs");
25272
25278
  return runCommanderDaemon(argv.slice(1));
25273
25279
  }
25274
25280
  const parsed = parseCliArgs(argv);