refactor(web-fetch): move readability extraction to plugin

* refactor(web-fetch): move readability extraction to plugin

* fix(web-fetch): cache extractor resolution by config

* fix(test): remove redundant stat assertions
This commit is contained in:
Vincent Koc
2026-04-24 13:34:37 -07:00
committed by GitHub
parent f102ddad0c
commit 86099ec62a
32 changed files with 1078 additions and 316 deletions

View File

@@ -0,0 +1,19 @@
{
"name": "@openclaw/web-readability-plugin",
"version": "2026.4.24",
"private": true,
"description": "OpenClaw local Readability web extraction plugin",
"type": "module",
"dependencies": {
"@mozilla/readability": "^0.6.0",
"linkedom": "^0.18.12"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"
},
"openclaw": {
"extensions": [
"./index.ts"
]
}
}