Skip to content

Commit 2e9d6de

Browse files
Elaine YINclaude
authored andcommitted
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 <noreply@anthropic.com>
1 parent 920273d commit 2e9d6de

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ process.on('SIGINT', () => {
2121
const NO_AUTH_SETUP = [
2222
['auth', 'login'],
2323
['auth', 'logout'],
24+
['auth', 'status'],
25+
['auth', 'refresh'],
2426
['config', 'show'],
2527
['config', 'set'],
2628
['config', 'export-schema'],

0 commit comments

Comments
 (0)