mmx-cli 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -130,6 +130,8 @@ mmx search "MiniMax AI"
130
130
  mmx search query --q "latest news" --output json
131
131
  ```
132
132
 
133
+ > The `/v1/coding_plan/search` API returns at most 10 results per call and does not currently expose a pagination parameter (see #107). Refine your query if you need different results.
134
+
133
135
  ### `mmx auth`
134
136
 
135
137
  ```bash
@@ -156,6 +158,17 @@ Useful for CI/CD (`mmx auth login --api-key sk-xxxxx`), or pass per-command via
156
158
  OAuth and API key are mutually exclusive — logging in with one clears the other.
157
159
  Credential priority: `--api-key` flag > OAuth (config) > `api_key` (config).
158
160
 
161
+ ### Environment variables
162
+
163
+ | Variable | Description |
164
+ |---|---|
165
+ | `MINIMAX_REGION` | `global` or `cn`. |
166
+ | `MINIMAX_BASE_URL` | Override the API base URL. |
167
+ | `MINIMAX_OUTPUT` | `text` or `json`. |
168
+ | `MINIMAX_TIMEOUT` | Request timeout in seconds. |
169
+ | `MINIMAX_VERBOSE` | `1` to enable verbose HTTP logging. |
170
+ | `MMX_CONFIG_DIR` | Directory containing the `config.json` file (default: `~/.mmx`). Set this when `mmx` runs from a subprocess, service, or CI job whose home directory differs from where you logged in. |
171
+
159
172
  ### `mmx config` · `mmx quota`
160
173
 
161
174
  ```bash
package/dist/index.d.ts CHANGED
@@ -159,10 +159,9 @@ export interface SpeechRequest {
159
159
  channel?: number;
160
160
  };
161
161
  language_boost?: string;
162
- pronunciation_dict?: Array<{
163
- tone: string;
164
- text: string;
165
- }>;
162
+ pronunciation_dict?: {
163
+ tone: string[];
164
+ };
166
165
  output_format?: "url" | "hex";
167
166
  stream?: boolean;
168
167
  subtitle_enable?: boolean;
@@ -248,6 +247,7 @@ export interface MusicRequest {
248
247
  lyrics_optimizer?: boolean;
249
248
  audio_url?: string;
250
249
  audio_base64?: string;
250
+ cover_feature_id?: string;
251
251
  seed?: number;
252
252
  audio_setting?: {
253
253
  format?: string;
@@ -287,9 +287,12 @@ export interface QuotaModelRemain {
287
287
  current_weekly_total_count: number;
288
288
  current_weekly_usage_count: number;
289
289
  current_weekly_remaining_percent?: number;
290
+ current_interval_status?: number;
291
+ current_weekly_status?: number;
290
292
  weekly_start_time: number;
291
293
  weekly_end_time: number;
292
294
  weekly_remains_time: number;
295
+ weekly_boost_permille?: number;
293
296
  }
294
297
  export interface FileUploadResponse {
295
298
  base_resp: BaseResp;