Commit cfea91c
feat: Official pi fff extension (#374)
* feat: add pi extension for FFF file search
Add @ff-labs/pi-fff package providing pi coding agent integration:
- Overrides built-in find/grep tools with FFF-powered versions
- Adds multi_grep tool for SIMD-accelerated multi-pattern search
- Replaces @-mention autocomplete with FFF frecency-ranked suggestions
- Commands: /fff-health, /fff-rescan, /fff-mode (with immediate switch)
- Streamlined implementation: 26% code reduction (800→590 lines)
Published as pi package: npm:@ff-labs/pi-fff
* docs: fix install instructions
- Remove git install option (doesn't work for monorepo subfolders)
- Remove config file from mode precedence (no longer used)
- Keep npm as only recommended install method
* feat: add root pi manifest for git installs
Add pi configuration to root package.json pointing to packages/pi-fff.
This enables:
pi install git:github.com/dmtrKovalenko/fff.nvim
The root stays private (not published to npm), but pi can now discover
the extension from the git repo structure.
* docs: add git install instructions
Now that root package.json has pi manifest, git installs work:
pi install git:github.com/dmtrKovalenko/fff.nvim
* fix: address PR review feedback
- Add config file persistence for /fff-mode (fixes 'persist' claim)
- Add readConfigMode() and writeConfigMode() helpers
- Use applyEditorMode() in /fff-mode command (DRY)
- Add publishConfig.access: 'public' for npm publishing
- Fix @types/node to ^22.0.0 (align with repo)
- Remove ignoreCase parameter (FFF doesn't support force case-insensitive)
- Run Biome formatter (fix tab indentation)
* update toolnames and add to release pipeline
* do not override default tools
* Make an option to override the default tools
* fix: macos tests
* better toolnames mangement
---------
Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>1 parent cc9ce25 commit cfea91c
8 files changed
Lines changed: 5372 additions & 531 deletions
File tree
- .github/workflows
- crates/fff-mcp/src
- packages/pi-fff
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
| 164 | + | |
| 165 | + | |
167 | 166 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 167 | + | |
201 | 168 | | |
202 | 169 | | |
203 | 170 | | |
| |||
208 | 175 | | |
209 | 176 | | |
210 | 177 | | |
| 178 | + | |
| 179 | + | |
211 | 180 | | |
212 | 181 | | |
213 | 182 | | |
| |||
263 | 232 | | |
264 | 233 | | |
265 | 234 | | |
266 | | - | |
267 | | - | |
268 | 235 | | |
269 | 236 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
277 | 246 | | |
278 | 247 | | |
279 | 248 | | |
| |||
0 commit comments