Files
dify/cli/test
GareArc 0bbe60beb4 refactor(cli): unify token storage behind Store + add host/account switching
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.
2026-05-29 04:19:48 -07:00
..
2026-05-26 01:12:36 +00:00
2026-05-26 01:12:36 +00:00