pi-webfind 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  <h1 align="center">pi-webfind</h1>
6
6
 
7
7
  <p align="center">
8
- <a href="https://www.npmjs.com/package/pi-webfind"><img alt="npm" src="https://img.shields.io/npm/v/pi-webfind?style=flat-square" /></a>
8
+ <a href="https://www.npmjs.com/package/pi-webfind"><img alt="npm version" src="https://img.shields.io/npm/v/pi-webfind?style=flat-square&color=cb3837" /></a>
9
9
  <a href="https://github.com/jawwadzafar/pi-webfind/actions/workflows/deploy-docs.yml"><img alt="docs" src="https://img.shields.io/website?url=https%3A%2F%2Fjawwadzafar.github.io%2Fpi-webfind%2F&style=flat-square&label=docs" /></a>
10
10
  <a href="https://github.com/jawwadzafar/pi-webfind/blob/main/LICENSE"><img alt="license" src="https://img.shields.io/npm/l/pi-webfind?style=flat-square" /></a>
11
11
  <a href="https://github.com/jawwadzafar/pi-webfind/stargazers"><img alt="stars" src="https://img.shields.io/github/stars/jawwadzafar/pi-webfind?style=flat-square&color=b5bd68" /></a>
@@ -217,13 +217,12 @@ export default function (pi: ExtensionAPI) {
217
217
  description:
218
218
  "General web search — free, no API key (DuckDuckGo + Brave). Returns titles, URLs, snippets. " +
219
219
  "Use for news, articles, broad topics. Use fetch_page to read a result in full. " +
220
- "engine='multi' merges both engines in parallel for best coverage.",
220
+ "engine='multi' merges both engines in parallel for best coverage. " +
221
+ "For research questions, run 2-3 queries with varied phrasings (add a year, quote the exact error, add 'docs' or 'github'); " +
222
+ "set deep:true when you need facts rather than links; prefer recent results for fast-moving topics and cite the date you relied on.",
221
223
  promptSnippet: "Free multi-engine web search (DDG + Brave) with recency filter",
222
224
  promptGuidelines: [
223
- "For anything factual or current, search before answering. Run 2-3 searches with different phrasings (add a year, quote the exact error, add 'docs' or 'github') one query is rarely enough.",
224
- "Set deep:true on web_search when you need facts rather than links; use fetch_page with query when you need one page in depth. Cite URLs inline.",
225
- "Read at least two independent sources before stating a conclusion. Prefer primary sources (official docs, repos, papers) over aggregators, and say when sources disagree or are thin.",
226
- "Results include dates when available — prefer recent ones for fast-moving topics and mention which date you relied on.",
225
+ "Use web tools when the question depends on current or external information the user hasn't provided; don't search for stable knowledge you already know.",
227
226
  ],
228
227
  parameters: Type.Object({
229
228
  query: Type.String({ description: "Search query" }),
package/lib/version.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  // Single source of truth for the tool's version, used in UA strings.
2
2
  // Kept in sync with package.json manually on release (release checklist item).
3
- export const VERSION = "0.5.1";
3
+ export const VERSION = "0.5.2";
4
4
  export const TOOL_UA = `pi-webfind/${VERSION} (free web research toolkit for pi coding agent; +https://github.com/jawwadzafar/pi-webfind)`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-webfind",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Claude Code-style web research for the pi coding agent \u2014 WebSearch, query-aware fetch (PDFs, Wayback, site adapters, markdown extraction), Stack Overflow, GitHub, HN, Wikipedia, npm. 100% free, no API keys.",
5
5
  "type": "module",
6
6
  "keywords": [