@staticn0va/wigolo 0.6.6 → 1.0.1
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/dist/cache/store.d.ts +9 -1
- package/dist/cache/store.d.ts.map +1 -1
- package/dist/cache/store.js +30 -4
- package/dist/cache/store.js.map +1 -1
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +56 -2
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/status.js +1 -1
- package/dist/cli/status.js.map +1 -1
- package/dist/cli/tui/hooks/useInstall.js +1 -1
- package/dist/cli/tui/hooks/useInstall.js.map +1 -1
- package/dist/cli/tui/hooks/useVerify.js +1 -1
- package/dist/cli/tui/hooks/useVerify.js.map +1 -1
- package/dist/cli/tui/status-format.d.ts +1 -1
- package/dist/cli/tui/status-format.d.ts.map +1 -1
- package/dist/cli/tui/status-format.js +1 -1
- package/dist/cli/tui/status-format.js.map +1 -1
- package/dist/cli/tui/status-python.d.ts +1 -1
- package/dist/cli/tui/status-python.d.ts.map +1 -1
- package/dist/cli/tui/status-python.js +17 -1
- package/dist/cli/tui/status-python.js.map +1 -1
- package/dist/cli/tui/verify-suggestions.d.ts +1 -1
- package/dist/cli/tui/verify-suggestions.d.ts.map +1 -1
- package/dist/cli/tui/verify-suggestions.js +3 -3
- package/dist/cli/tui/verify-suggestions.js.map +1 -1
- package/dist/cli/tui/verify.d.ts +2 -2
- package/dist/cli/tui/verify.d.ts.map +1 -1
- package/dist/cli/tui/verify.js +32 -6
- package/dist/cli/tui/verify.js.map +1 -1
- package/dist/cli/warmup.d.ts.map +1 -1
- package/dist/cli/warmup.js +16 -12
- package/dist/cli/warmup.js.map +1 -1
- package/dist/config.d.ts +6 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +15 -2
- package/dist/config.js.map +1 -1
- package/dist/crawl/dedup.d.ts +1 -0
- package/dist/crawl/dedup.d.ts.map +1 -1
- package/dist/crawl/dedup.js +47 -1
- package/dist/crawl/dedup.js.map +1 -1
- package/dist/extraction/boilerplate.d.ts +15 -0
- package/dist/extraction/boilerplate.d.ts.map +1 -0
- package/dist/extraction/boilerplate.js +49 -0
- package/dist/extraction/boilerplate.js.map +1 -0
- package/dist/extraction/defuddle.d.ts.map +1 -1
- package/dist/extraction/defuddle.js +7 -3
- package/dist/extraction/defuddle.js.map +1 -1
- package/dist/extraction/jsonld.js +1 -1
- package/dist/extraction/jsonld.js.map +1 -1
- package/dist/extraction/lang-hints.d.ts +2 -0
- package/dist/extraction/lang-hints.d.ts.map +1 -0
- package/dist/extraction/lang-hints.js +28 -0
- package/dist/extraction/lang-hints.js.map +1 -0
- package/dist/extraction/llm/anthropic.d.ts +3 -0
- package/dist/extraction/llm/anthropic.d.ts.map +1 -0
- package/dist/extraction/llm/anthropic.js +33 -0
- package/dist/extraction/llm/anthropic.js.map +1 -0
- package/dist/extraction/llm/cache.d.ts +5 -0
- package/dist/extraction/llm/cache.d.ts.map +1 -0
- package/dist/extraction/llm/cache.js +35 -0
- package/dist/extraction/llm/cache.js.map +1 -0
- package/dist/extraction/llm/gemini.d.ts +3 -0
- package/dist/extraction/llm/gemini.d.ts.map +1 -0
- package/dist/extraction/llm/gemini.js +35 -0
- package/dist/extraction/llm/gemini.js.map +1 -0
- package/dist/extraction/llm/groq.d.ts +3 -0
- package/dist/extraction/llm/groq.d.ts.map +1 -0
- package/dist/extraction/llm/groq.js +63 -0
- package/dist/extraction/llm/groq.js.map +1 -0
- package/dist/extraction/llm/hash.d.ts +3 -0
- package/dist/extraction/llm/hash.d.ts.map +1 -0
- package/dist/extraction/llm/hash.js +22 -0
- package/dist/extraction/llm/hash.js.map +1 -0
- package/dist/extraction/llm/openai.d.ts +3 -0
- package/dist/extraction/llm/openai.d.ts.map +1 -0
- package/dist/extraction/llm/openai.js +38 -0
- package/dist/extraction/llm/openai.js.map +1 -0
- package/dist/extraction/llm/select.d.ts +5 -0
- package/dist/extraction/llm/select.d.ts.map +1 -0
- package/dist/extraction/llm/select.js +27 -0
- package/dist/extraction/llm/select.js.map +1 -0
- package/dist/extraction/llm/types.d.ts +24 -0
- package/dist/extraction/llm/types.d.ts.map +1 -0
- package/dist/extraction/llm/types.js +2 -0
- package/dist/extraction/llm/types.js.map +1 -0
- package/dist/extraction/llm/validate.d.ts +6 -0
- package/dist/extraction/llm/validate.d.ts.map +1 -0
- package/dist/extraction/llm/validate.js +63 -0
- package/dist/extraction/llm/validate.js.map +1 -0
- package/dist/extraction/llm-fallback.d.ts +17 -0
- package/dist/extraction/llm-fallback.d.ts.map +1 -0
- package/dist/extraction/llm-fallback.js +129 -0
- package/dist/extraction/llm-fallback.js.map +1 -0
- package/dist/extraction/markdown.d.ts +9 -0
- package/dist/extraction/markdown.d.ts.map +1 -1
- package/dist/extraction/markdown.js +52 -3
- package/dist/extraction/markdown.js.map +1 -1
- package/dist/extraction/pipeline.d.ts.map +1 -1
- package/dist/extraction/pipeline.js +17 -5
- package/dist/extraction/pipeline.js.map +1 -1
- package/dist/extraction/readability.d.ts.map +1 -1
- package/dist/extraction/readability.js +2 -3
- package/dist/extraction/readability.js.map +1 -1
- package/dist/extraction/schema.d.ts +12 -0
- package/dist/extraction/schema.d.ts.map +1 -1
- package/dist/extraction/schema.js +81 -11
- package/dist/extraction/schema.js.map +1 -1
- package/dist/extraction/site-extractors/docs-generic.d.ts.map +1 -1
- package/dist/extraction/site-extractors/docs-generic.js +2 -3
- package/dist/extraction/site-extractors/docs-generic.js.map +1 -1
- package/dist/extraction/site-extractors/github.d.ts.map +1 -1
- package/dist/extraction/site-extractors/github.js +4 -5
- package/dist/extraction/site-extractors/github.js.map +1 -1
- package/dist/extraction/site-extractors/mdn.d.ts.map +1 -1
- package/dist/extraction/site-extractors/mdn.js +2 -3
- package/dist/extraction/site-extractors/mdn.js.map +1 -1
- package/dist/extraction/site-extractors/stackoverflow.d.ts.map +1 -1
- package/dist/extraction/site-extractors/stackoverflow.js +3 -4
- package/dist/extraction/site-extractors/stackoverflow.js.map +1 -1
- package/dist/extraction/structured-data.d.ts +4 -0
- package/dist/extraction/structured-data.d.ts.map +1 -0
- package/dist/extraction/structured-data.js +203 -0
- package/dist/extraction/structured-data.js.map +1 -0
- package/dist/fetch/router.d.ts +2 -1
- package/dist/fetch/router.d.ts.map +1 -1
- package/dist/fetch/router.js +19 -1
- package/dist/fetch/router.js.map +1 -1
- package/dist/instructions.d.ts +7 -7
- package/dist/instructions.d.ts.map +1 -1
- package/dist/instructions.js +43 -36
- package/dist/instructions.js.map +1 -1
- package/dist/logger.d.ts +1 -1
- package/dist/logger.d.ts.map +1 -1
- package/dist/research/brief.js +1 -1
- package/dist/research/brief.js.map +1 -1
- package/dist/search/evidence.d.ts +25 -0
- package/dist/search/evidence.d.ts.map +1 -0
- package/dist/search/evidence.js +260 -0
- package/dist/search/evidence.js.map +1 -0
- package/dist/search/highlights.d.ts +11 -2
- package/dist/search/highlights.d.ts.map +1 -1
- package/dist/search/highlights.js +131 -48
- package/dist/search/highlights.js.map +1 -1
- package/dist/search/multi-query.d.ts +1 -0
- package/dist/search/multi-query.d.ts.map +1 -1
- package/dist/search/multi-query.js +13 -0
- package/dist/search/multi-query.js.map +1 -1
- package/dist/search/rerank.d.ts +3 -2
- package/dist/search/rerank.d.ts.map +1 -1
- package/dist/search/rerank.js +16 -44
- package/dist/search/rerank.js.map +1 -1
- package/dist/search/reranker/download.d.ts +9 -0
- package/dist/search/reranker/download.d.ts.map +1 -0
- package/dist/search/reranker/download.js +77 -0
- package/dist/search/reranker/download.js.map +1 -0
- package/dist/search/reranker/models.d.ts +14 -0
- package/dist/search/reranker/models.d.ts.map +1 -0
- package/dist/search/reranker/models.js +37 -0
- package/dist/search/reranker/models.js.map +1 -0
- package/dist/search/reranker/onnx.d.ts +13 -0
- package/dist/search/reranker/onnx.d.ts.map +1 -0
- package/dist/search/reranker/onnx.js +70 -0
- package/dist/search/reranker/onnx.js.map +1 -0
- package/dist/search/reranker/recency-boost.d.ts +3 -0
- package/dist/search/reranker/recency-boost.d.ts.map +1 -0
- package/dist/search/reranker/recency-boost.js +12 -0
- package/dist/search/reranker/recency-boost.js.map +1 -0
- package/dist/search/reranker/recency.d.ts +3 -0
- package/dist/search/reranker/recency.d.ts.map +1 -0
- package/dist/search/reranker/recency.js +26 -0
- package/dist/search/reranker/recency.js.map +1 -0
- package/dist/search/reranker/tokenizer.d.ts +30 -0
- package/dist/search/reranker/tokenizer.d.ts.map +1 -0
- package/dist/search/reranker/tokenizer.js +49 -0
- package/dist/search/reranker/tokenizer.js.map +1 -0
- package/dist/search/tokens.d.ts +3 -0
- package/dist/search/tokens.d.ts.map +1 -0
- package/dist/search/tokens.js +38 -0
- package/dist/search/tokens.js.map +1 -0
- package/dist/search/truncate.d.ts +4 -0
- package/dist/search/truncate.d.ts.map +1 -1
- package/dist/search/truncate.js +13 -0
- package/dist/search/truncate.js.map +1 -1
- package/dist/server/tool-schemas.d.ts +503 -0
- package/dist/server/tool-schemas.d.ts.map +1 -0
- package/dist/server/tool-schemas.js +425 -0
- package/dist/server/tool-schemas.js.map +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +1 -326
- package/dist/server.js.map +1 -1
- package/dist/tools/agent.d.ts.map +1 -1
- package/dist/tools/agent.js +36 -0
- package/dist/tools/agent.js.map +1 -1
- package/dist/tools/crawl.d.ts.map +1 -1
- package/dist/tools/crawl.js +37 -2
- package/dist/tools/crawl.js.map +1 -1
- package/dist/tools/extract.d.ts.map +1 -1
- package/dist/tools/extract.js +19 -3
- package/dist/tools/extract.js.map +1 -1
- package/dist/tools/fetch.d.ts.map +1 -1
- package/dist/tools/fetch.js +44 -7
- package/dist/tools/fetch.js.map +1 -1
- package/dist/tools/find-similar.d.ts.map +1 -1
- package/dist/tools/find-similar.js +32 -1
- package/dist/tools/find-similar.js.map +1 -1
- package/dist/tools/research.d.ts.map +1 -1
- package/dist/tools/research.js +34 -1
- package/dist/tools/research.js.map +1 -1
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/search.js +101 -55
- package/dist/tools/search.js.map +1 -1
- package/dist/types.d.ts +65 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/types.js.map +1 -1
- package/dist/util/mode.d.ts +4 -0
- package/dist/util/mode.d.ts.map +1 -0
- package/dist/util/mode.js +13 -0
- package/dist/util/mode.js.map +1 -0
- package/package.json +9 -1
- package/dist/search/flashrank.d.ts +0 -12
- package/dist/search/flashrank.d.ts.map +0 -1
- package/dist/search/flashrank.js +0 -64
- package/dist/search/flashrank.js.map +0 -1
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
export const FETCH_TOOL_SCHEMA = {
|
|
2
|
+
type: 'object',
|
|
3
|
+
properties: {
|
|
4
|
+
url: { type: 'string', description: 'URL to fetch' },
|
|
5
|
+
render_js: {
|
|
6
|
+
type: 'string',
|
|
7
|
+
enum: ['auto', 'always', 'never'],
|
|
8
|
+
description: 'JavaScript rendering mode (default: auto)',
|
|
9
|
+
},
|
|
10
|
+
use_auth: {
|
|
11
|
+
type: 'boolean',
|
|
12
|
+
description: 'Use stored auth credentials (default: false)',
|
|
13
|
+
},
|
|
14
|
+
max_chars: {
|
|
15
|
+
type: 'number',
|
|
16
|
+
description: 'Maximum characters to return (hard slice)',
|
|
17
|
+
},
|
|
18
|
+
max_content_chars: {
|
|
19
|
+
type: 'number',
|
|
20
|
+
description: 'Smart truncate markdown to N chars at paragraph/heading boundary with [... content truncated] marker. Preferred over max_chars for AI agents.',
|
|
21
|
+
},
|
|
22
|
+
section: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
description: 'Extract a specific section by heading text',
|
|
25
|
+
},
|
|
26
|
+
section_index: {
|
|
27
|
+
type: 'number',
|
|
28
|
+
description: 'Index of the section match (default: 0)',
|
|
29
|
+
},
|
|
30
|
+
screenshot: {
|
|
31
|
+
type: 'boolean',
|
|
32
|
+
description: 'Capture a screenshot (default: false)',
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
type: 'object',
|
|
36
|
+
description: 'Additional HTTP headers',
|
|
37
|
+
additionalProperties: { type: 'string' },
|
|
38
|
+
},
|
|
39
|
+
force_refresh: {
|
|
40
|
+
type: 'boolean',
|
|
41
|
+
description: 'Bypass cache and fetch fresh content from the network. Use for rapidly changing pages (news, changelogs, dashboards).',
|
|
42
|
+
},
|
|
43
|
+
max_tokens_out: {
|
|
44
|
+
type: 'number',
|
|
45
|
+
description: "Token-budget cap on total output. Uses cl100k-base BPE; non-OpenAI tokenizer counts may drift ~5-15%. When both max_tokens_out and max_chars are set, max_tokens_out wins.",
|
|
46
|
+
},
|
|
47
|
+
include_full_markdown: {
|
|
48
|
+
type: 'boolean',
|
|
49
|
+
description: 'Include full markdown body in the response. Default false on multi-result tools (returns evidence excerpts only); set true to restore.',
|
|
50
|
+
},
|
|
51
|
+
citation_format: {
|
|
52
|
+
type: 'string',
|
|
53
|
+
enum: ['numbered', 'anthropic_tags', 'json'],
|
|
54
|
+
description: "Citation rendering style. 'numbered' (default) inline [N] markers; 'json' returns a citations[] array; 'anthropic_tags' wraps sources in <source id='...'> tags.",
|
|
55
|
+
},
|
|
56
|
+
actions: {
|
|
57
|
+
type: 'array',
|
|
58
|
+
description: 'Sequential browser actions to perform before extracting content. ' +
|
|
59
|
+
'When present, forces browser rendering (bypasses HTTP-first routing).',
|
|
60
|
+
items: {
|
|
61
|
+
type: 'object',
|
|
62
|
+
properties: {
|
|
63
|
+
type: {
|
|
64
|
+
type: 'string',
|
|
65
|
+
enum: ['click', 'type', 'wait', 'wait_for', 'scroll', 'screenshot'],
|
|
66
|
+
description: 'Action type',
|
|
67
|
+
},
|
|
68
|
+
selector: {
|
|
69
|
+
type: 'string',
|
|
70
|
+
description: 'CSS selector (required for click, type, wait_for)',
|
|
71
|
+
},
|
|
72
|
+
text: {
|
|
73
|
+
type: 'string',
|
|
74
|
+
description: 'Text to type (required for type action)',
|
|
75
|
+
},
|
|
76
|
+
ms: {
|
|
77
|
+
type: 'number',
|
|
78
|
+
description: 'Milliseconds to wait (required for wait action)',
|
|
79
|
+
},
|
|
80
|
+
timeout: {
|
|
81
|
+
type: 'number',
|
|
82
|
+
description: 'Timeout in ms for wait_for action (default: 5000)',
|
|
83
|
+
},
|
|
84
|
+
direction: {
|
|
85
|
+
type: 'string',
|
|
86
|
+
enum: ['down', 'up'],
|
|
87
|
+
description: 'Scroll direction (required for scroll action)',
|
|
88
|
+
},
|
|
89
|
+
amount: {
|
|
90
|
+
type: 'number',
|
|
91
|
+
description: 'Scroll amount in pixels (default: viewport height)',
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
required: ['type'],
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
mode: {
|
|
98
|
+
type: 'string',
|
|
99
|
+
enum: ['fast', 'balanced', 'deep'],
|
|
100
|
+
description: "fast=low-latency, deep=multi-query+full-body, balanced=default",
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
required: ['url'],
|
|
104
|
+
};
|
|
105
|
+
export const SEARCH_TOOL_SCHEMA = {
|
|
106
|
+
type: 'object',
|
|
107
|
+
properties: {
|
|
108
|
+
query: {
|
|
109
|
+
oneOf: [
|
|
110
|
+
{ type: 'string', description: 'Search query' },
|
|
111
|
+
{
|
|
112
|
+
type: 'array',
|
|
113
|
+
items: { type: 'string' },
|
|
114
|
+
description: 'Array of query variants to search in parallel, deduplicate, and rerank',
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
description: 'Search query — a single string or array of query variants for parallel multi-query search',
|
|
118
|
+
},
|
|
119
|
+
max_results: { type: 'number', description: 'Max results to return (default 5, max 20)' },
|
|
120
|
+
include_content: { type: 'boolean', description: 'Fetch full content for results (default true)' },
|
|
121
|
+
content_max_chars: { type: 'number', description: 'Max chars per result content at extraction (default 30000)' },
|
|
122
|
+
max_content_chars: { type: 'number', description: 'Smart-truncate each result markdown at paragraph boundary with marker (e.g. 3000 for compact context)' },
|
|
123
|
+
max_total_chars: { type: 'number', description: 'Max total chars across all results (default 50000)' },
|
|
124
|
+
time_range: { type: 'string', enum: ['day', 'week', 'month', 'year'], description: 'Time range filter' },
|
|
125
|
+
search_engines: { type: 'array', items: { type: 'string' }, description: 'Override engine selection' },
|
|
126
|
+
language: { type: 'string', description: 'Language preference' },
|
|
127
|
+
include_domains: {
|
|
128
|
+
type: 'array',
|
|
129
|
+
items: { type: 'string' },
|
|
130
|
+
description: 'Only return results from these domains (e.g. ["react.dev", "github.com"])',
|
|
131
|
+
},
|
|
132
|
+
exclude_domains: {
|
|
133
|
+
type: 'array',
|
|
134
|
+
items: { type: 'string' },
|
|
135
|
+
description: 'Never return results from these domains',
|
|
136
|
+
},
|
|
137
|
+
from_date: {
|
|
138
|
+
type: 'string',
|
|
139
|
+
description: 'ISO date (YYYY-MM-DD) — only return results published after this date',
|
|
140
|
+
},
|
|
141
|
+
to_date: {
|
|
142
|
+
type: 'string',
|
|
143
|
+
description: 'ISO date (YYYY-MM-DD) — only return results published before this date',
|
|
144
|
+
},
|
|
145
|
+
category: {
|
|
146
|
+
type: 'string',
|
|
147
|
+
enum: ['general', 'news', 'code', 'docs', 'papers', 'images'],
|
|
148
|
+
description: 'Category of search (general, news, code, docs, papers, images)',
|
|
149
|
+
},
|
|
150
|
+
format: {
|
|
151
|
+
type: 'string',
|
|
152
|
+
enum: ['answer', 'stream_answer'],
|
|
153
|
+
description: "LLM-synthesis modes only. Omit for default evidence shape. 'answer'/'stream_answer' request sampling synthesis (falls back to evidence). Retired values 'full'/'context'/'highlights' reject with a migration error.",
|
|
154
|
+
},
|
|
155
|
+
max_highlights: {
|
|
156
|
+
type: 'number',
|
|
157
|
+
description: "Maximum highlights to return (default 10). Highlights are 1-3 sentence passages scored by relevance to the query.",
|
|
158
|
+
},
|
|
159
|
+
force_refresh: {
|
|
160
|
+
type: 'boolean',
|
|
161
|
+
description: 'Bypass all caches (search results and page content). Use when you need the most current information.',
|
|
162
|
+
},
|
|
163
|
+
max_tokens_out: {
|
|
164
|
+
type: 'number',
|
|
165
|
+
description: "Token-budget cap on total output. Uses cl100k-base BPE; non-OpenAI tokenizer counts may drift ~5-15%. When both max_tokens_out and max_chars are set, max_tokens_out wins.",
|
|
166
|
+
},
|
|
167
|
+
include_full_markdown: {
|
|
168
|
+
type: 'boolean',
|
|
169
|
+
description: 'Include full markdown body in the response. Default false on multi-result tools (returns evidence excerpts only); set true to restore.',
|
|
170
|
+
},
|
|
171
|
+
citation_format: {
|
|
172
|
+
type: 'string',
|
|
173
|
+
enum: ['numbered', 'anthropic_tags', 'json'],
|
|
174
|
+
description: "Citation rendering style. 'numbered' (default) inline [N] markers; 'json' returns a citations[] array; 'anthropic_tags' wraps sources in <source id='...'> tags.",
|
|
175
|
+
},
|
|
176
|
+
mode: {
|
|
177
|
+
type: 'string',
|
|
178
|
+
enum: ['fast', 'balanced', 'deep'],
|
|
179
|
+
description: "fast=low-latency, deep=multi-query+full-body, balanced=default",
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
required: ['query'],
|
|
183
|
+
};
|
|
184
|
+
export const CRAWL_TOOL_SCHEMA = {
|
|
185
|
+
type: 'object',
|
|
186
|
+
properties: {
|
|
187
|
+
url: { type: 'string', description: 'Seed URL to start crawling from' },
|
|
188
|
+
max_depth: { type: 'number', description: 'Maximum link depth from seed (default: 2)' },
|
|
189
|
+
max_pages: { type: 'number', description: 'Maximum pages to crawl (default: 20)' },
|
|
190
|
+
strategy: {
|
|
191
|
+
type: 'string',
|
|
192
|
+
enum: ['bfs', 'dfs', 'sitemap', 'map'],
|
|
193
|
+
description: 'Crawl strategy: bfs (breadth-first), dfs (depth-first), sitemap (use sitemap.xml), map (URL-only discovery — returns list of URLs without content, faster than full crawl)',
|
|
194
|
+
},
|
|
195
|
+
include_patterns: {
|
|
196
|
+
type: 'array',
|
|
197
|
+
items: { type: 'string' },
|
|
198
|
+
description: 'URL regex whitelist — only crawl matching URLs',
|
|
199
|
+
},
|
|
200
|
+
exclude_patterns: {
|
|
201
|
+
type: 'array',
|
|
202
|
+
items: { type: 'string' },
|
|
203
|
+
description: 'URL regex blacklist — skip matching URLs',
|
|
204
|
+
},
|
|
205
|
+
use_auth: { type: 'boolean', description: 'Use stored auth credentials (default: false)' },
|
|
206
|
+
extract_links: { type: 'boolean', description: 'Return link graph between pages (default: false)' },
|
|
207
|
+
max_total_chars: { type: 'number', description: 'Max total chars across all pages (default: 100000)' },
|
|
208
|
+
max_tokens_out: {
|
|
209
|
+
type: 'number',
|
|
210
|
+
description: "Token-budget cap on total output. Uses cl100k-base BPE; non-OpenAI tokenizer counts may drift ~5-15%. When both max_tokens_out and max_chars are set, max_tokens_out wins.",
|
|
211
|
+
},
|
|
212
|
+
include_full_markdown: {
|
|
213
|
+
type: 'boolean',
|
|
214
|
+
description: 'Include full markdown body in the response. Default false on multi-result tools (returns evidence excerpts only); set true to restore.',
|
|
215
|
+
},
|
|
216
|
+
citation_format: {
|
|
217
|
+
type: 'string',
|
|
218
|
+
enum: ['numbered', 'anthropic_tags', 'json'],
|
|
219
|
+
description: "Citation rendering style. 'numbered' (default) inline [N] markers; 'json' returns a citations[] array; 'anthropic_tags' wraps sources in <source id='...'> tags.",
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
required: ['url'],
|
|
223
|
+
};
|
|
224
|
+
export const CACHE_TOOL_SCHEMA = {
|
|
225
|
+
type: 'object',
|
|
226
|
+
properties: {
|
|
227
|
+
query: { type: 'string', description: 'Full-text search over cached content' },
|
|
228
|
+
url_pattern: {
|
|
229
|
+
type: 'string',
|
|
230
|
+
description: 'Filter by URL glob pattern (e.g., "*example.com*")',
|
|
231
|
+
},
|
|
232
|
+
since: {
|
|
233
|
+
type: 'string',
|
|
234
|
+
description: 'ISO date — only results cached after this date',
|
|
235
|
+
},
|
|
236
|
+
clear: {
|
|
237
|
+
type: 'boolean',
|
|
238
|
+
description: 'Clear matching cache entries (requires at least one filter: query, url_pattern, or since)',
|
|
239
|
+
},
|
|
240
|
+
stats: {
|
|
241
|
+
type: 'boolean',
|
|
242
|
+
description: 'Return cache statistics (total URLs, size, date range)',
|
|
243
|
+
},
|
|
244
|
+
check_changes: {
|
|
245
|
+
type: 'boolean',
|
|
246
|
+
description: 'Re-fetch all matching cached URLs and report which ones have changed. ' +
|
|
247
|
+
'Returns a list of URLs with changed/unchanged status and diff summaries. ' +
|
|
248
|
+
'Use with query or url_pattern to scope which cached entries to check.',
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
};
|
|
252
|
+
export const EXTRACT_TOOL_SCHEMA = {
|
|
253
|
+
type: 'object',
|
|
254
|
+
properties: {
|
|
255
|
+
url: { type: 'string', description: 'URL to fetch and extract from' },
|
|
256
|
+
html: { type: 'string', description: 'Raw HTML to extract from (url takes priority if both provided)' },
|
|
257
|
+
mode: {
|
|
258
|
+
type: 'string',
|
|
259
|
+
enum: ['selector', 'tables', 'metadata', 'schema', 'structured'],
|
|
260
|
+
description: 'Extraction mode: selector (CSS), tables (HTML tables), metadata (meta tags + JSON-LD), schema (fields matching a JSON Schema), structured (tables + definition lists + JSON-LD + chart hints + key/value pairs — one-shot structured brief)',
|
|
261
|
+
},
|
|
262
|
+
css_selector: {
|
|
263
|
+
type: 'string',
|
|
264
|
+
description: 'CSS selector to match (required when mode="selector")',
|
|
265
|
+
},
|
|
266
|
+
multiple: {
|
|
267
|
+
type: 'boolean',
|
|
268
|
+
description: 'Return array of all matches instead of first (default: false, only for mode="selector")',
|
|
269
|
+
},
|
|
270
|
+
schema: {
|
|
271
|
+
type: 'object',
|
|
272
|
+
description: 'JSON Schema defining fields to extract. Field names are matched against page content via CSS classes, ARIA labels, microdata, and JSON-LD. Required when mode="schema".',
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
};
|
|
276
|
+
export const FIND_SIMILAR_TOOL_SCHEMA = {
|
|
277
|
+
type: 'object',
|
|
278
|
+
properties: {
|
|
279
|
+
url: {
|
|
280
|
+
type: 'string',
|
|
281
|
+
description: 'Find pages similar to this URL. The page is fetched (or read from cache) and its content analyzed for key terms.',
|
|
282
|
+
},
|
|
283
|
+
concept: {
|
|
284
|
+
type: 'string',
|
|
285
|
+
description: 'Find pages related to this concept or topic description. Use when you don\'t have a specific URL.',
|
|
286
|
+
},
|
|
287
|
+
max_results: {
|
|
288
|
+
type: 'number',
|
|
289
|
+
description: 'Maximum results to return (default 10, max 50)',
|
|
290
|
+
},
|
|
291
|
+
include_domains: {
|
|
292
|
+
type: 'array',
|
|
293
|
+
items: { type: 'string' },
|
|
294
|
+
description: 'Only return results from these domains',
|
|
295
|
+
},
|
|
296
|
+
exclude_domains: {
|
|
297
|
+
type: 'array',
|
|
298
|
+
items: { type: 'string' },
|
|
299
|
+
description: 'Never return results from these domains',
|
|
300
|
+
},
|
|
301
|
+
include_cache: {
|
|
302
|
+
type: 'boolean',
|
|
303
|
+
description: 'Search local cache for similar pages (default: true)',
|
|
304
|
+
},
|
|
305
|
+
include_web: {
|
|
306
|
+
type: 'boolean',
|
|
307
|
+
description: 'Supplement with web search if needed (default: true)',
|
|
308
|
+
},
|
|
309
|
+
max_tokens_out: {
|
|
310
|
+
type: 'number',
|
|
311
|
+
description: "Token-budget cap on total output. Uses cl100k-base BPE; non-OpenAI tokenizer counts may drift ~5-15%. When both max_tokens_out and max_chars are set, max_tokens_out wins.",
|
|
312
|
+
},
|
|
313
|
+
include_full_markdown: {
|
|
314
|
+
type: 'boolean',
|
|
315
|
+
description: 'Include full markdown body in the response. Default false on multi-result tools (returns evidence excerpts only); set true to restore.',
|
|
316
|
+
},
|
|
317
|
+
citation_format: {
|
|
318
|
+
type: 'string',
|
|
319
|
+
enum: ['numbered', 'anthropic_tags', 'json'],
|
|
320
|
+
description: "Citation rendering style. 'numbered' (default) inline [N] markers; 'json' returns a citations[] array; 'anthropic_tags' wraps sources in <source id='...'> tags.",
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
};
|
|
324
|
+
export const RESEARCH_TOOL_SCHEMA = {
|
|
325
|
+
type: 'object',
|
|
326
|
+
properties: {
|
|
327
|
+
question: { type: 'string', description: 'The research question to investigate' },
|
|
328
|
+
depth: {
|
|
329
|
+
type: 'string',
|
|
330
|
+
enum: ['quick', 'standard', 'comprehensive'],
|
|
331
|
+
description: 'Research depth: quick (~15s), standard (~40s, default), comprehensive (~80s)',
|
|
332
|
+
},
|
|
333
|
+
max_sources: {
|
|
334
|
+
type: 'number',
|
|
335
|
+
description: 'Override the default source count for the chosen depth (max 50)',
|
|
336
|
+
},
|
|
337
|
+
include_domains: {
|
|
338
|
+
type: 'array',
|
|
339
|
+
items: { type: 'string' },
|
|
340
|
+
description: 'Only search results from these domains',
|
|
341
|
+
},
|
|
342
|
+
exclude_domains: {
|
|
343
|
+
type: 'array',
|
|
344
|
+
items: { type: 'string' },
|
|
345
|
+
description: 'Exclude results from these domains',
|
|
346
|
+
},
|
|
347
|
+
schema: {
|
|
348
|
+
type: 'object',
|
|
349
|
+
description: 'Optional JSON Schema -- structure the report to extract these fields',
|
|
350
|
+
},
|
|
351
|
+
stream: {
|
|
352
|
+
type: 'boolean',
|
|
353
|
+
description: 'Send progress notifications as each research phase completes',
|
|
354
|
+
},
|
|
355
|
+
max_tokens_out: {
|
|
356
|
+
type: 'number',
|
|
357
|
+
description: "Token-budget cap on total output. Uses cl100k-base BPE; non-OpenAI tokenizer counts may drift ~5-15%. When both max_tokens_out and max_chars are set, max_tokens_out wins.",
|
|
358
|
+
},
|
|
359
|
+
include_full_markdown: {
|
|
360
|
+
type: 'boolean',
|
|
361
|
+
description: 'Include full markdown body in the response. Default false on multi-result tools (returns evidence excerpts only); set true to restore.',
|
|
362
|
+
},
|
|
363
|
+
citation_format: {
|
|
364
|
+
type: 'string',
|
|
365
|
+
enum: ['numbered', 'anthropic_tags', 'json'],
|
|
366
|
+
description: "Citation rendering style. 'numbered' (default) inline [N] markers; 'json' returns a citations[] array; 'anthropic_tags' wraps sources in <source id='...'> tags.",
|
|
367
|
+
},
|
|
368
|
+
},
|
|
369
|
+
required: ['question'],
|
|
370
|
+
};
|
|
371
|
+
export const AGENT_TOOL_SCHEMA = {
|
|
372
|
+
type: 'object',
|
|
373
|
+
properties: {
|
|
374
|
+
prompt: {
|
|
375
|
+
type: 'string',
|
|
376
|
+
description: 'Natural-language description of what data to gather',
|
|
377
|
+
},
|
|
378
|
+
urls: {
|
|
379
|
+
type: 'array',
|
|
380
|
+
items: { type: 'string' },
|
|
381
|
+
description: 'Specific URLs to include in the data gathering',
|
|
382
|
+
},
|
|
383
|
+
schema: {
|
|
384
|
+
type: 'object',
|
|
385
|
+
description: 'Optional JSON Schema -- extract structured data matching this schema from each page',
|
|
386
|
+
},
|
|
387
|
+
max_pages: {
|
|
388
|
+
type: 'number',
|
|
389
|
+
description: 'Maximum pages to fetch (default 10, max 100)',
|
|
390
|
+
},
|
|
391
|
+
max_time_ms: {
|
|
392
|
+
type: 'number',
|
|
393
|
+
description: 'Maximum execution time in milliseconds (default 60000)',
|
|
394
|
+
},
|
|
395
|
+
stream: {
|
|
396
|
+
type: 'boolean',
|
|
397
|
+
description: 'Send progress notifications as each step completes',
|
|
398
|
+
},
|
|
399
|
+
max_tokens_out: {
|
|
400
|
+
type: 'number',
|
|
401
|
+
description: "Token-budget cap on total output. Uses cl100k-base BPE; non-OpenAI tokenizer counts may drift ~5-15%. When both max_tokens_out and max_chars are set, max_tokens_out wins.",
|
|
402
|
+
},
|
|
403
|
+
include_full_markdown: {
|
|
404
|
+
type: 'boolean',
|
|
405
|
+
description: 'Include full markdown body in the response. Default false on multi-result tools (returns evidence excerpts only); set true to restore.',
|
|
406
|
+
},
|
|
407
|
+
citation_format: {
|
|
408
|
+
type: 'string',
|
|
409
|
+
enum: ['numbered', 'anthropic_tags', 'json'],
|
|
410
|
+
description: "Citation rendering style. 'numbered' (default) inline [N] markers; 'json' returns a citations[] array; 'anthropic_tags' wraps sources in <source id='...'> tags.",
|
|
411
|
+
},
|
|
412
|
+
},
|
|
413
|
+
required: ['prompt'],
|
|
414
|
+
};
|
|
415
|
+
export const TOOL_SCHEMAS = {
|
|
416
|
+
fetch: FETCH_TOOL_SCHEMA,
|
|
417
|
+
search: SEARCH_TOOL_SCHEMA,
|
|
418
|
+
crawl: CRAWL_TOOL_SCHEMA,
|
|
419
|
+
cache: CACHE_TOOL_SCHEMA,
|
|
420
|
+
extract: EXTRACT_TOOL_SCHEMA,
|
|
421
|
+
find_similar: FIND_SIMILAR_TOOL_SCHEMA,
|
|
422
|
+
research: RESEARCH_TOOL_SCHEMA,
|
|
423
|
+
agent: AGENT_TOOL_SCHEMA,
|
|
424
|
+
};
|
|
425
|
+
//# sourceMappingURL=tool-schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-schemas.js","sourceRoot":"","sources":["../../src/server/tool-schemas.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,QAAiB;IACvB,UAAU,EAAE;QACV,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE;QACpD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC;YACjC,WAAW,EAAE,2CAA2C;SACzD;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8CAA8C;SAC5D;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2CAA2C;SACzD;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,+IAA+I;SAC7J;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4CAA4C;SAC1D;QACD,aAAa,EAAE;YACb,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yCAAyC;SACvD;QACD,UAAU,EAAE;YACV,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;SACrD;QACD,OAAO,EA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AgB,EAAE,MAAM,yBAAyB,CAAC;AAmB3D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAMnE,OAAO,EAAE,WAAW,EAAmB,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAmB3D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAgB3D,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,OAAO,KAAK,EAA2B,YAAY,EAAuG,MAAM,YAAY,CAAC;AAkB7K,MAAM,WAAW,UAAU;IACzB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,gBAAgB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACvC;AAED,wBAAsB,cAAc,IAAI,OAAO,CAAC,UAAU,CAAC,CAsL1D;AAED,wBAAgB,eAAe,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CA0K9D;AAED,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAoBjD"}
|