@peron_js/web-pi
v2.4.1
Published
Web search and fetch tools for the pi coding agent
Readme
@peron_js/web-pi
Web search and fetch tools for the pi coding agent, backed by
@peron_js/web-cli.
Install
pi install npm:@peron_js/web-piTools
web_search— search the web, returning a numbered Markdown list of resultsweb_fetch— fetch a URL directly and return its main content as Markdown, or setrenderto load it in a headless browser (slow; for JavaScript-only pages). Output is truncated to 2000 lines or 50KB; when truncated, the full Markdown is saved to a temporary file and its path is returned. Image URLs come back as image attachments
Both honor the HTTP_PROXY / HTTPS_PROXY / NO_PROXY environment variables
and support cancellation. In the TUI each result collapses to a summary line,
plus the saved file path when a fetch was truncated; expand it to see the
titles or the fetched Markdown.
