mcvay-mind 1.0.5 → 1.0.7
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/lib/response-guidance/index.js +2 -2
- package/lib/search.js +1 -1
- package/package.json +1 -1
|
@@ -418,7 +418,7 @@ async function generateGuidance(query, cwd = process.cwd()) {
|
|
|
418
418
|
query: 'emoji security api key sensitive',
|
|
419
419
|
types: ['preference'],
|
|
420
420
|
limit: 10,
|
|
421
|
-
|
|
421
|
+
preset: 'fast',
|
|
422
422
|
}, cwd);
|
|
423
423
|
|
|
424
424
|
// Filter critical preferences (those with explicit "no" or "don't" patterns)
|
|
@@ -435,7 +435,7 @@ async function generateGuidance(query, cwd = process.cwd()) {
|
|
|
435
435
|
query,
|
|
436
436
|
types: ['preference', 'lesson'],
|
|
437
437
|
limit: 15,
|
|
438
|
-
|
|
438
|
+
preset: 'fast',
|
|
439
439
|
}, cwd);
|
|
440
440
|
|
|
441
441
|
// Filter to only useful directives
|
package/lib/search.js
CHANGED
|
@@ -124,7 +124,7 @@ function detectExpandIntent(query = '') {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
function resolvePreset(options = {}) {
|
|
127
|
-
const preset = `${options.preset || '
|
|
127
|
+
const preset = `${options.preset || 'fast'}`.toLowerCase();
|
|
128
128
|
if (preset === 'fast' || preset === 'balanced' || preset === 'deep') {
|
|
129
129
|
return preset;
|
|
130
130
|
}
|