@razroo/code-validation-mcp-client 1.0.2 → 1.1.0
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 +24 -0
- package/dist/index.js +26 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -178,6 +178,30 @@ Get code files for a specific step.
|
|
|
178
178
|
|
|
179
179
|
**Output:** Array of code files with content
|
|
180
180
|
|
|
181
|
+
### 4. `search_with_context`
|
|
182
|
+
|
|
183
|
+
**⚠️ MOST POWERFUL TOOL** - Search and get complete recipe context in one call.
|
|
184
|
+
|
|
185
|
+
**Input:**
|
|
186
|
+
- `code` (required): Code snippet to search
|
|
187
|
+
- `framework` (optional): Filter by framework
|
|
188
|
+
- `language` (optional): Filter by language
|
|
189
|
+
- `operationType` (optional): Filter by operation type
|
|
190
|
+
- `limit` (optional): Number of recipe matches (default: 10)
|
|
191
|
+
- `includeCodeFiles` (optional): Include code content (default: true)
|
|
192
|
+
- `maxStepsPerRecipe` (optional): Max steps per recipe (default: 10)
|
|
193
|
+
- `maxFilesPerStep` (optional): Max files per step (default: 20)
|
|
194
|
+
- `maxFileSize` (optional): Max characters per file (default: 10000)
|
|
195
|
+
- `stepSelectionStrategy` (optional): Step selection strategy (default: 'complete')
|
|
196
|
+
- `'complete'`: Returns ALL steps in the recipe (best for starters/scaffolds)
|
|
197
|
+
- `'adjacent'`: Returns only matched + setup + nearby steps (minimal context)
|
|
198
|
+
|
|
199
|
+
**Output:** Complete recipe matches with all steps, recommendations, and execution plan
|
|
200
|
+
|
|
201
|
+
**When to Use:**
|
|
202
|
+
- Use `'complete'` strategy (default) for: AWS starters, authentication setup, form scaffolds, API integration
|
|
203
|
+
- Use `'adjacent'` strategy for: Specific bug fixes, targeted changes where you only need minimal context
|
|
204
|
+
|
|
181
205
|
## Troubleshooting
|
|
182
206
|
|
|
183
207
|
### "RAZROO_API_KEY is required"
|
package/dist/index.js
CHANGED
|
@@ -128,6 +128,32 @@ const TOOLS = [
|
|
|
128
128
|
description: 'Number of recipe matches to return (default: 10, max: 50)',
|
|
129
129
|
default: 10,
|
|
130
130
|
},
|
|
131
|
+
includeCodeFiles: {
|
|
132
|
+
type: 'boolean',
|
|
133
|
+
description: 'Include code file contents in response (default: true). Set to false for summaries only.',
|
|
134
|
+
default: true,
|
|
135
|
+
},
|
|
136
|
+
maxStepsPerRecipe: {
|
|
137
|
+
type: 'number',
|
|
138
|
+
description: 'Maximum steps per recipe to return (default: 10, max: 20)',
|
|
139
|
+
default: 10,
|
|
140
|
+
},
|
|
141
|
+
maxFilesPerStep: {
|
|
142
|
+
type: 'number',
|
|
143
|
+
description: 'Maximum files per step to return (default: 20, max: 50)',
|
|
144
|
+
default: 20,
|
|
145
|
+
},
|
|
146
|
+
maxFileSize: {
|
|
147
|
+
type: 'number',
|
|
148
|
+
description: 'Maximum characters per file (default: 10000, max: 50000)',
|
|
149
|
+
default: 10000,
|
|
150
|
+
},
|
|
151
|
+
stepSelectionStrategy: {
|
|
152
|
+
type: 'string',
|
|
153
|
+
enum: ['complete', 'adjacent'],
|
|
154
|
+
description: 'Step selection strategy (default: "complete"). Use "complete" to get ALL steps in the recipe (best for starters/scaffolds). Use "adjacent" for minimal context (matched + setup + nearby steps only).',
|
|
155
|
+
default: 'complete',
|
|
156
|
+
},
|
|
131
157
|
},
|
|
132
158
|
required: ['code'],
|
|
133
159
|
},
|