{"_id":"@davehardy20/pi-web-search","name":"@davehardy20/pi-web-search","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@davehardy20/pi-web-search","version":"0.1.0","description":"Pi package for web search via Tavily API.","type":"module","keywords":["pi-package","pi-extension","web-search","tavily"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/davehardy20/pi-web-search.git"},"bugs":{"url":"https://github.com/davehardy20/pi-web-search/issues"},"homepage":"https://github.com/davehardy20/pi-web-search#readme","publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.build.json","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit"},"peerDependencies":{"@earendil-works/pi-coding-agent":"*","@earendil-works/pi-ai":"*","typebox":"*"},"peerDependenciesMeta":{"@earendil-works/pi-coding-agent":{"optional":false},"@earendil-works/pi-ai":{"optional":false},"typebox":{"optional":false}},"devDependencies":{"@earendil-works/pi-coding-agent":"^0.74.0","@earendil-works/pi-ai":"^0.74.0","@types/node":"^24.7.2","typebox":"^1.1.24","typescript":"^5.9.3","vitest":"^3.2.4"},"pi":{"extensions":["./src/index.ts"]},"gitHead":"61511ec6505857da90be28e9be0aa51b932a127d","_id":"@davehardy20/pi-web-search@0.1.0","_nodeVersion":"26.0.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-7pzDLbLeYyF+mc2aEt4uloLtUS7r+Nh5qL+cAQHa4Bk7ukfRofQBqs6kSzT0D4TQU5l3acD0pLencFayofROHQ==","shasum":"29fc1b944b63a02e0b00afd27a6d77bd0b3d922a","tarball":"https://registry.npmjs.org/@davehardy20/pi-web-search/-/pi-web-search-0.1.0.tgz","fileCount":4,"unpackedSize":10591,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIA2GZaPCP+NasB66QdVmndQldb2p5HLrJusVAPaeh1UTAiBimghygdC8+aWeJ600aiWxio4BjLpXramSSGxl70MUhw=="}]},"_npmUser":{"name":"davehardy20","email":"dave.hardy@protonmail.com"},"directories":{},"maintainers":[{"name":"davehardy20","email":"dave.hardy@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-web-search_0.1.0_1779016911751_0.9994876589031958"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-17T11:21:51.630Z","0.1.0":"2026-05-17T11:21:51.897Z","modified":"2026-05-17T11:21:52.158Z"},"maintainers":[{"name":"davehardy20","email":"dave.hardy@protonmail.com"}],"description":"Pi package for web search via Tavily API.","homepage":"https://github.com/davehardy20/pi-web-search#readme","keywords":["pi-package","pi-extension","web-search","tavily"],"repository":{"type":"git","url":"git+https://github.com/davehardy20/pi-web-search.git"},"bugs":{"url":"https://github.com/davehardy20/pi-web-search/issues"},"license":"MIT","readme":"# @davehardy20/pi-web-search\n\nPi package for web search via Tavily API.\n\n## What it adds\n\n- `web_search` tool — Search the web using Tavily API. Returns relevant results with summaries and source URLs.\n- `/web-search-status` — Show package name, version, source path, and API key status.\n\n## Prerequisites\n\n- A [Tavily](https://tavily.com) API key set as the `TAVILY_API_KEY` environment variable.\n\n```bash\nexport TAVILY_API_KEY='your-key'\n```\n\n## Install\n\nFrom npm:\n\n```bash\npi install npm:@davehardy20/pi-web-search\n```\n\nFrom git:\n\n```bash\npi install git:github.com/davehardy20/pi-web-search\n```\n\nFrom a local checkout during development:\n\n```bash\npi install /Users/dave/tools/pi-web-search\n```\n\nFor one run only:\n\n```bash\npi -e /Users/dave/tools/pi-web-search\n```\n\n## Notes\n\n- Requires `TAVILY_API_KEY` to be set in the environment. The tool returns a clear error if the key is missing.\n- If the `web_search` tool appears twice, Pi is probably loading both this package and the old local `agent/extensions/web-search.ts` file.\n- Disable or remove the old local auto-discovered extension before reload verification.\n\n## Update flow\n\n1. update the package repo\n2. push to GitHub\n3. run `pi update --extensions` or reinstall the package\n4. run `/reload`\n\n`/reload` alone does not fetch newer package commits.\n\n## Troubleshooting\n\nRun `/web-search-status` to confirm:\n\n- package name\n- package version\n- loaded source path\n- Tavily API key status (set/not set)\n\n## Build and test\n\n```bash\nnpm run typecheck\nnpm run test\nnpm run build\n```\n","readmeFilename":"README.md","_rev":"1-958ae920f636c5e42551175bbbf0f172"}