conare 0.5.15 → 0.5.16
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 +2 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1836,15 +1836,10 @@ function showCountingToolProgress(tool, checked, found, total) {
|
|
|
1836
1836
|
countingSpinner?.message(`Scanning ${tool}: ${checkedText} files, ${found.toLocaleString()} importable`);
|
|
1837
1837
|
}
|
|
1838
1838
|
function showCountingToolDone(tool, count) {
|
|
1839
|
-
toolTotals[tool] = count;
|
|
1840
1839
|
countingSpinner?.message(`${tool}: ${count.toLocaleString()} chats`);
|
|
1841
1840
|
}
|
|
1842
1841
|
function showLocalChatsCounted() {
|
|
1843
|
-
|
|
1844
|
-
return;
|
|
1845
|
-
const entries = Object.entries(toolTotals).filter(([, n]) => n > 0);
|
|
1846
|
-
const summary = entries.length ? entries.map(([tool, n]) => `${tool} ${n.toLocaleString()}`).join(", ") : "no chats found";
|
|
1847
|
-
countingSpinner.stop(`Found ${summary}`);
|
|
1842
|
+
countingSpinner?.stop("Scan complete");
|
|
1848
1843
|
countingSpinner = null;
|
|
1849
1844
|
}
|
|
1850
1845
|
async function promptApiKey(options) {
|
|
@@ -1936,10 +1931,9 @@ async function confirmBackgroundSync() {
|
|
|
1936
1931
|
}));
|
|
1937
1932
|
return value === "yes";
|
|
1938
1933
|
}
|
|
1939
|
-
var countingSpinner = null
|
|
1934
|
+
var countingSpinner = null;
|
|
1940
1935
|
var init_interactive = __esm(() => {
|
|
1941
1936
|
init_dist2();
|
|
1942
|
-
toolTotals = {};
|
|
1943
1937
|
});
|
|
1944
1938
|
|
|
1945
1939
|
// src/index.ts
|