sharkcode 0.3.5 → 0.3.6

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/dist/cli.mjs +6 -4
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -502,17 +502,19 @@ var GLYPHS = {
502
502
  };
503
503
  function renderWord(word, padLeft = 2) {
504
504
  const letters = word.toUpperCase().split("").map((c) => GLYPHS[c]);
505
+ const ON = chalk3.bgHex("#a855f7")(" ");
506
+ const OFF = " ";
505
507
  const rows = [];
506
508
  for (let row = 0; row < 5; row++) {
507
509
  let line = " ".repeat(padLeft);
508
510
  for (let i = 0; i < letters.length; i++) {
509
511
  const letter = letters[i];
510
512
  for (let col = 0; col < letter[row].length; col++) {
511
- line += letter[row][col] ? "\u2588\u2588" : " ";
513
+ line += letter[row][col] ? ON : OFF;
512
514
  }
513
- if (i < letters.length - 1) line += " ";
515
+ if (i < letters.length - 1) line += OFF;
514
516
  }
515
- rows.push(PURPLE3(line));
517
+ rows.push(line);
516
518
  }
517
519
  return rows;
518
520
  }
@@ -691,7 +693,7 @@ async function main() {
691
693
  return;
692
694
  }
693
695
  if (args[0] === "--version" || args[0] === "-v") {
694
- console.log("sharkcode v0.3.5");
696
+ console.log("sharkcode v0.3.6");
695
697
  return;
696
698
  }
697
699
  if (args.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sharkcode",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Local First, open-source AI Coding Agent",
5
5
  "type": "module",
6
6
  "bin": {