pi-spark 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.
Binary file
@@ -23,7 +23,7 @@ export function renderError(theme: Theme, message: string): string {
23
23
  }
24
24
 
25
25
  function renderLane(theme: Theme, label: string, percent: number | undefined): string {
26
- const text = `${label} ${percent === undefined ? "?" : percent.toFixed(1)}%`;
26
+ const text = `${label} ${percent === undefined ? "?" : percent.toFixed(0)}%`;
27
27
 
28
28
  if (percent && percent > 90) return theme.fg("error", text);
29
29
  if (percent && percent > 70) return theme.fg("warning", text);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-spark",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "A small, opinionated collection of pi extensions",
5
5
  "keywords": [
6
6
  "pi-coding-agent",