codesearch-mcp 0.0.5-alpha → 0.0.6-alpha
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.
|
@@ -74,9 +74,14 @@ async function selectProjects(allProjects, workspaceDir, forceSelect) {
|
|
|
74
74
|
const toShow = forceSelect
|
|
75
75
|
? allProjects.filter(p => !config.skipped.has(p.name))
|
|
76
76
|
: newProjects;
|
|
77
|
+
const alreadyIncluded = allProjects.filter(p => config.included.has(p.name));
|
|
78
|
+
if (!forceSelect && alreadyIncluded.length > 0) {
|
|
79
|
+
console.log(`Already selected (will be re-indexed): ${alreadyIncluded.map(p => p.name).join(', ')}`);
|
|
80
|
+
console.log('Run with --select to change the full selection.\n');
|
|
81
|
+
}
|
|
77
82
|
const message = forceSelect
|
|
78
83
|
? 'Select projects to index'
|
|
79
|
-
: `Found ${newProjects.length} new project(s) — select which to
|
|
84
|
+
: `Found ${newProjects.length} new project(s) — select which to add`;
|
|
80
85
|
// Checkbox: pre-check previously included projects
|
|
81
86
|
const chosen = await (0, prompts_1.checkbox)({
|
|
82
87
|
message,
|
package/package.json
CHANGED