@fern-api/fern-api-dev 4.67.1-1-g320f1268441 → 4.67.1-2-g977810b1542

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 +63 -58
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -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-2-g977810b1542",
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-2-g977810b1542",
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
  }
@@ -843865,7 +843865,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
843865
843865
  var LOGS_FOLDER_NAME = "logs";
843866
843866
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
843867
843867
  function getCliSource() {
843868
- const version7 = "4.67.1-1-g320f1268441";
843868
+ const version7 = "4.67.1-2-g977810b1542";
843869
843869
  return `cli@${version7}`;
843870
843870
  }
843871
843871
  var DebugLogger = class {
@@ -854517,7 +854517,7 @@ function convertToFilePathPairs(uploadUrls, docsWorkspacePath, sanitizedToAbsolu
854517
854517
  return toRet;
854518
854518
  }
854519
854519
  async function startDocsRegisterFailed(error50, context3, organization, domain3) {
854520
- await context3.instrumentPostHogEvent({
854520
+ context3.instrumentPostHogEvent({
854521
854521
  command: "docs-generation",
854522
854522
  properties: {
854523
854523
  error: JSON.stringify(error50)
@@ -855113,7 +855113,7 @@ var LegacyDocsPublisher = class {
855113
855113
  previewId,
855114
855114
  disableTemplates: void 0,
855115
855115
  skipUpload,
855116
- cliVersion: "4.67.1-1-g320f1268441"
855116
+ cliVersion: "4.67.1-2-g977810b1542"
855117
855117
  });
855118
855118
  if (taskContext.getResult() === TaskResult.Failure) {
855119
855119
  return { success: false };
@@ -928410,8 +928410,8 @@ var TaskContextImpl = class {
928410
928410
  getResult() {
928411
928411
  return this.result;
928412
928412
  }
928413
- async instrumentPostHogEvent(event) {
928414
- await this.instrumentPostHogEventImpl(event);
928413
+ instrumentPostHogEvent(event) {
928414
+ this.instrumentPostHogEventImpl(event);
928415
928415
  }
928416
928416
  logAtLevel(level, ...parts) {
928417
928417
  this.logAtLevelWithOverrides(level, parts);
@@ -928447,7 +928447,7 @@ var TaskContextImpl = class {
928447
928447
  takeOverTerminal: this.takeOverTerminal,
928448
928448
  onResult: this.onResult,
928449
928449
  shouldBufferLogs: this.shouldBufferLogs,
928450
- instrumentPostHogEvent: async (event) => await this.instrumentPostHogEventImpl(event)
928450
+ instrumentPostHogEvent: (event) => this.instrumentPostHogEventImpl(event)
928451
928451
  });
928452
928452
  this.subtasks.push(subtask);
928453
928453
  return subtask;
@@ -928813,9 +928813,10 @@ async function getLatestVersionOfCli({
928813
928813
 
928814
928814
  // src/cli-context/CliContext.ts
928815
928815
  var WORKSPACE_NAME_COLORS = ["#2E86AB", "#A23B72", "#F18F01", "#C73E1D", "#CCE2A3"];
928816
- var CliContext = class {
928816
+ var CliContext = class _CliContext {
928817
928817
  environment;
928818
928818
  sentryClient;
928819
+ posthogManager;
928819
928820
  didSucceed = true;
928820
928821
  numTasks = 0;
928821
928822
  ttyAwareLogger;
@@ -928823,9 +928824,14 @@ var CliContext = class {
928823
928824
  isLocal;
928824
928825
  stdoutRedirector = new StdoutRedirector();
928825
928826
  jsonMode = false;
928826
- constructor(stdout, stderr, { isLocal }) {
928827
+ static async create(stdout, stderr, { isLocal }) {
928828
+ const posthogManager2 = await getPosthogManager();
928829
+ return new _CliContext(stdout, stderr, { isLocal, posthogManager: posthogManager2 });
928830
+ }
928831
+ constructor(stdout, stderr, { isLocal, posthogManager: posthogManager2 }) {
928827
928832
  this.ttyAwareLogger = new TtyAwareLogger(stdout, stderr);
928828
928833
  this.isLocal = isLocal ?? false;
928834
+ this.posthogManager = posthogManager2;
928829
928835
  const packageName = this.getPackageName();
928830
928836
  const packageVersion3 = this.getPackageVersion();
928831
928837
  const cliName = this.getCliName();
@@ -928849,7 +928855,7 @@ var CliContext = class {
928849
928855
  if (false) {
928850
928856
  this.logger.error("CLI_VERSION is not defined");
928851
928857
  }
928852
- return "4.67.1-1-g320f1268441";
928858
+ return "4.67.1-2-g977810b1542";
928853
928859
  }
928854
928860
  getCliName() {
928855
928861
  if (false) {
@@ -928905,8 +928911,7 @@ var CliContext = class {
928905
928911
  await this.nudgeUpgradeIfAvailable();
928906
928912
  }
928907
928913
  this.ttyAwareLogger.finish();
928908
- const posthogManager2 = await getPosthogManager();
928909
- await posthogManager2.flush();
928914
+ await this.posthogManager.flush();
928910
928915
  await this.sentryClient.flush();
928911
928916
  this.exitProgram({ code: code5 });
928912
928917
  }
@@ -928987,9 +928992,9 @@ var CliContext = class {
928987
928992
  }
928988
928993
  return result;
928989
928994
  }
928990
- async instrumentPostHogEvent(event) {
928995
+ instrumentPostHogEvent(event) {
928991
928996
  if (!this.isLocal) {
928992
- (await getPosthogManager()).sendEvent(event);
928997
+ this.posthogManager.sendEvent(event);
928993
928998
  }
928994
928999
  }
928995
929000
  async captureException(error50) {
@@ -929019,8 +929024,8 @@ var CliContext = class {
929019
929024
  this.didSucceed = false;
929020
929025
  }
929021
929026
  },
929022
- instrumentPostHogEvent: async (event) => {
929023
- await this.instrumentPostHogEvent(event);
929027
+ instrumentPostHogEvent: (event) => {
929028
+ this.instrumentPostHogEvent(event);
929024
929029
  },
929025
929030
  shouldBufferLogs: false
929026
929031
  };
@@ -930097,7 +930102,7 @@ function addGetOrganizationCommand(cli, cliContext) {
930097
930102
  description: "The location to output the organization name as a text file, defaults to standard out."
930098
930103
  }),
930099
930104
  async (argv) => {
930100
- await cliContext.instrumentPostHogEvent({
930105
+ cliContext.instrumentPostHogEvent({
930101
930106
  command: "fern organization",
930102
930107
  properties: {
930103
930108
  outputLocation: argv.output
@@ -930151,7 +930156,7 @@ function addGeneratorCommands(cli, cliContext) {
930151
930156
  description: "The generator output modes to exclude within the outputted list."
930152
930157
  }),
930153
930158
  async (argv) => {
930154
- await cliContext.instrumentPostHogEvent({
930159
+ cliContext.instrumentPostHogEvent({
930155
930160
  command: "fern generator list",
930156
930161
  properties: {
930157
930162
  outputLocation: argv.output
@@ -930208,7 +930213,7 @@ function addGeneratorCommands(cli, cliContext) {
930208
930213
  description: "Skip upgrading generators that have autorelease: false set in their configuration."
930209
930214
  }),
930210
930215
  async (argv) => {
930211
- await cliContext.instrumentPostHogEvent({
930216
+ cliContext.instrumentPostHogEvent({
930212
930217
  command: "fern generator upgrade",
930213
930218
  properties: {
930214
930219
  generator: argv.generator,
@@ -930291,7 +930296,7 @@ function addGeneratorCommands(cli, cliContext) {
930291
930296
  }),
930292
930297
  async (argv) => {
930293
930298
  const correctedGetGenerator = warnAndCorrectIncorrectDockerOrgV2(argv.generator, cliContext);
930294
- await cliContext.instrumentPostHogEvent({
930299
+ cliContext.instrumentPostHogEvent({
930295
930300
  command: "fern generator get",
930296
930301
  properties: {
930297
930302
  generator: correctedGetGenerator,
@@ -930650,7 +930655,7 @@ async function previewDocsWorkspace({
930650
930655
  return;
930651
930656
  }
930652
930657
  if (legacyPreview) {
930653
- await cliContext.instrumentPostHogEvent({
930658
+ cliContext.instrumentPostHogEvent({
930654
930659
  orgId: project.config.organization,
930655
930660
  command: "fern docs dev --legacy"
930656
930661
  });
@@ -930695,7 +930700,7 @@ async function previewDocsWorkspace({
930695
930700
  });
930696
930701
  });
930697
930702
  }
930698
- await cliContext.instrumentPostHogEvent({
930703
+ cliContext.instrumentPostHogEvent({
930699
930704
  orgId: project.config.organization,
930700
930705
  command: "fern docs dev --beta"
930701
930706
  });
@@ -938402,7 +938407,7 @@ async function generateAPIWorkspaces({
938402
938407
  }
938403
938408
  }
938404
938409
  }
938405
- await cliContext.instrumentPostHogEvent({
938410
+ cliContext.instrumentPostHogEvent({
938406
938411
  orgId: project.config.organization,
938407
938412
  command: "fern generate",
938408
938413
  properties: {
@@ -938653,7 +938658,7 @@ ${source_default.yellow("?")} Are you sure you want to continue?`,
938653
938658
  }
938654
938659
  }
938655
938660
  }
938656
- await cliContext.instrumentPostHogEvent({
938661
+ cliContext.instrumentPostHogEvent({
938657
938662
  orgId: project.config.organization,
938658
938663
  command: "fern generate --docs"
938659
938664
  });
@@ -940316,7 +940321,7 @@ async function mockServer({
940316
940321
  project,
940317
940322
  port
940318
940323
  }) {
940319
- await cliContext.instrumentPostHogEvent({
940324
+ cliContext.instrumentPostHogEvent({
940320
940325
  orgId: project.config.organization,
940321
940326
  command: "fern mock"
940322
940327
  });
@@ -941278,7 +941283,7 @@ async function testOutput({
941278
941283
  testCommand,
941279
941284
  generationLanguage
941280
941285
  }) {
941281
- await cliContext.instrumentPostHogEvent({
941286
+ cliContext.instrumentPostHogEvent({
941282
941287
  orgId: project.config.organization,
941283
941288
  command: "fern test"
941284
941289
  });
@@ -947027,7 +947032,7 @@ var USE_NODE_18_OR_ABOVE_MESSAGE = "The Fern CLI requires Node 18+ or above.";
947027
947032
  async function runCli() {
947028
947033
  getOrCreateFernRunId();
947029
947034
  const isLocal = process.argv.includes("--local");
947030
- const cliContext = new CliContext(process.stdout, process.stderr, { isLocal });
947035
+ const cliContext = await CliContext.create(process.stdout, process.stderr, { isLocal });
947031
947036
  const exit3 = async () => {
947032
947037
  await cliContext.exit();
947033
947038
  };
@@ -947061,7 +947066,7 @@ async function runCli() {
947061
947066
  });
947062
947067
  }
947063
947068
  } catch (error50) {
947064
- await cliContext.instrumentPostHogEvent({
947069
+ cliContext.instrumentPostHogEvent({
947065
947070
  command: process.argv.join(" "),
947066
947071
  properties: {
947067
947072
  failed: true,
@@ -947395,7 +947400,7 @@ function addSdkDiffCommand(cli, cliContext) {
947395
947400
  description: "Output result as JSON"
947396
947401
  }),
947397
947402
  async (argv) => {
947398
- await cliContext.instrumentPostHogEvent({
947403
+ cliContext.instrumentPostHogEvent({
947399
947404
  command: "fern sdk-diff"
947400
947405
  });
947401
947406
  const project = await loadProjectAndRegisterWorkspacesWithContext(cliContext, {
@@ -948092,7 +948097,7 @@ function addUpdateApiSpecCommand(cli, cliContext) {
948092
948097
  default: 2
948093
948098
  }),
948094
948099
  async (argv) => {
948095
- await cliContext.instrumentPostHogEvent({
948100
+ cliContext.instrumentPostHogEvent({
948096
948101
  command: "fern api update"
948097
948102
  });
948098
948103
  await updateApiSpec({
@@ -948119,7 +948124,7 @@ function addSelfUpdateCommand(cli, cliContext) {
948119
948124
  default: false
948120
948125
  }),
948121
948126
  async (argv) => {
948122
- await cliContext.instrumentPostHogEvent({
948127
+ cliContext.instrumentPostHogEvent({
948123
948128
  command: "fern self-update"
948124
948129
  });
948125
948130
  await selfUpdate({
@@ -948144,7 +948149,7 @@ function addLoginCommand2(cli, cliContext) {
948144
948149
  }),
948145
948150
  async (argv) => {
948146
948151
  await cliContext.runTask(async (context3) => {
948147
- await cliContext.instrumentPostHogEvent({
948152
+ cliContext.instrumentPostHogEvent({
948148
948153
  command: "fern login"
948149
948154
  });
948150
948155
  await login(context3, { useDeviceCodeFlow: argv.deviceCode, email: argv.email });
@@ -948159,7 +948164,7 @@ function addLogoutCommand2(cli, cliContext) {
948159
948164
  (yargs) => yargs,
948160
948165
  async () => {
948161
948166
  await cliContext.runTask(async (context3) => {
948162
- await cliContext.instrumentPostHogEvent({
948167
+ cliContext.instrumentPostHogEvent({
948163
948168
  command: "fern logout"
948164
948169
  });
948165
948170
  await logout(context3);
@@ -948180,7 +948185,7 @@ function addFormatCommand(cli, cliContext) {
948180
948185
  description: "Only run the command on the provided API"
948181
948186
  }),
948182
948187
  async (argv) => {
948183
- await cliContext.instrumentPostHogEvent({
948188
+ cliContext.instrumentPostHogEvent({
948184
948189
  command: "fern format"
948185
948190
  });
948186
948191
  await formatWorkspaces({
@@ -948209,7 +948214,7 @@ function addTestCommand(cli, cliContext) {
948209
948214
  description: "Run the tests configured to a specific language"
948210
948215
  }),
948211
948216
  async (argv) => {
948212
- await cliContext.instrumentPostHogEvent({
948217
+ cliContext.instrumentPostHogEvent({
948213
948218
  command: "fern test"
948214
948219
  });
948215
948220
  await testOutput({
@@ -948238,7 +948243,7 @@ function addMockCommand(cli, cliContext) {
948238
948243
  description: "The API to mock."
948239
948244
  }),
948240
948245
  async (argv) => {
948241
- await cliContext.instrumentPostHogEvent({
948246
+ cliContext.instrumentPostHogEvent({
948242
948247
  command: "fern mock"
948243
948248
  });
948244
948249
  await mockServer({
@@ -948277,7 +948282,7 @@ function addOverridesCompareCommand(cli, cliContext) {
948277
948282
  description: "Path to write the overrides file (defaults to <original>-overrides.yml)"
948278
948283
  }),
948279
948284
  async (argv) => {
948280
- await cliContext.instrumentPostHogEvent({
948285
+ cliContext.instrumentPostHogEvent({
948281
948286
  command: "fern overrides compare"
948282
948287
  });
948283
948288
  const originalPath = resolve6(cwd(), argv.original);
@@ -948308,7 +948313,7 @@ function addOverridesWriteCommand(cli, cliContext) {
948308
948313
  })
948309
948314
  ],
948310
948315
  async (argv) => {
948311
- await cliContext.instrumentPostHogEvent({
948316
+ cliContext.instrumentPostHogEvent({
948312
948317
  command: "fern overrides write"
948313
948318
  });
948314
948319
  await writeOverridesForWorkspaces({
@@ -948340,7 +948345,7 @@ function addWriteOverridesCommand(cli, cliContext) {
948340
948345
  ],
948341
948346
  async (argv) => {
948342
948347
  cliContext.logger.warn("The 'write-overrides' command is deprecated. Use 'fern overrides write' instead.");
948343
- await cliContext.instrumentPostHogEvent({
948348
+ cliContext.instrumentPostHogEvent({
948344
948349
  command: "fern write-overrides"
948345
948350
  });
948346
948351
  await writeOverridesForWorkspaces({
@@ -948370,7 +948375,7 @@ function addWriteDefinitionCommand(cli, cliContext) {
948370
948375
  }),
948371
948376
  async (argv) => {
948372
948377
  const preserveSchemaIds = argv.preserveSchemas != null;
948373
- await cliContext.instrumentPostHogEvent({
948378
+ cliContext.instrumentPostHogEvent({
948374
948379
  command: "fern write-definition"
948375
948380
  });
948376
948381
  await writeDefinitionForWorkspaces({
@@ -948413,7 +948418,7 @@ function addDocsMdGenerateCommand(cli, cliContext) {
948413
948418
  description: "Name of a specific library defined in docs.yml to generate docs for"
948414
948419
  }),
948415
948420
  async (argv) => {
948416
- await cliContext.instrumentPostHogEvent({
948421
+ cliContext.instrumentPostHogEvent({
948417
948422
  command: "fern docs md generate"
948418
948423
  });
948419
948424
  const project = await loadProjectAndRegisterWorkspacesWithContext(cliContext, {
@@ -948447,7 +948452,7 @@ function addDocsDiffCommand(cli, cliContext) {
948447
948452
  description: "Output directory for diff images"
948448
948453
  }),
948449
948454
  async (argv) => {
948450
- await cliContext.instrumentPostHogEvent({
948455
+ cliContext.instrumentPostHogEvent({
948451
948456
  command: "fern docs diff"
948452
948457
  });
948453
948458
  const project = await loadProjectAndRegisterWorkspacesWithContext(cliContext, {
@@ -948484,7 +948489,7 @@ function addDocsPreviewListCommand(cli, cliContext) {
948484
948489
  description: "Page number for pagination (starts at 1)"
948485
948490
  }),
948486
948491
  async (argv) => {
948487
- await cliContext.instrumentPostHogEvent({
948492
+ cliContext.instrumentPostHogEvent({
948488
948493
  command: "fern docs preview list"
948489
948494
  });
948490
948495
  await listDocsPreview({
@@ -948505,7 +948510,7 @@ function addDocsPreviewDeleteCommand(cli, cliContext) {
948505
948510
  demandOption: true
948506
948511
  }),
948507
948512
  async (argv) => {
948508
- await cliContext.instrumentPostHogEvent({
948513
+ cliContext.instrumentPostHogEvent({
948509
948514
  command: "fern docs preview delete"
948510
948515
  });
948511
948516
  await deleteDocsPreview({
@@ -948608,7 +948613,7 @@ function addDocsMdCheckCommand(cli, cliContext) {
948608
948613
  () => {
948609
948614
  },
948610
948615
  async () => {
948611
- await cliContext.instrumentPostHogEvent({
948616
+ cliContext.instrumentPostHogEvent({
948612
948617
  command: "fern docs md check"
948613
948618
  });
948614
948619
  const project = await loadProjectAndRegisterWorkspacesWithContext(cliContext, {
@@ -948653,7 +948658,7 @@ function addGenerateJsonschemaCommand(cli, cliContext) {
948653
948658
  description: "The type to generate JSON Schema for (e.g. 'MySchema' or 'mypackage.MySchema')"
948654
948659
  }),
948655
948660
  async (argv) => {
948656
- await cliContext.instrumentPostHogEvent({
948661
+ cliContext.instrumentPostHogEvent({
948657
948662
  command: "fern jsonschema",
948658
948663
  properties: {
948659
948664
  output: argv.output
@@ -948682,7 +948687,7 @@ function addWriteDocsDefinitionCommand(cli, cliContext) {
948682
948687
  demandOption: true
948683
948688
  }),
948684
948689
  async (argv) => {
948685
- await cliContext.instrumentPostHogEvent({
948690
+ cliContext.instrumentPostHogEvent({
948686
948691
  command: "fern write-docs-definition",
948687
948692
  properties: {
948688
948693
  outputPath: argv.outputPath
@@ -948710,7 +948715,7 @@ function addWriteTranslationCommand(cli, cliContext) {
948710
948715
  description: "Return content as-is without calling the translation service"
948711
948716
  }),
948712
948717
  async (argv) => {
948713
- await cliContext.instrumentPostHogEvent({
948718
+ cliContext.instrumentPostHogEvent({
948714
948719
  command: "fern write-translation"
948715
948720
  });
948716
948721
  await writeTranslationForProject({
@@ -948741,7 +948746,7 @@ function addExportCommand(cli, cliContext) {
948741
948746
  default: 2
948742
948747
  }),
948743
948748
  async (argv) => {
948744
- await cliContext.instrumentPostHogEvent({
948749
+ cliContext.instrumentPostHogEvent({
948745
948750
  command: "fern export",
948746
948751
  properties: {
948747
948752
  outputPath: argv.outputPath
@@ -948779,7 +948784,7 @@ function addEnrichCommand(cli, cliContext) {
948779
948784
  demandOption: true
948780
948785
  }),
948781
948786
  async (argv) => {
948782
- await cliContext.instrumentPostHogEvent({
948787
+ cliContext.instrumentPostHogEvent({
948783
948788
  command: "fern api enrich"
948784
948789
  });
948785
948790
  const openapiPath = resolve6(cwd(), argv.openapi);
@@ -948959,7 +948964,7 @@ function addSdkPreviewCommand(cli, cliContext) {
948959
948964
  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
948965
  }),
948961
948966
  async (argv) => {
948962
- await cliContext.instrumentPostHogEvent({
948967
+ cliContext.instrumentPostHogEvent({
948963
948968
  command: "fern sdk preview"
948964
948969
  });
948965
948970
  const generatorFilter = argv.generator != null ? warnAndCorrectIncorrectDockerOrg(argv.generator, cliContext) : void 0;
@@ -949103,7 +949108,7 @@ function addReplayInitCommand(cli, cliContext) {
949103
949108
  description: "Overwrite existing lockfile if Replay is already initialized"
949104
949109
  }),
949105
949110
  async (argv) => {
949106
- await cliContext.instrumentPostHogEvent({
949111
+ cliContext.instrumentPostHogEvent({
949107
949112
  command: "fern replay init"
949108
949113
  });
949109
949114
  let githubRepo = argv.github;
@@ -949204,7 +949209,7 @@ function addReplayResolveCommand(cli, cliContext) {
949204
949209
  description: "Skip checking for remaining conflict markers before committing"
949205
949210
  }),
949206
949211
  async (argv) => {
949207
- await cliContext.instrumentPostHogEvent({
949212
+ cliContext.instrumentPostHogEvent({
949208
949213
  command: "fern replay resolve"
949209
949214
  });
949210
949215
  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-2-g977810b1542",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",