pi-cc-extensions 0.8.17 → 0.8.18

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,8 @@ 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
+ const callWidth = Math.max(0, width - visibleWidth(icon) - 1);
2168
+ return [`${icon} ${theme.fg("toolTitle", truncateToWidth(call, callWidth, "…"))}`];
2168
2169
  },
2169
2170
  invalidate() {},
2170
2171
  };
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.18",
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": [