Files
BaiLongma/src/capabilities/tools/web.js

11 lines
663 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 联网工具web_search / fetch_url / browser_read。
// 实现按职责拆分到 ./web/ 子模块,此处仅作 barrel 再导出,保持对外接口不变。
// web/util.js —— 共享底层HTTP 头、HTML 处理、长文落盘)
// web/browser.js —— 共享 Chromium 单例
// web/search.js —— web_search 多引擎
// web/browser-read.js —— browser_read真实浏览器渲染
// web/fetch.js —— fetch_urlJina / 直连 / 浏览器兜底)
export { execWebSearch } from './web/search.js'
export { execFetchUrl } from './web/fetch.js'
export { execBrowserRead } from './web/browser-read.js'