@xsft/panels 0.5.1 → 0.5.2

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/table.js +2 -2
  2. package/package.json +1 -1
package/lib/table.js CHANGED
@@ -57,7 +57,7 @@ export function render({ title, rows, final, confirm, width, frame = 0 }) {
57
57
  else if (r.state === 'running') lines.push(`${String(r.rank).padStart(3)} ${glimmer(r.name, frame)}`);
58
58
  else if (r.state === 'queued') lines.push(`${head}${GREY}queued${RESET}`);
59
59
  else if (r.state === 'error') lines.push(`${head}error`);
60
- else lines.push(`${head}${r.result.score} ${GREY}b${r.result.band}${RESET}`);
60
+ else lines.push(`${head}${r.result.score}/4`);
61
61
  }
62
62
  lines.push(rule);
63
63
  if (final) {
@@ -81,7 +81,7 @@ export function renderStrip({ rows, view, final, frame = 0, width, focus = 'stri
81
81
  if (r.state === 'running') return r.trust ? '!' : '';
82
82
  if (r.state === 'queued') return '·';
83
83
  if (r.state === 'error') return '✗';
84
- return String(r.result.score);
84
+ return `${r.result.score}/4`;
85
85
  };
86
86
  const finished = rows.filter((r) => r.state === 'done' || r.state === 'error').length;
87
87
  const clock = `${Math.floor(elapsed / 60)}:${String(elapsed % 60).padStart(2, '0')}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsft/panels",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "private": false,
5
5
  "description": "Run a panel of AI judges from cross.software/panels against a target.",
6
6
  "type": "module",