@xynogen/pix-pretty 1.17.0 → 1.17.2

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 -3
  2. package/src/index.ts +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-pretty",
3
- "version": "1.17.0",
3
+ "version": "1.17.2",
4
4
  "description": "Enhanced tool output rendering with syntax highlighting, file icons, tree views, diff rendering, and FFF search",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -59,8 +59,7 @@
59
59
  "access": "public"
60
60
  },
61
61
  "dependencies": {
62
- "@xynogen/pix-data": "^0.4.3",
63
- "@xynogen/pix-runtime": "^0.7.0",
62
+ "@xynogen/pix-runtime": "^0.8.0",
64
63
  "chalk": "^4.1.2",
65
64
  "cli-highlight": "^2.1.11",
66
65
  "@ff-labs/fff-node": "^0.5.2",
package/src/index.ts CHANGED
@@ -8,13 +8,15 @@
8
8
  * UI features (paste chips, thinking blocks) live in pix-display.
9
9
  */
10
10
 
11
+ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
11
12
  import { registerFffCommands } from "./commands/fff.js";
12
13
  import { fffState } from "./fff.js";
13
14
  import { clearHighlightCache } from "./highlight.js";
14
15
  import { initIconMode } from "./icon-persist.js";
15
16
  import type { PiPrettyApi } from "./types.js";
16
17
 
17
- export default function piPrettyExtension(pi: PiPrettyApi): void {
18
+ export default function piPrettyExtension(pi: ExtensionAPI): void {
19
+ const prettyPi = pi as unknown as PiPrettyApi;
18
20
  clearHighlightCache();
19
21
 
20
22
  // ── Icon mode ───────────────────────────────────────────
@@ -25,5 +27,5 @@ export default function piPrettyExtension(pi: PiPrettyApi): void {
25
27
  // ── FFF slash commands ──────────────────────────────────────────────
26
28
  // fffState is a module-level singleton shared with pix-grep/pix-find.
27
29
  // Commands become available once pix-grep initialises the finder.
28
- registerFffCommands(pi, fffState);
30
+ registerFffCommands(prettyPi, fffState);
29
31
  }