@heyhuynhgiabuu/pi-pretty 0.6.8 → 0.6.10

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/CHANGELOG.md +27 -0
  2. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.10] - 2026-06-21
4
+
5
+ ### Fixed
6
+
7
+ - **Published npm extension did not register pretty tools or FFF commands** — the
8
+ extension dynamically imports `@earendil-works/pi-coding-agent` at activation time
9
+ to build the wrapped built-in tool definitions. Local development had that package
10
+ from `devDependencies`, but isolated Pi npm extension installs only install runtime
11
+ dependencies. The activation import failed, so published installs could silently
12
+ skip registering `find`, `grep`, `/fff-health`, `/fff-rescan`, and FFF indexing.
13
+
14
+ Fix: moved `@earendil-works/pi-coding-agent` into runtime dependencies so clean
15
+ published npm installs can activate the extension the same way local installs do.
16
+
17
+ ## [0.6.9] - 2026-06-21
18
+
19
+ ### Fixed
20
+
21
+ - **Published extension crash on Pi session start/resume** — `multi-grep` imports
22
+ `Type` from `typebox` at module load time, so the built extension executes
23
+ `require("typebox")` while Pi loads `dist/index.js`. The package did not declare
24
+ `typebox` as a runtime dependency, so clean published installs could crash before
25
+ session handlers ran.
26
+
27
+ Fix: added `typebox` as a direct dependency and refreshed the lockfile so clean
28
+ extension installs include the module.
29
+
3
30
  ## [0.6.8] - 2026-06-21
4
31
 
5
32
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyhuynhgiabuu/pi-pretty",
3
- "version": "0.6.8",
3
+ "version": "0.6.10",
4
4
  "description": "Pretty terminal output for pi — syntax-highlighted file reads, colored bash output, tree-view directory listings, and more.",
5
5
  "keywords": [
6
6
  "pi",
@@ -36,12 +36,13 @@
36
36
  "test:watch": "vitest --passWithNoTests"
37
37
  },
38
38
  "dependencies": {
39
+ "@earendil-works/pi-coding-agent": "^0.75.1",
39
40
  "@ff-labs/fff-node": "^0.9.4",
40
- "@shikijs/cli": "^4.0.2"
41
+ "@shikijs/cli": "^4.0.2",
42
+ "typebox": "1.1.38"
41
43
  },
42
44
  "devDependencies": {
43
45
  "@biomejs/biome": "^2.3.5",
44
- "@earendil-works/pi-coding-agent": "*",
45
46
  "@earendil-works/pi-tui": "*",
46
47
  "@types/node": "^20.0.0",
47
48
  "typescript": "^5.0.0",