@fern-api/fern-api-dev 5.120.5 → 5.121.0
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.
- package/cli.cjs +23 -9
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -118455,7 +118455,8 @@ var init_DocsYmlSchemas = __esm({
|
|
|
118455
118455
|
"system-prompt": external_exports.string().optional(),
|
|
118456
118456
|
location: external_exports.array(AIChatLocation).optional(),
|
|
118457
118457
|
datasources: external_exports.array(AIChatDatasource).optional(),
|
|
118458
|
-
"mask-pii": external_exports.boolean().optional()
|
|
118458
|
+
"mask-pii": external_exports.boolean().optional(),
|
|
118459
|
+
disclaimer: external_exports.string().optional()
|
|
118459
118460
|
});
|
|
118460
118461
|
FontConfigVariant = external_exports.object({
|
|
118461
118462
|
path: external_exports.string(),
|
|
@@ -122928,7 +122929,8 @@ var init_AiChatConfig2 = __esm({
|
|
|
122928
122929
|
systemPrompt: schemas_exports6.property("system-prompt", schemas_exports6.string().optional()),
|
|
122929
122930
|
location: schemas_exports6.list(AiChatLocation2).optional(),
|
|
122930
122931
|
datasources: schemas_exports6.list(AiChatDatasource).optional(),
|
|
122931
|
-
maskPii: schemas_exports6.property("mask-pii", schemas_exports6.boolean().optional())
|
|
122932
|
+
maskPii: schemas_exports6.property("mask-pii", schemas_exports6.boolean().optional()),
|
|
122933
|
+
disclaimer: schemas_exports6.string().optional()
|
|
122932
122934
|
});
|
|
122933
122935
|
}
|
|
122934
122936
|
});
|
|
@@ -464492,6 +464494,17 @@ var init_docs_yml_schema = __esm({
|
|
|
464492
464494
|
}
|
|
464493
464495
|
],
|
|
464494
464496
|
description: "When enabled, personally identifiable information (PII) in user messages is masked before\nbeing sent to Ask Fern. Disabled by default."
|
|
464497
|
+
},
|
|
464498
|
+
disclaimer: {
|
|
464499
|
+
oneOf: [
|
|
464500
|
+
{
|
|
464501
|
+
type: "string"
|
|
464502
|
+
},
|
|
464503
|
+
{
|
|
464504
|
+
type: "null"
|
|
464505
|
+
}
|
|
464506
|
+
],
|
|
464507
|
+
description: 'Overrides the disclaimer shown in the Ask Fern chat\n(default: "Responses are generated using AI and may contain mistakes.").'
|
|
464495
464508
|
}
|
|
464496
464509
|
},
|
|
464497
464510
|
additionalProperties: false
|
|
@@ -476202,7 +476215,8 @@ var init_DocsDefinitionResolver = __esm({
|
|
|
476202
476215
|
url: ds2.url,
|
|
476203
476216
|
title: ds2.title
|
|
476204
476217
|
})),
|
|
476205
|
-
maskPii: this.parsedDocsConfig.aiChatConfig.maskPii
|
|
476218
|
+
maskPii: this.parsedDocsConfig.aiChatConfig.maskPii,
|
|
476219
|
+
disclaimer: this.parsedDocsConfig.aiChatConfig.disclaimer
|
|
476206
476220
|
} : void 0,
|
|
476207
476221
|
hideNavLinks: void 0,
|
|
476208
476222
|
title: this.parsedDocsConfig.title,
|
|
@@ -706750,7 +706764,7 @@ var AccessTokenPosthogManager = class {
|
|
|
706750
706764
|
properties: {
|
|
706751
706765
|
...event,
|
|
706752
706766
|
...event.properties,
|
|
706753
|
-
version: "5.
|
|
706767
|
+
version: "5.121.0",
|
|
706754
706768
|
usingAccessToken: true,
|
|
706755
706769
|
...getRunIdProperties()
|
|
706756
706770
|
}
|
|
@@ -706816,7 +706830,7 @@ var UserPosthogManager = class {
|
|
|
706816
706830
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
706817
706831
|
event: "CLI",
|
|
706818
706832
|
properties: {
|
|
706819
|
-
version: "5.
|
|
706833
|
+
version: "5.121.0",
|
|
706820
706834
|
...event,
|
|
706821
706835
|
...event.properties,
|
|
706822
706836
|
usingAccessToken: false,
|
|
@@ -888519,7 +888533,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
888519
888533
|
var LOGS_FOLDER_NAME = "logs";
|
|
888520
888534
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
888521
888535
|
function getCliSource() {
|
|
888522
|
-
const version7 = "5.
|
|
888536
|
+
const version7 = "5.121.0";
|
|
888523
888537
|
return `cli@${version7}`;
|
|
888524
888538
|
}
|
|
888525
888539
|
var DebugLogger = class {
|
|
@@ -915867,7 +915881,7 @@ var LegacyDocsPublisher = class {
|
|
|
915867
915881
|
previewId,
|
|
915868
915882
|
disableTemplates: void 0,
|
|
915869
915883
|
skipUpload,
|
|
915870
|
-
cliVersion: "5.
|
|
915884
|
+
cliVersion: "5.121.0",
|
|
915871
915885
|
loginCommand: "fern auth login"
|
|
915872
915886
|
});
|
|
915873
915887
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -983292,7 +983306,7 @@ function getAutomationContextFromEnv() {
|
|
|
983292
983306
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
983293
983307
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
983294
983308
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
983295
|
-
cli_version: "5.
|
|
983309
|
+
cli_version: "5.121.0"
|
|
983296
983310
|
};
|
|
983297
983311
|
}
|
|
983298
983312
|
function isAutomationMode() {
|
|
@@ -984124,7 +984138,7 @@ var CliContext = class _CliContext {
|
|
|
984124
984138
|
if (false) {
|
|
984125
984139
|
this.logger.error("CLI_VERSION is not defined");
|
|
984126
984140
|
}
|
|
984127
|
-
return "5.
|
|
984141
|
+
return "5.121.0";
|
|
984128
984142
|
}
|
|
984129
984143
|
getCliName() {
|
|
984130
984144
|
if (false) {
|
package/package.json
CHANGED