summaryrefslogtreecommitdiff
path: root/hyperstack.fish
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-21 13:00:42 +0200
committerPaul Buetow <paul@buetow.org>2026-03-21 13:00:42 +0200
commitcc7642ded1bd2d529e30363d6a0f39819a28ef01 (patch)
tree483f87bdcd1a7fd80ec160b68aac920a559e33f3 /hyperstack.fish
parent90b17120e986d45e830afedc4c9bba60f3dab16c (diff)
Add web-search Pi extension (web_search + web_fetch tools)
Implements two LLM-callable tools using DuckDuckGo's free HTML endpoint — no API key or account required: - web_search: searches DDG, returns up to 8 results with title/URL/snippet - web_fetch: fetches a URL, strips script/style/nav blocks, returns up to 12,000 chars of readable text Both tools are TypeScript registered via pi.registerTool() and load automatically from pi/agent/extensions/web-search/ via the ~/.pi symlink. HTTP requests use Node.js built-ins (node:https) with a 15s timeout and single-redirect follow. Also adds an Extensions section to README.md listing all extensions with a focused web-search subsection.
Diffstat (limited to 'hyperstack.fish')
0 files changed, 0 insertions, 0 deletions