Skip to content

v0.8.9

Choose a tag to compare

@summit4you summit4you released this 15 Sep 01:57
· 26 commits to main since this release

[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 through handleLine("/connect") → void openConnectPicker() (subflow not awaited), while "switch model" awaited its subflow directly. Not awaiting caused a race: openPalette's await run() returned immediately, isTop("Commands") was true, the loop pushed another Commands frame on reuse (query reset), then openConnectPicker asynchronously 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 uses run: () => openConnectPicker() (same keepOnSelect subflow protocol as switch model); the custom-provider completion path adds dismissTop(); catalog-provider applyModel failure also dismissTop() (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 update loses user config after upgrade (cli/src/update.ts): after the rename-swap, applyUpdate now 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 when config.json does not exist (never overwrites existing).

Full changelog: https://github.com/summit4you/aih/blob/main/CHANGELOG.md