@clauderecallhq/cli 0.61.6 → 0.63.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clauderecallhq/cli",
3
- "version": "0.61.6",
3
+ "version": "0.63.0",
4
4
  "description": "Never lose a Claude Code session again. Local, fast, searchable memory over every session you've ever run.",
5
5
  "type": "module",
6
6
  "homepage": "https://clauderecall.com",
@@ -13,30 +13,56 @@ if (!existsSync(cliPath)) {
13
13
  process.exit(0);
14
14
  }
15
15
 
16
- if (process.env.RECALL_SKIP_MODEL_DOWNLOAD === '1') {
17
- console.log('[recall] RECALL_SKIP_MODEL_DOWNLOAD=1 — skipping embedder model download');
18
- console.log('[recall] Run `recall semantic install` later to enable vector search');
19
- process.exit(0);
20
- }
16
+ runModelDownload();
17
+ printPostInstallBanner();
18
+ process.exit(0);
21
19
 
22
- if (process.env.CI === 'true' && process.env.RECALL_FORCE_MODEL_DOWNLOAD !== '1') {
23
- console.log('[recall] CI environment detected — skipping embedder model download');
24
- console.log('[recall] Run `recall semantic install` to enable vector search later');
25
- process.exit(0);
26
- }
20
+ function runModelDownload() {
21
+ if (process.env.RECALL_SKIP_MODEL_DOWNLOAD === '1') {
22
+ console.log('[recall] RECALL_SKIP_MODEL_DOWNLOAD=1 skipping embedder model download');
23
+ console.log('[recall] Run `recall semantic install` later to enable vector search');
24
+ return;
25
+ }
27
26
 
28
- console.log('[recall] Installing embedder model bge-base-en-v1.5 (~110MB) so vector search works out of the box…');
29
- console.log('[recall] set RECALL_SKIP_MODEL_DOWNLOAD=1 to skip; install later with `recall semantic install`');
27
+ if (process.env.CI === 'true' && process.env.RECALL_FORCE_MODEL_DOWNLOAD !== '1') {
28
+ console.log('[recall] CI environment detected skipping embedder model download');
29
+ console.log('[recall] Run `recall semantic install` to enable vector search later');
30
+ return;
31
+ }
30
32
 
31
- const result = spawnSync(process.execPath, [cliPath, 'semantic', 'install'], {
32
- stdio: 'inherit',
33
- env: process.env,
34
- });
33
+ console.log('[recall] Installing embedder model bge-base-en-v1.5 (~110MB) so vector search works out of the box…');
34
+ console.log('[recall] set RECALL_SKIP_MODEL_DOWNLOAD=1 to skip; install later with `recall semantic install`');
35
35
 
36
- if (result.status !== 0) {
37
- console.warn('[recall] Embedder model download skipped or failed (exit code ' + result.status + ')');
38
- console.warn('[recall] CLI is installed and working. Run `recall semantic install` later to enable vector search.');
36
+ const result = spawnSync(process.execPath, [cliPath, 'semantic', 'install'], {
37
+ stdio: 'inherit',
38
+ env: process.env,
39
+ });
40
+
41
+ if (result.status !== 0) {
42
+ console.warn('[recall] Embedder model download skipped or failed (exit code ' + result.status + ')');
43
+ console.warn('[recall] CLI is installed and working. Run `recall semantic install` later to enable vector search.');
44
+ }
39
45
  }
40
46
 
41
- // Always exit 0: never block install on model download
42
- process.exit(0);
47
+ function printPostInstallBanner() {
48
+ // Skip in CI / non-interactive contexts to keep build logs quiet.
49
+ if (process.env.CI === 'true') return;
50
+ if (process.env.RECALL_QUIET_INSTALL === '1') return;
51
+ if (!process.stdout.isTTY) return;
52
+
53
+ const lines = [
54
+ '',
55
+ ' ───────────────────────────────────────────────',
56
+ ' Claude Recall is installed.',
57
+ '',
58
+ ' recall open the dashboard',
59
+ ' recall index build the searchable database',
60
+ ' recall trial start a 7-day Pro trial (no card)',
61
+ '',
62
+ ' Free tier is fully usable. Trial unlocks Pro features',
63
+ ' for 7 days. Founder pricing ($29.69 lifetime) ends May 31.',
64
+ ' ───────────────────────────────────────────────',
65
+ '',
66
+ ];
67
+ for (const line of lines) console.log(line);
68
+ }