Bug type
Code quality / DX regression
Summary
pnpm tsgo currently fails on main because two TUI components still import getKeybindings from @mariozechner/pi-tui, but the installed package no longer exports that symbol.
Steps to reproduce
- Check out current
main.
- Run
pnpm tsgo.
- Observe the TypeScript errors below.
Actual behavior
src/tui/components/filterable-select-list.ts(4,3): error TS2305: Module '"@mariozechner/pi-tui"' has no exported member 'getKeybindings'.
src/tui/components/searchable-select-list.ts(3,3): error TS2305: Module '"@mariozechner/pi-tui"' has no exported member 'getKeybindings'.
Expected behavior
pnpm tsgo should pass, and the TUI selector cancel path should use the current public key API exposed by @mariozechner/pi-tui.
Evidence
- Package exports in
node_modules/@mariozechner/pi-tui/dist/index.d.ts include Key and matchesKey, but not getKeybindings.
- Upstream package README documents cancel handling via
matchesKey(data, Key.escape) and matchesKey(data, Key.ctrl("c")).
Impact
- Breaks local type-check validation.
- Blocks the repo's
scripts/committer workflow, because it runs pnpm tsgo as part of the required check chain.
Bug type
Code quality / DX regression
Summary
pnpm tsgocurrently fails onmainbecause two TUI components still importgetKeybindingsfrom@mariozechner/pi-tui, but the installed package no longer exports that symbol.Steps to reproduce
main.pnpm tsgo.Actual behavior
Expected behavior
pnpm tsgoshould pass, and the TUI selector cancel path should use the current public key API exposed by@mariozechner/pi-tui.Evidence
node_modules/@mariozechner/pi-tui/dist/index.d.tsincludeKeyandmatchesKey, but notgetKeybindings.matchesKey(data, Key.escape)andmatchesKey(data, Key.ctrl("c")).Impact
scripts/committerworkflow, because it runspnpm tsgoas part of the required check chain.