pi-ui-extend 0.1.49 → 0.1.50

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.
@@ -19,7 +19,7 @@ export function renderToolBlock(entry, rule, width, colors, options = {}) {
19
19
  const expanded = entry.expanded;
20
20
  const stateIcon = toolStatusIcon(entry);
21
21
  const toolColor = options.headerColorOverride ?? resolveColor(rule.color, colors);
22
- const toolOutputColor = toolColor;
22
+ const toolOutputColor = colors.statusForeground;
23
23
  const headerLabel = (entry.headerLabel ?? entry.toolName).toLowerCase();
24
24
  const bg = options.backgroundOverride;
25
25
  const applyBackground = bg ? (lines) => { for (const line of lines)
@@ -39,6 +39,7 @@ export function renderToolBlock(entry, rule, width, colors, options = {}) {
39
39
  segments: [
40
40
  { start: 0, end: stateIcon.length, foreground: toolStatusIconColor(entry, colors), bold: true },
41
41
  { start: stateIcon.length, end: headerPrefix.length, bold: true },
42
+ ...(clippedHeaderArgs ? [{ start: headerPrefix.length + 1, end: header.length, foreground: toolOutputColor }] : []),
42
43
  ],
43
44
  };
44
45
  const headerLines = [headerLine];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-ui-extend",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {