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

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 was merged in pull request #116.
This commit is contained in:
2026-09-23 06:51:12 +02:00
parent cd05a458dc
commit 4bb75ca323
7 changed files with 158 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