honcho/honcho-cli/src/honcho_cli
Aakash Kattelu f506713f5a fix(cli): stop deleting shared apiKey on device login; bind oauth grant to its host
apiKey is shared with sibling tools that read it from the same config
file, so device login must not remove it. Precedence flips to a live
OAuth token over apiKey; a dead grant now degrades to the saved key
with a warning instead of aborting. The oauth block records the host
it was minted against and is ignored (no use, no refresh) when
base_url points elsewhere, so a staging grant is never sent to prod.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 11:57:46 -07:00
..
commands fix(cli): stop deleting shared apiKey on device login; bind oauth grant to its host 2026-07-17 11:57:46 -07:00
__init__.py feat: adding honcho-cli package (#424) 2026-04-20 13:27:35 -04:00
_help.py feat: adding honcho-cli package (#424) 2026-04-20 13:27:35 -04:00
branding.py feat: adding honcho-cli package (#424) 2026-04-20 13:27:35 -04:00
common.py fix(cli): stop deleting shared apiKey on device login; bind oauth grant to its host 2026-07-17 11:57:46 -07:00
config.py fix(cli): stop deleting shared apiKey on device login; bind oauth grant to its host 2026-07-17 11:57:46 -07:00
main.py feat: adding honcho-cli package (#424) 2026-04-20 13:27:35 -04:00
oauth.py fix(cli): harden device-auth input validation and transport errors 2026-07-09 14:38:14 -07:00
output.py feat: adding honcho-cli package (#424) 2026-04-20 13:27:35 -04:00
validation.py feat: adding honcho-cli package (#424) 2026-04-20 13:27:35 -04:00