gnosys 5.1.0 → 5.1.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/cli.js CHANGED
@@ -550,6 +550,17 @@ program
550
550
  console.log(` .config/ (internal config)`);
551
551
  console.log(` tags.json (tag registry)`);
552
552
  }
553
+ // Configure IDE hooks for automatic memory recall
554
+ const { configureIdeHooks } = await import("./lib/projectIdentity.js");
555
+ const hookResult = await configureIdeHooks(targetDir);
556
+ if (hookResult.configured) {
557
+ console.log(`\nIDE hooks (${hookResult.ide}):`);
558
+ console.log(` ${hookResult.details}`);
559
+ console.log(` File: ${hookResult.filePath}`);
560
+ }
561
+ else {
562
+ console.log(`\nIDE hooks: ${hookResult.details}`);
563
+ }
553
564
  console.log(`\nStart adding memories with: gnosys add "your knowledge here"`);
554
565
  });
555
566
  // ─── gnosys migrate ─────────────────────────────────────────────────────
@@ -2424,6 +2435,9 @@ program
2424
2435
  }
2425
2436
  centralDb.close();
2426
2437
  }
2438
+ // Configure IDE hooks for automatic memory recall
2439
+ const { configureIdeHooks } = await import("./lib/projectIdentity.js");
2440
+ await configureIdeHooks(projectDir);
2427
2441
  upgraded.push(projectDir);
2428
2442
  }
2429
2443
  catch (err) {