From 0ce96fdb8b066d5a01fd1e3f439a849ff906e087 Mon Sep 17 00:00:00 2001 From: "pi@mbp-m1-2020" Date: Sun, 11 Oct 2026 23:29:08 +0200 Subject: [PATCH] aws-sso: show logins recorded under the old mode names as local/remote --- extensions/aws-sso.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/aws-sso.ts b/extensions/aws-sso.ts index 856cc73..c5806d1 100644 --- a/extensions/aws-sso.ts +++ b/extensions/aws-sso.ts @@ -534,7 +534,7 @@ export default function (pi: ExtensionAPI) { o.error ? `config: ✗ ${o.error}` : `sso-session: ${o.s!.sessionName} (profile chain ${o.s!.chain.join(" → ")})`, o.token ? `session: ${o.state.sessionEnded ? "ENDED" : "alive"}${o.state.anchor ? ` · started ≈ ${t(o.state.anchor.since)}` : ""} · 1-h token until ${t(o.token.accessExpiresAt)} (next check from ${t(o.token.accessExpiresAt - REFRESH_WINDOW_MS)})` : "token: none", lastProbe ? `last check: ${t(lastProbe.at)} · ${lastProbe.result}` : "last check: — (this pi process)", - st.lastLogin ? `last login: ${new Date(st.lastLogin.at).toLocaleString()} · ${st.lastLogin.ok ? "ok" : "FAILED: " + st.lastLogin.detail} (${st.lastLogin.mode})` : "last login: —", + st.lastLogin ? `last login: ${new Date(st.lastLogin.at).toLocaleString()} · ${st.lastLogin.ok ? "ok" : "FAILED: " + st.lastLogin.detail} (${normalizeMode(st.lastLogin.mode) ?? st.lastLogin.mode})` : "last login: —", ].filter(Boolean); ctx.ui.notify(lines.join("\n"), "info"); }