prior-cli 1.4.1 → 1.4.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/bin/prior.js +1 -1
  2. package/package.json +1 -1
package/bin/prior.js CHANGED
@@ -408,7 +408,7 @@ function renderToolDone(name, summary, preview) {
408
408
  const more = lines.length - toShow.length;
409
409
  if (toShow.length > 0) {
410
410
  drawBox([
411
- ...toShow.map(l => ({ text: l.slice(0, 80), dim: true })),
411
+ ...toShow.map(l => ({ text: l.replace(/\r/g, '').slice(0, 80), dim: true })),
412
412
  ...(more > 0 ? [{ text: `… ${more} more line${more !== 1 ? 's' : ''}`, dim: true }] : []),
413
413
  ]);
414
414
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prior-cli",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Prior Network AI — command-line interface",
5
5
  "bin": {
6
6
  "prior": "bin/prior.js"