pi-cc-extensions 0.8.17 → 0.8.19

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.
@@ -2164,7 +2164,10 @@ function createCcstyleTool(
2164
2164
  : truncateToWidth(argument.value, argumentWidth, "…")
2165
2165
  : undefined;
2166
2166
  const call = shown === undefined ? label : `${label}(${shown})`;
2167
- return [truncateToWidth(`${icon} ${theme.fg("toolTitle", call)}`, width, "…")];
2167
+ // Leave one cell unused so the host shell never performs a second,
2168
+ // unthemed truncation after this renderer has applied toolTitle.
2169
+ const callWidth = Math.max(0, width - visibleWidth(icon) - 2);
2170
+ return [`${icon} ${theme.fg("toolTitle", truncateToWidth(call, callWidth, "…"))}`];
2168
2171
  },
2169
2172
  invalidate() {},
2170
2173
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-cc-extensions",
3
- "version": "0.8.17",
3
+ "version": "0.8.19",
4
4
  "description": "A Pi productivity suite with Claude Code-style UI, structured questionnaires, context inspection, and agent/session references",
5
5
  "type": "module",
6
6
  "keywords": [