@fern-api/generator-cli 0.9.23 → 0.9.25

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.
Files changed (4) hide show
  1. package/dist/api.d.ts +8 -0
  2. package/dist/api.js +341 -204
  3. package/dist/cli.js +2193 -2038
  4. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -582,6 +582,14 @@ interface ReplayRunResult {
582
582
  currentGenerationSha: string | null;
583
583
  /** SHA of main's HEAD before replay ran. Always on main's lineage, stable after squash merges. */
584
584
  baseBranchHead: string | null;
585
+ /** True when this run inlined `bootstrap()` to create the lockfile (auto-init from `fern generate`). */
586
+ autoBootstrapped: boolean;
587
+ /**
588
+ * True when the lockfile-missing branch was entered, regardless of bootstrap outcome.
589
+ * Distinct from `autoBootstrapped` (true only on success) — together they let telemetry
590
+ * distinguish "tried but no anchor / threw" from "lockfile already existed".
591
+ */
592
+ bootstrapAttempted: boolean;
585
593
  /**
586
594
  * Set when prepare or apply crashed (e.g. corrupted lockfile, git failure, library bug).
587
595
  * Distinguishes a real failure from "no replay initialized" (lockfile missing → null report, no failureReason).