conare 0.5.11 → 0.5.12

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 +10 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1789,7 +1789,9 @@ var exports_interactive = {};
1789
1789
  __export(exports_interactive, {
1790
1790
  startSetup: () => startSetup,
1791
1791
  spinner: () => Y2,
1792
+ showLocalChatsCounted: () => showLocalChatsCounted,
1792
1793
  showDetectedApps: () => showDetectedApps,
1794
+ showCountingLocalChats: () => showCountingLocalChats,
1793
1795
  selectMcpTargets: () => selectMcpTargets,
1794
1796
  selectChatSources: () => selectChatSources,
1795
1797
  promptAuth: () => promptAuth,
@@ -1819,6 +1821,12 @@ function showDetectedApps(targets) {
1819
1821
  Me(targets.map((target) => `• ${target.label}: ${target.available === false ? "not detected" : formatDetectedCount(target.detectedCount, target.detectedCountApproximate)}`).join(`
1820
1822
  `), "Detected apps");
1821
1823
  }
1824
+ function showCountingLocalChats() {
1825
+ M2.step("Counting local chats...");
1826
+ }
1827
+ function showLocalChatsCounted() {
1828
+ M2.success("Local chats counted");
1829
+ }
1822
1830
  async function promptApiKey(options) {
1823
1831
  if (options.providedApiKey) {
1824
1832
  return options.providedApiKey;
@@ -3920,9 +3928,6 @@ function renderSourceBreakdown(memories) {
3920
3928
  function formatSessionCount(count, approximate) {
3921
3929
  return `${approximate ? "~" : ""}${count} sessions`;
3922
3930
  }
3923
- function nextTick() {
3924
- return new Promise((resolve2) => setTimeout(resolve2, 0));
3925
- }
3926
3931
  function parseArgs() {
3927
3932
  const args = process.argv.slice(2);
3928
3933
  let key = "";
@@ -4155,11 +4160,9 @@ async function main() {
4155
4160
  apiKey = authResult || apiKey;
4156
4161
  }
4157
4162
  }
4158
- const detectSpinner = Y2();
4159
- detectSpinner.start("Counting local chats...");
4160
- await nextTick();
4163
+ showCountingLocalChats();
4161
4164
  const detectedTools = await detect();
4162
- detectSpinner.stop("Local chats counted");
4165
+ showLocalChatsCounted();
4163
4166
  interactiveTargets = MCP_TARGETS.map((target) => {
4164
4167
  const detected = detectedTools.find((tool) => tool.id === target.id);
4165
4168
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conare",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "description": "Conare CLI for indexing AI chat history and configuring memory at conare.ai",
5
5
  "type": "module",
6
6
  "bin": {