v0.4.0
pi-pretty v0.4.0
Summary
This release makes bundled FFF search the primary product direction for pi-pretty.
pi-pretty now owns the built-in find / grep experience directly via @ff-labs/fff-node, includes multi_grep, and documents the bundled workflow end-to-end.
What changed
- Bundled
@ff-labs/fff-nodeas a normal dependency instead of an optional coexistence path. - Restored bundled FFF-backed behavior for:
findgrepmulti_grep/fff-health/fff-rescan
- Kept the pi-pretty-specific FFF data directory:
~/.pi/agent/pi-pretty/fff/
- Updated README to document:
- bundled FFF ownership
- install/use flow
multi_grepexamples- FFF maintenance commands
- the requirement not to co-load
pi-fff
- Tightened FFF/runtime typing:
- typed
CursorStoreandfffFormatGrepText()against@ff-labs/fff-node - replaced remaining
src/index.tsexplicitanyusage in tool wrappers with SDK/FFF-backed types - typed
find,grep, andmulti_grepparams/results/render paths against Pi tool inputs and FFF result interfaces - removed several dead imports/constants and a non-null assertion in renderer code
- typed
Files
src/index.tssrc/fff-helpers.tstest/fff-integration.test.tstest/image-rendering.test.tsREADME.mdpackage.jsonpackage-lock.json
Verification
npm run typecheck✅npm test✅ (47 tests)npm run lint -- --max-diagnostics=120✅rg "\\bany\\b" src/index.ts src/fff-helpers.ts✅ no matches
Upgrade notes
- Use only
pi-prettyfor bundled FFF mode:
pi install npm:@heyhuynhgiabuu/pi-pretty- Do not also load
pi-fffin the same Pi setup. - To inspect or refresh the bundled index inside Pi, use:
/fff-health
/fff-rescan