mirror of
https://github.com/hanzoai/cli.git
synced 2026-10-30 15:00:27 +00:00
Each invocation is bound to the network active as it starts and keeps it through every config reload, so selecting another network in another shell never moves where a running command's credentials go. A coding session's token helper names its network and realm (`auth token --brand <realm> --network <name>`) and refuses a realm that is not that network's; the session refuses a network redefined since it started. A network with an issuer of its own refuses every brand but the default, so `--brand lux` on devnet sends nothing. A network that names no issuer is sent no credential. A custom entry named for a built-in moves its chain endpoints only, never its API or issuer. Plain http is for a parsed loopback address or localhost only. Co-authored-by: Hanzo Dev <[email protected]>