Commit Graph

21 Commits

Author SHA1 Message Date
RyanLee 746a997ce7 Merge pull request #242 from MiniMax-AI/feat/agent-setup-review
feat: add coding agent setup command
2026-08-31 11:19:07 +08:00
SaladDay 906a57bcfc fix: normalize ambiguous quota counts (#245) 2026-08-28 21:32:52 +08:00
SaladDay a592350924 fix: simplify short api key preview 2026-08-28 11:24:47 +00:00
SaladDay 6808b72a3b fix: harden coding agent setup 2026-08-28 11:23:39 +00:00
SaladDay 17b40dbddf fix: keep api key prompt compact 2026-08-28 06:50:27 +00:00
NianJiu 73c2ef8915 Merge pull request #208 from shaoohh/fix/cross-platform-stdin-input
fix: support stdin-backed file options on Windows
2026-08-21 18:33:52 +08:00
Qu-Ming-1 1b53953ebf chore: retire Music CLI and SDK 2026-08-20 21:12:39 +08:00
NianJiuZst dd9789c264 fix: harden H3 video SDK and errors 2026-08-01 15:11:42 +08:00
kapelame 0c4affd462 feat: add Hailuo H3 video generation support 2026-08-01 14:28:03 +08:00
shaoohh 84fc33b0b0 fix: support stdin input on Windows 2026-07-20 15:38:54 +08:00
yuanhe a14a46a947 release: v1.0.18 2026-07-16 21:43:43 +08:00
NianJiuZst 952d6f1349 fix: support music covers and surface stream errors 2026-07-15 14:05:42 +08:00
RyanLee a6b93ba03c Merge pull request #156 from NianJiuZst/test/complete-core-coverage
test: comprehensive test coverage improvements (pure functions, SDK validation, command tests)
2026-05-17 16:31:44 +08:00
yuanhe 435758c7df release: v1.0.14
- fix test isolation: support MMX_CONFIG_DIR env for config path override
- remove free-tier music models (music-2.6-free, music-cover-free), default to music-2.6 / music-cover
- improve auth login prompt: show region info for API key option
2026-05-17 15:59:33 +08:00
NianJiuZst f8c8f33d1b fix: use beforeEach to clean CI env and properly restore TTY mocks 2026-05-16 22:10:56 +08:00
NianJiuZst 4da388056b test: add unit tests for isInteractive and isCI environment detection 2026-05-16 21:34:10 +08:00
NianJiuZst e9fde3f745 test: add unit tests for maskToken utility 2026-05-16 21:32:33 +08:00
yuanhe de6094bd9c fix: remove flac from music formats — API rejects it
Real API testing confirmed music only supports mp3, wav, pcm.
2026-05-11 10:44:11 +08:00
yuanhe b3581f494f fix: auto-select compatible sample rate for opus/pcmu formats
opus defaults to 24000 Hz, pcmu_raw/pcmu_wav default to 8000 Hz.
Explicit --sample-rate still takes precedence.
2026-05-11 10:33:54 +08:00
yuanhe 96e4b9207f feat: add audio format validation aligned with latest T2A API
Separate format sets per API domain (T2A supports 7 formats including
pcmu_raw, pcmu_wav, opus; Music supports mp3, wav, pcm, flac) with
streaming constraint enforcement for T2A wav.
2026-05-11 10:10:18 +08:00
Raylan LIN 9ee6fe99a8 feat: add per-modality default model configuration
Allow users to set default models in config.json for each modality,
avoiding the need to pass --model on every command.

New config keys:
  - default_text_model  (default-text-model)
  - default_speech_model (default-speech-model)
  - default_video_model  (default-video-model)
  - default_music_model  (default-music-model)

Resolution priority:
  1. Explicit --model flag (highest)
  2. Config file default
  3. Hardcoded fallback (lowest)

Special cases:
  - Video: auto-switch flags (--lastFrame, --subjectImage) take
    priority over config defaults
  - Music Cover: defaultMusicModel only applies if the value is a
    valid cover model name, otherwise key-type default is preserved

Hardcoded defaults:
  - text: MiniMax-M2.7
  - speech: speech-2.8-hd
  - video: MiniMax-Hailuo-2.3
  - music: music-2.6-free (pay-as-you-go) / music-2.6 (token plan)

Tests: 97 pass (24 new tests across 6 test files)
2026-04-12 03:03:55 +08:00