@v1nvn/readability-mcp 0.14.0 → 0.14.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
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { $ as outlineInputShape, A as extractListOutputShape, B as extractLinksInputShape, C as resolveLazyImages, D as chunkTextOutputShape, E as isElement, F as chunkTextInputSchema, G as extractSectionInputSchema, H as extractListInputShape, I as chunkTextInputShape, J as extractTablesInputShape, K as extractSectionInputShape, L as extractGridInputSchema, M as extractTablesOutputShape, N as outlineOutputShape, O as extractGridOutputShape, P as outputSchemaShape, Q as outlineInputSchema, R as extractGridInputShape, S as normalizeDocument, T as buildDocument, U as extractMetadataInputSchema, V as extractListInputSchema, W as extractMetadataInputShape, X as htmlToMarkdownInputShape, Y as htmlToMarkdownInputSchema, Z as localPathField, _ as detectGating, a as sanitizeHtml, at as registerResources, b as isReaderable, c as computeTextMetrics, d as renderTable, et as selectorsSchema, f as resolveHeaderKeys, g as absolutize, h as detectPagination, i as toMarkdown, it as toErrorResult, j as extractMetadataOutputShape, k as extractLinksOutputShape, l as nonEmpty, m as readHtmlFile, n as registerExtractTool, nt as logger, o as formatPayload, ot as loadConfig, p as resolveCellText, q as extractTablesInputSchema, r as truncateMarkdown, rt as ExtractionError, s as resolveMetadata, t as extractArticleFromHtml, tt as chunkMarkdown, u as parseTableMatrix, v as TraceCollector, w as resolveReadabilityOptions, x as applySelectors, y as assembleDiagnostics, z as extractLinksInputSchema } from "./assets/extract-BKl4PzEI.js";
2
+ import { $ as outlineInputShape, A as extractListOutputShape, B as extractLinksInputShape, C as resolveLazyImages, D as chunkTextOutputShape, E as isElement, F as chunkTextInputSchema, G as extractSectionInputSchema, H as extractListInputShape, I as chunkTextInputShape, J as extractTablesInputShape, K as extractSectionInputShape, L as extractGridInputSchema, M as extractTablesOutputShape, N as outlineOutputShape, O as extractGridOutputShape, P as outputSchemaShape, Q as outlineInputSchema, R as extractGridInputShape, S as normalizeDocument, T as buildDocument, U as extractMetadataInputSchema, V as extractListInputSchema, W as extractMetadataInputShape, X as htmlToMarkdownInputShape, Y as htmlToMarkdownInputSchema, Z as localPathField, _ as detectGating, a as sanitizeHtml, at as registerResources, b as isReaderable, c as computeTextMetrics, d as renderTable, et as selectorsSchema, f as resolveHeaderKeys, g as absolutize, h as detectPagination, i as toMarkdown, it as toErrorResult, j as extractMetadataOutputShape, k as extractLinksOutputShape, l as nonEmpty, m as readHtmlFile, n as registerExtractTool, nt as logger, o as formatPayload, ot as loadConfig, p as resolveCellText, q as extractTablesInputSchema, r as truncateMarkdown, rt as ExtractionError, s as resolveMetadata, t as extractArticleFromHtml, tt as chunkMarkdown, u as parseTableMatrix, v as TraceCollector, w as resolveReadabilityOptions, x as applySelectors, y as assembleDiagnostics, z as extractLinksInputSchema } from "./assets/extract-CZgSOqXG.js";
3
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
4
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
5
5
  import { z } from "zod";
@@ -1401,7 +1401,7 @@ function createServer() {
1401
1401
  }
1402
1402
  //#endregion
1403
1403
  //#region src/index.ts
1404
- if (process.argv[2] === "extract") import("./assets/cli-BwKCixh6.js").then((m) => m.runCli(process.argv.slice(2))).then((code) => {
1404
+ if (process.argv[2] === "extract") import("./assets/cli-CYsWq1_a.js").then((m) => m.runCli(process.argv.slice(2))).then((code) => {
1405
1405
  process.exit(code);
1406
1406
  }).catch((err) => {
1407
1407
  process.stderr.write(`${err instanceof Error ? err.message : String(err)}\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@v1nvn/readability-mcp",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "MCP server that turns rendered (post-JS) HTML into clean Markdown + metadata via Readability, Turndown, and DOMPurify.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",