@fern-api/fern-api-dev 5.23.3-1067-g9d74173e6b1 → 5.23.3-1072-ged5f80ba9cc

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 +21 -6
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -116909,6 +116909,7 @@ var init_DocsYmlSchemas = __esm({
116909
116909
  chatgpt: external_exports.boolean().optional(),
116910
116910
  claude: external_exports.boolean().optional(),
116911
116911
  cursor: external_exports.boolean().optional(),
116912
+ mcp: external_exports.boolean().optional(),
116912
116913
  vscode: external_exports.boolean().optional(),
116913
116914
  custom: external_exports.array(CustomPageAction).optional()
116914
116915
  });
@@ -122915,6 +122916,7 @@ var init_PageActionOptions2 = __esm({
122915
122916
  claude: schemas_exports6.boolean().optional(),
122916
122917
  claudeCode: schemas_exports6.property("claude-code", schemas_exports6.boolean().optional()),
122917
122918
  cursor: schemas_exports6.boolean().optional(),
122919
+ mcp: schemas_exports6.boolean().optional(),
122918
122920
  vscode: schemas_exports6.boolean().optional(),
122919
122921
  custom: schemas_exports6.list(CustomPageAction2).optional(),
122920
122922
  skills: SkillsPageActionConfig.optional()
@@ -232170,6 +232172,7 @@ function convertPageActions(pageActions, absoluteFilepathToDocsConfig) {
232170
232172
  claude: pageActions.options?.claude ?? true,
232171
232173
  cursor: pageActions.options?.cursor ?? true,
232172
232174
  claudeCode: pageActions.options?.claudeCode ?? true,
232175
+ mcp: pageActions.options?.mcp ?? true,
232173
232176
  vscode: pageActions.options?.vscode ?? false,
232174
232177
  custom: (pageActions.options?.custom ?? []).map((action) => convertCustomPageAction(action, absoluteFilepathToDocsConfig)),
232175
232178
  skills: convertSkillsPageAction(pageActions.options?.skills)
@@ -460893,6 +460896,7 @@ https://buildwithfern.com/learn/docs/getting-started/project-structure#api-defin
460893
460896
  cursor: this.parsedDocsConfig.pageActions.options.cursor,
460894
460897
  claudeCode: this.parsedDocsConfig.pageActions.options.claudeCode,
460895
460898
  vscode: this.parsedDocsConfig.pageActions.options.vscode,
460899
+ ...!this.parsedDocsConfig.pageActions.options.mcp ? { mcp: false } : {},
460896
460900
  custom: this.parsedDocsConfig.pageActions.options.custom.map((customAction) => ({
460897
460901
  title: customAction.title,
460898
460902
  subtitle: customAction.subtitle,
@@ -687119,7 +687123,7 @@ var AccessTokenPosthogManager = class {
687119
687123
  properties: {
687120
687124
  ...event,
687121
687125
  ...event.properties,
687122
- version: "5.23.3-1067-g9d74173e6b1",
687126
+ version: "5.23.3-1072-ged5f80ba9cc",
687123
687127
  usingAccessToken: true,
687124
687128
  ...getRunIdProperties()
687125
687129
  }
@@ -687185,7 +687189,7 @@ var UserPosthogManager = class {
687185
687189
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
687186
687190
  event: "CLI",
687187
687191
  properties: {
687188
- version: "5.23.3-1067-g9d74173e6b1",
687192
+ version: "5.23.3-1072-ged5f80ba9cc",
687189
687193
  ...event,
687190
687194
  ...event.properties,
687191
687195
  usingAccessToken: false,
@@ -868280,7 +868284,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
868280
868284
  var LOGS_FOLDER_NAME = "logs";
868281
868285
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
868282
868286
  function getCliSource() {
868283
- const version7 = "5.23.3-1067-g9d74173e6b1";
868287
+ const version7 = "5.23.3-1072-ged5f80ba9cc";
868284
868288
  return `cli@${version7}`;
868285
868289
  }
868286
868290
  var DebugLogger = class {
@@ -894679,6 +894683,17 @@ var definitions6 = {
894679
894683
  ],
894680
894684
  description: 'Controls the "Connect to Cursor" button, which installs this docs site\'s MCP server in\nCursor via a deeplink. The button only renders on docs sites that have Ask AI enabled; set\nto `false` to hide it on those sites.\n\n@default: true'
894681
894685
  },
894686
+ mcp: {
894687
+ oneOf: [
894688
+ {
894689
+ type: "boolean"
894690
+ },
894691
+ {
894692
+ type: "null"
894693
+ }
894694
+ ],
894695
+ description: 'Controls whether the MCP server endpoint (`/_mcp/server`) is enabled for this docs site.\nWhen set to `false`, the endpoint returns 404, the MCP server URL is omitted from\n`llms.txt` and agent prompts, and the "Connect to Claude Code" / "Connect to Cursor"\nbuttons are hidden. Useful for authenticated docs sites where unauthenticated AI agents\ndiscovering the endpoint would cause confusion.\n\n@default: true'
894696
+ },
894682
894697
  vscode: {
894683
894698
  oneOf: [
894684
894699
  {
@@ -900761,7 +900776,7 @@ var LegacyDocsPublisher = class {
900761
900776
  previewId,
900762
900777
  disableTemplates: void 0,
900763
900778
  skipUpload,
900764
- cliVersion: "5.23.3-1067-g9d74173e6b1",
900779
+ cliVersion: "5.23.3-1072-ged5f80ba9cc",
900765
900780
  loginCommand: "fern auth login"
900766
900781
  });
900767
900782
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -967031,7 +967046,7 @@ function getAutomationContextFromEnv() {
967031
967046
  config_branch: process.env.FERN_CONFIG_BRANCH,
967032
967047
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
967033
967048
  trigger: process.env.GITHUB_EVENT_NAME,
967034
- cli_version: "5.23.3-1067-g9d74173e6b1"
967049
+ cli_version: "5.23.3-1072-ged5f80ba9cc"
967035
967050
  };
967036
967051
  }
967037
967052
  function isAutomationMode() {
@@ -967863,7 +967878,7 @@ var CliContext = class _CliContext {
967863
967878
  if (false) {
967864
967879
  this.logger.error("CLI_VERSION is not defined");
967865
967880
  }
967866
- return "5.23.3-1067-g9d74173e6b1";
967881
+ return "5.23.3-1072-ged5f80ba9cc";
967867
967882
  }
967868
967883
  getCliName() {
967869
967884
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-1067-g9d74173e6b1",
2
+ "version": "5.23.3-1072-ged5f80ba9cc",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",