quak logout ends the session on the server (closes #108)
check / check (push) Successful in 47s

logout now calls POST /users/logout with the saved token through the new
Client.logoutOnServer(), then deletes session.json even when that call
fails; in that case it says the server session could not be ended and
exits 1. It prints the account's cache directory and says it still holds
decrypted data. The default cache path moves into
defaultCacheDirectory(), shared with Library.open, so both name the same
directory.

Model: opus-5-5
This commit is contained in:
2026-09-23 04:05:54 +00:00
committed by clawbot
parent 390401af2c
commit 573de7e104
7 changed files with 156 additions and 25 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ program
program
.command("logout")
.description("Delete the saved session")
.description("End the session on the server and delete the saved session")
.action(() => run(logoutCommand(context())));
program