@staticn0va/wigolo 0.6.5 → 0.6.6

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.
Files changed (36) hide show
  1. package/README.md +48 -48
  2. package/SKILL.md +22 -22
  3. package/assets/skills/wigolo/rules/cache-first.md +1 -1
  4. package/assets/skills/wigolo/rules/synthesis.md +1 -1
  5. package/assets/skills/wigolo-fetch/SKILL.md +1 -1
  6. package/assets/skills/wigolo-find-similar/SKILL.md +2 -2
  7. package/assets/skills/wigolo-search/SKILL.md +3 -3
  8. package/dist/cli/doctor.d.ts +3 -3
  9. package/dist/cli/doctor.js +12 -12
  10. package/dist/cli/doctor.js.map +1 -1
  11. package/dist/cli/health.js +1 -1
  12. package/dist/cli/health.js.map +1 -1
  13. package/dist/cli/tui/hooks/useInstall.js +2 -2
  14. package/dist/cli/tui/hooks/useInstall.js.map +1 -1
  15. package/dist/cli/tui/hooks/useVerify.js +3 -3
  16. package/dist/cli/tui/hooks/useVerify.js.map +1 -1
  17. package/dist/cli/tui/status-format.js +5 -5
  18. package/dist/cli/tui/status-format.js.map +1 -1
  19. package/dist/cli/tui/verify-suggestions.js +3 -3
  20. package/dist/cli/tui/verify-suggestions.js.map +1 -1
  21. package/dist/cli/tui/verify.js +3 -3
  22. package/dist/cli/tui/verify.js.map +1 -1
  23. package/dist/cli/uninstall.js +2 -2
  24. package/dist/cli/uninstall.js.map +1 -1
  25. package/dist/cli/warmup.js +14 -14
  26. package/dist/cli/warmup.js.map +1 -1
  27. package/dist/instructions.d.ts +5 -5
  28. package/dist/instructions.js +10 -10
  29. package/dist/instructions.js.map +1 -1
  30. package/dist/server/backend-status.js +2 -2
  31. package/dist/server/backend-status.js.map +1 -1
  32. package/dist/server.js +15 -15
  33. package/dist/server.js.map +1 -1
  34. package/dist/tools/search.js +1 -1
  35. package/dist/tools/search.js.map +1 -1
  36. package/package.json +2 -4
