conare 0.5.9 → 0.5.10

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.
Files changed (2) hide show
  1. package/dist/index.js +16 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3949,19 +3949,8 @@ async function main() {
3949
3949
  }));
3950
3950
  let interactiveMode = false;
3951
3951
  if (shouldRunInteractive) {
3952
- const detectedTools = await detect();
3953
- interactiveTargets = MCP_TARGETS.map((target) => {
3954
- const detected = detectedTools.find((tool) => tool.id === target.id);
3955
- return {
3956
- id: target.id,
3957
- label: target.label,
3958
- available: detected?.available,
3959
- recommended: target.defaultSelected && detected?.available !== false,
3960
- detectedCount: detected?.sessionCount,
3961
- detectedCountApproximate: detected?.sessionCountApproximate
3962
- };
3963
- });
3964
3952
  startSetup();
3953
+ interactiveMode = true;
3965
3954
  if (!apiKey) {
3966
3955
  const authResult = await promptAuth({
3967
3956
  providedApiKey: opts.key
@@ -3980,11 +3969,25 @@ async function main() {
3980
3969
  apiKey = authResult || apiKey;
3981
3970
  }
3982
3971
  }
3972
+ const detectSpinner = Y2();
3973
+ detectSpinner.start("Detecting apps...");
3974
+ const detectedTools = await detect();
3975
+ detectSpinner.stop("Apps detected");
3976
+ interactiveTargets = MCP_TARGETS.map((target) => {
3977
+ const detected = detectedTools.find((tool) => tool.id === target.id);
3978
+ return {
3979
+ id: target.id,
3980
+ label: target.label,
3981
+ available: detected?.available,
3982
+ recommended: target.defaultSelected && detected?.available !== false,
3983
+ detectedCount: detected?.sessionCount,
3984
+ detectedCountApproximate: detected?.sessionCountApproximate
3985
+ };
3986
+ });
3983
3987
  const INGESTIBLE_SOURCES = new Set(["claude", "codex", "cursor"]);
3984
3988
  const ingestibleTargets = interactiveTargets.filter((t) => INGESTIBLE_SOURCES.has(t.id));
3985
3989
  showDetectedApps(ingestibleTargets);
3986
3990
  selectedSources = await selectChatSources(ingestibleTargets);
3987
- interactiveMode = true;
3988
3991
  }
3989
3992
  if (opts.uninstallSync) {
3990
3993
  const messages = uninstallSync();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conare",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "description": "Conare CLI for indexing AI chat history and configuring memory at conare.ai",
5
5
  "type": "module",
6
6
  "bin": {