blun-king-cli 7.2.9 → 7.2.11

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/lib/chat.js +8 -8
  2. package/package.json +1 -1
package/lib/chat.js CHANGED
@@ -40,7 +40,7 @@ var SLASH_COMMANDS = [
40
40
  var slashNames = SLASH_COMMANDS.map(function (c) { return c[0]; });
41
41
 
42
42
  // ── Layout Constants ─────────────────────────────────────
43
- var INPUT_PANEL_HEIGHT = 8; // 3 gap + top-frame + input + blank + status + bottom-frame
43
+ var INPUT_PANEL_HEIGHT = 6; // 1 gap + top-frame + input + blank + status + bottom-frame
44
44
 
45
45
  function getRows() { return process.stdout.rows || 24; }
46
46
  function getCols() { return process.stdout.columns || 80; }
@@ -600,17 +600,17 @@ function startChat() {
600
600
  // Wait a tick for all console.log output to flush, then enter TUI mode
601
601
  return new Promise(function (resolveChat) {
602
602
  setTimeout(function () {
603
- // Clear screen and redraw essential info in scroll area
603
+ // Clear screen, draw banner, then enter TUI mode
604
604
  console.clear();
605
- setupLayout();
606
-
607
- // Print banner + info into scroll region
605
+ // Render banner in normal mode first (before scroll region)
606
+ ui.renderBanner();
608
607
  var creds2 = auth.getStoredCredentials();
609
- printToScrollArea(chalk.cyan.bold(" BLUN King CLI") + chalk.dim(" │ ") + chalk.green("v" + require("../package.json").version) + chalk.dim(" │ ") + chalk.yellow("Multi-KI Engine"));
610
608
  if (creds2) {
611
- printToScrollArea(chalk.yellow(" [SYS] Connected as " + (creds2.name || creds2.email || "user") + " | Plan: " + (creds2.plan || "free")));
609
+ console.log(chalk.yellow(" [SYS] Connected as " + (creds2.name || creds2.email || "user") + " | Plan: " + (creds2.plan || "free")));
612
610
  }
613
- printToScrollArea(chalk.dim(" Type your message or / for commands. Tab for autocomplete.\n"));
611
+ console.log(chalk.dim(" Type your message or / for commands. Tab for autocomplete.\n"));
612
+ // Now set up scroll region below existing content
613
+ setupLayout();
614
614
 
615
615
  drawInputPanel();
616
616
  startRawInput();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "7.2.9",
3
+ "version": "7.2.11",
4
4
  "description": "BLUN AI Assistant - Command Line Interface",
5
5
  "bin": {
6
6
  "blun": "./bin/blun.js"