ccgather 1.3.17 → 1.3.18

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -573,7 +573,7 @@ var box = {
573
573
  leftT: "\u251C",
574
574
  rightT: "\u2524"
575
575
  };
576
- var HEADER_WIDTH = 42;
576
+ var HEADER_WIDTH = 46;
577
577
  function centerText(text, width) {
578
578
  const len = stripAnsi(text).length;
579
579
  const pad = width - len;
@@ -589,21 +589,24 @@ function createProfessionalHeader() {
589
589
  const v = boxRound.vertical;
590
590
  const h = boxRound.horizontal;
591
591
  lines.push(colors.dim(` ${boxRound.topLeft}${h.repeat(HEADER_WIDTH)}${boxRound.topRight}`));
592
- const versionText = colors.dim(`v${VERSION}`);
593
- lines.push(colors.dim(` ${v}`) + rightAlignText(versionText, HEADER_WIDTH - 1) + " " + colors.dim(v));
594
592
  const logoLines = [
595
- ` ${colors.primary("\u2584\u2588\u2580\u2580 \u2584\u2588\u2580\u2580")} `,
596
- ` ${colors.primary("\u2588 \u2588 ")} ${colors.secondary("\u2584\u2580\u2580\u2584 \u2584\u2580\u2580\u2584 \u2580\u2588\u2580 \u2588\u2584\u2588 \u2584\u2580\u2580 \u2588\u2580\u2584")}`,
597
- ` ${colors.primary("\u2580\u2588\u2584\u2584 \u2580\u2588\u2584\u2584")} ${colors.secondary("\u2580\u2584\u2584\u2580 \u2580\u2584\u2584\u2580 \u2591\u2588\u2591 \u2588 \u2588 \u2580\u2580\u2580 \u2588 \u2588")}`
593
+ ` ${colors.primary("\u2584\u2588\u2580\u2580 \u2584\u2588\u2580\u2580")} ${colors.secondary("\u2584\u2588\u2580\u2580 \u2584\u2588\u2580\u2588\u2584 \u2580\u2588\u2580 \u2588 \u2588 \u2588\u2580\u2580 \u2588\u2580\u2588")} `,
594
+ ` ${colors.primary("\u2588 \u2588 ")} ${colors.secondary("\u2588 \u2580\u2588 \u2588\u2580\u2580\u2588\u2580 \u2588 \u2588\u2580\u2580\u2588 \u2588\u2580\u2580 \u2588\u2588\u2580")} `,
595
+ ` ${colors.primary("\u2580\u2588\u2584\u2584 \u2580\u2588\u2584\u2584")} ${colors.secondary("\u2580\u2588\u2584\u2584\u2580 \u2588 \u2588 \u2588 \u2588 \u2588 \u2588\u2584\u2584 \u2588 \u2588")} `
598
596
  ];
599
597
  for (const l of logoLines) {
600
598
  lines.push(colors.dim(` ${v}`) + l + " ".repeat(Math.max(0, HEADER_WIDTH - stripAnsi(l).length)) + colors.dim(v));
601
599
  }
600
+ const versionText = colors.dim(`v${VERSION}`);
601
+ lines.push(colors.dim(` ${v}`) + rightAlignText(versionText, HEADER_WIDTH - 1) + " " + colors.dim(v));
602
602
  lines.push(colors.dim(` ${boxRound.leftT}${h.repeat(HEADER_WIDTH)}${boxRound.rightT}`));
603
603
  lines.push(colors.dim(` ${v}`) + centerText(colors.muted("Where Claude Code Developers Gather"), HEADER_WIDTH) + colors.dim(v));
604
604
  lines.push(colors.dim(` ${v}`) + centerText(colors.dim("Gather \xB7 Compete \xB7 Rise"), HEADER_WIDTH) + colors.dim(v));
605
- lines.push(colors.dim(` ${v}`) + centerText(colors.cyan("ccgather.com"), HEADER_WIDTH) + colors.dim(v));
606
- lines.push(colors.dim(` ${boxRound.bottomLeft}${h.repeat(HEADER_WIDTH)}${boxRound.bottomRight}`));
605
+ lines.push(colors.dim(` ${v}`) + " ".repeat(HEADER_WIDTH) + colors.dim(v));
606
+ const siteText = " \u{1F310} ccgather.com ";
607
+ const leftDashes = 13;
608
+ const rightDashes = HEADER_WIDTH - leftDashes - siteText.length;
609
+ lines.push(colors.dim(` ${boxRound.bottomLeft}${h.repeat(leftDashes)}`) + colors.secondary(siteText) + colors.dim(`${h.repeat(rightDashes)}${boxRound.bottomRight}`));
607
610
  return lines;
608
611
  }
609
612
  function createBox(lines, width = 47) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccgather",
3
- "version": "1.3.17",
3
+ "version": "1.3.18",
4
4
  "description": "CLI tool for syncing Claude Code usage data to CCgather leaderboard",
5
5
  "bin": {
6
6
  "ccgather": "dist/index.js",