An unofficial terminal client for Tangled, optimized for humans and agents. tgcli.wisp.place

auth, cli, docs: add multi-account keychain sessions #53

Merged aly.codes
targeting master
Merged opened by and assigned to aly.codes
targeting master
  • adds tg auth list and tg auth switch <handle-or-did>
  • stores OAuth and app-password sessions independently by account DID
  • maintains an accounts:index Keychain entry for account discovery and active-account selection
  • makes logout account-scoped and add tg auth logout --all
  • lazily migrates existing singleton Keychain sessions

OAuth and app-password credentials use separate Keychain entries:

  • oauth:<did>
  • password:<did>
  • accounts:index

tested on macos, untested on linux. tested live by creating issues on okami.mom/tg with alternating accounts

code written by gpt 5.6 sol and has been reviewed/tested by me

This pull request has no versions submitted yet.