ccgather 2.0.37 → 2.0.38
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 +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -266,7 +266,7 @@ var init_ui = __esm({
|
|
|
266
266
|
"use strict";
|
|
267
267
|
import_chalk = __toESM(require("chalk"));
|
|
268
268
|
import_string_width = __toESM(require("string-width"));
|
|
269
|
-
VERSION = true ? "2.0.
|
|
269
|
+
VERSION = true ? "2.0.38" : "0.0.0";
|
|
270
270
|
colors = {
|
|
271
271
|
primary: import_chalk.default.hex("#DA7756"),
|
|
272
272
|
// Claude coral
|
|
@@ -1455,7 +1455,8 @@ async function submit(options) {
|
|
|
1455
1455
|
console.log();
|
|
1456
1456
|
const sectionHeader = (icon, title) => {
|
|
1457
1457
|
const text = `${icon} ${title} `;
|
|
1458
|
-
const
|
|
1458
|
+
const textWidth = getDisplayWidth(text);
|
|
1459
|
+
const lineLength = 48 - textWidth;
|
|
1459
1460
|
return ` ${colors.white.bold(text)}${colors.dim("\u2500".repeat(Math.max(0, lineLength)))}`;
|
|
1460
1461
|
};
|
|
1461
1462
|
const accumulatedTokens = result.previous?.totalTokens || usageData.totalTokens;
|
|
@@ -1522,7 +1523,7 @@ async function submit(options) {
|
|
|
1522
1523
|
}
|
|
1523
1524
|
}
|
|
1524
1525
|
console.log();
|
|
1525
|
-
console.log(sectionHeader("\u2B06\uFE0F", "Level Progress"));
|
|
1526
|
+
console.log(sectionHeader("\u2B06\uFE0F ", "Level Progress"));
|
|
1526
1527
|
console.log();
|
|
1527
1528
|
console.log(
|
|
1528
1529
|
` ${colors.muted("Lv.")}${colors.white(String(currentLevel.level))} ${currentLevel.icon} ${currentLevel.color(currentLevel.name)}`
|