conare 0.4.2 → 0.4.3
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 +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1523,7 +1523,7 @@ async function selectMcpTargets(targets) {
|
|
|
1523
1523
|
return ensureValue(await fe({
|
|
1524
1524
|
message: "Select where to install the MCP",
|
|
1525
1525
|
required: false,
|
|
1526
|
-
initialValues: targets.filter((target) => target.available !== false).map((target) => target.id),
|
|
1526
|
+
initialValues: targets.filter((target) => target.available !== false && (target.detectedCount ?? 0) > 0).map((target) => target.id),
|
|
1527
1527
|
options: targets.map((target) => ({
|
|
1528
1528
|
value: target.id,
|
|
1529
1529
|
label: target.label,
|
|
@@ -3462,9 +3462,10 @@ async function main() {
|
|
|
3462
3462
|
apiKey = authResult || apiKey;
|
|
3463
3463
|
}
|
|
3464
3464
|
}
|
|
3465
|
-
showDetectedApps(interactiveTargets);
|
|
3466
3465
|
const INGESTIBLE_SOURCES = new Set(["claude", "codex", "cursor"]);
|
|
3467
|
-
|
|
3466
|
+
const ingestibleTargets = interactiveTargets.filter((t) => INGESTIBLE_SOURCES.has(t.id));
|
|
3467
|
+
showDetectedApps(ingestibleTargets);
|
|
3468
|
+
selectedSources = await selectChatSources(ingestibleTargets);
|
|
3468
3469
|
interactiveMode = true;
|
|
3469
3470
|
}
|
|
3470
3471
|
if (opts.uninstallSync) {
|