feat(coding-agent): replaced jsdom with linkedom for improved HTML parsing performance

- Replaced jsdom with linkedom for HTML parsing in browser tool, improving performance and reducing memory footprint.
- Removed @types/jsdom from devDependencies as jsdom is no longer used.
- Simplified HTML document parsing by removing VirtualConsole error handling and direct window cleanup.
This commit is contained in:
can1357
2026-02-12 12:08:07 +01:00
parent 7b6cb0b9f1
commit be89a26cb6
4 changed files with 36 additions and 94 deletions
+3 -4
View File
@@ -103,7 +103,7 @@
"glob": "^13.0.1",
"handlebars": "^4.7.8",
"ignore": "^7.0.5",
"jsdom": "28.0.0",
"linkedom": "^0.18.12",
"marked": "^17.0.1",
"node-html-parser": "^7.0.2",
"puppeteer": "^24.37.1",
@@ -111,10 +111,9 @@
"zod": "^4.3.6"
},
"devDependencies": {
"@types/ms": "^2.1.0",
"@types/bun": "^1.3.9",
"ms": "^2.1.3",
"@types/jsdom": "27.0.0"
"@types/ms": "^2.1.0",
"ms": "^2.1.3"
},
"keywords": [
"coding-agent",