@@ -1 +1 @@
1
- {"version":3,"file":"useVerify.js","sourceRo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,CAAC,CAAC;gBACb,OAAO,CAAC,IAAI,CAAC,CAAC;YAChB,CAAC;QACH,CAAC;QAED,GAAG,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE;YACf,IAAI,CAAC,SAAS;gBAAE,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC,CAAC,CAAC;QAEH,OAAO,GAAG,EAAE,GAAG,SAAS,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;IACrC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;AACjC,CAAC"}
@@ -3,17 +3,17 @@ export function formatStatus(bag) {
3
3
  lines.push(`wigolo v${bag.version}`);
4
4
  switch (bag.searxng) {
5
5
  case 'ready':
6
- lines.push('✓ SearXNG ready (not running — starts on demand)');
6
+ lines.push('✓ Search engine ready (not running — starts on demand)');
7
7
  break;
8
8
  case 'failed':
9
- lines.push('✗ SearXNG: failed (see `wigolo doctor`)');
9
+ lines.push('✗ Search engine: failed (see `wigolo doctor`)');
10
10
  break;
11
11
  case 'pending':
12
- lines.push('⊘ SearXNG: not installed (run `wigolo warmup`)');
12
+ lines.push('⊘ Search engine: not installed (run `wigolo warmup`)');
13
13
  break;
14
14
  }
15
- lines.push(line('FlashRank', bag.flashrank));
16
- lines.push(line('Trafilatura', bag.trafilatura));
15
+ lines.push(line('ML reranker', bag.flashrank));
16
+ lines.push(line('Content extractor', bag.trafilatura));
17
17
  lines.push(line('Embeddings', bag.embeddings));
18
18
  lines.push(` Cache: ${bag.cache.pages} pages, ${formatBytes(bag.cache.bytes)}`);
19
19
  lines.push('');
@@ -1 +1 @@
1
- {"version":3,"file":"status-format.js","sourceRoot":"","sources":["../../../src/cli/tui/status-format.ts"],"names":[],"mappings":"AAYA,MAAM,UAAU,YAAY,CAAC,GAAc;IACzC,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,KAAK,CAAC,IAAI,CAAC,WAAW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IAAI,KAAK,GAAG,IAAI,GAAG,IAAI;QAAE,OAAO,GAAG,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;IAClE,IAAI,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;QAAE,OAAO,GAAG,CAAC,KAAK,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;IAClF,OAAO,GAAG,CAAC,KAAK,GAAG,CAAC,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;AAC3D,CAAC"}
@@ -1,7 +1,7 @@
1
1
  const TABLE = {
2
- 'searxng': 'SearXNG failed to start. Try: npx @staticn0va/wigolo warmup --force',
3
- 'flashrank': 'FlashRank is not installed. Run: npx @staticn0va/wigolo warmup',
4
- 'trafilatura': 'Trafilatura is not installed. Run: npx @staticn0va/wigolo warmup',
2
+ 'searxng': 'Search engine failed to start. Try: npx @staticn0va/wigolo warmup --force',
3
+ 'flashrank': 'ML reranker is not installed. Run: npx @staticn0va/wigolo warmup',
4
+ 'trafilatura': 'Content extractor is not installed. Run: npx @staticn0va/wigolo warmup',
5
5
  'embeddings': 'Embeddings model is not installed. Run: npx @staticn0va/wigolo warmup',
6
6
  };
7
7
  export function suggestionFor(id) {
@@ -1 +1 @@
1
- {"version":3,"file":"verify-suggestions.js","sourceRoot":"","sources":["../../../src/cli/tui/verify-suggestions.ts"],"names":[],"mappings":"AAQA,MAAM,KAAK,GAAkC;IAC3C,SAAS,EAAE,qEAAqE;IAChF,WAAW,EAAE,gEAAgE;IAC7E,aAAa,EAAE,kEAAkE;IACjF,YAAY,EAAE,uEAAuE;CACtF,CAAC;AAEF,MAAM,UAAU,aAAa,CAAC,EAAiB;IAC7C,OAAO,KAAK,CAAC,EAAE,CAAC,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,qBA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AC,CAAC,CAAC;IACxE,IAAI,MAAM,CAAC,UAAU,KAAK,IAAI;QAAE,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC;IACtE,OAAO,GAAG,CAAC;AACb,CAAC"}
@@ -2,9 +2,9 @@ import { execSync } from 'node:child_process';
2
2
  import { SearxngProcess } from '../../searxng/process.js';
3
3
  import { getPythonBin } from '../../python-env.js';
4
4
  import { suggestionsFromResult } from './verify-suggestions.js';
5
- const SEARXNG_LABEL = 'Starting SearXNG';
6
- const FLASHRANK_LABEL = 'Checking FlashRank';
7
- const TRAFILATURA_LABEL = 'Checking Trafilatura';
5
+ const SEARXNG_LABEL = 'Starting search engine (searxng)';
6
+ const FLASHRANK_LABEL = 'Checking ML reranker (flashrank)';
7
+ const TRAFILATURA_LABEL = 'Checking content extractor (trafilatura)';
8
8
  const EMBEDDINGS_LABEL = 'Checking embeddings';
9
9
  export async function runVerify(dataDir, reporter) {
10
10
  const result = {
@@ -1 +1 @@
1
- {"version":3,"file":"verify.js","sourceRoot":"","sources":["../../../src/cli/tui/verify.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAgBhE,MAAM,aAAa,GAAG,kBAAkB,CAAC;AACzC,MAAM,eAAe,GAAG,oBAAoB,CAAC;AAC7C,MAAM,iBAAiB,GAAG,sBAAsB,CAAC;AACjD,MAAM,gBAAgB,GAAG,qBAAqB,CAAC;AAE/C,MAAM,CAAC,KAAK,UAAU,SAAS,CAC7B,OAAe,EACf,QAAwB;IAExB,MAAM,MAAM,GAAiB;QAC3B,OAAO,EAAE,QAAQ;QACjB,SAAS,EAAE,SAAS;QACpB,WAAW,EAAE,SAAS;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AAC;IACxE,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -11,7 +11,7 @@ export async function runUninstall(args) {
11
11
  ' - Skills (~/.claude/skills/wigolo*/)',
12
12
  ' - Slash command (~/.claude/commands/wigolo.md)',
13
13
  '',
14
- 'Does NOT remove ~/.wigolo data (cache, SearXNG, embeddings).',
14
+ 'Does NOT remove ~/.wigolo data (cache, search engine, embeddings).',
15
15
  'For a full cleanup run: rm -rf ~/.wigolo',
16
16
  '',
17
17
  ].join('\n'));
@@ -43,7 +43,7 @@ export async function runUninstall(args) {
43
43
  }
44
44
  }
45
45
  process.stdout.write(`\nDone. ${totalRemoved} item(s) removed.\n`);
46
- process.stdout.write('Note: ~/.wigolo data (cache, SearXNG) preserved.\n');
46
+ process.stdout.write('Note: ~/.wigolo data (cache, search engine) preserved.\n');
47
47
  process.stdout.write('For full cleanup: rm -rf ~/.wigolo\n');
48
48
  return 0;
49
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"uninstall.js","sourceRoot":"","sources":["../../src/cli/uninstall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,IAAc;IAC/C,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC5D,IAAI,IAAI,EAAE,CAAC;QACT,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC;YACnB,yBAAyB;YACzB,EAAE;YACF,wCAAwC;YACxC,uBAAuB;YACvB,+BAA+B;YAC/B,wCAAwC;YACxC,kDAAkD;YAClD,EAAE;YACF,8DAA8D;YAC9D,0CAA0C;YAC1C,EAAE;SACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACd,OAAO,CAAC,CAAC;IACX,CAAC;IAED,MAAM,QAAQ,GAAG,uBAAuB,EAAE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AAI,OAAO,EAAE,CAAC;oBAC3B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,eAAe,IAAI,IAAI,CAAC,CAAC;oBAC9C,YAAY,EAAE,CAAC;gBACjB,CAAC;YACH,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,MAAM,OAAO,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YACjE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,eAAe,OAAO,IAAI,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;IAED,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,YAAY,qBAAqB,CAAC,CAAC;IACnE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;IACjF,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAE7D,OAAO,CAAC,CAAC;AACX,CAAC"}
@@ -28,10 +28,10 @@ function wipeSearxngState(dataDir, reporter) {
28
28
  rmSync(bootstrapLockPath, { force: true });
29
29
  rmSync(join(dataDir, 'searxng.lock'), { force: true });
30
30
  rmSync(join(dataDir, 'searxng.port'), { force: true });
31
- reporter.note('Wiped SearXNG state, install, and locks (--force)');
31
+ reporter.note('Wiped search engine state, install, and locks (--force)');
32
32
  }
33
33
  async function installPlaywright(reporter) {
34
- reporter.start('playwright', 'Installing Playwright Chromium');
34
+ reporter.start('playwright', 'Installing browser engine (chromium)');
35
35
  const r = await runCommand('npx', ['playwright', 'install', 'chromium'], { timeout: 180000 });
36
36
  if (r.code === 0) {
37
37
  reporter.success('playwright', 'installed');
@@ -42,7 +42,7 @@ async function installPlaywright(reporter) {
42
42
  return { playwright: 'failed', playwrightError: message };
43
43
  }
44
44
  async function installTrafilatura(dataDir, reporter) {
45
- reporter.start('trafilatura', 'Installing Trafilatura');
45
+ reporter.start('trafilatura', 'Installing content extractor (trafilatura)');
46
46
  const py = getPythonBin(dataDir);
47
47
  const r = await runCommand(py, ['-m', 'pip', 'install', '--quiet', 'trafilatura'], { timeout: 180000 });
48
48
  if (r.code === 0) {
@@ -54,7 +54,7 @@ async function installTrafilatura(dataDir, reporter) {
54
54
  return 'failed';
55
55
  }
56
56
  async function installFlashRank(dataDir, reporter) {
57
- reporter.start('flashrank', 'Installing FlashRank (ML reranker)');
57
+ reporter.start('flashrank', 'Installing ML reranker (flashrank)');
58
58
  const py = getPythonBin(dataDir);
59
59
  const r = await runCommand(py, ['-m', 'pip', 'install', '--quiet', 'flashrank'], { timeout: 180000 });
60
60
  if (r.code === 0) {
@@ -67,7 +67,7 @@ async function installFlashRank(dataDir, reporter) {
67
67
  return { reranker: 'failed', rerankerError: message };
68
68
  }
69
69
  async function installFirefox(reporter) {
70
- reporter.start('firefox', 'Installing Playwright Firefox');
70
+ reporter.start('firefox', 'Installing browser engine (firefox)');
71
71
  const r = await runCommand('npx', ['playwright', 'install', 'firefox'], { timeout: 180000 });
72
72
  if (r.code === 0) {
73
73
  reporter.success('firefox', 'installed');
@@ -78,7 +78,7 @@ async function installFirefox(reporter) {
78
78
  return { firefox: 'failed', firefoxError: message };
79
79
  }
80
80
  async function installWebkit(reporter) {
81
- reporter.start('webkit', 'Installing Playwright WebKit');
81
+ reporter.start('webkit', 'Installing browser engine (webkit)');
82
82
  const r = await runCommand('npx', ['playwright', 'install', 'webkit'], { timeout: 180000 });
83
83
  if (r.code === 0) {
84
84
  reporter.success('webkit', 'installed');
@@ -89,7 +89,7 @@ async function installWebkit(reporter) {
89
89
  return { webkit: 'failed', webkitError: message };
90
90
  }
91
91
  async function installSentenceTransformers(dataDir, reporter) {
92
- reporter.start('embeddings', 'Installing sentence-transformers');
92
+ reporter.start('embeddings', 'Installing semantic embeddings (sentence-transformers)');
93
93
  const py = getPythonBin(dataDir);
94
94
  const r = await runCommand(py, ['-m', 'pip', 'install', '--quiet', 'sentence-transformers'], { timeout: 300000 });
95
95
  if (r.code === 0) {
@@ -161,16 +161,16 @@ async function installLightpanda(reporter) {
161
161
  async function runSearxngPhase(dataDir, reporter) {
162
162
  const state = getBootstrapState(dataDir);
163
163
  if (state?.status === 'ready') {
164
- reporter.start('searxng', 'Checking SearXNG');
164
+ reporter.start('searxng', 'Checking search engine (searxng)');
165
165
  reporter.success('searxng', 'already set up');
166
166
  return { searxng: 'ready' };
167
167
  }
168
168
  if (!checkPythonAvailable()) {
169
- reporter.start('searxng', 'Checking SearXNG');
169
+ reporter.start('searxng', 'Checking search engine (searxng)');
170
170
  reporter.fail('searxng', 'Python 3 not found — install Python 3 or set SEARXNG_MODE=docker');
171
171
  return { searxng: 'no_python' };
172
172
  }
173
- reporter.start('searxng', 'Bootstrapping SearXNG (this may take a minute)');
173
+ reporter.start('searxng', 'Bootstrapping search engine (searxng) — this may take a minute');
174
174
  try {
175
175
  await bootstrapNativeSearxng(dataDir);
176
176
  reporter.success('searxng', 'bootstrapped');
@@ -237,12 +237,12 @@ export async function runWarmup(flags = [], reporter) {
237
237
  };
238
238
  reporterImpl.note('');
239
239
  reporterImpl.note('Summary:');
240
- reporterImpl.note(` Playwright: ${result.playwright}${result.playwrightError ? ` (${result.playwrightError})` : ''}`);
241
- reporterImpl.note(` SearXNG: ${result.searxng}${result.searxngError ? ` (${result.searxngError})` : ''}`);
240
+ reporterImpl.note(` Browser: ${result.playwright}${result.playwrightError ? ` (${result.playwrightError})` : ''}`);
241
+ reporterImpl.note(` Search engine: ${result.searxng}${result.searxngError ? ` (${result.searxngError})` : ''}`);
242
242
  if (trafStatus !== 'skipped')
243
- reporterImpl.note(` Trafilatura: ${trafStatus}`);
243
+ reporterImpl.note(` Content extractor: ${trafStatus}`);
244
244
  if (result.reranker)
245
- reporterImpl.note(` FlashRank: ${result.reranker}${result.rerankerError ? ` (${result.rerankerError})` : ''}`);
245
+ reporterImpl.note(` ML reranker: ${result.reranker}${result.rerankerError ? ` (${result.rerankerError})` : ''}`);
246
246
  if (result.firefox)
247
247
  reporterImpl.note(` Firefox: ${result.firefox}${result.firefoxError ? ` (${result.firefoxError})` : ''}`);
248
248
  if (result.webkit)
@@ -1 +1 @@
1
- {"version":3,"file":"warmup.js","sourceRoot":"","sources":["../../src/cli/warmup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpG,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC1G,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAoB5D,SAAS,gBAAgB,CAAC,OAAe,EAAE,QAAwB;IACjE,MAAM,iBAAiB,GAAG,IAAI,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;IAC1D,IAAI,UAAU,CAAC,iBAAiB,CAAC,EAAE,CAAC;QAClC,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAqB,CAAC;YACtF,IAAI,IAAI,CAAC,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;gBACzC,MAAM,IAAI,KAAK,CACb,gEAAgE,IAAI,CAAC,GAAG,KAAK;oB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,IAAI,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACpD,MAAM,SAAS,CAAC,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IAChD,CAAC;IAED,YAAY,CAAC,MAAM,EAAE,CAAC;IACtB,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -14,15 +14,15 @@
14
14
  * Parameter schemas (types, enums, required/optional) belong on the JSON
15
15
  * Schema, not here. Installation/configuration is for humans, not LLMs.
16
16
  */
17
- export declare const WIGOLO_INSTRUCTIONS = "Wigolo is a local-first web access layer: search the open web, fetch pages, crawl sites, extract structured data, find related content, run multi-step research, and execute agent-driven data gathering. All results land in a local SQLite cache that persists across sessions.\n\n## Host-LLM synthesis pattern (read this first)\n\nWigolo has no internal LLM. It returns *structured evidence* so YOU (the host LLM) write the final answer. Fold structure into your reply:\n\n- `search` `format: \"highlights\"` \u2192 FlashRank-scored passages + `citations`. Quote [N].\n- `research` \u2192 `brief` with `topics`, `highlights`, `key_findings`, `sections` when sampling unavailable. Use `sections.overview.cross_references` for corroborated findings, `sections.gaps` for coverage limits, `sections.comparison` for entity-vs-entity analysis. `query_type` indicates decomposition strategy used.\n- `find_similar` \u2192 `cold_start` string when local signals are weak. Pass to user verbatim.\n- `extract` `mode: \"structured\"` \u2192 tables + definitions + jsonld + chart_hints + key_value_pairs in one call.\n- `fetch` metadata \u2192 `og_type`, `canonical_url`, `og_image` when present.\n\n## When to use which tool\n\n- `search` -- you need information on a topic but do not have a URL yet. Pass a query string or an array of 3-5 semantically varied keyword forms for broader coverage.\n- `fetch` -- you already have a specific URL to read.\n- `crawl` -- you need multiple pages from the same site (docs, wikis, references).\n- `cache` -- you want to know if the content is already on disk from an earlier read.\n- `extract` -- you need specific data points (tables, metadata, schema-shaped fields) rather than a whole page as markdown.\n- `find_similar` -- you have a URL or concept and want related content from the cache or web. Useful for \"more like this\" discovery.\n- `research` -- you have a complex question that needs multi-step investigation: question decomposition, parallel search, source synthesis into a report. Set `depth` to control thoroughness.\n- `agent` -- you need to gather structured or unstructured data from multiple sources based on a natural-language prompt. Provides full step transparency.\n\n## Routing by intent\n\n| Intent | Tool | Key parameters |\n|--------|------|----------------|\n| Documentation lookup | `search` | `include_domains: [\"react.dev\", \"nextjs.org\"]` -- scope to the project's official site, do not rely on `category: \"docs\"` alone |\n| Error debugging | `search` | exact error string as query, `category: \"code\"` (no domain scoping -- errors appear everywhere) |\n| Library research | `crawl` | seed URL of docs site, `strategy: \"sitemap\"`, then `cache` for later queries |\n| Related content | `find_similar` | `url` of a known good page, or `concept` as free text |\n| Direct quote | `search` | `format: \"highlights\"` returns FlashRank-scored passages with citations; cite [N] in your reply |\n| Direct answer | `search` | `format: \"answer\"` if client supports sampling, else falls back to `highlights` (not plain context) |\n| Comprehensive research | `research` | `depth: \"comprehensive\"`, optional `include_domains` to scope |\n| Data gathering | `agent` | natural-language `prompt`, optional `schema` for structured output |\n| Structured extraction | `extract` | `mode: \"structured\"` (tables + dl + JSON-LD + chart hints + kv pairs), or `mode: \"schema\"` with a JSON Schema |\n| Site inventory | `crawl` | `strategy: \"map\"` for URL-only discovery, no content fetched |\n\n## Rapidly changing content\n\nFor news, prices, status pages, or release notes, bypass the cache with `force_refresh: true`:\n\n search({ query: \"...\", force_refresh: true })\n fetch({ url: \"...\", force_refresh: true })\n\nFor docs, tutorials, and reference pages, let the cache work -- much faster.\n\n## Check the cache before going to the network\n\nBefore every `search` or `fetch`, consider a `cache` call. Pages read this session or earlier return instantly with full markdown -- no network. `research` and `agent` check the cache internally.\n\n## Multi-query search strategy\n\nFor broad queries, pass an array of 3-5 semantically varied keyword forms rather than one natural-language question. Example: instead of \"how does React handle state management\", pass `[\"react state management\", \"useState useReducer\", \"react hooks state\", \"react context vs redux\"]`. Sub-queries are deduplicated automatically.\n\n## Pick the right strategy\n\n- For docs sites, prefer `crawl` with `strategy: \"sitemap\"` -- faster and more complete than BFS.\n- For URL discovery only, use `crawl` with `strategy: \"map\"` -- URLs only, no content. Follow with targeted `fetch` calls.\n- For structured data (prices, specs, table rows), use `extract` with `mode: \"schema\"` or `mode: \"tables\"`. Use `fetch` only when you want the whole page as markdown.\n- For multi-source synthesis, use `research` instead of chaining `search` + `fetch` manually.\n- For natural-language data gathering, use `agent` with optional `schema`.\n- `crawl` accepts regex `include_patterns` and `exclude_patterns` to stay inside a section of a large site.\n\n## Scope searches by domain\n\nFor library/framework/SDK queries, **always pass `include_domains`** with official sites. Unscoped queries return generic noise. `category: \"docs\"` alone returns generic portals -- pair with `include_domains` or omit. Skip domain scoping for error strings, broad exploration, and news.\n\n## Performance\n\n- `max_results: 3` for focused lookups; `5` default; `10+` only for broad research.\n- `max_content_chars: 3000` on `search` or `fetch` smart-truncates each result's markdown at a paragraph/heading boundary with a `[... content truncated]` marker. Keeps context compact for AI agents. Prefer this over raw `max_chars` slicing.\n- `fetch` with `section: \"Heading Name\"` returns content under that heading -- cheaper than the whole page.\n- Repeated fetches of the same URL are free (SQLite cache).\n- `research` with `depth: \"quick\"` (~15s) suits most factual questions; reserve `\"comprehensive\"` for deep investigation.\n- `agent` respects `max_pages` (default 10) and `max_time_ms` (default 60s).\n\n## Extras\n\n- Localhost URLs (`localhost:3000`, `127.0.0.1:8080`) work for local dev servers.\n- `use_auth: true` on `fetch`/`crawl` reuses browser session for logged-in pages.\n- `cache` supports FTS5 syntax (`AND`, `OR`, `NOT`, `\"phrase\"`).\n- `research`/`agent` use MCP sampling when supported; fall back to structured data for host-LLM synthesis.";
17
+ export declare const WIGOLO_INSTRUCTIONS = "Wigolo is a local-first web access layer: search the open web, fetch pages, crawl sites, extract structured data, find related content, run multi-step research, and execute agent-driven data gathering. All results land in a local knowledge cache that persists across sessions.\n\n## Host-LLM synthesis pattern (read this first)\n\nWigolo has no internal LLM. It returns *structured evidence* so YOU (the host LLM) write the final answer. Fold structure into your reply:\n\n- `search` `format: \"highlights\"` \u2192 ML-scored passages + `citations`. Quote [N].\n- `research` \u2192 `brief` with `topics`, `highlights`, `key_findings`, `sections` when sampling unavailable. Use `sections.overview.cross_references` for corroborated findings, `sections.gaps` for coverage limits, `sections.comparison` for entity-vs-entity analysis. `query_type` indicates decomposition strategy used.\n- `find_similar` \u2192 `cold_start` string when local signals are weak. Pass to user verbatim.\n- `extract` `mode: \"structured\"` \u2192 tables + definitions + jsonld + chart_hints + key_value_pairs in one call.\n- `fetch` metadata \u2192 `og_type`, `canonical_url`, `og_image` when present.\n\n## When to use which tool\n\n- `search` -- you need information on a topic but do not have a URL yet. Pass a query string or an array of 3-5 semantically varied keyword forms for broader coverage.\n- `fetch` -- you already have a specific URL to read.\n- `crawl` -- you need multiple pages from the same site (docs, wikis, references).\n- `cache` -- you want to know if the content is already on disk from an earlier read.\n- `extract` -- you need specific data points (tables, metadata, schema-shaped fields) rather than a whole page as markdown.\n- `find_similar` -- you have a URL or concept and want related content from the cache or web. Useful for \"more like this\" discovery.\n- `research` -- you have a complex question that needs multi-step investigation: question decomposition, parallel search, source synthesis into a report. Set `depth` to control thoroughness.\n- `agent` -- you need to gather structured or unstructured data from multiple sources based on a natural-language prompt. Provides full step transparency.\n\n## Routing by intent\n\n| Intent | Tool | Key parameters |\n|--------|------|----------------|\n| Documentation lookup | `search` | `include_domains: [\"react.dev\", \"nextjs.org\"]` -- scope to the project's official site, do not rely on `category: \"docs\"` alone |\n| Error debugging | `search` | exact error string as query, `category: \"code\"` (no domain scoping -- errors appear everywhere) |\n| Library research | `crawl` | seed URL of docs site, `strategy: \"sitemap\"`, then `cache` for later queries |\n| Related content | `find_similar` | `url` of a known good page, or `concept` as free text |\n| Direct quote | `search` | `format: \"highlights\"` returns ML-scored passages with citations; cite [N] in your reply |\n| Direct answer | `search` | `format: \"answer\"` if client supports sampling, else falls back to `highlights` (not plain context) |\n| Comprehensive research | `research` | `depth: \"comprehensive\"`, optional `include_domains` to scope |\n| Data gathering | `agent` | natural-language `prompt`, optional `schema` for structured output |\n| Structured extraction | `extract` | `mode: \"structured\"` (tables + dl + JSON-LD + chart hints + kv pairs), or `mode: \"schema\"` with a JSON Schema |\n| Site inventory | `crawl` | `strategy: \"map\"` for URL-only discovery, no content fetched |\n\n## Rapidly changing content\n\nFor news, prices, status pages, or release notes, bypass the cache with `force_refresh: true`:\n\n search({ query: \"...\", force_refresh: true })\n fetch({ url: \"...\", force_refresh: true })\n\nFor docs, tutorials, and reference pages, let the cache work -- much faster.\n\n## Check the cache before going to the network\n\nBefore every `search` or `fetch`, consider a `cache` call. Pages read this session or earlier return instantly with full markdown -- no network. `research` and `agent` check the cache internally.\n\n## Multi-query search strategy\n\nFor broad queries, pass an array of 3-5 semantically varied keyword forms rather than one natural-language question. Example: instead of \"how does React handle state management\", pass `[\"react state management\", \"useState useReducer\", \"react hooks state\", \"react context vs redux\"]`. Sub-queries are deduplicated automatically.\n\n## Pick the right strategy\n\n- For docs sites, prefer `crawl` with `strategy: \"sitemap\"` -- faster and more complete than BFS.\n- For URL discovery only, use `crawl` with `strategy: \"map\"` -- URLs only, no content. Follow with targeted `fetch` calls.\n- For structured data (prices, specs, table rows), use `extract` with `mode: \"schema\"` or `mode: \"tables\"`. Use `fetch` only when you want the whole page as markdown.\n- For multi-source synthesis, use `research` instead of chaining `search` + `fetch` manually.\n- For natural-language data gathering, use `agent` with optional `schema`.\n- `crawl` accepts regex `include_patterns` and `exclude_patterns` to stay inside a section of a large site.\n\n## Scope searches by domain\n\nFor library/framework/SDK queries, **always pass `include_domains`** with official sites. Unscoped queries return generic noise. `category: \"docs\"` alone returns generic portals -- pair with `include_domains` or omit. Skip domain scoping for error strings, broad exploration, and news.\n\n## Performance\n\n- `max_results: 3` for focused lookups; `5` default; `10+` only for broad research.\n- `max_content_chars: 3000` on `search` or `fetch` smart-truncates each result's markdown at a paragraph/heading boundary with a `[... content truncated]` marker. Keeps context compact for AI agents. Prefer this over raw `max_chars` slicing.\n- `fetch` with `section: \"Heading Name\"` returns content under that heading -- cheaper than the whole page.\n- Repeated fetches of the same URL are free (local cache).\n- `research` with `depth: \"quick\"` (~15s) suits most factual questions; reserve `\"comprehensive\"` for deep investigation.\n- `agent` respects `max_pages` (default 10) and `max_time_ms` (default 60s).\n\n## Extras\n\n- Localhost URLs (`localhost:3000`, `127.0.0.1:8080`) work for local dev servers.\n- `use_auth: true` on `fetch`/`crawl` reuses browser session for logged-in pages.\n- `cache` supports full-text search syntax (`AND`, `OR`, `NOT`, `\"phrase\"`).\n- `research`/`agent` use MCP sampling when supported; fall back to structured data for host-LLM synthesis.";
18
18
  export declare const TOOL_DESCRIPTIONS: {
19
19
  readonly fetch: "Fetch a single URL and return clean markdown. Use when you have a specific URL to read. Automatically detects if JavaScript rendering is needed.\n\nKey parameters:\n- section: extract content under a specific heading (e.g., section: \"API Reference\") -- faster than reading the whole page\n- max_content_chars: smart-truncate markdown at a paragraph/heading boundary with a `[... content truncated]` marker (e.g., 3000 for compact context). Preferred over max_chars for AI agents.\n- use_auth: true to use stored browser session for authenticated/private pages\n- render_js: \"auto\" (default, detects JS need), \"always\" (force browser), \"never\" (HTTP only, fastest)\n- headers: custom HTTP headers if needed\n- force_refresh: true to bypass cache and fetch fresh content from the network\n\nReturns title, markdown, links, images, metadata (og_image, og_type, canonical_url, keywords). Decorative images filtered, relative URLs resolved. Cached locally; repeat fetches are instant. Localhost URLs work.\n\nUse force_refresh: true for frequently changing content. Default serves from cache.";
20
- readonly search: "Search the web and return full markdown content from top results. Returns extracted page content, not just snippets.\n\nKey parameters:\n- query: string or string[] array (3-5 keyword variants for broader coverage; deduplicated automatically)\n- include_domains/exclude_domains: scope to specific sites. ALWAYS scope library/framework queries.\n- category: \"general\" | \"news\" | \"code\" | \"docs\" | \"papers\" — coarse filter, pair with include_domains.\n- from_date/to_date: ISO YYYY-MM-DD for time-bounded queries\n- max_results: default 5; use 3 for focused, 10+ for research\n- format: \"full\" (default), \"context\", \"highlights\" (FlashRank-scored passages + [N] citations), \"answer\" (sampling synthesis; falls back to highlights), \"stream_answer\"\n- max_highlights: cap highlights count (default 10)\n- max_content_chars: smart-truncate markdown at paragraph boundary (e.g., 3000)\n- force_refresh: true to bypass all caches\n\n\"answer\" falls back to \"highlights\" when sampling unsupported (most clients). Results include title, URL, relevance_score, and full markdown_content. Cache serves previously fetched pages instantly.";
20
+ readonly search: "Search the web and return full markdown content from top results. Returns extracted page content, not just snippets.\n\nKey parameters:\n- query: string or string[] array (3-5 keyword variants for broader coverage; deduplicated automatically)\n- include_domains/exclude_domains: scope to specific sites. ALWAYS scope library/framework queries.\n- category: \"general\" | \"news\" | \"code\" | \"docs\" | \"papers\" — coarse filter, pair with include_domains.\n- from_date/to_date: ISO YYYY-MM-DD for time-bounded queries\n- max_results: default 5; use 3 for focused, 10+ for research\n- format: \"full\" (default), \"context\", \"highlights\" (ML-scored passages + [N] citations), \"answer\" (sampling synthesis; falls back to highlights), \"stream_answer\"\n- max_highlights: cap highlights count (default 10)\n- max_content_chars: smart-truncate markdown at paragraph boundary (e.g., 3000)\n- force_refresh: true to bypass all caches\n\n\"answer\" falls back to \"highlights\" when sampling unsupported (most clients). Results include title, URL, relevance_score, and full markdown_content. Cache serves previously fetched pages instantly.";
21
21
  readonly crawl: "Crawl a website starting from a URL and return content from multiple pages. Use for indexing documentation sites, wikis, or any multi-page resource.\n\nKey parameters:\n- strategy: \"bfs\" (breadth-first, default), \"dfs\" (depth-first), \"sitemap\" (use sitemap.xml -- fastest for doc sites), \"map\" (URL discovery only, no content -- fastest for scoping a site)\n- max_depth: how many links deep to follow (default 2)\n- max_pages: maximum pages to fetch (default 20)\n- include_patterns/exclude_patterns: regex filters on URLs\n\nReturns an array of pages with title, markdown, and depth. Content is deduplicated across pages (repeated nav/headers/footers stripped). All pages are cached for later cache queries.";
22
- readonly cache: "Search previously fetched content without hitting the network. Use before searching the web -- if relevant content was already fetched or crawled, this returns it instantly.\n\nKey parameters:\n- query: full-text search over cached markdown and titles (supports FTS5 syntax: AND, OR, NOT, \"phrase match\")\n- url_pattern: glob filter on URLs (e.g., \"*example.com*\")\n- since: ISO date -- only results cached after this date\n- stats: true to get cache size, entry count, oldest/newest dates\n- clear: true to delete matching entries\n\nReturns matching cached pages with full markdown content. Cache persists across sessions in local SQLite.";
22
+ readonly cache: "Search previously fetched content without hitting the network. Use before searching the web -- if relevant content was already fetched or crawled, this returns it instantly.\n\nKey parameters:\n- query: full-text search over cached markdown and titles (supports AND, OR, NOT, \"phrase match\")\n- url_pattern: glob filter on URLs (e.g., \"*example.com*\")\n- since: ISO date -- only results cached after this date\n- stats: true to get cache size, entry count, oldest/newest dates\n- clear: true to delete matching entries\n\nReturns matching cached pages with full markdown content. Cache persists across sessions locally.";
23
23
  readonly extract: "Extract structured data from a URL or raw HTML. Use when you need specific data points, tables, or metadata rather than full page markdown.\n\nKey parameters:\n- mode: \"selector\" (CSS selector -> text), \"tables\" (HTML tables only), \"metadata\" (title/author/date/description/og_* + JSON-LD), \"schema\" (JSON Schema -> heuristic field extraction), \"structured\" (ONE-SHOT: tables + <dl> definitions + JSON-LD + chart hints from SVG/figure + microdata/data-attr/grid key-value pairs)\n- css_selector: required for mode=\"selector\" -- any valid CSS selector\n- schema: for mode=\"schema\", a JSON Schema object describing the fields to extract\n- multiple: true to return array of all matches (mode=\"selector\" only)\n\nPrefer mode=\"structured\" over chaining multiple extract calls — it returns every structured pattern on the page in one response:\n { tables, definitions, jsonld, chart_hints, key_value_pairs }\n\nchart_hints surfaces SVG titles, aria-labels, and figcaptions — host LLMs use these to describe data visualizations even when the underlying data is rendered by JavaScript.\n\nFor mode=\"tables\", returns array of table objects with headers and row data. For mode=\"schema\", pass { price: \"string\", name: \"string\" } and get structured fields extracted from the page.";
24
- readonly find_similar: "Find content related to a URL or concept. Use when you have a known-good page or topic and want to discover similar resources from the cache or web.\n\nKey parameters:\n- url: a URL to find content similar to. The page's content and embeddings are used for similarity matching.\n- concept: free-text description of what you want similar content for. Use when you do not have a specific URL.\n- max_results: number of similar items to return (default 5)\n- include_cached: true (default) to search the local cache first, false to skip cache and search the web only\n- threshold: minimum similarity score (0-1, default 0.5) -- higher values return fewer, more relevant results\n\nProvide either url or concept (not both). Results are fused from three signals via 3-way RRF: FTS5 keyword match, sentence-transformer embeddings, and (if local hits are sparse) a live web search. Each result carries `match_signals` with `embedding_rank`, `fts5_rank`, and `fused_score` so you can explain ranking to the user.\n\nThe response may include a `cold_start` string when local signals are weak (empty cache, embeddings unavailable, < 20 cached pages). Pass this verbatim to the user — it explains why results came from web search and how to warm the cache.\n\nReturns results array, method used (\"hybrid\" | \"embedding\" | \"fts5\" | \"search\"), cache_hits, search_hits, embedding_available, and total_time_ms.";
25
- readonly research: "Run multi-step research on a complex question. Decomposes the question into sub-queries, searches in parallel, fetches top sources, and synthesizes a report with citations.\n\nKey parameters:\n- question: the research question to investigate\n- depth: \"quick\" (~15s, 2 sub-queries, 5-8 sources), \"standard\" (~40s, 4 sub-queries, 10-15 sources, default), \"comprehensive\" (~80s, 7 sub-queries, 20-25 sources)\n- max_sources: override the default source count for the chosen depth\n- include_domains/exclude_domains: scope research to specific sites\n- schema: optional JSON Schema -- if provided, the report is structured to extract fields matching the schema\n- stream: true to receive progress notifications as each research phase completes\n\nThe pipeline: (1) decompose question into sub-queries, (2) parallel search across sub-queries, (3) fetch and extract top unique sources, (4) synthesize report with citations from all sources, (5) optionally structure report fields if schema is provided.\n\nUses MCP requestSampling for intelligent decomposition and synthesis when available. Without sampling support (the common case), the output includes a `brief` with:\n - `topics`, `highlights` (FlashRank-scored), `key_findings` (per-source, by relevance)\n - `query_type`: \"comparison\" | \"how-to\" | \"concept\" | \"general\"\n - `sections.overview`: top findings + cross_references (corroborated by 2+ sources)\n - `sections.comparison`: entities + comparison_points (comparison queries only)\n - `sections.gaps`: sub-queries with limited source coverage\n\nBuild your report: overview from key_findings, cross-referenced findings first (most reliable), per-topic sections, comparison table if present, then gaps and sources.\n\nReturns report (markdown), citations array, sources with full content, sub_queries used, depth level, total_time_ms, sampling_supported flag, and optional brief.";
24
+ readonly find_similar: "Find content related to a URL or concept. Use when you have a known-good page or topic and want to discover similar resources from the cache or web.\n\nKey parameters:\n- url: a URL to find content similar to. The page's content and embeddings are used for similarity matching.\n- concept: free-text description of what you want similar content for. Use when you do not have a specific URL.\n- max_results: number of similar items to return (default 5)\n- include_cached: true (default) to search the local cache first, false to skip cache and search the web only\n- threshold: minimum similarity score (0-1, default 0.5) -- higher values return fewer, more relevant results\n\nProvide either url or concept (not both). Results are fused from three signals via 3-way RRF: keyword match, semantic embeddings, and (if local hits are sparse) a live web search. Each result carries `match_signals` with `embedding_rank`, `fts5_rank`, and `fused_score` so you can explain ranking to the user.\n\nThe response may include a `cold_start` string when local signals are weak (empty cache, embeddings unavailable, < 20 cached pages). Pass this verbatim to the user — it explains why results came from web search and how to warm the cache.\n\nReturns results array, method used (\"hybrid\" | \"embedding\" | \"fts5\" | \"search\"), cache_hits, search_hits, embedding_available, and total_time_ms.";
25
+ readonly research: "Run multi-step research on a complex question. Decomposes the question into sub-queries, searches in parallel, fetches top sources, and synthesizes a report with citations.\n\nKey parameters:\n- question: the research question to investigate\n- depth: \"quick\" (~15s, 2 sub-queries, 5-8 sources), \"standard\" (~40s, 4 sub-queries, 10-15 sources, default), \"comprehensive\" (~80s, 7 sub-queries, 20-25 sources)\n- max_sources: override the default source count for the chosen depth\n- include_domains/exclude_domains: scope research to specific sites\n- schema: optional JSON Schema -- if provided, the report is structured to extract fields matching the schema\n- stream: true to receive progress notifications as each research phase completes\n\nThe pipeline: (1) decompose question into sub-queries, (2) parallel search across sub-queries, (3) fetch and extract top unique sources, (4) synthesize report with citations from all sources, (5) optionally structure report fields if schema is provided.\n\nUses MCP requestSampling for intelligent decomposition and synthesis when available. Without sampling support (the common case), the output includes a `brief` with:\n - `topics`, `highlights` (ML-scored), `key_findings` (per-source, by relevance)\n - `query_type`: \"comparison\" | \"how-to\" | \"concept\" | \"general\"\n - `sections.overview`: top findings + cross_references (corroborated by 2+ sources)\n - `sections.comparison`: entities + comparison_points (comparison queries only)\n - `sections.gaps`: sub-queries with limited source coverage\n\nBuild your report: overview from key_findings, cross-referenced findings first (most reliable), per-topic sections, comparison table if present, then gaps and sources.\n\nReturns report (markdown), citations array, sources with full content, sub_queries used, depth level, total_time_ms, sampling_supported flag, and optional brief.";
26
26
  readonly agent: "Execute a natural-language data gathering task. Plans search queries and URLs from a prompt, executes them in parallel, and synthesizes results. Full step transparency.\n\nKey parameters:\n- prompt: natural-language description of what data to gather (e.g., \"find pricing for the top 5 CRM tools\")\n- urls: optional array of specific URLs to include in the gathering\n- schema: optional JSON Schema -- if provided, extracts structured data matching the schema from each page and merges results\n- max_pages: maximum pages to fetch (default 10)\n- max_time_ms: maximum execution time in milliseconds (default 60000)\n- stream: true to receive progress notifications as each step completes\n\nThe pipeline: (1) plan -- interpret prompt to determine search queries and URLs to visit, (2) execute -- run searches and fetch URLs in parallel within budget, (3) extract -- if schema provided, apply schema extraction to each page and merge, (4) synthesize -- produce natural-language or structured result.\n\nThe steps array in the output provides full transparency into every action taken (plan, search, fetch, extract, synthesize) with timing. This differentiates from black-box alternatives.\n\nUses MCP requestSampling for planning and synthesis. Without sampling support, uses keyword extraction for planning and returns raw content.\n\nReturns result (string or structured object), sources array, pages_fetched count, steps array with action/detail/time_ms, total_time_ms, and sampling_supported flag.";
27
27
  };
28
28
  export type ToolName = keyof typeof TOOL_DESCRIPTIONS;
@@ -14,13 +14,13 @@
14
14
  * Parameter schemas (types, enums, required/optional) belong on the JSON
15
15
  * Schema, not here. Installation/configuration is for humans, not LLMs.
16
16
  */
17
- export const WIGOLO_INSTRUCTIONS = `Wigolo is a local-first web access layer: search the open web, fetch pages, crawl sites, extract structured data, find related content, run multi-step research, and execute agent-driven data gathering. All results land in a local SQLite cache that persists across sessions.
17
+ export const WIGOLO_INSTRUCTIONS = `Wigolo is a local-first web access layer: search the open web, fetch pages, crawl sites, extract structured data, find related content, run multi-step research, and execute agent-driven data gathering. All results land in a local knowledge cache that persists across sessions.
18
18
 
19
19
  ## Host-LLM synthesis pattern (read this first)
20
20
 
21
21
  Wigolo has no internal LLM. It returns *structured evidence* so YOU (the host LLM) write the final answer. Fold structure into your reply:
22
22
 
23
- - \`search\` \`format: "highlights"\` → FlashRank-scored passages + \`citations\`. Quote [N].
23
+ - \`search\` \`format: "highlights"\` → ML-scored passages + \`citations\`. Quote [N].
24
24
  - \`research\` → \`brief\` with \`topics\`, \`highlights\`, \`key_findings\`, \`sections\` when sampling unavailable. Use \`sections.overview.cross_references\` for corroborated findings, \`sections.gaps\` for coverage limits, \`sections.comparison\` for entity-vs-entity analysis. \`query_type\` indicates decomposition strategy used.
25
25
  - \`find_similar\` → \`cold_start\` string when local signals are weak. Pass to user verbatim.
26
26
  - \`extract\` \`mode: "structured"\` → tables + definitions + jsonld + chart_hints + key_value_pairs in one call.
@@ -45,7 +45,7 @@ Wigolo has no internal LLM. It returns *structured evidence* so YOU (the host LL
45
45
  | Error debugging | \`search\` | exact error string as query, \`category: "code"\` (no domain scoping -- errors appear everywhere) |
46
46
  | Library research | \`crawl\` | seed URL of docs site, \`strategy: "sitemap"\`, then \`cache\` for later queries |
47
47
  | Related content | \`find_similar\` | \`url\` of a known good page, or \`concept\` as free text |
48
- | Direct quote | \`search\` | \`format: "highlights"\` returns FlashRank-scored passages with citations; cite [N] in your reply |
48
+ | Direct quote | \`search\` | \`format: "highlights"\` returns ML-scored passages with citations; cite [N] in your reply |
49
49
  | Direct answer | \`search\` | \`format: "answer"\` if client supports sampling, else falls back to \`highlights\` (not plain context) |
50
50
  | Comprehensive research | \`research\` | \`depth: "comprehensive"\`, optional \`include_domains\` to scope |
51
51
  | Data gathering | \`agent\` | natural-language \`prompt\`, optional \`schema\` for structured output |
@@ -87,7 +87,7 @@ For library/framework/SDK queries, **always pass \`include_domains\`** with offi
87
87
  - \`max_results: 3\` for focused lookups; \`5\` default; \`10+\` only for broad research.
88
88
  - \`max_content_chars: 3000\` on \`search\` or \`fetch\` smart-truncates each result's markdown at a paragraph/heading boundary with a \`[... content truncated]\` marker. Keeps context compact for AI agents. Prefer this over raw \`max_chars\` slicing.
89
89
  - \`fetch\` with \`section: "Heading Name"\` returns content under that heading -- cheaper than the whole page.
90
- - Repeated fetches of the same URL are free (SQLite cache).
90
+ - Repeated fetches of the same URL are free (local cache).
91
91
  - \`research\` with \`depth: "quick"\` (~15s) suits most factual questions; reserve \`"comprehensive"\` for deep investigation.
92
92
  - \`agent\` respects \`max_pages\` (default 10) and \`max_time_ms\` (default 60s).
93
93
 
@@ -95,7 +95,7 @@ For library/framework/SDK queries, **always pass \`include_domains\`** with offi
95
95
 
96
96
  - Localhost URLs (\`localhost:3000\`, \`127.0.0.1:8080\`) work for local dev servers.
97
97
  - \`use_auth: true\` on \`fetch\`/\`crawl\` reuses browser session for logged-in pages.
98
- - \`cache\` supports FTS5 syntax (\`AND\`, \`OR\`, \`NOT\`, \`"phrase"\`).
98
+ - \`cache\` supports full-text search syntax (\`AND\`, \`OR\`, \`NOT\`, \`"phrase"\`).
99
99
  - \`research\`/\`agent\` use MCP sampling when supported; fall back to structured data for host-LLM synthesis.`;
100
100
  export const TOOL_DESCRIPTIONS = {
101
101
  fetch: `Fetch a single URL and return clean markdown. Use when you have a specific URL to read. Automatically detects if JavaScript rendering is needed.
@@ -119,7 +119,7 @@ Key parameters:
119
119
  - category: "general" | "news" | "code" | "docs" | "papers" — coarse filter, pair with include_domains.
120
120
  - from_date/to_date: ISO YYYY-MM-DD for time-bounded queries
121
121
  - max_results: default 5; use 3 for focused, 10+ for research
122
- - format: "full" (default), "context", "highlights" (FlashRank-scored passages + [N] citations), "answer" (sampling synthesis; falls back to highlights), "stream_answer"
122
+ - format: "full" (default), "context", "highlights" (ML-scored passages + [N] citations), "answer" (sampling synthesis; falls back to highlights), "stream_answer"
123
123
  - max_highlights: cap highlights count (default 10)
124
124
  - max_content_chars: smart-truncate markdown at paragraph boundary (e.g., 3000)
125
125
  - force_refresh: true to bypass all caches
@@ -137,13 +137,13 @@ Returns an array of pages with title, markdown, and depth. Content is deduplicat
137
137
  cache: `Search previously fetched content without hitting the network. Use before searching the web -- if relevant content was already fetched or crawled, this returns it instantly.
138
138
 
139
139
  Key parameters:
140
- - query: full-text search over cached markdown and titles (supports FTS5 syntax: AND, OR, NOT, "phrase match")
140
+ - query: full-text search over cached markdown and titles (supports AND, OR, NOT, "phrase match")
141
141
  - url_pattern: glob filter on URLs (e.g., "*example.com*")
142
142
  - since: ISO date -- only results cached after this date
143
143
  - stats: true to get cache size, entry count, oldest/newest dates
144
144
  - clear: true to delete matching entries
145
145
 
146
- Returns matching cached pages with full markdown content. Cache persists across sessions in local SQLite.`,
146
+ Returns matching cached pages with full markdown content. Cache persists across sessions locally.`,
147
147
  extract: `Extract structured data from a URL or raw HTML. Use when you need specific data points, tables, or metadata rather than full page markdown.
148
148
 
149
149
  Key parameters:
@@ -167,7 +167,7 @@ Key parameters:
167
167
  - include_cached: true (default) to search the local cache first, false to skip cache and search the web only
168
168
  - threshold: minimum similarity score (0-1, default 0.5) -- higher values return fewer, more relevant results
169
169
 
170
- Provide either url or concept (not both). Results are fused from three signals via 3-way RRF: FTS5 keyword match, sentence-transformer embeddings, and (if local hits are sparse) a live web search. Each result carries \`match_signals\` with \`embedding_rank\`, \`fts5_rank\`, and \`fused_score\` so you can explain ranking to the user.
170
+ Provide either url or concept (not both). Results are fused from three signals via 3-way RRF: keyword match, semantic embeddings, and (if local hits are sparse) a live web search. Each result carries \`match_signals\` with \`embedding_rank\`, \`fts5_rank\`, and \`fused_score\` so you can explain ranking to the user.
171
171
 
172
172
  The response may include a \`cold_start\` string when local signals are weak (empty cache, embeddings unavailable, < 20 cached pages). Pass this verbatim to the user — it explains why results came from web search and how to warm the cache.
173
173
 
@@ -185,7 +185,7 @@ Key parameters:
185
185
  The pipeline: (1) decompose question into sub-queries, (2) parallel search across sub-queries, (3) fetch and extract top unique sources, (4) synthesize report with citations from all sources, (5) optionally structure report fields if schema is provided.
186
186
 
187
187
  Uses MCP requestSampling for intelligent decomposition and synthesis when available. Without sampling support (the common case), the output includes a \`brief\` with:
188
- - \`topics\`, \`highlights\` (FlashRank-scored), \`key_findings\` (per-source, by relevance)
188
+ - \`topics\`, \`highlights\` (ML-scored), \`key_findings\` (per-source, by relevance)
189
189
  - \`query_type\`: "comparison" | "how-to" | "concept" | "general"
190
190
  - \`sections.overview\`: top findings + cross_references (corroborated by 2+ sources)
191
191
  - \`sections.comparison\`: entities + comparison_points (comparison queries only)
@@ -1 +1 @@
1
- {"version":3,"file":"instructions.js","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+GAkF4E,CAAC;AAEhH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE;;;;;;;;;;;;oFAY2E;IAElF,MAAM,EAAE;;;;;;;;;;;;;uMAa6L;IAErM,KAAK,EAAE;;;;;;;;uLAQ8K;IAErL,KAAK,EAAE;;;;;;;;;0GASiG;IAExG,OAAO,EAAE;;;;;;;;;;;;;4LAaiL;IAE1L,YAAY,EAAE;;;;;;;;;;;;;kJAakI;IAEhJ,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;kKAqBsJ;IAEhK,KAAK,EAAE;;;;;;;;;;;;;;;;sKAgB6J;CAC5J,CAAC"}
1
+ {"version":3,"file":"instructions.js","sourceRoot":"","sources":["../src/instructions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+GAkF4E,CAAC;AAEhH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE;;;;;;;;;;;;oFAY2E;IAElF,MAAM,EAAE;;;;;;;;;;;;;uMAa6L;IAErM,KAAK,EAAE;;;;;;;;uLAQ8K;IAErL,KAAK,EAAE;;;;;;;;;kGASyF;IAEhG,OAAO,EAAE;;;;;;;;;;;;;4LAaiL;IAE1L,YAAY,EAAE;;;;;;;;;;;;;kJAakI;IAEhJ,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;kKAqBsJ;IAEhK,KAAK,EAAE;;;;;;;;;;;;;;;;sKAgB6J;CAC5J,CAAC"}
@@ -28,10 +28,10 @@ export class BackendStatus {
28
28
  return undefined;
29
29
  this._warned = true;
30
30
  if (this._bootstrapping) {
31
- return (`SearXNG is still starting up. Results may be lower quality until bootstrap finishes. ` +
31
+ return (`Search engine is still starting up. Results may be lower quality until setup finishes. ` +
32
32
  `For best results, run: \`npx @staticn0va/wigolo warmup --all\` before connecting your agent.`);
33
33
  }
34
- return (`SearXNG embedded search is unavailable; using direct engine scraping (lower quality). ` +
34
+ return (`Multi-engine search is unavailable; using fallback engines (lower quality). ` +
35
35
  `Reason: ${this._reason ?? 'unknown'}. ` +
36
36
  `To retry: \`npx @staticn0va/wigolo warmup --force\`. ` +
37
37
  `For details: \`npx @staticn0va/wigolo doctor\`.`);
@@ -1 +1 @@
1
- {"version":3,"file":"backend-status.js","sourceRoot":"","sources":["../../src/server/backend-status.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,aAAa;IAChB,OAAO,GAAG,KAAK,CAAC;IAChB,OAAO,CAAqB;IAC5B,OAAO,GAAG,KAAK,CAAC;IAChB,cAAc,GAAG,KAAK,CAAC;IAE/B,IAAI,QAAQ,KAAc,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAEhD,aAAa,CAAC,MAAc;QAC1B,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACrB,IAAI,CAAC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