@xynogen/pix-pretty 1.6.1 → 1.6.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 +1 -1
  2. package/src/index.ts +1 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-pretty",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Enhanced tool output rendering with syntax highlighting, file icons, tree views, FFF search, and paste chip formatting",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/src/index.ts CHANGED
@@ -23,6 +23,7 @@
23
23
  * commands/ slash command registrars (fff)
24
24
  */
25
25
 
26
+ import { getAgentDir } from "@earendil-works/pi-coding-agent";
26
27
  import { registerFffCommands } from "./commands/fff.js";
27
28
  import { getDefaultAgentDir, setPrettyTheme } from "./config.js";
28
29
  import { fffState } from "./fff.js";
@@ -30,15 +31,7 @@ import { clearHighlightCache } from "./highlight.js";
30
31
  import type { PiPrettyApi } from "./types.js";
31
32
 
32
33
  export default function piPrettyExtension(pi: PiPrettyApi): void {
33
- let sdk: { getAgentDir?: () => string };
34
- try {
35
- sdk = require("@earendil-works/pi-coding-agent");
36
- } catch {
37
- return;
38
- }
39
-
40
34
  // ── Theme init ──────────────────────────────────────────────────────
41
- const getAgentDir = sdk.getAgentDir;
42
35
  setPrettyTheme(
43
36
  (() => {
44
37
  try {