Repository navigation
v0.8.9
[0.8.9] - 2026-09-15
Fixed
- TUI keyboard: Enter deadlock after Esc in the connect-provider submenu (
cli/src/index.ts): "connect provider" in the palette previously went throughhandleLine("/connect")→void openConnectPicker()(subflow not awaited), while "switch model" awaited its subflow directly. Not awaiting caused a race:openPalette'sawait run()returned immediately,isTop("Commands")was true, the loop pushed another Commands frame on reuse (query reset), thenopenConnectPickerasynchronously pushed the Connect-provider frame — after Esc popped back, the stack was misaligned and the next Enter was routed to a stale resolve (the screen looked stuck on Commands while the server-side /connect flow unfolded asynchronously; symptom: "entering the provider submenu then Esc then Enter can no longer enter the task submenu"). Fix: "connect provider" directly usesrun: () => openConnectPicker()(same keepOnSelect subflow protocol as switch model); the custom-provider completion path addsdismissTop(); catalog-providerapplyModelfailure alsodismissTop()(if the connection was saved, the subflow ends). Regression: Q-R7b (7 assertions) connect subflow enter/esc/re-enter + completion dismiss; a real non-mock PTY (AIH_TRACE_KEYS=1) runs the enter→esc→re-enter loop cleanly on both paths — no ghost frames, no held residue. aih updateloses user config after upgrade (cli/src/update.ts): after the rename-swap,applyUpdatenow carries over app/-internal assets the tarball does not ship (.node/,.deployed-config.json, etc.) from the backup; the offline install script only deploys the bundled config whenconfig.jsondoes not exist (never overwrites existing).
Full changelog: https://github.com/summit4you/aih/blob/main/CHANGELOG.md