@arabold/docs-mcp-server 1.15.0 → 1.15.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 +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ import Fastify from "fastify";
|
|
|
41
41
|
import { jsxs, jsx, Fragment } from "@kitajs/html/jsx-runtime";
|
|
42
42
|
import DOMPurify from "dompurify";
|
|
43
43
|
const name = "@arabold/docs-mcp-server";
|
|
44
|
-
const version = "1.
|
|
44
|
+
const version = "1.15.0";
|
|
45
45
|
const description = "MCP server for fetching and searching documentation";
|
|
46
46
|
const type = "module";
|
|
47
47
|
const bin = { "docs-mcp-server": "dist/index.js" };
|
|
@@ -4563,7 +4563,7 @@ class DocumentManagementService {
|
|
|
4563
4563
|
}
|
|
4564
4564
|
const Layout = ({
|
|
4565
4565
|
title,
|
|
4566
|
-
version: version2 = "1.
|
|
4566
|
+
version: version2 = "1.15.0",
|
|
4567
4567
|
children
|
|
4568
4568
|
}) => /* @__PURE__ */ jsxs("html", { lang: "en", children: [
|
|
4569
4569
|
/* @__PURE__ */ jsxs("head", { children: [
|
|
@@ -5663,8 +5663,9 @@ function ensurePlaywrightBrowsersInstalled() {
|
|
|
5663
5663
|
"Playwright browsers not found. Installing Chromium browser for dynamic scraping (this may take a minute)..."
|
|
5664
5664
|
);
|
|
5665
5665
|
try {
|
|
5666
|
-
execSync("npx playwright install --no-shell --with-deps chromium", {
|
|
5667
|
-
stdio: "inherit"
|
|
5666
|
+
execSync("npx -y playwright install --no-shell --with-deps chromium", {
|
|
5667
|
+
stdio: "inherit",
|
|
5668
|
+
cwd: getProjectRoot()
|
|
5668
5669
|
});
|
|
5669
5670
|
} catch (installErr) {
|
|
5670
5671
|
console.error(
|