opencode-statboard 2.10.5 → 2.10.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tui-dashboard.js +6 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-statboard",
3
- "version": "2.10.5",
3
+ "version": "2.10.7",
4
4
  "description": "Real-time dashboard for opencode token usage and cost statistics",
5
5
  "main": "server.js",
6
6
  "bin": {
package/tui-dashboard.js CHANGED
@@ -325,7 +325,7 @@ class TUIServer {
325
325
  top: 0,
326
326
  left: 0,
327
327
  width: '100%',
328
- height: 2,
328
+ height: 3,
329
329
  tags: true,
330
330
  border: { type: 'line' },
331
331
  style: { border: { fg: 'cyan' } },
@@ -333,8 +333,8 @@ class TUIServer {
333
333
  });
334
334
 
335
335
  this.layout.main = blessed.box({
336
- top: 2,
337
- bottom: 2,
336
+ top: 3,
337
+ bottom: 3,
338
338
  left: 0,
339
339
  width: '100%',
340
340
  tags: true,
@@ -351,7 +351,7 @@ class TUIServer {
351
351
  bottom: 0,
352
352
  left: 0,
353
353
  width: '100%',
354
- height: 2,
354
+ height: 3,
355
355
  tags: true,
356
356
  border: { type: 'line' },
357
357
  style: { border: { fg: 'green' } },
@@ -410,7 +410,7 @@ class TUIServer {
410
410
  getContentHeight() {
411
411
  const mainHeight = this.layout.main.height;
412
412
  if (typeof mainHeight === 'number') return mainHeight - 2;
413
- return this.screen.height - 6; // header(2) + footer(2) + borders(2)
413
+ return this.screen.height - 8; // header(3) + footer(3) + borders(2)
414
414
  }
415
415
 
416
416
  render() {
@@ -638,8 +638,7 @@ class TUIServer {
638
638
  out += line + '\n';
639
639
  }
640
640
 
641
- out += '\n{gray}Less \u2591\u2591\u2592\u2592\u2593\u2593\u2588\u2588 More (max: ' + this.formatNumber(max) + '){/gray}';
642
- return out;
641
+ out += '\n{gray}Less {cyan-fg}\u00B7\u00B7{/}{green-fg}\u2591\u2591{/}{yellow-fg}\u2592\u2592{/}{magenta-fg}\u2593\u2593{/}{red-fg}\u2588\u2588{/} More (max: ' + this.formatNumber(max) + '){/gray}';
643
642
  return out;
644
643
  }
645
644