ccgather 1.3.14 → 1.3.16
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/index.js +8 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -509,7 +509,7 @@ function getVersion() {
|
|
|
509
509
|
const pkg2 = JSON.parse((0, import_fs.readFileSync)(pkgPath, "utf-8"));
|
|
510
510
|
return pkg2.version;
|
|
511
511
|
} catch {
|
|
512
|
-
return "1.3.
|
|
512
|
+
return "1.3.16";
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
var VERSION = getVersion();
|
|
@@ -573,7 +573,7 @@ var box = {
|
|
|
573
573
|
leftT: "\u251C",
|
|
574
574
|
rightT: "\u2524"
|
|
575
575
|
};
|
|
576
|
-
var HEADER_WIDTH =
|
|
576
|
+
var HEADER_WIDTH = 40;
|
|
577
577
|
function centerText(text, width) {
|
|
578
578
|
const len = stripAnsi(text).length;
|
|
579
579
|
const pad = width - len;
|
|
@@ -589,15 +589,16 @@ 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 topRightText = colors.secondary("gather ") + colors.dim(`v${VERSION}`);
|
|
593
|
+
lines.push(colors.dim(` ${v}`) + rightAlignText(topRightText, HEADER_WIDTH - 1) + " " + colors.dim(v));
|
|
592
594
|
const logoLines = [
|
|
593
|
-
` ${colors.primary("\
|
|
594
|
-
` ${colors.primary("\u2588\
|
|
595
|
+
` ${colors.primary("\u2584\u2588\u2580\u2580 \u2584\u2588\u2580\u2580")} `,
|
|
596
|
+
` ${colors.primary("\u2588 \u2588 ")} `,
|
|
597
|
+
` ${colors.primary("\u2580\u2588\u2584\u2584 \u2580\u2588\u2584\u2584")} `
|
|
595
598
|
];
|
|
596
599
|
for (const l of logoLines) {
|
|
597
|
-
lines.push(colors.dim(` ${v}`) +
|
|
600
|
+
lines.push(colors.dim(` ${v}`) + l + " ".repeat(HEADER_WIDTH - stripAnsi(l).length) + colors.dim(v));
|
|
598
601
|
}
|
|
599
|
-
const versionText = colors.dim(`v${VERSION}`);
|
|
600
|
-
lines.push(colors.dim(` ${v}`) + rightAlignText(versionText, HEADER_WIDTH - 1) + " " + colors.dim(v));
|
|
601
602
|
lines.push(colors.dim(` ${boxRound.leftT}${h.repeat(HEADER_WIDTH)}${boxRound.rightT}`));
|
|
602
603
|
lines.push(colors.dim(` ${v}`) + centerText(colors.muted("Where Claude Code Developers Gather"), HEADER_WIDTH) + colors.dim(v));
|
|
603
604
|
lines.push(colors.dim(` ${v}`) + centerText(colors.dim("Gather \xB7 Compete \xB7 Rise"), HEADER_WIDTH) + colors.dim(v));
|