feat(docs): add mmx help command + API doc links to --help#76
Merged
tars90percent merged 2 commits intoMiniMax-AI:mainfrom Apr 10, 2026
Merged
feat(docs): add mmx help command + API doc links to --help#76tars90percent merged 2 commits intoMiniMax-AI:mainfrom
tars90percent merged 2 commits intoMiniMax-AI:mainfrom
Conversation
- New 'mmx help' command listing all official API doc links - Add apiDocs field to Command interface (command.ts) - Register apiDocs display in registry printCommandHelp - Add apiDocs to: text chat, speech synthesize, image generate, video generate, music generate, music cover - Update text chat --model: list all 7 models (M2.7/highspeed/M2.5/M2.5-highspeed/M2.1/M2/Text-01) - Update speech synthesize: 8 models (2.8/2.6/02/01 hd+turbo) - Update image description: image-01/image-01-live - Update video description: Hailuo-2.3/2.3-Fast/Hailuo-02
- Change all apiDocs from full URLs to paths (works with DOCS_HOSTS) - Make help command region-aware using DOCS_HOSTS + config.region - Remove self-referential apiDocs from help command - Add missing apiDocs to speech/synthesize (was claimed in PR body)
Collaborator
|
Thanks! Rebased onto main to resolve conflicts with f9a3ecb, and pushed fixes:
Apologies for pushing directly rather than requesting changes -- should have let you address these yourself. Will do that next time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
mmx help: New command listing all official MiniMax API documentation linksFiles
src/commands/help.ts(new)src/registry.ts(register help, display apiDocs)src/command.ts(apiDocs interface)src/commands/text/chat.tssrc/commands/speech/synthesize.tssrc/commands/image/generate.tssrc/commands/video/generate.tssrc/commands/music/generate.ts