ccgather 1.3.21 → 1.3.23
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 +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -596,8 +596,8 @@ function createProfessionalHeader() {
|
|
|
596
596
|
lines.push(colors.dim(` ${v}`) + l + " ".repeat(Math.max(0, HEADER_WIDTH - stripAnsi(l).length)) + colors.dim(v));
|
|
597
597
|
}
|
|
598
598
|
const versionStr = `v${VERSION}`;
|
|
599
|
-
const versionPad = HEADER_WIDTH - versionStr.length -
|
|
600
|
-
lines.push(colors.dim(` ${v}`) + " ".repeat(versionPad) + colors.dim(versionStr) + "
|
|
599
|
+
const versionPad = HEADER_WIDTH - versionStr.length - 3;
|
|
600
|
+
lines.push(colors.dim(` ${v}`) + " ".repeat(versionPad) + colors.dim(versionStr) + " " + colors.dim(v));
|
|
601
601
|
lines.push(colors.dim(` ${boxRound.leftT}${h.repeat(HEADER_WIDTH)}${boxRound.rightT}`));
|
|
602
602
|
lines.push(colors.dim(` ${v}`) + centerText(colors.muted("Where Claude Code Developers Gather"), HEADER_WIDTH) + colors.dim(v));
|
|
603
603
|
lines.push(colors.dim(` ${v}`) + centerText(colors.dim("Gather \xB7 Compete \xB7 Rise"), HEADER_WIDTH) + colors.dim(v));
|
|
@@ -938,9 +938,12 @@ async function submit(options) {
|
|
|
938
938
|
if (result.badgeProgress && result.badgeProgress.length > 0) {
|
|
939
939
|
displayBadgeProgress(result.badgeProgress, result.totalBadges || 0);
|
|
940
940
|
}
|
|
941
|
+
const levelInfo = getLevelInfo(usageData.totalTokens);
|
|
941
942
|
const leaderboardUrl = `https://ccgather.com/leaderboard?u=${username}`;
|
|
942
943
|
const successLines = [
|
|
943
944
|
`${colors.success("\u2713")} ${colors.white.bold("Submission Complete!")}`,
|
|
945
|
+
"",
|
|
946
|
+
`${levelInfo.icon} ${levelInfo.color(`Level ${levelInfo.level}`)} ${colors.muted("\u2022")} ${colors.white(levelInfo.name)}`,
|
|
944
947
|
""
|
|
945
948
|
];
|
|
946
949
|
if (result.rank) {
|