Commit Graph

3 Commits

Author SHA1 Message Date
42ce8730ab refactor: complete pi-web rename in paths and env vars
- Config path: ~/.pi/pi-search/config.json -> ~/.pi/pi-web/config.json
- Env vars: PI_SEARCH_PROVIDER -> PI_WEB_PROVIDER,
  PI_SEARCH_SEARXNG_URL -> PI_WEB_SEARXNG_URL
- README + flake.nix description updated to match.
2026-05-25 11:58:18 -04:00
67ce141b1b feat: add web_fetch tool, rename to pi-web
- Rename package to @evan/pi-web (repo rename handled separately).
- Rename existing 'search' tool to 'web_search' for consistency.
- Add 'web_fetch' tool: navigates via the shared headless Firefox,
  extracts via Mozilla Readability, falls back to <body> when no
  article is detected, converts with Turndown. 50KB cap, 15s nav
  timeout. Description steers LLM to curl for raw/non-text content.
- Reuses the shared driver, so search + fetch share one warm browser.
2026-05-25 11:51:46 -04:00
ebd7218b95 chore: initial commit
pi extension exposing a single search tool. Providers: Kagi (headless
Firefox against kagi.com session-token endpoint) and SearXNG (JSON API).
Config lives at ~/.pi/pi-search/config.json with env overrides.
2026-05-25 11:25:41 -04:00