pi-agent-flow 0.2.4 → 0.2.5

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/package.json +1 -1
  2. package/render.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-agent-flow",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Flow-state delegation extension for Pi coding agent.",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/render.ts CHANGED
@@ -229,7 +229,7 @@ function renderFlowCollapsed(
229
229
  ): Text {
230
230
  const stats = formatCompactStats(r.usage, r.model);
231
231
  const typeName = formatFlowTypeName(r.type);
232
- let text = `${theme.bg("selectedBg", theme.fg("accent", theme.bold(typeName)))} ${theme.fg("dim", "─")} ${theme.fg("dim", stats)}`;
232
+ let text = `${theme.fg("accent", theme.bold(typeName))} ${theme.fg("dim", "─")} ${theme.fg("dim", stats)}`;
233
233
  if (error && r.stopReason) text += ` ${theme.fg("error", `[${r.stopReason}]`)}`;
234
234
 
235
235
  // DIR: line (intent/objective)
@@ -358,7 +358,7 @@ function renderActivityPanel(
358
358
 
359
359
  // Header line
360
360
  const headerPrefix = isLast ? "└─" : "├─";
361
- let headerLine = `${theme.fg("dim", headerPrefix)} ${theme.bg("selectedBg", theme.fg("accent", theme.bold(typeName)))} ${theme.fg("dim", "─")} ${theme.fg("dim", stats)}`;
361
+ let headerLine = `${theme.fg("dim", headerPrefix)} ${theme.fg("accent", theme.bold(typeName))} ${theme.fg("dim", "─")} ${theme.fg("dim", stats)}`;
362
362
  if (error && r.stopReason) {
363
363
  headerLine += ` ${theme.fg("error", `[${r.stopReason}]`)}`;
364
364
  }