cc-dev-template 0.1.75 → 0.1.76
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/bin/install.js +7 -0
- package/package.json +1 -1
package/bin/install.js
CHANGED
|
@@ -401,6 +401,13 @@ if (fs.existsSync(settingsFile)) {
|
|
|
401
401
|
settingsModified = true;
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
+
// Enable MCP tool search (loads MCP tools on-demand instead of in context)
|
|
405
|
+
if (settings.env.ENABLE_TOOL_SEARCH !== 'true') {
|
|
406
|
+
settings.env.ENABLE_TOOL_SEARCH = 'true';
|
|
407
|
+
console.log('✓ Set ENABLE_TOOL_SEARCH=true');
|
|
408
|
+
settingsModified = true;
|
|
409
|
+
}
|
|
410
|
+
|
|
404
411
|
if (settingsModified) {
|
|
405
412
|
fs.writeFileSync(settingsFile, JSON.stringify(settings, null, 2));
|
|
406
413
|
}
|