@fern-api/fern-api-dev 5.69.0 → 5.70.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
|
@@ -117178,7 +117178,8 @@ var init_DocsYmlSchemas = __esm({
|
|
|
117178
117178
|
model: AIChatModel.optional(),
|
|
117179
117179
|
"system-prompt": external_exports.string().optional(),
|
|
117180
117180
|
location: external_exports.array(AIChatLocation).optional(),
|
|
117181
|
-
datasources: external_exports.array(AIChatDatasource).optional()
|
|
117181
|
+
datasources: external_exports.array(AIChatDatasource).optional(),
|
|
117182
|
+
"mask-pii": external_exports.boolean().optional()
|
|
117182
117183
|
});
|
|
117183
117184
|
FontConfigVariant = external_exports.object({
|
|
117184
117185
|
path: external_exports.string(),
|
|
@@ -121576,7 +121577,8 @@ var init_AiChatConfig2 = __esm({
|
|
|
121576
121577
|
model: AiChatModel2.optional(),
|
|
121577
121578
|
systemPrompt: schemas_exports6.property("system-prompt", schemas_exports6.string().optional()),
|
|
121578
121579
|
location: schemas_exports6.list(AiChatLocation2).optional(),
|
|
121579
|
-
datasources: schemas_exports6.list(AiChatDatasource).optional()
|
|
121580
|
+
datasources: schemas_exports6.list(AiChatDatasource).optional(),
|
|
121581
|
+
maskPii: schemas_exports6.property("mask-pii", schemas_exports6.boolean().optional())
|
|
121580
121582
|
});
|
|
121581
121583
|
}
|
|
121582
121584
|
});
|
|
@@ -461443,7 +461445,8 @@ var init_DocsDefinitionResolver = __esm({
|
|
|
461443
461445
|
datasources: this.parsedDocsConfig.aiChatConfig.datasources?.map((ds2) => ({
|
|
461444
461446
|
url: ds2.url,
|
|
461445
461447
|
title: ds2.title
|
|
461446
|
-
}))
|
|
461448
|
+
})),
|
|
461449
|
+
maskPii: this.parsedDocsConfig.aiChatConfig.maskPii
|
|
461447
461450
|
} : void 0,
|
|
461448
461451
|
hideNavLinks: void 0,
|
|
461449
461452
|
title: this.parsedDocsConfig.title,
|
|
@@ -689243,7 +689246,7 @@ var AccessTokenPosthogManager = class {
|
|
|
689243
689246
|
properties: {
|
|
689244
689247
|
...event,
|
|
689245
689248
|
...event.properties,
|
|
689246
|
-
version: "5.
|
|
689249
|
+
version: "5.70.0",
|
|
689247
689250
|
usingAccessToken: true,
|
|
689248
689251
|
...getRunIdProperties()
|
|
689249
689252
|
}
|
|
@@ -689309,7 +689312,7 @@ var UserPosthogManager = class {
|
|
|
689309
689312
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
689310
689313
|
event: "CLI",
|
|
689311
689314
|
properties: {
|
|
689312
|
-
version: "5.
|
|
689315
|
+
version: "5.70.0",
|
|
689313
689316
|
...event,
|
|
689314
689317
|
...event.properties,
|
|
689315
689318
|
usingAccessToken: false,
|
|
@@ -870410,7 +870413,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
870410
870413
|
var LOGS_FOLDER_NAME = "logs";
|
|
870411
870414
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
870412
870415
|
function getCliSource() {
|
|
870413
|
-
const version7 = "5.
|
|
870416
|
+
const version7 = "5.70.0";
|
|
870414
870417
|
return `cli@${version7}`;
|
|
870415
870418
|
}
|
|
870416
870419
|
var DebugLogger = class {
|
|
@@ -897206,6 +897209,17 @@ var definitions6 = {
|
|
|
897206
897209
|
}
|
|
897207
897210
|
],
|
|
897208
897211
|
description: "Additional content sources that Ask Fern should index and search."
|
|
897212
|
+
},
|
|
897213
|
+
"mask-pii": {
|
|
897214
|
+
oneOf: [
|
|
897215
|
+
{
|
|
897216
|
+
type: "boolean"
|
|
897217
|
+
},
|
|
897218
|
+
{
|
|
897219
|
+
type: "null"
|
|
897220
|
+
}
|
|
897221
|
+
],
|
|
897222
|
+
description: "When enabled, personally identifiable information (PII) in user messages is masked before\nbeing sent to Ask Fern. Disabled by default."
|
|
897209
897223
|
}
|
|
897210
897224
|
},
|
|
897211
897225
|
additionalProperties: false
|
|
@@ -902971,7 +902985,7 @@ var LegacyDocsPublisher = class {
|
|
|
902971
902985
|
previewId,
|
|
902972
902986
|
disableTemplates: void 0,
|
|
902973
902987
|
skipUpload,
|
|
902974
|
-
cliVersion: "5.
|
|
902988
|
+
cliVersion: "5.70.0",
|
|
902975
902989
|
loginCommand: "fern auth login"
|
|
902976
902990
|
});
|
|
902977
902991
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -969332,7 +969346,7 @@ function getAutomationContextFromEnv() {
|
|
|
969332
969346
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
969333
969347
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
969334
969348
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
969335
|
-
cli_version: "5.
|
|
969349
|
+
cli_version: "5.70.0"
|
|
969336
969350
|
};
|
|
969337
969351
|
}
|
|
969338
969352
|
function isAutomationMode() {
|
|
@@ -970164,7 +970178,7 @@ var CliContext = class _CliContext {
|
|
|
970164
970178
|
if (false) {
|
|
970165
970179
|
this.logger.error("CLI_VERSION is not defined");
|
|
970166
970180
|
}
|
|
970167
|
-
return "5.
|
|
970181
|
+
return "5.70.0";
|
|
970168
970182
|
}
|
|
970169
970183
|
getCliName() {
|
|
970170
970184
|
if (false) {
|
package/package.json
CHANGED