@fern-api/fern-api-dev 5.22.1 → 5.23.0-1-gebd00e05a4f

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 (2) hide show
  1. package/cli.cjs +962 -565
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -25304,6 +25304,102 @@ var init_helpers = __esm({
25304
25304
  }
25305
25305
  });
25306
25306
 
25307
+ // ../logger/lib/LogLevel.js
25308
+ var LogLevel, LOG_LEVELS;
25309
+ var init_LogLevel = __esm({
25310
+ "../logger/lib/LogLevel.js"() {
25311
+ "use strict";
25312
+ LogLevel = {
25313
+ Trace: "trace",
25314
+ Debug: "debug",
25315
+ Info: "info",
25316
+ Warn: "warn",
25317
+ Error: "error"
25318
+ };
25319
+ LOG_LEVELS = Object.values(LogLevel);
25320
+ }
25321
+ });
25322
+
25323
+ // ../logger/lib/createLogger.js
25324
+ function createLogger(log4) {
25325
+ return new LoggerImpl(log4);
25326
+ }
25327
+ var LoggerImpl;
25328
+ var init_createLogger = __esm({
25329
+ "../logger/lib/createLogger.js"() {
25330
+ "use strict";
25331
+ init_LogLevel();
25332
+ LoggerImpl = class {
25333
+ log;
25334
+ enabled;
25335
+ constructor(log4, enabled = true) {
25336
+ this.log = log4;
25337
+ this.enabled = enabled;
25338
+ }
25339
+ disable() {
25340
+ this.enabled = false;
25341
+ }
25342
+ enable() {
25343
+ this.enabled = true;
25344
+ }
25345
+ debug(...args) {
25346
+ if (this.enabled) {
25347
+ this.log(LogLevel.Debug, ...args);
25348
+ }
25349
+ }
25350
+ info(...args) {
25351
+ if (this.enabled) {
25352
+ this.log(LogLevel.Info, ...args);
25353
+ }
25354
+ }
25355
+ warn(...args) {
25356
+ if (this.enabled) {
25357
+ this.log(LogLevel.Warn, ...args);
25358
+ }
25359
+ }
25360
+ error(...args) {
25361
+ if (this.enabled) {
25362
+ this.log(LogLevel.Error, ...args);
25363
+ }
25364
+ }
25365
+ trace(...args) {
25366
+ if (this.enabled) {
25367
+ this.log(LogLevel.Trace, ...args);
25368
+ }
25369
+ }
25370
+ };
25371
+ }
25372
+ });
25373
+
25374
+ // ../logger/lib/console.js
25375
+ function log3(level, ...args) {
25376
+ const consoleLogger = getConsoleLoggerForLevel(level);
25377
+ consoleLogger(...args);
25378
+ }
25379
+ function getConsoleLoggerForLevel(level) {
25380
+ switch (level) {
25381
+ case LogLevel.Trace:
25382
+ return console.trace;
25383
+ case LogLevel.Debug:
25384
+ return console.debug;
25385
+ case LogLevel.Info:
25386
+ return console.info;
25387
+ case LogLevel.Warn:
25388
+ return console.warn;
25389
+ case LogLevel.Error:
25390
+ return console.error;
25391
+ }
25392
+ }
25393
+ var CONSOLE_LOGGER;
25394
+ var init_console = __esm({
25395
+ "../logger/lib/console.js"() {
25396
+ "use strict";
25397
+ init_createLogger();
25398
+ init_LogLevel();
25399
+ CONSOLE_LOGGER = Object.freeze(createLogger(log3));
25400
+ }
25401
+ });
25402
+
25307
25403
  // ../../../node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
25308
25404
  function ansiRegex({ onlyFirst = false } = {}) {
25309
25405
  const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
@@ -44242,6 +44338,36 @@ var init_lib4 = __esm({
44242
44338
  }
44243
44339
  });
44244
44340
 
44341
+ // ../logger/lib/noop.js
44342
+ var NOOP_LOGGER4;
44343
+ var init_noop3 = __esm({
44344
+ "../logger/lib/noop.js"() {
44345
+ "use strict";
44346
+ init_lib4();
44347
+ init_createLogger();
44348
+ NOOP_LOGGER4 = createLogger(noop2);
44349
+ }
44350
+ });
44351
+
44352
+ // ../logger/lib/index.js
44353
+ var lib_exports2 = {};
44354
+ __export(lib_exports2, {
44355
+ CONSOLE_LOGGER: () => CONSOLE_LOGGER,
44356
+ LOG_LEVELS: () => LOG_LEVELS,
44357
+ LogLevel: () => LogLevel,
44358
+ NOOP_LOGGER: () => NOOP_LOGGER4,
44359
+ createLogger: () => createLogger
44360
+ });
44361
+ var init_lib5 = __esm({
44362
+ "../logger/lib/index.js"() {
44363
+ "use strict";
44364
+ init_console();
44365
+ init_createLogger();
44366
+ init_LogLevel();
44367
+ init_noop3();
44368
+ }
44369
+ });
44370
+
44245
44371
  // ../../commons/path-utils/lib/convertToOsPath.js
