feat(agent): Connect AI 웹사이트 탐색 기능(read_url) 추가 및 웹 스크래핑 구현

This commit is contained in:
Jay
2026-04-16 01:23:56 +09:00
parent c0a2876685
commit 1c3db89016
46 changed files with 2286 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
const ext = require('./out/extension');
const html = ext.ConnectAIPanel.prototype._getHtml.call({_getHtml: ext.ConnectAIPanel.prototype._getHtml});
require('fs').writeFileSync('test4.html', html);
const {JSDOM} = require('jsdom');
try {
new JSDOM(html, {runScripts:'dangerously'});
console.log("JSDOM OK");
} catch(e) {
console.log("JSDOM FATAL ERROR:", e.message);
}