polymath-society 0.2.15 → 0.2.16

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.js +5 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2540,7 +2540,8 @@ function makeMultiBar(out = process.stderr) {
2540
2540
  };
2541
2541
  const paint = () => {
2542
2542
  if (!tty) return;
2543
- const r = rows();
2543
+ const width = Math.max(20, out.columns || 80);
2544
+ const r = rows().map((row) => row.length >= width ? row.slice(0, width - 2) + "\u2026" : row);
2544
2545
  out.write(r.join("\n"));
2545
2546
  paintedRows = r.length;
2546
2547
  };
@@ -2604,7 +2605,9 @@ function makeProgressBar(out = process.stderr) {
2604
2605
  };
2605
2606
  const paint = () => {
2606
2607
  if (!tty) return;
2607
- out.write(CLEAR + bar());
2608
+ const width = Math.max(20, out.columns || 80);
2609
+ const b = bar();
2610
+ out.write(CLEAR + (b.length >= width ? b.slice(0, width - 2) + "\u2026" : b));
2608
2611
  painted = true;
2609
2612
  };
2610
2613
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polymath-society",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "Deterministic metrics from your local Claude Code / Codex agent logs — parallelism, flow, throughput, projects. Zero LLM, zero server, on-device.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",