Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/update-visual-baselines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
persist-credentials: true
- uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: 9.12.0
version: 10.34.9
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/webui-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
fi
- uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
with:
version: 9.12.0
version: 10.34.9
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24"
Expand Down
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
registry=https://registry.npmjs.org/
node-linker=hoisted
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Plugins and Mini Apps can depend on platform capabilities, additional setup, or

## Build from source

You need Git, a supported Node.js version, and **pnpm 9.12.0**. On Windows, keep the checkout on a local NTFS volume outside cloud-synced folders.
You need Git, a supported Node.js version, and **pnpm 10.34.9**. On Windows, keep the checkout on a local NTFS volume outside cloud-synced folders.

```bash
git clone https://github.com/mcode-webui/minimax-code.git
Expand Down
2 changes: 1 addition & 1 deletion README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ npm uninstall --global @minimax-webui/minimax-code

## 从源码构建

需要 Git、支持的 Node.js 版本以及 **pnpm 9.12.0**。Windows 上请把仓库放在本地 NTFS 卷中,并避开云同步目录。
需要 Git、支持的 Node.js 版本以及 **pnpm 10.34.9**。Windows 上请把仓库放在本地 NTFS 卷中,并避开云同步目录。

```bash
git clone https://github.com/mcode-webui/minimax-code.git
Expand Down
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ For npm, use the command in the README: it explicitly selects the public registr

This guide builds the 0.6.3 source preview. Workspace/local build manifests remain `private: true` to prevent accidental publishing. A source checkout may contain additional reviewed distribution changes; matching version strings alone do not establish byte-for-byte or build-provenance equivalence with the official npm tarball. Use the committed source revision and release receipt to identify a source build.

For a source build, you need Git, Node.js 22.19+ (22.x), 24.2+ (24.x), 25, or 26, and pnpm 9.12.0. Regular CI uses Node.js 24 across Linux and macOS. The weekly and manual compatibility matrix covers Node.js 22.19.0, 24.2.0, 25, and 26 on both platforms. Windows CI and source-candidate validation are temporarily paused while their checks are made reliable. Initial installation and build require access to public npm.
For a source build, you need Git, Node.js 22.19+ (22.x), 24.2+ (24.x), 25, or 26, and pnpm 10.34.9. Regular CI uses Node.js 24 across Linux and macOS. The weekly and manual compatibility matrix covers Node.js 22.19.0, 24.2.0, 25, and 26 on both platforms. Windows CI and source-candidate validation are temporarily paused while their checks are made reliable. Initial installation and build require access to public npm.

On Windows, check out this repository on a local NTFS volume before running `pnpm install`. The repository uses pnpm workspace links for vendored packages, and those links require NTFS junctions. FAT32/exFAT volumes, network shares, and other non-local Windows volumes cannot create the required junctions. The preflight command below verifies the volume and stops with a clear message before pnpm creates workspace links; run it immediately before `pnpm install`. It queries structured volume properties through Windows PowerShell and CIM, without requiring an elevated shell or parsing localized `fsutil` output. If PowerShell or CIM is unavailable or blocked, verification fails with the query error. A local NTFS volume can still contain a cloud-synced folder, which the preflight cannot identify reliably; keep the checkout outside OneDrive, Google Drive, Dropbox, and similar synced folders.

Expand All @@ -49,7 +49,7 @@ Node 24.0 and 24.1 are unsupported: their bundled libuv can return inconsistent
git clone https://github.com/MiniMax-AI/minimax-code.git
cd minimax-code
corepack enable
corepack prepare pnpm@9.12.0 --activate
corepack prepare pnpm@10.34.9 --activate
node scripts/check-windows-source-location.mjs
pnpm install --frozen-lockfile
pnpm build
Expand Down
21 changes: 1 addition & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"description": "Standalone MiniMax Code TUI with managed accounts, BYOK models, cloud tools, plugins and ACP.",
"packageManager": "pnpm@9.12.0",
"packageManager": "pnpm@10.34.9",
"engines": {
"node": ">=22.19 <23 || >=24.2 <27"
},
Expand Down Expand Up @@ -71,24 +71,5 @@
"vitest": "4.1.11",
"yaml": "2.9.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"better-sqlite3",
"esbuild",
"node-pty"
],
"overrides": {
"react": "18.3.1",
"react-dom": "18.3.1",
"@modelcontextprotocol/sdk>@hono/node-server": "2.0.12",
"minimatch@>=10.2.5>brace-expansion": "5.0.9",
"ajv>fast-uri": "3.1.6",
"express-rate-limit>ip-address": "10.4.0",
"vitest": "4.1.11",
"@vitest/coverage-v8": "4.1.11",
"vite": "7.3.6",
"hono": "4.13.5"
}
},
"license": "MIT"
}
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,25 @@ packages:
- packages/oauth-core
- packages/oauth-lease-protocol
- packages/mcode-tools-host

nodeLinker: hoisted

allowBuilds:
'@google/genai': false
better-sqlite3: true
canvas: false
esbuild: true
node-pty: true
protobufjs: false

overrides:
react: 18.3.1
react-dom: 18.3.1
'@modelcontextprotocol/sdk>@hono/node-server': 2.0.12
'minimatch@>=10.2.5>brace-expansion': 5.0.9
'ajv>fast-uri': 3.1.6
'express-rate-limit>ip-address': 10.4.0
vitest: 4.1.11
'@vitest/coverage-v8': 4.1.11
vite: 7.3.6
hono: 4.13.5
Loading