From 2e9d6deafaf8b0ed8cf86771c5e84d07a10e9f0a Mon Sep 17 00:00:00 2001 From: Elaine YIN Date: Mon, 6 Apr 2026 16:36:24 -0700 Subject: [PATCH] fix(auth): exempt auth status and auth refresh from ensureApiKey Users running `minimax auth status` without credentials now correctly see "Not authenticated" instead of being blocked by ensureApiKey. Co-Authored-By: Claude Opus 4.6 --- src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.ts b/src/main.ts index 498801d..2dd8c8c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -21,6 +21,8 @@ process.on('SIGINT', () => { const NO_AUTH_SETUP = [ ['auth', 'login'], ['auth', 'logout'], + ['auth', 'status'], + ['auth', 'refresh'], ['config', 'show'], ['config', 'set'], ['config', 'export-schema'],