{"_id":"pi-web-search","_rev":"12-035d469ab96ba8109b00e14e10ef8bc9","name":"pi-web-search","dist-tags":{"latest":"1.7.0"},"versions":{"1.0.0":{"name":"pi-web-search","version":"1.0.0","keywords":["pi","pi-extension","web-search","gemini","google","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.0.0","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"9e3a19910c42d82dea1e3ea70679eeb2e520e4f6","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.0.0.tgz","fileCount":24,"integrity":"sha512-oi863pkaJXcPRoNWXUJdqxD7yNDSzW0pbXg+dF4J21MjaRLHLc0X4D+zH/wgTQH5aaY0IQsAjyeoXT7Au8zWaA==","signatures":[{"sig":"MEQCIBW3FWdynmYUCSSeaUYaS8VPPAqE3n5M3wvdl+uUhnYyAiBjNvp1c2A+hdXHHcIio+fU1/is9u91mX90I+z1xiqDjg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50876},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"dd1eb34ac766d67209a8d2430b78914ff0e4d119","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"11.6.2","description":"Web search and content analysis extension for pi, powered by Gemini API","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@sinclair/typebox":"^0.32.15","@mariozechner/pi-coding-agent":"^0.51.5"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.0.0_1770393853909_0.616342833134736","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"pi-web-search","version":"1.0.1","keywords":["pi","pi-extension","web-search","gemini","google","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.0.1","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"9927a8111650e288236ded3cb19d7f4d83e47453","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.0.1.tgz","fileCount":19,"integrity":"sha512-Xzd6eN2XLxRPuJAzoMR/NDluAMpcFDyxWs94Japa0mjXOV55gBTUNnc0ARTzx8JH3GdIIHaJvWE2DrtRz63xEg==","signatures":[{"sig":"MEUCIAt+kHUeePQhfj83KLRrQVusIBV6ifu1TzGqe033fdRKAiEAkXADwQLPsddzpxMYFpvPvsmfolo8BxtZEuD1C3/PazI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44108},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"d2a1416bd35115bd901bcc2c6ccb615492920029","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"11.6.2","description":"Web search and content analysis extension for pi, powered by Gemini API","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@sinclair/typebox":"^0.32.15","@mariozechner/pi-coding-agent":"^0.51.5"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.0.1_1770421544876_0.688498397533494","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"pi-web-search","version":"1.0.2","keywords":["pi","pi-extension","web-search","gemini","google","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.0.2","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"fa6cc68eaef71f2e8f29c1a1a22619bded295d5a","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.0.2.tgz","fileCount":18,"integrity":"sha512-ACy8UWkTzjY8PszadXcKb3rfrBxo8UQqPD72ZWo2m0wsfSPRq1D3y7VLT4q1QTgMY/BHrC2EOaqi27sOT2pgMQ==","signatures":[{"sig":"MEUCIQCTNEnA2ws1+7QdEOeqqDm42MqHgIJL0YaUe8v4D/nsBwIgVhTcBQjoW2wjKxSN0JDiH3I6H5/RBuxSZy6GWBl8BFs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43316},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"b9f9945f87161cf8b04a7b0100f2e5b5dbd7f2d5","_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"10.8.2","description":"Web search and content analysis extension for pi, powered by Gemini API","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@sinclair/typebox":"^0.32.15","@mariozechner/pi-coding-agent":"^0.51.5"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.0.2_1770894627048_0.9344370176979364","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"pi-web-search","version":"1.1.0","keywords":["pi","pi-extension","web-search","gemini","google","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.1.0","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"3db72bd29f9fde74c2eda9e757877e72b03a9c84","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.1.0.tgz","fileCount":18,"integrity":"sha512-TZhm7+NcMYfCOzw/GOkbj81P10MUdomcoIW77zFQsLEn2QdIk+VptSyheg+8qneBB3MJYIetE/TB1H6zrlwc9Q==","signatures":[{"sig":"MEUCIGdNHbPe4IHpnITcr7UZVBsubAW7tiyWVxtLMxQjVwYZAiEAuopG8p1//sru+UVPlNebkGEIZeLviXC17g2OUKapKXg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49024},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"0f6942013a6df0481501c14f4213e02b088df86d","_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"10.8.2","description":"Web search and content analysis extension for pi, powered by Gemini API","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^20.0.0","@sinclair/typebox":"^0.32.15","@mariozechner/pi-coding-agent":"^0.64.0"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.1.0_1774852862105_0.4570777190926427","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"pi-web-search","version":"1.2.0","keywords":["pi","pi-extension","web-search","gemini","google","openai","anthropic","url-context","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.2.0","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"5a3142782bc6a30ca211bf4d3c1adc4f473369f6","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.2.0.tgz","fileCount":7,"integrity":"sha512-aYuYzeRNm12TVluk6M55S9NVGFi+UoKcFpVixrr5ppkc4DG98Rx7daoqsR8tCRqLd5AI6Im2SAMSwfSx0biL7w==","signatures":[{"sig":"MEYCIQCkFE0umptNffZ7sJCyYXnS3M62bMbirEB0DRnicX26IAIhAN9qCbFnXFFKqV+6zEo6ddoqykMk7iX6xKxrGjR/GHZ0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62572},"main":"src/index.ts","type":"module","gitHead":"9714496ac8ceaa0bbc26bdf261b1e6cbf0903c97","scripts":{"test":"node --test tests/*.test.mjs","test:real:web-search":"node tests/real-web-search.mjs","test:real:url-context":"node tests/real-url-context.mjs"},"_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"11.12.1","description":"Provider-native web search for pi across Google Gemini, OpenAI, and Anthropic, plus Gemini URL Context","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/node":"^25.9.1","@sinclair/typebox":"^0.34.49","@earendil-works/pi-ai":"^0.75.4","@earendil-works/pi-coding-agent":"^0.75.4"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.2.0_1779467877910_0.9822291097675853","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"pi-web-search","version":"1.2.1","keywords":["pi","pi-extension","pi-package","web-search","gemini","google","openai","anthropic","url-context","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.2.1","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"f9eacc9482c9875489f4ca1a4b37ec1917e81a48","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.2.1.tgz","fileCount":7,"integrity":"sha512-LetwLim+MLDn4Ed39J7aSPJnvKUejVrgAI7ral5mAlYThRitwWsuIV5Km+n9YOH5oEpIS37OiFJTOaaTbxfghw==","signatures":[{"sig":"MEQCIHrjv6isZHIe+AZLbs98Mfj+aSnfCdQlKZNPiKrfPorUAiBasRZRFRwQbJ17d9gCrTcXF853TWhRecEqeZVY1/oYCw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59587},"main":"src/index.ts","type":"module","gitHead":"f7e6aa43d30005d20ac849080afb82e84738f1c6","scripts":{"test":"node --test tests/*.test.mjs","test:real:web-search":"node tests/real-web-search.mjs","test:real:url-context":"node tests/real-url-context.mjs"},"_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"11.12.1","description":"Provider-native web search for pi across Google Gemini, OpenAI, and Anthropic, plus Gemini URL Context","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"typebox":"^1.1.38","typescript":"^6.0.3","@types/node":"^25.9.1","@earendil-works/pi-ai":"^0.75.4","@earendil-works/pi-coding-agent":"^0.75.4"},"peerDependencies":{"typebox":"*","@earendil-works/pi-ai":"*","@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.2.1_1780232685364_0.9909896447786928","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"pi-web-search","version":"1.3.0","keywords":["pi","pi-extension","pi-package","web-search","gemini","google","openai","anthropic","url-context","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.3.0","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"279dcac9ca5c25f8a563e490274608394f8ae26a","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.3.0.tgz","fileCount":7,"integrity":"sha512-/HewfM2oodmAI1Lh+Yew6XuMhQRfXZve7D5BChlDdEOdAUa+pe0mPBjzKVBerU8itzmxqUasKUWzFgffNN2NhQ==","signatures":[{"sig":"MEYCIQCwe5xWbkiwdnB0S48xu6sYAV9JmOWJkoK9KOf5sfFxZwIhAMODZyymiYix1uk4QfoUaveHxL8/H3v9XoZbdaPcT6+6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64728},"main":"src/index.ts","type":"module","gitHead":"b1a118bb52edf6a5e188cd494451a918ae2dddab","scripts":{"test":"node --test tests/*.test.mjs","test:real:web-search":"node tests/real-web-search.mjs","test:real:url-context":"node tests/real-url-context.mjs"},"_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"11.12.1","description":"Provider-native web search for pi across Google Gemini, OpenAI, and Anthropic, plus Gemini URL Context","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typebox":"^1.1.38","typescript":"^6.0.3","@types/node":"^25.9.1","@earendil-works/pi-ai":"^0.75.4","@earendil-works/pi-coding-agent":"^0.75.4"},"peerDependencies":{"typebox":"*","@earendil-works/pi-ai":"*","@earendil-works/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.3.0_1780394195462_0.7416790147059904","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"pi-web-search","version":"1.3.1","keywords":["pi","pi-extension","pi-package","web-search","gemini","google","openai","anthropic","url-context","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.3.1","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"45d28ffc5bccf0b8eef28cb8d76411e32f9e6f5c","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.3.1.tgz","fileCount":7,"integrity":"sha512-FBmGupWahqLU+uMSDLy+As7zn/4oiHGxC/MPtGuzOZNHEJw8ACJvCsZhyflprBJB31m0WIa4iiRKtbARRByaZg==","signatures":[{"sig":"MEUCIDwJKaeMgJjW9sbQWVdOTSwUPRWDReMUKCGlwKIDdIKjAiEAu2fp3W4hAEET6shYa0FfazbPuh0wpXO1BqR6qMMMFcg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69450},"main":"src/index.ts","type":"module","gitHead":"118b3eee3f5900cef3141745109a300315630592","scripts":{"test":"node --test tests/*.test.mjs","test:real:web-search":"node tests/real-web-search.mjs","test:real:url-context":"node tests/real-url-context.mjs"},"_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"11.12.1","description":"Provider-native web search for pi across Google Gemini, OpenAI, and Anthropic, plus Gemini URL Context","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"typebox":"^1.1.38","typescript":"^6.0.3","@types/node":"^25.9.1","@earendil-works/pi-ai":"^0.80.3","@earendil-works/pi-coding-agent":"^0.80.3"},"peerDependencies":{"typebox":"*","@earendil-works/pi-ai":">=0.80.3","@earendil-works/pi-coding-agent":">=0.80.3"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.3.1_1783617520260_0.6511423584550191","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"pi-web-search","version":"1.4.0","keywords":["pi","pi-extension","pi-package","web-search","gemini","google","openai","anthropic","url-context","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.4.0","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"6d452263fa02e2eae59b6c6d4a9112761f846a90","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.4.0.tgz","fileCount":7,"integrity":"sha512-PzOeHhadVvMgg3pJ942fT80u6lkud5KLCfYfhf+WChCFl9N1eYAXHZ/FZG7HsLl4ZXylX4iUD3gn8TuJVBrXBQ==","signatures":[{"sig":"MEQCIBz7w01Dk6Cfjv0wLHgvb0llcks4ab3oxPBL7AdojL4WAiAkkKwROdtJPtHJPbzvPjT95aPlqXIJDwwM0AIQcTHEuA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72702},"main":"src/index.ts","type":"module","gitHead":"83ac115e87bce29cf4c93af329b94ce5c306eaa8","scripts":{"test":"node --test tests/*.test.mjs","test:real:web-search":"node tests/real-web-search.mjs","test:real:url-context":"node tests/real-url-context.mjs"},"_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"11.12.1","description":"Provider-native web search for pi: Gemini + URL Context, OpenAI Responses (Azure/Codex/Copilot), and Anthropic","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typebox":"^1.1.38","typescript":"^6.0.3","@types/node":"^25.9.1","@earendil-works/pi-ai":"^0.80.3","@earendil-works/pi-tui":"^0.80.3","@earendil-works/pi-coding-agent":"^0.80.3"},"peerDependencies":{"typebox":"*","@earendil-works/pi-ai":">=0.80.3","@earendil-works/pi-tui":"*","@earendil-works/pi-coding-agent":">=0.80.3"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.4.0_1788336847186_0.4889147402153513","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"pi-web-search","version":"1.5.0","keywords":["pi","pi-extension","pi-package","web-search","gemini","google","xai","grok","openai","anthropic","url-context","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.5.0","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"409123be91e00985563565f08dfd06c27dc96a46","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.5.0.tgz","fileCount":7,"integrity":"sha512-4/aCT8IW8oVIwsW2ov2AKmarekNsLDy9/x4QzflxqRXdkHQpJbaU2xrH8UC49aSa8/9SWxOxFBtag2iw5QsM0A==","signatures":[{"sig":"MEQCIFNELIw12QMoWb6lbd8JgiqAJuCyIf7wIpHuLqTtITJ4AiBpt5tsdNN8n2pz1KCGjtR3zqowmfYZkeTZqJsrWG84lg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73697},"main":"src/index.ts","type":"module","gitHead":"d6eb1d76ad51797a15a483dea169f24b7b46d8ff","scripts":{"test":"node --test tests/*.test.mjs","test:real:web-search":"node tests/real-web-search.mjs","test:real:url-context":"node tests/real-url-context.mjs"},"_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"11.19.0","description":"Provider-native web search for pi: Gemini + URL Context, xAI Grok, OpenAI Responses (Azure/Codex/Copilot), and Anthropic","directories":{},"_nodeVersion":"26.8.1","_hasShrinkwrap":false,"devDependencies":{"typebox":"^1.1.38","typescript":"^6.0.3","@types/node":"^25.9.1","@earendil-works/pi-ai":"^0.80.3","@earendil-works/pi-tui":"^0.80.3","@earendil-works/pi-coding-agent":"^0.80.3"},"peerDependencies":{"typebox":"*","@earendil-works/pi-ai":">=0.80.3","@earendil-works/pi-tui":"*","@earendil-works/pi-coding-agent":">=0.80.3"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.5.0_1788857433461_0.9493980438590361","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"pi-web-search","version":"1.6.0","keywords":["pi","pi-extension","pi-package","web-search","gemini","google","xai","grok","openai","anthropic","opencode","opencode-zen","url-context","url-analysis","youtube"],"author":{"name":"ttttmr"},"license":"MIT","_id":"pi-web-search@1.6.0","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"homepage":"https://github.com/ttttmr/pi-web-search#readme","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"e8526c51d665db8c685a5514048ae8a55c7c5147","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.6.0.tgz","fileCount":16,"integrity":"sha512-UwUDER9JoA/EwoTeJQZKQ23FctfY4o6ygFrahsRKeHBYExiadr4SMzJbqh6uScYtZGWrF1BJQ0A7UUsIj1NuWg==","signatures":[{"sig":"MEQCIAl+U+qAh2S+h+mvRAtCLDzBPSh75AeDp/JqdCmgEVN0AiAd8EM0OMCs9e/RAjIEBtBtsqEmdC+6FIvu8F2KCHWlcw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDharYmIlZxjah3jjyG8EGE2v3JZf4FK5aDjpy1J81IpAiBevs5I1yTDGbVQ08NtqjUM8eyy1JZQykGQyKSdPFTmIA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80914},"main":"src/index.ts","type":"module","gitHead":"eb72d5553a47fc0803887c5c7e673a32e04fca57","scripts":{"test":"node --test tests/*.test.mjs","test:real:web-search":"node tests/real-web-search.mjs","test:real:url-context":"node tests/real-url-context.mjs"},"_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"11.12.1","description":"Provider-native web search for pi: Gemini + URL Context, xAI Grok, OpenAI Responses (Azure/Codex/Copilot), Anthropic, and OpenCode Zen/Go","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typebox":"^1.1.38","typescript":"^6.0.3","@types/node":"^25.9.1","@earendil-works/pi-ai":"^0.80.3","@earendil-works/pi-tui":"^0.80.3","@earendil-works/pi-coding-agent":"^0.80.3"},"peerDependencies":{"typebox":"*","@earendil-works/pi-ai":">=0.80.3","@earendil-works/pi-tui":"*","@earendil-works/pi-coding-agent":">=0.80.3"},"_npmOperationalInternal":{"tmp":"tmp/pi-web-search_1.6.0_1789548894156_0.32338054739736743","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"pi":{"extensions":["./src/index.ts"]},"_id":"pi-web-search@1.7.0","bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"dist":{"shasum":"9737455f3557241efd48e00d0ed52408a9973a29","tarball":"https://registry.npmjs.org/pi-web-search/-/pi-web-search-1.7.0.tgz","fileCount":17,"integrity":"sha512-VthBC7G6v4vkQMgL6atADMi6XjKjoQbI0QUvn76Ldhzv+ewCTlJEN7441PSiz7reDk5AyU8kZZabOQQVNfDXjg==","signatures":[{"sig":"MEUCIB7ECfOtm6gb9OUylqzJA4IXgt3jvcmiXir96IZtCi87AiEA6uC1w1vJCZFKsVFSLE7wDNOr/mjw0KiiTsL0zHUXMkA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCpvZvPTn65qEn8WQnFV3sPPd6JshDjd77ZlpP5JapowAIhAOrmKAPknFCmX9mwkI+bIUeex8oVP8rVYDtlSIYeFXvm"}],"unpackedSize":98594},"main":"src/index.ts","name":"pi-web-search","type":"module","author":{"name":"ttttmr"},"gitHead":"4277d3f3be5d2a2b6de911eec730516d14bc4084","license":"MIT","scripts":{"test":"node --test tests/*.test.mjs","test:real:web-search":"node tests/real-web-search.mjs","test:real:url-context":"node tests/real-url-context.mjs"},"version":"1.7.0","_npmUser":{"name":"ttttmr","email":"i@xlab.app"},"homepage":"https://github.com/ttttmr/pi-web-search#readme","keywords":["pi","pi-extension","pi-package","web-search","gemini","google","xai","grok","openai","anthropic","deepseek","opencode","opencode-zen","url-context","url-analysis","youtube"],"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"_npmVersion":"11.19.0","description":"Provider-native web search for pi: Gemini + URL Context, xAI Grok, OpenAI Responses (Azure/Codex/Copilot), Anthropic, DeepSeek, and OpenCode Zen/Go","directories":{},"maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"typebox":"^1.1.38","typescript":"^6.0.3","@types/node":"^25.9.1","@earendil-works/pi-ai":"^0.80.3","@earendil-works/pi-tui":"^0.80.3","@earendil-works/pi-coding-agent":"^0.80.3"},"peerDependencies":{"typebox":"*","@earendil-works/pi-ai":">=0.80.3","@earendil-works/pi-tui":"*","@earendil-works/pi-coding-agent":">=0.80.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-web-search_1.7.0_1791459313358_0.657304271652527"}}},"time":{"created":"2026-02-06T16:04:13.908Z","modified":"2026-10-08T11:35:13.639Z","1.0.0":"2026-02-06T16:04:14.129Z","1.0.1":"2026-02-06T23:45:45.019Z","1.0.2":"2026-02-12T11:10:27.194Z","1.1.0":"2026-03-30T06:41:02.292Z","1.2.0":"2026-05-22T16:37:58.044Z","1.2.1":"2026-05-31T13:04:45.508Z","1.3.0":"2026-06-02T09:56:35.597Z","1.3.1":"2026-07-09T17:18:40.450Z","1.4.0":"2026-09-02T08:14:07.324Z","1.5.0":"2026-09-08T08:50:33.622Z","1.6.0":"2026-09-16T08:54:54.228Z","1.7.0":"2026-10-08T11:35:13.446Z"},"bugs":{"url":"https://github.com/ttttmr/pi-web-search/issues"},"author":{"name":"ttttmr"},"license":"MIT","homepage":"https://github.com/ttttmr/pi-web-search#readme","keywords":["pi","pi-extension","pi-package","web-search","gemini","google","xai","grok","openai","anthropic","deepseek","opencode","opencode-zen","url-context","url-analysis","youtube"],"repository":{"url":"git+https://github.com/ttttmr/pi-web-search.git","type":"git"},"description":"Provider-native web search for pi: Gemini + URL Context, xAI Grok, OpenAI Responses (Azure/Codex/Copilot), Anthropic, DeepSeek, and OpenCode Zen/Go","maintainers":[{"name":"ttttmr","email":"i@xlab.app"}],"readme":"# pi-web-search\n\nProvider-native web search for [pi](https://pi.dev) with Gemini + URL Context, xAI Grok, OpenAI Responses variants, Anthropic, DeepSeek, Ollama Cloud, and OpenCode Zen/Go.\n\n## Tools\n\n### `web_search`\n\nSearch the web using your currently selected model. Automatically picks the right provider API:\n\n| Provider | API |\n|---|---|\n| Google Gemini | Grounding with Google Search |\n| xAI Grok | Responses API `web_search` |\n| OpenAI | Responses API web search |\n| Azure OpenAI | Responses API web search (`azure-openai-responses`) |\n| OpenAI Codex | Codex Responses API web search (`openai-codex-responses`) |\n| GitHub Copilot | OpenAI Responses API web search via Copilot credentials |\n| Anthropic | Messages API web search |\n| DeepSeek | Anthropic-compatible Messages API `web_search_20260209` |\n| Ollama Cloud | Ollama web search API (`/api/web_search`, standalone REST) |\n| OpenCode Zen / Go | Responses API web search (models that use the `openai-responses` API) |\n\nGitHub Copilot OpenAI Responses models are supported, including Business and Enterprise seats whose API endpoint is resolved from their authenticated Copilot credentials. This includes models such as `gpt-5.6-sol`.\n\nOpenCode Zen and OpenCode Go Responses models (for example `opencode-go/gpt-5.6-luna` or `opencode-go/grok-4.6`) use the same Responses web search. OpenCode routes traffic per conversation, so `web_search` sends the `x-opencode-session` and `x-opencode-client` headers pi uses, keyed to the active session. Only models exposed through that Responses API are supported: OpenCode `chat/completions` models have no provider-native search tool, and the gateway's Anthropic Messages models are unverified. Grok ids such as `opencode-go/grok-4.6` get the Grok request shape described below unless `compat.webSearchDialect` is `\"openai\"`; the session headers are unchanged.\n\nGrok models on OpenAI-compatible Responses gateways use Grok's request shape: no `web_search_call.results` include (Grok rejects it with 400), a message-array input, and inline citations. By default this applies to the native `xai` provider and to any model id starting with `grok-`, `grok.`, or equal to `grok`. Set `\"compat\": { \"webSearchDialect\": \"grok\" }` or `\"openai\"` in `models.json` to override detection, on the model or on a provider that serves only Grok; model-level `compat` wins over provider-level. Only the request shape changes: auth, error labels, and `providerKind` still follow the provider, and gateway Grok still inherits the session thinking level. Only the native `xai` provider omits `reasoning.effort`.\n\nOllama Cloud models (provider `ollama-cloud` or any model hosted on `ollama.com`) call Ollama's standalone web search API rather than a model tool. Auth is `OLLAMA_API_KEY` or `/login ollama-cloud`. Any `urls` are fetched through `web_fetch`. A local Ollama daemon is out of scope — the official `@ollama/pi-web-search` package covers its `/api/experimental/*` endpoints.\n\nSupports passing up to 20 additional URLs to analyze alongside the query. Successful `web_search` results are collapsed by default in pi; expand the tool call to inspect the full answer and source details.\n\n### `url_context`\n\nGemini and Ollama Cloud. Analyze up to 20 public URLs — web pages, documents, images, and YouTube videos. Gemini uses native URL Context retrieval with verified metadata; Ollama uses its `web_fetch` endpoint (web pages and documents only).\n\nWhen using `google-generative-ai`, YouTube URLs are passed as `file_data` for native video understanding.\n\n## Install\n\n```bash\npi install npm:pi-web-search\n```\n\n## Usage\n\nNo extra config needed. Select a supported current model in pi and the tools auto-detect the matching provider API.\n\n`web_search` will not scan configured models and pick one automatically when the current model does not support native search. To use a dedicated search model, opt in explicitly with `web-search.json` in pi's agent directory (by default `~/.pi/agent/`; respects `PI_CODING_AGENT_DIR`):\n\n```json\n{\n  \"provider\": \"openai\",\n  \"model\": \"gpt-5.1\"\n}\n```\n\nWhen this file exists, `web_search` uses the configured provider/model first. If it is missing, `web_search` uses the current conversation model. If the selected model does not support native search, the tool returns an error instead of falling back.\n\nFor OpenAI Responses models (including Azure, Codex, and Copilot), `web_search` inherits the agent's current thinking level on each call. Enabled levels are clamped to the selected search model's supported levels and translated through its `thinkingLevelMap` using pi's model metadata. This also applies when `web-search.json` selects a dedicated search model. Higher effort can increase latency and cost.\n\nWhen thinking is off or unavailable, or the search model is non-reasoning, the request omits `reasoning` and leaves the choice to the provider. Off does not force reasoning off: some models reject `reasoning.effort: \"none\"`. Google, Anthropic, xAI, and Ollama behavior is unchanged.\n\n`url_context` is automatically removed from active tools when using a model that supports neither Gemini URL Context nor Ollama web fetch.\n\n### DeepSeek\n\nSelect a model from pi's `deepseek` provider and authenticate with `/login` or\n`DEEPSEEK_API_KEY`. Search automatically uses DeepSeek's Anthropic-compatible\nendpoint (`https://api.deepseek.com/anthropic/v1/messages`) with the same model\nand credentials. A configured proxy base URL is preserved and routed through\nits `/anthropic/v1/messages` endpoint; the proxy must support that route.\n\nTo use DeepSeek search with another conversation model, set `web-search.json`:\n\n```json\n{\n  \"provider\": \"deepseek\",\n  \"model\": \"deepseek-v4-flash\"\n}\n```\n\nThe selected model must be registered in pi and support DeepSeek's server-side\nsearch. Unlike the standalone `pi-deepseek-search` extension, this integration\nuses the model selected by this project's configuration; it does not read\n`DEEPSEEK_SEARCH_MODEL` or silently switch models. Do not load both extensions,\nsince they both register `web_search`.\n\nDeepSeek requests support cancellation through pi. Additional `urls` are included in\nthe prompt; Gemini's verified URL Context retrieval remains Gemini-only.\n\nThis integration was informed by [pi-deepseek-search](https://github.com/bxff/pi-deepseek-search).\n\n## Test\n\n```bash\ncp .env.example .env   # edit with your models\nnpm test               # unit tests\nnpm run test:real:web-search\nnpm run test:real:url-context\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}