Files
dev/crates/hanzo-dev
zeekayandHanzo Dev 80b2a8ce0d fix: sign out of the provider that is signed in, and only that one
logout cleared the saved Hanzo key whenever the file existed, so signing out
of ChatGPT deleted a Hanzo key the user pasted weeks ago. The two credentials
are separate accounts; destroying the one nobody asked about is a surprise
nothing undoes. The gate caught it:

  assertion failed: home.path().join("hanzo-api-key").exists()
  logout_removes_only_the_selected_providers_saved_key

The active provider now decides which credential goes. The Hanzo side still
runs FIRST, because run_logout exits the process and anything sequenced after
it is unreachable — the defect that once printed success while leaving the
credential readable.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-08 09:55:14 -07:00
..