@fern-api/fern-api-dev 4.67.1-1-g320f1268441 → 4.67.1-34-g9db0a8f4b9a

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 +133 -120
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -405313,9 +405313,9 @@ var require_file2 = __commonJS({
405313
405313
  }
405314
405314
  });
405315
405315
 
405316
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/parseControlResponse.js
405316
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/parseControlResponse.js
405317
405317
  var require_parseControlResponse = __commonJS({
405318
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/parseControlResponse.js"(exports2) {
405318
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/parseControlResponse.js"(exports2) {
405319
405319
  "use strict";
405320
405320
  Object.defineProperty(exports2, "__esModule", { value: true });
405321
405321
  exports2.parseControlResponse = parseControlResponse;
@@ -405365,9 +405365,9 @@ var require_parseControlResponse = __commonJS({
405365
405365
  }
405366
405366
  });
405367
405367
 
405368
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/FtpContext.js
405368
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/FtpContext.js
405369
405369
  var require_FtpContext = __commonJS({
405370
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/FtpContext.js"(exports2) {
405370
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/FtpContext.js"(exports2) {
405371
405371
  "use strict";
405372
405372
  Object.defineProperty(exports2, "__esModule", { value: true });
405373
405373
  exports2.FTPContext = exports2.FTPError = void 0;
@@ -405509,6 +405509,9 @@ var require_FtpContext = __commonJS({
405509
405509
  * Send an FTP command without waiting for or handling the result.
405510
405510
  */
405511
405511
  send(command3) {
405512
+ if (/[\r\n\0]/.test(command3)) {
405513
+ throw new Error(`Invalid command: Contains control characters. (${command3})`);
405514
+ }
405512
405515
  const containsPassword = command3.startsWith("PASS");
405513
405516
  const message = containsPassword ? "> PASS ###" : `> ${command3}`;
405514
405517
  this.log(message);
@@ -405682,9 +405685,9 @@ Closing reason: ${this._closingError.stack}`;
405682
405685
  }
405683
405686
  });
405684
405687
 
405685
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/FileInfo.js
405688
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/FileInfo.js
405686
405689
  var require_FileInfo = __commonJS({
405687
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/FileInfo.js"(exports2) {
405690
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/FileInfo.js"(exports2) {
405688
405691
  "use strict";
405689
405692
  Object.defineProperty(exports2, "__esModule", { value: true });
405690
405693
  exports2.FileInfo = exports2.FileType = void 0;
@@ -405739,9 +405742,9 @@ var require_FileInfo = __commonJS({
405739
405742
  }
405740
405743
  });
405741
405744
 
405742
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/parseListDOS.js
405745
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/parseListDOS.js
405743
405746
  var require_parseListDOS = __commonJS({
405744
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/parseListDOS.js"(exports2) {
405747
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/parseListDOS.js"(exports2) {
405745
405748
  "use strict";
405746
405749
  Object.defineProperty(exports2, "__esModule", { value: true });
405747
405750
  exports2.testLine = testLine;
@@ -405782,9 +405785,9 @@ var require_parseListDOS = __commonJS({
405782
405785
  }
405783
405786
  });
405784
405787
 
405785
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/parseListUnix.js
405788
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/parseListUnix.js
405786
405789
  var require_parseListUnix = __commonJS({
405787
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/parseListUnix.js"(exports2) {
405790
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/parseListUnix.js"(exports2) {
405788
405791
  "use strict";
405789
405792
  Object.defineProperty(exports2, "__esModule", { value: true });
405790
405793
  exports2.testLine = testLine;
@@ -405868,9 +405871,9 @@ var require_parseListUnix = __commonJS({
405868
405871
  }
405869
405872
  });
405870
405873
 
405871
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/parseListMLSD.js
405874
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/parseListMLSD.js
405872
405875
  var require_parseListMLSD = __commonJS({
405873
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/parseListMLSD.js"(exports2) {
405876
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/parseListMLSD.js"(exports2) {
405874
405877
  "use strict";
405875
405878
  Object.defineProperty(exports2, "__esModule", { value: true });
405876
405879
  exports2.testLine = testLine;
@@ -406033,9 +406036,9 @@ var require_parseListMLSD = __commonJS({
406033
406036
  }
406034
406037
  });
406035
406038
 
406036
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/parseList.js
406039
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/parseList.js
406037
406040
  var require_parseList = __commonJS({
406038
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/parseList.js"(exports2) {
406041
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/parseList.js"(exports2) {
406039
406042
  "use strict";
406040
406043
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o14, m11, k19, k23) {
406041
406044
  if (k23 === void 0) k23 = k19;
@@ -406111,9 +406114,9 @@ var require_parseList = __commonJS({
406111
406114
  }
406112
406115
  });
406113
406116
 
406114
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/ProgressTracker.js
406117
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/ProgressTracker.js
406115
406118
  var require_ProgressTracker = __commonJS({
406116
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/ProgressTracker.js"(exports2) {
406119
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/ProgressTracker.js"(exports2) {
406117
406120
  "use strict";
406118
406121
  Object.defineProperty(exports2, "__esModule", { value: true });
406119
406122
  exports2.ProgressTracker = void 0;
@@ -406182,9 +406185,9 @@ var require_ProgressTracker = __commonJS({
406182
406185
  }
406183
406186
  });
406184
406187
 
406185
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/StringWriter.js
406188
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/StringWriter.js
406186
406189
  var require_StringWriter = __commonJS({
406187
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/StringWriter.js"(exports2) {
406190
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/StringWriter.js"(exports2) {
406188
406191
  "use strict";
406189
406192
  Object.defineProperty(exports2, "__esModule", { value: true });
406190
406193
  exports2.StringWriter = void 0;
@@ -406210,9 +406213,9 @@ var require_StringWriter = __commonJS({
406210
406213
  }
406211
406214
  });
406212
406215
 
406213
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/netUtils.js
406216
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/netUtils.js
406214
406217
  var require_netUtils = __commonJS({
406215
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/netUtils.js"(exports2) {
406218
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/netUtils.js"(exports2) {
406216
406219
  "use strict";
406217
406220
  Object.defineProperty(exports2, "__esModule", { value: true });
406218
406221
  exports2.describeTLS = describeTLS;
@@ -406261,9 +406264,9 @@ var require_netUtils = __commonJS({
406261
406264
  }
406262
406265
  });
406263
406266
 
406264
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/transfer.js
406267
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/transfer.js
406265
406268
  var require_transfer = __commonJS({
406266
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/transfer.js"(exports2) {
406269
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/transfer.js"(exports2) {
406267
406270
  "use strict";
406268
406271
  Object.defineProperty(exports2, "__esModule", { value: true });
406269
406272
  exports2.enterPassiveModeIPv6 = enterPassiveModeIPv6;
@@ -406513,9 +406516,9 @@ var require_transfer = __commonJS({
406513
406516
  }
406514
406517
  });
406515
406518
 
406516
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/Client.js
406519
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/Client.js
406517
406520
  var require_Client14 = __commonJS({
406518
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/Client.js"(exports2) {
406521
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/Client.js"(exports2) {
406519
406522
  "use strict";
406520
406523
  Object.defineProperty(exports2, "__esModule", { value: true });
406521
406524
  exports2.Client = void 0;
@@ -407147,9 +407150,6 @@ var require_Client14 = __commonJS({
407147
407150
  * a given path to fix that issue for most cases.
407148
407151
  */
407149
407152
  async protectWhitespace(path97) {
407150
- if (/[\r\n\0]/.test(path97)) {
407151
- throw new Error("Invalid path: Contains control characters");
407152
- }
407153
407153
  if (!path97.startsWith(" ")) {
407154
407154
  return path97;
407155
407155
  }
@@ -407249,17 +407249,17 @@ var require_Client14 = __commonJS({
407249
407249
  }
407250
407250
  });
407251
407251
 
407252
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/StringEncoding.js
407252
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/StringEncoding.js
407253
407253
  var require_StringEncoding = __commonJS({
407254
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/StringEncoding.js"(exports2) {
407254
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/StringEncoding.js"(exports2) {
407255
407255
  "use strict";
407256
407256
  Object.defineProperty(exports2, "__esModule", { value: true });
407257
407257
  }
407258
407258
  });
407259
407259
 
407260
- // ../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/index.js
407260
+ // ../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/index.js
407261
407261
  var require_dist17 = __commonJS({
407262
- "../../../node_modules/.pnpm/basic-ftp@5.2.1/node_modules/basic-ftp/dist/index.js"(exports2) {
407262
+ "../../../node_modules/.pnpm/basic-ftp@5.2.2/node_modules/basic-ftp/dist/index.js"(exports2) {
407263
407263
  "use strict";
407264
407264
  var __createBinding2 = exports2 && exports2.__createBinding || (Object.create ? (function(o14, m11, k19, k23) {
407265
407265
  if (k23 === void 0) k23 = k19;
@@ -619399,7 +619399,7 @@ var TaskContextAdapter = class {
619399
619399
  return false;
619400
619400
  }
619401
619401
  }
619402
- async instrumentPostHogEvent(_event) {
619402
+ instrumentPostHogEvent(_event) {
619403
619403
  }
619404
619404
  formatError(error50) {
619405
619405
  if (error50 == null) {
@@ -627553,7 +627553,7 @@ var AccessTokenPosthogManager = class {
627553
627553
  properties: {
627554
627554
  ...event,
627555
627555
  ...event.properties,
627556
- version: "4.67.1-1-g320f1268441",
627556
+ version: "4.67.1-34-g9db0a8f4b9a",
627557
627557
  usingAccessToken: true
627558
627558
  }
627559
627559
  });
@@ -627604,7 +627604,7 @@ var UserPosthogManager = class {
627604
627604
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
627605
627605
  event: "CLI",
627606
627606
  properties: {
627607
- version: "4.67.1-1-g320f1268441",
627607
+ version: "4.67.1-34-g9db0a8f4b9a",
627608
627608
  ...event,
627609
627609
  ...event.properties,
627610
627610
  usingAccessToken: false,
@@ -628683,7 +628683,7 @@ var DASHBOARD_BASE_URL = "https://dashboard-dev.buildwithfern.com";
628683
628683
 
628684
628684
  // ../login/lib/login.js
628685
628685
  async function login(context3, { useDeviceCodeFlow = false, email: email3 } = {}) {
628686
- await context3.instrumentPostHogEvent({
628686
+ context3.instrumentPostHogEvent({
628687
628687
  command: "Login initiated"
628688
628688
  });
628689
628689
  const { accessToken } = await getTokenFromAuth0(context3, { useDeviceCodeFlow, email: email3 });
@@ -628763,7 +628763,7 @@ async function askForConfirmation(message) {
628763
628763
  // ../login/lib/logout.js
628764
628764
  var import_open3 = __toESM(require_open(), 1);
628765
628765
  async function logout(context3) {
628766
- await context3.instrumentPostHogEvent({
628766
+ context3.instrumentPostHogEvent({
628767
628767
  command: "Logout initiated"
628768
628768
  });
628769
628769
  const wasLoggedIn = await isLoggedIn();
@@ -628780,7 +628780,7 @@ async function logout(context3) {
628780
628780
  } catch (error50) {
628781
628781
  context3.logger.warn(source_default.yellow("Could not open browser automatically. Please visit this URL to complete logout:\n" + logoutUrl));
628782
628782
  }
628783
- await context3.instrumentPostHogEvent({
628783
+ context3.instrumentPostHogEvent({
628784
628784
  command: "Logout successful"
628785
628785
  });
628786
628786
  }
@@ -631028,13 +631028,18 @@ var import_path46 = require("path");
631028
631028
  var Version2 = "*";
631029
631029
 
631030
631030
  // ../cli-v2/lib/telemetry/TelemetryClient.js
631031
- var TelemetryClient = class {
631031
+ var TelemetryClient = class _TelemetryClient {
631032
631032
  posthog;
631033
631033
  sentry;
631034
631034
  baseTags;
631035
631035
  accumulatedTags = {};
631036
- cachedDistinctId;
631037
- constructor({ isTTY }) {
631036
+ distinctId;
631037
+ static async create({ isTTY }) {
631038
+ const distinctId = await _TelemetryClient.getDistinctId();
631039
+ return new _TelemetryClient({ isTTY, distinctId });
631040
+ }
631041
+ constructor({ isTTY, distinctId }) {
631042
+ this.distinctId = distinctId;
631038
631043
  const isTelemetryEnabled = this.isTelemetryEnabled();
631039
631044
  const apiKey = null;
631040
631045
  this.baseTags = {
@@ -631064,13 +631069,13 @@ var TelemetryClient = class {
631064
631069
  }
631065
631070
  }
631066
631071
  /** Send a named event that inherits base + accumulated properties. */
631067
- async sendEvent(event, tags) {
631072
+ sendEvent(event, tags) {
631068
631073
  if (this.posthog == null) {
631069
631074
  return;
631070
631075
  }
631071
631076
  try {
631072
631077
  this.posthog.capture({
631073
- distinctId: await this.getDistinctId(),
631078
+ distinctId: this.distinctId,
631074
631079
  event,
631075
631080
  properties: { ...this.baseTags, ...this.accumulatedTags, ...tags }
631076
631081
  });
@@ -631081,13 +631086,13 @@ var TelemetryClient = class {
631081
631086
  *
631082
631087
  * This is not meant to be called directly by command handlers.
631083
631088
  */
631084
- async sendLifecycleEvent(event) {
631089
+ sendLifecycleEvent(event) {
631085
631090
  if (this.posthog == null) {
631086
631091
  return;
631087
631092
  }
631088
631093
  try {
631089
631094
  this.posthog.capture({
631090
- distinctId: await this.getDistinctId(),
631095
+ distinctId: this.distinctId,
631091
631096
  event: "cli",
631092
631097
  properties: {
631093
631098
  ...this.baseTags,
@@ -631108,14 +631113,14 @@ var TelemetryClient = class {
631108
631113
  * The caller is responsible for deciding which errors are worth reporting
631109
631114
  * (see `shouldReportToSentry` in withContext.ts).
631110
631115
  */
631111
- async captureException(error50) {
631116
+ captureException(error50) {
631112
631117
  if (this.sentry === void 0) {
631113
631118
  return;
631114
631119
  }
631115
631120
  try {
631116
631121
  this.sentry.captureException(error50, {
631117
631122
  captureContext: {
631118
- user: { id: await this.getDistinctId() },
631123
+ user: { id: this.distinctId },
631119
631124
  tags: { ...this.baseTags, ...this.accumulatedTags }
631120
631125
  }
631121
631126
  });
@@ -631132,30 +631137,28 @@ var TelemetryClient = class {
631132
631137
  }
631133
631138
  await Promise.all(promises);
631134
631139
  }
631135
- async getDistinctId() {
631136
- if (this.cachedDistinctId != null) {
631137
- return this.cachedDistinctId;
631138
- }
631139
- const distinctIdFilepath = this.getDistinctIdFilepath();
631140
+ static async getDistinctId() {
631141
+ const distinctIdFilepath = _TelemetryClient.getDistinctIdFilepath();
631142
+ let distinctId = null;
631140
631143
  try {
631141
631144
  if (!await doesPathExist(distinctIdFilepath)) {
631142
631145
  await (0, import_promises49.mkdir)((0, import_path46.dirname)(distinctIdFilepath), { recursive: true });
631143
631146
  await (0, import_promises49.writeFile)(distinctIdFilepath, v4_default(), { flag: "wx" });
631144
631147
  }
631145
631148
  const content5 = (await (0, import_promises49.readFile)(distinctIdFilepath)).toString().trim();
631146
- this.cachedDistinctId = content5;
631149
+ distinctId = content5;
631147
631150
  if (!validate_default(content5)) {
631148
631151
  const newId = v4_default();
631149
631152
  await (0, import_promises49.writeFile)(distinctIdFilepath, newId);
631150
- this.cachedDistinctId = newId;
631153
+ distinctId = newId;
631151
631154
  }
631152
631155
  } catch {
631153
- this.cachedDistinctId = v4_default();
631156
+ distinctId = v4_default();
631154
631157
  }
631155
- if (this.cachedDistinctId == null || this.cachedDistinctId.length === 0) {
631156
- this.cachedDistinctId = v4_default();
631158
+ if (distinctId == null || distinctId.length === 0) {
631159
+ distinctId = v4_default();
631157
631160
  }
631158
- return this.cachedDistinctId;
631161
+ return distinctId;
631159
631162
  }
631160
631163
  /**
631161
631164
  * The file that stores the distinct ID for the user (stored in ~/.fern/id).
@@ -631163,7 +631166,7 @@ var TelemetryClient = class {
631163
631166
  * Note that all telemetry is anonymous, but we still use a shared distinct ID
631164
631167
  * to correlate metrics from the same user/machine across multiple CLI invocations.
631165
631168
  */
631166
- getDistinctIdFilepath() {
631169
+ static getDistinctIdFilepath() {
631167
631170
  return join8(AbsoluteFilePath2.of((0, import_os8.homedir)()), RelativeFilePath2.of(".fern"), RelativeFilePath2.of("id"));
631168
631171
  }
631169
631172
  /**
@@ -632011,7 +632014,7 @@ ${"=".repeat(60)}
632011
632014
  };
632012
632015
 
632013
632016
  // ../cli-v2/lib/context/Context.js
632014
- var Context = class {
632017
+ var Context = class _Context {
632015
632018
  shutdownCallbacks = [];
632016
632019
  isShuttingDown = false;
632017
632020
  logFilePathPrinted = false;
@@ -632025,7 +632028,12 @@ var Context = class {
632025
632028
  telemetry;
632026
632029
  tokenService;
632027
632030
  ttyAwareLogger;
632028
- constructor({ stdout, stderr, cwd: cwd2, logLevel }) {
632031
+ static async create({ stdout, stderr, cwd: cwd2, logLevel }) {
632032
+ const ttyAwareLogger = new TtyAwareLogger(stdout, stderr);
632033
+ const telemetry = await TelemetryClient.create({ isTTY: ttyAwareLogger.isTTY });
632034
+ return new _Context({ stdout, stderr, cwd: cwd2, logLevel, ttyAwareLogger, telemetry });
632035
+ }
632036
+ constructor({ cwd: cwd2, logLevel, ttyAwareLogger, telemetry }) {
632029
632037
  this.cwd = cwd2 ?? AbsoluteFilePath2.of(process.cwd());
632030
632038
  this.logLevel = logLevel ?? LogLevel2.Info;
632031
632039
  this.info = parseCommandInfo(process.argv);
@@ -632033,8 +632041,8 @@ var Context = class {
632033
632041
  this.stderr = createLogger4((level, ...args) => this.logStderr(level, ...args));
632034
632042
  this.cache = new Cache({ logger: this.stderr });
632035
632043
  this.logs = new LogFileWriter(this.cache.logs.absoluteFilePath);
632036
- this.ttyAwareLogger = new TtyAwareLogger(stdout, stderr);
632037
- this.telemetry = new TelemetryClient({ isTTY: this.isTTY });
632044
+ this.ttyAwareLogger = ttyAwareLogger;
632045
+ this.telemetry = telemetry;
632038
632046
  this.tokenService = new TokenService({ credential: new CredentialStore() });
632039
632047
  }
632040
632048
  /**
@@ -632274,12 +632282,12 @@ var SIGINT_EXIT_CODE = SIGNAL_EXIT_CODE_BASE + 2;
632274
632282
  var SIGTERM_EXIT_CODE = SIGNAL_EXIT_CODE_BASE + 15;
632275
632283
  function withContext(handler3) {
632276
632284
  return async (args) => {
632277
- const context3 = createContext(args);
632285
+ const context3 = await createContext(args);
632278
632286
  const startTime = Date.now();
632279
632287
  setupSignalHandler(context3);
632280
632288
  try {
632281
632289
  await handler3(context3, args);
632282
- await context3.telemetry.sendLifecycleEvent({
632290
+ context3.telemetry.sendLifecycleEvent({
632283
632291
  command: context3.info.command,
632284
632292
  status: "success",
632285
632293
  durationMs: Date.now() - startTime
@@ -632289,9 +632297,9 @@ function withContext(handler3) {
632289
632297
  await exitGracefully(0);
632290
632298
  } catch (error50) {
632291
632299
  if (shouldReportToSentry(error50)) {
632292
- await context3.telemetry.captureException(error50);
632300
+ context3.telemetry.captureException(error50);
632293
632301
  }
632294
- await context3.telemetry.sendLifecycleEvent({
632302
+ context3.telemetry.sendLifecycleEvent({
632295
632303
  command: context3.info.command,
632296
632304
  status: "error",
632297
632305
  durationMs: Date.now() - startTime,
@@ -632304,9 +632312,9 @@ function withContext(handler3) {
632304
632312
  }
632305
632313
  };
632306
632314
  }
632307
- function createContext(options2) {
632315
+ async function createContext(options2) {
632308
632316
  const logLevel = parseLogLevel(options2["log-level"] ?? "info");
632309
- return new Context({
632317
+ return Context.create({
632310
632318
  stdout: process.stdout,
632311
632319
  stderr: process.stderr,
632312
632320
  logLevel
@@ -843865,7 +843873,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
843865
843873
  var LOGS_FOLDER_NAME = "logs";
843866
843874
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
843867
843875
  function getCliSource() {
843868
- const version7 = "4.67.1-1-g320f1268441";
843876
+ const version7 = "4.67.1-34-g9db0a8f4b9a";
843869
843877
  return `cli@${version7}`;
843870
843878
  }
843871
843879
  var DebugLogger = class {
@@ -854517,7 +854525,7 @@ function convertToFilePathPairs(uploadUrls, docsWorkspacePath, sanitizedToAbsolu
854517
854525
  return toRet;
854518
854526
  }
854519
854527
  async function startDocsRegisterFailed(error50, context3, organization, domain3) {
854520
- await context3.instrumentPostHogEvent({
854528
+ context3.instrumentPostHogEvent({
854521
854529
  command: "docs-generation",
854522
854530
  properties: {
854523
854531
  error: JSON.stringify(error50)
@@ -855113,7 +855121,7 @@ var LegacyDocsPublisher = class {
855113
855121
  previewId,
855114
855122
  disableTemplates: void 0,
855115
855123
  skipUpload,
855116
- cliVersion: "4.67.1-1-g320f1268441"
855124
+ cliVersion: "4.67.1-34-g9db0a8f4b9a"
855117
855125
  });
855118
855126
  if (taskContext.getResult() === TaskResult.Failure) {
855119
855127
  return { success: false };
@@ -928410,8 +928418,8 @@ var TaskContextImpl = class {
928410
928418
  getResult() {
928411
928419
  return this.result;
928412
928420
  }
928413
- async instrumentPostHogEvent(event) {
928414
- await this.instrumentPostHogEventImpl(event);
928421
+ instrumentPostHogEvent(event) {
928422
+ this.instrumentPostHogEventImpl(event);
928415
928423
  }
928416
928424
  logAtLevel(level, ...parts) {
928417
928425
  this.logAtLevelWithOverrides(level, parts);
@@ -928447,7 +928455,7 @@ var TaskContextImpl = class {
928447
928455
  takeOverTerminal: this.takeOverTerminal,
928448
928456
  onResult: this.onResult,
928449
928457
  shouldBufferLogs: this.shouldBufferLogs,
928450
- instrumentPostHogEvent: async (event) => await this.instrumentPostHogEventImpl(event)
928458
+ instrumentPostHogEvent: (event) => this.instrumentPostHogEventImpl(event)
928451
928459
  });
928452
928460
  this.subtasks.push(subtask);
928453
928461
  return subtask;
@@ -928813,9 +928821,10 @@ async function getLatestVersionOfCli({
928813
928821
 
928814
928822
  // src/cli-context/CliContext.ts
928815
928823
  var WORKSPACE_NAME_COLORS = ["#2E86AB", "#A23B72", "#F18F01", "#C73E1D", "#CCE2A3"];
928816
- var CliContext = class {
928824
+ var CliContext = class _CliContext {
928817
928825
  environment;
928818
928826
  sentryClient;
928827
+ posthogManager;
928819
928828
  didSucceed = true;
928820
928829
  numTasks = 0;
928821
928830
  ttyAwareLogger;
@@ -928823,9 +928832,14 @@ var CliContext = class {
928823
928832
  isLocal;
928824
928833
  stdoutRedirector = new StdoutRedirector();
928825
928834
  jsonMode = false;
928826
- constructor(stdout, stderr, { isLocal }) {
928835
+ static async create(stdout, stderr, { isLocal }) {
928836
+ const posthogManager2 = await getPosthogManager();
928837
+ return new _CliContext(stdout, stderr, { isLocal, posthogManager: posthogManager2 });
928838
+ }
928839
+ constructor(stdout, stderr, { isLocal, posthogManager: posthogManager2 }) {
928827
928840
  this.ttyAwareLogger = new TtyAwareLogger(stdout, stderr);
928828
928841
  this.isLocal = isLocal ?? false;
928842
+ this.posthogManager = posthogManager2;
928829
928843
  const packageName = this.getPackageName();
928830
928844
  const packageVersion3 = this.getPackageVersion();
928831
928845
  const cliName = this.getCliName();
@@ -928849,7 +928863,7 @@ var CliContext = class {
928849
928863
  if (false) {
928850
928864
  this.logger.error("CLI_VERSION is not defined");
928851
928865
  }
928852
- return "4.67.1-1-g320f1268441";
928866
+ return "4.67.1-34-g9db0a8f4b9a";
928853
928867
  }
928854
928868
  getCliName() {
928855
928869
  if (false) {
@@ -928905,8 +928919,7 @@ var CliContext = class {
928905
928919
  await this.nudgeUpgradeIfAvailable();
928906
928920
  }
928907
928921
  this.ttyAwareLogger.finish();
928908
- const posthogManager2 = await getPosthogManager();
928909
- await posthogManager2.flush();
928922
+ await this.posthogManager.flush();
928910
928923
  await this.sentryClient.flush();
928911
928924
  this.exitProgram({ code: code5 });
928912
928925
  }
@@ -928987,9 +929000,9 @@ var CliContext = class {
928987
929000
  }
928988
929001
  return result;
928989
929002
  }
928990
- async instrumentPostHogEvent(event) {
929003
+ instrumentPostHogEvent(event) {
928991
929004
  if (!this.isLocal) {
928992
- (await getPosthogManager()).sendEvent(event);
929005
+ this.posthogManager.sendEvent(event);
928993
929006
  }
928994
929007
  }
928995
929008
  async captureException(error50) {
@@ -929019,8 +929032,8 @@ var CliContext = class {
929019
929032
  this.didSucceed = false;
929020
929033
  }
929021
929034
  },
929022
- instrumentPostHogEvent: async (event) => {
929023
- await this.instrumentPostHogEvent(event);
929035
+ instrumentPostHogEvent: (event) => {
929036
+ this.instrumentPostHogEvent(event);
929024
929037
  },
929025
929038
  shouldBufferLogs: false
929026
929039
  };
@@ -930097,7 +930110,7 @@ function addGetOrganizationCommand(cli, cliContext) {
930097
930110
  description: "The location to output the organization name as a text file, defaults to standard out."
930098
930111
  }),
930099
930112
  async (argv) => {
930100
- await cliContext.instrumentPostHogEvent({
930113
+ cliContext.instrumentPostHogEvent({
930101
930114
  command: "fern organization",
930102
930115
  properties: {
930103
930116
  outputLocation: argv.output
@@ -930151,7 +930164,7 @@ function addGeneratorCommands(cli, cliContext) {
930151
930164
  description: "The generator output modes to exclude within the outputted list."
930152
930165
  }),
930153
930166
  async (argv) => {
930154
- await cliContext.instrumentPostHogEvent({
930167
+ cliContext.instrumentPostHogEvent({
930155
930168
  command: "fern generator list",
930156
930169
  properties: {
930157
930170
  outputLocation: argv.output
@@ -930208,7 +930221,7 @@ function addGeneratorCommands(cli, cliContext) {
930208
930221
  description: "Skip upgrading generators that have autorelease: false set in their configuration."
930209
930222
  }),
930210
930223
  async (argv) => {
930211
- await cliContext.instrumentPostHogEvent({
930224
+ cliContext.instrumentPostHogEvent({
930212
930225
  command: "fern generator upgrade",
930213
930226
  properties: {
930214
930227
  generator: argv.generator,
@@ -930291,7 +930304,7 @@ function addGeneratorCommands(cli, cliContext) {
930291
930304
  }),
930292
930305
  async (argv) => {
930293
930306
  const correctedGetGenerator = warnAndCorrectIncorrectDockerOrgV2(argv.generator, cliContext);
930294
- await cliContext.instrumentPostHogEvent({
930307
+ cliContext.instrumentPostHogEvent({
930295
930308
  command: "fern generator get",
930296
930309
  properties: {
930297
930310
  generator: correctedGetGenerator,
@@ -930650,7 +930663,7 @@ async function previewDocsWorkspace({
930650
930663
  return;
930651
930664
  }
930652
930665
  if (legacyPreview) {
930653
- await cliContext.instrumentPostHogEvent({
930666
+ cliContext.instrumentPostHogEvent({
930654
930667
  orgId: project.config.organization,
930655
930668
  command: "fern docs dev --legacy"
930656
930669
  });
@@ -930695,7 +930708,7 @@ async function previewDocsWorkspace({
930695
930708
  });
930696
930709
  });
930697
930710
  }
930698
- await cliContext.instrumentPostHogEvent({
930711
+ cliContext.instrumentPostHogEvent({
930699
930712
  orgId: project.config.organization,
930700
930713
  command: "fern docs dev --beta"
930701
930714
  });
@@ -938402,7 +938415,7 @@ async function generateAPIWorkspaces({
938402
938415
  }
938403
938416
  }
938404
938417
  }
938405
- await cliContext.instrumentPostHogEvent({
938418
+ cliContext.instrumentPostHogEvent({
938406
938419
  orgId: project.config.organization,
938407
938420
  command: "fern generate",
938408
938421
  properties: {
@@ -938653,7 +938666,7 @@ ${source_default.yellow("?")} Are you sure you want to continue?`,
938653
938666
  }
938654
938667
  }
938655
938668
  }
938656
- await cliContext.instrumentPostHogEvent({
938669
+ cliContext.instrumentPostHogEvent({
938657
938670
  orgId: project.config.organization,
938658
938671
  command: "fern generate --docs"
938659
938672
  });
@@ -940316,7 +940329,7 @@ async function mockServer({
940316
940329
  project,
940317
940330
  port
940318
940331
  }) {
940319
- await cliContext.instrumentPostHogEvent({
940332
+ cliContext.instrumentPostHogEvent({
940320
940333
  orgId: project.config.organization,
940321
940334
  command: "fern mock"
940322
940335
  });
@@ -941278,7 +941291,7 @@ async function testOutput({
941278
941291
  testCommand,
941279
941292
  generationLanguage
941280
941293
  }) {
941281
- await cliContext.instrumentPostHogEvent({
941294
+ cliContext.instrumentPostHogEvent({
941282
941295
  orgId: project.config.organization,
941283
941296
  command: "fern test"
941284
941297
  });
@@ -947027,7 +947040,7 @@ var USE_NODE_18_OR_ABOVE_MESSAGE = "The Fern CLI requires Node 18+ or above.";
947027
947040
  async function runCli() {
947028
947041
  getOrCreateFernRunId();
947029
947042
  const isLocal = process.argv.includes("--local");
947030
- const cliContext = new CliContext(process.stdout, process.stderr, { isLocal });
947043
+ const cliContext = await CliContext.create(process.stdout, process.stderr, { isLocal });
947031
947044
  const exit3 = async () => {
947032
947045
  await cliContext.exit();
947033
947046
  };
@@ -947061,7 +947074,7 @@ async function runCli() {
947061
947074
  });
947062
947075
  }
947063
947076
  } catch (error50) {
947064
- await cliContext.instrumentPostHogEvent({
947077
+ cliContext.instrumentPostHogEvent({
947065
947078
  command: process.argv.join(" "),
947066
947079
  properties: {
947067
947080
  failed: true,
@@ -947395,7 +947408,7 @@ function addSdkDiffCommand(cli, cliContext) {
947395
947408
  description: "Output result as JSON"
947396
947409
  }),
947397
947410
  async (argv) => {
947398
- await cliContext.instrumentPostHogEvent({
947411
+ cliContext.instrumentPostHogEvent({
947399
947412
  command: "fern sdk-diff"
947400
947413
  });
947401
947414
  const project = await loadProjectAndRegisterWorkspacesWithContext(cliContext, {
@@ -948092,7 +948105,7 @@ function addUpdateApiSpecCommand(cli, cliContext) {
948092
948105
  default: 2
948093
948106
  }),
948094
948107
  async (argv) => {
948095
- await cliContext.instrumentPostHogEvent({
948108
+ cliContext.instrumentPostHogEvent({
948096
948109
  command: "fern api update"
948097
948110
  });
948098
948111
  await updateApiSpec({
@@ -948119,7 +948132,7 @@ function addSelfUpdateCommand(cli, cliContext) {
948119
948132
  default: false
948120
948133
  }),
948121
948134
  async (argv) => {
948122
- await cliContext.instrumentPostHogEvent({
948135
+ cliContext.instrumentPostHogEvent({
948123
948136
  command: "fern self-update"
948124
948137
  });
948125
948138
  await selfUpdate({
@@ -948144,7 +948157,7 @@ function addLoginCommand2(cli, cliContext) {
948144
948157
  }),
948145
948158
  async (argv) => {
948146
948159
  await cliContext.runTask(async (context3) => {
948147
- await cliContext.instrumentPostHogEvent({
948160
+ cliContext.instrumentPostHogEvent({
948148
948161
  command: "fern login"
948149
948162
  });
948150
948163
  await login(context3, { useDeviceCodeFlow: argv.deviceCode, email: argv.email });
@@ -948159,7 +948172,7 @@ function addLogoutCommand2(cli, cliContext) {
948159
948172
  (yargs) => yargs,
948160
948173
  async () => {
948161
948174
  await cliContext.runTask(async (context3) => {
948162
- await cliContext.instrumentPostHogEvent({
948175
+ cliContext.instrumentPostHogEvent({
948163
948176
  command: "fern logout"
948164
948177
  });
948165
948178
  await logout(context3);
@@ -948180,7 +948193,7 @@ function addFormatCommand(cli, cliContext) {
948180
948193
  description: "Only run the command on the provided API"
948181
948194
  }),
948182
948195
  async (argv) => {
948183
- await cliContext.instrumentPostHogEvent({
948196
+ cliContext.instrumentPostHogEvent({
948184
948197
  command: "fern format"
948185
948198
  });
948186
948199
  await formatWorkspaces({
@@ -948209,7 +948222,7 @@ function addTestCommand(cli, cliContext) {
948209
948222
  description: "Run the tests configured to a specific language"
948210
948223
  }),
948211
948224
  async (argv) => {
948212
- await cliContext.instrumentPostHogEvent({
948225
+ cliContext.instrumentPostHogEvent({
948213
948226
  command: "fern test"
948214
948227
  });
948215
948228
  await testOutput({
@@ -948238,7 +948251,7 @@ function addMockCommand(cli, cliContext) {
948238
948251
  description: "The API to mock."
948239
948252
  }),
948240
948253
  async (argv) => {
948241
- await cliContext.instrumentPostHogEvent({
948254
+ cliContext.instrumentPostHogEvent({
948242
948255
  command: "fern mock"
948243
948256
  });
948244
948257
  await mockServer({
@@ -948277,7 +948290,7 @@ function addOverridesCompareCommand(cli, cliContext) {
948277
948290
  description: "Path to write the overrides file (defaults to <original>-overrides.yml)"
948278
948291
  }),
948279
948292
  async (argv) => {
948280
- await cliContext.instrumentPostHogEvent({
948293
+ cliContext.instrumentPostHogEvent({
948281
948294
  command: "fern overrides compare"
948282
948295
  });
948283
948296
  const originalPath = resolve6(cwd(), argv.original);
@@ -948308,7 +948321,7 @@ function addOverridesWriteCommand(cli, cliContext) {
948308
948321
  })
948309
948322
  ],
948310
948323
  async (argv) => {
948311
- await cliContext.instrumentPostHogEvent({
948324
+ cliContext.instrumentPostHogEvent({
948312
948325
  command: "fern overrides write"
948313
948326
  });
948314
948327
  await writeOverridesForWorkspaces({
@@ -948340,7 +948353,7 @@ function addWriteOverridesCommand(cli, cliContext) {
948340
948353
  ],
948341
948354
  async (argv) => {
948342
948355
  cliContext.logger.warn("The 'write-overrides' command is deprecated. Use 'fern overrides write' instead.");
948343
- await cliContext.instrumentPostHogEvent({
948356
+ cliContext.instrumentPostHogEvent({
948344
948357
  command: "fern write-overrides"
948345
948358
  });
948346
948359
  await writeOverridesForWorkspaces({
@@ -948370,7 +948383,7 @@ function addWriteDefinitionCommand(cli, cliContext) {
948370
948383
  }),
948371
948384
  async (argv) => {
948372
948385
  const preserveSchemaIds = argv.preserveSchemas != null;
948373
- await cliContext.instrumentPostHogEvent({
948386
+ cliContext.instrumentPostHogEvent({
948374
948387
  command: "fern write-definition"
948375
948388
  });
948376
948389
  await writeDefinitionForWorkspaces({
@@ -948413,7 +948426,7 @@ function addDocsMdGenerateCommand(cli, cliContext) {
948413
948426
  description: "Name of a specific library defined in docs.yml to generate docs for"
948414
948427
  }),
948415
948428
  async (argv) => {
948416
- await cliContext.instrumentPostHogEvent({
948429
+ cliContext.instrumentPostHogEvent({
948417
948430
  command: "fern docs md generate"
948418
948431
  });
948419
948432
  const project = await loadProjectAndRegisterWorkspacesWithContext(cliContext, {
@@ -948447,7 +948460,7 @@ function addDocsDiffCommand(cli, cliContext) {
948447
948460
  description: "Output directory for diff images"
948448
948461
  }),
948449
948462
  async (argv) => {
948450
- await cliContext.instrumentPostHogEvent({
948463
+ cliContext.instrumentPostHogEvent({
948451
948464
  command: "fern docs diff"
948452
948465
  });
948453
948466
  const project = await loadProjectAndRegisterWorkspacesWithContext(cliContext, {
@@ -948484,7 +948497,7 @@ function addDocsPreviewListCommand(cli, cliContext) {
948484
948497
  description: "Page number for pagination (starts at 1)"
948485
948498
  }),
948486
948499
  async (argv) => {
948487
- await cliContext.instrumentPostHogEvent({
948500
+ cliContext.instrumentPostHogEvent({
948488
948501
  command: "fern docs preview list"
948489
948502
  });
948490
948503
  await listDocsPreview({
@@ -948505,7 +948518,7 @@ function addDocsPreviewDeleteCommand(cli, cliContext) {
948505
948518
  demandOption: true
948506
948519
  }),
948507
948520
  async (argv) => {
948508
- await cliContext.instrumentPostHogEvent({
948521
+ cliContext.instrumentPostHogEvent({
948509
948522
  command: "fern docs preview delete"
948510
948523
  });
948511
948524
  await deleteDocsPreview({
@@ -948608,7 +948621,7 @@ function addDocsMdCheckCommand(cli, cliContext) {
948608
948621
  () => {
948609
948622
  },
948610
948623
  async () => {
948611
- await cliContext.instrumentPostHogEvent({
948624
+ cliContext.instrumentPostHogEvent({
948612
948625
  command: "fern docs md check"
948613
948626
  });
948614
948627
  const project = await loadProjectAndRegisterWorkspacesWithContext(cliContext, {
@@ -948653,7 +948666,7 @@ function addGenerateJsonschemaCommand(cli, cliContext) {
948653
948666
  description: "The type to generate JSON Schema for (e.g. 'MySchema' or 'mypackage.MySchema')"
948654
948667
  }),
948655
948668
  async (argv) => {
948656
- await cliContext.instrumentPostHogEvent({
948669
+ cliContext.instrumentPostHogEvent({
948657
948670
  command: "fern jsonschema",
948658
948671
  properties: {
948659
948672
  output: argv.output
@@ -948682,7 +948695,7 @@ function addWriteDocsDefinitionCommand(cli, cliContext) {
948682
948695
  demandOption: true
948683
948696
  }),
948684
948697
  async (argv) => {
948685
- await cliContext.instrumentPostHogEvent({
948698
+ cliContext.instrumentPostHogEvent({
948686
948699
  command: "fern write-docs-definition",
948687
948700
  properties: {
948688
948701
  outputPath: argv.outputPath
@@ -948710,7 +948723,7 @@ function addWriteTranslationCommand(cli, cliContext) {
948710
948723
  description: "Return content as-is without calling the translation service"
948711
948724
  }),
948712
948725
  async (argv) => {
948713
- await cliContext.instrumentPostHogEvent({
948726
+ cliContext.instrumentPostHogEvent({
948714
948727
  command: "fern write-translation"
948715
948728
  });
948716
948729
  await writeTranslationForProject({
@@ -948741,7 +948754,7 @@ function addExportCommand(cli, cliContext) {
948741
948754
  default: 2
948742
948755
  }),
948743
948756
  async (argv) => {
948744
- await cliContext.instrumentPostHogEvent({
948757
+ cliContext.instrumentPostHogEvent({
948745
948758
  command: "fern export",
948746
948759
  properties: {
948747
948760
  outputPath: argv.outputPath
@@ -948779,7 +948792,7 @@ function addEnrichCommand(cli, cliContext) {
948779
948792
  demandOption: true
948780
948793
  }),
948781
948794
  async (argv) => {
948782
- await cliContext.instrumentPostHogEvent({
948795
+ cliContext.instrumentPostHogEvent({
948783
948796
  command: "fern api enrich"
948784
948797
  });
948785
948798
  const openapiPath = resolve6(cwd(), argv.openapi);
@@ -948959,7 +948972,7 @@ function addSdkPreviewCommand(cli, cliContext) {
948959
948972
  description: "Push a preview diff branch (fern-preview-{version}) to the SDK repo in addition to publishing to the preview registry. Requires the generator to have github output configuration and the Fern GitHub App installed on the target repo. Cannot be combined with --local."
948960
948973
  }),
948961
948974
  async (argv) => {
948962
- await cliContext.instrumentPostHogEvent({
948975
+ cliContext.instrumentPostHogEvent({
948963
948976
  command: "fern sdk preview"
948964
948977
  });
948965
948978
  const generatorFilter = argv.generator != null ? warnAndCorrectIncorrectDockerOrg(argv.generator, cliContext) : void 0;
@@ -949103,7 +949116,7 @@ function addReplayInitCommand(cli, cliContext) {
949103
949116
  description: "Overwrite existing lockfile if Replay is already initialized"
949104
949117
  }),
949105
949118
  async (argv) => {
949106
- await cliContext.instrumentPostHogEvent({
949119
+ cliContext.instrumentPostHogEvent({
949107
949120
  command: "fern replay init"
949108
949121
  });
949109
949122
  let githubRepo = argv.github;
@@ -949204,7 +949217,7 @@ function addReplayResolveCommand(cli, cliContext) {
949204
949217
  description: "Skip checking for remaining conflict markers before committing"
949205
949218
  }),
949206
949219
  async (argv) => {
949207
- await cliContext.instrumentPostHogEvent({
949220
+ cliContext.instrumentPostHogEvent({
949208
949221
  command: "fern replay resolve"
949209
949222
  });
949210
949223
  const outputDir = resolve6(cwd(), argv.directory ?? ".");
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.67.1-1-g320f1268441",
2
+ "version": "4.67.1-34-g9db0a8f4b9a",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",