conare 0.2.0 → 0.2.1
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 +16 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2704,10 +2704,25 @@ Nothing new to index.`);
|
|
|
2704
2704
|
}
|
|
2705
2705
|
log("");
|
|
2706
2706
|
}
|
|
2707
|
+
if (!opts.dryRun && !opts.quiet) {
|
|
2708
|
+
log("─── Background Sync ───");
|
|
2709
|
+
log("");
|
|
2710
|
+
try {
|
|
2711
|
+
const syncMessages = installSync(apiKey);
|
|
2712
|
+
for (const msg of syncMessages)
|
|
2713
|
+
log(` ✓ ${msg}`);
|
|
2714
|
+
log("");
|
|
2715
|
+
log(" New chats will be auto-ingested every 10 minutes.");
|
|
2716
|
+
log(" Logs: ~/.conare/ingest.log | Remove: conare --uninstall-sync");
|
|
2717
|
+
} catch (e2) {
|
|
2718
|
+
log(` ⚠ Could not set up background sync: ${e2.message}`);
|
|
2719
|
+
log(" Run manually later: conare --install-sync");
|
|
2720
|
+
}
|
|
2721
|
+
log("");
|
|
2722
|
+
}
|
|
2707
2723
|
log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━");
|
|
2708
2724
|
log(" ✓ Done! Every new conversation now starts with context.");
|
|
2709
2725
|
log("━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━");
|
|
2710
|
-
log(" Next time you can run `conare` after a global install.");
|
|
2711
2726
|
log("");
|
|
2712
2727
|
}
|
|
2713
2728
|
main().catch((e2) => {
|