/** * pi-web - Web Search and Content Extraction for Pi Agents * * Provides web search + advanced content extraction using: * 1. Standard fetch() for simple sites * 2. Readability-style extraction for articles * 3. Playwright for JavaScript-rendered content * 4. Cascade strategy: fast → detailed * * Search backends: DuckDuckGo (default), SearXNG (fallback) * * Tools: * pi_web_fetch - Fetch and extract content from a URL * pi_web_search - Search web, optionally fetch content from results * pi_web_research - Deep research: search + fetch + synthesize from multiple sources * * Commands: * /deep-fetch - Fetch JS-rendered content * /web-search-deep - Search + fetch from top results */ import type { ExtensionAPI } from "@mariozechner/pi-coding-agent"; export default function (pi: ExtensionAPI): Promise;