@sammysnake/fast-context-mcp 1.3.0-beta.1 → 1.3.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -5
- package/package.json +1 -1
- package/src/directory-scorer.mjs +1 -3
package/README.md
CHANGED
|
@@ -54,6 +54,18 @@ No need to install ripgrep — it's bundled via `@vscode/ripgrep`.
|
|
|
54
54
|
|
|
55
55
|
## Installation
|
|
56
56
|
|
|
57
|
+
### Option 1: npm (Recommended)
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Latest stable release
|
|
61
|
+
npm install @sammysnake/fast-context-mcp
|
|
62
|
+
|
|
63
|
+
# Or beta/next release
|
|
64
|
+
npm install @sammysnake/fast-context-mcp@next
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Option 2: From Source
|
|
68
|
+
|
|
57
69
|
```bash
|
|
58
70
|
git clone https://github.com/SammySnake-d/fast-context-mcp.git
|
|
59
71
|
cd fast-context-mcp
|
|
@@ -83,8 +95,22 @@ Add to `~/.claude.json` under `mcpServers`:
|
|
|
83
95
|
```json
|
|
84
96
|
{
|
|
85
97
|
"fast-context": {
|
|
86
|
-
"command": "
|
|
87
|
-
"args": ["/
|
|
98
|
+
"command": "npx",
|
|
99
|
+
"args": ["-y", "--prefer-online", "@sammysnake/fast-context-mcp"],
|
|
100
|
+
"env": {
|
|
101
|
+
"WINDSURF_API_KEY": "sk-ws-01-xxxxx"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
For beta/next release:
|
|
108
|
+
|
|
109
|
+
```json
|
|
110
|
+
{
|
|
111
|
+
"fast-context": {
|
|
112
|
+
"command": "npx",
|
|
113
|
+
"args": ["-y", "--prefer-online", "@sammysnake/fast-context-mcp@next"],
|
|
88
114
|
"env": {
|
|
89
115
|
"WINDSURF_API_KEY": "sk-ws-01-xxxxx"
|
|
90
116
|
}
|
|
@@ -99,8 +125,22 @@ Add to `claude_desktop_config.json` under `mcpServers`:
|
|
|
99
125
|
```json
|
|
100
126
|
{
|
|
101
127
|
"fast-context": {
|
|
102
|
-
"command": "
|
|
103
|
-
"args": ["/
|
|
128
|
+
"command": "npx",
|
|
129
|
+
"args": ["-y", "--prefer-online", "@sammysnake/fast-context-mcp"],
|
|
130
|
+
"env": {
|
|
131
|
+
"WINDSURF_API_KEY": "sk-ws-01-xxxxx"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
For beta/next release:
|
|
138
|
+
|
|
139
|
+
```json
|
|
140
|
+
{
|
|
141
|
+
"fast-context": {
|
|
142
|
+
"command": "npx",
|
|
143
|
+
"args": ["-y", "--prefer-online", "@sammysnake/fast-context-mcp@next"],
|
|
104
144
|
"env": {
|
|
105
145
|
"WINDSURF_API_KEY": "sk-ws-01-xxxxx"
|
|
106
146
|
}
|
|
@@ -152,7 +192,7 @@ AI-driven semantic code search with tunable parameters.
|
|
|
152
192
|
|-----------|------|----------|---------|-------------|
|
|
153
193
|
| `query` | string | Yes | — | Natural language search query |
|
|
154
194
|
| `project_path` | string | No | cwd | Absolute path to project root |
|
|
155
|
-
| `tree_depth` | integer | No | `3` |
|
|
195
|
+
| `tree_depth` | integer | No | `3` | Repo map depth for `classic` mode only (`0-6`, `0=auto`). Ignored in `bootstrap_hotspot` mode — use `bootstrap_tree_depth` and `hotspot_tree_depth` instead. |
|
|
156
196
|
| `max_turns` | integer | No | `3` | Main-phase search rounds (`1-5`). More = deeper search but slower. |
|
|
157
197
|
| `max_results` | integer | No | `10` | Maximum number of files to return (`1-30`). |
|
|
158
198
|
| `exclude_paths` | string[] | No | `[]` | Extra exclude patterns merged with built-in default excludes (`node_modules`, `.git`, `dist`, `build`, `coverage`, `.venv`, ...). |
|
package/package.json
CHANGED
package/src/directory-scorer.mjs
CHANGED
|
@@ -408,9 +408,7 @@ function probeGrep(projectRoot, topDirs, probeTerms, excludePaths = []) {
|
|
|
408
408
|
"-l", // List matching files only
|
|
409
409
|
"--hidden",
|
|
410
410
|
"-g", `!{${[...excludeSet].join(",")}}`,
|
|
411
|
-
|
|
412
|
-
"-g", "*.py", "-g", "*.go", "-g", "*.rs", "-g", "*.java",
|
|
413
|
-
"-g", "*.md", "-g", "*.mdx", "-g", "*.json",
|
|
411
|
+
// No extension filter - let ripgrep search all text files
|
|
414
412
|
pattern,
|
|
415
413
|
projectRoot,
|
|
416
414
|
], {
|