honeytree 1.2.5 → 1.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "honeytree",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "code with claude, and watch your forest grow! ",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,7 +11,6 @@ const STATS_TEXT = "#8e8a84";
11
11
  const STATS_WARN = "#c4653a";
12
12
  const STREAK_COLOR = "#e8a33a";
13
13
  const BAR_FILL = "#6cb95e";
14
- const BAR_EMPTY = "#3d3d3d";
15
14
 
16
15
  export default function StatsBar({ forest, viewportX, termWidth, rewards }) {
17
16
  const vw = getVirtualWidth(forest.trees.length, termWidth);
@@ -20,9 +19,6 @@ export default function StatsBar({ forest, viewportX, termWidth, rewards }) {
20
19
  [forest, viewportX, vw, termWidth],
21
20
  );
22
21
 
23
- const barWidth = 12;
24
- const filledWidth = Math.max(0, Math.min(barWidth, Math.round(stats.progress * barWidth)));
25
-
26
22
  // Minimap
27
23
  let minimap = null;
28
24
  if (stats.virtualWidth > stats.termWidth) {
@@ -55,11 +51,6 @@ export default function StatsBar({ forest, viewportX, termWidth, rewards }) {
55
51
  h(Text, { color: STATS_ACCENT }, " honeytree"),
56
52
  h(Text, { color: STATS_TEXT }, ` · ${stats.treeCount} tree${stats.treeCount === 1 ? "" : "s"} · `),
57
53
  streakSegment,
58
- h(Text, { color: STATS_TEXT }, " · "),
59
- h(Text, { color: BAR_FILL }, "█".repeat(filledWidth)),
60
- h(Text, { color: BAR_EMPTY }, "░".repeat(barWidth - filledWidth)),
61
- h(Text, { color: STATS_TEXT }, ` next: ${stats.nextTreeType}`),
62
- h(Text, { color: "#555555" }, ` [${stats.biomeName}]`),
63
54
  minimap,
64
55
  ),
65
56
  h(Box, null,