@xynogen/pix-pretty 1.7.20 → 1.7.21

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-pretty",
3
- "version": "1.7.20",
3
+ "version": "1.7.21",
4
4
  "description": "Enhanced tool output rendering with syntax highlighting, file icons, tree views, diff rendering, and FFF search",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/src/utils.test.ts CHANGED
@@ -43,9 +43,8 @@ describe("collapsed tool rows", () => {
43
43
  expect(formatCollapsedToolRow(rowTheme, "read", "src/a.ts", "12 lines")).toBe(
44
44
  "✓ read src/a.ts · 12 lines",
45
45
  );
46
- expect(plain(renderCollapsedToolRow(rowTheme, "read", "src/a.ts", "12 lines"))).toContain(
47
- "✓ read src/a.ts · 12 lines",
48
- );
46
+ const rendered = plain(renderCollapsedToolRow(rowTheme, "read", "src/a.ts", "12 lines"));
47
+ expect(rendered).toStartWith("✓ read src/a.ts · 12 lines");
49
48
  });
50
49
 
51
50
  it("hides only collapsed, non-expanded call rows", () => {
package/src/utils.ts CHANGED
@@ -87,7 +87,7 @@ export function renderCollapsedToolRow(
87
87
  meta = "",
88
88
  status: CollapsedToolStatus = "success",
89
89
  ): string {
90
- return fillToolBackground(` ${formatCollapsedToolRow(theme, tool, target, meta, status)}`);
90
+ return fillToolBackground(formatCollapsedToolRow(theme, tool, target, meta, status));
91
91
  }
92
92
 
93
93
  /** Hide renderCall after its paired result has auto-collapsed. */