blun-king-cli 9.1.2 → 9.1.3

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/blun.mjs +4 -3
  2. package/package.json +1 -1
package/blun.mjs CHANGED
@@ -499443,8 +499443,9 @@ var FooterComponent = class {
499443
499443
  const leftLine = left.join(" ");
499444
499444
  const leftWidth = visibleWidth(leftLine);
499445
499445
  const context = contextMetrics(state);
499446
- const contextText = formatContextStatus(context.usage, context.tokens, context.maxTokens, colors, width);
499447
- const right = this.transientHint && this.compactionAttemptStartedAtMs === null ? chalk.hex(colors.warning).bold(this.transientHint) : chalk.hex(colors.text)(contextText);
499446
+ const isCompacting = this.compactionAttemptStartedAtMs !== null;
499447
+ const contextText = isCompacting ? formatCompactionStatus(Math.max(0, Date.now() - this.compactionAttemptStartedAtMs), this.compactionEstimatedInputTokens, colors, width) : formatContextStatus(context.usage, context.tokens, context.maxTokens, colors, width);
499448
+ const right = this.transientHint && !isCompacting ? chalk.hex(colors.warning).bold(this.transientHint) : chalk.hex(colors.text)(contextText);
499448
499449
  const rightWidth = visibleWidth(right);
499449
499450
  let line1;
499450
499451
  if (leftWidth + 2 + rightWidth <= width) {
@@ -499456,7 +499457,7 @@ var FooterComponent = class {
499456
499457
  line1 = shownLeft + " ".repeat(pad) + right;
499457
499458
  }
499458
499459
  const quotaLines = state.managedQuotaWindows === void 0 ? [] : formatManagedQuotaFooterLines(state.managedQuotaWindows, colors, width);
499459
- const compactionLines = this.compactionAttemptStartedAtMs === null ? [] : [formatCompactionStatus(Math.max(0, Date.now() - this.compactionAttemptStartedAtMs), this.compactionEstimatedInputTokens, colors, width)];
499460
+ const compactionLines = [];
499460
499461
  return [
499461
499462
  truncateToWidth(line1, width),
499462
499463
  ...compactionLines,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.2",
3
+ "version": "9.1.3",
4
4
  "description": "BLUN CLI - your own AI agent with a Telegram channel. Get it done. With BLUN.",
5
5
  "license": "MIT",
6
6
  "bin": {