44246
44372
  function convertToOsPath(path107) {
44247
44373
  return path107.replace(/\\/g, "/");
@@ -44389,7 +44515,7 @@ var init_relative = __esm({
44389
44515
  });
44390
44516
 
44391
44517
  // ../../commons/path-utils/lib/index.js
44392
- var init_lib5 = __esm({
44518
+ var init_lib6 = __esm({
44393
44519
  "../../commons/path-utils/lib/index.js"() {
44394
44520
  "use strict";
44395
44521
  init_AbsoluteFilePath();
@@ -44420,7 +44546,7 @@ function convertToFernHostPath(path107) {
44420
44546
  var init_osPathConverter = __esm({
44421
44547
  "../../commons/fs-utils/lib/osPathConverter.js"() {
44422
44548
  "use strict";
44423
- init_lib5();
44549
+ init_lib6();
44424
44550
  }
44425
44551
  });
44426
44552
 
@@ -44446,7 +44572,7 @@ var init_AbsoluteFilePath2 = __esm({
44446
44572
  var init_basename2 = __esm({
44447
44573
  "../../commons/fs-utils/lib/basename.js"() {
44448
44574
  "use strict";
44449
- init_lib5();
44575
+ init_lib6();
44450
44576
  }
44451
44577
  });
44452
44578
 
@@ -52742,8 +52868,8 @@ var init_waitUntilPathExists = __esm({
52742
52868
  });
52743
52869
 
52744
52870
  // ../../commons/fs-utils/lib/index.js
52745
- var lib_exports2 = {};
52746
- __export(lib_exports2, {
52871
+ var lib_exports3 = {};
52872
+ __export(lib_exports3, {
52747
52873
  AbsoluteFilePath: () => AbsoluteFilePath2,
52748
52874
  RelativeFilePath: () => RelativeFilePath2,
52749
52875
  basename: () => basename3,
@@ -52775,7 +52901,7 @@ __export(lib_exports2, {
52775
52901
  stringifyLargeObject: () => stringifyLargeObject,
52776
52902
  waitUntilPathExists: () => waitUntilPathExists
52777
52903
  });
52778
- var init_lib6 = __esm({
52904
+ var init_lib7 = __esm({
52779
52905
  "../../commons/fs-utils/lib/index.js"() {
52780
52906
  "use strict";
52781
52907
  init_AbsoluteFilePath2();
@@ -66667,8 +66793,8 @@ var init_getOrUpdateBranch = __esm({
66667
66793
  });
66668
66794
 
66669
66795
  // ../../commons/github/lib/index.js
66670
- var lib_exports3 = {};
66671
- __export(lib_exports3, {
66796
+ var lib_exports4 = {};
66797
+ __export(lib_exports4, {
66672
66798
  ClonedRepository: () => ClonedRepository,
66673
66799
  cloneRepository: () => cloneRepository,
66674
66800
  createOrUpdatePullRequest: () => createOrUpdatePullRequest,
@@ -66679,7 +66805,7 @@ __export(lib_exports3, {
66679
66805
  getOrUpdateBranch: () => getOrUpdateBranch,
66680
66806
  parseRepository: () => parseRepository
66681
66807
  });
66682
- var init_lib7 = __esm({
66808
+ var init_lib8 = __esm({
66683
66809
  "../../commons/github/lib/index.js"() {
66684
66810
  "use strict";
66685
66811
  init_ClonedRepository();
@@ -189127,8 +189253,8 @@ var require_whatwg_url = __commonJS({
189127
189253
  });
189128
189254
 
189129
189255
  // ../../../node_modules/.pnpm/node-fetch@2.7.0/node_modules/node-fetch/lib/index.mjs
189130
- var lib_exports4 = {};
189131
- __export(lib_exports4, {
189256
+ var lib_exports5 = {};
189257
+ __export(lib_exports5, {
189132
189258
  AbortError: () => AbortError2,
189133
189259
  FetchError: () => FetchError,
189134
189260
  Headers: () => Headers2,
@@ -189727,7 +189853,7 @@ function destroyStream(stream5, err) {
189727
189853
  }
189728
189854
  }
189729
189855
  var import_stream2, import_http4, import_url5, import_whatwg_url, import_https, import_zlib, Readable3, BUFFER2, TYPE, Blob3, convert2, INTERNALS, PassThrough, invalidTokenRegex, invalidHeaderCharRegex, MAP2, Headers2, INTERNAL2, HeadersIteratorPrototype, INTERNALS$1, STATUS_CODES, Response6, INTERNALS$2, URL2, parse_url, format_url, streamDestructionSupported, Request6, URL$1, PassThrough$1, isDomainOrSubdomain, isSameProtocol, lib_default2;
189730
- var init_lib8 = __esm({
189856
+ var init_lib9 = __esm({
189731
189857
  "../../../node_modules/.pnpm/node-fetch@2.7.0/node_modules/node-fetch/lib/index.mjs"() {
189732
189858
  "use strict";
189733
189859
  import_stream2 = __toESM(require("stream"), 1);
@@ -190430,12 +190556,12 @@ var require_getFetchFn = __commonJS({
190430
190556
  return fetch;
190431
190557
  }
190432
190558
  if (runtime_1.RUNTIME.type === "node") {
190433
- return (yield Promise.resolve().then(() => __importStar2((init_lib8(), __toCommonJS(lib_exports4))))).default;
190559
+ return (yield Promise.resolve().then(() => __importStar2((init_lib9(), __toCommonJS(lib_exports5))))).default;
190434
190560
  }
190435
190561
  if (typeof fetch == "function") {
190436
190562
  return fetch;
190437
190563
  }
190438
- return (yield Promise.resolve().then(() => __importStar2((init_lib8(), __toCommonJS(lib_exports4))))).default;
190564
+ return (yield Promise.resolve().then(() => __importStar2((init_lib9(), __toCommonJS(lib_exports5))))).default;
190439
190565
  });
190440
190566
  }
190441
190567
  exports2.getFetchFn = getFetchFn3;
@@ -215415,8 +215541,8 @@ var require_lib7 = __commonJS({
215415
215541
  });
215416
215542
 
215417
215543
  // ../../../node_modules/.pnpm/node-fetch-h2@2.3.0/node_modules/node-fetch-h2/lib/index.mjs
215418
- var lib_exports6 = {};
215419
- __export(lib_exports6, {
215544
+ var lib_exports7 = {};
215545
+ __export(lib_exports7, {
215420
215546
  FetchError: () => FetchError2,
215421
215547
  Headers: () => Headers5,
215422
215548
  Request: () => Request7,
@@ -215912,7 +216038,7 @@ function fetch5(url3, opts) {
215912
216038
  });
215913
216039
  }
215914
216040
  var import_stream7, import_http7, import_url7, import_http2_client, import_zlib4, BUFFER3, TYPE2, Blob4, convert3, INTERNALS2, PassThrough2, invalidTokenRegex2, invalidHeaderCharRegex2, MAP3, Headers5, INTERNAL3, HeadersIteratorPrototype2, INTERNALS$12, STATUS_CODES2, Response15, INTERNALS$22, parse_url2, format_url2, streamDestructionSupported2, Request7, PassThrough$12, resolve_url, lib_default3;
215915
- var init_lib9 = __esm({
216041
+ var init_lib10 = __esm({
215916
216042
  "../../../node_modules/.pnpm/node-fetch-h2@2.3.0/node_modules/node-fetch-h2/lib/index.mjs"() {
215917
216043
  "use strict";
215918
216044
  import_stream7 = __toESM(require("stream"), 1);
@@ -224407,7 +224533,7 @@ var require_oas_resolver = __commonJS({
224407
224533
  var fs28 = require("fs");
224408
224534
  var path107 = require("path");
224409
224535
  var url3 = require("url");
224410
- var fetch6 = (init_lib9(), __toCommonJS(lib_exports6));
224536
+ var fetch6 = (init_lib10(), __toCommonJS(lib_exports7));
224411
224537
  var yaml3 = require_dist9();
224412
224538
  var jptr = require_jptr().jptr;
224413
224539
  var recurse = require_recurse().recurse;
@@ -225049,7 +225175,7 @@ var require_swagger2openapi = __commonJS({
225049
225175
  var url3 = require("url");
225050
225176
  var pathlib = require("path");
225051
225177
  var maybe = require_maybe();
225052
- var fetch6 = (init_lib9(), __toCommonJS(lib_exports6));
225178
+ var fetch6 = (init_lib10(), __toCommonJS(lib_exports7));
225053
225179
  var yaml3 = require_dist9();
225054
225180
  var jptr = require_jptr();
225055
225181
  var resolveInternal = jptr.jptr;
@@ -226963,7 +227089,7 @@ var require_cross_spawn = __commonJS({
226963
227089
  enoent.hookChildProcess(spawned, parsed);
226964
227090
  return spawned;
226965
227091
  }
226966
- function spawnSync7(command3, args, options2) {
227092
+ function spawnSync8(command3, args, options2) {
226967
227093
  const parsed = parse19(command3, args, options2);
226968
227094
  const result = cp11.spawnSync(parsed.command, parsed.args, parsed.options);
226969
227095
  result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
@@ -226971,7 +227097,7 @@ var require_cross_spawn = __commonJS({
226971
227097
  }
226972
227098
  module4.exports = spawn7;
226973
227099
  module4.exports.spawn = spawn7;
226974
- module4.exports.sync = spawnSync7;
227100
+ module4.exports.sync = spawnSync8;
226975
227101
  module4.exports._parse = parse19;
226976
227102
  module4.exports._enoent = enoent;
226977
227103
  }
@@ -228260,13 +228386,13 @@ var init_createLoggingExecutable = __esm({
228260
228386
  });
228261
228387
 
228262
228388
  // ../../commons/logging-execa/lib/index.js
228263
- var lib_exports7 = {};
228264
- __export(lib_exports7, {
228389
+ var lib_exports8 = {};
228390
+ __export(lib_exports8, {
228265
228391
  createLoggingExecutable: () => createLoggingExecutable,
228266
228392
  loggingExeca: () => loggingExeca,
228267
228393
  runExeca: () => runExeca
228268
228394
  });
228269
- var init_lib10 = __esm({
228395
+ var init_lib11 = __esm({
228270
228396
  "../../commons/logging-execa/lib/index.js"() {
228271
228397
  "use strict";
228272
228398
  init_createLoggingExecutable();
@@ -238796,11 +238922,11 @@ var init_GraphQLConverter = __esm({
238796
238922
  });
238797
238923
 
238798
238924
  // ../api-importers/graphql/lib/index.js
238799
- var lib_exports8 = {};
238800
- __export(lib_exports8, {
238925
+ var lib_exports9 = {};
238926
+ __export(lib_exports9, {
238801
238927
  GraphQLConverter: () => GraphQLConverter
238802
238928
  });
238803
- var init_lib11 = __esm({
238929
+ var init_lib12 = __esm({
238804
238930
  "../api-importers/graphql/lib/index.js"() {
238805
238931
  "use strict";
238806
238932
  init_GraphQLConverter();
@@ -271125,7 +271251,7 @@ function getMarkdownFormat(absoluteFilepath) {
271125
271251
  var init_getMarkdownFormat = __esm({
271126
271252
  "../docs-markdown-utils/lib/getMarkdownFormat.js"() {
271127
271253
  "use strict";
271128
- init_lib6();
271254
+ init_lib7();
271129
271255
  }
271130
271256
  });
271131
271257
 
@@ -271209,7 +271335,7 @@ function looksLikeANode(value2) {
271209
271335
  return value2 !== null && typeof value2 === "object" && "type" in value2;
271210
271336
  }
271211
271337
  var convert4;
271212
- var init_lib12 = __esm({
271338
+ var init_lib13 = __esm({
271213
271339
  "../../../node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.js"() {
271214
271340
  "use strict";
271215
271341
  convert4 = // Note: overloads in JSDoc can’t yet use different `@template`s.
@@ -271255,7 +271381,7 @@ var init_lib12 = __esm({
271255
271381
  var init_unist_util_is = __esm({
271256
271382
  "../../../node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/index.js"() {
271257
271383
  "use strict";
271258
- init_lib12();
271384
+ init_lib13();
271259
271385
  }
271260
271386
  });
271261
271387
 
@@ -271342,7 +271468,7 @@ function toResult(value2) {
271342
271468
  return value2 === null || value2 === void 0 ? empty : [value2];
271343
271469
  }
271344
271470
  var empty, CONTINUE, EXIT, SKIP2;
271345
- var init_lib13 = __esm({
271471
+ var init_lib14 = __esm({
271346
271472
  "../../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.js"() {
271347
271473
  "use strict";
271348
271474
  init_unist_util_is();
@@ -271358,7 +271484,7 @@ var init_lib13 = __esm({
271358
271484
  var init_unist_util_visit_parents = __esm({
271359
271485
  "../../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/index.js"() {
271360
271486
  "use strict";
271361
- init_lib13();
271487
+ init_lib14();
271362
271488
  }
271363
271489
  });
271364
271490
 
@@ -271383,7 +271509,7 @@ function visit3(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
271383
271509
  return visitor(node4, index3, parent);
271384
271510
  }
271385
271511
  }
271386
- var init_lib14 = __esm({
271512
+ var init_lib15 = __esm({
271387
271513
  "../../../node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/lib/index.js"() {
271388
271514
  "use strict";
271389
271515
  init_unist_util_visit_parents();
@@ -271395,7 +271521,7 @@ var init_lib14 = __esm({
271395
271521
  var init_unist_util_visit = __esm({
271396
271522
  "../../../node_modules/.pnpm/unist-util-visit@5.1.0/node_modules/unist-util-visit/index.js"() {
271397
271523
  "use strict";
271398
- init_lib14();
271524
+ init_lib15();
271399
271525
  }
271400
271526
  });
271401
271527
 
@@ -271435,7 +271561,7 @@ function node3(value2) {
271435
271561
  return Boolean(value2 && typeof value2 === "object");
271436
271562
  }
271437
271563
  var emptyOptions;
271438
- var init_lib15 = __esm({
271564
+ var init_lib16 = __esm({
271439
271565
  "../../../node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js"() {
271440
271566
  "use strict";
271441
271567
  emptyOptions = {};
@@ -271446,7 +271572,7 @@ var init_lib15 = __esm({
271446
271572
  var init_mdast_util_to_string = __esm({
271447
271573
  "../../../node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/index.js"() {
271448
271574
  "use strict";
271449
- init_lib15();
271575
+ init_lib16();
271450
271576
  }
271451
271577
  });
271452
271578
 
@@ -278088,7 +278214,7 @@ function position(pos) {
278088
278214
  function index2(value2) {
278089
278215
  return value2 && typeof value2 === "number" ? value2 : 1;
278090
278216
  }
278091
- var init_lib16 = __esm({
278217
+ var init_lib17 = __esm({
278092
278218
  "../../../node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js"() {
278093
278219
  "use strict";
278094
278220
  }
@@ -278098,7 +278224,7 @@ var init_lib16 = __esm({
278098
278224
  var init_unist_util_stringify_position = __esm({
278099
278225
  "../../../node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/index.js"() {
278100
278226
  "use strict";
278101
- init_lib16();
278227
+ init_lib17();
278102
278228
  }
278103
278229
  });
278104
278230
 
@@ -278810,7 +278936,7 @@ function defaultOnError(left3, right3) {
278810
278936
  }
278811
278937
  }
278812
278938
  var own3;
278813
- var init_lib17 = __esm({
278939
+ var init_lib18 = __esm({
278814
278940
  "../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.js"() {
278815
278941
  "use strict";
278816
278942
  init_mdast_util_to_string();
@@ -278828,7 +278954,7 @@ var init_lib17 = __esm({
278828
278954
  var init_mdast_util_from_markdown = __esm({
278829
278955
  "../../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/index.js"() {
278830
278956
  "use strict";
278831
- init_lib17();
278957
+ init_lib18();
278832
278958
  }
278833
278959
  });
278834
278960
 
@@ -278980,7 +279106,7 @@ function toFunction(replace2) {
278980
279106
  return replace2;
278981
279107
  };
278982
279108
  }
278983
- var init_lib18 = __esm({
279109
+ var init_lib19 = __esm({
278984
279110
  "../../../node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js"() {
278985
279111
  "use strict";
278986
279112
  init_escape_string_regexp();
@@ -278993,7 +279119,7 @@ var init_lib18 = __esm({
278993
279119
  var init_mdast_util_find_and_replace = __esm({
278994
279120
  "../../../node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/index.js"() {
278995
279121
  "use strict";
278996
- init_lib18();
279122
+ init_lib19();
278997
279123
  }
278998
279124
  });
278999
279125
 
@@ -279145,7 +279271,7 @@ function previous2(match3, email3) {
279145
279271
  (!email3 || code5 !== 47);
279146
279272
  }
279147
279273
  var inConstruct, notInConstruct;
279148
- var init_lib19 = __esm({
279274
+ var init_lib20 = __esm({
279149
279275
  "../../../node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js"() {
279150
279276
  "use strict";
279151
279277
  init_ccount();
@@ -279161,7 +279287,7 @@ var init_lib19 = __esm({
279161
279287
  var init_mdast_util_gfm_autolink_literal = __esm({
279162
279288
  "../../../node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/index.js"() {
279163
279289
  "use strict";
279164
- init_lib19();
279290
+ init_lib20();
279165
279291
  }
279166
279292
  });
279167
279293
 
@@ -279276,7 +279402,7 @@ function mapExceptFirst(line, index3, blank) {
279276
279402
  function mapAll(line, index3, blank) {
279277
279403
  return (blank ? "" : " ") + line;
279278
279404
  }
279279
- var init_lib20 = __esm({
279405
+ var init_lib21 = __esm({
279280
279406
  "../../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js"() {
279281
279407
  "use strict";
279282
279408
  init_default();
@@ -279289,7 +279415,7 @@ var init_lib20 = __esm({
279289
279415
  var init_mdast_util_gfm_footnote = __esm({
279290
279416
  "../../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/index.js"() {
279291
279417
  "use strict";
279292
- init_lib20();
279418
+ init_lib21();
279293
279419
  }
279294
279420
  });
279295
279421
 
@@ -279336,7 +279462,7 @@ function peekDelete() {
279336
279462
  return "~";
279337
279463
  }
279338
279464
  var constructsWithoutStrikethrough;
279339
- var init_lib21 = __esm({
279465
+ var init_lib22 = __esm({
279340
279466
  "../../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js"() {
279341
279467
  "use strict";
279342
279468
  constructsWithoutStrikethrough = [
@@ -279355,7 +279481,7 @@ var init_lib21 = __esm({
279355
279481
  var init_mdast_util_gfm_strikethrough = __esm({
279356
279482
  "../../../node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/index.js"() {
279357
279483
  "use strict";
279358
- init_lib21();
279484
+ init_lib22();
279359
279485
  }
279360
279486
  });
279361
279487
 
@@ -280541,7 +280667,7 @@ var init_paragraph = __esm({
280541
280667
 
280542
280668
  // ../../../node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js
280543
280669
  var phrasing;
280544
- var init_lib22 = __esm({
280670
+ var init_lib23 = __esm({
280545
280671
  "../../../node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js"() {
280546
280672
  "use strict";
280547
280673
  init_unist_util_is();
@@ -280576,7 +280702,7 @@ var init_lib22 = __esm({
280576
280702
  var init_mdast_util_phrasing = __esm({
280577
280703
  "../../../node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/index.js"() {
280578
280704
  "use strict";
280579
- init_lib22();
280705
+ init_lib23();
280580
280706
  }
280581
280707
  });
280582
280708
 
@@ -281279,7 +281405,7 @@ function containerFlowBound(parent, info) {
281279
281405
  function safeBound(value2, config5) {
281280
281406
  return safe(this, value2, config5);
281281
281407
  }
281282
- var init_lib23 = __esm({
281408
+ var init_lib24 = __esm({
281283
281409
  "../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.js"() {
281284
281410
  "use strict";
281285
281411
  init_zwitch();
@@ -281301,7 +281427,7 @@ var init_lib23 = __esm({
281301
281427
  var init_mdast_util_to_markdown = __esm({
281302
281428
  "../../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/index.js"() {
281303
281429
  "use strict";
281304
- init_lib23();
281430
+ init_lib24();
281305
281431
  init_handle();
281306
281432
  }
281307
281433
  });
@@ -281458,7 +281584,7 @@ function gfmTableToMarkdown(options2) {
281458
281584
  return value2;
281459
281585
  }
281460
281586
  }
281461
- var init_lib24 = __esm({
281587
+ var init_lib25 = __esm({
281462
281588
  "../../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js"() {
281463
281589
  "use strict";
281464
281590
  init_default();
@@ -281471,7 +281597,7 @@ var init_lib24 = __esm({
281471
281597
  var init_mdast_util_gfm_table = __esm({
281472
281598
  "../../../node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/index.js"() {
281473
281599
  "use strict";
281474
- init_lib24();
281600
+ init_lib25();
281475
281601
  }
281476
281602
  });
281477
281603
 
@@ -281547,7 +281673,7 @@ function listItemWithTaskListItem(node4, parent, state, info) {
281547
281673
  return $0 + checkbox;
281548
281674
  }
281549
281675
  }
281550
- var init_lib25 = __esm({
281676
+ var init_lib26 = __esm({
281551
281677
  "../../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js"() {
281552
281678
  "use strict";
281553
281679
  init_default();
@@ -281559,7 +281685,7 @@ var init_lib25 = __esm({
281559
281685
  var init_mdast_util_gfm_task_list_item = __esm({
281560
281686
  "../../../node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/index.js"() {
281561
281687
  "use strict";
281562
- init_lib25();
281688
+ init_lib26();
281563
281689
  }
281564
281690
  });
281565
281691
 
@@ -281584,7 +281710,7 @@ function gfmToMarkdown(options2) {
281584
281710
  ]
281585
281711
  };
281586
281712
  }
281587
- var init_lib26 = __esm({
281713
+ var init_lib27 = __esm({
281588
281714
  "../../../node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js"() {
281589
281715
  "use strict";
281590
281716
  init_mdast_util_gfm_autolink_literal();
@@ -281599,7 +281725,7 @@ var init_lib26 = __esm({
281599
281725
  var init_mdast_util_gfm = __esm({
281600
281726
  "../../../node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/index.js"() {
281601
281727
  "use strict";
281602
- init_lib26();
281728
+ init_lib27();
281603
281729
  }
281604
281730
  });
281605
281731
 
@@ -281781,7 +281907,7 @@ function mathToMarkdown(options2) {
281781
281907
  return "$";
281782
281908
  }
281783
281909
  }
281784
- var init_lib27 = __esm({
281910
+ var init_lib28 = __esm({
281785
281911
  "../../../node_modules/.pnpm/mdast-util-math@3.0.0/node_modules/mdast-util-math/lib/index.js"() {
281786
281912
  "use strict";
281787
281913
  init_default();
@@ -281793,7 +281919,7 @@ var init_lib27 = __esm({
281793
281919
  var init_mdast_util_math = __esm({
281794
281920
  "../../../node_modules/.pnpm/mdast-util-math@3.0.0/node_modules/mdast-util-math/index.js"() {
281795
281921
  "use strict";
281796
- init_lib27();
281922
+ init_lib28();
281797
281923
  }
281798
281924
  });
281799
281925
 
@@ -281854,7 +281980,7 @@ function handleMdxExpression(node4, parent, state) {
281854
281980
  });
281855
281981
  return "{" + result + "}";
281856
281982
  }
281857
- var init_lib28 = __esm({
281983
+ var init_lib29 = __esm({
281858
281984
  "../../../node_modules/.pnpm/mdast-util-mdx-expression@2.0.1/node_modules/mdast-util-mdx-expression/lib/index.js"() {
281859
281985
  "use strict";
281860
281986
  init_default();
@@ -281865,7 +281991,7 @@ var init_lib28 = __esm({
281865
281991
  var init_mdast_util_mdx_expression = __esm({
281866
281992
  "../../../node_modules/.pnpm/mdast-util-mdx-expression@2.0.1/node_modules/mdast-util-mdx-expression/index.js"() {
281867
281993
  "use strict";
281868
- init_lib28();
281994
+ init_lib29();
281869
281995
  }
281870
281996
  });
281871
281997
 
@@ -282289,7 +282415,7 @@ function disallowed(code5) {
282289
282415
  return code5 >= 1 && code5 <= 8 || code5 === 11 || code5 >= 13 && code5 <= 31 || code5 >= 127 && code5 <= 159 || code5 >= 64976 && code5 <= 65007 || (code5 & 65535) === 65535 || (code5 & 65535) === 65534;
282290
282416
  }
282291
282417
  var messages;
282292
- var init_lib29 = __esm({
282418
+ var init_lib30 = __esm({
282293
282419
  "../../../node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/lib/index.js"() {
282294
282420
  "use strict";
282295
282421
  init_character_entities_legacy();
@@ -282322,7 +282448,7 @@ var init_lib29 = __esm({
282322
282448
  var init_parse_entities = __esm({
282323
282449
  "../../../node_modules/.pnpm/parse-entities@4.0.2/node_modules/parse-entities/index.js"() {
282324
282450
  "use strict";
282325
- init_lib29();
282451
+ init_lib30();
282326
282452
  }
282327
282453
  });
282328
282454
 
@@ -282394,7 +282520,7 @@ var init_format_basic = __esm({
282394
282520
  function stringifyEntitiesLight(value2, options2) {
282395
282521
  return core2(value2, Object.assign({ format: formatBasic }, options2));
282396
282522
  }
282397
- var init_lib30 = __esm({
282523
+ var init_lib31 = __esm({
282398
282524
  "../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js"() {
282399
282525
  "use strict";
282400
282526
  init_core();
@@ -282406,13 +282532,13 @@ var init_lib30 = __esm({
282406
282532
  var init_stringify_entities = __esm({
282407
282533
  "../../../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/index.js"() {
282408
282534
  "use strict";
282409
- init_lib30();
282535
+ init_lib31();
282410
282536
  }
282411
282537
  });
282412
282538
 
282413
282539
  // ../../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js
282414
282540
  var VFileMessage;
282415
- var init_lib31 = __esm({
282541
+ var init_lib32 = __esm({
282416
282542
  "../../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js"() {
282417
282543
  "use strict";
282418
282544
  init_unist_util_stringify_position();
@@ -282557,7 +282683,7 @@ var init_lib31 = __esm({
282557
282683
  var init_vfile_message = __esm({
282558
282684
  "../../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/index.js"() {
282559
282685
  "use strict";
282560
- init_lib31();
282686
+ init_lib32();
282561
282687
  }
282562
282688
  });
282563
282689
 
@@ -283006,7 +283132,7 @@ function peekElement() {
283006
283132
  return "<";
283007
283133
  }
283008
283134
  var indent2;
283009
- var init_lib32 = __esm({
283135
+ var init_lib33 = __esm({
283010
283136
  "../../../node_modules/.pnpm/mdast-util-mdx-jsx@3.2.0/node_modules/mdast-util-mdx-jsx/lib/index.js"() {
283011
283137
  "use strict";
283012
283138
  init_ccount();
@@ -283023,7 +283149,7 @@ var init_lib32 = __esm({
283023
283149
  var init_mdast_util_mdx_jsx = __esm({
283024
283150
  "../../../node_modules/.pnpm/mdast-util-mdx-jsx@3.2.0/node_modules/mdast-util-mdx-jsx/index.js"() {
283025
283151
  "use strict";
283026
- init_lib32();
283152
+ init_lib33();
283027
283153
  }
283028
283154
  });
283029
283155
 
@@ -283059,7 +283185,7 @@ function exitMdxjsEsmData(token) {
283059
283185
  function handleMdxjsEsm(node4) {
283060
283186
  return node4.value || "";
283061
283187
  }
283062
- var init_lib33 = __esm({
283188
+ var init_lib34 = __esm({
283063
283189
  "../../../node_modules/.pnpm/mdast-util-mdxjs-esm@2.0.1/node_modules/mdast-util-mdxjs-esm/lib/index.js"() {
283064
283190
  "use strict";
283065
283191
  init_default();
@@ -283070,7 +283196,7 @@ var init_lib33 = __esm({
283070
283196
  var init_mdast_util_mdxjs_esm = __esm({
283071
283197
  "../../../node_modules/.pnpm/mdast-util-mdxjs-esm@2.0.1/node_modules/mdast-util-mdxjs-esm/index.js"() {
283072
283198
  "use strict";
283073
- init_lib33();
283199
+ init_lib34();
283074
283200
  }
283075
283201
  });
283076
283202
 
@@ -283091,7 +283217,7 @@ function mdxToMarkdown(options2) {
283091
283217
  ]
283092
283218
  };
283093
283219
  }
283094
- var init_lib34 = __esm({
283220
+ var init_lib35 = __esm({
283095
283221
  "../../../node_modules/.pnpm/mdast-util-mdx@3.0.0/node_modules/mdast-util-mdx/lib/index.js"() {
283096
283222
  "use strict";
283097
283223
  init_mdast_util_mdx_expression();
@@ -283104,7 +283230,7 @@ var init_lib34 = __esm({
283104
283230
  var init_mdast_util_mdx = __esm({
283105
283231
  "../../../node_modules/.pnpm/mdast-util-mdx@3.0.0/node_modules/mdast-util-mdx/index.js"() {
283106
283232
  "use strict";
283107
- init_lib34();
283233
+ init_lib35();
283108
283234
  }
283109
283235
  });
283110
283236
 
@@ -311402,7 +311528,7 @@ function nodelike(value2) {
311402
311528
  );
311403
311529
  }
311404
311530
  var own6, CONTINUE2, EXIT2, SKIP3;
311405
- var init_lib35 = __esm({
311531
+ var init_lib36 = __esm({
311406
311532
  "../../../node_modules/.pnpm/estree-util-visit@2.0.0/node_modules/estree-util-visit/lib/index.js"() {
311407
311533
  "use strict";
311408
311534
  init_color_node2();
@@ -311417,7 +311543,7 @@ var init_lib35 = __esm({
311417
311543
  var init_estree_util_visit = __esm({
311418
311544
  "../../../node_modules/.pnpm/estree-util-visit@2.0.0/node_modules/estree-util-visit/index.js"() {
311419
311545
  "use strict";
311420
- init_lib35();
311546
+ init_lib36();
311421
311547
  }
311422
311548
  });
311423
311549
 
@@ -311664,7 +311790,7 @@ function serializeChunks2(chunks) {
311664
311790
  }
311665
311791
  return result.join("");
311666
311792
  }
311667
- var init_lib36 = __esm({
311793
+ var init_lib37 = __esm({
311668
311794
  "../../../node_modules/.pnpm/micromark-util-events-to-acorn@2.0.3/node_modules/micromark-util-events-to-acorn/lib/index.js"() {
311669
311795
  "use strict";
311670
311796
  init_estree_util_visit();
@@ -311676,7 +311802,7 @@ var init_lib36 = __esm({
311676
311802
  var init_micromark_util_events_to_acorn = __esm({
311677
311803
  "../../../node_modules/.pnpm/micromark-util-events-to-acorn@2.0.3/node_modules/micromark-util-events-to-acorn/index.js"() {
311678
311804
  "use strict";
311679
- init_lib36();
311805
+ init_lib37();
311680
311806
  }
311681
311807
  });
311682
311808
 
@@ -311707,7 +311833,7 @@ function pointOrUndefined(estreePoint, estreeOffset) {
311707
311833
  function numberOrUndefined(value2) {
311708
311834
  return typeof value2 === "number" && value2 > -1 ? value2 : void 0;
311709
311835
  }
311710
- var init_lib37 = __esm({
311836
+ var init_lib38 = __esm({
311711
311837
  "../../../node_modules/.pnpm/unist-util-position-from-estree@2.0.0/node_modules/unist-util-position-from-estree/lib/index.js"() {
311712
311838
  "use strict";
311713
311839
  }
@@ -311717,7 +311843,7 @@ var init_lib37 = __esm({
311717
311843
  var init_unist_util_position_from_estree = __esm({
311718
311844
  "../../../node_modules/.pnpm/unist-util-position-from-estree@2.0.0/node_modules/unist-util-position-from-estree/index.js"() {
311719
311845
  "use strict";
311720
- init_lib37();
311846
+ init_lib38();
311721
311847
  }
311722
311848
  });
311723
311849
 
@@ -311999,7 +312125,7 @@ function name(name2, options2) {
311999
312125
  return re10.test(name2);
312000
312126
  }
312001
312127
  var startRe, contRe, contReJsx, nameRe, nameReJsx, emptyOptions2;
312002
- var init_lib38 = __esm({
312128
+ var init_lib39 = __esm({
312003
312129
  "../../../node_modules/.pnpm/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name/lib/index.js"() {
312004
312130
  "use strict";
312005
312131
  startRe = /[$_\p{ID_Start}]/u;
@@ -312015,7 +312141,7 @@ var init_lib38 = __esm({
312015
312141
  var init_estree_util_is_identifier_name = __esm({
312016
312142
  "../../../node_modules/.pnpm/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name/index.js"() {
312017
312143
  "use strict";
312018
- init_lib38();
312144
+ init_lib39();
312019
312145
  }
312020
312146
  });
312021
312147
 
@@ -313487,7 +313613,7 @@ var init_parseImagePaths = __esm({
313487
313613
  "../docs-markdown-utils/lib/parseImagePaths.js"() {
313488
313614
  "use strict";
313489
313615
  init_js();
313490
- init_lib6();
313616
+ init_lib7();
313491
313617
  import_gray_matter3 = __toESM(require_gray_matter(), 1);
313492
313618
  import_path52 = require("path");
313493
313619
  init_unist_util_visit();
@@ -313677,7 +313803,7 @@ var import_promises59;
313677
313803
  var init_replaceReferencedCode = __esm({
313678
313804
  "../docs-markdown-utils/lib/replaceReferencedCode.js"() {
313679
313805
  "use strict";
313680
- init_lib6();
313806
+ init_lib7();
313681
313807
  import_promises59 = require("fs/promises");
313682
313808
  }
313683
313809
  });
@@ -313810,7 +313936,7 @@ var import_promises60, import_gray_matter4;
313810
313936
  var init_replaceReferencedMarkdown = __esm({
313811
313937
  "../docs-markdown-utils/lib/replaceReferencedMarkdown.js"() {
313812
313938
  "use strict";
313813
- init_lib6();
313939
+ init_lib7();
313814
313940
  import_promises60 = require("fs/promises");
313815
313941
  import_gray_matter4 = __toESM(require_gray_matter(), 1);
313816
313942
  }
@@ -313889,13 +314015,13 @@ function transformAtPrefixImports({ markdown, absolutePathToFernFolder, absolute
313889
314015
  var init_transformAtPrefixImports = __esm({
313890
314016
  "../docs-markdown-utils/lib/transformAtPrefixImports.js"() {
313891
314017
  "use strict";
313892
- init_lib6();
314018
+ init_lib7();
313893
314019
  }
313894
314020
  });
313895
314021
 
313896
314022
  // ../docs-markdown-utils/lib/index.js
313897
- var lib_exports9 = {};
313898
- __export(lib_exports9, {
314023
+ var lib_exports10 = {};
314024
+ __export(lib_exports10, {
313899
314025
  extractAttributeValueLiteral: () => extractAttributeValueLiteral,
313900
314026
  extractSingleLiteral: () => extractSingleLiteral,
313901
314027
  getMarkdownFormat: () => getMarkdownFormat,
@@ -313915,7 +314041,7 @@ __export(lib_exports9, {
313915
314041
  trimAnchor: () => trimAnchor,
313916
314042
  walkEstreeJsxAttributes: () => walkEstreeJsxAttributes
313917
314043
  });
313918
- var init_lib39 = __esm({
314044
+ var init_lib40 = __esm({
313919
314045
  "../docs-markdown-utils/lib/index.js"() {
313920
314046
  "use strict";
313921
314047
  init_extract_literals();
@@ -346767,7 +346893,7 @@ var require_AutoVersioningService = __commonJS({
346767
346893
  exports2.AutoVersioningService = exports2.AutoVersioningException = void 0;
346768
346894
  exports2.countFilesInDiff = countFilesInDiff3;
346769
346895
  exports2.formatSizeKB = formatSizeKB3;
346770
- var logging_execa_1 = (init_lib10(), __toCommonJS(lib_exports7));
346896
+ var logging_execa_1 = (init_lib11(), __toCommonJS(lib_exports8));
346771
346897
  var fs_1 = require("fs");
346772
346898
  var promises_1 = require("fs/promises");
346773
346899
  var path_1 = require("path");
@@ -348530,12 +348656,12 @@ var init_types6 = __esm({
348530
348656
  });
348531
348657
 
348532
348658
  // ../ai/lib/index.js
348533
- var lib_exports12 = {};
348534
- __export(lib_exports12, {
348659
+ var lib_exports13 = {};
348660
+ __export(lib_exports13, {
348535
348661
  VersionBump: () => VersionBump2,
348536
348662
  loadBamlDependencies: () => loadBamlDependencies
348537
348663
  });
348538
- var init_lib40 = __esm({
348664
+ var init_lib41 = __esm({
348539
348665
  "../ai/lib/index.js"() {
348540
348666
  "use strict";
348541
348667
  init_loader();
@@ -348979,7 +349105,7 @@ ${newBlock}${remainder}`;
348979
349105
  if (this.config.ai == null) {
348980
349106
  throw new Error("AutoVersionStep: ai config is missing. Set autoVersion.ai to a BAML provider+model pair.");
348981
349107
  }
348982
- const { loadBamlDependencies: loadBamlDependencies2, VersionBump: VersionBump3 } = await Promise.resolve().then(() => __importStar2((init_lib40(), __toCommonJS(lib_exports12))));
349108
+ const { loadBamlDependencies: loadBamlDependencies2, VersionBump: VersionBump3 } = await Promise.resolve().then(() => __importStar2((init_lib41(), __toCommonJS(lib_exports13))));
348983
349109
  const { BamlClient, configureBamlClient: configureBamlClient2 } = await loadBamlDependencies2();
348984
349110
  const registry2 = configureBamlClient2(this.config.ai);
348985
349111
  return {
@@ -356946,7 +357072,7 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
356946
357072
  var import_promises210 = require("fs/promises");
356947
357073
  var import_node_os22 = require("os");
356948
357074
  var import_node_path310 = require("path");
356949
- var import_node_child_process7 = require("child_process");
357075
+ var import_node_child_process8 = require("child_process");
356950
357076
  init_HybridReconstruction();
356951
357077
  function normalizeHunkBody(hunk) {
356952
357078
  let contextC = 0;
@@ -357167,7 +357293,7 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
357167
357293
  }
357168
357294
  function runGitDiffNoIndex(beforePath, afterPath) {
357169
357295
  return new Promise((resolve22, reject) => {
357170
- const proc2 = (0, import_node_child_process7.spawn)("git", ["diff", "--no-index", "--", beforePath, afterPath]);
357296
+ const proc2 = (0, import_node_child_process8.spawn)("git", ["diff", "--no-index", "--", beforePath, afterPath]);
357171
357297
  let stdout = "";
357172
357298
  let stderr = "";
357173
357299
  proc2.stdout.on("data", (d5) => stdout += d5.toString());
@@ -364163,7 +364289,7 @@ var require_GithubStep = __commonJS({
364163
364289
  exports2.shouldPushGenerationBaseTag = shouldPushGenerationBaseTag;
364164
364290
  exports2.resolveBranchAction = resolveBranchAction;
364165
364291
  var core_utils_1 = (init_lib4(), __toCommonJS(lib_exports));
364166
- var github_1 = (init_lib7(), __toCommonJS(lib_exports3));
364292
+ var github_1 = (init_lib8(), __toCommonJS(lib_exports4));
364167
364293
  var rest_1 = (init_dist_src9(), __toCommonJS(dist_src_exports));
364168
364294
  var promises_1 = require("fs/promises");
364169
364295
  var path_1 = require("path");
@@ -364638,6 +364764,333 @@ var require_ReplayStep = __commonJS({
364638
364764
  }
364639
364765
  });
364640
364766
 
364767
+ // ../generation/local-generation/docker-utils/lib/runDocker.js
364768
+ async function runContainer({ logger: logger4, imageName, args = [], binds = [], envVars = {}, ports = {}, writeLogsToFile = true, removeAfterCompletion = false, runner, signal }) {
364769
+ const tryRun = () => tryRunContainer({
364770
+ logger: logger4,
364771
+ imageName,
364772
+ args,
364773
+ binds,
364774
+ envVars,
364775
+ ports,
364776
+ removeAfterCompletion,
364777
+ writeLogsToFile,
364778
+ runner,
364779
+ signal
364780
+ });
364781
+ try {
364782
+ await tryRun();
364783
+ } catch (e8) {
364784
+ if (e8 instanceof Error && e8.message.includes("No such image")) {
364785
+ await pullImage(imageName, runner, signal);
364786
+ await tryRun();
364787
+ } else {
364788
+ throw e8;
364789
+ }
364790
+ }
364791
+ }
364792
+ async function tryRunContainer({ logger: logger4, imageName, args, binds, envVars = {}, ports = {}, removeAfterCompletion, writeLogsToFile, runner, signal }) {
364793
+ if (process.env["FERN_STACK_TRACK"]) {
364794
+ envVars["FERN_STACK_TRACK"] = process.env["FERN_STACK_TRACK"];
364795
+ }
364796
+ const containerArgs = [
364797
+ "run",
364798
+ "--user",
364799
+ "root",
364800
+ ...binds.flatMap((bind5) => ["-v", bind5]),
364801
+ ...Object.entries(envVars).flatMap(([key2, value2]) => ["-e", `${key2}="${value2}"`]),
364802
+ ...Object.entries(ports).flatMap(([hostPort, containerPort]) => ["-p", `${hostPort}:${containerPort}`]),
364803
+ removeAfterCompletion ? "--rm" : "",
364804
+ imageName,
364805
+ ...args
364806
+ ].filter(Boolean);
364807
+ const containerRunner = runner ?? "docker";
364808
+ const { stdout, stderr, exitCode } = await loggingExeca(logger4, containerRunner, containerArgs, {
364809
+ reject: false,
364810
+ all: true,
364811
+ doNotPipeOutput: true,
364812
+ signal
364813
+ });
364814
+ const logs4 = stdout + stderr;
364815
+ if (writeLogsToFile) {
364816
+ const tmpFile = await import_tmp_promise10.default.file();
364817
+ await (0, import_promises97.writeFile)(tmpFile.path, logs4);
364818
+ logger4.info(`Generator logs here: ${tmpFile.path}`);
364819
+ }
364820
+ if (exitCode == null) {
364821
+ throw new Error(`Container runtime '${containerRunner}' is not installed or not found on PATH.
364822
+ ${containerRunner === "podman" ? "Seed tests default to Podman. " : ""}Install ${containerRunner}: ${containerRunner === "podman" ? "https://podman.io/docs/installation" : "https://docs.docker.com/get-docker/"}
364823
+ Error details: ${stderr || stdout || "No output"}`);
364824
+ }
364825
+ if (exitCode !== 0) {
364826
+ throw new Error(`Container exited with code ${exitCode}.
364827
+ ${stdout}
364828
+ ${stderr}`);
364829
+ }
364830
+ }
364831
+ async function pullImage(imageName, runner, signal) {
364832
+ await loggingExeca(void 0, runner ?? "docker", ["pull", imageName], {
364833
+ all: true,
364834
+ doNotPipeOutput: true,
364835
+ signal
364836
+ });
364837
+ }
364838
+ async function startContainer({ logger: logger4, imageName, runner }) {
364839
+ const containerRunner = runner ?? "docker";
364840
+ const tryStart = async () => {
364841
+ const { stdout, exitCode, stderr } = await loggingExeca(logger4, containerRunner, ["run", "--user", "root", "-dit", "--entrypoint", "/bin/sh", imageName], {
364842
+ reject: false,
364843
+ doNotPipeOutput: true
364844
+ });
364845
+ if (exitCode == null) {
364846
+ throw new Error(`Container runtime '${containerRunner}' is not installed or not found on PATH.
364847
+ Error details: ${stderr || stdout || "No output"}`);
364848
+ }
364849
+ if (exitCode !== 0) {
364850
+ throw new Error(`Failed to start container from image ${imageName}.
364851
+ ${stdout}
364852
+ ${stderr}`);
364853
+ }
364854
+ return stdout.trim();
364855
+ };
364856
+ try {
364857
+ return await tryStart();
364858
+ } catch (e8) {
364859
+ if (e8 instanceof Error && e8.message.includes("No such image")) {
364860
+ await pullImage(imageName, runner);
364861
+ return await tryStart();
364862
+ }
364863
+ throw e8;
364864
+ }
364865
+ }
364866
+ async function execInContainer({ logger: logger4, containerId, command: command3, runner, writeLogsToFile = true, reject = true }) {
364867
+ const containerRunner = runner ?? "docker";
364868
+ const { stdout, stderr, exitCode } = await loggingExeca(logger4, containerRunner, ["exec", "--user", "root", containerId, ...command3], {
364869
+ reject: false,
364870
+ all: true,
364871
+ doNotPipeOutput: true
364872
+ });
364873
+ const logs4 = stdout + stderr;
364874
+ if (writeLogsToFile) {
364875
+ const tmpFile = await import_tmp_promise10.default.file();
364876
+ await (0, import_promises97.writeFile)(tmpFile.path, logs4);
364877
+ logger4.info(`Generator logs here: ${tmpFile.path}`);
364878
+ }
364879
+ const resolvedExitCode = exitCode ?? 1;
364880
+ if (reject && resolvedExitCode !== 0) {
364881
+ throw new Error(`Container exec exited with code ${resolvedExitCode}.
364882
+ ${stdout}
364883
+ ${stderr}`);
364884
+ }
364885
+ return { stdout, stderr, exitCode: resolvedExitCode };
364886
+ }
364887
+ async function copyToContainer({ logger: logger4, containerId, hostPath, containerPath, runner }) {
364888
+ const containerRunner = runner ?? "docker";
364889
+ const { exitCode, stdout, stderr } = await loggingExeca(logger4, containerRunner, ["cp", hostPath, `${containerId}:${containerPath}`], {
364890
+ reject: false,
364891
+ doNotPipeOutput: true
364892
+ });
364893
+ if (exitCode !== 0) {
364894
+ throw new Error(`Failed to copy ${hostPath} to container ${containerId}:${containerPath}.
364895
+ ${stdout}
364896
+ ${stderr}`);
364897
+ }
364898
+ }
364899
+ async function copyFromContainer({ logger: logger4, containerId, containerPath, hostPath, runner }) {
364900
+ const containerRunner = runner ?? "docker";
364901
+ const { exitCode, stdout, stderr } = await loggingExeca(logger4, containerRunner, ["cp", `${containerId}:${containerPath}`, hostPath], {
364902
+ reject: false,
364903
+ doNotPipeOutput: true
364904
+ });
364905
+ if (exitCode !== 0) {
364906
+ throw new Error(`Failed to copy ${containerId}:${containerPath} to ${hostPath}.
364907
+ ${stdout}
364908
+ ${stderr}`);
364909
+ }
364910
+ }
364911
+ async function stopContainer({ logger: logger4, containerId, runner }) {
364912
+ const containerRunner = runner ?? "docker";
364913
+ await loggingExeca(logger4, containerRunner, ["rm", "-f", containerId], {
364914
+ reject: false,
364915
+ doNotPipeOutput: true
364916
+ });
364917
+ }
364918
+ var import_promises97, import_tmp_promise10, runDocker;
364919
+ var init_runDocker = __esm({
364920
+ "../generation/local-generation/docker-utils/lib/runDocker.js"() {
364921
+ "use strict";
364922
+ init_lib11();
364923
+ import_promises97 = require("fs/promises");
364924
+ import_tmp_promise10 = __toESM(require_tmp_promise(), 1);
364925
+ runDocker = runContainer;
364926
+ }
364927
+ });
364928
+
364929
+ // ../generation/local-generation/docker-utils/lib/index.js
364930
+ var lib_exports14 = {};
364931
+ __export(lib_exports14, {
364932
+ copyFromContainer: () => copyFromContainer,
364933
+ copyToContainer: () => copyToContainer,
364934
+ execInContainer: () => execInContainer,
364935
+ runContainer: () => runContainer,
364936
+ runDocker: () => runDocker,
364937
+ startContainer: () => startContainer,
364938
+ stopContainer: () => stopContainer
364939
+ });
364940
+ var init_lib42 = __esm({
364941
+ "../generation/local-generation/docker-utils/lib/index.js"() {
364942
+ "use strict";
364943
+ init_runDocker();
364944
+ }
364945
+ });
364946
+
364947
+ // ../../generator-cli/lib/pipeline/steps/VerificationStep.js
364948
+ var require_VerificationStep = __commonJS({
364949
+ "../../generator-cli/lib/pipeline/steps/VerificationStep.js"(exports2) {
364950
+ "use strict";
364951
+ Object.defineProperty(exports2, "__esModule", { value: true });
364952
+ exports2.VerificationStep = void 0;
364953
+ var core_utils_1 = (init_lib4(), __toCommonJS(lib_exports));
364954
+ var docker_utils_1 = (init_lib42(), __toCommonJS(lib_exports14));
364955
+ var logger_1 = (init_lib5(), __toCommonJS(lib_exports2));
364956
+ var fs_1 = require("fs");
364957
+ var path_1 = require("path");
364958
+ var BaseStep_1 = require_BaseStep();
364959
+ var CONTAINER_WORKSPACE_PATH = "/workspace";
364960
+ var VERIFY_SCRIPT_RELATIVE_PATH = ".fern/verify.sh";
364961
+ var VERIFY_SCRIPT_CONTAINER_PATH = `${CONTAINER_WORKSPACE_PATH}/${VERIFY_SCRIPT_RELATIVE_PATH}`;
364962
+ var VerificationStep = class extends BaseStep_1.BaseStep {
364963
+ config;
364964
+ generatorName;
364965
+ generatorVersions;
364966
+ name = "verify";
364967
+ constructor(outputDir, logger4, config5, generatorName, generatorVersions) {
364968
+ super(outputDir, logger4);
364969
+ this.config = config5;
364970
+ this.generatorName = generatorName;
364971
+ this.generatorVersions = generatorVersions;
364972
+ }
364973
+ async execute(_context) {
364974
+ const verifyScriptHostPath = (0, path_1.join)(this.outputDir, VERIFY_SCRIPT_RELATIVE_PATH);
364975
+ if (!(0, fs_1.existsSync)(verifyScriptHostPath)) {
364976
+ return { executed: true, success: true, skipped: true };
364977
+ }
364978
+ const validatorImage = this.deriveValidatorImage();
364979
+ if (validatorImage == null) {
364980
+ const message = "Cannot derive validator image: generatorName and generatorVersions are required to compute the `{generatorImage}-validator:{version}` tag.";
364981
+ this.logger.error(message);
364982
+ return {
364983
+ executed: true,
364984
+ success: false,
364985
+ skipped: false,
364986
+ errorMessage: message
364987
+ };
364988
+ }
364989
+ const runner = this.config.runner ?? "docker";
364990
+ const dockerLogger = createDockerLoggerAdapter(this.logger);
364991
+ let containerId;
364992
+ try {
364993
+ try {
364994
+ containerId = await (0, docker_utils_1.startContainer)({
364995
+ logger: dockerLogger,
364996
+ imageName: validatorImage,
364997
+ runner
364998
+ });
364999
+ } catch (error50) {
365000
+ const message = `Failed to start verification container from image ${validatorImage}: ${(0, core_utils_1.extractErrorMessage)(error50)}`;
365001
+ this.logger.error(message);
365002
+ return {
365003
+ executed: true,
365004
+ success: false,
365005
+ skipped: false,
365006
+ errorMessage: message
365007
+ };
365008
+ }
365009
+ try {
365010
+ await (0, docker_utils_1.copyToContainer)({
365011
+ logger: dockerLogger,
365012
+ containerId,
365013
+ hostPath: `${this.outputDir}/.`,
365014
+ containerPath: CONTAINER_WORKSPACE_PATH,
365015
+ runner
365016
+ });
365017
+ } catch (error50) {
365018
+ const message = `Failed to copy workspace into verification container: ${(0, core_utils_1.extractErrorMessage)(error50)}`;
365019
+ this.logger.error(message);
365020
+ return {
365021
+ executed: true,
365022
+ success: false,
365023
+ skipped: false,
365024
+ errorMessage: message
365025
+ };
365026
+ }
365027
+ const { stdout, stderr, exitCode } = await (0, docker_utils_1.execInContainer)({
365028
+ logger: dockerLogger,
365029
+ containerId,
365030
+ command: ["bash", VERIFY_SCRIPT_CONTAINER_PATH],
365031
+ runner,
365032
+ writeLogsToFile: false,
365033
+ reject: false
365034
+ });
365035
+ if (exitCode !== 0) {
365036
+ const capturedStderr = stderr.length > 0 ? stderr : stdout;
365037
+ this.logger.error(`Verification failed (exit code ${exitCode}) for image ${validatorImage}.
365038
+ ${capturedStderr}`);
365039
+ return {
365040
+ executed: true,
365041
+ success: false,
365042
+ skipped: false,
365043
+ stderr: capturedStderr,
365044
+ errorMessage: `Verification script exited with code ${exitCode}`
365045
+ };
365046
+ }
365047
+ this.logger.info(`Verification succeeded for image ${validatorImage}`);
365048
+ return { executed: true, success: true, skipped: false };
365049
+ } finally {
365050
+ if (containerId != null) {
365051
+ try {
365052
+ await (0, docker_utils_1.stopContainer)({ logger: dockerLogger, containerId, runner });
365053
+ } catch (error50) {
365054
+ this.logger.debug(`Best-effort cleanup: failed to stop verification container ${containerId}: ${(0, core_utils_1.extractErrorMessage)(error50)}`);
365055
+ }
365056
+ }
365057
+ }
365058
+ }
365059
+ deriveValidatorImage() {
365060
+ if (this.generatorName == null) {
365061
+ return void 0;
365062
+ }
365063
+ const version7 = this.generatorVersions?.[this.generatorName];
365064
+ if (version7 == null) {
365065
+ return void 0;
365066
+ }
365067
+ return `${this.generatorName}-validator:${version7}`;
365068
+ }
365069
+ };
365070
+ exports2.VerificationStep = VerificationStep;
365071
+ function createDockerLoggerAdapter(pipelineLogger) {
365072
+ return (0, logger_1.createLogger)((level, ...args) => {
365073
+ const message = args.join(" ");
365074
+ switch (level) {
365075
+ case logger_1.LogLevel.Trace:
365076
+ case logger_1.LogLevel.Debug:
365077
+ pipelineLogger.debug(message);
365078
+ return;
365079
+ case logger_1.LogLevel.Info:
365080
+ pipelineLogger.info(message);
365081
+ return;
365082
+ case logger_1.LogLevel.Warn:
365083
+ pipelineLogger.warn(message);
365084
+ return;
365085
+ case logger_1.LogLevel.Error:
365086
+ pipelineLogger.error(message);
365087
+ return;
365088
+ }
365089
+ });
365090
+ }
365091
+ }
365092
+ });
365093
+
364641
365094
  // ../../generator-cli/lib/pipeline/PostGenerationPipeline.js
364642
365095
  var require_PostGenerationPipeline = __commonJS({
364643
365096
  "../../generator-cli/lib/pipeline/PostGenerationPipeline.js"(exports2) {
@@ -364652,6 +365105,7 @@ var require_PostGenerationPipeline = __commonJS({
364652
365105
  var GenerationCommitStep_1 = require_GenerationCommitStep();
364653
365106
  var GithubStep_1 = require_GithubStep();
364654
365107
  var ReplayStep_1 = require_ReplayStep();
365108
+ var VerificationStep_1 = require_VerificationStep();
364655
365109
  var PostGenerationPipeline2 = class {
364656
365110
  config;
364657
365111
  logger;
@@ -364678,6 +365132,9 @@ var require_PostGenerationPipeline = __commonJS({
364678
365132
  if (replayEnabled && config5.replay != null) {
364679
365133
  this.steps.push(new ReplayStep_1.ReplayStep(config5.outputDir, this.logger, config5.replay, config5.cliVersion, config5.generatorVersions, config5.generatorName));
364680
365134
  }
365135
+ if (config5.verify?.enabled) {
365136
+ this.steps.push(new VerificationStep_1.VerificationStep(config5.outputDir, this.logger, config5.verify, config5.generatorName, config5.generatorVersions));
365137
+ }
364681
365138
  if (config5.github?.enabled) {
364682
365139
  this.steps.push(new GithubStep_1.GithubStep(config5.outputDir, this.logger, config5.github));
364683
365140
  }
@@ -364713,12 +365170,25 @@ var require_PostGenerationPipeline = __commonJS({
364713
365170
  pipelineContext.previousStepResults.autoVersion = stepResult;
364714
365171
  } else if (step.name === "fernignore") {
364715
365172
  result.steps.fernignore = stepResult;
365173
+ } else if (step.name === "verify") {
365174
+ const verifyResult = stepResult;
365175
+ result.steps.verify = verifyResult;
365176
+ pipelineContext.previousStepResults.verify = verifyResult;
364716
365177
  } else if (step.name === "github") {
364717
365178
  result.steps.github = stepResult;
364718
365179
  }
364719
365180
  if (!stepResult.success) {
364720
365181
  result.success = false;
364721
365182
  result.errors = result.errors ?? [];
365183
+ if (step.name === "verify") {
365184
+ const verifyResult = stepResult;
365185
+ if (verifyResult.stderr != null && verifyResult.stderr.length > 0) {
365186
+ result.errors.push(verifyResult.stderr);
365187
+ } else {
365188
+ result.errors.push(verifyResult.errorMessage ?? `${step.name} step failed`);
365189
+ }
365190
+ break;
365191
+ }
364722
365192
  result.errors.push(stepResult.errorMessage ?? `${step.name} step failed`);
364723
365193
  }
364724
365194
  } catch (error50) {
@@ -364726,6 +365196,9 @@ var require_PostGenerationPipeline = __commonJS({
364726
365196
  result.errors = result.errors ?? [];
364727
365197
  const errorMessage = (0, core_utils_1.extractErrorMessage)(error50);
364728
365198
  result.errors.push(`${step.name} step error: ${errorMessage}`);
365199
+ if (step.name === "verify") {
365200
+ break;
365201
+ }
364729
365202
  }
364730
365203
  }
364731
365204
  return result;
@@ -384996,7 +385469,7 @@ var require_ReadmeGenerator = __commonJS({
384996
385469
  "use strict";
384997
385470
  Object.defineProperty(exports2, "__esModule", { value: true });
384998
385471
  exports2.ReadmeGenerator = void 0;
384999
- var github_1 = (init_lib7(), __toCommonJS(lib_exports3));
385472
+ var github_1 = (init_lib8(), __toCommonJS(lib_exports4));
385000
385473
  var compat_1 = require_compat2();
385001
385474
  var string_1 = require_string3();
385002
385475
  var index_js_1 = require_sdk();
@@ -385989,8 +386462,8 @@ var require_GitHub = __commonJS({
385989
386462
  "use strict";
385990
386463
  Object.defineProperty(exports2, "__esModule", { value: true });
385991
386464
  exports2.GitHub = void 0;
385992
- var fs_utils_1 = (init_lib6(), __toCommonJS(lib_exports2));
385993
- var github_1 = (init_lib7(), __toCommonJS(lib_exports3));
386465
+ var fs_utils_1 = (init_lib7(), __toCommonJS(lib_exports3));
386466
+ var github_1 = (init_lib8(), __toCommonJS(lib_exports4));
385994
386467
  var rest_1 = (init_dist_src9(), __toCommonJS(dist_src_exports));
385995
386468
  var GitHub = class {
385996
386469
  githubConfig;
@@ -386188,7 +386661,7 @@ var require_replay_init = __commonJS({
386188
386661
  Object.defineProperty(exports2, "__esModule", { value: true });
386189
386662
  exports2.replayInit = replayInit3;
386190
386663
  exports2.formatBootstrapSummary = formatBootstrapSummary3;
386191
- var github_1 = (init_lib7(), __toCommonJS(lib_exports3));
386664
+ var github_1 = (init_lib8(), __toCommonJS(lib_exports4));
386192
386665
  var replay_1 = require_dist13();
386193
386666
  var fs_1 = require("fs");
386194
386667
  var path_1 = require("path");
@@ -388498,8 +388971,8 @@ var require_Fetcher3 = __commonJS({
388498
388971
  const fetchFn = runtime_1.RUNTIME.type === "node" ? (
388499
388972
  // `.default` is required due to this issue:
388500
388973
  // https://github.com/node-fetch/node-fetch/issues/450#issuecomment-387045223
388501
- (init_lib8(), __toCommonJS(lib_exports4)).default
388502
- ) : typeof fetch == "function" ? fetch : (init_lib8(), __toCommonJS(lib_exports4)).default;
388974
+ (init_lib9(), __toCommonJS(lib_exports5)).default
388975
+ ) : typeof fetch == "function" ? fetch : (init_lib9(), __toCommonJS(lib_exports5)).default;
388503
388976
  const makeRequest3 = () => __awaiter35(this, void 0, void 0, function* () {
388504
388977
  const controller = new AbortController();
388505
388978
  let abortId = void 0;
@@ -491079,6 +491552,9 @@ var require_undici2 = __commonJS({
491079
491552
  }
491080
491553
  });
491081
491554
 
491555
+ // src/cli.ts
491556
+ var import_node_child_process7 = require("child_process");
491557
+
491082
491558
  // ../../../node_modules/.pnpm/@bufbuild+protobuf@2.2.5/node_modules/@bufbuild/protobuf/dist/esm/is-message.js
491083
491559
  function isMessage(arg, schema2) {
491084
491560
  const isMessage2 = arg !== null && typeof arg == "object" && "$typeName" in arg && typeof arg.$typeName == "string";
@@ -516354,80 +516830,8 @@ function resolveErrorCode(error50, explicitCode) {
516354
516830
  return CliError.Code.InternalError;
516355
516831
  }
516356
516832
 
516357
- // ../logger/lib/LogLevel.js
516358
- var LogLevel = {
516359
- Trace: "trace",
516360
- Debug: "debug",
516361
- Info: "info",
516362
- Warn: "warn",
516363
- Error: "error"
516364
- };
516365
- var LOG_LEVELS = Object.values(LogLevel);
516366
-
516367
- // ../logger/lib/createLogger.js
516368
- var LoggerImpl = class {
516369
- log;
516370
- enabled;
516371
- constructor(log4, enabled = true) {
516372
- this.log = log4;
516373
- this.enabled = enabled;
516374
- }
516375
- disable() {
516376
- this.enabled = false;
516377
- }
516378
- enable() {
516379
- this.enabled = true;
516380
- }
516381
- debug(...args) {
516382
- if (this.enabled) {
516383
- this.log(LogLevel.Debug, ...args);
516384
- }
516385
- }
516386
- info(...args) {
516387
- if (this.enabled) {
516388
- this.log(LogLevel.Info, ...args);
516389
- }
516390
- }
516391
- warn(...args) {
516392
- if (this.enabled) {
516393
- this.log(LogLevel.Warn, ...args);
516394
- }
516395
- }
516396
- error(...args) {
516397
- if (this.enabled) {
516398
- this.log(LogLevel.Error, ...args);
516399
- }
516400
- }
516401
- trace(...args) {
516402
- if (this.enabled) {
516403
- this.log(LogLevel.Trace, ...args);
516404
- }
516405
- }
516406
- };
516407
- function createLogger(log4) {
516408
- return new LoggerImpl(log4);
516409
- }
516410
-
516411
- // ../logger/lib/console.js
516412
- var CONSOLE_LOGGER = Object.freeze(createLogger(log3));
516413
- function log3(level, ...args) {
516414
- const consoleLogger = getConsoleLoggerForLevel(level);
516415
- consoleLogger(...args);
516416
- }
516417
- function getConsoleLoggerForLevel(level) {
516418
- switch (level) {
516419
- case LogLevel.Trace:
516420
- return console.trace;
516421
- case LogLevel.Debug:
516422
- return console.debug;
516423
- case LogLevel.Info:
516424
- return console.info;
516425
- case LogLevel.Warn:
516426
- return console.warn;
516427
- case LogLevel.Error:
516428
- return console.error;
516429
- }
516430
- }
516833
+ // ../task-context/lib/MockTaskContext.js
516834
+ init_lib5();
516431
516835
 
516432
516836
  // ../task-context/lib/TaskAbortSignal.js
516433
516837
  var TaskAbortSignal = class {
@@ -516978,7 +517382,7 @@ var source_default = chalk;
516978
517382
 
516979
517383
  // ../cli-v2/lib/api/checker/ApiChecker.js
516980
517384
  init_lib4();
516981
- init_lib6();
517385
+ init_lib7();
516982
517386
 
516983
517387
  // ../cli-v2/lib/api/config/AsyncApiSpec.js
516984
517388
  function isAsyncApiSpec(spec) {
@@ -533715,7 +534119,7 @@ function getRegistryName(language) {
533715
534119
 
533716
534120
  // ../../commons/api-workspace-commons/lib/computeSemanticVersion.js
533717
534121
  init_lib4();
533718
- init_lib7();
534122
+ init_lib8();
533719
534123
 
533720
534124
  // ../../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/errors/HTTPError.js
533721
534125
  var HTTPError = class extends Error {
@@ -556362,10 +556766,10 @@ function getConvertOptions({ options: options2, overrides }) {
556362
556766
  }
556363
556767
 
556364
556768
  // ../api-importers/openapi/openapi-ir-to-fern/lib/buildFernDefinition.js
556365
- init_lib5();
556769
+ init_lib6();
556366
556770
 
556367
556771
  // ../api-importers/openapi/openapi-ir-to-fern/lib/buildAuthSchemes.js
556368
- init_lib5();
556772
+ init_lib6();
556369
556773
 
556370
556774
  // ../api-importers/openapi/openapi-ir-to-fern/lib/buildTypeDeclaration.js
556371
556775
  init_lib4();
@@ -562193,7 +562597,7 @@ init_lib4();
562193
562597
 
562194
562598
  // ../api-importers/openapi/openapi-ir-to-fern/lib/utils/convertSdkGroupName.js
562195
562599
  init_lib4();
562196
- init_lib5();
562600
+ init_lib6();
562197
562601
  init_lodash();
562198
562602
  function camelCasePreservingUnderscores(name2) {
562199
562603
  const leadingMatch = name2.match(/^(_+)/);
@@ -563909,7 +564313,7 @@ function buildPathParameter({ pathParameter, context: context3, fileContainingRe
563909
564313
  }
563910
564314
 
563911
564315
  // ../api-importers/openapi/openapi-ir-to-fern/lib/buildQueryParameter.js
563912
- init_lib5();
564316
+ init_lib6();
563913
564317
  function buildQueryParameter({ queryParameter, context: context3, fileContainingReference, namespace }) {
563914
564318
  const typeReference2 = getQueryParameterTypeReference({
563915
564319
  schema: queryParameter.schema,
@@ -565294,7 +565698,7 @@ function buildEnvironments(context3) {
565294
565698
  }
565295
565699
 
565296
565700
  // ../api-importers/openapi/openapi-ir-to-fern/lib/buildGlobalHeaders.js
565297
- init_lib5();
565701
+ init_lib6();
565298
565702
  init_lodash();
565299
565703
  var HeaderWithCount = class {
565300
565704
  schema;
@@ -565399,7 +565803,7 @@ function buildGlobalHeaders(context3) {
565399
565803
  }
565400
565804
 
565401
565805
  // ../api-importers/openapi/openapi-ir-to-fern/lib/buildIdempotencyHeaders.js
565402
- init_lib5();
565806
+ init_lib6();
565403
565807
  function buildIdempotencyHeaders(context3) {
565404
565808
  for (const header of context3.ir.idempotencyHeaders ?? []) {
565405
565809
  const groupName = header.schema ? getGroupNameForSchema(header.schema) : void 0;
@@ -565443,7 +565847,7 @@ function buildIdempotencyHeaders(context3) {
565443
565847
 
565444
565848
  // ../api-importers/openapi/openapi-ir-to-fern/lib/buildEndpoint.js
565445
565849
  init_lib4();
565446
- init_lib5();
565850
+ init_lib6();
565447
565851
 
565448
565852
  // ../api-importers/openapi/openapi-ir-to-fern/lib/buildEndpointExample.js
565449
565853
  init_lib4();
@@ -566479,7 +566883,7 @@ function endpointRequestSupportsInlinedPathParameters({ context: context3, reque
566479
566883
  }
566480
566884
 
566481
566885
  // ../api-importers/openapi/openapi-ir-to-fern/lib/utils/getEndpointLocation.js
566482
- init_lib5();
566886
+ init_lib6();
566483
566887
  init_lodash();
566484
566888
  function resolveEndpointLocationWithNamespaceOverride({ location: location2, namespaceOverride }) {
566485
566889
  if (namespaceOverride != null) {
@@ -566660,7 +567064,7 @@ function buildServices(context3) {
566660
567064
  }
566661
567065
 
566662
567066
  // ../api-importers/openapi/openapi-ir-to-fern/lib/buildVariables.js
566663
- init_lib5();
567067
+ init_lib6();
566664
567068
  function buildVariables(context3) {
566665
567069
  for (const [variable3, variableSchema] of Object.entries(context3.ir.variables)) {
566666
567070
  const namespace = variableSchema.groupName != null ? getNamespaceFromGroup(variableSchema.groupName) : void 0;
@@ -566682,7 +567086,7 @@ function buildVariables(context3) {
566682
567086
  }
566683
567087
 
566684
567088
  // ../api-importers/openapi/openapi-ir-to-fern/lib/buildWebhooks.js
566685
- init_lib5();
567089
+ init_lib6();
566686
567090
  init_lodash();
566687
567091
  function buildWebhooks(context3) {
566688
567092
  for (const webhook of context3.ir.webhooks) {
@@ -567356,11 +567760,11 @@ var APIDefinitionImporter = class {
567356
567760
  };
567357
567761
 
567358
567762
  // ../api-importers/commons/lib/FernDefinitionBuilder.js
567359
- init_lib5();
567763
+ init_lib6();
567360
567764
  init_lodash();
567361
567765
 
567362
567766
  // ../api-importers/commons/lib/utils/FernDefinitionDirectory.js
567363
- init_lib5();
567767
+ init_lib6();
567364
567768
  var FernDefinitionDirectory = class _FernDefinitionDirectory {
567365
567769
  files = {};
567366
567770
  directories = {};
@@ -568086,7 +568490,7 @@ function convert(opts) {
568086
568490
  }
568087
568491
 
568088
568492
  // ../../commons/api-workspace-commons/lib/openapi/FernDefinitionConverter.js
568089
- init_lib5();
568493
+ init_lib6();
568090
568494
  init_js_yaml();
568091
568495
  init_lodash();
568092
568496
  function getReferencedAuthSchemeNames(auth8, authSchemes) {
@@ -580472,7 +580876,7 @@ function isOpenAPIV3(openApi) {
580472
580876
 
580473
580877
  // ../../commons/api-workspace-commons/lib/utils/getAllNamedDefinitionFiles.js
580474
580878
  init_lib4();
580475
- init_lib5();
580879
+ init_lib6();
580476
580880
  init_lodash();
580477
580881
  function getAllNamedDefinitionFiles(definition3, opts = {}) {
580478
580882
  return {
@@ -580490,7 +580894,7 @@ function getAllNamedDefinitionFiles(definition3, opts = {}) {
580490
580894
 
580491
580895
  // ../../commons/api-workspace-commons/lib/utils/getAllPackageMarkers.js
580492
580896
  init_lib4();
580493
- init_lib5();
580897
+ init_lib6();
580494
580898
  init_lodash();
580495
580899
  function getAllPackageMarkers(definition3, opts = {}) {
580496
580900
  return {
@@ -580521,7 +580925,7 @@ function getDefinitionFile(workspace, relativeFilepath) {
580521
580925
 
580522
580926
  // ../../commons/api-workspace-commons/lib/utils/visitAllDefinitionFiles.js
580523
580927
  init_lib4();
580524
- init_lib5();
580928
+ init_lib6();
580525
580929
  function visitAllDefinitionFiles(workspace, visitor) {
580526
580930
  for (const [relativeFilepath, file4] of entries(getAllDefinitionFiles(workspace.definition))) {
580527
580931
  visitor(relativeFilepath, file4.contents, {
@@ -580568,7 +580972,7 @@ function joinZodPath(arr) {
580568
580972
  }
580569
580973
 
580570
580974
  // ../configuration-loader/lib/dependencies-yml/convertDependenciesConfiguration.js
580571
- init_lib6();
580975
+ init_lib7();
580572
580976
  var import_path21 = __toESM(require("path"), 1);
580573
580977
  var EMPTY_DEPENDENCIES_CONFIGURATION = {
580574
580978
  dependencies: {}
@@ -580624,7 +581028,7 @@ function isPath(value2) {
580624
581028
  }
580625
581029
 
580626
581030
  // ../configuration-loader/lib/dependencies-yml/loadRawDependenciesConfiguration.js
580627
- init_lib6();
581031
+ init_lib7();
580628
581032
  var import_promises11 = require("fs/promises");
580629
581033
  init_js_yaml();
580630
581034
 
@@ -580776,7 +581180,7 @@ function getColorInstanceFromRawConfigOrThrow(raw, context3, key2, theme) {
580776
581180
 
580777
581181
  // ../configuration-loader/lib/docs-yml/getAllPages.js
580778
581182
  init_lib4();
580779
- init_lib6();
581183
+ init_lib7();
580780
581184
  var import_promises12 = require("fs/promises");
580781
581185
  init_lodash();
580782
581186
  var BATCH_SIZE = 100;
@@ -580893,13 +581297,13 @@ function getAllPagesFromApiReferenceLayoutItem({ item }) {
580893
581297
  // ../configuration-loader/lib/docs-yml/parseDocsConfiguration.js
580894
581298
  init_lib4();
580895
581299
  init_js();
580896
- init_lib6();
581300
+ init_lib7();
580897
581301
  var import_promises14 = require("fs/promises");
580898
581302
  init_js_yaml();
580899
581303
  var import_path22 = __toESM(require("path"), 1);
580900
581304
 
580901
581305
  // ../configuration-loader/lib/docs-yml/navigationUtils.js
580902
- init_lib6();
581306
+ init_lib7();
580903
581307
  var import_promises13 = require("fs/promises");
580904
581308
  var import_gray_matter = __toESM(require_gray_matter(), 1);
580905
581309
  function nameToSlug({ name: name2 }) {
@@ -582715,7 +583119,7 @@ function parseVariantOverlays(variants) {
582715
583119
 
582716
583120
  // ../configuration-loader/lib/fern-config-json/loadProjectConfig.js
582717
583121
  init_lib4();
582718
- init_lib6();
583122
+ init_lib7();
582719
583123
  var import_promises15 = require("fs/promises");
582720
583124
 
582721
583125
  // ../configuration-loader/lib/fern-config-json/schema/ProjectConfigSchema.js
@@ -583170,8 +583574,8 @@ async function addGenerator({ generatorName, generatorsConfiguration, groupName
583170
583574
 
583171
583575
  // ../configuration-loader/lib/generators-yml/convertGeneratorsConfiguration.js
583172
583576
  init_lib4();
583173
- init_lib6();
583174
583577
  init_lib7();
583578
+ init_lib8();
583175
583579
 
583176
583580
  // ../../../node_modules/.pnpm/@fern-fern+fiddle-sdk@1.0.3/node_modules/@fern-fern/fiddle-sdk/dist/esm/api/index.mjs
583177
583581
  var api_exports4 = {};
@@ -590487,7 +590891,7 @@ function isGithubSelfhosted(github) {
590487
590891
  }
590488
590892
 
590489
590893
  // ../configuration-loader/lib/generators-yml/loadGeneratorsConfiguration.js
590490
- init_lib6();
590894
+ init_lib7();
590491
590895
  var import_promises17 = require("fs/promises");
590492
590896
  init_js_yaml();
590493
590897
  var import_path24 = __toESM(require("path"), 1);
@@ -590574,7 +590978,7 @@ async function getPathToGeneratorsConfiguration({ absolutePathToWorkspace }) {
590574
590978
  }
590575
590979
 
590576
590980
  // ../configuration-loader/lib/getFernDirectory.js
590577
- init_lib6();
590981
+ init_lib7();
590578
590982
 
590579
590983
  // ../../../node_modules/.pnpm/find-up@6.3.0/node_modules/find-up/index.js
590580
590984
  var import_node_path8 = __toESM(require("path"), 1);
@@ -590826,7 +591230,7 @@ async function getFernDirectory(nameOverride) {
590826
591230
  }
590827
591231
 
590828
591232
  // ../fern-definition/validator/lib/validateFernWorkspace.js
590829
- init_lib6();
591233
+ init_lib7();
590830
591234
 
590831
591235
  // ../fern-definition/validator/lib/createDefinitionFileAstVisitorForRules.js
590832
591236
  function createDefinitionFileAstVisitorForRules({ relativeFilepath, contents, allRuleVisitors, addViolations }) {
@@ -597026,7 +597430,7 @@ function generateUniqueName(id2, existingIds) {
597026
597430
  }
597027
597431
 
597028
597432
  // ../generation/ir-generator/lib/utils/convertToFernFilepath.js
597029
- init_lib5();
597433
+ init_lib6();
597030
597434
  function convertToFernFilepath({ relativeFilepath, casingsGenerator }) {
597031
597435
  const pathToPackage = dirname5(relativeFilepath);
597032
597436
  const filename = basename3(relativeFilepath, { stripExtension: true });
@@ -597045,7 +597449,7 @@ function convertToFernFilepath({ relativeFilepath, casingsGenerator }) {
597045
597449
  }
597046
597450
 
597047
597451
  // ../generation/ir-generator/lib/utils/getResolvedPathOfImportedFile.js
597048
- init_lib5();
597452
+ init_lib6();
597049
597453
  function getResolvedPathOfImportedFile({ referencedIn, importPath }) {
597050
597454
  return join7(dirname5(referencedIn), importPath);
597051
597455
  }
@@ -598038,7 +598442,7 @@ init_lib4();
598038
598442
  init_lodash();
598039
598443
 
598040
598444
  // ../generation/ir-generator/lib/FernFileContext.js
598041
- init_lib5();
598445
+ init_lib6();
598042
598446
  init_lodash();
598043
598447
 
598044
598448
  // ../generation/ir-generator/lib/utils/parseInlineType.js
@@ -601685,7 +602089,7 @@ __export(examples_exports6, {
601685
602089
 
601686
602090
  // ../generation/ir-generator/lib/generateIntermediateRepresentation.js
601687
602091
  init_lib4();
601688
- init_lib5();
602092
+ init_lib6();
601689
602093
 
601690
602094
  // ../generation/ir-generator/lib/converters/constants.js
601691
602095
  function generateFernConstants(casingsGenerator) {
@@ -605499,7 +605903,7 @@ function isHttpInlineRequestBodySchema(body) {
605499
605903
  }
605500
605904
 
605501
605905
  // ../fern-definition/validator/lib/rules/import-file-exists/import-file-exists.js
605502
- init_lib6();
605906
+ init_lib7();
605503
605907
  var ImportFileExistsRule = {
605504
605908
  name: "import-file-exists",
605505
605909
  create: ({ workspace }) => {
@@ -605586,7 +605990,7 @@ var MatchingEnvironmentUrlsRule = {
605586
605990
 
605587
605991
  // ../fern-definition/validator/lib/rules/no-circular-imports/no-circular-imports.js
605588
605992
  init_lib4();
605589
- init_lib6();
605993
+ init_lib7();
605590
605994
  var NoCircularImportsRule = {
605591
605995
  name: "no-circular-imports",
605592
605996
  DISABLE_RULE: true,
@@ -606794,7 +607198,7 @@ function isRawObjectDefinition2(namedDeclaration) {
606794
607198
  }
606795
607199
 
606796
607200
  // ../fern-definition/validator/lib/rules/no-undefined-error-reference/no-undefined-error-reference.js
606797
- init_lib6();
607201
+ init_lib7();
606798
607202
  init_lodash();
606799
607203
  var NoUndefinedErrorReferenceRule = {
606800
607204
  name: "no-undefined-error-reference",
@@ -606965,7 +607369,7 @@ function getDifference(setA, setB) {
606965
607369
  }
606966
607370
 
606967
607371
  // ../fern-definition/validator/lib/rules/no-undefined-type-reference/no-undefined-type-reference.js
606968
- init_lib6();
607372
+ init_lib7();
606969
607373
  init_lodash();
606970
607374
  var NoUndefinedTypeReferenceRule = {
606971
607375
  name: "no-undefined-type-reference",
@@ -608069,7 +608473,7 @@ function getGenericArgumentCounts(workspace) {
608069
608473
 
608070
608474
  // ../fern-definition/validator/lib/rules/valid-navigation/valid-navigation.js
608071
608475
  init_lib4();
608072
- init_lib6();
608476
+ init_lib7();
608073
608477
  var import_path26 = __toESM(require("path"), 1);
608074
608478
  var ValidNavigationRule = {
608075
608479
  name: "valid-navigation",
@@ -610088,7 +610492,7 @@ function validatePackageMarker({ relativeFilepath, contents, allRuleVisitors })
610088
610492
  }
610089
610493
 
610090
610494
  // ../cli-v2/lib/api/validator/ApiDefinitionValidator.js
610091
- init_lib6();
610495
+ init_lib7();
610092
610496
 
610093
610497
  // ../api-importers/conjure/conjure-sdk/lib/sdk/api/resources/services/types/ConjureAuthDefinitionType.js
610094
610498
  var ConjureAuthDefinitionType = {
@@ -611698,10 +612102,10 @@ __export(types_exports9, {
611698
612102
 
611699
612103
  // ../api-importers/conjure/conjure-to-fern/lib/ConjureImporter.js
611700
612104
  init_lib4();
611701
- init_lib6();
612105
+ init_lib7();
611702
612106
 
611703
612107
  // ../api-importers/conjure/conjure-to-fern/lib/utils/listConjureFiles.js
611704
- init_lib6();
612108
+ init_lib7();
611705
612109
  var import_promises18 = require("fs/promises");
611706
612110
  init_js_yaml();
611707
612111
  async function listConjureFiles(root6, extensionGlob) {
@@ -612022,7 +612426,7 @@ async function visitAllConjureDefinitionFiles(absolutePathToConjureFolder, visit
612022
612426
  }
612023
612427
 
612024
612428
  // ../workspace/lazy-fern-workspace/lib/ConjureWorkspace.js
612025
- init_lib6();
612429
+ init_lib7();
612026
612430
  init_js_yaml();
612027
612431
 
612028
612432
  // ../workspace/lazy-fern-workspace/lib/utils/mapValues.js
@@ -612093,7 +612497,7 @@ var ConjureWorkspace = class extends AbstractAPIWorkspace {
612093
612497
  };
612094
612498
 
612095
612499
  // ../workspace/lazy-fern-workspace/lib/LazyFernWorkspace.js
612096
- init_lib6();
612500
+ init_lib7();
612097
612501
  var import_object_hash = __toESM(require_object_hash(), 1);
612098
612502
 
612099
612503
  // ../cli-logger/lib/formatLog.js
@@ -612111,6 +612515,7 @@ function formatLog({ breadcrumbs = [], title: title2, subtitle }) {
612111
612515
 
612112
612516
  // ../cli-logger/lib/githubAnnotations.js
612113
612517
  init_lib4();
612518
+ init_lib5();
612114
612519
  function shouldEmitGithubAnnotations() {
612115
612520
  return process.env.GITHUB_ACTIONS === "true";
612116
612521
  }
@@ -612192,6 +612597,7 @@ function stripAnsi3(content5) {
612192
612597
  }
612193
612598
 
612194
612599
  // ../cli-logger/lib/logErrorMessage.js
612600
+ init_lib5();
612195
612601
  var USE_NODE_18_OR_ABOVE_MESSAGE = "The Fern CLI requires Node 18+ or above.";
612196
612602
  function logErrorMessage({ message, error: error50, logger: logger4, logLevel = LogLevel.Error }) {
612197
612603
  if (message != null) {
@@ -612228,6 +612634,7 @@ function convertErrorToString(error50) {
612228
612634
 
612229
612635
  // ../cli-logger/lib/TtyAwareLogger.js
612230
612636
  init_lib4();
612637
+ init_lib5();
612231
612638
 
612232
612639
  // ../../../node_modules/.pnpm/ansi-escapes@5.0.0/node_modules/ansi-escapes/index.js
612233
612640
  var ESC = "\x1B[";
@@ -613195,7 +613602,7 @@ function parseZodIssue(issue2) {
613195
613602
  }
613196
613603
 
613197
613604
  // ../workspace/lazy-fern-workspace/lib/utils/listFernFiles.js
613198
- init_lib6();
613605
+ init_lib7();
613199
613606
  var import_promises19 = require("fs/promises");
613200
613607
  async function listFernFiles(root6, extensionGlob) {
613201
613608
  const absoluteFilepaths = await listFiles(root6, extensionGlob);
@@ -613249,7 +613656,7 @@ async function parseYamlFiles(files) {
613249
613656
 
613250
613657
  // ../workspace/lazy-fern-workspace/lib/utils/processPackageMarkers.js
613251
613658
  init_lib4();
613252
- init_lib6();
613659
+ init_lib7();
613253
613660
  init_lodash();
613254
613661
 
613255
613662
  // ../../core/lib/services/fdr.js
@@ -620104,7 +620511,7 @@ function createVenusService({ environment: environment2 = "https://venus-dev2.bu
620104
620511
 
620105
620512
  // ../workspace/lazy-fern-workspace/lib/utils/loadDependency.js
620106
620513
  init_lib4();
620107
- init_lib6();
620514
+ init_lib7();
620108
620515
 
620109
620516
  // ../../../node_modules/.pnpm/semver-diff@4.0.0/node_modules/semver-diff/index.js
620110
620517
  var import_semver11 = __toESM(require_semver2(), 1);
@@ -627910,7 +628317,7 @@ async function processPackageMarkers({ dependenciesConfiguration, structuralVali
627910
628317
 
627911
628318
  // ../workspace/lazy-fern-workspace/lib/utils/validateStructureOfYamlFiles.js
627912
628319
  init_lib4();
627913
- init_lib6();
628320
+ init_lib7();
627914
628321
  var import_path32 = __toESM(require("path"), 1);
627915
628322
 
627916
628323
  // ../workspace/lazy-fern-workspace/lib/api-yml.schema.json
@@ -638765,7 +639172,7 @@ var LazyFernWorkspace = class extends AbstractAPIWorkspace {
638765
639172
  };
638766
639173
 
638767
639174
  // ../workspace/lazy-fern-workspace/lib/loaders/OpenAPILoader.js
638768
- init_lib6();
639175
+ init_lib7();
638769
639176
  var import_promises30 = require("fs/promises");
638770
639177
 
638771
639178
  // ../workspace/lazy-fern-workspace/lib/utils/convertOpenAPIV2ToV3.js
@@ -639012,7 +639419,7 @@ async function loadAsyncAPI({ context: context3, absoluteFilePath, absoluteFileP
639012
639419
 
639013
639420
  // ../workspace/lazy-fern-workspace/lib/utils/loadOpenAPI.js
639014
639421
  var import_node_path18 = __toESM(require("path"), 1);
639015
- init_lib6();
639422
+ init_lib7();
639016
639423
  var import_promises29 = require("fs/promises");
639017
639424
  init_js_yaml();
639018
639425
 
@@ -639102,7 +639509,7 @@ var import_promises27 = require("fs/promises");
639102
639509
  init_js_yaml();
639103
639510
 
639104
639511
  // ../workspace/lazy-fern-workspace/lib/loaders/OpenAPIRefResolver.js
639105
- init_lib6();
639512
+ init_lib7();
639106
639513
  var import_openapi_core2 = __toESM(require_lib2(), 1);
639107
639514
  var import_path36 = __toESM(require("path"), 1);
639108
639515
  var OpenAPIRefResolver = class extends import_openapi_core2.BaseResolver {
@@ -639684,7 +640091,8 @@ init_js_yaml();
639684
640091
  init_lodash();
639685
640092
 
639686
640093
  // ../api-importers/v3-importer-commons/lib/ErrorCollector.js
639687
- init_lib6();
640094
+ init_lib7();
640095
+ init_lib5();
639688
640096
  var import_promises31 = require("fs/promises");
639689
640097
  init_js_yaml();
639690
640098
 
@@ -647108,7 +647516,7 @@ var AsyncAPIConverterContext = class extends AbstractConverterContext {
647108
647516
 
647109
647517
  // ../workspace/lazy-fern-workspace/lib/OSSWorkspace.js
647110
647518
  init_lib4();
647111
- init_lib6();
647519
+ init_lib7();
647112
647520
 
647113
647521
  // ../api-importers/openapi-to-ir/lib/3.1/OpenAPIConverter.js
647114
647522
  var import_openapi_types2 = __toESM(require_dist10(), 1);
@@ -651533,21 +651941,21 @@ async function loadOpenRpc({ context: context3, absoluteFilePath, absoluteFilePa
651533
651941
  }
651534
651942
 
651535
651943
  // ../workspace/lazy-fern-workspace/lib/protobuf/ProtobufIRGenerator.js
651536
- init_lib6();
651537
- init_lib10();
651944
+ init_lib7();
651945
+ init_lib11();
651538
651946
  var import_promises35 = require("fs/promises");
651539
651947
  var import_path41 = __toESM(require("path"), 1);
651540
651948
  var import_tmp_promise6 = __toESM(require_tmp_promise(), 1);
651541
651949
 
651542
651950
  // ../workspace/lazy-fern-workspace/lib/protobuf/utils.js
651543
651951
  init_lib4();
651544
- init_lib6();
651545
- init_lib10();
651952
+ init_lib7();
651953
+ init_lib11();
651546
651954
  var import_promises34 = require("fs/promises");
651547
651955
  var import_tmp_promise5 = __toESM(require_tmp_promise(), 1);
651548
651956
 
651549
651957
  // ../workspace/lazy-fern-workspace/lib/protobuf/BufDownloader.js
651550
- init_lib6();
651958
+ init_lib7();
651551
651959
  var import_promises33 = require("fs/promises");
651552
651960
  var import_os2 = __toESM(require("os"), 1);
651553
651961
  var import_path40 = __toESM(require("path"), 1);
@@ -652110,17 +652518,17 @@ var ProtobufIRGenerator = class {
652110
652518
  };
652111
652519
 
652112
652520
  // ../workspace/lazy-fern-workspace/lib/utils/getAllOpenAPISpecs.js
652113
- init_lib6();
652521
+ init_lib7();
652114
652522
 
652115
652523
  // ../workspace/lazy-fern-workspace/lib/protobuf/ProtobufOpenAPIGenerator.js
652116
- init_lib6();
652117
- init_lib10();
652524
+ init_lib7();
652525
+ init_lib11();
652118
652526
  var import_promises37 = require("fs/promises");
652119
652527
  var import_path43 = __toESM(require("path"), 1);
652120
652528
  var import_tmp_promise7 = __toESM(require_tmp_promise(), 1);
652121
652529
 
652122
652530
  // ../workspace/lazy-fern-workspace/lib/protobuf/ProtocGenOpenAPIDownloader.js
652123
- init_lib6();
652531
+ init_lib7();
652124
652532
  var import_promises36 = require("fs/promises");
652125
652533
  var import_os3 = __toESM(require("os"), 1);
652126
652534
  var import_path42 = __toESM(require("path"), 1);
@@ -652767,7 +653175,7 @@ var OSSWorkspace = class _OSSWorkspace extends BaseOpenAPIWorkspace {
652767
653175
  return Object.keys(this.graphqlTypes).length;
652768
653176
  }
652769
653177
  async processGraphQLSpecs(context3) {
652770
- const { GraphQLConverter: GraphQLConverter2 } = await Promise.resolve().then(() => (init_lib11(), lib_exports8));
653178
+ const { GraphQLConverter: GraphQLConverter2 } = await Promise.resolve().then(() => (init_lib12(), lib_exports9));
652771
653179
  const graphqlSpecs = this.allSpecs.filter((spec) => spec.type === "graphql");
652772
653180
  for (const spec of graphqlSpecs) {
652773
653181
  try {
@@ -653159,7 +653567,7 @@ async function getAuthFromOverrideFiles(specs) {
653159
653567
  var import_promises40 = require("fs/promises");
653160
653568
 
653161
653569
  // ../workspace/oss-validator/lib/rules/no-component-schema-collisions/no-component-schema-collisions.js
653162
- init_lib6();
653570
+ init_lib7();
653163
653571
  var NoComponentSchemaCollisionsRule = {
653164
653572
  name: "no-component-schema-collisions",
653165
653573
  run: async ({ workspace, specs, loadedDocuments }) => {
@@ -653201,7 +653609,7 @@ var NoComponentSchemaCollisionsRule = {
653201
653609
  };
653202
653610
 
653203
653611
  // ../workspace/oss-validator/lib/rules/no-conflicting-parameter-names/no-conflicting-parameter-names.js
653204
- init_lib6();
653612
+ init_lib7();
653205
653613
  var NoConflictingParameterNamesRule = {
653206
653614
  name: "no-conflicting-parameter-names",
653207
653615
  run: async ({ workspace, specs, loadedDocuments }) => {
@@ -653325,7 +653733,7 @@ function toCamelCase3(input3) {
653325
653733
  }
653326
653734
 
653327
653735
  // ../workspace/oss-validator/lib/rules/no-duplicate-auth-header-parameters/no-duplicate-auth-header-parameters.js
653328
- init_lib6();
653736
+ init_lib7();
653329
653737
  var NoDuplicateAuthHeaderParametersRule = {
653330
653738
  name: "no-duplicate-auth-header-parameters",
653331
653739
  run: async ({ workspace, specs, loadedDocuments }) => {
@@ -653445,7 +653853,7 @@ function isDuplicateAuthHeader(param, authHeaderNames) {
653445
653853
  }
653446
653854
 
653447
653855
  // ../workspace/oss-validator/lib/rules/no-duplicate-overrides/no-duplicate-overrides.js
653448
- init_lib6();
653856
+ init_lib7();
653449
653857
  var NoDuplicateOverridesRule = {
653450
653858
  name: "no-duplicate-overrides",
653451
653859
  run: async ({ workspace, specs, loadedDocuments }) => {
@@ -653504,7 +653912,7 @@ function audiencesIntersect(a3, b8) {
653504
653912
  }
653505
653913
 
653506
653914
  // ../workspace/oss-validator/lib/rules/no-invalid-tag-names-or-frontmatter/no-invalid-tag-names-or-frontmatter.js
653507
- init_lib6();
653915
+ init_lib7();
653508
653916
  var NON_ASCII_REGEX2 = new RegExp("[^\\x00-\\x7F]");
653509
653917
  var FRONTMATTER_REGEX = /(?:^|\n)\s*---\s*(?:\n|$)/;
653510
653918
  var HTTP_METHODS = ["get", "post", "put", "delete", "patch", "options", "head", "trace"];
@@ -653585,7 +653993,7 @@ var NoInvalidTagNamesOrFrontmatterRule = {
653585
653993
  };
653586
653994
 
653587
653995
  // ../workspace/oss-validator/lib/rules/no-schema-title-collisions/no-schema-title-collisions.js
653588
- init_lib6();
653996
+ init_lib7();
653589
653997
  var NoSchemaTitleCollisionsRule = {
653590
653998
  name: "no-schema-title-collisions",
653591
653999
  run: async ({ workspace, specs, loadedDocuments }) => {
@@ -653675,6 +654083,12 @@ async function runRulesOnOSSWorkspace({ workspace, context: context3, rules }) {
653675
654083
  return ruleResults.flat();
653676
654084
  }
653677
654085
 
654086
+ // ../cli-v2/lib/context/adapter/TaskContextAdapter.js
654087
+ init_lib5();
654088
+
654089
+ // ../cli-v2/lib/context/withContext.js
654090
+ init_lib5();
654091
+
653678
654092
  // ../cli-v2/lib/auth/errors/KeyringUnavailableError.js
653679
654093
  var KeyringUnavailableError = class _KeyringUnavailableError extends CliError {
653680
654094
  platform;
@@ -653870,7 +654284,7 @@ async function createOrganizationIfDoesNotExist({ organization, token, context:
653870
654284
  }
653871
654285
 
653872
654286
  // ../auth/lib/persistence/getPathToTokenFile.js
653873
- init_lib6();
654287
+ init_lib7();
653874
654288
  var import_os4 = require("os");
653875
654289
  var TOKEN_FILENAME = "token";
653876
654290
  var LOCAL_STORAGE_FOLDER2 = ".fern-dev";
@@ -653879,7 +654293,7 @@ function getPathToTokenFile() {
653879
654293
  }
653880
654294
 
653881
654295
  // ../auth/lib/persistence/getToken.js
653882
- init_lib6();
654296
+ init_lib7();
653883
654297
  var import_promises41 = require("fs/promises");
653884
654298
  var FERN_TOKEN_ENV_VAR = "FERN_TOKEN";
653885
654299
  async function getToken2() {
@@ -654892,7 +655306,8 @@ function resolveOutputObjectSchema(output2) {
654892
655306
  }
654893
655307
 
654894
655308
  // ../cli-v2/lib/context/Context.js
654895
- init_lib6();
655309
+ init_lib7();
655310
+ init_lib5();
654896
655311
 
654897
655312
  // ../../../node_modules/.pnpm/inquirer@9.3.8_@types+node@22.19.17/node_modules/inquirer/lib/prompts/list.js
654898
655313
  var import_ansi_escapes4 = __toESM(require_ansi_escapes(), 1);
@@ -661339,7 +661754,7 @@ var AccessTokenPosthogManager = class {
661339
661754
  properties: {
661340
661755
  ...event,
661341
661756
  ...event.properties,
661342
- version: "5.22.1",
661757
+ version: "5.23.0-1-gebd00e05a4f",
661343
661758
  usingAccessToken: true,
661344
661759
  ...getRunIdProperties()
661345
661760
  }
@@ -661365,7 +661780,7 @@ var NoopPosthogManager = class {
661365
661780
  };
661366
661781
 
661367
661782
  // ../posthog-manager/lib/UserPosthogManager.js
661368
- init_lib6();
661783
+ init_lib7();
661369
661784
  var import_promises44 = require("fs/promises");
661370
661785
  var import_os5 = require("os");
661371
661786
  var import_path46 = require("path");
@@ -661394,7 +661809,7 @@ var UserPosthogManager = class {
661394
661809
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
661395
661810
  event: "CLI",
661396
661811
  properties: {
661397
- version: "5.22.1",
661812
+ version: "5.23.0-1-gebd00e05a4f",
661398
661813
  ...event,
661399
661814
  ...event.properties,
661400
661815
  usingAccessToken: false,
@@ -662964,7 +663379,7 @@ function constructAuth0LogoutUrl(returnTo) {
662964
663379
  var import_promises52 = require("fs/promises");
662965
663380
 
662966
663381
  // ../cli-v2/lib/auth/PlatformKeyring.js
662967
- init_lib10();
663382
+ init_lib11();
662968
663383
  var PlatformKeyring = class {
662969
663384
  async setPassword(service, account, password) {
662970
663385
  switch (process.platform) {
@@ -663405,7 +663820,7 @@ var FernRcAccountManager = class {
663405
663820
  };
663406
663821
 
663407
663822
  // ../cli-v2/lib/config/fern-rc/FernRcSchemaLoader.js
663408
- init_lib6();
663823
+ init_lib7();
663409
663824
  var import_fs21 = require("fs");
663410
663825
  var import_promises45 = require("fs/promises");
663411
663826
  init_js_yaml();
@@ -663554,7 +663969,7 @@ var FernRcTelemetryManager = class {
663554
663969
  };
663555
663970
 
663556
663971
  // ../cli-v2/lib/config/fern-rc/LegacyTokenMigrator.js
663557
- init_lib6();
663972
+ init_lib7();
663558
663973
  var import_promises46 = require("fs/promises");
663559
663974
  var DEFAULT_USER = "default";
663560
663975
  var LegacyTokenMigrator = class {
@@ -663812,11 +664227,11 @@ var TokenService = class {
663812
664227
  };
663813
664228
 
663814
664229
  // ../cli-v2/lib/cache/Cache.js
663815
- init_lib6();
664230
+ init_lib7();
663816
664231
  var import_os7 = __toESM(require("os"), 1);
663817
664232
 
663818
664233
  // ../cli-v2/lib/cache/ir/IrCache.js
663819
- init_lib6();
664234
+ init_lib7();
663820
664235
  var import_crypto5 = __toESM(require("crypto"), 1);
663821
664236
  var import_promises47 = __toESM(require("fs/promises"), 1);
663822
664237
  var IrCache = class {
@@ -664195,10 +664610,10 @@ var Cache = class {
664195
664610
  };
664196
664611
 
664197
664612
  // ../cli-v2/lib/config/fern-yml/FernYmlSchemaLoader.js
664198
- init_lib6();
664613
+ init_lib7();
664199
664614
 
664200
664615
  // ../yaml/loader/lib/ReferenceResolver.js
664201
- init_lib6();
664616
+ init_lib7();
664202
664617
 
664203
664618
  // ../source/lib/constants.js
664204
664619
  var LOCATION_PROPERTY = "$loc";
@@ -664802,7 +665217,7 @@ var ReferenceResolver = class {
664802
665217
 
664803
665218
  // ../yaml/loader/lib/YamlConfigLoader.js
664804
665219
  init_lib4();
664805
- init_lib6();
665220
+ init_lib7();
664806
665221
 
664807
665222
  // ../yaml/loader/lib/deepStrict.js
664808
665223
  function deepStrict(schema2) {
@@ -664877,7 +665292,7 @@ function deepStrictImpl(schema2, cache2) {
664877
665292
  }
664878
665293
 
664879
665294
  // ../yaml/loader/lib/YamlParser.js
664880
- init_lib5();
665295
+ init_lib6();
664881
665296
  var import_promises50 = require("fs/promises");
664882
665297
  var import_yaml3 = __toESM(require_dist9(), 1);
664883
665298
  var YamlParser = class {
@@ -665130,7 +665545,7 @@ var YamlConfigLoader = class {
665130
665545
  };
665131
665546
 
665132
665547
  // ../cli-v2/lib/config/FileFinder.js
665133
- init_lib6();
665548
+ init_lib7();
665134
665549
  var FileFinder = class {
665135
665550
  from;
665136
665551
  constructor(options2) {
@@ -665230,7 +665645,7 @@ var FernYmlSchemaLoader = class {
665230
665645
  };
665231
665646
 
665232
665647
  // ../cli-v2/lib/telemetry/TelemetryClient.js
665233
- init_lib6();
665648
+ init_lib7();
665234
665649
  var import_promises51 = require("fs/promises");
665235
665650
  var import_is_ci2 = __toESM(require_is_ci(), 1);
665236
665651
  var os10 = __toESM(require("os"), 1);
@@ -665553,7 +665968,7 @@ var TtyAwareLogger2 = class {
665553
665968
  };
665554
665969
 
665555
665970
  // ../cli-v2/lib/api/config/converter/ApiDefinitionConverter.js
665556
- init_lib6();
665971
+ init_lib7();
665557
665972
  var DEFAULT_API_NAME = "api";
665558
665973
  var ApiDefinitionConverter = class {
665559
665974
  cwd;
@@ -666399,7 +666814,7 @@ function parseFlags(argv) {
666399
666814
  }
666400
666815
 
666401
666816
  // ../cli-v2/lib/context/LogFileWriter.js
666402
- init_lib6();
666817
+ init_lib7();
666403
666818
  var import_fs22 = require("fs");
666404
666819
  var LogFileWriter = class {
666405
666820
  absoluteFilePath;
@@ -666892,6 +667307,7 @@ function parseLogLevel(level) {
666892
667307
  }
666893
667308
 
666894
667309
  // ../cli-v2/lib/context/adapter/TaskContextLogger.js
667310
+ init_lib5();
666895
667311
  var TaskContextLogger = class {
666896
667312
  context;
666897
667313
  task;
@@ -667159,7 +667575,7 @@ var TaskContextAdapter = class {
667159
667575
  };
667160
667576
 
667161
667577
  // ../cli-v2/lib/api/adapter/LegacyApiSpecAdapter.js
667162
- init_lib6();
667578
+ init_lib7();
667163
667579
 
667164
667580
  // ../cli-v2/lib/api/config/GraphQlSpec.js
667165
667581
  function isGraphQlSpec(spec) {
@@ -667817,7 +668233,7 @@ function addCheckCommand(cli) {
667817
668233
  }
667818
668234
 
667819
668235
  // ../cli-source-resolver/lib/SourceResolverImpl.js
667820
- init_lib6();
668236
+ init_lib7();
667821
668237
 
667822
668238
  // ../cli-source-resolver/lib/parsers/ProtobufParser.js
667823
668239
  var import_fs24 = require("fs");
@@ -806142,7 +806558,7 @@ function migrateIntermediateRepresentationThroughVersion({ intermediateRepresent
806142
806558
  }
806143
806559
 
806144
806560
  // ../cli-v2/lib/api/adapter/LegacyFernWorkspaceAdapter.js
806145
- init_lib6();
806561
+ init_lib7();
806146
806562
 
806147
806563
  // ../cli-v2/lib/api/adapter/LegacyOSSWorkspaceAdapter.js
806148
806564
  var LegacyOSSWorkspaceAdapter = class {
@@ -806340,7 +806756,7 @@ var IrCompiler = class {
806340
806756
  };
806341
806757
 
806342
806758
  // ../cli-v2/lib/io/stdio.js
806343
- init_lib6();
806759
+ init_lib7();
806344
806760
  var import_promises53 = require("fs/promises");
806345
806761
  init_esm15();
806346
806762
  var import_stream8 = require("stream");
@@ -806524,7 +806940,7 @@ var FERN_YML_FILENAME = "fern.yml";
806524
806940
  var REF_KEY2 = "$ref";
806525
806941
 
806526
806942
  // ../cli-v2/lib/config/fern-yml/FernYmlEditor.js
806527
- init_lib6();
806943
+ init_lib7();
806528
806944
  var import_promises55 = require("fs/promises");
806529
806945
  var import_path49 = __toESM(require("path"), 1);
806530
806946
  var import_yaml4 = __toESM(require_dist9(), 1);
@@ -807282,7 +807698,7 @@ var import_path51 = __toESM(require("path"), 1);
807282
807698
  var import_util17 = require("util");
807283
807699
 
807284
807700
  // ../cli-v2/lib/commands/api/split/deriveOutputPath.js
807285
- init_lib6();
807701
+ init_lib7();
807286
807702
  var OVERLAY_NAME = "overlay";
807287
807703
  var OVERLAY_NAME_ALTERNATIVES = ["overlays"];
807288
807704
  var OVERRIDES_NAME = "overrides";
@@ -807551,6 +807967,7 @@ function addApiCommand(cli) {
807551
807967
  }
807552
807968
 
807553
807969
  // ../cli-v2/lib/commands/auth/login/command.js
807970
+ init_lib5();
807554
807971
  var LoginCommand = class {
807555
807972
  async handle(context3, args) {
807556
807973
  const useDeviceCodeFlow = args["device-code"];
@@ -808162,7 +808579,7 @@ function isClaudeCodeSession() {
808162
808579
  init_lib4();
808163
808580
 
808164
808581
  // ../docs-resolver/lib/index.js
808165
- init_lib39();
808582
+ init_lib40();
808166
808583
 
808167
808584
  // ../docs-resolver/lib/applyTranslatedFrontmatterToNavTree.js
808168
808585
  var import_gray_matter5 = __toESM(require_gray_matter(), 1);
@@ -808608,10 +809025,10 @@ function applyVariantOverlays(variants, overlays) {
808608
809025
 
808609
809026
  // ../docs-resolver/lib/DocsDefinitionResolver.js
808610
809027
  init_lib4();
808611
- init_lib39();
809028
+ init_lib40();
808612
809029
  init_js();
808613
- init_lib6();
808614
- init_lib11();
809030
+ init_lib7();
809031
+ init_lib12();
808615
809032
  var import_dayjs3 = __toESM(require_dayjs_min(), 1);
808616
809033
  var import_utc3 = __toESM(require_utc(), 1);
808617
809034
  var import_fs25 = require("fs");
@@ -808623,7 +809040,7 @@ init_lodash();
808623
809040
  // ../docs-resolver/lib/ApiReferenceNodeConverter.js
808624
809041
  init_lib4();
808625
809042
  init_js();
808626
- init_lib6();
809043
+ init_lib7();
808627
809044
 
808628
809045
  // ../../../node_modules/.pnpm/@fern-api+ui-core-utils@0.145.12-b50d999d1/node_modules/@fern-api/ui-core-utils/dist/assertNever.js
808629
809046
  function assertNever4(x5) {
@@ -808931,7 +809348,7 @@ function getBasePath(environment2) {
808931
809348
 
808932
809349
  // ../docs-resolver/lib/ChangelogNodeConverter.js
808933
809350
  init_js();
808934
- init_lib6();
809351
+ init_lib7();
808935
809352
  var import_dayjs2 = __toESM(require_dayjs_min(), 1);
808936
809353
  var import_utc2 = __toESM(require_utc(), 1);
808937
809354
  init_lodash();
@@ -811096,7 +811513,7 @@ init_js();
811096
811513
  init_lodash();
811097
811514
 
811098
811515
  // ../docs-resolver/lib/utils/toRelativeFilepath.js
811099
- init_lib6();
811516
+ init_lib7();
811100
811517
  function toRelativeFilepath(docsWorkspace, filepath) {
811101
811518
  if (filepath == null) {
811102
811519
  return void 0;
@@ -813092,7 +813509,7 @@ var SpinnerStatusCoordinator = class _SpinnerStatusCoordinator {
813092
813509
  };
813093
813510
 
813094
813511
  // ../register/lib/ai-example-enhancer/validateAiExamples.js
813095
- init_lib6();
813512
+ init_lib7();
813096
813513
  var import_promises61 = require("fs/promises");
813097
813514
  init_js_yaml();
813098
813515
  async function parseAiExamplesOverride(sourceFilePath, context3) {
@@ -813251,7 +813668,7 @@ async function removeInvalidAiExamples({ sourceFilePath, context: context3 }) {
813251
813668
  }
813252
813669
 
813253
813670
  // ../register/lib/ai-example-enhancer/writeAiExamplesOverride.js
813254
- init_lib6();
813671
+ init_lib7();
813255
813672
  var import_promises62 = require("fs/promises");
813256
813673
  init_js_yaml();
813257
813674
  async function loadExistingOverrideCoverage(sourceFilePath, context3) {
@@ -816503,7 +816920,7 @@ async function collectIconsFromNavigationItem({ item, filepaths }) {
816503
816920
  }
816504
816921
 
816505
816922
  // ../docs-resolver/lib/utils/resolveDescriptionLinks.js
816506
- init_lib39();
816923
+ init_lib40();
816507
816924
  function resolveLinksInMarkdownString(markdown, markdownFilesToPathName, metadata) {
816508
816925
  return markdown.replace(/\[([^\]]*)\]\(([^)]+\.mdx?(?:#[^)]*)?)\)/g, (match3, text9, fullHref) => {
816509
816926
  const hashIndex = fullHref.indexOf("#");
@@ -818382,7 +818799,7 @@ function convertAvailability5(availability) {
818382
818799
  }
818383
818800
 
818384
818801
  // ../docs-resolver/lib/stitchGlobalTheme.js
818385
- init_lib6();
818802
+ init_lib7();
818386
818803
  var import_promises65 = require("fs/promises");
818387
818804
  var import_mime_types = __toESM(require_mime_types(), 1);
818388
818805
  var import_path54 = __toESM(require("path"), 1);
@@ -820755,7 +821172,7 @@ async function validateVersionConfigFileSchema({ value: value2 }) {
820755
821172
 
820756
821173
  // ../yaml/docs-validator/lib/docsAst/visitDocsConfigFileYamlAst.js
820757
821174
  init_lib4();
820758
- init_lib6();
821175
+ init_lib7();
820759
821176
  var import_promises67 = require("fs/promises");
820760
821177
  init_js_yaml();
820761
821178
 
@@ -822821,7 +823238,7 @@ async function validateProductConfigFileSchema({ value: value2 }) {
822821
823238
  }
822822
823239
 
822823
823240
  // ../yaml/docs-validator/lib/docsAst/visitFilepath.js
822824
- init_lib6();
823241
+ init_lib7();
822825
823242
  async function visitFilepath({ absoluteFilepathToConfiguration, rawUnresolvedFilepath, visitor, nodePath, willBeUploaded = true }) {
822826
823243
  const absoluteFilepath = resolve6(dirname6(absoluteFilepathToConfiguration), rawUnresolvedFilepath);
822827
823244
  await visitor.filepath?.(
@@ -822837,8 +823254,8 @@ async function visitFilepath({ absoluteFilepathToConfiguration, rawUnresolvedFil
822837
823254
 
822838
823255
  // ../yaml/docs-validator/lib/docsAst/visitNavigationAst.js
822839
823256
  init_lib4();
822840
- init_lib39();
822841
- init_lib6();
823257
+ init_lib40();
823258
+ init_lib7();
822842
823259
  var import_promises66 = require("fs/promises");
822843
823260
 
822844
823261
  // ../yaml/docs-validator/lib/utils/asyncPool.js
@@ -823628,7 +824045,7 @@ var AllRolesMustBeDeclaredRule = {
823628
824045
  };
823629
824046
 
823630
824047
  // ../yaml/docs-validator/lib/rules/filepaths-exist/filepaths-exist.js
823631
- init_lib6();
824048
+ init_lib7();
823632
824049
  var FilepathsExistRule = {
823633
824050
  name: "filepaths-exist",
823634
824051
  create: () => {
@@ -823651,6 +824068,7 @@ var FilepathsExistRule = {
823651
824068
  // ../yaml/docs-validator/lib/rules/missing-redirects/missing-redirects.js
823652
824069
  init_lib4();
823653
824070
  init_js();
824071
+ init_lib5();
823654
824072
 
823655
824073
  // ../yaml/docs-validator/lib/rules/valid-markdown-link/url-utils.js
823656
824074
  function stripAnchorsAndSearchParams(pathnameWithAnchorsOrSearchParams) {
@@ -824468,7 +824886,7 @@ function tabbedNavigationItemHasVariants4(item) {
824468
824886
  }
824469
824887
 
824470
824888
  // ../yaml/docs-validator/lib/rules/translation-directories-exist/translation-directories-exist.js
824471
- init_lib6();
824889
+ init_lib7();
824472
824890
  var TranslationDirectoriesExistRule = {
824473
824891
  name: "translation-directories-exist",
824474
824892
  create: ({ workspace }) => {
@@ -824750,7 +825168,7 @@ function validEndpoint(endpoint3) {
824750
825168
  }
824751
825169
 
824752
825170
  // ../yaml/docs-validator/lib/rules/valid-file-types/valid-file-types.js
824753
- init_lib6();
825171
+ init_lib7();
824754
825172
  var import_chardet2 = __toESM(require_lib9(), 1);
824755
825173
 
824756
825174
  // ../../../node_modules/.pnpm/file-type@21.3.4/node_modules/file-type/index.js
@@ -828823,8 +829241,8 @@ var ValidFrontmatter = {
828823
829241
 
828824
829242
  // ../yaml/docs-validator/lib/rules/valid-markdown/valid-markdown.js
828825
829243
  init_lib4();
828826
- init_lib39();
828827
- init_lib6();
829244
+ init_lib40();
829245
+ init_lib7();
828828
829246
 
828829
829247
  // ../../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.js
828830
829248
  init_vfile_message();
@@ -845615,8 +846033,8 @@ async function parseMarkdown({ markdown, absoluteFilepath, absolutePathToFernFol
845615
846033
  }
845616
846034
 
845617
846035
  // ../yaml/docs-validator/lib/rules/valid-markdown-file-reference/valid-markdown-file-reference.js
845618
- init_lib39();
845619
- init_lib6();
846036
+ init_lib40();
846037
+ init_lib7();
845620
846038
  var import_promises73 = require("fs/promises");
845621
846039
  var import_gray_matter8 = __toESM(require_gray_matter(), 1);
845622
846040
  init_unist_util_visit();
@@ -845666,14 +846084,15 @@ var ValidMarkdownFileReferences = {
845666
846084
 
845667
846085
  // ../yaml/docs-validator/lib/rules/valid-markdown-link/valid-markdown-link.js
845668
846086
  init_lib4();
845669
- init_lib39();
846087
+ init_lib40();
845670
846088
  init_js();
845671
- init_lib6();
846089
+ init_lib7();
846090
+ init_lib5();
845672
846091
  var import_crypto7 = require("crypto");
845673
846092
  var import_path56 = __toESM(require("path"), 1);
845674
846093
 
845675
846094
  // ../yaml/docs-validator/lib/rules/valid-markdown-link/check-if-pathname-exists.js
845676
- init_lib6();
846095
+ init_lib7();
845677
846096
 
845678
846097
  // ../yaml/docs-validator/lib/rules/valid-markdown-link/redirect-for-path.js
845679
846098
  var import_url_join22 = __toESM(require_url_join(), 1);
@@ -845841,8 +846260,8 @@ function isExternalUrl2(path107) {
845841
846260
 
845842
846261
  // ../yaml/docs-validator/lib/rules/valid-markdown-link/collect-links.js
845843
846262
  var import_node_fs14 = require("fs");
845844
- init_lib39();
845845
- init_lib6();
846263
+ init_lib40();
846264
+ init_lib7();
845846
846265
  init_src();
845847
846266
  init_unist_util_visit();
845848
846267
  var MDX_NODE_TYPES = [
@@ -846669,10 +847088,10 @@ var ValidateVersionFileRule = {
846669
847088
 
846670
847089
  // ../yaml/docs-validator/lib/validateDocsWorkspace.js
846671
847090
  init_lib4();
846672
- init_lib6();
847091
+ init_lib7();
846673
847092
 
846674
847093
  // ../yaml/docs-validator/lib/createDocsConfigFileAstVisitorForRules.js
846675
- init_lib6();
847094
+ init_lib7();
846676
847095
  function createDocsConfigFileAstVisitorForRules({ relativeFilepath, allRulesWithVisitors, severityOverrides, addViolations }) {
846677
847096
  function createAstNodeVisitor(nodeType) {
846678
847097
  const visit5 = async (node4, nodePath) => {
@@ -846705,7 +847124,7 @@ function createDocsConfigFileAstVisitorForRules({ relativeFilepath, allRulesWith
846705
847124
  }
846706
847125
 
846707
847126
  // ../yaml/docs-validator/lib/rules/no-non-component-refs/no-non-component-refs.js
846708
- init_lib6();
847127
+ init_lib7();
846709
847128
  var import_promises75 = require("fs/promises");
846710
847129
  var NoNonComponentRefsRule = {
846711
847130
  name: "no-non-component-refs",
@@ -846761,7 +847180,7 @@ var NoNonComponentRefsRule = {
846761
847180
  };
846762
847181
 
846763
847182
  // ../yaml/docs-validator/lib/rules/no-openapi-v2-in-docs/no-openapi-v2-in-docs.js
846764
- init_lib6();
847183
+ init_lib7();
846765
847184
  var import_promises76 = require("fs/promises");
846766
847185
  var NoOpenApiV2InDocsRule = {
846767
847186
  name: "no-openapi-v2-in-docs",
@@ -846900,7 +847319,7 @@ var ValidInstanceUrlRule = {
846900
847319
  };
846901
847320
 
846902
847321
  // ../yaml/docs-validator/lib/rules/valid-local-references/valid-local-references.js
846903
- init_lib6();
847322
+ init_lib7();
846904
847323
  var import_promises77 = require("fs/promises");
846905
847324
  init_js_yaml();
846906
847325
  function validateReference(ref2, spec) {
@@ -847023,7 +847442,7 @@ var ValidLocalReferencesRule = {
847023
847442
  };
847024
847443
 
847025
847444
  // ../yaml/docs-validator/lib/rules/valid-openapi-examples/valid-openapi-examples.js
847026
- init_lib6();
847445
+ init_lib7();
847027
847446
  var import_promises78 = require("fs/promises");
847028
847447
  init_js_yaml();
847029
847448
  var ValidOpenApiExamples = {
@@ -847405,7 +847824,7 @@ async function runRulesOnDocsWorkspace({ workspace, rules: selectedRules, contex
847405
847824
  }
847406
847825
 
847407
847826
  // ../cli-v2/lib/docs/adapter/LegacyDocsWorkspaceAdapter.js
847408
- init_lib6();
847827
+ init_lib7();
847409
847828
  var LegacyDocsWorkspaceAdapter = class {
847410
847829
  adapt({ docsConfig, absoluteFilePath }) {
847411
847830
  const docsFilePath = docsConfig.absoluteFilePath ?? absoluteFilePath;
@@ -847773,7 +848192,7 @@ var MdxParseValidator = class {
847773
848192
  navigation: parsedConfig.navigation
847774
848193
  });
847775
848194
  const filesToCheck = Array.from(new Set(allPages));
847776
- const { parseMarkdownToTree: parseMarkdownToTree2 } = await Promise.resolve().then(() => (init_lib39(), lib_exports9));
848195
+ const { parseMarkdownToTree: parseMarkdownToTree2 } = await Promise.resolve().then(() => (init_lib40(), lib_exports10));
847777
848196
  const errorOrNulls = await Promise.all(filesToCheck.map(async (filepath) => {
847778
848197
  const content5 = await (0, import_promises79.readFile)(filepath, "utf-8");
847779
848198
  try {
@@ -849120,12 +849539,12 @@ function addAiCommand(cli) {
849120
849539
  }
849121
849540
 
849122
849541
  // ../cli-v2/lib/migrator/Migrator.js
849123
- init_lib6();
849542
+ init_lib7();
849124
849543
  var import_promises85 = require("fs/promises");
849125
849544
  init_js_yaml();
849126
849545
 
849127
849546
  // ../cli-v2/lib/migrator/converters/convertApiSpecs.js
849128
- init_lib6();
849547
+ init_lib7();
849129
849548
  var import_promises81 = require("fs/promises");
849130
849549
 
849131
849550
  // ../cli-v2/lib/migrator/converters/convertSettings.js
@@ -850079,7 +850498,7 @@ function convertRawReadme(readme) {
850079
850498
  }
850080
850499
 
850081
850500
  // ../cli-v2/lib/migrator/docs-yml/DocsYmlMigrator.js
850082
- init_lib6();
850501
+ init_lib7();
850083
850502
  async function migrateDocsYml(fernDir) {
850084
850503
  const filePath = join8(fernDir, RelativeFilePath2.of(DOCS_CONFIGURATION_FILENAME));
850085
850504
  if (!await doesPathExist(filePath, "file")) {
@@ -850090,7 +850509,7 @@ async function migrateDocsYml(fernDir) {
850090
850509
 
850091
850510
  // ../cli-v2/lib/migrator/fern-config-json/FernConfigJsonMigrator.js
850092
850511
  init_lib4();
850093
- init_lib6();
850512
+ init_lib7();
850094
850513
  var import_promises82 = require("fs/promises");
850095
850514
  var FernConfigJsonMigrator = class {
850096
850515
  cwd;
@@ -850162,7 +850581,7 @@ var FernConfigJsonMigrator = class {
850162
850581
 
850163
850582
  // ../cli-v2/lib/migrator/generators-yml/GeneratorsYmlMigrator.js
850164
850583
  init_lib4();
850165
- init_lib6();
850584
+ init_lib7();
850166
850585
  var import_promises83 = require("fs/promises");
850167
850586
  init_js_yaml();
850168
850587
  var GeneratorsYmlMigrator = class {
@@ -850340,7 +850759,7 @@ var GeneratorsYmlMigrator = class {
850340
850759
  };
850341
850760
 
850342
850761
  // ../cli-v2/lib/migrator/github-workflows/GithubWorkflowMigrator.js
850343
- init_lib6();
850762
+ init_lib7();
850344
850763
  var import_promises84 = require("fs/promises");
850345
850764
  var WORKFLOWS_DIR = ".github/workflows";
850346
850765
  async function migrateGithubWorkflows(cwd2) {
@@ -850815,6 +851234,9 @@ function addCheckCommand3(cli) {
850815
851234
  }));
850816
851235
  }
850817
851236
 
851237
+ // ../cli-v2/lib/commands/docs/dev/command.js
851238
+ init_lib5();
851239
+
850818
851240
  // ../../../node_modules/.pnpm/get-port@7.2.0/node_modules/get-port/index.js
850819
851241
  var import_node_net = __toESM(require("net"), 1);
850820
851242
  var import_node_os3 = __toESM(require("os"), 1);
@@ -850981,8 +851403,8 @@ function buildPreviewDomain({ orgId, previewId }) {
850981
851403
  // ../docs-preview/lib/runAppPreviewServer.js
850982
851404
  init_lib4();
850983
851405
  init_js();
850984
- init_lib6();
850985
- init_lib10();
851406
+ init_lib7();
851407
+ init_lib11();
850986
851408
  var import_child_process7 = require("child_process");
850987
851409
  var import_cors = __toESM(require_lib14(), 1);
850988
851410
  var import_express3 = __toESM(require_express3(), 1);
@@ -852659,7 +853081,7 @@ var watcher_default = Watcher;
852659
853081
  init_wrapper();
852660
853082
 
852661
853083
  // ../docs-preview/lib/DebugLogger.js
852662
- init_lib6();
853084
+ init_lib7();
852663
853085
  var import_promises86 = require("fs/promises");
852664
853086
  var import_os9 = require("os");
852665
853087
  var import_path62 = __toESM(require("path"), 1);
@@ -852667,7 +853089,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
852667
853089
  var LOGS_FOLDER_NAME = "logs";
852668
853090
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
852669
853091
  function getCliSource() {
852670
- const version7 = "5.22.1";
853092
+ const version7 = "5.23.0-1-gebd00e05a4f";
852671
853093
  return `cli@${version7}`;
852672
853094
  }
852673
853095
  var DebugLogger = class {
@@ -853002,8 +853424,8 @@ function getBun() {
853002
853424
  }
853003
853425
 
853004
853426
  // ../docs-preview/lib/downloadLocalDocsBundle.js
853005
- init_lib6();
853006
- init_lib10();
853427
+ init_lib7();
853428
+ init_lib11();
853007
853429
  var import_child_process6 = require("child_process");
853008
853430
  var import_cli_progress = __toESM(require_cli_progress(), 1);
853009
853431
  var import_decompress = __toESM(require_decompress(), 1);
@@ -853026,6 +853448,7 @@ var STANDALONE_FOLDER_NAME = "standalone";
853026
853448
  var LOCAL_STORAGE_FOLDER5 = ".fern-dev";
853027
853449
  var INSTRUMENTATION_PATH = "packages/fern-docs/bundle/.next/server/instrumentation.js";
853028
853450
  var COREPACK_MISSING_KEYID_ERROR_MESSAGE = 'Cannot find matching keyid: {"signatures":';
853451
+ var PNPM_IGNORED_BUILDS_ERROR = "ERR_PNPM_IGNORED_BUILDS";
853029
853452
  function assertLongPathsEnabled(logger4) {
853030
853453
  try {
853031
853454
  const output2 = (0, import_child_process6.execSync)('reg query "HKLM\\SYSTEM\\CurrentControlSet\\Control\\FileSystem" /v LongPathsEnabled', { encoding: "utf-8", timeout: 5e3 });
@@ -853378,7 +853801,9 @@ async function downloadBundle({ bucketUrl, logger: logger4, preferCached, app =
853378
853801
  });
853379
853802
  } catch (error50) {
853380
853803
  if (error50 instanceof Error) {
853381
- if (typeof error50?.message === "string" && error50.message.includes(COREPACK_MISSING_KEYID_ERROR_MESSAGE)) {
853804
+ if (typeof error50?.message === "string" && error50.message.includes(PNPM_IGNORED_BUILDS_ERROR)) {
853805
+ logger4.debug("pnpm blocked esbuild build scripts (ERR_PNPM_IGNORED_BUILDS) \u2014 continuing, install-esbuild.js will handle binary setup");
853806
+ } else if (typeof error50?.message === "string" && error50.message.includes(COREPACK_MISSING_KEYID_ERROR_MESSAGE)) {
853382
853807
  logger4.debug("Detected corepack missing keyid error. Attempting to upgrade corepack");
853383
853808
  try {
853384
853809
  await loggingExeca(logger4, "npm", ["install", "-g", "corepack@latest"], {
@@ -853608,9 +854033,9 @@ function writeNodePolyfillScript(dir) {
853608
854033
 
853609
854034
  // ../docs-preview/lib/previewDocs.js
853610
854035
  init_lib4();
853611
- init_lib39();
854036
+ init_lib40();
853612
854037
  init_js();
853613
- init_lib6();
854038
+ init_lib7();
853614
854039
  var import_promises88 = require("fs/promises");
853615
854040
  var import_gray_matter9 = __toESM(require_gray_matter(), 1);
853616
854041
  var frontmatterPositionCache = /* @__PURE__ */ new Map();
@@ -854704,8 +855129,14 @@ ${err.stack}`);
854704
855129
  }
854705
855130
  await cleanFernDocsCache(bundleRoot, context3);
854706
855131
  const polyfillPath = writeNodePolyfillScript(bundleRoot);
855132
+ const nodeMajor = parseInt(process.versions.node.split(".")[0] ?? "0", 10);
855133
+ const needsIoUringWorkaround = process.platform === "linux" && nodeMajor >= 26;
855134
+ if (needsIoUringWorkaround) {
855135
+ context3.logger.debug(`Node.js v${process.versions.node} on Linux detected \u2014 disabling io_uring to avoid libuv busy-loop`);
855136
+ }
854707
855137
  const env5 = {
854708
855138
  ...process.env,
855139
+ ...needsIoUringWorkaround ? { UV_USE_IO_URING: "0" } : {},
854709
855140
  PORT: port.toString(),
854710
855141
  HOSTNAME: "0.0.0.0",
854711
855142
  NEXT_PUBLIC_FDR_ORIGIN_PORT: backendPort.toString(),
@@ -854912,7 +855343,7 @@ ${err.stack}`);
854912
855343
 
854913
855344
  // ../docs-preview/lib/runPreviewServer.js
854914
855345
  init_js();
854915
- init_lib6();
855346
+ init_lib7();
854916
855347
  var import_cors2 = __toESM(require_lib14(), 1);
854917
855348
  var import_express4 = __toESM(require_express3(), 1);
854918
855349
  var import_promises90 = require("fs/promises");
@@ -855686,6 +856117,7 @@ function extractPublishTarget(packages) {
855686
856117
 
855687
856118
  // ../workspace/api-workspace-validator/lib/logViolations.js
855688
856119
  init_lib4();
856120
+ init_lib5();
855689
856121
  init_lodash();
855690
856122
  function logViolations({ context: context3, violations, logWarnings, logSummary = true, logBreadcrumbs = true, elapsedMillis = 0 }) {
855691
856123
  const deduplicatedViolations = [];
@@ -855842,7 +856274,7 @@ function getViolationStats(violations) {
855842
856274
  }
855843
856275
 
855844
856276
  // ../yaml/generators-validator/lib/validateGeneratorsWorkspace.js
855845
- init_lib6();
856277
+ init_lib7();
855846
856278
 
855847
856279
  // ../yaml/generators-validator/lib/ast/visitGeneratorsYamlAst.js
855848
856280
  init_lib4();
@@ -856229,13 +856661,13 @@ function parseIssue(issue2) {
856229
856661
  }
856230
856662
 
856231
856663
  // ../workspace/loader/lib/loadAPIWorkspace.js
856232
- init_lib6();
856664
+ init_lib7();
856233
856665
 
856234
856666
  // ../workspace/loader/lib/loadAPIChangelog.js
856235
- init_lib6();
856667
+ init_lib7();
856236
856668
 
856237
856669
  // ../workspace/loader/lib/listFernFiles.js
856238
- init_lib6();
856670
+ init_lib7();
856239
856671
  var import_promises92 = require("fs/promises");
856240
856672
  async function listFernFiles2(root6, extensionGlob) {
856241
856673
  const files = [];
@@ -856557,7 +856989,7 @@ async function loadAPIWorkspace({ absolutePathToWorkspace, context: context3, cl
856557
856989
 
856558
856990
  // ../workspace/loader/lib/loadDocsWorkspace.js
856559
856991
  init_lib4();
856560
- init_lib6();
856992
+ init_lib7();
856561
856993
  var import_promises93 = require("fs/promises");
856562
856994
  init_js_yaml();
856563
856995
 
@@ -862747,7 +863179,7 @@ ${result.error?.message ?? "Unknown error"}`,
862747
863179
  }
862748
863180
 
862749
863181
  // ../generation/remote-generation/remote-workspace-runner/lib/downloadSnippetsForTask.js
862750
- init_lib6();
863182
+ init_lib7();
862751
863183
  var import_fs30 = require("fs");
862752
863184
  var import_promises94 = require("fs/promises");
862753
863185
  var import_promises95 = require("stream/promises");
@@ -862774,7 +863206,7 @@ async function downloadFileForTask({ s3PreSignedReadUrl, absolutePathToLocalOutp
862774
863206
  }
862775
863207
 
862776
863208
  // ../generation/remote-generation/remote-workspace-runner/lib/resolveAutoDiscoveredFernignorePath.js
862777
- init_lib6();
863209
+ init_lib7();
862778
863210
  async function resolveAutoDiscoveredFernignorePath({ generatorInvocation, context: context3 }) {
862779
863211
  if (generatorInvocation.absolutePathToLocalOutput == null) {
862780
863212
  return void 0;
@@ -862793,7 +863225,7 @@ init_js();
862793
863225
  var import_autoversion = __toESM(require_autoversion(), 1);
862794
863226
 
862795
863227
  // ../generation/remote-generation/remote-workspace-runner/lib/createAndStartJob.js
862796
- init_lib6();
863228
+ init_lib7();
862797
863229
  var import_form_data4 = __toESM(require_form_data(), 1);
862798
863230
  var import_promises96 = require("fs/promises");
862799
863231
  init_js_yaml();
@@ -863140,13 +863572,14 @@ function pollJobAndReportStatus({ job, taskId, taskHandler, context: context3 })
863140
863572
 
863141
863573
  // ../generation/remote-generation/remote-workspace-runner/lib/RemoteTaskHandler.js
863142
863574
  init_lib4();
863143
- init_lib6();
863575
+ init_lib7();
863144
863576
  var import_pipeline = __toESM(require_pipeline2(), 1);
863145
- init_lib10();
863577
+ init_lib5();
863578
+ init_lib11();
863146
863579
  var import_fs31 = require("fs");
863147
- var import_promises97 = require("fs/promises");
863580
+ var import_promises98 = require("fs/promises");
863148
863581
  var import_path67 = __toESM(require("path"), 1);
863149
- var import_promises98 = require("stream/promises");
863582
+ var import_promises99 = require("stream/promises");
863150
863583
 
863151
863584
  // ../../../node_modules/.pnpm/terminal-link@3.0.0/node_modules/terminal-link/index.js
863152
863585
  var import_supports_hyperlinks = __toESM(require_supports_hyperlinks(), 1);
@@ -863164,7 +863597,7 @@ terminalLink.stderr = (text9, url3, options2 = {}) => terminalLink(text9, url3,
863164
863597
  terminalLink.stderr.isSupported = import_supports_hyperlinks.default.stderr;
863165
863598
 
863166
863599
  // ../generation/remote-generation/remote-workspace-runner/lib/RemoteTaskHandler.js
863167
- var import_tmp_promise10 = __toESM(require_tmp_promise(), 1);
863600
+ var import_tmp_promise11 = __toESM(require_tmp_promise(), 1);
863168
863601
  var import_yauzl = __toESM(require_yauzl(), 1);
863169
863602
  var FIDDLE_PIPELINE_RESULT_LOG_REGEX = /^Pipeline: raw result \(\d+ bytes\): (\{.*\})$/;
863170
863603
  var RemoteTaskHandler = class {
@@ -863457,11 +863890,11 @@ async function downloadZipForTask({ s3PreSignedReadUrl, absolutePathToLocalOutpu
863457
863890
  const request7 = await axios_default.get(s3PreSignedReadUrl, {
863458
863891
  responseType: "stream"
863459
863892
  });
863460
- const tmpDir = await import_tmp_promise10.default.dir({ prefix: "fern", unsafeCleanup: true });
863893
+ const tmpDir = await import_tmp_promise11.default.dir({ prefix: "fern", unsafeCleanup: true });
863461
863894
  const outputZipPath = import_path67.default.join(tmpDir.path, "output.zip");
863462
- await (0, import_promises98.pipeline)(request7.data, (0, import_fs31.createWriteStream)(outputZipPath));
863895
+ await (0, import_promises99.pipeline)(request7.data, (0, import_fs31.createWriteStream)(outputZipPath));
863463
863896
  await forceRemoveDirectory(absolutePathToLocalOutput);
863464
- await (0, import_promises97.mkdir)(absolutePathToLocalOutput, { recursive: true });
863897
+ await (0, import_promises98.mkdir)(absolutePathToLocalOutput, { recursive: true });
863465
863898
  await extractZipToDirectory(outputZipPath, absolutePathToLocalOutput);
863466
863899
  }
863467
863900
  async function forceRemoveDirectory(dirPath) {
@@ -863469,22 +863902,22 @@ async function forceRemoveDirectory(dirPath) {
863469
863902
  return;
863470
863903
  }
863471
863904
  await makeWritableRecursive(dirPath);
863472
- await (0, import_promises97.rm)(dirPath, { recursive: true, force: true });
863905
+ await (0, import_promises98.rm)(dirPath, { recursive: true, force: true });
863473
863906
  }
863474
863907
  async function makeWritableRecursive(dirPath) {
863475
863908
  try {
863476
- const entries24 = await (0, import_promises97.readdir)(dirPath, { withFileTypes: true });
863909
+ const entries24 = await (0, import_promises98.readdir)(dirPath, { withFileTypes: true });
863477
863910
  for (const entry of entries24) {
863478
863911
  const fullPath = AbsoluteFilePath2.of(import_path67.default.join(dirPath, entry.name));
863479
863912
  if (entry.isDirectory()) {
863480
863913
  await makeWritableRecursive(fullPath);
863481
863914
  }
863482
863915
  try {
863483
- await (0, import_promises97.chmod)(fullPath, 493);
863916
+ await (0, import_promises98.chmod)(fullPath, 493);
863484
863917
  } catch {
863485
863918
  }
863486
863919
  }
863487
- await (0, import_promises97.chmod)(dirPath, 493);
863920
+ await (0, import_promises98.chmod)(dirPath, 493);
863488
863921
  } catch {
863489
863922
  }
863490
863923
  }
@@ -863527,10 +863960,10 @@ async function downloadFilesWithFernIgnoreInExistingRepo({ s3PreSignedReadUrl, a
863527
863960
  await runGitCommand(["restore", "."], absolutePathToLocalOutput, context3);
863528
863961
  }
863529
863962
  async function downloadFilesWithFernIgnoreInTempRepo({ s3PreSignedReadUrl, absolutePathToLocalOutput, context: context3 }) {
863530
- const tmpOutputResolutionDir = AbsoluteFilePath2.of((await import_tmp_promise10.default.dir({})).path);
863963
+ const tmpOutputResolutionDir = AbsoluteFilePath2.of((await import_tmp_promise11.default.dir({})).path);
863531
863964
  const absolutePathToFernignore = join8(absolutePathToLocalOutput, RelativeFilePath2.of(FERNIGNORE_FILENAME));
863532
863965
  const fernIgnorePaths = await getFernIgnorePaths({ absolutePathToFernignore });
863533
- await (0, import_promises97.cp)(absolutePathToLocalOutput, tmpOutputResolutionDir, { recursive: true });
863966
+ await (0, import_promises98.cp)(absolutePathToLocalOutput, tmpOutputResolutionDir, { recursive: true });
863534
863967
  await runGitCommand(["init"], tmpOutputResolutionDir, context3);
863535
863968
  await runGitCommand(["add", "."], tmpOutputResolutionDir, context3);
863536
863969
  await runGitCommand([
@@ -863553,15 +863986,15 @@ async function downloadFilesWithFernIgnoreInTempRepo({ s3PreSignedReadUrl, absol
863553
863986
  await runGitCommand(["restore", "."], tmpOutputResolutionDir, context3);
863554
863987
  await forceRemoveDirectory(join8(tmpOutputResolutionDir, RelativeFilePath2.of(".git")));
863555
863988
  await forceRemoveDirectory(absolutePathToLocalOutput);
863556
- await (0, import_promises97.cp)(tmpOutputResolutionDir, absolutePathToLocalOutput, { recursive: true });
863989
+ await (0, import_promises98.cp)(tmpOutputResolutionDir, absolutePathToLocalOutput, { recursive: true });
863557
863990
  }
863558
863991
  async function downloadAndExtractZipToDirectory({ s3PreSignedReadUrl, outputPath }) {
863559
863992
  const request7 = await axios_default.get(s3PreSignedReadUrl, {
863560
863993
  responseType: "stream"
863561
863994
  });
863562
- const tmpDir = await import_tmp_promise10.default.dir({ prefix: "fern", unsafeCleanup: true });
863995
+ const tmpDir = await import_tmp_promise11.default.dir({ prefix: "fern", unsafeCleanup: true });
863563
863996
  const outputZipPath = import_path67.default.join(tmpDir.path, "output.zip");
863564
- await (0, import_promises98.pipeline)(request7.data, (0, import_fs31.createWriteStream)(outputZipPath));
863997
+ await (0, import_promises99.pipeline)(request7.data, (0, import_fs31.createWriteStream)(outputZipPath));
863565
863998
  await extractZipToDirectory(outputZipPath, outputPath);
863566
863999
  }
863567
864000
  async function extractZipToDirectory(zipPath, outputDir) {
@@ -863576,10 +864009,10 @@ async function extractZipToDirectory(zipPath, outputDir) {
863576
864009
  zipFile.on("entry", (entry) => {
863577
864010
  const outputPath = import_path67.default.join(outputDir, entry.fileName);
863578
864011
  if (entry.fileName.endsWith("/")) {
863579
- (0, import_promises97.mkdir)(outputPath, { recursive: true }).then(() => zipFile.readEntry()).catch(reject);
864012
+ (0, import_promises98.mkdir)(outputPath, { recursive: true }).then(() => zipFile.readEntry()).catch(reject);
863580
864013
  return;
863581
864014
  }
863582
- (0, import_promises97.mkdir)(import_path67.default.dirname(outputPath), { recursive: true }).then(() => {
864015
+ (0, import_promises98.mkdir)(import_path67.default.dirname(outputPath), { recursive: true }).then(() => {
863583
864016
  zipFile.openReadStream(entry, (streamErr, readStream2) => {
863584
864017
  if (streamErr || !readStream2) {
863585
864018
  reject(streamErr ?? new Error("Failed to open read stream"));
@@ -863595,10 +864028,10 @@ async function extractZipToDirectory(zipPath, outputDir) {
863595
864028
  }
863596
864029
 
863597
864030
  // ../generation/remote-generation/remote-workspace-runner/lib/SourceUploader.js
863598
- init_lib6();
863599
- init_lib10();
863600
- var import_promises99 = require("fs/promises");
863601
- var import_tmp_promise11 = __toESM(require_tmp_promise(), 1);
864031
+ init_lib7();
864032
+ init_lib11();
864033
+ var import_promises100 = require("fs/promises");
864034
+ var import_tmp_promise12 = __toESM(require_tmp_promise(), 1);
863602
864035
  var PROTOBUF_ZIP_FILENAME = "proto.zip";
863603
864036
  var SourceUploader = class {
863604
864037
  sourceTypes;
@@ -863618,7 +864051,7 @@ var SourceUploader = class {
863618
864051
  }
863619
864052
  async uploadSource(source2, uploadURL) {
863620
864053
  const uploadCommand = await this.getUploadCommand(source2);
863621
- const fileData = await (0, import_promises99.readFile)(uploadCommand.absoluteFilePath);
864054
+ const fileData = await (0, import_promises100.readFile)(uploadCommand.absoluteFilePath);
863622
864055
  const response = await fetch(uploadURL, {
863623
864056
  method: "PUT",
863624
864057
  body: fileData,
@@ -863638,7 +864071,7 @@ var SourceUploader = class {
863638
864071
  absoluteFilePath,
863639
864072
  cleanup: async () => {
863640
864073
  this.context.logger.debug(`Removing ${absoluteFilePath}`);
863641
- await (0, import_promises99.unlink)(absoluteFilePath);
864074
+ await (0, import_promises100.unlink)(absoluteFilePath);
863642
864075
  }
863643
864076
  };
863644
864077
  }
@@ -863649,7 +864082,7 @@ var SourceUploader = class {
863649
864082
  };
863650
864083
  }
863651
864084
  async zipSource(absolutePathToSource) {
863652
- const tmpDir = await import_tmp_promise11.default.dir();
864085
+ const tmpDir = await import_tmp_promise12.default.dir();
863653
864086
  const destination = join8(AbsoluteFilePath2.of(tmpDir.path), RelativeFilePath2.of(PROTOBUF_ZIP_FILENAME));
863654
864087
  this.context.logger.debug(`Zipping source ${absolutePathToSource} into ${destination}`);
863655
864088
  await loggingExeca(this.context.logger, "zip", ["-r", destination, "."], {
@@ -864232,9 +864665,9 @@ init_lib4();
864232
864665
  // ../generation/remote-generation/remote-workspace-runner/lib/publishDocs.js
864233
864666
  init_lib4();
864234
864667
  init_js();
864235
- init_lib6();
864668
+ init_lib7();
864236
864669
  var import_crypto8 = require("crypto");
864237
- var import_promises100 = require("fs/promises");
864670
+ var import_promises101 = require("fs/promises");
864238
864671
  init_lodash();
864239
864672
  var mime2 = __toESM(require_mime_types(), 1);
864240
864673
 
@@ -864313,7 +864746,7 @@ async function unlockDeploy({ fdrOrigin, token, domain: domain3, basepath }) {
864313
864746
  }
864314
864747
  }
864315
864748
  async function calculateFileHash(absoluteFilePath) {
864316
- const fileBuffer = await (0, import_promises100.readFile)(absoluteFilePath);
864749
+ const fileBuffer = await (0, import_promises101.readFile)(absoluteFilePath);
864317
864750
  return (0, import_crypto8.createHash)("sha256").update(new Uint8Array(fileBuffer)).digest("hex");
864318
864751
  }
864319
864752
  function sanitizeRelativePathForS3(relativeFilePath) {
@@ -864649,13 +865082,13 @@ ${JSON.stringify(errorDetails, void 0, 2)}`);
864649
865082
  };
864650
865083
  const localeAwareMarkdownLoader = async (filepath) => {
864651
865084
  const pathToRead = await resolveLocalePath(filepath);
864652
- const raw = await (0, import_promises100.readFile)(pathToRead, "utf-8");
865085
+ const raw = await (0, import_promises101.readFile)(pathToRead, "utf-8");
864653
865086
  const fmMatch = raw.match(/^---\r?\n[\s\S]*?\r?\n---\r?\n?/);
864654
865087
  return fmMatch != null ? raw.slice(fmMatch[0].length) : raw;
864655
865088
  };
864656
865089
  const localeAwareFileLoader = async (filepath) => {
864657
865090
  const pathToRead = await resolveLocalePath(filepath);
864658
- return (0, import_promises100.readFile)(pathToRead, "utf-8");
865091
+ return (0, import_promises101.readFile)(pathToRead, "utf-8");
864659
865092
  };
864660
865093
  const translatedPageEntries = await Promise.all(Object.entries(localePages).map(async ([path107, rawMarkdown]) => {
864661
865094
  try {
@@ -864822,7 +865255,7 @@ async function uploadFiles(filesToUpload, docsWorkspacePath, context3, batchSize
864822
865255
  try {
864823
865256
  const uploadUrl = extractUploadUrl(urlValue);
864824
865257
  const mimeType = mime2.lookup(absoluteFilePath);
864825
- await axios_default.put(uploadUrl, await (0, import_promises100.readFile)(absoluteFilePath), {
865258
+ await axios_default.put(uploadUrl, await (0, import_promises101.readFile)(absoluteFilePath), {
864826
865259
  headers: {
864827
865260
  "Content-Type": mimeType === false ? "application/octet-stream" : mimeType,
864828
865261
  // Set max cache control for S3 uploads
@@ -865480,7 +865913,7 @@ var LegacyDocsPublisher = class {
865480
865913
  previewId,
865481
865914
  disableTemplates: void 0,
865482
865915
  skipUpload,
865483
- cliVersion: "5.22.1",
865916
+ cliVersion: "5.23.0-1-gebd00e05a4f",
865484
865917
  loginCommand: "fern auth login"
865485
865918
  });
865486
865919
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -866450,8 +866883,8 @@ function addDocsCommand(cli) {
866450
866883
 
866451
866884
  // ../cli-v2/lib/commands/init/command.js
866452
866885
  init_lib4();
866453
- init_lib6();
866454
- var import_promises101 = require("fs/promises");
866886
+ init_lib7();
866887
+ var import_promises102 = require("fs/promises");
866455
866888
  var import_path69 = __toESM(require("path"), 1);
866456
866889
 
866457
866890
  // ../cli-v2/lib/config/fern-yml/FernYmlBuilder.js
@@ -866648,7 +867081,8 @@ components:
866648
867081
 
866649
867082
  // ../cli-v2/lib/init/Wizard.js
866650
867083
  init_lib4();
866651
- init_lib6();
867084
+ init_lib7();
867085
+ init_lib5();
866652
867086
  var import_child_process8 = require("child_process");
866653
867087
  var import_path68 = __toESM(require("path"), 1);
866654
867088
 
@@ -867330,7 +867764,7 @@ var InitCommand = class {
867330
867764
  apiPath,
867331
867765
  defaultGroup: result.defaultGroup
867332
867766
  });
867333
- await (0, import_promises101.writeFile)(fernYmlPath, fernYmlContent, "utf-8");
867767
+ await (0, import_promises102.writeFile)(fernYmlPath, fernYmlContent, "utf-8");
867334
867768
  context3.stderr.info(`
867335
867769
  ${Icons.success} Created ${FERN_YML_FILENAME}`);
867336
867770
  }
@@ -867352,9 +867786,9 @@ var InitCommand = class {
867352
867786
  }
867353
867787
  async writeSpecFile(cwd2, filename, content5) {
867354
867788
  const specsDir = join8(cwd2, RelativeFilePath2.of(SPECS_DIR));
867355
- await (0, import_promises101.mkdir)(specsDir, { recursive: true });
867789
+ await (0, import_promises102.mkdir)(specsDir, { recursive: true });
867356
867790
  const filePath = join8(specsDir, RelativeFilePath2.of(filename));
867357
- await (0, import_promises101.writeFile)(filePath, content5, "utf-8");
867791
+ await (0, import_promises102.writeFile)(filePath, content5, "utf-8");
867358
867792
  }
867359
867793
  resolveApiPath(apiSource) {
867360
867794
  switch (apiSource.type) {
@@ -868799,13 +869233,13 @@ function addCheckCommand4(cli) {
868799
869233
 
868800
869234
  // ../cli-v2/lib/commands/sdk/generate/command.js
868801
869235
  init_lib4();
868802
- init_lib6();
869236
+ init_lib7();
868803
869237
  var import_promises118 = require("fs/promises");
868804
869238
  init_js_yaml();
868805
869239
 
868806
869240
  // ../cli-v2/lib/api/resolver/ApiSpecResolver.js
868807
- init_lib6();
868808
- var import_promises102 = require("fs/promises");
869241
+ init_lib7();
869242
+ var import_promises103 = require("fs/promises");
868809
869243
  var import_os11 = require("os");
868810
869244
  var import_path73 = __toESM(require("path"), 1);
868811
869245
 
@@ -868881,9 +869315,9 @@ var ApiSpecResolver = class {
868881
869315
  });
868882
869316
  }
868883
869317
  const extension4 = this.inferExtensionFromContent(content5);
868884
- const tempDir2 = await (0, import_promises102.mkdtemp)(import_path73.default.join((0, import_os11.tmpdir)(), "fern-"));
869318
+ const tempDir2 = await (0, import_promises103.mkdtemp)(import_path73.default.join((0, import_os11.tmpdir)(), "fern-"));
868885
869319
  const absoluteFilePath = AbsoluteFilePath2.of(import_path73.default.join(tempDir2, `spec${extension4}`));
868886
- await (0, import_promises102.writeFile)(absoluteFilePath, content5, "utf-8");
869320
+ await (0, import_promises103.writeFile)(absoluteFilePath, content5, "utf-8");
868887
869321
  const specType = await this.detector.detect({ absoluteFilePath, content: content5, reference: "stdin" });
868888
869322
  return {
868889
869323
  absoluteFilePath,
@@ -868899,9 +869333,9 @@ var ApiSpecResolver = class {
868899
869333
  async resolveUrl({ reference: reference4 }) {
868900
869334
  const { content: content5, contentType } = await this.fetchContent({ url: reference4 });
868901
869335
  const extension4 = this.inferExtension({ url: reference4, contentType });
868902
- const tempDir2 = await (0, import_promises102.mkdtemp)(import_path73.default.join((0, import_os11.tmpdir)(), "fern-"));
869336
+ const tempDir2 = await (0, import_promises103.mkdtemp)(import_path73.default.join((0, import_os11.tmpdir)(), "fern-"));
868903
869337
  const absoluteFilePath = AbsoluteFilePath2.of(import_path73.default.join(tempDir2, `spec${extension4}`));
868904
- await (0, import_promises102.writeFile)(absoluteFilePath, content5, "utf-8");
869338
+ await (0, import_promises103.writeFile)(absoluteFilePath, content5, "utf-8");
868905
869339
  const specType = await this.detector.detect({ absoluteFilePath, content: content5, reference: reference4 });
868906
869340
  return {
868907
869341
  absoluteFilePath,
@@ -868917,7 +869351,7 @@ var ApiSpecResolver = class {
868917
869351
  code: CliError.Code.ConfigError
868918
869352
  });
868919
869353
  }
868920
- const content5 = await (0, import_promises102.readFile)(absoluteFilePath, "utf-8");
869354
+ const content5 = await (0, import_promises103.readFile)(absoluteFilePath, "utf-8");
868921
869355
  const specType = await this.detector.detect({ absoluteFilePath, content: content5, reference: reference4 });
868922
869356
  return {
868923
869357
  absoluteFilePath,
@@ -868984,82 +869418,10 @@ init_lib4();
868984
869418
 
868985
869419
  // ../cli-v2/lib/sdk/generator/LegacyLocalGenerationRunner.js
868986
869420
  init_lib4();
868987
- init_lib6();
869421
+ init_lib7();
868988
869422
 
868989
- // ../generation/local-generation/docker-utils/lib/runDocker.js
868990
- init_lib10();
868991
- var import_promises103 = require("fs/promises");
868992
- var import_tmp_promise12 = __toESM(require_tmp_promise(), 1);
868993
- async function runContainer({ logger: logger4, imageName, args = [], binds = [], envVars = {}, ports = {}, writeLogsToFile = true, removeAfterCompletion = false, runner, signal }) {
868994
- const tryRun = () => tryRunContainer({
868995
- logger: logger4,
868996
- imageName,
868997
- args,
868998
- binds,
868999
- envVars,
869000
- ports,
869001
- removeAfterCompletion,
869002
- writeLogsToFile,
869003
- runner,
869004
- signal
869005
- });
869006
- try {
869007
- await tryRun();
869008
- } catch (e8) {
869009
- if (e8 instanceof Error && e8.message.includes("No such image")) {
869010
- await pullImage(imageName, runner, signal);
869011
- await tryRun();
869012
- } else {
869013
- throw e8;
869014
- }
869015
- }
869016
- }
869017
- async function tryRunContainer({ logger: logger4, imageName, args, binds, envVars = {}, ports = {}, removeAfterCompletion, writeLogsToFile, runner, signal }) {
869018
- if (process.env["FERN_STACK_TRACK"]) {
869019
- envVars["FERN_STACK_TRACK"] = process.env["FERN_STACK_TRACK"];
869020
- }
869021
- const containerArgs = [
869022
- "run",
869023
- "--user",
869024
- "root",
869025
- ...binds.flatMap((bind5) => ["-v", bind5]),
869026
- ...Object.entries(envVars).flatMap(([key2, value2]) => ["-e", `${key2}="${value2}"`]),
869027
- ...Object.entries(ports).flatMap(([hostPort, containerPort]) => ["-p", `${hostPort}:${containerPort}`]),
869028
- removeAfterCompletion ? "--rm" : "",
869029
- imageName,
869030
- ...args
869031
- ].filter(Boolean);
869032
- const containerRunner = runner ?? "docker";
869033
- const { stdout, stderr, exitCode } = await loggingExeca(logger4, containerRunner, containerArgs, {
869034
- reject: false,
869035
- all: true,
869036
- doNotPipeOutput: true,
869037
- signal
869038
- });
869039
- const logs4 = stdout + stderr;
869040
- if (writeLogsToFile) {
869041
- const tmpFile = await import_tmp_promise12.default.file();
869042
- await (0, import_promises103.writeFile)(tmpFile.path, logs4);
869043
- logger4.info(`Generator logs here: ${tmpFile.path}`);
869044
- }
869045
- if (exitCode == null) {
869046
- throw new Error(`Container runtime '${containerRunner}' is not installed or not found on PATH.
869047
- ${containerRunner === "podman" ? "Seed tests default to Podman. " : ""}Install ${containerRunner}: ${containerRunner === "podman" ? "https://podman.io/docs/installation" : "https://docs.docker.com/get-docker/"}
869048
- Error details: ${stderr || stdout || "No output"}`);
869049
- }
869050
- if (exitCode !== 0) {
869051
- throw new Error(`Container exited with code ${exitCode}.
869052
- ${stdout}
869053
- ${stderr}`);
869054
- }
869055
- }
869056
- async function pullImage(imageName, runner, signal) {
869057
- await loggingExeca(void 0, runner ?? "docker", ["pull", imageName], {
869058
- all: true,
869059
- doNotPipeOutput: true,
869060
- signal
869061
- });
869062
- }
869423
+ // ../generation/local-generation/local-workspace-runner/lib/ContainerExecutionEnvironment.js
869424
+ init_lib42();
869063
869425
 
869064
869426
  // ../generation/local-generation/local-workspace-runner/lib/constants.js
869065
869427
  var import_path74 = __toESM(require("path"), 1);
@@ -869151,7 +869513,7 @@ var ContainerExecutionEnvironment = class {
869151
869513
  };
869152
869514
 
869153
869515
  // ../generation/local-generation/local-workspace-runner/lib/GenerationRunner.js
869154
- init_lib6();
869516
+ init_lib7();
869155
869517
 
869156
869518
  // ../../../generators/browser-compatible-base/lib/utils/stacktrace.js
869157
869519
  var key = process.env["FERN_STACK_TRACK"]?.toLowerCase() ?? "";
@@ -887642,7 +888004,7 @@ var DynamicSnippetsGenerator = class extends AbstractDynamicSnippetsGenerator {
887642
888004
  };
887643
888005
 
887644
888006
  // ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/csharp/DynamicSnippetsCsharpTestGenerator.js
887645
- init_lib6();
888007
+ init_lib7();
887646
888008
  var import_promises104 = require("fs/promises");
887647
888009
  var import_path75 = __toESM(require("path"), 1);
887648
888010
 
@@ -887795,13 +888157,13 @@ var DynamicSnippetsCsharpTestGenerator = class {
887795
888157
  };
887796
888158
 
887797
888159
  // ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/go/DynamicSnippetsGoTestGenerator.js
887798
- init_lib6();
888160
+ init_lib7();
887799
888161
 
887800
888162
  // ../../../generators/go-v2/dynamic-snippets/lib/context/DynamicSnippetsGeneratorContext.js
887801
888163
  init_lib4();
887802
888164
 
887803
888165
  // ../../../generators/go-v2/ast/lib/ast/core/Writer.js
887804
- init_lib5();
888166
+ init_lib6();
887805
888167
  var INVALID_GO_IDENTIFIER_TOKEN = /[^0-9a-zA-Z_]/g;
887806
888168
  var RESERVED_KEYWORDS2 = [
887807
888169
  "break",
@@ -889394,7 +889756,7 @@ function goExportedFieldName(name2) {
889394
889756
  }
889395
889757
 
889396
889758
  // ../../../generators/go-v2/ast/lib/utils/resolveRootImportPath.js
889397
- init_lib5();
889759
+ init_lib6();
889398
889760
  var import_path76 = __toESM(require("path"), 1);
889399
889761
  var DEFAULT_MODULE_PATH = "sdk";
889400
889762
  function resolveRootImportPath({ config: config5, customConfig }) {
@@ -891284,7 +891646,7 @@ var DynamicSnippetsGoTestGenerator = class {
891284
891646
  };
891285
891647
 
891286
891648
  // ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/java/DynamicSnippetsJavaTestGenerator.js
891287
- init_lib6();
891649
+ init_lib7();
891288
891650
 
891289
891651
  // ../../../generators/java-v2/dynamic-snippets/lib/context/DynamicSnippetsGeneratorContext.js
891290
891652
  init_lib4();
@@ -894662,7 +895024,7 @@ var DynamicSnippetsGenerator3 = class extends AbstractDynamicSnippetsGenerator {
894662
895024
  };
894663
895025
 
894664
895026
  // ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/java/DynamicSnippetsJavaTestGenerator.js
894665
- init_lib10();
895027
+ init_lib11();
894666
895028
  var import_promises106 = require("fs/promises");
894667
895029
  var import_path78 = __toESM(require("path"), 1);
894668
895030
  var DynamicSnippetsJavaTestGenerator = class {
@@ -894749,7 +895111,7 @@ var DynamicSnippetsJavaTestGenerator = class {
894749
895111
  };
894750
895112
 
894751
895113
  // ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/php/DynamicSnippetsPhpTestGenerator.js
894752
- init_lib6();
895114
+ init_lib7();
894753
895115
 
894754
895116
  // ../../../generators/php/codegen/lib/ast/core/Constant.js
894755
895117
  var GLOBAL_NAMESPACE = "";
@@ -898248,7 +898610,7 @@ var DynamicSnippetsPhpTestGenerator = class {
898248
898610
  };
898249
898611
 
898250
898612
  // ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/python/DynamicSnippetsPythonTestGenerator.js
898251
- init_lib6();
898613
+ init_lib7();
898252
898614
 
898253
898615
  // ../../../generators/python-v2/dynamic-snippets/lib/context/DynamicSnippetsGeneratorContext.js
898254
898616
  init_lib4();
@@ -901539,7 +901901,7 @@ var DynamicSnippetsPythonTestGenerator = class {
901539
901901
  };
901540
901902
 
901541
901903
  // ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/ruby/DynamicSnippetsRubyTestGenerator.js
901542
- init_lib6();
901904
+ init_lib7();
901543
901905
 
901544
901906
  // ../../../generators/ruby-v2/ast/lib/ast/core/Writer.js
901545
901907
  var TAB_SIZE2 = 2;
@@ -904446,7 +904808,7 @@ var DynamicSnippetsRubyTestGenerator = class {
904446
904808
  // ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/rust/DynamicSnippetsRustTestGenerator.js
904447
904809
  var import_promises110 = require("fs/promises");
904448
904810
  var import_node_path25 = __toESM(require("path"), 1);
904449
- init_lib6();
904811
+ init_lib7();
904450
904812
 
904451
904813
  // ../../../generators/rust/base/lib/constants/index.js
904452
904814
  var RUST_KEYWORDS = /* @__PURE__ */ new Set([
@@ -909699,7 +910061,7 @@ var DynamicSnippetsRustTestGenerator = class {
909699
910061
  // ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/swift/DynamicSnippetsSwiftTestGenerator.js
909700
910062
  var import_promises111 = require("fs/promises");
909701
910063
  var import_node_path26 = __toESM(require("path"), 1);
909702
- init_lib6();
910064
+ init_lib7();
909703
910065
 
909704
910066
  // ../../../generators/swift/dynamic-snippets/lib/context/DynamicSnippetsGeneratorContext.js
909705
910067
  init_lib4();
@@ -914283,7 +914645,7 @@ var DynamicSnippetsSwiftTestGenerator = class {
914283
914645
  };
914284
914646
 
914285
914647
  // ../generation/local-generation/local-workspace-runner/lib/dynamic-snippets/typescript/DynamicSnippetsTypeScriptTestGenerator.js
914286
- init_lib6();
914648
+ init_lib7();
914287
914649
 
914288
914650
  // ../../../generators/typescript-v2/ast/lib/ast/core/Writer.js
914289
914651
  var Writer9 = class extends AbstractWriter {
@@ -916738,7 +917100,7 @@ async function generateDynamicSnippetTests({ context: context3, ir: ir11, config
916738
917100
  }
916739
917101
 
916740
917102
  // ../generation/local-generation/local-workspace-runner/lib/runGenerator.js
916741
- init_lib6();
917103
+ init_lib7();
916742
917104
  var import_autoversion3 = __toESM(require_autoversion(), 1);
916743
917105
  var import_serialization = __toESM(require_serialization3(), 1);
916744
917106
  var import_promises114 = require("fs/promises");
@@ -916747,7 +917109,7 @@ var import_path84 = require("path");
916747
917109
  var import_tmp_promise14 = __toESM(require_tmp_promise(), 1);
916748
917110
 
916749
917111
  // ../generation/local-generation/local-workspace-runner/lib/getGeneratorConfig.js
916750
- init_lib7();
917112
+ init_lib8();
916751
917113
  var import_generator_exec_sdk = __toESM(require_generator_exec_sdk(), 1);
916752
917114
  var import_api50 = __toESM(require_api4(), 1);
916753
917115
  var path79 = __toESM(require("path"), 1);
@@ -917221,11 +917583,11 @@ async function getIntermediateRepresentation({ workspace, audiences, generatorIn
917221
917583
  }
917222
917584
 
917223
917585
  // ../generation/local-generation/local-workspace-runner/lib/LocalTaskHandler.js
917224
- init_lib40();
917586
+ init_lib41();
917225
917587
  init_lib4();
917226
- init_lib6();
917588
+ init_lib7();
917227
917589
  var import_autoversion2 = __toESM(require_autoversion(), 1);
917228
- init_lib10();
917590
+ init_lib11();
917229
917591
  var import_decompress2 = __toESM(require_decompress(), 1);
917230
917592
  var import_promises113 = require("fs/promises");
917231
917593
  var import_os12 = require("os");
@@ -918072,10 +918434,10 @@ function getDockerDestinationForSource(source2) {
918072
918434
 
918073
918435
  // ../generation/local-generation/local-workspace-runner/lib/runLocalGenerationForWorkspace.js
918074
918436
  init_lib4();
918075
- init_lib6();
918437
+ init_lib7();
918076
918438
  var import_autoversion4 = __toESM(require_autoversion(), 1);
918077
918439
  var import_pipeline2 = __toESM(require_pipeline2(), 1);
918078
- init_lib7();
918440
+ init_lib8();
918079
918441
  var fs17 = __toESM(require("fs/promises"), 1);
918080
918442
  var import_os13 = __toESM(require("os"), 1);
918081
918443
  var import_path85 = __toESM(require("path"), 1);
@@ -918088,7 +918450,7 @@ function getGeneratorOutputSubfolder(generatorName) {
918088
918450
  }
918089
918451
 
918090
918452
  // ../generation/local-generation/local-workspace-runner/lib/runLocalGenerationForWorkspace.js
918091
- async function runLocalGenerationForWorkspace({ token, projectConfig, workspace, generatorGroup, version: version7, keepDocker, inspect: inspect6, context: context3, absolutePathToPreview, runner, ai: ai10, replay, noReplay, validateWorkspace, requireEnvVars, skipFernignore, publishToRegistry, isPreview: isPreviewOverride, automationMode, autoMerge, skipIfNoDiff, disableTelemetry }) {
918453
+ async function runLocalGenerationForWorkspace({ token, projectConfig, workspace, generatorGroup, version: version7, keepDocker, inspect: inspect6, context: context3, absolutePathToPreview, runner, ai: ai10, replay, noReplay, validateWorkspace, requireEnvVars, skipFernignore, publishToRegistry, isPreview: isPreviewOverride, automationMode, autoMerge, skipIfNoDiff, verify: verify2, disableTelemetry }) {
918092
918454
  const userProvidedVersion = version7;
918093
918455
  if (userProvidedVersion != null) {
918094
918456
  if (absolutePathToPreview != null) {
@@ -918293,7 +918655,9 @@ generators:
918293
918655
  disableTelemetry
918294
918656
  });
918295
918657
  interactiveTaskContext.logger.info(source_default.green("Wrote files to " + absolutePathToLocalOutput));
918296
- if (selfhostedGithubConfig != null && shouldCommit) {
918658
+ const githubPipelineEnabled = selfhostedGithubConfig != null && shouldCommit;
918659
+ const verifyOnlyPipelineEnabled = !githubPipelineEnabled && verify2 === true;
918660
+ if (githubPipelineEnabled || verifyOnlyPipelineEnabled) {
918297
918661
  const pipelineLogger = {
918298
918662
  debug: (msg) => interactiveTaskContext.logger.debug(msg),
918299
918663
  info: (msg) => interactiveTaskContext.logger.info(msg),
@@ -918303,8 +918667,9 @@ generators:
918303
918667
  const hasBreakingChanges = autoVersioningVersionBump === "MAJOR";
918304
918668
  const pipeline6 = new import_pipeline2.PostGenerationPipeline({
918305
918669
  outputDir: absolutePathToLocalOutput,
918306
- replay: { enabled: replay?.enabled === true, skipApplication: noReplay, stageOnly: false },
918307
- github: {
918670
+ replay: githubPipelineEnabled ? { enabled: replay?.enabled === true, skipApplication: noReplay, stageOnly: false } : void 0,
918671
+ verify: { enabled: verify2 === true, runner },
918672
+ github: githubPipelineEnabled && selfhostedGithubConfig != null ? {
918308
918673
  enabled: true,
918309
918674
  uri: selfhostedGithubConfig.uri,
918310
918675
  token: selfhostedGithubConfig.token,
@@ -918326,7 +918691,7 @@ generators:
918326
918691
  breakingChangesSummary: hasBreakingChanges ? autoVersioningPrDescription : void 0,
918327
918692
  runId: process.env.FERN_RUN_ID,
918328
918693
  apiBaseUrl: getGithubApiBaseUrl(selfhostedGithubConfig.uri)
918329
- },
918694
+ } : void 0,
918330
918695
  cliVersion: workspace.cliVersion ?? "unknown",
918331
918696
  generatorVersions: {
918332
918697
  [generatorInvocation.name]: generatorInvocation.version
@@ -918336,7 +918701,7 @@ generators:
918336
918701
  const pipelineStart = Date.now();
918337
918702
  const pipelineResult = await pipeline6.run();
918338
918703
  const pipelineDurationMs = Date.now() - pipelineStart;
918339
- if (pipelineResult.steps.replay != null) {
918704
+ if (pipelineResult.steps.replay != null && selfhostedGithubConfig != null) {
918340
918705
  (0, import_pipeline2.logReplaySummary)(pipelineResult.steps.replay, {
918341
918706
  debug: (msg) => interactiveTaskContext.logger.debug(msg),
918342
918707
  info: (msg) => {
@@ -918702,12 +919067,13 @@ var GenerationRunner = class {
918702
919067
  };
918703
919068
 
918704
919069
  // ../cli-v2/lib/sdk/generator/LegacyLocalGenerationRunner.js
919070
+ init_lib5();
918705
919071
  var import_promises116 = require("fs/promises");
918706
919072
 
918707
919073
  // ../cli-v2/lib/sdk/adapter/LegacyGeneratorInvocationAdapter.js
918708
919074
  init_lib4();
918709
- init_lib6();
918710
919075
  init_lib7();
919076
+ init_lib8();
918711
919077
  var import_promises115 = require("fs/promises");
918712
919078
  var LegacyGeneratorInvocationAdapter = class {
918713
919079
  context;
@@ -919011,7 +919377,7 @@ var LegacyGeneratorInvocationAdapter = class {
919011
919377
  };
919012
919378
 
919013
919379
  // ../cli-v2/lib/sdk/generator/utils/resolveTargetOutput.js
919014
- init_lib6();
919380
+ init_lib7();
919015
919381
  var import_path86 = require("path");
919016
919382
  function resolveTargetOutput({ context: context3, task, target, preview, outputPath }) {
919017
919383
  if (preview) {
@@ -919194,7 +919560,8 @@ var LegacyLocalGenerationRunner = class {
919194
919560
 
919195
919561
  // ../cli-v2/lib/sdk/generator/LegacyRemoteGenerationRunner.js
919196
919562
  init_lib4();
919197
- init_lib6();
919563
+ init_lib7();
919564
+ init_lib5();
919198
919565
  var import_promises117 = require("fs/promises");
919199
919566
  var import_os14 = require("os");
919200
919567
  var LegacyRemoteGenerationRunner = class {
@@ -919569,7 +919936,7 @@ var SdkTaskGroup = class {
919569
919936
  };
919570
919937
 
919571
919938
  // ../cli-v2/lib/workspace/WorkspaceBuilder.js
919572
- init_lib6();
919939
+ init_lib7();
919573
919940
  var WorkspaceBuilder = class {
919574
919941
  context;
919575
919942
  constructor({ context: context3 }) {
@@ -920427,7 +920794,7 @@ init_lib4();
920427
920794
 
920428
920795
  // ../cli-v2/lib/sdk/updater/GeneratorMigrator.js
920429
920796
  init_lib4();
920430
- init_lib10();
920797
+ init_lib11();
920431
920798
  var import_fs32 = require("fs");
920432
920799
  var import_promises119 = require("fs/promises");
920433
920800
  var import_path87 = require("path");
@@ -921168,17 +921535,17 @@ function createCliV2(argv) {
921168
921535
 
921169
921536
  // src/cli.ts
921170
921537
  init_lib4();
921171
- init_lib6();
921538
+ init_lib7();
921172
921539
  var import_generator_cli5 = __toESM(require_api3(), 1);
921173
921540
 
921174
921541
  // ../init/lib/initializeAPI.js
921175
- init_lib6();
921542
+ init_lib7();
921176
921543
  var import_promises124 = require("fs/promises");
921177
921544
  var import_fs_extra = __toESM(require_lib19(), 1);
921178
921545
  var import_path90 = __toESM(require("path"), 1);
921179
921546
 
921180
921547
  // ../init/lib/createFernDirectoryAndOrganization.js
921181
- init_lib6();
921548
+ init_lib7();
921182
921549
  var import_promises121 = require("fs/promises");
921183
921550
  init_lodash();
921184
921551
  var GITIGNORE_CONTENT = "**/.preview\n**/.definition\n";
@@ -921447,7 +921814,7 @@ async function formatFernWorkspace({ workspace, context: context3, shouldFix })
921447
921814
  }
921448
921815
 
921449
921816
  // ../init/lib/createWorkspace.js
921450
- init_lib6();
921817
+ init_lib7();
921451
921818
  var import_promises123 = require("fs/promises");
921452
921819
  init_js_yaml();
921453
921820
 
@@ -921848,7 +922215,7 @@ async function hasInlinedOpenAPIWorkspace({ absolutePathToFernDirectory }) {
921848
922215
 
921849
922216
  // ../init/lib/initializeDocs.js
921850
922217
  init_lib4();
921851
- init_lib6();
922218
+ init_lib7();
921852
922219
  var import_promises125 = require("fs/promises");
921853
922220
  init_js_yaml();
921854
922221
  async function initializeDocs({ organization, taskContext, versionOfCli }) {
@@ -921894,7 +922261,7 @@ function getDocsConfig(organization) {
921894
922261
  }
921895
922262
 
921896
922263
  // ../init/lib/initializeWithMintlify.js
921897
- init_lib6();
922264
+ init_lib7();
921898
922265
 
921899
922266
  // ../docs-importers/mintlify/lib/MintlifyImporter.js
921900
922267
  init_lib4();
@@ -921919,7 +922286,7 @@ var FernDocsBuilder = class {
921919
922286
  };
921920
922287
 
921921
922288
  // ../docs-importers/commons/lib/FernDocsBuilderImpl.js
921922
- init_lib6();
922289
+ init_lib7();
921923
922290
  var import_promises126 = require("fs/promises");
921924
922291
  init_js_yaml();
921925
922292
  var FernDocsBuilderImpl = class extends FernDocsBuilder {
@@ -922057,7 +922424,7 @@ var NonTabbedNavigationBuilderImpl = class {
922057
922424
  };
922058
922425
 
922059
922426
  // ../docs-importers/mintlify/lib/MintlifyImporter.js
922060
- init_lib6();
922427
+ init_lib7();
922061
922428
  var import_promises128 = require("fs/promises");
922062
922429
 
922063
922430
  // ../docs-importers/mintlify/lib/convertColors.js
@@ -922077,7 +922444,7 @@ function convertColors(colors19) {
922077
922444
 
922078
922445
  // ../docs-importers/mintlify/lib/convertLogo.js
922079
922446
  init_lib4();
922080
- init_lib6();
922447
+ init_lib7();
922081
922448
  var LOGO_DEFAULT_HEIGHT = 28;
922082
922449
  function convertLogo({ logo, builder, absolutePathToMintJson }) {
922083
922450
  if (logo == null) {
@@ -922115,10 +922482,10 @@ function convertLogo({ logo, builder, absolutePathToMintJson }) {
922115
922482
 
922116
922483
  // ../docs-importers/mintlify/lib/convertNavigationItem.js
922117
922484
  init_lib4();
922118
- init_lib6();
922485
+ init_lib7();
922119
922486
 
922120
922487
  // ../docs-importers/mintlify/lib/convertMarkdown.js
922121
- init_lib6();
922488
+ init_lib7();
922122
922489
  var import_promises127 = require("fs/promises");
922123
922490
  var import_gray_matter10 = __toESM(require_gray_matter(), 1);
922124
922491
  async function convertMarkdown({ absolutePathToMintJson, absoluteFilepathToMarkdown, relativeFilepathFromRoot, builder }) {
@@ -922410,7 +922777,7 @@ var MintlifyImporter = class extends DocsImporter {
922410
922777
  };
922411
922778
 
922412
922779
  // ../docs-importers/mintlify/lib/runMintlifyMigration.js
922413
- init_lib6();
922780
+ init_lib7();
922414
922781
  var import_promises129 = require("fs/promises");
922415
922782
  async function runMintlifyMigration({ absolutePathToMintJson, outputPath, taskContext, versionOfCli, organization }) {
922416
922783
  const mintlifyImporter = new MintlifyImporter({
@@ -922461,7 +922828,7 @@ var initializeWithMintlify = async ({ pathToMintJson, taskContext, versionOfCli,
922461
922828
  };
922462
922829
 
922463
922830
  // ../init/lib/initializeWithReadme.js
922464
- init_lib6();
922831
+ init_lib7();
922465
922832
 
922466
922833
  // ../docs-importers/readme/lib/assert.js
922467
922834
  init_zod();
@@ -922480,7 +922847,7 @@ function assertIsStringArray(val) {
922480
922847
 
922481
922848
  // ../docs-importers/readme/lib/ReadmeImporter.js
922482
922849
  init_lib4();
922483
- init_lib6();
922850
+ init_lib7();
922484
922851
  var import_promises134 = require("fs/promises");
922485
922852
 
922486
922853
  // ../docs-importers/readme/lib/extract/favicon.js
@@ -925492,7 +925859,7 @@ async function getColors(hast) {
925492
925859
 
925493
925860
  // ../docs-importers/readme/lib/utils/files/logo.js
925494
925861
  init_lib4();
925495
- init_lib6();
925862
+ init_lib7();
925496
925863
 
925497
925864
  // ../docs-importers/readme/lib/extract/logo.js
925498
925865
  init_unist_util_visit();
@@ -935872,7 +936239,7 @@ var ReadmeImporter = class extends DocsImporter {
935872
936239
  };
935873
936240
 
935874
936241
  // ../docs-importers/readme/lib/runReadmeMigration.js
935875
- init_lib6();
936242
+ init_lib7();
935876
936243
  var import_promises135 = require("fs/promises");
935877
936244
  async function runReadmeMigration({ readmeUrl, outputPath, taskContext, versionOfCli, organization }) {
935878
936245
  const builder = new FernDocsBuilderImpl();
@@ -935957,10 +936324,14 @@ async function fetchOpenAPIFromUrl({ url: url3, logger: logger4 }) {
935957
936324
  return dump(response.data);
935958
936325
  }
935959
936326
 
936327
+ // src/cli.ts
936328
+ init_lib5();
936329
+
935960
936330
  // ../generation/protoc-gen-fern/package.json
935961
936331
  var version6 = "0.0.0";
935962
936332
 
935963
936333
  // ../generation/protoc-gen-fern/lib/commons/logging.js
936334
+ init_lib5();
935964
936335
  var Logger4 = class {
935965
936336
  enabled = true;
935966
936337
  write(level, ...messages2) {
@@ -937695,6 +938066,9 @@ Yargs2.hideBin = processArgv.hideBin;
937695
938066
  Yargs2.Parser = Parser8;
937696
938067
  var yargs_default2 = Yargs2;
937697
938068
 
938069
+ // src/cli-context/CliContext.ts
938070
+ init_lib5();
938071
+
937698
938072
  // ../../../node_modules/.pnpm/@inquirer+core@10.3.2_@types+node@22.19.17/node_modules/@inquirer/core/dist/esm/lib/key.js
937699
938073
  var isUpKey = (key2, keybindings = []) => (
937700
938074
  // The up key
@@ -939737,6 +940111,7 @@ var StdoutRedirector = class {
939737
940111
 
939738
940112
  // src/cli-context/TaskContextImpl.ts
939739
940113
  init_lib4();
940114
+ init_lib5();
939740
940115
  var TaskContextImpl = class {
939741
940116
  result = TaskResult.Success;
939742
940117
  lastFailureMessage = void 0;
@@ -940283,7 +940658,7 @@ var CliContext = class _CliContext {
940283
940658
  if (false) {
940284
940659
  this.logger.error("CLI_VERSION is not defined");
940285
940660
  }
940286
- return "5.22.1";
940661
+ return "5.23.0-1-gebd00e05a4f";
940287
940662
  }
940288
940663
  getCliName() {
940289
940664
  if (false) {
@@ -940580,7 +940955,7 @@ function wrapWorkspaceNameForPrefix(workspaceName) {
940580
940955
  }
940581
940956
 
940582
940957
  // ../project-loader/lib/loadProject.js
940583
- init_lib6();
940958
+ init_lib7();
940584
940959
  var import_promises137 = require("fs/promises");
940585
940960
 
940586
940961
  // ../project-loader/lib/normalizeCommandLineApiWorkspace.js
@@ -940893,7 +941268,7 @@ async function getOrganization({
940893
941268
  }
940894
941269
 
940895
941270
  // src/commands/upgrade/upgradeGenerator.ts
940896
- init_lib6();
941271
+ init_lib7();
940897
941272
  var import_promises141 = require("fs/promises");
940898
941273
  var import_path93 = __toESM(require("path"), 1);
940899
941274
  var import_semver16 = __toESM(require_semver2(), 1);
@@ -940901,7 +941276,7 @@ var import_yaml6 = __toESM(require_dist9(), 1);
940901
941276
 
940902
941277
  // src/commands/upgrade/migrations/loader.ts
940903
941278
  init_lib4();
940904
- init_lib10();
941279
+ init_lib11();
940905
941280
  var import_fs36 = require("fs");
940906
941281
  var import_promises140 = require("fs/promises");
940907
941282
  var import_os15 = require("os");
@@ -941926,7 +942301,7 @@ function filterGenerators({
941926
942301
  }
941927
942302
 
941928
942303
  // src/commands/generate/generateAPIWorkspaces.ts
941929
- init_lib6();
942304
+ init_lib7();
941930
942305
 
941931
942306
  // src/constants.ts
941932
942307
  var API_CLI_OPTION = "api";
@@ -941936,15 +942311,15 @@ var APPROVED_DIRECTORIES_FILENAME = "approved-output-directories";
941936
942311
  var LOCAL_STORAGE_FOLDER6 = ".fern-dev";
941937
942312
 
941938
942313
  // src/commands/generate/checkOutputDirectory.ts
941939
- init_lib6();
942314
+ init_lib7();
941940
942315
  var import_promises146 = require("fs/promises");
941941
942316
 
941942
942317
  // src/persistence/output-directories/getOutputDirectories.ts
941943
- init_lib6();
942318
+ init_lib7();
941944
942319
  var import_promises144 = require("fs/promises");
941945
942320
 
941946
942321
  // src/persistence/output-directories/getPathToOutputDirectoriesFile.ts
941947
- init_lib6();
942322
+ init_lib7();
941948
942323
  var import_os16 = require("os");
941949
942324
  function getPathToOutputDirectoriesFile() {
941950
942325
  return join8(
@@ -942032,7 +942407,7 @@ function expandGroupFilter(groupNames, generatorsConfiguration) {
942032
942407
  }
942033
942408
 
942034
942409
  // src/commands/generate/generateAPIWorkspace.ts
942035
- init_lib6();
942410
+ init_lib7();
942036
942411
 
942037
942412
  // src/commands/generate/describeSkipReason.ts
942038
942413
  function classifySkipReason(generator, rootAutorelease) {
@@ -942141,6 +942516,7 @@ async function generateWorkspace({
942141
942516
  skipFernignore,
942142
942517
  dynamicIrOnly,
942143
942518
  noReplay,
942519
+ verify: verify2,
942144
942520
  retryRateLimited,
942145
942521
  requireEnvVars,
942146
942522
  automationMode,
@@ -942208,6 +942584,7 @@ async function generateWorkspace({
942208
942584
  automationMode,
942209
942585
  autoMerge,
942210
942586
  skipIfNoDiff,
942587
+ verify: verify2,
942211
942588
  disableTelemetry: isTelemetryDisabled()
942212
942589
  });
942213
942590
  } else if (token != null) {
@@ -942602,6 +942979,7 @@ async function generateAPIWorkspaces({
942602
942979
  dynamicIrOnly,
942603
942980
  outputDir,
942604
942981
  noReplay,
942982
+ verify: verify2,
942605
942983
  retryRateLimited,
942606
942984
  requireEnvVars,
942607
942985
  automationMode,
@@ -942677,6 +943055,7 @@ async function generateAPIWorkspaces({
942677
943055
  skipFernignore,
942678
943056
  dynamicIrOnly,
942679
943057
  noReplay,
943058
+ verify: verify2,
942680
943059
  retryRateLimited,
942681
943060
  requireEnvVars,
942682
943061
  automationMode,
@@ -943217,6 +943596,7 @@ async function executeAutomationsGenerate({
943217
943596
  dynamicIrOnly: false,
943218
943597
  outputDir: void 0,
943219
943598
  noReplay: false,
943599
+ verify: false,
943220
943600
  // Automation runs are unattended; transient 429s should be retried
943221
943601
  // automatically rather than failing the run and asking a human to
943222
943602
  // re-trigger with a flag. The retry policy is bounded (5 attempts,
@@ -943474,7 +943854,7 @@ init_lib4();
943474
943854
  var import_promises148 = require("fs/promises");
943475
943855
 
943476
943856
  // ../cli-migrations/lib/migrations/0.0.191/discriminant/getAllYamlFiles.js
943477
- init_lib6();
943857
+ init_lib7();
943478
943858
  init_esm14();
943479
943859
  var FERN_DIRECTORY2 = "fern";
943480
943860
  async function getAllYamlFiles(context3) {
@@ -943548,7 +943928,7 @@ var import_promises149 = require("fs/promises");
943548
943928
  var import_yaml7 = __toESM(require_dist9(), 1);
943549
943929
 
943550
943930
  // ../cli-migrations/lib/migrations/0.0.203/union-single-property-key/getAllYamlFiles.js
943551
- init_lib6();
943931
+ init_lib7();
943552
943932
  init_esm14();
943553
943933
  var FERN_DIRECTORY3 = "fern";
943554
943934
  async function getAllYamlFiles2(context3) {
@@ -943634,7 +944014,7 @@ var import_promises150 = require("fs/promises");
943634
944014
  var import_yaml8 = __toESM(require_dist9(), 1);
943635
944015
 
943636
944016
  // ../cli-migrations/lib/migrations/0.0.207/add-mode-to-draft-generators/getAllGeneratorYamlFiles.js
943637
- init_lib6();
944017
+ init_lib7();
943638
944018
  init_esm14();
943639
944019
  var FERN_DIRECTORY4 = "fern";
943640
944020
  async function getAllGeneratorYamlFiles(context3) {
@@ -943715,7 +944095,7 @@ var import_promises151 = require("fs/promises");
943715
944095
  var import_yaml9 = __toESM(require_dist9(), 1);
943716
944096
 
943717
944097
  // ../cli-migrations/lib/migrations/0.0.210/remove-inline-error-declarations/getAllYamlFiles.js
943718
- init_lib6();
944098
+ init_lib7();
943719
944099
  init_esm14();
943720
944100
  var FERN_DIRECTORY5 = "fern";
943721
944101
  async function getAllYamlFiles3(context3) {
@@ -943813,7 +944193,7 @@ var import_promises152 = require("fs/promises");
943813
944193
  var import_yaml10 = __toESM(require_dist9(), 1);
943814
944194
 
943815
944195
  // ../cli-migrations/lib/migrations/0.0.212/add-publishing-to-release-generators/getAllGeneratorYamlFiles.js
943816
- init_lib6();
944196
+ init_lib7();
943817
944197
  init_esm14();
943818
944198
  var FERN_DIRECTORY6 = "fern";
943819
944199
  async function getAllGeneratorYamlFiles2(context3) {
@@ -943904,7 +944284,7 @@ var __default5 = versionMigrations5;
943904
944284
  var import_promises153 = require("fs/promises");
943905
944285
 
943906
944286
  // ../cli-migrations/lib/migrations/0.0.220/rename-alias-key-to-type/getAllYamlFiles.js
943907
- init_lib6();
944287
+ init_lib7();
943908
944288
  init_esm14();
943909
944289
  var FERN_DIRECTORY7 = "fern";
943910
944290
  async function getAllYamlFiles4(context3) {
@@ -943952,7 +944332,7 @@ var __default6 = versionMigrations6;
943952
944332
  var import_promises154 = require("fs/promises");
943953
944333
 
943954
944334
  // ../cli-migrations/lib/migrations/0.0.221/add-error-discriminant/getAllRootApiYamlFiles.js
943955
- init_lib6();
944335
+ init_lib7();
943956
944336
  init_esm14();
943957
944337
  var FERN_DIRECTORY8 = "fern";
943958
944338
  async function getAllRootApiYamlFiles(context3) {
@@ -944002,7 +944382,7 @@ var import_promises155 = require("fs/promises");
944002
944382
  init_js_yaml();
944003
944383
 
944004
944384
  // ../cli-migrations/lib/migrations/0.0.241/add-generator-groups/getAllGeneratorYamlFiles.js
944005
- init_lib6();
944385
+ init_lib7();
944006
944386
  init_esm14();
944007
944387
  var FERN_DIRECTORY9 = "fern";
944008
944388
  async function getAllGeneratorYamlFiles3(context3) {
@@ -944228,7 +944608,7 @@ var import_promises156 = require("fs/promises");
944228
944608
  var import_yaml11 = __toESM(require_dist9(), 1);
944229
944609
 
944230
944610
  // ../cli-migrations/lib/migrations/0.0.248/add-error-discrimination-config/getAllRootApiYamlFiles.js
944231
- init_lib6();
944611
+ init_lib7();
944232
944612
  init_esm14();
944233
944613
  var FERN_DIRECTORY10 = "fern";
944234
944614
  async function getAllRootApiYamlFiles2(context3) {
@@ -944293,7 +944673,7 @@ var import_promises157 = require("fs/promises");
944293
944673
  var import_yaml12 = __toESM(require_dist9(), 1);
944294
944674
 
944295
944675
  // ../cli-migrations/lib/migrations/0.1.3-rc3/add-inline-requests/getAllYamlFiles.js
944296
- init_lib6();
944676
+ init_lib7();
944297
944677
  init_esm14();
944298
944678
  var FERN_DIRECTORY11 = "fern";
944299
944679
  async function getAllYamlFiles5(context3) {
@@ -944455,7 +944835,7 @@ var import_promises158 = require("fs/promises");
944455
944835
  var import_yaml13 = __toESM(require_dist9(), 1);
944456
944836
 
944457
944837
  // ../cli-migrations/lib/migrations/0.3.0-rc12/add-value-key-to-type-examples/getAllYamlFiles.js
944458
- init_lib6();
944838
+ init_lib7();
944459
944839
  init_esm14();
944460
944840
  var FERN_DIRECTORY12 = "fern";
944461
944841
  async function getAllYamlFiles6(context3) {
@@ -944535,7 +944915,7 @@ var import_promises159 = require("fs/promises");
944535
944915
  var import_yaml14 = __toESM(require_dist9(), 1);
944536
944916
 
944537
944917
  // ../cli-migrations/lib/migrations/0.3.23/change-services-key-to-service/getAllYamlFiles.js
944538
- init_lib6();
944918
+ init_lib7();
944539
944919
  init_esm14();
944540
944920
  var FERN_DIRECTORY13 = "fern";
944541
944921
  async function getAllYamlFiles7(context3) {
@@ -944619,7 +944999,7 @@ var import_promises160 = require("fs/promises");
944619
944999
  var import_yaml15 = __toESM(require_dist9(), 1);
944620
945000
 
944621
945001
  // ../cli-migrations/lib/migrations/0.5.4/move-service-docs-to-top-level/getAllYamlFiles.js
944622
- init_lib6();
945002
+ init_lib7();
944623
945003
  init_esm14();
944624
945004
  var FERN_DIRECTORY14 = "fern";
944625
945005
  async function getAllYamlFiles8(context3) {
@@ -944691,7 +945071,7 @@ var __default13 = versionMigrations13;
944691
945071
  var import_promises161 = require("fs/promises");
944692
945072
 
944693
945073
  // ../cli-migrations/lib/migrations/0.9.10/add-suffix-to-docs-domain/getAllGeneratorYamlFiles.js
944694
- init_lib6();
945074
+ init_lib7();
944695
945075
  init_esm14();
944696
945076
  var FERN_DIRECTORY15 = "fern";
944697
945077
  async function getAllGeneratorYamlFiles4(context3) {
@@ -944748,7 +945128,7 @@ var versionMigrations14 = {
944748
945128
  var __default14 = versionMigrations14;
944749
945129
 
944750
945130
  // ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/migration.js
944751
- init_lib6();
945131
+ init_lib7();
944752
945132
 
944753
945133
  // ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/docs-config/index.js
944754
945134
  var import_docs_config = __toESM(require_docs_config(), 1);
@@ -944756,7 +945136,7 @@ var import_legacy_docs_config = __toESM(require_legacy_docs_config(), 1);
944756
945136
  var LegacyDocsSerializers = __toESM(require_serialization4(), 1);
944757
945137
 
944758
945138
  // ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/docs-config/loadRawDocsConfiguration.js
944759
- init_lib6();
945139
+ init_lib7();
944760
945140
  var import_promises162 = require("fs/promises");
944761
945141
  init_js_yaml();
944762
945142
  async function loadRawDocsConfiguration2({ absolutePathToWorkspace }) {
@@ -944779,7 +945159,7 @@ function getAbsolutePathToDocsFolder({ absolutePathToWorkspace }) {
944779
945159
  }
944780
945160
 
944781
945161
  // ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndMultipleAPIs.js
944782
- init_lib6();
945162
+ init_lib7();
944783
945163
  var import_promises164 = require("fs/promises");
944784
945164
  init_js_yaml();
944785
945165
 
@@ -944810,7 +945190,7 @@ function isAPIReferenceSection(item) {
944810
945190
 
944811
945191
  // ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/generators-configuration/convertLegacyGeneratorsConfiguration.js
944812
945192
  init_lib4();
944813
- init_lib6();
945193
+ init_lib7();
944814
945194
 
944815
945195
  // ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/generators-configuration/legacy/GeneratorsConfigurationSchema.js
944816
945196
  init_zod();
@@ -944988,7 +945368,7 @@ __export(legacy_exports, {
944988
945368
  });
944989
945369
 
944990
945370
  // ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/generators-configuration/loadRawGeneratorsConfiguration.js
944991
- init_lib6();
945371
+ init_lib7();
944992
945372
  var import_promises163 = require("fs/promises");
944993
945373
  init_js_yaml();
944994
945374
  async function loadRawGeneratorsConfiguration2({ absolutePathToWorkspace }) {
@@ -945066,7 +945446,7 @@ async function migrateAndWriteDocsYml({ absolutePathToWorkspace, docsURLs, apiNa
945066
945446
  }
945067
945447
 
945068
945448
  // ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/migrateDocsAndSingleAPI.js
945069
- init_lib6();
945449
+ init_lib7();
945070
945450
  var import_promises165 = require("fs/promises");
945071
945451
  init_js_yaml();
945072
945452
  async function migrateDocsAndSingleAPI({ absolutePathToFernDirectory, absolutePathToWorkspace }) {
@@ -945106,7 +945486,7 @@ async function migrateAndWriteGeneratorsYml2({ absolutePathToWorkspace }) {
945106
945486
  }
945107
945487
 
945108
945488
  // ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/migrateOnlyMultipleAPIs.js
945109
- init_lib6();
945489
+ init_lib7();
945110
945490
  var import_promises166 = require("fs/promises");
945111
945491
  init_js_yaml();
945112
945492
  var APIS_DIRECTORY3 = "apis";
@@ -945135,7 +945515,7 @@ async function migrateAndWriteGeneratorsYml3({ absolutePathToWorkspace }) {
945135
945515
  }
945136
945516
 
945137
945517
  // ../cli-migrations/lib/migrations/0.15.0-rc0/update-directory-structure/migrateOnlySingleAPI.js
945138
- init_lib6();
945518
+ init_lib7();
945139
945519
  var import_promises167 = require("fs/promises");
945140
945520
  init_js_yaml();
945141
945521
  async function migrateOnlySingleAPI({ absolutePathToFernDirectory, absolutePathToWorkspace }) {
@@ -945230,7 +945610,7 @@ var versionMigrations15 = {
945230
945610
  var __default15 = versionMigrations15;
945231
945611
 
945232
945612
  // ../cli-migrations/lib/migrations/0.41.0-rc0/require-generators-yml/migration.js
945233
- init_lib6();
945613
+ init_lib7();
945234
945614
  var import_promises168 = require("fs/promises");
945235
945615
  init_js_yaml();
945236
945616
  var import_yaml16 = __toESM(require_dist9(), 1);
@@ -945317,7 +945697,7 @@ var versionMigrations16 = {
945317
945697
  var __default16 = versionMigrations16;
945318
945698
 
945319
945699
  // ../cli-migrations/lib/migrations/0.54.0-rc0/use-generators-yml-specs/migration.js
945320
- init_lib6();
945700
+ init_lib7();
945321
945701
  var import_promises169 = require("fs/promises");
945322
945702
  init_js_yaml();
945323
945703
  var import_yaml17 = __toESM(require_dist9(), 1);
@@ -945649,7 +946029,7 @@ var versionMigrations17 = {
945649
946029
  var __default17 = versionMigrations17;
945650
946030
 
945651
946031
  // ../cli-migrations/lib/migrations/0.82.1/add-path-parameter-order-setting/migration.js
945652
- init_lib6();
946032
+ init_lib7();
945653
946033
  var import_promises170 = require("fs/promises");
945654
946034
  init_js_yaml();
945655
946035
  var migration18 = {
@@ -945775,7 +946155,7 @@ var versionMigrations18 = {
945775
946155
  var __default18 = versionMigrations18;
945776
946156
 
945777
946157
  // ../cli-migrations/lib/migrations/1.0.0/update-settings-defaults/migration.js
945778
- init_lib6();
946158
+ init_lib7();
945779
946159
  var import_promises171 = require("fs/promises");
945780
946160
  init_js_yaml();
945781
946161
  var migration19 = {
@@ -946021,7 +946401,7 @@ var versionMigrations19 = {
946021
946401
  var __default19 = versionMigrations19;
946022
946402
 
946023
946403
  // ../cli-migrations/lib/migrations/2.0.0-rc0/update-settings-defaults/migration.js
946024
- init_lib6();
946404
+ init_lib7();
946025
946405
  var import_promises172 = require("fs/promises");
946026
946406
  init_js_yaml();
946027
946407
  var migration20 = {
@@ -946244,7 +946624,7 @@ var versionMigrations20 = {
946244
946624
  var __default20 = versionMigrations20;
946245
946625
 
946246
946626
  // ../cli-migrations/lib/migrations/2.13.0/migrate-deprecated-generator-api-settings/migration.js
946247
- init_lib6();
946627
+ init_lib7();
946248
946628
  var import_promises173 = require("fs/promises");
946249
946629
  init_js_yaml();
946250
946630
  var migration21 = {
@@ -946383,7 +946763,7 @@ var versionMigrations21 = {
946383
946763
  var __default21 = versionMigrations21;
946384
946764
 
946385
946765
  // ../cli-migrations/lib/migrations/3.0.0/enable-smart-casing/migration.js
946386
- init_lib6();
946766
+ init_lib7();
946387
946767
  var import_promises174 = require("fs/promises");
946388
946768
  init_js_yaml();
946389
946769
  var migration22 = {
@@ -946610,7 +946990,7 @@ ${source_default.dim(migration23.summary)}`
946610
946990
  }
946611
946991
 
946612
946992
  // src/commands/upgrade/upgrade.ts
946613
- init_lib10();
946993
+ init_lib11();
946614
946994
  var import_promises175 = require("fs/promises");
946615
946995
 
946616
946996
  // ../../../node_modules/.pnpm/immer@10.2.0/node_modules/immer/dist/immer.mjs
@@ -947338,7 +947718,7 @@ var immer = new Immer2();
947338
947718
  var produce = immer.produce;
947339
947719
 
947340
947720
  // src/rerunFernCliAtVersion.ts
947341
- init_lib10();
947721
+ init_lib11();
947342
947722
 
947343
947723
  // src/cwd.ts
947344
947724
  var FERN_CWD_ENV_VAR = "FERN_CWD";
@@ -947929,7 +948309,7 @@ function buildPrSuggestion({
947929
948309
 
947930
948310
  // src/commands/diff/diff.ts
947931
948311
  init_lib4();
947932
- init_lib6();
948312
+ init_lib7();
947933
948313
  var import_semver17 = __toESM(require_semver2(), 1);
947934
948314
  async function diff({
947935
948315
  context: context3,
@@ -948290,7 +948670,7 @@ async function previewDocsWorkspace({
948290
948670
  }
948291
948671
 
948292
948672
  // src/commands/docs-diff/docsDiff.ts
948293
- init_lib6();
948673
+ init_lib7();
948294
948674
  var import_promises177 = require("fs/promises");
948295
948675
  var import_pngjs = __toESM(require_png2(), 1);
948296
948676
  async function getSlugForFiles({
@@ -948721,7 +949101,7 @@ async function docsDiff({
948721
949101
 
948722
949102
  // src/commands/docs-md-generate/generateLibraryDocs.ts
948723
949103
  init_lib4();
948724
- init_lib6();
949104
+ init_lib7();
948725
949105
 
948726
949106
  // ../library-docs-generator/lib/cpp/src/context.js
948727
949107
  var entityRegistry = /* @__PURE__ */ new Map();
@@ -953529,7 +953909,7 @@ Found ${previewDeployments.length} preview deployment(s):
953529
953909
  }
953530
953910
 
953531
953911
  // src/commands/docs-theme/ThemeExporter.ts
953532
- init_lib6();
953912
+ init_lib7();
953533
953913
  var import_promises179 = require("fs/promises");
953534
953914
  init_js_yaml();
953535
953915
  var import_path97 = __toESM(require("path"), 1);
@@ -953704,7 +954084,7 @@ init_js_yaml();
953704
954084
  var import_path99 = __toESM(require("path"), 1);
953705
954085
 
953706
954086
  // src/commands/docs-theme/ThemeConfigProcessor.ts
953707
- init_lib6();
954087
+ init_lib7();
953708
954088
  var import_child_process12 = require("child_process");
953709
954089
  var import_crypto9 = require("crypto");
953710
954090
  var import_promises180 = require("fs/promises");
@@ -954114,7 +954494,7 @@ async function downgrade({
954114
954494
  }
954115
954495
 
954116
954496
  // src/commands/export/generateOpenAPIForWorkspaces.ts
954117
- init_lib6();
954497
+ init_lib7();
954118
954498
  var import_promises183 = require("fs/promises");
954119
954499
  init_js_yaml();
954120
954500
 
@@ -955534,7 +955914,7 @@ async function formatWorkspaces({
955534
955914
  // src/commands/generate/generateDocsWorkspace.ts
955535
955915
  init_lib4();
955536
955916
  init_js();
955537
- init_lib6();
955917
+ init_lib7();
955538
955918
 
955539
955919
  // src/utils/environment.ts
955540
955920
  function detectCISource() {
@@ -955825,7 +956205,7 @@ function summarizeValidationErrors(errors4) {
955825
956205
  }
955826
956206
 
955827
956207
  // src/commands/generate-dynamic-ir/generateDynamicIrForWorkspaces.ts
955828
- init_lib6();
956208
+ init_lib7();
955829
956209
  var import_path100 = __toESM(require("path"), 1);
955830
956210
 
955831
956211
  // src/commands/generate-ir/generateIrForFernWorkspace.ts
@@ -955900,7 +956280,7 @@ async function generateDynamicIrForWorkspaces({
955900
956280
  }
955901
956281
 
955902
956282
  // src/commands/generate-fdr/generateFdrApiDefinitionForWorkspaces.ts
955903
- init_lib6();
956283
+ init_lib7();
955904
956284
  var import_path101 = __toESM(require("path"), 1);
955905
956285
  async function generateFdrApiDefinitionForWorkspaces({
955906
956286
  project,
@@ -955947,7 +956327,7 @@ async function generateFdrApiDefinitionForWorkspaces({
955947
956327
  }
955948
956328
 
955949
956329
  // src/commands/generate-ir/generateIrForWorkspaces.ts
955950
- init_lib6();
956330
+ init_lib7();
955951
956331
  var import_path102 = __toESM(require("path"), 1);
955952
956332
  async function generateIrForWorkspaces({
955953
956333
  project,
@@ -956033,7 +956413,7 @@ async function getIntermediateRepresentation2({
956033
956413
  }
956034
956414
 
956035
956415
  // src/commands/generate-openapi-fdr/generateOpenApiToFdrApiDefinitionForWorkspaces.ts
956036
- init_lib6();
956416
+ init_lib7();
956037
956417
  var import_path103 = __toESM(require("path"), 1);
956038
956418
  async function generateOpenApiToFdrApiDefinitionForWorkspaces({
956039
956419
  project,
@@ -956054,7 +956434,7 @@ async function generateOpenApiToFdrApiDefinitionForWorkspaces({
956054
956434
  }
956055
956435
 
956056
956436
  // src/commands/generate-openapi-ir/generateOpenAPIIrForWorkspaces.ts
956057
- init_lib6();
956437
+ init_lib7();
956058
956438
  var import_path104 = __toESM(require("path"), 1);
956059
956439
  async function generateOpenAPIIrForWorkspaces({
956060
956440
  project,
@@ -956089,7 +956469,7 @@ async function generateOpenAPIIrForWorkspaces({
956089
956469
  }
956090
956470
 
956091
956471
  // src/commands/generate-overrides/compareOpenAPISpecs.ts
956092
- init_lib6();
956472
+ init_lib7();
956093
956473
  var import_promises184 = require("fs/promises");
956094
956474
  init_js_yaml();
956095
956475
  async function compareOpenAPISpecs({
@@ -956240,7 +956620,7 @@ function deepEqual(a3, b8) {
956240
956620
  }
956241
956621
 
956242
956622
  // src/commands/generate-overrides/writeOverridesForWorkspaces.ts
956243
- init_lib6();
956623
+ init_lib7();
956244
956624
  var import_promises185 = require("fs/promises");
956245
956625
  init_js_yaml();
956246
956626
  async function writeOverridesForWorkspaces({
@@ -956400,7 +956780,7 @@ async function installDependencies({ cliContext }) {
956400
956780
  }
956401
956781
 
956402
956782
  // src/commands/jsonschema/generateJsonschemaForWorkspace.ts
956403
- init_lib6();
956783
+ init_lib7();
956404
956784
 
956405
956785
  // ../fern-definition/ir-to-jsonschema/lib/converters/convertTypeDeclarationToJsonSchema.js
956406
956786
  init_lib4();
@@ -956820,7 +957200,7 @@ async function generateJsonschemaForWorkspaces({
956820
957200
  }
956821
957201
 
956822
957202
  // src/commands/merge/mergeOpenAPIWithOverrides.ts
956823
- init_lib6();
957203
+ init_lib7();
956824
957204
  var import_promises187 = require("fs/promises");
956825
957205
  init_js_yaml();
956826
957206
  var HTTP_METHODS2 = /* @__PURE__ */ new Set(["get", "put", "post", "delete", "options", "head", "patch", "trace"]);
@@ -957591,9 +957971,9 @@ function getAIEnhancerConfig2() {
957591
957971
  }
957592
957972
 
957593
957973
  // src/commands/sdk-diff/sdkDiffCommand.ts
957594
- init_lib40();
957974
+ init_lib41();
957595
957975
  init_lib4();
957596
- init_lib6();
957976
+ init_lib7();
957597
957977
  var import_autoversion5 = __toESM(require_autoversion(), 1);
957598
957978
  var import_child_process13 = require("child_process");
957599
957979
  var import_util70 = require("util");
@@ -957784,7 +958164,7 @@ async function generateDiff({
957784
958164
  }
957785
958165
 
957786
958166
  // src/commands/sdk-preview/sdkPreview.ts
957787
- init_lib6();
958167
+ init_lib7();
957788
958168
  var import_promises189 = __toESM(require("fs/promises"), 1);
957789
958169
 
957790
958170
  // src/commands/sdk-preview/computePreviewVersion.ts
@@ -958091,7 +958471,7 @@ async function sdkPreview({
958091
958471
  }
958092
958472
 
958093
958473
  // src/commands/self-update/selfUpdate.ts
958094
- init_lib10();
958474
+ init_lib11();
958095
958475
  var import_promises190 = require("fs/promises");
958096
958476
  var import_path106 = require("path");
958097
958477
  async function getPackageManagerBinDir(logger4, pm2) {
@@ -958326,7 +958706,7 @@ Resolved to: ${installationMethod.resolvedPath}`;
958326
958706
  }
958327
958707
 
958328
958708
  // src/commands/test/testOutput.ts
958329
- init_lib10();
958709
+ init_lib11();
958330
958710
  async function testOutput({
958331
958711
  cliContext,
958332
958712
  project,
@@ -958440,7 +958820,7 @@ async function generateToken({
958440
958820
  }
958441
958821
 
958442
958822
  // src/commands/upgrade/updateApiSpec.ts
958443
- init_lib6();
958823
+ init_lib7();
958444
958824
  var fs27 = __toESM(require("fs"), 1);
958445
958825
  var import_promises191 = require("fs/promises");
958446
958826
  init_graphql();
@@ -958762,7 +959142,7 @@ async function validateDocsBrokenLinks({
958762
959142
  }
958763
959143
 
958764
959144
  // src/commands/validate/validateMdx.ts
958765
- init_lib39();
959145
+ init_lib40();
958766
959146
  var import_fs40 = require("fs");
958767
959147
  var import_gray_matter11 = __toESM(require_gray_matter(), 1);
958768
959148
  var import_path107 = __toESM(require("path"), 1);
@@ -958898,7 +959278,7 @@ function logMdxValidationResults({
958898
959278
  }
958899
959279
 
958900
959280
  // src/commands/validate/validateWorkspaces.ts
958901
- init_lib6();
959281
+ init_lib7();
958902
959282
 
958903
959283
  // src/commands/validate/buildCheckJsonResult.ts
958904
959284
  function buildCheckJsonResult({
@@ -959287,7 +959667,7 @@ async function validateWorkspaces({
959287
959667
  }
959288
959668
 
959289
959669
  // src/commands/write-definition/writeDefinitionForWorkspaces.ts
959290
- init_lib6();
959670
+ init_lib7();
959291
959671
  var import_promises193 = require("fs/promises");
959292
959672
  init_js_yaml();
959293
959673
  var import_path108 = __toESM(require("path"), 1);
@@ -959390,7 +959770,7 @@ async function writeFernDefinition({
959390
959770
  }
959391
959771
 
959392
959772
  // src/commands/write-docs-definition/writeDocsDefinitionForProject.ts
959393
- init_lib6();
959773
+ init_lib7();
959394
959774
  var import_promises194 = require("fs/promises");
959395
959775
  async function writeDocsDefinitionForProject({
959396
959776
  project,
@@ -959551,6 +959931,16 @@ function evaluateRuntime4() {
959551
959931
  }
959552
959932
 
959553
959933
  // src/cli.ts
959934
+ if (process.platform === "linux" && parseInt(process.versions.node.split(".")[0] ?? "0", 10) >= 26 && process.env.UV_USE_IO_URING !== "0") {
959935
+ const result = (0, import_node_child_process7.spawnSync)(process.execPath, process.argv.slice(1), {
959936
+ env: { ...process.env, UV_USE_IO_URING: "0" },
959937
+ stdio: "inherit"
959938
+ });
959939
+ if (result.signal) {
959940
+ process.kill(process.pid, result.signal);
959941
+ }
959942
+ process.exit(result.status ?? 1);
959943
+ }
959554
959944
  void runCli();
959555
959945
  async function runCli() {
959556
959946
  const isCompletion = process.argv.includes("--get-yargs-completions");
@@ -959872,9 +960262,9 @@ function addDiffCommand(cli, cliContext) {
959872
960262
  const fromSize = fs28.statSync(fromPath, { throwIfNoEntry: false })?.size ?? 0;
959873
960263
  const toSize = fs28.statSync(toPath4, { throwIfNoEntry: false })?.size ?? 0;
959874
960264
  if (fromSize > ONE_GB || toSize > ONE_GB) {
959875
- const { spawnSync: spawnSync7 } = await import("child_process");
960265
+ const { spawnSync: spawnSync8 } = await import("child_process");
959876
960266
  const HEAP_SIZE_MB = 8192;
959877
- const child = spawnSync7(
960267
+ const child = spawnSync8(
959878
960268
  process.execPath,
959879
960269
  [`--max-old-space-size=${HEAP_SIZE_MB}`, ...process.execArgv, ...process.argv.slice(1)],
959880
960270
  {
@@ -960098,6 +960488,11 @@ function addGenerateCommand2(cli, cliContext) {
960098
960488
  default: true,
960099
960489
  hidden: true,
960100
960490
  description: "Run replay after generation (use --no-replay to skip)"
960491
+ }).option("verify", {
960492
+ boolean: true,
960493
+ default: false,
960494
+ hidden: true,
960495
+ description: "Run the generator's verify.sh script in a validator container after generation (local generation only)"
960101
960496
  }).option("retry-rate-limited", {
960102
960497
  boolean: true,
960103
960498
  default: false,
@@ -960223,6 +960618,7 @@ function addGenerateCommand2(cli, cliContext) {
960223
960618
  dynamicIrOnly: argv["dynamic-ir-only"],
960224
960619
  outputDir: argv.output,
960225
960620
  noReplay: !argv.replay,
960621
+ verify: argv.verify,
960226
960622
  retryRateLimited: argv["retry-rate-limited"],
960227
960623
  requireEnvVars: argv["require-env-vars"],
960228
960624
  skipIfNoDiff: argv["skip-if-no-diff"]
@@ -960283,6 +960679,7 @@ function addGenerateCommand2(cli, cliContext) {
960283
960679
  dynamicIrOnly: argv["dynamic-ir-only"],
960284
960680
  outputDir: argv.output,
960285
960681
  noReplay: !argv.replay,
960682
+ verify: argv.verify,
960286
960683
  retryRateLimited: argv["retry-rate-limited"],
960287
960684
  requireEnvVars: argv["require-env-vars"],
960288
960685
  skipIfNoDiff: argv["skip-if-no-diff"]