mirror of
https://github.com/langgenius/dify.git
synced 2026-05-30 21:57:46 +08:00
Route all credential reads/writes through the Store interface so keychain and file backends share one code path. Add `use host` / `use account` commands for multi-account switching, with a zero-dependency arrow-key dropdown (replaces @inquirer/prompts, which broke under bun --compile). - login: blue dify spinner during device-flow poll; fail fast with a flag hint when host is omitted in a non-TTY (agent) context - select: custom keypress picker, restores raw mode / cursor on any exit including synchronous setup failure - hosts: remove() no longer clears the active host when a non-active account is removed Tests: 836 passing.