Releases: clankercode/pi-model-filter
Releases · clankercode/pi-model-filter
Release list
v0.1.2
v0.1.2 — TUI menu & rule editor
New features
/model-filterslash command — interactive TUI menu for viewing and managing filter rules- Rule editor — add, edit, and delete rules through the TUI:
- Provider: pick from configured providers or
*(any) - Action:
Spacetoggles allow ↔ block - Match IDs: select-many checklist from registry models
- Match patterns: comma-separated text entry
- Match reasoning: either / true / false submenu
- Provider: pick from configured providers or
- External editor support (
gkey) — opensmodel-filter.jsonin$VISUAL/$EDITOR, validates on save, error screen with edit-again or reset-to-cached options [+] Add rulein rules list — creates a new blank rule and opens the editor- Delete rule from the detail view
Bug fixes
- Fix
setItems is not a functioncrash in IDs toggle (SelectList has nosetItems) - Fix submenu not rendering (was returning only background)
- Fix IDs list position resetting on toggle (now preserves scroll position)
- Fix stale
state.submenuafter patterns editor completion - Fix
handleSubmenuInputnull safety
Internal
- Extracted
SubmenuControllerabstraction (src/submenu.ts) wrapping SelectList with proper lifecycle, scroll preservation, and nosetItems/getItemscalls menu.tsno longer imports SelectList directly — all submenu logic through the controllersaveConfig()added toconfig.tsfor persisting changes to disk- 83 tests passing
- Updated
~/.llm-general/ai-coding/pi/pi-tui-menus.mdwith SelectList gotchas section
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Full Changelog: https://github.com/clankercode/pi-model-filter/commits/v0.1.1