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:
@@ -316,8 +316,8 @@
|
||||
));
|
||||
}
|
||||
|
||||
/// Legacy WebLogin auth keeps its verbose message (with `grok logout` /
|
||||
/// `grok login` guidance), not the generic re-auth prompt.
|
||||
/// Legacy WebLogin auth keeps its verbose message (with `kigi logout` /
|
||||
/// `kigi login` guidance), not the generic re-auth prompt.
|
||||
#[test]
|
||||
fn apply_retry_state_legacy_auth_keeps_detailed_message() {
|
||||
let mut session = make_session(Some("s1"));
|
||||
@@ -326,7 +326,7 @@
|
||||
&RetryState::Failed {
|
||||
error_type: "legacy_auth".into(),
|
||||
message: "Unauthorized (401) ... deprecated authentication method (WebLogin) ... \
|
||||
run `grok logout` then `grok login`"
|
||||
run `kigi logout` then `kigi login`"
|
||||
.into(),
|
||||
},
|
||||
&mut session,
|
||||
|
||||
Reference in New Issue
Block a user