@xynogen/pix-pretty 1.6.1 → 1.6.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.
- package/README.md +2 -0
- package/package.json +1 -1
- package/src/index.ts +1 -8
package/README.md
CHANGED
|
@@ -75,6 +75,8 @@ Paste chip formatting and reasoning tag rendering are original additions with no
|
|
|
75
75
|
|
|
76
76
|
## Full distro
|
|
77
77
|
|
|
78
|
+
Source: [github.com/xynogen/pix-mono](https://github.com/xynogen/pix-mono)
|
|
79
|
+
|
|
78
80
|
To install the complete pix suite (all packages + Pi itself):
|
|
79
81
|
|
|
80
82
|
```bash
|
package/package.json
CHANGED
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 {
|