bravecode-cli 0.1.6 → 0.1.7

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/cli.cjs CHANGED
@@ -40731,7 +40731,7 @@ async function startSimpleTUI(model, agentId) {
40731
40731
  const bannerLines = BANNER.trim().split("\n");
40732
40732
  const maxBannerWidth = Math.max(...bannerLines.map((l) => l.length));
40733
40733
  const bannerPadding = Math.max(0, Math.floor((termWidth - maxBannerWidth) / 2));
40734
- console.log("\n".repeat(3));
40734
+ console.log("\n".repeat(2));
40735
40735
  for (const line of bannerLines) {
40736
40736
  console.log(" ".repeat(bannerPadding) + "\x1B[1m\x1B[37m" + line + "\x1B[0m");
40737
40737
  }
@@ -40754,9 +40754,6 @@ async function startSimpleTUI(model, agentId) {
40754
40754
  input: process.stdin,
40755
40755
  output: process.stdout
40756
40756
  });
40757
- if (process.stdin.isTTY) {
40758
- process.stdin.setRawMode(true);
40759
- }
40760
40757
  const prompt = () => {
40761
40758
  rl.question("\x1B[36m>\x1B[0m ", async (input) => {
40762
40759
  const trimmed = input.trim();
@@ -40801,11 +40798,11 @@ var init_simple_tui = __esm({
40801
40798
  init_tool();
40802
40799
  init_agent();
40803
40800
  BANNER = `
40804
- ____ _ _____________
40805
- / __ )________ ____ ___ ____| | / /__ /__ /
40806
- / __ / ___/ _ \\/ __ \\/ __ \\/ |/ / / /_ / / /
40807
- / /_/ / / / __/ /_/ / / / /| / / __/ / / /_
40808
- /_____/_/ \\___/\\____/_/ /_/_/|_/ /____/ /____/
40801
+ ____ _ __ __ ____ _ __
40802
+ | __ ) _ __ _____ _(_)___/ /__ / / | __ )_ __(_)___ ____ _/ /_____ _____
40803
+ | _ \\| '__/ _ \\ \\ / / / __/ //_/ / / | _ \\| '__/ __ \\ / __ \`/ __/ __ \\/ ___/
40804
+ | |_) | | | (_) \\ V / / /__/ , < / / | |_) | | | / / / / /_/ / /_/ /_/ / /
40805
+ |____/|_| \\___/ \\_/_/\\___/_/|_| /_/ |____/|_| /_/ /_/\\__,_/\\__/\\____/_/
40809
40806
  `;
40810
40807
  }
40811
40808
  });
@@ -41432,11 +41429,11 @@ var import_fs9 = require("fs");
41432
41429
  var import_path7 = require("path");
41433
41430
  var program2 = new Command();
41434
41431
  var BANNER2 = `
41435
- ____ _ _____________
41436
- / __ )________ ____ ___ ____| | / /__ /__ /
41437
- / __ / ___/ _ \\/ __ \\/ __ \\/ |/ / / /_ / / /
41438
- / /_/ / / / __/ /_/ / / / /| / / __/ / / /_
41439
- /_____/_/ \\___/\\____/_/ /_/_/|_/ /____/ /____/
41432
+ ____ _ __ __ ____ _ __
41433
+ | __ ) _ __ _____ _(_)___/ /__ / / | __ )_ __(_)___ ____ _/ /_____ _____
41434
+ | _ \\| '__/ _ \\ \\ / / / __/ //_/ / / | _ \\| '__/ __ \\ / __ \`/ __/ __ \\/ ___/
41435
+ | |_) | | | (_) \\ V / / /__/ , < / / | |_) | | | / / / / /_/ / /_/ /_/ / /
41436
+ |____/|_| \\___/ \\_/_/\\___/_/|_| /_/ |____/|_| /_/ /_/\\__,_/\\__/\\____/_/
41440
41437
  `;
41441
41438
  program2.name("bravecode").description("BraveCode AI - Agentic AI Vibe Coding CLI with free model support").version("0.1.2").action(async () => {
41442
41439
  console.log(BANNER2);