conare 0.6.5 → 0.6.6
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
|
@@ -1738,7 +1738,7 @@ async function selectMcpTargets(targets) {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
async function confirmBackgroundSync() {
|
|
1740
1740
|
const value = ensureValue(await ve({
|
|
1741
|
-
message: "Auto-index new chats
|
|
1741
|
+
message: "Auto-index new chats in the background?",
|
|
1742
1742
|
initialValue: "yes",
|
|
1743
1743
|
options: [
|
|
1744
1744
|
{ value: "yes", label: "Yes" },
|
|
@@ -5018,7 +5018,6 @@ async function main() {
|
|
|
5018
5018
|
selectedSources = await selectChatSources(ingestibleTargets);
|
|
5019
5019
|
const saveAmount = await selectSaveAmount();
|
|
5020
5020
|
saveSaveAmount(saveAmount);
|
|
5021
|
-
opts.syncInterval = await selectSyncInterval();
|
|
5022
5021
|
}
|
|
5023
5022
|
setSaveAmount(getSaveAmount());
|
|
5024
5023
|
if (opts.uninstallSync) {
|
|
@@ -5415,6 +5414,8 @@ Nothing new to index.`);
|
|
|
5415
5414
|
} catch {}
|
|
5416
5415
|
const shouldSync = interactiveMode ? await confirmBackgroundSync() : true;
|
|
5417
5416
|
if (shouldSync) {
|
|
5417
|
+
if (interactiveMode)
|
|
5418
|
+
opts.syncInterval = await selectSyncInterval();
|
|
5418
5419
|
const syncSpinner = Y2();
|
|
5419
5420
|
syncSpinner.start("Setting up background sync...");
|
|
5420
5421
|
try {
|