@arabold/docs-mcp-server 3.0.0 → 3.0.1

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/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import "dotenv/config";
5
5
  //#region src/index.ts
6
6
  process.setSourceMapsEnabled(true);
7
7
  sanitizeEnvironment();
8
- var [{ runCli }, { ensurePlaywrightBrowsersInstalled }] = await Promise.all([import("./main-qq21CGPf.js"), import("./utils-DizElQoU.js")]);
8
+ var [{ runCli }, { ensurePlaywrightBrowsersInstalled }] = await Promise.all([import("./main-CfCiPjcn.js"), import("./utils-DizElQoU.js")]);
9
9
  ensurePlaywrightBrowsersInstalled();
10
10
  runCli().catch((error) => {
11
11
  logger.error(`🔥 Fatal error in main execution: ${error}`);
@@ -291,7 +291,8 @@ function createEmbeddingModel(providerAndModel, runtime) {
291
291
  ...baseConfig,
292
292
  modelName: model,
293
293
  batchSize: 512,
294
- timeout: requestTimeoutMs
294
+ timeout: requestTimeoutMs,
295
+ encodingFormat: "float"
295
296
  };
296
297
  const baseURL = process.env.OPENAI_API_BASE;
297
298
  config.configuration = baseURL ? {
@@ -11888,7 +11889,7 @@ function buildSystemInfo(serverConfig, appConfig) {
11888
11889
  const mcpEnabled = Boolean(serverConfig.enableMcpServer);
11889
11890
  const authEnabled = Boolean(appConfig.auth.enabled);
11890
11891
  return {
11891
- version: "3.0.0",
11892
+ version: "3.0.1",
11892
11893
  readOnly: Boolean(appConfig.app.readOnly),
11893
11894
  telemetryEnabled: Boolean(appConfig.app.telemetryEnabled),
11894
11895
  services: {
@@ -12382,7 +12383,7 @@ var AppServer = class AppServer {
12382
12383
  if (this.appConfig.app.telemetryEnabled && shouldEnableTelemetry()) try {
12383
12384
  if (telemetry.isEnabled()) {
12384
12385
  telemetry.setGlobalContext({
12385
- appVersion: "3.0.0",
12386
+ appVersion: "3.0.1",
12386
12387
  appPlatform: process.platform,
12387
12388
  appNodeVersion: process.version,
12388
12389
  appServicesEnabled: this.getActiveServicesList(),
@@ -16516,7 +16517,7 @@ function createCli(argv) {
16516
16517
  let globalEventBus = null;
16517
16518
  let globalTelemetryService = null;
16518
16519
  const commandStartTimes = /* @__PURE__ */ new Map();
16519
- const cli = registerGlobalOutputOptions(yargs(hideBin(argv))).scriptName("docs-mcp-server").strict().usage("Usage: $0 <command> [options]").version("3.0.0").option("verbose", {
16520
+ const cli = registerGlobalOutputOptions(yargs(hideBin(argv))).scriptName("docs-mcp-server").strict().usage("Usage: $0 <command> [options]").version("3.0.1").option("verbose", {
16520
16521
  type: "boolean",
16521
16522
  description: "Enable verbose (debug) logging",
16522
16523
  default: false
@@ -16566,7 +16567,7 @@ function createCli(argv) {
16566
16567
  if (shouldEnableTelemetry() && telemetry.isEnabled()) {
16567
16568
  const commandName = argv._[0]?.toString() || "default";
16568
16569
  telemetry.setGlobalContext({
16569
- appVersion: "3.0.0",
16570
+ appVersion: "3.0.1",
16570
16571
  appPlatform: process.platform,
16571
16572
  appNodeVersion: process.version,
16572
16573
  appInterface: "cli",
@@ -16706,4 +16707,4 @@ async function runCli() {
16706
16707
  //#endregion
16707
16708
  export { cleanupCliCommand, runCli };
16708
16709
 
16709
- //# sourceMappingURL=main-qq21CGPf.js.map
16710
+ //# sourceMappingURL=main-CfCiPjcn.js.map