@v1nvn/readability-mcp 0.21.0 → 0.23.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/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { $ as resolveLazyImages, A as selectorsSchema, B as absolutize, C as extractTablesInputSchema, D as localPathField, E as htmlToMarkdownInputShape, F as detectGating, G as sanitizeHtml, H as renderTable, I as TraceCollector, J as computeTextMetrics, K as isReaderable, L as assembleDiagnostics, M as truncateMarkdown, N as detectPagination, O as outlineInputSchema, P as resolveMetadata, Q as normalizeDocument, R as chunkMarkdown, S as extractSectionInputShape, T as htmlToMarkdownInputSchema, U as resolveHeaderKeys, V as parseTableMatrix, W as resolveCellText, X as nonEmpty, Y as countWords, Z as applySelectors, _ as extractListInputSchema, a as extractLinksOutputShape, at as registerResources, b as extractMetadataInputShape, c as extractTablesOutputShape, ct as presetForSite, d as chunkTextInputSchema, dt as logger, et as resolveReadabilityOptions, f as chunkTextInputShape, ft as loadConfig, g as extractLinksInputShape, h as extractLinksInputSchema, i as extractGridOutputShape, it as toErrorResult, j as readHtmlFile, k as outlineInputShape, l as outlineOutputShape, lt as removePreset, m as extractGridInputShape, n as registerExtractTool, nt as isElement, o as extractListOutputShape, ot as addPreset, p as extractGridInputSchema, q as formatPayload, r as chunkTextOutputShape, rt as ExtractionError, s as extractMetadataOutputShape, st as normalizeSiteKey, t as extractArticleFromHtml, tt as buildDocument, u as outputSchemaShape, ut as selectorMisses, v as extractListInputShape, w as extractTablesInputShape, x as extractSectionInputSchema, y as extractMetadataInputSchema, z as toMarkdown } from "./assets/extract-qa1jFe69.js";
2
+ import { $ as resolveLazyImages, A as selectorsSchema, B as absolutize, C as extractTablesInputSchema, D as localPathField, E as htmlToMarkdownInputShape, F as detectGating, G as sanitizeHtml, H as renderTable, I as TraceCollector, J as computeTextMetrics, K as isReaderable, L as assembleDiagnostics, M as truncateMarkdown, N as detectPagination, O as outlineInputSchema, P as resolveMetadata, Q as normalizeDocument, R as chunkMarkdown, S as extractSectionInputShape, T as htmlToMarkdownInputSchema, U as resolveHeaderKeys, V as parseTableMatrix, W as resolveCellText, X as nonEmpty, Y as countWords, Z as applySelectors, _ as extractListInputSchema, a as extractLinksOutputShape, at as registerResources, b as extractMetadataInputShape, c as extractTablesOutputShape, ct as presetForSite, d as chunkTextInputSchema, dt as logger, et as resolveReadabilityOptions, f as chunkTextInputShape, ft as loadConfig, g as extractLinksInputShape, h as extractLinksInputSchema, i as extractGridOutputShape, it as toErrorResult, j as readHtmlFile, k as outlineInputShape, l as outlineOutputShape, lt as removePreset, m as extractGridInputShape, n as registerExtractTool, nt as isElement, o as extractListOutputShape, ot as addPreset, p as extractGridInputSchema, q as formatPayload, r as chunkTextOutputShape, rt as ExtractionError, s as extractMetadataOutputShape, st as normalizeSiteKey, t as extractArticleFromHtml, tt as buildDocument, u as outputSchemaShape, ut as selectorMisses, v as extractListInputShape, w as extractTablesInputShape, x as extractSectionInputSchema, y as extractMetadataInputSchema, z as toMarkdown } from "./assets/extract-DDaKDwy_.js";
3
3
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
4
4
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
5
5
  import { mkdirSync, readFileSync, readdirSync, statSync, unlinkSync, writeFileSync } from "node:fs";
@@ -2254,7 +2254,7 @@ function createServer() {
2254
2254
  }
2255
2255
  //#endregion
2256
2256
  //#region src/index.ts
2257
- if (process.argv[2] === "extract") import("./assets/cli-DLiDHTsY.js").then((m) => m.runCli(process.argv.slice(2))).then((code) => {
2257
+ if (process.argv[2] === "extract") import("./assets/cli-fnS7mAPG.js").then((m) => m.runCli(process.argv.slice(2))).then((code) => {
2258
2258
  process.exit(code);
2259
2259
  }).catch((err) => {
2260
2260
  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.21.0",
3
+ "version": "0.23.0",
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",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@modelcontextprotocol/sdk": "^1.29.0",
43
43
  "@mozilla/readability": "^0.6.0",
44
- "@v1nvn/agentic-core": "^0.21.0",
44
+ "@v1nvn/agentic-core": "^0.23.0",
45
45
  "commander": "^15.0.0",
46
46
  "dompurify": "^3.4.12",
47
47
  "jsdom": "^30.0.1",