-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.example.json
More file actions
121 lines (121 loc) · 3.89 KB
/
settings.example.json
File metadata and controls
121 lines (121 loc) · 3.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"hooks": {
"PreToolUse": [
{
"matcher": "WebSearch",
"hooks": [
{
"type": "command",
"command": "node \"/ABSOLUTE/PATH/TO/claude-code-web-hooks/hooks/websearch-custom.cjs\"",
"timeout": 120
}
]
},
{
"matcher": "WebFetch",
"hooks": [
{
"type": "command",
"command": "node \"/ABSOLUTE/PATH/TO/claude-code-web-hooks/hooks/webfetch-scraper.cjs\"",
"timeout": 120
}
]
}
]
},
"ccsMcpHooksExample": {
"hooks": {
"PreToolUse": [
{
"matcher": "mcp__ccs-websearch__WebSearch",
"hooks": [
{
"type": "command",
"command": "node \"/ABSOLUTE/PATH/TO/claude-code-web-hooks/hooks/websearch-mcp-pass-through.cjs\"",
"timeout": 30
}
]
}
],
"PostToolUse": [
{
"matcher": "mcp__ccs-websearch__WebSearch",
"hooks": [
{
"type": "command",
"command": "node \"/ABSOLUTE/PATH/TO/claude-code-web-hooks/hooks/websearch-mcp-companion.cjs\"",
"timeout": 120
}
]
}
],
"PostToolUseFailure": [
{
"matcher": "mcp__ccs-websearch__WebSearch",
"hooks": [
{
"type": "command",
"command": "node \"/ABSOLUTE/PATH/TO/claude-code-web-hooks/hooks/websearch-mcp-companion.cjs\"",
"timeout": 120
}
]
}
]
}
},
"copilotHooksExample": {
"version": 1,
"hooks": {
"preToolUse": [
{
"type": "command",
"bash": "node \"$HOME/.claude/hooks/copilot-websearch.cjs\"",
"powershell": "node \"$HOME/.claude/hooks/copilot-websearch.cjs\"",
"timeoutSec": 30
},
{
"type": "command",
"bash": "node \"$HOME/.claude/hooks/copilot-webfetch.cjs\"",
"powershell": "node \"$HOME/.claude/hooks/copilot-webfetch.cjs\"",
"timeoutSec": 30
}
]
}
},
"env": {
"CLAUDE_WEB_HOOKS_SEARCH_MODE": "parallel",
"CLAUDE_WEB_HOOKS_SEARCH_PROVIDERS": "tavily,websearchapi",
"CLAUDE_WEB_HOOKS_SEARCH_PRIMARY": "tavily",
"WEBSEARCHAPI_API_KEY": "YOUR_KEY_OR_KEY1|KEY2|KEY3_OR_/ABSOLUTE/PATH/TO/apikey.json_OR_/ABSOLUTE/PATH/TO/apikeys.txt",
"TAVILY_API_KEY": "tvly-YOUR_TAVILY_KEY_OR_/ABSOLUTE/PATH/TO/tavily-keys.txt",
"EXA_API_KEY": "YOUR_EXA_KEY_OR_/ABSOLUTE/PATH/TO/exa-keys.txt",
"WEBSEARCHAPI_MAX_RESULTS": "10",
"WEBSEARCHAPI_INCLUDE_CONTENT": "1",
"WEBSEARCHAPI_COUNTRY": "us",
"WEBSEARCHAPI_LANGUAGE": "en",
"TAVILY_SEARCH_DEPTH": "advanced",
"TAVILY_MAX_RESULTS": "10",
"TAVILY_TOPIC": "general",
"EXA_SEARCH_TYPE": "auto",
"EXA_MAX_RESULTS": "10",
"EXA_CATEGORY": "news",
"CLAUDE_WEB_HOOKS_WEBFETCH_EXTRACT_MODE": "fallback",
"CLAUDE_WEB_HOOKS_WEBFETCH_EXTRACT_PROVIDERS": "websearchapi,tavily,exa",
"CLAUDE_WEB_HOOKS_WEBFETCH_EXTRACT_TIMEOUT": "25",
"CLAUDE_WEB_HOOKS_WEBFETCH_EXTRACT_FORMAT": "markdown",
"WEBSEARCHAPI_SCRAPE_ENGINE": "browser",
"TAVILY_EXTRACT_DEPTH": "advanced",
"EXA_CONTENTS_VERBOSITY": "standard",
"CLAUDE_WEB_HOOKS_SEARCH_TIMEOUT": "55",
"TAVILY_SEARCH_TIMEOUT": "55",
"EXA_SEARCH_TIMEOUT": "55",
"WEBFETCH_PROBE_TIMEOUT": "12",
"WEBFETCH_PROBE_MAX_HTML_BYTES": "262144",
"WEBFETCH_SCRAPER_TIMEOUT": "25",
"CLAUDE_WEB_HOOKS_DEBUG": "0",
"COPILOT_WEBSEARCH_TOOL_NAMES": "REPLACE_WITH_COPILOT_VSCODE_WEBSEARCH_TOOL_NAMES",
"COPILOT_WEBFETCH_TOOL_NAMES": "REPLACE_WITH_COPILOT_VSCODE_WEBFETCH_TOOL_NAMES",
"COPILOT_CLI_WEBSEARCH_TOOL_NAMES": "REPLACE_WITH_COPILOT_CLI_WEBSEARCH_TOOL_NAMES",
"COPILOT_CLI_WEBFETCH_TOOL_NAMES": "REPLACE_WITH_COPILOT_CLI_WEBFETCH_TOOL_NAMES"
}
}