Skip to content

Commit 1d14114

Browse files
committed
fix: use absolute GitHub URL for logo image in README
Made-with: Cursor
1 parent 743c6e4 commit 1d14114

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="assets/logo.png" alt="MiniMax" width="320" />
2+
<img src="https://raw.githubusercontent.com/MiniMax-AI/cli/main/assets/logo.png" alt="MiniMax" width="320" />
33
</p>
44

55
<p align="center">

README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="assets/logo.png" alt="MiniMax" width="320" />
2+
<img src="https://raw.githubusercontent.com/MiniMax-AI/cli/main/assets/logo.png" alt="MiniMax" width="320" />
33
</p>
44

55
<p align="center">

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mmx-cli",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "CLI for the MiniMax AI Platform",
55
"type": "module",
66
"engines": {
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"dev": "bun run src/main.ts",
1717
"build": "bun run build.ts",
18-
"build:dev": "bun build src/main.ts --outfile dist/mmx.mjs --target node --minify --define \"process.env.CLI_VERSION='1.0.0'\" && printf '#!/usr/bin/env node\\n' | cat - dist/mmx.mjs > dist/tmp && mv dist/tmp dist/mmx.mjs && chmod +x dist/mmx.mjs",
18+
"build:dev": "bun build src/main.ts --outfile dist/mmx.mjs --target node --minify --define \"process.env.CLI_VERSION='1.0.1'\" && printf '#!/usr/bin/env node\\n' | cat - dist/mmx.mjs > dist/tmp && mv dist/tmp dist/mmx.mjs && chmod +x dist/mmx.mjs",
1919
"prepublishOnly": "bun run build",
2020
"lint": "eslint src/ test/",
2121
"typecheck": "tsc --noEmit",

src/client/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface RequestOpts {
2020
export async function request(config: Config, opts: RequestOpts): Promise<Response> {
2121
const isFormData = typeof FormData !== 'undefined' && opts.body instanceof FormData;
2222

23-
const version = process.env.CLI_VERSION ?? '1.0.0';
23+
const version = process.env.CLI_VERSION ?? '1.0.1';
2424
const headers: Record<string, string> = {
2525
'User-Agent': `mmx-cli/${version}`,
2626
...opts.headers,

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { checkForUpdate, getPendingUpdateNotification } from './update/checker';
99
import { loadCredentials } from './auth/credentials';
1010
import { ensureApiKey } from './auth/setup';
1111

12-
const CLI_VERSION = process.env.CLI_VERSION ?? '1.0.0';
12+
const CLI_VERSION = process.env.CLI_VERSION ?? '1.0.1';
1313

1414
// Handle Ctrl+C gracefully
1515
process.on('SIGINT', () => {

0 commit comments

Comments
 (0)