ccgather 2.0.24 → 2.0.25
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 +2 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -308,7 +308,7 @@ var init_ui = __esm({
|
|
|
308
308
|
"use strict";
|
|
309
309
|
import_chalk = __toESM(require("chalk"));
|
|
310
310
|
import_string_width = __toESM(require("string-width"));
|
|
311
|
-
VERSION = true ? "2.0.
|
|
311
|
+
VERSION = true ? "2.0.25" : "0.0.0";
|
|
312
312
|
colors = {
|
|
313
313
|
primary: import_chalk.default.hex("#DA7756"),
|
|
314
314
|
// Claude coral
|
|
@@ -1475,18 +1475,9 @@ async function submit(options) {
|
|
|
1475
1475
|
console.log();
|
|
1476
1476
|
console.log(sectionHeader("\u2B06\uFE0F", "Level Progress"));
|
|
1477
1477
|
console.log();
|
|
1478
|
-
const previousTokens = result.previous?.totalTokens || 0;
|
|
1479
|
-
const previousLevelInfo = getLevelProgress(previousTokens);
|
|
1480
|
-
const previousLevelNum = previousLevelInfo.current.level;
|
|
1481
|
-
const serverLevel = result.currentLevel || currentLevel.level;
|
|
1482
|
-
let levelChangeText = "";
|
|
1483
|
-
if (previousTokens > 0 && serverLevel > previousLevelNum) {
|
|
1484
|
-
const levelChange = serverLevel - previousLevelNum;
|
|
1485
|
-
levelChangeText = ` ${colors.success(`\u2191${levelChange}`)}`;
|
|
1486
|
-
}
|
|
1487
1478
|
await sleep(200);
|
|
1488
1479
|
console.log(
|
|
1489
|
-
` ${colors.muted("Lv.")}${colors.white(String(currentLevel.level))} ${currentLevel.icon} ${currentLevel.color(currentLevel.name)}
|
|
1480
|
+
` ${colors.muted("Lv.")}${colors.white(String(currentLevel.level))} ${currentLevel.icon} ${currentLevel.color(currentLevel.name)}`
|
|
1490
1481
|
);
|
|
1491
1482
|
if (!levelProgress.isMaxLevel && levelProgress.next) {
|
|
1492
1483
|
await animatedProgressBar(levelProgress.progress, 20, 30);
|