Rebrand auth guidance strings: grok login/logout -> kigi login/logout
The headless not-signed-in message still pointed at `grok login` and XAI_API_KEY; error copy across the shell (re-auth prompts, managed-config rejection, mcp doctor, trace classifier) and kigi-bin did too. All now reference `kigi login` / `kigi logout`, and the headless fallback points at the Moonshot open-platform key (KIGI_MOONSHOT_API_KEY).
This commit is contained in:
@@ -83,7 +83,7 @@ fn default_auth_path() -> anyhow::Result<PathBuf> {
|
||||
fn read_auth_entry(path: &Path) -> anyhow::Result<(String, AuthEntry)> {
|
||||
if !path.exists() {
|
||||
anyhow::bail!(
|
||||
"No auth credentials found at {}. Run `grok login` first.",
|
||||
"No auth credentials found at {}. Run `kigi login` first.",
|
||||
path.display()
|
||||
);
|
||||
}
|
||||
@@ -98,7 +98,7 @@ fn read_auth_entry(path: &Path) -> anyhow::Result<(String, AuthEntry)> {
|
||||
.find(|(_, e)| e.refresh_token.is_some() && e.oidc_issuer.is_some())
|
||||
.ok_or_else(|| {
|
||||
anyhow::anyhow!(
|
||||
"no OIDC auth entry found in {}. Run `grok login` first.",
|
||||
"no OIDC auth entry found in {}. Run `kigi login` first.",
|
||||
path.display()
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user