Skip to content

feat: smart dashboard on bare 'minimax' invocation#11

Closed
victor0602 wants to merge 1 commit intomainfrom
pr/feat-dashboard-trim-commands
Closed

feat: smart dashboard on bare 'minimax' invocation#11
victor0602 wants to merge 1 commit intomainfrom
pr/feat-dashboard-trim-commands

Conversation

@victor0602
Copy link
Copy Markdown
Collaborator

Summary

Adds a compact branded dashboard shown when running minimax with no subcommand — inspired by Claude Code's startup experience.

Changes

src/main.ts — new printDashboard() function:

  • Logged-in: MINIMAX banner + masked key + region + live quota snapshot (with spinner, graceful fallback on network error) + top-4 common commands
  • Not logged-in: banner + friendly auth prompt + setup instructions + capability list
  • --help behavior is unchanged (separate from the no-arg path)

Dashboard command list (trimmed to top-4 core commands):

  text chat              Chat with a LLM
  vision describe        Image understanding
  image generate        Generate an image
  video generate        Generate a video

Also includes the brand true-color status bar (Region + Key source + Model) that was already in src/client/http.ts.

Logged-in dashboard COMMON_COMMANDS: drop speech/music/search/quota/auth — keep
only text, vision, image, video (the four most common high-frequency commands).

Logged-out capabilities list: same, four entries.

Result: cleaner dashboard UI with less visual noise.
@RyanLee-Dev RyanLee-Dev deleted the pr/feat-dashboard-trim-commands branch April 6, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants