Skip to content

tui: getKeybindings import no longer exported by @mariozechner/pi-tui, breaking pnpm tsgo #57196

@Mist-wu

Description

@Mist-wu

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

  1. Check out current main.
  2. Run pnpm tsgo.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions