conare 0.5.16 → 0.5.17
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/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4265,6 +4265,7 @@ async function main() {
|
|
|
4265
4265
|
detectedCountApproximate: undefined
|
|
4266
4266
|
}));
|
|
4267
4267
|
let interactiveMode = false;
|
|
4268
|
+
let detectedTools;
|
|
4268
4269
|
if (shouldRunInteractive) {
|
|
4269
4270
|
startSetup();
|
|
4270
4271
|
interactiveMode = true;
|
|
@@ -4287,7 +4288,7 @@ async function main() {
|
|
|
4287
4288
|
}
|
|
4288
4289
|
}
|
|
4289
4290
|
showCountingLocalChats();
|
|
4290
|
-
|
|
4291
|
+
detectedTools = await detect({ onProgress: renderDetectProgress });
|
|
4291
4292
|
showLocalChatsCounted();
|
|
4292
4293
|
interactiveTargets = MCP_TARGETS.map((target) => {
|
|
4293
4294
|
const detected = detectedTools.find((tool) => tool.id === target.id);
|
|
@@ -4475,7 +4476,7 @@ Nothing new to index.`);
|
|
|
4475
4476
|
}
|
|
4476
4477
|
log();
|
|
4477
4478
|
}
|
|
4478
|
-
const tools = await detect();
|
|
4479
|
+
const tools = detectedTools ?? await detect();
|
|
4479
4480
|
if (!interactiveMode) {
|
|
4480
4481
|
log("Detected AI tools:");
|
|
4481
4482
|
for (const t of tools) {
|