I want to make sure I'm using this the way it was designed. The README lists three paths: Z.AI OAuth (macOS), Z.AI/BigModel Coding Plan API key, and custom provider API key. But the config docs say the no-login TUI path "requires a non-empty options.apiKey" — which conflicts with the OAuth path.
Questions:
When using OAuth (zcode login), does the CLI use the session token for model calls, or does it still need an API key in config? The docs suggest API key is required even after login — is that right?
What's the intended flow for a user who just wants to use the CLI with their Z.ai account's free trial? Is the expectation "get a Coding Plan API key from the web console and put it in config" — i.e., the trial is a web-console thing, not a CLI thing?
Are main and lite models meant to be different Z.ai models, or can both point at GLM-5.3?
Does the CLI support multiple accounts/profiles (e.g. via config dir override), or is one ~/.zcode the expected model?
I want to make sure I'm using this the way it was designed. The README lists three paths: Z.AI OAuth (macOS), Z.AI/BigModel Coding Plan API key, and custom provider API key. But the config docs say the no-login TUI path "requires a non-empty options.apiKey" — which conflicts with the OAuth path.
Questions:
When using OAuth (zcode login), does the CLI use the session token for model calls, or does it still need an API key in config? The docs suggest API key is required even after login — is that right?
What's the intended flow for a user who just wants to use the CLI with their Z.ai account's free trial? Is the expectation "get a Coding Plan API key from the web console and put it in config" — i.e., the trial is a web-console thing, not a CLI thing?
Are main and lite models meant to be different Z.ai models, or can both point at GLM-5.3?
Does the CLI support multiple accounts/profiles (e.g. via config dir override), or is one ~/.zcode the expected model?