From b3a3ae0887ade22553927593959c4cdd75f6e6c8 Mon Sep 17 00:00:00 2001 From: yetone Date: Thu, 1 Oct 2026 01:23:23 +0800 Subject: [PATCH] =?UTF-8?q?kiro:=20a=20lost=20sign-in=20says=20what=20magp?= =?UTF-8?q?ie's=20built-in=20says=20=E2=80=94=20add=20the=20subscription,?= =?UTF-8?q?=20sign=20in=20with=20kiro-cli=20or=20the=20IDE,=20or=20save=20?= =?UTF-8?q?an=20API=20key;=20a=20magpie-added=20account's=20is=20gone=20an?= =?UTF-8?q?d=20is=20added=20again?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/kiro/index.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/kiro/index.mjs b/packages/kiro/index.mjs index 684fe14..a9d0ae2 100644 --- a/packages/kiro/index.mjs +++ b/packages/kiro/index.mjs @@ -411,7 +411,11 @@ function account(client) { const read = await credOf(auth) if (!read) { held = null - throw new Error(auth?.source ? "Kiro isn't signed in; sign in with `kiro-cli login` or the Kiro IDE" : "Kiro isn't signed in; sign in again") + throw new Error( + auth?.source + ? "Kiro isn't signed in; add the Kiro subscription in magpie, sign in with `kiro-cli login` or the Kiro IDE, or save a Kiro API key on the provider" + : "this Kiro account's sign-in is gone; add it again in magpie", + ) } let c = held?.id === id ? held.c : null if (!c || read.access !== c.access || !fresh(c) || stale) {