@eminent337/aery 0.1.19 → 0.1.21

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.
@@ -615,6 +615,8 @@ export class InteractiveMode {
615
615
  // Fresh install - record the version, send telemetry, don't show changelog
616
616
  this.settingsManager.setLastChangelogVersion(VERSION);
617
617
  this.reportInstallTelemetry(VERSION);
618
+ // Auto-install core extension pack on fresh install
619
+ this.installCorePackIfNeeded();
618
620
  return undefined;
619
621
  }
620
622
  const newEntries = getNewEntries(entries, lastVersion);
@@ -638,6 +640,22 @@ export class InteractiveMode {
638
640
  .then(() => undefined)
639
641
  .catch(() => undefined);
640
642
  }
643
+ installCorePackIfNeeded() {
644
+ // Fire-and-forget: install core extension pack on fresh install
645
+ void (async () => {
646
+ try {
647
+ const { execFile } = await import("node:child_process");
648
+ const { promisify } = await import("node:util");
649
+ const exec = promisify(execFile);
650
+ await exec("aery", ["install", "https://github.com/eminent337/aery-extensions"], {
651
+ timeout: 30000,
652
+ });
653
+ }
654
+ catch {
655
+ // Silent fail — user can install manually
656
+ }
657
+ })();
658
+ }
641
659
  getMarkdownThemeWithSettings() {
642
660
  return {
643
661
  ...getMarkdownTheme(),