@kenkaiiii/gg-ai 5.9.0 → 5.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -222,7 +222,7 @@ function finaliseBySource(source, message, requestId, hint) {
222
222
  headline: "Authentication issue.",
223
223
  source,
224
224
  message,
225
- guidance: hint ?? "Run `ggcoder login` to refresh your credentials.",
225
+ guidance: hint ?? "Re-authenticate to refresh your credentials.",
226
226
  ...requestId ? { requestId } : {}
227
227
  };
228
228
  case "provider":
@@ -277,7 +277,7 @@ function providerGuidance(provider, message, statusCode) {
277
277
  const status = provider ? PROVIDER_STATUS_URL[provider] : void 0;
278
278
  const lower = message.toLowerCase();
279
279
  if (statusCode === 401 || lower.includes("unauthorized") || lower.includes("invalid api key")) {
280
- return `Authentication failed with ${name}. Run \`ggcoder login\` to refresh your credentials.`;
280
+ return `Authentication failed with ${name}. Re-authenticate to refresh your credentials.`;
281
281
  }
282
282
  if (lower.includes("overloaded") || lower.includes("engine_overloaded")) {
283
283
  return `${name}'s servers are overloaded right now. Retry in a moment \u2014 not a ggcoder issue.`;