@cortexa/core 1.0.0 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortexa/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "The intelligence layer that turns any database into a self-analyzing, self-explaining system.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -36,12 +36,14 @@ const LINE_COLORS = [
36
36
  ];
37
37
 
38
38
  try {
39
- process.stdout.write('\n');
39
+ // Build the full banner as a single string to maximize chances npm displays it
40
+ let banner = '\n';
40
41
  for (let i = 0; i < LOGO_LINES.length; i++) {
41
- process.stdout.write(` ${BOLD}${gradientLine(LOGO_LINES[i], LINE_COLORS[i][0], LINE_COLORS[i][1])}\n`);
42
+ banner += ` ${BOLD}${gradientLine(LOGO_LINES[i], LINE_COLORS[i][0], LINE_COLORS[i][1])}\n`;
42
43
  }
43
- process.stdout.write(`\n ${DIM}The intelligence layer between data and decisions.${RESET}\n`);
44
- process.stdout.write(` ${DIM}Get started: npx cortexa init${RESET}\n\n`);
44
+ banner += `\n ${DIM}The intelligence layer between data and decisions.${RESET}\n`;
45
+ banner += ` ${DIM}Get started: npx cortexa init${RESET}\n`;
46
+ console.log(banner);
45
47
  } catch {
46
48
  // Silently ignore - postinstall banners should never fail the install
47
49
  }