@xynogen/pix-skills 0.11.2 → 0.11.3

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 +2 -2
  2. package/src/index.ts +9 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-skills",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "Pi extension — agent skill loader (skill tool + skills bundle)",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@xynogen/pix-gate": "^0.5.0",
50
- "@xynogen/pix-pretty": "^3.0.2",
50
+ "@xynogen/pix-pretty": "^3.4.0",
51
51
  "@xynogen/pix-runtime": "^0.22.2"
52
52
  }
53
53
  }
package/src/index.ts CHANGED
@@ -12,7 +12,7 @@
12
12
  */
13
13
 
14
14
  import { dirname, isAbsolute, join, relative, resolve, win32 } from "node:path";
15
- import { frameToolResult, moreLines } from "@xynogen/pix-pretty/frame";
15
+ import { bodyText, frameToolResult, moreLines } from "@xynogen/pix-pretty/frame";
16
16
  import {
17
17
  dotJoin,
18
18
  hideCollapsedToolCall,
@@ -748,10 +748,15 @@ function registerSkillLoader(pi: ExtensionAPI): void {
748
748
  return component;
749
749
  }
750
750
  if (details.mode === "search" && details.results) {
751
- component.setText(formatRemoteSkillSearchSummary(details.query, details.results, theme));
751
+ component.setText(
752
+ bodyText(formatRemoteSkillSearchSummary(details.query, details.results, theme), theme),
753
+ );
752
754
  return options.isPartial ? component : frameToolResult(component, theme, false);
753
755
  }
754
- const body = formatSkillSummary(formatExpandedSkillResult(details, text ?? ""), theme);
756
+ const body = bodyText(
757
+ formatSkillSummary(formatExpandedSkillResult(details, text ?? ""), theme),
758
+ theme,
759
+ );
755
760
  // Long skill bodies collapse to a fading preview; ctrl+o shows the full text.
756
761
  component.setText(
757
762
  options.expanded
@@ -760,7 +765,7 @@ function registerSkillLoader(pi: ExtensionAPI): void {
760
765
  );
761
766
  return options.isPartial ? component : frameToolResult(component, theme, false);
762
767
  }
763
- component.setText(formatSkillSummary(text ?? "", theme));
768
+ component.setText(bodyText(formatSkillSummary(text ?? "", theme), theme));
764
769
  return options.isPartial
765
770
  ? component
766
771
  : frameToolResult(component, theme, renderCtx.isError === true);